]> sourceware.org Git - glibc.git/blame - ChangeLog
CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow [BZ#18287]
[glibc.git] / ChangeLog
CommitLineData
2959eda9
AS
12015-04-21 Arjun Shankar <arjun.is@lostca.se>
2
3 [BZ #18287]
4 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5 based on padding. (CVE-2015-1781)
6
7bf8fb10
AZ
72015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8
9 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10 libc-vdso.h.
11 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
28 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
29 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
33 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
34
03c1e456
PE
352015-04-19 Paul Eggert <eggert@cs.ucla.edu>
36
37 * stdlib/setenv.c (__add_to_environ):
38 Dump core quickly if setenv (..., NULL, ...) is called.
39 This time, do it the right way, and pacify GCC with a pragma.
40
328c44c3
RM
412015-04-17 Roland McGrath <roland@hack.frob.com>
42
2bd2cad9
RM
43 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
44 IMAP->l_prev cannot be null, and #if out the code for the contrary
45 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
46 believe that NS (&_dl_ns[NSID]) could point outside the array.
47
328c44c3
RM
48 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
49 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
50 before using NSID as an index.
51
aa4980fc
DM
522015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
53
54 [BZ #17825]
55 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
56 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
57 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58
d1e44df1
RM
592015-04-17 Roland McGrath <roland@hack.frob.com>
60
61 Add preliminary port to Google Native Client on ARM.
62 * abi-tags (.*-.*-nacl.*): New entry.
63 * sysdeps/arm/nacl: New directory.
64 * sysdeps/nacl: New directory.
65
f7092599
DM
662015-04-16 David S. Miller <davem@davemloft.net>
67
68 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
69 lowlevellock-futex.h
70
da6989f9
CM
712015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
72
73 * sysdeps/tile/configure.ac: New file.
74 * sysdeps/tile/configure: Regenerated.
75
fb78612a
AZ
762015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
77
78 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
79 conditionals for weak_alias and libc_hidden_weak.
80 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
81 libc_hidden_weak and weak_alias.
82 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
83 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
84 and weak_alias for static one.
85
a8b6a3a6
DM
862015-04-15 David S. Miller <davem@davemloft.net>
87
88 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
89
920a0395
SL
902015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
91
92 [BZ #18206]
93 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
94 Use signed comparision instead of substraction to avoid
95 overflow bug.
96 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
97 Take the sign of ret.
98 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
99 Do not expect precise return values. Only the sign matters.
100 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
101 * wcsmbs/test-wcsncmp.c: New File.
102 * string/test-strncmp.c: Add wcsncmp support.
103
de8aadd5
SL
1042015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
105
106 [BZ #6792]
107 * math/w_log1p.c: New file.
108 * math/w_log1pf.c: Likewise.
109 * math/w_log1pl.c: Likewise.
110 * math/Makefile (libm-calls): Add w_log1p.
111 * math/s_log1pl.c (log1pl): Remove weak_alias.
112 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
113 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
114 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
115 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
116 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
117 [NO_LONG_DOUBLE] (log1pl): Likewise.
118 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
119 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
120 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
121 (log1p): Remove long_double_symbol.
122 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
123 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
124 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
125 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
126 remove weak_alias for corresponding log1p function.
127 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
128 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
129 * sysdeps/ia64/fpu/w_log1p.c: New file.
130 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
131 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
132 * math/libm-test.inc (log1p_test_data): Add errno expectations.
133
5556d30c
JM
1342015-04-10 Joseph Myers <joseph@codesourcery.com>
135
136 [BZ #18247]
137 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
138 decimal exponent by 1.
139 * stdlib/tst-strtod-round-data: Add more tests.
140 * stdlib/tst-strtod-round.c (tests): Regenerated.
141
b3c66c53
JM
1422015-04-09 Joseph Myers <joseph@codesourcery.com>
143
144 * math/auto-libm-test-in: Add more tests of clog and clog10.
145 * math/auto-libm-test-out: Regenerated.
146 * sysdeps/i386/fpu/libm-test-ulps: Update.
147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
148
b0b88abc
RM
1492015-04-09 Roland McGrath <roland@hack.frob.com>
150
8a257e2c
RM
151 * Makeconfig (module-cppflags): Exclude all .v.i files.
152 (skip-module-cppflags): Variable removed.
153
05439291
RM
154 * configure.ac (libc_config_ok): Initialize before reading
155 preconfigure scripts, not after.
156 * configure: Regenerated.
157
b0b88abc
RM
158 * test-skeleton.c (TIMEOUT): Move #define to top level.
159 (main): Grok environment variable TEST_DIRECT. If set, print
160 test expectation details into that file and then behave as if
161 given --direct.
162
2902af16
FW
1632015-04-09 Florian Weimer <fweimer@redhat.com>
164
165 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
166 warning on 32-bit.
167
23ebf743
DM
1682015-04-08 David S. Miller <davem@davemloft.net>
169
170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
171
024bcc51
JM
1722015-04-08 Joseph Myers <joseph@codesourcery.com>
173
787d22bc
JM
174 * math/auto-libm-test-in: Add more tests of atanh.
175 * math/auto-libm-test-out: Regenerated.
176 * sysdeps/i386/fpu/libm-test-ulps: Update.
177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
178
024bcc51
JM
179 * math/auto-libm-test-in: Add more tests of atan.
180 * math/auto-libm-test-out: Regenerated.
181 * sysdeps/i386/fpu/libm-test-ulps: Update.
182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
183
7b8399f4
FW
1842015-04-08 Florian Weimer <fweimer@redhat.com>
185
186 * elf/pldd.c (main): Rewrite to use struct
187 scratch_buffer instead of extend_alloca.
188 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
189 * grp/initgroups.c: Include <scratch_buffer.h> instead of
190 <alloca.h>.
191 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
192 scratch_buffer instead of extend_alloca.
193 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
194 grp/compat-initgroups.c.
794a74af
FW
195 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
196 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 197 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 198 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 199
ae63c7eb
JM
2002015-04-08 Joseph Myers <joseph@codesourcery.com>
201
da0cf658
JM
202 * math/auto-libm-test-in: Add more tests of cbrt.
203 * math/auto-libm-test-out: Regenerated.
204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
205
80352c01
JM
206 * math/auto-libm-test-in: Add more tests of cabs.
207 * math/auto-libm-test-out: Regenerated.
208 * sysdeps/i386/fpu/libm-test-ulps: Update.
209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
210
8431838d
JM
211 [BZ #18210]
212 [BZ #18211]
213 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
214 (__ieee754_atan2): Set FE_TONEAREST mode for internal
215 computations.
216 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
217 clog10.
218 * math/auto-libm-test-out: Regenerated.
219 * sysdeps/i386/fpu/libm-test-ulps: Update.
220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
221
ae63c7eb
JM
222 [BZ #18197]
223 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
224 (atan): Set FE_TONEAREST mode for internal computations.
225 * math/auto-libm-test-in: Add more tests of atan.
226 * math/auto-libm-test-out: Regenerated.
227
d5856d06
JC
2282015-04-07 James Cowgill <james410@cowgill.org.uk>
229
230 [BZ #17930]
231 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
232
72301304
FW
2332015-04-07 Florian Weimer <fweimer@redhat.com>
234
235 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
236
cfcfd461
FW
2372015-04-07 Florian Weimer <fweimer@redhat.com>
238
239 * include/scratch_buffer.h: New file.
240 * malloc/scratch_buffer_grow.c: Likewise.
241 * malloc/scratch_buffer_grow_preserve.c: Likewise.
242 * malloc/scratch_buffer_set_array_size.c: Likewise.
243 * malloc/tst-scratch_buffer.c: Likewise.
244 * malloc/Makefile (routines): Add scratch_buffer_grow.
245 (tests): Add test case.
246 * malloc/Versions (GLIBC_PRIVATE): Export
247 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
248 __libc_scratch_buffer_set_array_size.
249
cc47c824
RH
2502015-04-06 Richard Henderson <rth@redhat.com>
251
252 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 253 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 254
9e8c0381
RH
255 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
256 unsigned int before printing.
257
9781a370
OB
2582015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
259
260 [BZ #17596]
261 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
262 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
263
37d60d97
FW
2642015-04-02 Florian Weimer <fweimer@redhat.com>
265
266 * include/libc-internal.h (libc_max_align_t): Define.
267
b763f6ae
AS
2682015-04-02 Andreas Schwab <schwab@suse.de>
269
270 [BZ #16850]
271 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
272
c26efef9
MG
2732015-04-02 Mel Gorman <mgorman@suse.de>
274
275 [BZ #17195]
276 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
277 as well as the main arena.
278
a3d9ab50
L
2792015-03-31 H.J. Lu <hongjiu.lu@intel.com>
280
281 [BZ #18185]
282 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
283 sharing L2 cache to 2 for Silvermont/Knights Landing.
284
83569fb8
L
2852015-03-31 H.J. Lu <hongjiu.lu@intel.com>
286
287 [BZ #17711]
288 * config.make.in (have-protected-data): New.
289 * configure.ac: Check linker support for protected data symbol.
290 * configure: Regenerated.
291 * elf/Makefile (modules-names): Add tst-protected1moda and
292 tst-protected1modb if $(have-protected-data) is yes.
293 (tests): Add tst-protected1a and tst-protected1b if
294 $(have-protected-data) is yes.
295 ($(objpfx)tst-protected1a): New.
296 ($(objpfx)tst-protected1b): Likewise.
297 (tst-protected1modb.so-no-z-defs): Likewise.
298 * elf/tst-protected1a.c: New file.
299 * elf/tst-protected1b.c: Likewise.
300 * elf/tst-protected1mod.h: Likewise.
301 * elf/tst-protected1moda.c: Likewise.
302 * elf/tst-protected1modb.c: Likewise.
303
62da1e3b
L
3042015-03-31 H.J. Lu <hongjiu.lu@intel.com>
305
306 [BZ #17711]
307 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
308 indicates it is called from do_lookup_x on relocation against
309 protected data, skip the data definion in the executable from
310 copy reloc.
311 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
312 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
313 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
314 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
315 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
316 otherwise to 0.
317 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
318 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
319 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
320 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
321 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
322 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
323
675ddb71
MG
3242015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
325
326 * sysdeps/nptl/pthread.h: Remove duplicate definition of
327 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
328
4d611e12
MG
3292015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
330
331 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
332 THREAD_SETMEM_NC.
333 * sysdeps/x86_64/nptl/tls.h: Ditto.
334
7285eb53
RM
3352015-03-27 Roland McGrath <roland@hack.frob.com>
336
337 * dlfcn/tststatic.c (main): Converted to ...
338 (do_test): ... this.
339 (TEST_FUNCTION): New macro.
340 Include test-skeleton.c.
341
19a6a3ac
AM
3422015-03-26 Alan Modra <amodra@gmail.com>
343
344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
345 Don't segfault if ifunc resolver returns a NULL. Do set plt to
346 zero for undefined weak.
347 (elf_machine_plt_conflict): Similarly.
348
a9fe4c5a
JM
3492015-03-25 Joseph Myers <joseph@codesourcery.com>
350
efd5b641
JM
351 * math/auto-libm-test-in: Add more tests of acosh, asinh and
352 atanh.
353 * math/auto-libm-test-out: Regenerated.
354 * sysdeps/i386/fpu/libm-test-ulps: Update.
355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
356
e9b10151
JM
357 * math/auto-libm-test-in: Add another test of asin.
358 * math/auto-libm-test-out: Regenerated.
359 * sysdeps/i386/fpu/libm-test-ulps: Update.
360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
361
9fa55373
JM
362 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
363 Remove macro.
364 (LLL_EBX_REG): Likewise.
365 (LLL_ENTER_KERNEL): Likewise.
366
38755f14
JM
367 * math/auto-libm-test-in: Add more tests of asin.
368 * math/auto-libm-test-out: Regenerated.
369 * sysdeps/i386/fpu/libm-test-ulps: Update.
370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371
a9fe4c5a
JM
372 [BZ #18138]
373 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
374 libc_do_syscall_args): New structure.
375 (INTERNAL_SYSCALL_MAIN_0): New macro.
376 (INTERNAL_SYSCALL_MAIN_1): Likewise.
377 (INTERNAL_SYSCALL_MAIN_2): Likewise.
378 (INTERNAL_SYSCALL_MAIN_3): Likewise.
379 (INTERNAL_SYSCALL_MAIN_4): Likewise.
380 (INTERNAL_SYSCALL_MAIN_5): Likewise.
381 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
382 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
383 Replace conditional definitions by conditional definitions of ....
384 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
385 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
386 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
387 (libpthread-sysdep_routines): Add libc-do-syscall.
388 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
389 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
390 to __NR_futex not 240.
391
afcd9480
AM
3922015-03-25 Alan Modra <amodra@gmail.com>
393
394 * NEWS: Advertise TLS optimization.
395 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
396 (DT_PPC_NUM): Increment.
397 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
398 (CHECK_STATIC_TLS): Use here.
399 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
400 TLS descriptors.
401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
402 * sysdeps/powerpc/dl-tls.c: New file.
403 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
404 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
405 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
406 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
410
da9f3334
AM
4112015-03-25 Alan Modra <amodra@gmail.com>
412
413 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
414 for overlapping .opd entries" to "support...".
415 * sysdeps/powerpc/powerpc64/configure: Regenerate
416
bc899ea0
JM
4172015-03-25 Joseph Myers <joseph@codesourcery.com>
418
8d643971
JM
419 * math/auto-libm-test-in: Add more tests of acos.
420 * math/auto-libm-test-out: Regenerated.
421 * sysdeps/i386/fpu/libm-test-ulps: Update.
422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
423
bc899ea0
JM
424 * math/auto-libm-test-in: Add more tests of expm1.
425 * math/auto-libm-test-out: Regenerated.
426 * sysdeps/i386/fpu/libm-test-ulps: Update.
427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
428
7c84a504
JM
4292015-03-24 Joseph Myers <joseph@codesourcery.com>
430
239ed6f3
JM
431 * math/auto-libm-test-in: Add more tests of cosh and sinh.
432 * math/auto-libm-test-out: Regenerated.
433 * sysdeps/i386/fpu/libm-test-ulps: Update.
434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
435
a737e826
JM
436 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
438
7c84a504
JM
439 * math/auto-libm-test-in: Add more tests of log2.
440 * math/auto-libm-test-out: Regenerated.
441 * sysdeps/i386/fpu/libm-test-ulps: Update.
442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
443
7e9c7b9b
RM
4442015-03-23 Roland McGrath <roland@hack.frob.com>
445
446 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
447 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
448 _IO_IS_APPENDING bit in READ_WRITE instead.
449
98734cc5
FW
4502015-03-23 Florian Weimer <fweimer@redhat.com>
451
452 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
453 (__determine_cpumask_size): Replace extend_alloca with a
454 variable-length array. Do not treat res == 0 as an error.
455
2b028564
FW
4562015-03-23 Florian Weimer <fweimer@redhat.com>
457
458 [BZ #18100]
459 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
460 and integer overflow.
461 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
462 (main): Add integer overflow tests.
463 * manual/pattern.texi (Calling Wordexp): Document additional use
464 for WRDE_SYNTAX.
465
59261ad3
AM
4662015-03-23 Alan Modra <amodra@gmail.com>
467
468 * config.h.in: Remove HAVE_ASM_PPC_REL16.
469 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
470 and false branch of conditional.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
472 Likewise.
473
d583531a
ST
4742015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
475
476 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
477 libc-modules.h
868df0f9
ST
478 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
479 unused declaration of _hurd_intr_rpc_msg_in_trap.
480 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
481 defined instead of whether it is non-zero.
482 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
483 input constraint instead of both input and output constraint. Use ecx
484 clobber instead of %ecx.
485 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
486 mutex_unlock): Use a statement expression instead of an expression list.
487 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
488 type to vm_size_t instead of vm_address_t.
489 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
490 defined instead of whether it is non-zero.
491 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
492 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
493 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
494 comparisons with mapaddr.
495 * nscd/nscd-client.h: Include <time.h>.
496 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
497 9th parameter to __vm_region instead of int.
661a7dba 498 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
499 * scripts/check-local-headers.sh (exclude): Add device/,
500 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
501 cthreads.h.
d583531a 502
298e5d56
RM
5032015-03-19 Roland McGrath <roland@hack.frob.com>
504
505 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
506 to account for alignment padding.
507 * sysdeps/arm/memmove.S: Likewise.
508
becb26b8
CM
5092015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
510
511 * sysdeps/unix/sysv/linux/generic/README: New file.
512
c2f5813a
JM
5132015-03-18 Joseph Myers <joseph@codesourcery.com>
514
515 [BZ #18138]
516 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
517 (futex_abstimed_wait)
518 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
519 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
520 of lll_futex_timed_wait.
521
ed6b0fe7
BH
5222015-03-18 Brad Hubbard <bhubbard@redhat.com>
523
524 [BZ #17542]
525 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
526
f8aeae34
AO
5272015-03-17 Alexandre Oliva <aoliva@redhat.com>
528
529 [BZ #17090]
530 [BZ #17620]
531 [BZ #17621]
532 [BZ #17628]
533 * NEWS: Update.
534 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
535 entries with Static TLS too. Skip entries past the end of the
536 allocated DTV, from Alan Modra.
537 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
538 Static TLS DTV entry set up from...
539 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
540 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
541 * nptl/allocatestack.c (init_one_static_tls): ... and here...
542 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
543 for Static TLS.
544 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
545 that the slot we find is associated with the given map before
546 using its generation count.
547 * nptl_db/db_info.c: Include ldsodefs.h.
548 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
549 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
550 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
551 (link_map::l_tls_offset): New struct field.
552 (dtv_t::counter): Likewise.
553 (rtld_global): New struct.
554 (_rtld_global): New rtld variable.
555 (dl_tls_dtv_slotinfo_list): New rtld global field.
556 (dtv_slotinfo_list): New struct.
557 (dtv_slotinfo): Likewise.
558 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
559 (td_lookup): Rename to...
560 (td_mod_lookup): ... this. Use new mod parameter instead of
561 LIBPTHREAD_SO.
562 * nptl_db/td_thr_tlsbase.c: Include link.h.
563 (dtv_slotinfo_list, dtv_slotinfo): New functions.
564 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
565 addresses even if the DTV is out of date or missing them.
566 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
567 index zero-length arrays.
568 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
569 (td_lookup): Make it a macro implemented in terms of...
570 (td_mod_lookup): ... this declaration.
571 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
572 (DB_MAIN_VARIABLE): Likewise.
573
b97eb2bd
L
5742015-03-16 H.J. Lu <hongjiu.lu@intel.com>
575
576 [BZ #18134]
577 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
578
cb219290
PE
5792015-03-15 Paul Eggert <eggert@cs.ucla.edu>
580
581 * stdlib/setenv.c (__add_to_environ): Revert previous change.
582
a3905fd9
AS
5832015-03-14 Andreas Schwab <schwab@linux-m68k.org>
584
585 [BZ #18128]
586 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
587 (atomic_add, atomic_increment_and_test)
588 (atomic_decrement_and_test): Fix 64-bit arithmetic.
589
2ecccaed
PE
5902015-03-13 Paul Eggert <eggert@cs.ucla.edu>
591
592 * stdlib/setenv.c (__add_to_environ):
593 Dump core quickly if setenv (..., NULL, ...) is called.
594
cdaf79d0
RM
5952015-03-13 Roland McGrath <roland@hack.frob.com>
596
597 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
598 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
599 all the necessary asm magic in one place.
600 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
601 using those.
602
cf9313e7
CD
6032015-03-13 Carlos O'Donell <carlos@redhat.com>
604
605 [BZ #14906]
606 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
607 traced file mtime. Use consistent log message.
608 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
609 (register_traced_file): Call install_watches. Always set mtime.
610 (invalidate_cache): Iterate over all trace files. Call install_watches.
611 (inotify_check_files): Don't inline. Handle watching parent
612 directories and configuration file movement in and out.
613 (handle_inotify_events): New function.
614 (main_loop_poll): Call handle_inotify_events.
615 (main_loop_epoll): Likewise.
616 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
617 (struct traced_file): Use array of inotify fds. Add parent directory,
618 and basename.
619 (struct database_dyn): Remove unused file_mtime.
620 (init_traced_file): New inline function.
621 (define_traced_file): New macro.
622 * nss/nss_db/db-init.c: Use define_traced_file.
623 (_nss_db_init): Use init_traced_file.
624 * nss/nss_files/files-init.c: Use define_traced_file.
625 (_nss_files_init): Use init_traced_file.
626
7d67a196
JM
6272015-03-12 Joseph Myers <joseph@codesourcery.com>
628
629 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
630 [_LIBC]: Do not include <stdlib.h>.
631 [!_LIBC] (abort): Remove declaration.
632 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
633 _FP_STATIC_ASSERT instead of conditionally calling abort.
634 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
635 (_FP_EXTEND_CNAN): Likewise.
636 (FP_TRUNC): Likewise.
637 (__FP_CLZ): Likewise.
638 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
639
af85ebcd
YS
6402015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
641
642 * manual/string.texi (XPG basename): Fix prototype.
643
2e807f29
SL
6442015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
645
646 [BZ #18080]
647 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
648 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
649 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
650 (__setcontext): Likewise.
651 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
652 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
653 Call rt_sigprocmask syscall one time to set new signal mask
654 and retrieve the current signal mask instead of two calls.
655 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
656 (__swapcontext): Likewise.
657 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
658 * stdlib/tst-setcontext2.c: New file.
659
1b2bebe6
SL
6602015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
661
662 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
663
6a1cf708
AJ
6642015-03-11 Aurelien Jarno <aurelien@aurel32.net>
665
666 [BZ #18093]
667 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
668 the wrong size.
669
a2d4cf72
PP
6702015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
671
672 [BZ #18043]
673 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
674
5ca10a0c
AZ
6752015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
676
677 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
678 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
679 Remove define.
680 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
681 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
682 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
683 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
684 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
685 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
686 define.
687 * nptl_db/td_symbol_list.c (td_lookup): Remove
688 HAVE_ASM_GLOBAL_DOT_NAME code.
689 * sysdeps/powerpc/powerpc64/configure.ac: Remove
690 HAVE_ASM_GLOBAL_DOT_NAME check.
691 * sysdeps/powerpc/powerpc64/configure: Regenerate.
692 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
693 (DOT_LABEL): Remove define.
694 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
695 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
696 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
697 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
698 (__TLS_GET_ADDR): Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
700 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
701
e4363cfb
CD
7022015-03-11 Carlos O'Donell <carlos@redhat.com>
703
704 [BZ #18111]
705 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
706 (_FPU_SETCW): Initialize cw from fpsr before storing.
707 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
708 (fesetexceptflag): Rewrite using fpu_control.h.
709 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
710
fae1aa8d
JDA
7112015-03-11 John David Anglin <danglin@gcc.gnu.org>
712
713 [BZ #18110]
714 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
715 asms.
716 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
717
068a6274
JM
7182015-03-11 Joseph Myers <joseph@codesourcery.com>
719
720 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
721 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
722 abort.
723 (_FP_FMA): Likewise.
724 (_FP_DIV): Likewise.
725
d3821ab0
RM
7262015-03-10 Roland McGrath <roland@hack.frob.com>
727
44a6213c
RM
728 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
729 with 0 in that case.
730 * Makefile (summarize-tests): New canned sequence, factored out of
731 commands for targets tests and xtests. Display summary lines that
732 don't start with PASS: or XFAIL: rather than ones that do start with
733 ERROR: or FAIL:. Make the commands fail if any summary lines fail
734 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
735 do start with ERROR: or FAIL:.
736 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
737 (except for [$(build-shared) = yes]).
738 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
739 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
740 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
741 * nptl/Makefile: Revert 2015-03-04 changes.
742 [$(CXX) empty] (tests-unsupported): New variable.
743 * debug/Makefile: Likewise.
744
d3821ab0
RM
745 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
746 gnulib file. Replace __attribute with __attribute__ throughout.
747
85ca85ae
CD
7482015-03-10 Carlos O'Donell <carlos@redhat.com>
749
750 * sysdeps/hppa/fpu/libm-test-ulps: Update.
751
6411f81d
JM
7522015-03-10 Joseph Myers <joseph@codesourcery.com>
753
754 [BZ #18104]
755 * math/auto-libm-test-in: Add another test of pow.
756 * math/auto-libm-test-out: Regenerated.
757
d421868b
AZ
7582015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
759
760 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
761 $(config-cflags-nofma).
762
a2f8be9c
JM
7632015-03-10 Joseph Myers <joseph@codesourcery.com>
764
765 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
766 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
767 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
768 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
769 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
770 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
771 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
772 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
773 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
774 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
775 Add comment on closing #endif.
776
01d032e0
PP
7772015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
778
779 * posix/wordexp.c (CHAR_IN_SET): New macro.
780 (parse_param): Use it.
781
d439bc56
AZ
7822015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
783
784 * sysdeps/powerpc/fpu/libm-test-ulps: update.
785
5f85a4bf
PP
7862015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
787
788 [BZ #18043]
789 * posix/wordexp.c (parse_param): Fix buffer overflow.
790 * posix/wordexp-test.c (test_case): Add test case.
791
f8ba70e9
PP
7922015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
793
794 [BZ #18042]
795 * posix/wordexp.c (parse_backtick): Fix off-by-one.
796 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
797
36103ba2
PP
7982015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
799
800 [BZ #18043]
801 * posix/wordexp-test.c (test_case): Add test for BZ #18043
802 (do_bz18043): Delete.
803 (at_page_end): New.
804 (testit): Refactor to have words at the edge of unreadable page.
805
18d26750
PP
8062015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
807
808 [BZ #16734]
809 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
810 Cleanup read-only streams as well.
811 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
812
9f95dc5d
ST
8132015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
814
815 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
816 <bits/libc-lockP.h>
817
b838844b
JM
8182015-03-07 Joseph Myers <joseph@codesourcery.com>
819
820 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
821 on [__KERNEL__].
822 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
823 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
824 * soft-fp/op-common.h (_FP_DECL): Likewise.
825
e0ed2fb4
L
8262015-03-06 H.J. Lu <hongjiu.lu@intel.com>
827
828 * elf/ifuncdep2.c (global): Replace
829 __attribute__((visibility("protected"))) with
830 asm (".protected global").
831 * elf/ifuncmod1.c (global): Likewise.
832 * elf/ifuncmod5.c (global): Likewise.
833
fa9dda64
JM
8342015-03-06 Joseph Myers <joseph@codesourcery.com>
835
836 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
837 <asm/sfp-machine.h> instead of <sfp-machine.h>.
838
4acc27ed
RM
8392015-03-06 Roland McGrath <roland@hack.frob.com>
840
841 * manual/install.texi (Configuring and compiling):
842 Document test-wrapper-env-only.
843 * INSTALL: Regenerated.
844
895c30cb
PP
8452015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
846
847 [BZ #18043]
848 * posix/wordexp.c (parse_param): Fix buffer overflow.
849 * posix/wordexp-test.c (do_bz18043): Add test case.
850
5df56c7e
VB
8512015-03-06 Vincent Bernat <vincent@bernat.im>
852
853 * time/tst-strptime2.c (do_test): Ensure failing tests are
854 reported correctly.
855 * time/tst-strptime3.c (do_test): Likewise.
856
1cdf2ea1
ST
8572015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
858
859 Fix aio_error thread-safety.
1cdf2ea1
ST
860 * sysdeps/pthread/aio_error.c: New file
861 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
862 synchronization.
863
d176a41a
FW
8642015-03-06 Florian Weimer <fweimer@redhat.com>
865
866 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
867 (group_number, vfprintf): Use it.
1597b744
FW
868 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
869 (JUMP, REF): Use it.
870 (WORK_BUFFER_SIZE): New enum constant.
871 (process_arg, vfprintf): Use it.
d176a41a 872
7e7af349
RJ
8732015-03-06 Rical Jasan <ricaljasan@pacific.net>
874
875 * manual/errno.texi (Error Messages): Complete example function
876 by adding missing #define.
877 (program_invocation_name): Add statement indicating GNU
878 extension and reference which header file declares the variable.
879 (program_invocation_short_name): Likewise.
880
4ca8ddfb
MF
8812015-03-06 Mike Frysinger <vapier@gentoo.org>
882
883 * manual/errno.texi (Error Messages): Delete strerror ISO C89
884 compatibility note.
885
9162c01d
RM
8862015-03-05 Roland McGrath <roland@hack.frob.com>
887
888 * Makeconfig (test-wrapper-env-only): New variable.
889 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
890 then use that with $(test-wrapper-env-only) rather than using
891 $(test-wrapper-env) $(run-program-env) $($*-ENV).
892
209826bc
L
8932015-03-05 H.J. Lu <hongjiu.lu@intel.com>
894
895 [BZ #18082]
896 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
897 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
898 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
899 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
900 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
901 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
902 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
903 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
904 Likewise.
905 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
906 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
907 Likewise.
908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
909 Likewise.
910 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
911 Likewise.
912 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
913 Likewise.
914 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
916 Likewise.
917 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
918 Likewise.
919 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
920 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
921
2cfe32bc
RM
9222015-03-04 Roland McGrath <roland@hack.frob.com>
923
8bff5aab
RM
924 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
925 (ETH_ALEN): New macro.
926 (struct ether_addr): Use it for length of ether_addr_octet.
927
2752f338
RM
928 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
929 (setdb): Don't call __nss_configure_lookup for "rpc".
930 (do_test): Don't call test_rpc.
931 (output_rpcent, test_rpc): Functions moved ...
932 * sunrpc/test-rpcent.c: ... to this new file.
933 * sunrpc/Makefile (tests): Add it.
934
2cfe32bc
RM
935 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
936 __xpg_sigpause.
937 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
938 * nptl/tst-signal6.c: Likewise.
939 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
940 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
941
e4693aa7
RM
942 * configure.ac (libc_cv_cxx_link_ok): New check.
943 Reset CXX to empty if it fails to link.
944 * configure: Regenerated.
945 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
946 bug-atexit3-lib only if $(CXX) is nonempty.
947 * nptl/Makefile (tests): Likewise for tst-cancel24.
948 (tests, tests-static): Likewise for tst-cancel24-static.
949 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
950 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
951 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
952 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 953
8e2e833a
AS
9542015-03-04 Andreas Schwab <schwab@suse.de>
955
956 [BZ #17631]
957 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
958 for non-GCC compilers.
959 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
960 Likewise.
961
85b29045
AZ
9622015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
963
964 [BZ #17776]
965 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
966 integer before bitwise and assembly operations.
967 (feclearexcept): Likewise.
968 * math/test-fenvinline.c: New file.
969 * math/Makefile: Add test-fenvinline test.
970
a0af371c
AM
9712015-03-03 Alan Modra <amodra@gmail.com>
972
973 [BZ #16512]
974 * scripts/localplt.awk: Strip off symbol version.
975 * NEWS: Mention bug fix.
976
47465629
RM
9772015-03-02 Roland McGrath <roland@hack.frob.com>
978
979 * sysdeps/pthread/timer_routines.c
980 (timer_free_list, thread_free_list, thread_active_list): Make static.
981
6d08b022
JM
9822015-03-02 Joseph Myers <joseph@codesourcery.com>
983
984 [BZ #17779]
985 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
986 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
987 Undefine.
988 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
989 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
990 Likewise.
991 * sysdeps/unix/sysv/linux/sh/kernel-features.h
992 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
993 Likewise.
994
c2c6d39f
PP
9952015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
996
997 [BZ #18036]
998 * posix/fnmatch_loop.c (END): Detect invalid pattern.
999 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1000
e8b6be00
AS
10012015-03-02 Andreas Schwab <schwab@suse.de>
1002
1003 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1004 variable name.
1005
1a2d98af
FW
10062015-03-02 Florian Weimer <fweimer@redhat.com>
1007
1008 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1009 Return error status.
1010
e7f07af5
AO
10112015-02-27 Alexandre Oliva <aoliva@redhat.com>
1012
1013 [BZ #15969]
1014 * locale/findlocale.c (_nl_find_locale): Introduce const
1015 version of loc_name and drop unsafe type casts.
1016
c7b19ca9
RM
10172015-02-27 Roland McGrath <roland@hack.frob.com>
1018
1019 * dlfcn/tststatic2.c (main): Converted to ...
1020 (do_test): ... this.
1021 (TEST_FUNCTION): New macro.
1022 Include test-skeleton.c.
1023
ef4ad06f
L
10242015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1025
1026 [BZ #17711]
1027 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1028 (tests-pie): Add vismain.
1029 (CFLAGS-vismain.c): New.
1030 * elf/vismain.c: Add comments for PIE requirement.
1031
2ca725c5
JM
10322015-02-27 Joseph Myers <joseph@codesourcery.com>
1033
1034 [BZ #18046]
1035 [BZ #18047]
1036 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1037 0x1p-56L as threshold for just returning the argument.
1038 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1039 0x1p-32L as threshold for just returning the argument.
1040 * math/auto-libm-test-in: Add more tests of atanh.
1041 * math/auto-libm-test-out: Regenerated.
1042 * sysdeps/i386/fpu/libm-test-ulps: Update.
1043 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1044
af96be34
WD
10452015-02-27 Wilco Dijkstra wdijkstr@arm.com
1046
1047 * string/bcopy.c (bcopy): Call memmove for performance.
1048
ddcf6798
WD
10492015-02-27 Wilco Dijkstra wdijkstr@arm.com
1050
1051 * string/bzero.c (__bzero): Call memset for performance.
1052
49f476f4
JDA
10532015-02-27 John David Anglin <dave.anglin@bell.net>
1054
b42e14ff 1055 [BZ #18068]
49f476f4
JDA
1056 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1057 to 00100000.
1058
f8ab5d38
JM
10592015-02-27 Joseph Myers <joseph@codesourcery.com>
1060
1061 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1062
380bd0fd
JM
10632015-02-26 Joseph Myers <joseph@codesourcery.com>
1064
31331a07
JM
1065 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1066 (__kernel_standard): Use CSTR macro when setting exc.name.
1067 * sysdeps/ieee754/Makefile [$(subdir) = math]
1068 (CFLAGS-k_standard.c): Remove variable.
1069
09220e66
JM
1070 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1071 setting p and q from "else if" to "else".
1072 (qzero): Likewise.
1073 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1074 (qone): Likewise.
1075 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1076 (qzerof): Likewise.
1077 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1078 (qonef): Likewise.
1079 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1080 (qzero): Likewise.
1081 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1082 (qone): Likewise.
1083
1d9ab20c
JM
1084 [BZ #18038]
1085 [BZ #18039]
1086 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1087 return pi/2 for arguments below 0x1p-113L.
1088 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1089 return pi/2 for arguments below 0x1p-106L.
1090 * math/auto-libm-test-in: Add more tests of acos.
1091 * math/auto-libm-test-out: Regenerated.
1092
ec0ce0d3
JM
1093 [BZ #16351]
1094 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1095 (MO): New macro.
1096 (__ieee754_asin): Force underflow exception for results with small
1097 absolute value.
1098 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1099 (MO): New macro.
1100 (__ieee754_asinf): Force underflow exception for results with
1101 small absolute value.
1102 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1103 (__ieee754_asin): Force underflow exception for results with small
1104 absolute value.
1105 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1106 (__ieee754_asinf): Force underflow exception for results with
1107 small absolute value.
1108 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1109 (__ieee754_asinl): Force underflow exception for results with
1110 small absolute value.
1111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1112 (__ieee754_asinl): Force underflow exception for results with
1113 small absolute value.
1114 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1115 (__ieee754_asinl): Force underflow exception for results with
1116 small absolute value.
1117 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1118 Include <math.h>.
1119 * math/auto-libm-test-in: Do not mark underflow exceptions as
1120 possibly missing for bug 16351.
1121 * math/auto-libm-test-out: Regenerated.
1122
380bd0fd
JM
1123 [BZ #18030]
1124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1125 of power of 2 down when low part has opposite sign.
1126 * math/libm-test.inc (logb_test_data): Add more tests.
1127
4a28f4d5
AS
11282015-02-26 Andreas Schwab <schwab@suse.de>
1129
1130 [BZ #18032]
1131 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1132 over collating symbol inside a bracket expression. Minor cleanup.
1133 * posix/tst-fnmatch3.c (do_test): Add test case.
1134
524ae9ea
JM
11352015-02-26 Joseph Myers <joseph@codesourcery.com>
1136
1137 [BZ #18029]
1138 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1139 Adjust exponent of power of 2 down when low part has opposite
1140 sign.
1141 * math/libm-test.inc (ilogb_test_data): Add more tests.
1142
23d43090
AO
11432015-02-26 Alexandre Oliva <aoliva@redhat.com>
1144
1145 [BZ #15969]
1146 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1147 the previous change.
0d822a01
AO
1148
1149 [BZ #15969]
1150 * locale/findlocale.c (_nl_find_locale): Retry archive search
1151 after alias expansion.
1152
d19df6ac
RM
11532015-02-25 Roland McGrath <roland@hack.frob.com>
1154
ca681b7b
RM
1155 * iconv/tst-iconv3.c (main): Converted to ...
1156 (do_test): ... this.
1157 (TEST_FUNCTION): New macro.
1158 Include test-skeleton.c.
1159
fd1f2f1c
RM
1160 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1161 (convert): Make function static.
1162 (test_unalign): Likewise. Add const to argument pointee types.
1163 (main): Replace with static function do_test.
1164 Print "Succeeded." only if RET is zero.
1165 (TEST_FUNCTION): New macro.
1166 Include test-skeleton.c.
1167
d19df6ac
RM
1168 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1169 returns a null pointer.
1170
115e0de7
AZ
11712015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1174 to __memcpy_ppc only for static builds.
1175
137cef7d
JM
11762015-02-25 Joseph Myers <joseph@codesourcery.com>
1177
1178 [BZ #18020]
1179 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1180 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1181 * math/auto-libm-test-in: Add more tests of asinh.
1182 * math/auto-libm-test-out: Regenerated.
1183 * sysdeps/i386/fpu/libm-test-ulps: Update.
1184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1185
cb43bb0d
CW
11862015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1187
1188 [BZ #15850]
1189 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1190 and ip6_mtuinfo definitions here.
1191 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1192 in this define too. Update comment.
1193
9be1052b
BS
11942015-02-24 Benno Schulenberg <bensberg@justemail.net>
1195
1196 * elf/sprof.c (load_shobj): Tweak error message to match others.
1197
6807b1db
KE
11982015-02-24 Kevin Easton <kevin@guarana.org>
1199
1200 [BZ #16145] (partial fix)
1201 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1202 to reduce lock contention.
1203
b433df00
ML
12042015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1205
1206 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1207 (struct timex): Update time comment.
1208 (ADJ_SETOFFSET): Define.
1209
440169d6
JM
12102015-02-24 Joseph Myers <joseph@codesourcery.com>
1211
1212 [BZ #18019]
1213 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1214 2**56 not 2**28 as threshold for log (2x) formula.
1215 * math/auto-libm-test-in: Add more tests of acosh.
1216 * math/auto-libm-test-out: Regenerated.
1217 * sysdeps/i386/fpu/libm-test-ulps: Update.
1218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1219
ba7d2c54
MF
12202015-02-24 Mike Frysinger <vapier@gentoo.org>
1221
1222 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1223 parenthesis around the buf assignment.
1224 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1225
9438b237
JM
12262015-02-24 Joseph Myers <joseph@codesourcery.com>
1227
1228 [BZ #16783]
1229 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1230 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1231 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1232 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1233 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1234 * math/libm-test.inc (scalb_test_data): Add more tests.
1235
6909d276
PP
12362015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1237
1238 [BZ #17916]
1239 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1240 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1241
65f6f938
ER
12422015-02-24 Eric Rannaud <e@nanocritical.com>
1243
1244 [BZ #17523]
1245 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1246 * io/bits/fcntl2.h (open): Use it.
1247 (openat): Likewise.
1248 * io/open.c (__libc_open): Likewise.
1249 * io/open64.c (__libc_open64): Likewise.
1250 * io/open64_2.c (__open64_2): Likewise.
1251 * io/open_2.c (__open_2): Likewise.
1252 * io/openat.c (__openat): Likewise.
1253 * io/openat64.c (__openat64): Likewise.
1254 * io/openat64_2.c (__openat64_2): Likewise.
1255 * io/openat_2.c (__openat_2): Likewise.
1256 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1257 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1258 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1259 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1260 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1261 (__open_nocancel): Likewise.
1262 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1263 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1264 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1265
3e3002ff
SP
12662015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1267
1268 [BZ #14841]
1269 * resolv/gethnamaddr.c (getanswer): Skip logging if
1270 RES_USE_DNSSEC is set.
1271 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1272
9813dd58
MF
12732015-02-24 Mike Frysinger <vapier@gentoo.org>
1274
1275 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1276
7b1ec6a0
AO
12772015-02-23 Alexandre Oliva <aoliva@redhat.com>
1278
1279 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1280 201304L, for Unicode 7.
1281
d49499c1
L
12822015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1283
1284 [BZ #17836]
1285 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1286 shared library. Add gmon-start.os otherwise.
1287 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1288 $(objpfx)gmon-start.os if builing shared library.
1289 ($(objpfx)g$(static-start-installed-name)): Likewise.
1290
51225803
AS
12912015-02-23 Andreas Schwab <schwab@suse.de>
1292
1293 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1294
bdf1ff05
PP
12952015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1296
1297 [BZ #17269]
1298 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1299 (enlarge_userbuf): Likewise.
1300
95296112
CLT
13012015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1302
1303 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1304 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1305 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1306 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1307
e4a399dc
JM
13082015-02-20 Joseph Myers <joseph@codesourcery.com>
1309
1310 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1311 expression inside statement expression.
1312
7133957f
SL
13132015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1314
1315 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1316 <sysdeps/nptl/lowlevellock.h> and remove macros and
1317 functions that are now defined there.
1318 (SYS_futex): Remove.
1319 (lll_compare_and_swap): Remove.
1320 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1321
40176158
JM
13222015-02-19 Joseph Myers <joseph@codesourcery.com>
1323
1324 [BZ #17999]
1325 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1326 instead of scandirat.
1327 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1328 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1329 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1330 __scandirat.
1331 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1332 (__scandirat): Declare. Use libc_hidden_proto.
1333 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1334 Remove variable.
1335 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1336
4629c866
JM
13372015-02-18 Joseph Myers <joseph@codesourcery.com>
1338
1339 [BZ #15319]
1340 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1341 (MO): New macro.
1342 (__ieee754_atan2): For results with small absolute value, force
1343 underflow exception and remove excess range and precision from
1344 return value.
1345 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1346 (MO): New macro.
1347 (__ieee754_atan2f): For results with small absolute value, force
1348 underflow exception and remove excess range and precision from
1349 return value.
1350 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1351 (MO): New macro.
1352 (__atan): For results with small absolute value, force underflow
1353 exception and remove excess range and precision from return value.
1354 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1355 (MO): New macro.
1356 (__atanf): For results with small absolute value, force underflow
1357 exception and remove excess range and precision from return value.
1358 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1359 <math.h>.
1360 (__ieee754_atan2): Force underflow exception for results with
1361 small absolute value.
1362 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1363 <math_private.h>.
1364 (atan): Force underflow exception for results with small absolute
1365 value.
1366 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1367 (__atanf): Force underflow exception for results with small
1368 absolute value.
1369 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1370 <math.h>.
1371 (__atanl): Force underflow exception for results with small
1372 absolute value.
1373 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1374 (__atanl): Force underflow exception for results with small
1375 absolute value.
1376 * sysdeps/x86/fpu/bits/mathinline.h
1377 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1378 (__ieee754_atan2): Only define inline for long double.
1379 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1380 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1381 * math/auto-libm-test-in: Do not mark underflow exceptions as
1382 possibly missing for bug 15319. Add more tests of atan2.
1383 * math/auto-libm-test-out: Regenerated.
1384 * math/libm-test.inc (casin_test_data): Do not mark underflow
1385 exceptions as possibly missing for bug 15319.
1386 (casinh_test_data): Likewise.
1387 * sysdeps/i386/fpu/libm-test-ulps: Update.
1388
9ee16d8b
SE
13892015-02-18 Steve Ellcey <sellcey@imgtec.com>
1390
1391 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1392 * sysdeps/mips/bits/endian.h: Fix comments.
1393
4ffb1771
JM
13942015-02-18 Joseph Myers <joseph@codesourcery.com>
1395
1396 [BZ #17996]
1397 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1398 (hdestroy_r): Likewise.
1399 (hsearch_r): Likewise.
1400 (__hcreate_r): Declare and use libc_hidden_proto.
1401 (__hdestroy_r): Likewise.
1402 (__hsearch_r): Likewise.
1403 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1404 (hcreate): Call __hcreate_r instead of hcreate_r.
1405 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1406 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1407 as weak alias of __hcreate_r.
1408 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1409 __hdestroy_r.
1410 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1411 __hsearch_r.
1412 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1413 Remove variable.
1414 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1415 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1416 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1417 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1418
94c5a52a
SP
14192015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1420
1421 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1422 arena_lock into a single arena_get.
1423
8a35c3fe
CD
14242015-02-17 Carlos O'Donell <carlos@redhat.com>
1425
1426 * dl-reloc.c: Inlucde libc-internal.h.
1427 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1428 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1429 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1430 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1431 (grow_heap): Likewise.
1432 * malloc/malloc.c: Include libc-internal.h.
1433 (do_check_malloc): Call powerof2.
1434 (sysmalloc): Use pagesize. Call ALIGN_UP.
1435 (systrim): Use pagesize.
1436 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1437 (__libc_valloc): Use pagesize.
1438 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1439
1a2325c0
JM
14402015-02-17 Joseph Myers <joseph@codesourcery.com>
1441
1442 [BZ #17991]
1443 * include/sys/resource.h (__getrlimit64): Declare. Use
1444 libc_hidden_proto.
1445 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1446 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1447 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1448 getrlimit64.
1449 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1450 __getrlimit64.
1451 [!getrlimit64] (getrlimit64): Define as weak alias of
1452 __getrlimit64. Use libc_hidden_weak.
1453 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1454 using __getrlimit64 not __new_getrlimit64.
1455 (__GI_getrlimit64): Likewise.
1456 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1457 Likewise.
1458 (__GI_getrlimit64): Likewise.
1459 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1461 (getrlimit): Add __getrlimit64 alias.
1462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1463 Likewise.
1464 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1465 Remove variable.
1466 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1467 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1468
8ae4bb5a
PP
14692015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1470
1471 * libio/fileops.c: Add missing sys/mman.h
1472 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1473
18a218b7
JM
14742015-02-17 Joseph Myers <joseph@codesourcery.com>
1475
1476 * manual/math.texi (Errors in Math Functions): Clarify goals
1477 regarding inexact and underflow exceptions.
1478
e72ad0ef
SE
14792015-02-17 Steve Ellcey <sellcey@imgtec.com>
1480
1481 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1482 * sysdeps/mips/memset.S: Ditto.
1483
2caa4099
SE
14842015-02-17 Steve Ellcey <sellcey@imgtec.com>
1485
1486 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1487
f20bfc9b
SL
14882015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1489
1490 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1491 (__v1longjmp): Remove versioned symbol.
1492 (__v1siglongjmp): Remove alias and versioned symbol.
1493 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1494 (__v2siglongjmp): Likewise.
1495
71c06b69
TR
14962015-02-16 Torvald Riegel <triegel@redhat.com>
1497
1498 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1499
a9a05adb
MF
15002015-02-16 Mike Frysinger <vapier@gentoo.org>
1501
1502 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1503
ce8fc784
JM
15042015-02-16 Joseph Myers <joseph@codesourcery.com>
1505
1506 [BZ #17987]
1507 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1508 zero result does not depend on the sign resulting from
1509 subtraction.
1510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1511 Likewise.
1512 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1513 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1514 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1515 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1516 * math/libm-test.inc (remquo_test_data): Add more tests.
1517
0d7036bd
PE
15182015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1519
1520 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1521 Problem reported by J William Piggott.
1522
86c56b16
JM
15232015-02-16 Joseph Myers <joseph@codesourcery.com>
1524
a820f9b3
JM
1525 [BZ #17978]
1526 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1527 products 4 * y and 2 * y where those would overflow.
1528 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1529 Likewise.
1530 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1531 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1532 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1533 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1534 * math/libm-test.inc (remquo_test_data): Add more tests.
1535
be802953
JM
1536 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1537
e5e72fe9
JM
1538 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1539 [defined _COMPILING_NEWLIB].
1540 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1541 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1542
86c56b16
JM
1543 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1544 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1545
35264d14
TR
15462015-02-16 Torvald Riegel <triegel@redhat.com>
1547
1548 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1549 acquired.
1550
6f49e32a
MF
15512015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1552
1553 [BZ #17792]
1554 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1555 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1556 HOST_STACK_END_ADDR): Likewise.
1557
e525154e
SE
15582015-02-13 Steve Ellcey <sellcey@imgtec.com>
1559
1560 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1561 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1562 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1563
4ab770b7
RM
15642015-02-13 Roland McGrath <roland@hack.frob.com>
1565
1566 * sysdeps/generic/c++-types.data: New file.
1567 * sysdeps/generic/ld.abilist: New file.
1568 * sysdeps/generic/libBrokenLocale.abilist: New file.
1569 * sysdeps/generic/libanl.abilist: New file.
1570 * sysdeps/generic/libc.abilist: New file.
1571 * sysdeps/generic/libcrypt.abilist: New file.
1572 * sysdeps/generic/libdl.abilist: New file.
1573 * sysdeps/generic/libm.abilist: New file.
1574 * sysdeps/generic/libpthread.abilist: New file.
1575 * sysdeps/generic/libresolv.abilist: New file.
1576 * sysdeps/generic/librt.abilist: New file.
1577
d9afe48d
JM
15782015-02-13 Joseph Myers <joseph@codesourcery.com>
1579
1580 [BZ #17569]
1581 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1582 Compute absolute value of x as modified by fmod, not original
1583 value of x.
1584 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1585 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1586 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1587 RUN_TEST_ffI_f1_mod8.
1588 (remquo_test_data): Add more tests.
1589
3846188b
RM
15902015-02-13 Roland McGrath <roland@hack.frob.com>
1591
1592 * sysdeps/init_array/pt-crti.S: New file.
1593
95c26233
JM
15942015-02-13 Joseph Myers <joseph@codesourcery.com>
1595
1596 [BZ #17967]
1597 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1598 __builtin_fmaf instead of relying on contraction of a * b + c.
1599
3f293d61
WP
16002015-02-12 J William Piggott <elseifthen@gmx.com>
1601
1602 [BZ #17969]
1603 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1604 node.
1605
e8bd5286
JM
16062015-02-12 Joseph Myers <joseph@codesourcery.com>
1607
1608 [BZ #17964]
1609 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1610 __builtin_fma instead of relying on contraction of a * b + c.
1611
04f5a636
RM
16122015-02-12 Roland McGrath <roland@hack.frob.com>
1613
96a15749
RM
1614 * Makeconfig (ASFLAGS): Add -Werror=undef.
1615 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1616 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1617 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1618
04f5a636
RM
1619 * Makeconfig (after-link): New variable.
1620 (+link-pie, +link-pie-tests): Use it.
1621 (+link-static, +link-static-tests): Likewise.
1622 (+link, +link-tests): Likewise.
1623 * Makerules (build-module, build-module-asneeded): Likewise.
1624 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1625 Likewise.
1626 * elf/Makefile ($(objpfx)ld.so): Likewise.
1627
87a629c5
RS
16282015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1629
1630 [BZ #17965]
1631 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1632 both struct timeval and struct timespec.
1633
03d95bd4
JM
16342015-02-12 Joseph Myers <joseph@codesourcery.com>
1635
1636 [BZ #16560]
1637 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1638 and redefine.
1639 (__ieee754_exp2l): Do not multiply small fractional parts by
1640 M_LN2l.
1641 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1642 small argument.
1643 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1644 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1645 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1646 * math/auto-libm-test-in: Add more tests of exp2.
1647 * math/auto-libm-test-out: Regenerated.
1648
98408b95
RS
16492015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1650
1651 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1652 unaligned path.
1653
6f741503
AZ
16542015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1655
1656 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1657 little endian.
1658
2868e070
AS
16592015-02-12 Andreas Schwab <schwab@suse.de>
1660
1661 [BZ #15790]
1662 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1663 Filter out elision flags from value returned in kind.
1664 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1665 * nptl/tst-pthread-mutexattr.c: New file.
1666
ebf27d12
ST
16672015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1668
1669 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1670 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1671 into gnu-gnu, and update comment to refer to abi-tags.
1672
d435569c
JM
16732015-02-11 Joseph Myers <joseph@codesourcery.com>
1674
1675 [BZ #15467]
1676 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1677 (__sincos): Set errno to EDOM for infinite argument.
1678 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1679 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1680 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1681 (__sincosl): Set errno to EDOM for infinite argument.
1682 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1683 (__sincosl): Set errno to EDOM for infinite argument.
1684 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1685 (__sincosl): Set errno to EDOM for infinite argument.
1686 * math/libm-test.inc (sincos_test_data): Test errno setting.
1687
d35273f2
LH
16882015-02-11 Leonhard Holz <leonhard.holz@web.de>
1689
1690 * string/strxfrm_l.c: Remove #define STRCMP.
1691 * string/strcoll_l.c: Remove #define STRLEN.
1692 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1693 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1694
306bc0d1
JM
16952015-02-10 Joseph Myers <joseph@codesourcery.com>
1696
1697 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1698 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1699 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1700 * sysdeps/mips/mips64/Makefile: ... here.
1701 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1702 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1703 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1704 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1705 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1706 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1707 * sysdeps/mips/mips64/n64/Implies: Likewise.
1708
92b67e8d
RM
17092015-02-10 Roland McGrath <roland@hack.frob.com>
1710
1711 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1712 <sys/time.h>, <string.h>, and <errno.h>.
1713 (dest_offset, dest_address, value, zero): Remove unused variables.
1714 (ldouble): Remove typedef.
1715 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1716 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1717 1). Fix code style.
1718 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1719 (check): Function removed.
1720 (CHECK): New macro.
1721 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1722 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1723 Don't call set_sigaction_FP and remove_sigaction_FP here.
1724 (ldouble_test): Just use 'long double' as macro argument, no need for
1725 the 'ldouble' typedef.
1726 (do_test): Set up SIGFPE handler at start, using plain signal rather
1727 than sigaction. Fix code style.
1728
132a1328
EF
17292015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1730
1731 [BZ #17949]
1732 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1733 jump label.
1734
3001e54c
AZ
17352015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1736
bc0cdc49
AZ
1737 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1738 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1739
83658961
AZ
1740 * sysdeps/powerpc/configure.ac: Remove file.
1741 * sysdeps/powerpc/configure: Likewise.
1742
10169938
AZ
1743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1744 [sysdep_routines]: Remove wordcopy-power6 object.
1745 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1746 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1747 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1748 (__memmove_ppc32): Likewise.
1749 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1750 file.
1751 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1752 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1753 Remove preprocessor.
1754
8548a53d
AZ
1755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1756 [sysdep_routines]: Remove wide chars objects.
1757 [wcsmbs]: New rule for wide char objects.
1758
b2692114
AZ
1759 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1760 Remove wordcopy-power6 obejct.
1761 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1762 Use local call for wordcopy and memcpy symbols.
1763 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1764 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1765 implementation for loader.
1766 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1767
18e270aa
AZ
1768 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1769 Remove wordcopy-power7 object.
1770 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1771 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1772 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1773 (_wordcopy_fwd_dest_aligned): Likewise.
1774 (_wordcopy_bwd_aligned): Likewise.
1775 (_wordcopy_bwd_dest_aligned): Likewise.
1776
6f0993a6
AZ
1777 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1778 Rewrite to call __memmove_ppc instead of include default
1779 implementation.
1780
3001e54c
AZ
1781 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1782 Remove wide chars objects.
1783 [wcsmbs]: New rule for wide char objects.
1784
59b61c82
AS
17852015-02-09 Andreas Schwab <schwab@suse.de>
1786
1787 [BZ #17912]
1788 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1789 in terms of __O_DIRECTORY.
1790
ebd7aede
ST
17912015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1792
1793 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1794 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1795 call PTR_MANGLE.
1796 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1797 PTR_DEMANGLE.
ebd7aede 1798
3999d26e
PE
17992015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1800
1801 Add ersatz _Static_assert on older C hosts
1802 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1803 pre-C11 C platform that is not known to support _Static_assert.
1804
e9a5bc1c
ST
18052015-02-07 Richard Braun <rbraun@sceen.net>
1806
1807 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1808 sigstate.
e86c5b64 1809 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1810
e2049d17
ST
18112015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1812
1813 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1814 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1815 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1816 instead of int.
1817 * misc/fchflags.c (fchflags): Likewise.
1818 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1819 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1820 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1821 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1822 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1823 Declare macros.
1824 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1825 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1826 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1827 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1828 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1829 45.
a9a002fb
ST
1830 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1831 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1832 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1833 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1834 * hurd/hurd/signal.h (_hurd_self_sigstate,
1835 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1836 Explicit casts from void *.
4fc81a77 1837 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1838 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1839
f05826f0
ST
1840 [BZ #4719]
1841 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1842 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1843 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1844 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1845 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1846 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1847
a5eb23de
ST
1848 [BZ #17944]
1849 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1850 duplicates ADDR->sun_path with sockaddr LEN limitation.
1851 * sysdeps/mach/hurd/connect.c: Include <string.h>
1852 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1853 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1854 * sysdeps/mach/hurd/sendto.c: Likewise.
1855 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1856 implementing it by hand.
1857
ac9e0e5e
RM
18582015-02-06 Roland McGrath <roland@hack.frob.com>
1859
f8d1bb4c
RM
1860 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1861 Use sfi_breg on ldr.
1862 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1863 Likewise.
1864
022f4812
RM
1865 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1866 it's defined.
1867 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1868 Test SIGSETXID only if it's defined.
1869
1ac074e6
RM
1870 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1871
f50ad78b
RM
1872 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1873 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1874
9e7265f4
RM
1875 * nptl/tst-align2.c: Moved ...
1876 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1877 * nptl/Makefile (tests): Remove tst-align2.
1878 * sysdeps/unix/sysv/linux/Makefile
1879 [$(subdir) = nptl] (tests): Add tst-align-clone.
1880 * nptl/tst-getpid1.c: Moved ...
1881 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1882 * nptl/tst-getpid2.c: Moved ...
1883 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1884 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1885 * sysdeps/unix/sysv/linux/Makefile
1886 [$(subdir) = nptl] (tests): ... here.
1887 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1888 * sysdeps/unix/sysv/linux/Makefile
1889 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1890
62ad2abc
RM
1891 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1892 Drop trailing \n from perror argument. Use return rather than exit.
1893
cfa69b0b
RM
1894 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1895 on [SA_SIGINFO].
1896 * nptl/tst-cancel21.c (do_test): Likewise.
1897 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1898 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1899 [!SA_SIGINFO]: Make it a stub test.
1900
82727806
RM
1901 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1902 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1903
da3a1594
RM
1904 * posix/tst-getlogin.c: Move to ...
1905 * login/tst-getlogin.c: ... here.
1906 * posix/Makefile (tests): Move tst-getlogin to ...
1907 * login/Makefile (tests): ... here.
1908
b65c0ff9
RM
1909 * libio/tst-atime.c (do_test): Move local variables SV and E
1910 inside [ST_NOATIME] conditional.
1911
56606ab3
RM
1912 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1913
ebf7d6ee
RM
1914 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1915
ca0e0675
RM
1916 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1917 (wait_code): New function replaces macro.
1918 Call nanosleep rather than syscall.
1919
8c28bbc6
RM
1920 * nptl/pt-system.c: Rewritten. Put everything under
1921 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1922 Use IFUNC to redirect when possible.
1923
ec2a88b3
RM
1924 * nptl/pt-longjmp.c: Rewritten. Put everything under
1925 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1926 Use IFUNC to redirect when possible.
1927
beff1d13
RM
1928 * nptl/pt-fork.c: Rewritten. Put everything under
1929 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1930 Use IFUNC to redirect when possible.
1931 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1932
ea02c6b8
RM
1933 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1934 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1935 unconditionally nowadays. This included the only reference to
1936 __vdso_clock_gettime that appears outside libc proper.
1937 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1938 Remove version set (containing only __vdso_clock_gettime).
1939 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1940 Add attribute_hidden.
1941 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1942 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1943 libc_hidden_data_def.
1944 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1945 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1946
a1309c2b
RM
1947 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1948 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1949 setrpcent, and getrpcport to ...
1950 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1951 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1952 getrpcbynumber_r, and getrpcent_r to ...
1953 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1954 * inet/getrpcbyname.c: Moved ...
1955 * sunrpc/getrpcbyname.c: ... here.
1956 * inet/getrpcbyname_r.c: Moved ...
1957 * sunrpc/getrpcbyname_r.c: ... here.
1958 * inet/getrpcbynumber.c: Moved ...
1959 * sunrpc/getrpcbynumber.c: ... here.
1960 * inet/getrpcbynumber_r.c: Moved ...
1961 * sunrpc/getrpcbynumber_r.c: ... here.
1962 * inet/getrpcent.c: Moved ...
1963 * sunrpc/getrpcent.c: ... here.
1964 * inet/getrpcent_r.c: Moved ...
1965 * sunrpc/getrpcent_r.c: ... here.
1966 * inet/Makefile (routines): Move those to ...
1967 * sunrpc/Makefile (routines): ... here.
1968 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1969 the $(subdirs) list.
1970 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1971 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1972 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1973 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1974
ac9e0e5e
RM
1975 * elf/Makefile (routines): Include $(all-dl-routines), not just
1976 $(dl-routines).
1977 (rtld-routines): Likewise. Use = rather than :=.
1978 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1979 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1980 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1981 * sysdeps/arm/Makefile: Likewise.
1982 * sysdeps/i386/Makefile: Likewise.
1983 * sysdeps/x86_64/Makefile: Likewise.
1984 * sysdeps/hppa/Makefile [$(subdir) = elf]
1985 (sysdep_routines, sysdep-rtld-routines): Don't add
1986 $(sysdep-dl-routines) to these.
1987 * sysdeps/ia64/Makefile: Likewise.
1988 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1989 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1990 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1991 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1992 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1993 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1994 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1995 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1996 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1997 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1998 these; sysdep-dl-routines alone is enough.
1999
639e42eb
JM
20002015-02-06 Joseph Myers <joseph@codesourcery.com>
2001
1c7a4a51
JM
2002 [BZ #17932]
2003 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2004 where multiplication results in zero and third argument is finite
2005 and nonzero.
2006 * math/auto-libm-test-in: Add more tests of fma.
2007 * math/auto-libm-test-out: Regenerated.
2008
61f006c1
JM
2009 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2010 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2011 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2012 (_FP_CMP_EQ): Likewise.
2013 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2014
639e42eb
JM
2015 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2016 extra argument CHECK_NAN. Redefine as wrapper around
2017 _FP_EXTEND_CNAN.
2018
3c0c543b
CD
20192015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2020
4e42b5b8
CD
2021 * version.h (RELEASE): Set to "stable".
2022 (VERSION): Set to "2.21"
2023 * include/features.h (__GLIBC_MINOR__): Set to 21.
2024
3c0c543b
CD
2025 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2026
5bd80bfe 20272015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 2028 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
2029
2030 [BZ #16618]
2031 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2032 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2033 size in bytes. Store needed elements in wpmax. Use needed size
2034 in bytes for extend_alloca.
2035
3f823f48
CD
20362015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2037
04cb913d
CD
2038 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2039 binutls 2.25, and texinfo 5.2.
2040 * INSTALL: Regenerate.
2041 * sysdeps/nios2/configure: Regenerate.
2042 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2043 * manual/contrib.texi: Update.
2044 * po/be.po: Update.
2045 * po/bg.po: Update.
2046 * po/ca.po: Update.
2047 * po/cs.po: Update.
2048 * po/da.po: Update.
2049 * po/de.po: Update.
2050 * po/el.po: Update.
2051 * po/eo.po: Update.
2052 * po/es.po: Update.
2053 * po/fi.po: Update.
2054 * po/fr.po: Update.
2055 * po/gl.po: Update.
2056 * po/hr.po: Update.
2057 * po/hu.po: Update.
2058 * po/ia.po: Update.
2059 * po/id.po: Update.
2060 * po/it.po: Update.
2061 * po/ja.po: Update.
2062 * po/ko.po: Update.
2063 * po/lt.po: Update.
2064 * po/nb.po: Update.
2065 * po/nl.po: Update.
2066 * po/pl.po: Update.
2067 * po/pt_BR.po: Update.
2068 * po/ru.po: Update.
2069 * po/rw.po: Update.
2070 * po/sk.po: Update.
2071 * po/sl.po: Update.
2072 * po/sv.po: Update.
2073 * po/tr.po: Update.
2074 * po/uk.po: Update.
2075 * po/vi.po: Update.
2076 * po/zh_CN.po: Update.
2077 * po/zh_TW.po: Update.
2078
3f823f48
CD
2079 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2080 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2081 * sysdeps/hppa/dl-irel.h: Remove #warning.
2082 * sysdeps/hppa/entry.h: Provide prototype for
2083 __canonicalize_funcptr_for_compare and cast argument.
2084 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2085 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2086 * sysdeps/hppa/sotruss-lib.c: New file.
2087 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2088 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2089 (atomic_compare_and_exchange_bool_acq): Likewise.
2090 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2091 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2092
2093 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2094 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2095 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2096
34c56048
CLT
20972015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2098
2099 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2100 called function in non-PIC case.
2101
d4abeca5
DM
21022015-01-31 David S. Miller <davem@davemloft.net>
2103
edac0a60
DM
2104 * sysdeps/sparc/sparc32/bits/atomic.h
2105 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2106 unlock not after it.
2107 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2108 volatile register usage warnings from the compiler.
2109
d4abeca5
DM
2110 * sysdeps/sparc/nptl/sem_init.c: Delete.
2111 * sysdeps/sparc/nptl/sem_post.c: Delete.
2112 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2113 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2114 * sysdeps/sparc/sparc32/sem_init.c: New file.
2115 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2116 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2117 padding explicitly initialized.
2118 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2119 padding for in-semaphore spinlock.
2120 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2121 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2122 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2123 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2124 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2125 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2126 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2127 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2128 version.
2129 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2130 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2131
5f3d0b78
L
21322015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2133
2134 [BZ #17801]
2135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2136 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2137 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2138 New.
2139 (index_AVX_Fast_Unaligned_Load): Likewise.
2140 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2141 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2142 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2143 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2144 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2145 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2146 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2147 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2148 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2149
b658fdd8
AS
21502015-01-29 Andreas Schwab <schwab@suse.de>
2151
2152 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2153
3cb26316
SP
21542015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2155
2156 [BZ #17892]
2157 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2158
527de9e4
MS
21592015-01-28 Martin Sebor <msebor@redhat.com>
2160
2161 * math/README.libm-test: Clarify. Add "How to read the test output."
2162
06991eb8
CM
21632015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2164
2165 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2166 Define to 0.
2167
df341342
JM
21682015-01-28 Joseph Myers <joseph@codesourcery.com>
2169
2170 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2171 (__HAVE_64B_ATOMICS): Define to 0.
2172
08cee2a4
AZ
21732015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2174
d4d0ecb2
AZ
2175 [BZ #17885]
2176 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2177 value to set as new flag.
2178
08cee2a4
AZ
2179 [BZ #16576]
2180 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2181 and use _ARCH_PPCSQ instead.
2182 (__ieee754_sqrt): Likewise.
2183 (__ieee754_sqrtf): Likewise.
2184 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2185 _ARCH_PPCSQ is defined.
2186 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2187 fsqrt instruction.
2188 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2189 _ARCH_PPCSQ is defined.
2190 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2191 fsqrts instruction.
2192 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2193
5fe8e359
AK
21942015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2195
2196 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2197 bug (GCC BZ #64739).
2198
24bb7432
AS
21992015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2200
fa20da31
AS
2201 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2202 Mark _retval as used.
2203 (lll_futex_wake_unlock): Likewise.
2204 (lll_futex_timed_wait_requeue_pi): Likewise.
2205
45819cbc
AS
2206 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2207 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2208 register variables.
2209
403cc231
AS
2210 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2211 libm_hidden_def.
2212
24bb7432
AS
2213 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2214 (__bswap_64): Mark as __always_inline.
2215
9317ea65
B
22162015-01-25 Bram <bug_rh@spam.wizbit.be>
2217
2218 [BZ #15378]
2219 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2220 when none of the search directories exist.
2221
0e87343e
AZ
22222015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2223
bea58013
AZ
2224 [BZ #17869]
2225 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2226 power8 in .machine directive.
2227
0e87343e
AZ
2228 [BZ #17868]
2229 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2230 set dependency from opd value.
2231
ede0236c
L
22322015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2235 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2236 architecture.
ede0236c 2237
22971c35
L
22382015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2239
2240 [BZ #17870]
2241 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2242 with uint64_t.
2243 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2244 (uint64_t) 1.
e0da28a1 2245 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2246 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2247 Replace 1UL with (uint64_t) 1.
2248 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2249 int with uint64_t.
2250
da5bf245
RM
22512015-01-23 Roland McGrath <roland@hack.frob.com>
2252
2ec2d703
RM
2253 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2254 (if_freenameindex): Likewise.
2255
da5bf245
RM
2256 * resource/getrlimit64.c: Add missing libc_hidden_def.
2257
d7423856
JM
22582015-01-22 Joseph Myers <joseph@codesourcery.com>
2259
2260 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2261 __label__.
2262 (_FP_FMA): Likewise.
2263 (_FP_TO_INT_ROUND): Likewise.
2264 (_FP_FROM_INT): Likewise.
2265
6b2ba95b
AZ
22662015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2267
2268 [BZ #16418]
2269 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2270 Make code racy and cancel safe.
2271
ccdb048d
CD
22722015-01-21 Carlos O'Donell <carlos@redhat.com>
2273
191220b3
CD
2274 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2275 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2276 attribution.
2277
0897c551
CD
2278 * pwd/tst-getpw.c: Rewrite.
2279
ccdb048d
CD
2280 [BZ #17702]
2281 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2282 (modules-names): Add moddummy1 and moddummy2.
2283 ($(objpfx)tst-rec-dlopen): Define.
2284 * dlfcn/moddummy1.c: New file.
2285 * dlfcn/moddummy2.c: New file.
2286 * dlfcn/tst-rec-dlopen.c: New file.
2287 * elf/dl-cache.c (_dl_load_cache_lookup):
2288 Return char*. Copy result with alloca/strcpy/strdup.
2289 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2290 returns char*. Free cached. If not saving realname
2291 free cached.
2292 * elf/dl-open.c (dl_open_worker): Do not assert that
2293 _r_debug->r_state is RT_CONSISTENT.
2294 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2295 returns char*.
2296
042e1521
CD
22972015-01-21 Torvald Riegel <triegel@redhat.com>
2298 Carlos O'Donell <carlos@redhat.com>
2299
2300 [BZ #12674]
2301 * nptl/sem_waitcommon.c: New file.
2302 * nptl/sem_wait.c: Include sem_waitcommon.c.
2303 (__sem_wait_cleanup, do_futex_wait): Remove.
2304 (__new_sem_wait): Adapt.
2305 (__new_sem_trywait): New function.
2306 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2307 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2308 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2309 (sem_timedwait): Adapt.
2310 * nptl/sem_post.c (__new_sem_post): Adapt.
2311 (futex_wake): New function.
2312 (__old_sem_post): Add release MO fence.
2313 * nptl/sem_open.c (sem_open): Adapt.
2314 * nptl/sem_init.c (__new_sem_init): Adapt.
2315 (futex_private_if_supported): New function.
2316 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2317 (__old_sem_getvalue): Add using previous code.
2318 * sysdeps/nptl/internaltypes.h: Adapt.
2319 * nptl/tst-sem13.c (do_test): Adapt.
2320 * nptl/tst-sem11.c (main): Adapt.
2321 * nptl/sem_trywait.c: Remove.
2322 * nptl/DESIGN-sem.txt: Remove.
2323 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2324 (gen-as-const-headers): Remove structsem.sym.
2325 * nptl/structsem.sym: Remove.
2326 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2327 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2328 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2329 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2330 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2331 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2332 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2333 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2334 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2335 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2336 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2337 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2338 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2339 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2340 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2341 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2342 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2343 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2344 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2345 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2346 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2347 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2348
fe0e85af
CD
23492015-01-20 Carlos O'Donell <carlos@redhat.com>
2350
a8db092e
CD
2351 * INSTALL: Regenerated.
2352
fe0e85af
CD
2353 * po/libc.pot: Regenerated.
2354
522e6ee3
CLT
23552015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2356 Sandra Loosemore <sandra@codesourcery.com>
2357 Andrew Jenner <andrew@codesourcery.com>
2358 Joseph Myers <joseph@codesourcery.com>
2359 Nathan Sidwell <nathan@codesourcery.com>
2360
2361 * NEWS: Mention new Nios II port.
2362 * sysdeps/nios2/Implies: New file.
2363 * sysdeps/nios2/Makefile: New file.
2364 * sysdeps/nios2/Subdirs: New file.
2365 * sysdeps/nios2/Versions: New file.
2366 * sysdeps/nios2/__longjmp.S: New file.
2367 * sysdeps/nios2/abort-instr.h: New file.
2368 * sysdeps/nios2/backtrace.c: New file.
2369 * sysdeps/nios2/bits/endian.h: New file.
2370 * sysdeps/nios2/bits/fenv.h: New file.
2371 * sysdeps/nios2/bits/link.h: New file.
2372 * sysdeps/nios2/bits/setjmp.h: New file.
2373 * sysdeps/nios2/bsd-_setjmp.S: New file.
2374 * sysdeps/nios2/bsd-setjmp.S: New file.
2375 * sysdeps/nios2/configure: New generated file.
2376 * sysdeps/nios2/configure.ac: New file.
2377 * sysdeps/nios2/crti.S: New file.
2378 * sysdeps/nios2/crtn.S: New file.
2379 * sysdeps/nios2/dl-init.c: New file.
2380 * sysdeps/nios2/dl-machine.h: New file.
2381 * sysdeps/nios2/dl-sysdep.h: New file.
2382 * sysdeps/nios2/dl-tls.h: New file.
2383 * sysdeps/nios2/dl-trampoline.S: New file.
2384 * sysdeps/nios2/gccframe.h: New file.
2385 * sysdeps/nios2/gmp-mparam.h: New file.
2386 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2387 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2388 * sysdeps/nios2/ldsodefs.h: New file.
2389 * sysdeps/nios2/libc-tls.c: New file.
2390 * sysdeps/nios2/libm-test-ulps: New file.
2391 * sysdeps/nios2/machine-gmon.h: New file.
2392 * sysdeps/nios2/math-tests.h: New file.
2393 * sysdeps/nios2/math_private.h: New file.
2394 * sysdeps/nios2/memusage.h: New file.
2395 * sysdeps/nios2/nptl/Makefile: New file.
2396 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2397 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2398 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2399 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2400 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2401 * sysdeps/nios2/nptl/tls.h: New file.
2402 * sysdeps/nios2/preconfigure: New file.
2403 * sysdeps/nios2/s_fma.c: New file.
2404 * sysdeps/nios2/s_fmaf.c: New file.
2405 * sysdeps/nios2/setjmp.S: New file.
2406 * sysdeps/nios2/sfp-machine.h: New file.
2407 * sysdeps/nios2/sotruss-lib.c: New file.
2408 * sysdeps/nios2/stackguard-macros.h: New file.
2409 * sysdeps/nios2/stackinfo.h: New file.
2410 * sysdeps/nios2/start.S: New file.
2411 * sysdeps/nios2/sysdep.h: New file.
2412 * sysdeps/nios2/tls-macros.h: New file.
2413 * sysdeps/nios2/tst-audit.h: New file.
2414 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2415 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2416 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2417 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2418 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2419 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2420 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2421 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2422 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2423 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2424 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2425 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2426 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2427 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2428 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2429 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2430 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2431 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2432 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2433 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2434 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2435 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2436 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2437 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2438 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2439 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2440 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2441 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2442 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2443 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2444 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2445 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2446 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2447 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2448 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2449 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2450 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2451 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2452 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2453 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2454 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2455 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2456 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2457 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2458
026eb207
SL
24592015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2460
2461 [BZ #17844]
2462 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2463 (getutent): Use weak_alias in non SHARED case
2464 and default_symbol_version in SHARED case.
2465 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2466 (getutent_r, pututline): Likewise.
2467 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2468 (getutid): Likewise.
2469 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2470 (getutid_r): Likewise.
2471 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2472 (getutline): Likewise.
2473 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2474 (getutline_r): Likewise.
2475 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2476 (updwtmp): Likewise.
2477
1d532483
SL
24782015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2479
2480 [BZ #17848]
2481 * sysdeps/s390/s390-32/memcmp.S
2482 (memcmp_g5): Rename to __memcmp_g5.
2483 * sysdeps/s390/s390-32/memcpy.S
2484 (memcpy_g5): Rename to __memcpy_g5.
2485 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2486 (memcpy_mvcle) Rename to __memcpy_mvcle.
2487 * sysdeps/s390/s390-32/memset.S
2488 (memset_g5): Rename to __memset_g5.
2489 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2490 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2491 and use prefixed functions.
2492 * sysdeps/s390/s390-32/multiarch/memcmp.S
2493 (memcmp_z196): Rename to __memcmp_z196.
2494 (memcmp_z10): Rename to __memcmp_z10.
2495 (memcmp): Set alias to __memcmp_g5.
2496 (bcmp): Set alias to __memcmp_g5.
2497 * sysdeps/s390/s390-32/multiarch/memcpy.S
2498 (memcpy_z196): Rename to __memcpy_z196.
2499 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2500 (memcpy_z10): Rename to __memcpy_z10.
2501 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2502 (memcpy): Set alias to __memcpy_g5.
2503 * sysdeps/s390/s390-32/multiarch/memset.S
2504 (memset_z196): Rename to __memset_z196.
2505 Jump to __memset_mvcle instead of memset_mvcle.
2506 (memset_z10): Rename to __memset_z10.
2507 Jump to __memset_mvcle instead of memset_mvcle.
2508 (memset_mvcle) Rename to __memset_mvcle.
2509 (memset): Set alias to __memset_g5.
2510 * sysdeps/s390/s390-64/memcmp.S
2511 (memcmp_z900): Rename to __memcmp_z900.
2512 * sysdeps/s390/s390-64/memcpy.S
2513 (memcpy_z900): Rename to __memcpy_z900.
2514 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2515 (memcpy_mvcle) Rename to __memcpy_mvcle.
2516 * sysdeps/s390/s390-64/memset.S
2517 (memset_z900): Rename to __memset_z900.
2518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2519 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2520 and use prefixed functions.
2521 * sysdeps/s390/s390-64/multiarch/memcmp.S
2522 (memcmp_z196): Rename to __memcmp_z196.
2523 (memcmp_z10): Rename to __memcmp_z10.
2524 (memcmp): Set alias to __memcmp_z900.
2525 (bcmp): Set alias to __memcmp_z900.
2526 * sysdeps/s390/s390-64/multiarch/memcpy.S
2527 (memcpy_z196): Rename to __memcpy_z196.
2528 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2529 (memcpy_z10): Rename to __memcpy_z10.
2530 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2531 (memcpy): Set alias to __memcpy_z900.
2532 * sysdeps/s390/s390-64/multiarch/memset.S
2533 (memset_z196): Rename to __memset_z196.
2534 Jump to __memset_mvcle instead of memset_mvcle.
2535 (memset_z10): Rename to __memset_z10.
2536 Jump to __memset_mvcle instead of memset_mvcle.
2537 (memset_mvcle) Rename to __memset_mvcle.
2538 (memset): Set alias to __memset_z900.
2539
53fbd169
JM
25402015-01-14 Joseph Myers <joseph@codesourcery.com>
2541
2542 [BZ #17748]
2543 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2544 __fesetenv instead of fesetenv.
2545
d639a363
SP
25462015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2547
2548 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2549 macro.
2550
d3b00f46
AZ
25512015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2552
ce6615c9
AZ
2553 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2554 regression on LE.
2555
d3b00f46
AZ
2556 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2557 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2558 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2559 strncmp-power8 object.
2560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2561 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2562 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2563 * NEWS: Update.
2564
72607db0
RS
25652015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2566 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2567
2568 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2569 trailing byte check.
2570
54dc5461
DM
25712015-01-13 David S. Miller <davem@davemloft.net>
2572
2573 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2574
1c6e6f23
RM
25752015-01-13 Roland McGrath <roland@hack.frob.com>
2576
2577 * login/logout.c (logout): Use memset rather than bzero.
2578 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2579 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2580 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2581 (_gethtbyaddr): Likewise.
2582 * locale/programs/simple-hash.c (bcopy): Macro removed.
2583
96d6fd6c
AZ
25842015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2585
8bedcb5f
AZ
2586 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2587 Add strcmp-power8 object.
2588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2589 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2590 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2591 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2592 __strcmp_power8 implementation.
2593 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2594 * NEWS: Update.
2595
f06a4faf
AZ
2596 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2597 Add strncpy-power8 and stpncpy-power8 objects.
2598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2599 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2600 implementations.
2601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2602 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2603 __stpncpy_power8 implementation.
2604 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2605 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2606 __strncpy_power8 implementation.
2607 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2608 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2609 * NEWS: Update.
2610
9f2f36e5
AZ
2611 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2612 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2613 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2614
96d6fd6c 2615 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2616 strncat-power8 object.
2617 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2618 __strcat_power8 implementation.
2619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2620 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2621 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2622 optimized strcat for power8.
2623
2624 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2625 strcpy-power8 and stpcpy-power8 objects.
2626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2627 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2628 implementations.
2629 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2630 multiarch stpcpy implementation for POWER8.
2631 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2632 multiarch strcpy implementation for POWER8.
2633 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2634 __strcpy_power8 function.
2635 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2636 stpcpy for POWER8.
2637 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2638 strcpy for POWER8.
2639 * NEWS: Update.
2640
0f9e5854
LH
26412015-01-13 Leonhard Holz <leonhard.holz@web.de>
2642
2643 [BZ #16009]
2644 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2645 weights and rules. Use do_xfrm_cached if data fits in cache,
2646 do_xfrm otherwise. Moved former main loop to...
2647 * (do_xfrm_cached): New function.
2648 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2649 find_idx, find_position and stack_push.
2650 * (find_idx): New function.
2651 * (find_position): Likewise.
2652 * localedata/sort-test.sh: Added test run for do_xfrm.
2653 * localedata/xfrm-test.c (main): Added command line option
2654 -nocache to run the test with strings that are too large for
2655 the STRXFRM cache.
2656
c60ec0e0
TR
26572015-01-13 Torvald Riegel <triegel@redhat.com>
2658
2659 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2660 variable to lll_futex_wake call, not the value itself.
2661
34e93d6c
JM
26622015-01-12 Joseph Myers <joseph@codesourcery.com>
2663
5a9e4c09
JM
2664 [BZ #17803]
2665 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2666 twom64. Adjust value to 0x1p-64L.
2667 (__scalblnl): Only return standard underflowing result for K <=
2668 -64 not K <= -63; adjust exponent for underflowing result by 64
2669 not 63.
2670 * math/libm-test.inc (scalbn_test_data): Add more tests.
2671 (scalbln_test_data): Likewise.
2672
34e93d6c
JM
2673 [BZ #17834]
2674 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2675 0x1p63L.
2676 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2677 not HX.
2678 * math/libm-test.inc (scalbn_test_data): Add more tests.
2679 (scalbln_test_data): Likewise.
2680
ca677d3c
AZ
26812015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2682 Stefani Seibold <stefani@seibold.net>
2683
2684 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2685 (sysdep_routines): Add dl-vdso here, ...
2686 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2687 (sysdep_routines): ... not here.
2688 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2689 fallback when vDSO is not presented.
2690 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2691 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2692 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2693 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2694 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2695 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2696 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2697 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2698 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2700 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2701 fallback configurable symbol when vDSO is not available.
2702 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2703 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2704 be able to redefine fallback symbol when vDSO is not available.
2705 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2706 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2707
49a9f6ab 27082015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2709
56cf2763
AZ
2710 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2711 (TLS_INIT_TP): Add tm_capable initialization.
2712 (TLS_DEFINE_INIT_TP): Likewise.
2713 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2714 TCB.
2715 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2716 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2717 calculation.
2718 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2719 transactoion is lock elision is built and TCB tm_capable is set.
2720 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2722 (INTERNAL_SYSCALL_NCS): Likewise.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2724 (INTERNAL_SYSCALL_NCS): Likewise.
2725 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2726
4b45943a
AZ
2727 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2728 for powerpc.
2729 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2730 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2731 and remove it for 32 bits case.
2732 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2733 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2734 initialization.
2735 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2736 Disable lock elision with rdlocks if elision is not available.
2737
8d2c0a59
AZ
2738 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2739 (sysdep_routines): Add lock elision objects.
2740 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2741 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2742 [pthread_mutex_t] (__elision): Add field.
2743 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2744 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2745 elision definitions for powerpc.
2746 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2747 implementation of lock elision for powerpc.
2748 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2749 implementation of timed lock elision for powerpc.
2750 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2751 implementation of trylock with lock elision for powerpc.
2752 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2753 implementaion of unlock for lock elision for powerpc.
2754 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2755 automatic enable lock elision for mutexes.
2756 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2757 transaction execution definitions for powerpc.
2758 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2759 definitions.
2760 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2761 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2762 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2764 * NEWS: Update.
2765
bc0ed9f7
RM
27662015-01-09 Roland McGrath <roland@hack.frob.com>
2767
2768 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2769 for #include of <shm-directory.h>.
2770
585d9c18
CLT
27712015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2772
2773 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2774 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2775
aee6626c
MF
27762015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2777
2778 [BZ #17791]
2779 * NEWS: Mention bug fix.
2780 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2781 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2782 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2783
9e560f48
TR
27842015-01-09 Torvald Riegel <triegel@redhat.com>
2785
2786 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2787
e1cfbd0c
TR
27882015-01-09 Torvald Riegel <triegel@redhat.com>
2789
2790 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2791
cf71e44f
DH
27922015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2793
2794 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2795 pointer and cast to uintptr_t.
2796
b360ee62
DH
27972015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2798
2799 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2800 removed.
2801 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2802
caff764e
DH
28032015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2804
2805 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2806 of 0.
2807
59ff172f
RM
28082015-01-08 Roland McGrath <roland@hack.frob.com>
2809
c97d27f1
RM
2810 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2811 <nptl/pthreadP.h> instead.
2812 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2813
08734ccd
RM
2814 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2815 already defined.
2816 [__SIGRTMIN] (init): Function removed.
2817 [__SIGRTMIN] (initialized): Variable removed.
2818 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2819 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2820 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2821 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2822 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2823 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2824 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2825 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2826 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2827 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2828 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2829 * sysdeps/nptl/allocrtsig.c: New file.
2830 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2831 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2832 * sysdeps/generic/testrtsig.h: File removed.
2833
7b052e33
RM
2834 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2835 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2836
cc40d25e
RM
2837 * nptl/nptl-init.c (pthread_functions): Conditionalize
2838 .ptr__nptl_setxid initialization on [SIGSETXID].
2839
9287adf0
RM
2840 * sysdeps/nptl/sys/procfs.h: New file.
2841 * nptl_db/Makefile (headers): Add it.
2842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2843
59ff172f
RM
2844 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2845 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2846 * nptl/pthread_attr_setaffinity.c: Include it.
2847 * nptl/pthread_setattr_default_np.c: Likewise.
2848 * nptl/check-cpuset.h: New file.
2849
b9205857
RH
28502015-01-08 Richard Henderson <rth@redhat.com>
2851
2852 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2853 (CFLAGS-tst-execstack-prog.c): Likewise.
2854 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2855
1a0a8d15
CLT
28562015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2857 Sandra Loosemore <sandra@codesourcery.com>
2858 Andrew Jenner <andrew@codesourcery.com>
2859 Joseph Myers <joseph@codesourcery.com>
2860 Nathan Sidwell <nathan@codesourcery.com>
2861
2862 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2863 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2864 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2865 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2866 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2867 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2868 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2869 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2870 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2871 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2872 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2873 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2874 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2875 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2876 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2877 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2878 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2879
dd6e8af6
AZ
28802015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2881
2882 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2883 timespec struct member in syscall macro.
2884 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2885 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2886 first timeval struct member in syscall macro.
2887 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2888
8116321f
JM
28892015-01-07 Joseph Myers <joseph@codesourcery.com>
2890
2891 [BZ #17748]
2892 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2893 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2894 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2895 __feupdateenv and define as weak alias of __feupdateenv. Use
2896 libm_hidden_weak.
2897 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2898 libm_hidden_def.
2899 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2900 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2901 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2902 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2903 libm_hidden_def.
2904 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2905 __feupdateenv and define as weak alias of __feupdateenv. Use
2906 libm_hidden_weak.
2907 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2908 libm_hidden_def.
2909 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2910 __feupdateenv and define as weak alias of __feupdateenv. Use
2911 libm_hidden_weak.
2912 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2913 libm_hidden_def.
2914 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2915 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2916 (__feupdateenv): Likewise.
2917 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2918 __feupdateenv and define as weak alias of __feupdateenv. Use
2919 libm_hidden_weak.
2920 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2921 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2922 libm_hidden_def.
2923 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2924 function.
2925 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2926 libm_hidden_def.
2927 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2928 __feupdateenv instead of feupdateenv.
2929 (default_libc_feupdateenv_test): Likewise.
2930 (libc_feresetround_ctx): Likewise.
2931
882dfe18
AZ
29322015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2933
2934 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2935 prototype.
2936
39a12f8d
CM
29372015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2938
2939 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2940 COLL_SYM in a couple of places to avoid uninitialized variable
2941 wanings on tilegx gcc 4.8.2.
2942
dc400d7b
RE
29432015-01-07 Richard Earnshaw <rearnsha@arm.com>
2944
2945 * sysdeps/aarch64/strcpy.S: New file.
2946 * sysdeps/aarch64/stpcpy.S: New file.
2947 * NEWS: Updated.
2948
ec582ca0
RE
29492015-01-07 Richard Earnshaw <rearnsha@arm.com>
2950
2951 * sysdeps/aarch64/strrchr.S: New file.
2952 * NEWS: Updated.
2953
d5b1c5ed
EB
29542015-01-07 Eric Biggers <ebiggers3@gmail.com>
2955
2956 [BZ #17658]
2957 * stdlib/setenv.c: Fix memory leak when setting large,
2958 duplicate string.
2959
fb87ee96
VN
29602015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2961
60f046a8 2962 [BZ #17273]
fb87ee96
VN
2963 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2964 and tabs from buffer before parsing fstab entry.
2965 * misc/tst-mntent.c (main): Add test for mount entry with
2966 trailing spaces and tabs.
2967
cd42798a
JM
29682015-01-06 Joseph Myers <joseph@codesourcery.com>
2969
01238691
JM
2970 [BZ #17748]
2971 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2972 * math/fesetround.c (fesetround): Rename to __fesetround and
2973 define as weak alias of __fesetround. Use libm_hidden_weak.
2974 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2975 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2976 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2977 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2978 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2979 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2980 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2981 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2982 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2983 __fesetround_inline.
2984 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2985 __fesetround_inline instead of __fesetround.
2986 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2987 __fesetround and define as weak alias of __fesetround. Use
2988 libm_hidden_weak. Call __fesetround_inline instead of
2989 __fesetround.
2990 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2991 __fesetround and define as weak alias of __fesetround. Use
2992 libm_hidden_weak.
2993 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2994 Likewise.
2995 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2996 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2997 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2998 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2999 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3000 __fesetround and define as weak alias of __fesetround. Use
3001 libm_hidden_weak.
3002 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3003 __fesetround instead of fesetround.
3004 (default_libc_feholdexcept_setround): Likewise.
3005 (libc_feholdsetround_ctx): Likewise.
3006 (libc_feholdsetround_noex_ctx): Likewise.
3007
cd42798a
JM
3008 [BZ #17748]
3009 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3010 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3011 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3012 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3013 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3014 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3015 define as weak alias of __fesetenv. Use libm_hidden_weak.
3016 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3017 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3018 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3019 define as weak alias of __fesetenv. Use libm_hidden_weak.
3020 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3021 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3022 define as weak alias of __fesetenv. Use libm_hidden_weak.
3023 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3024 libm_hidden_def.
3025 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3026 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3027 Likewise.
3028 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3029 define as weak alias of __fesetenv. Use libm_hidden_weak.
3030 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3031 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3032 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3033 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3034 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3035 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3036 __fesetenv instead of fesetenv.
3037 (libc_feresetround_noex_ctx): Likewise.
3038 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3039 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3040 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3041 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3042 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3043 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3044 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3045 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3046 (__feupdateenv): Likewise.
3047 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3048 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3049 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3050 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3051
38949026
AJ
30522015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3053
1cf98e27 3054 [BZ #17806]
38949026
AJ
3055 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3056 addresses have been freed.
3057
5fe55e9c
AJ
30582015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3059
3060 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3061 and nservall.
3062
dc8ab018
OB
30632015-01-06 Ondřej Bílka <neleai@seznam.cz>
3064
3065 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3066 Clean up check_pf allocation pattern. addresses
3067
14bb4e57
AZ
30682015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3069
3070 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3071 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3072 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3073 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3074 * nptl/pthread_join.c (pthread_join): Likewise.
3075 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3076 * sysdeps/posix/waitid.c (__waitid): Likewise.
3077 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3078 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3079 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3080 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3081 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3082 Likewise.
3083 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3084 (__libc_pread64): Likewise.
3085 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3086 (__libc_pwrite): Likewise.
3087 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3088 (__libc_pwrite64): Likewsie.
3089 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3090 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3091 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3092 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3093 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3094 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3095 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3097 Likewise.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3099 (__libc_pread64): Likewise.
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3101 Likewise.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3103 (__libc_pwrite64): Likewise.
3104 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3105 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3106 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3107 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3108 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3109 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3110 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3111 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3112 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3113 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3114 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3115 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3116 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3117 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3118 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3119 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3120 Likewise.
3121
10a5e112
AS
31222015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3123
3124 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3125 (CFLAGS-test-double.c): Likewise.
3126 (CFLAGS-test-ldouble.c): Likewise.
3127 (CPPFLAGS-test-ifloat.c): Likewise.
3128 (CPPFLAGS-test-idouble.c): Likewise.
3129 (CPPFLAGS-test-ildoubl.c): Likewise.
3130 (CFLAGS-test-test-fenv.c): Remove variable.
3131 (CFLAGS-test-misc.c): Likewise.
3132
57ada0e7
L
31332015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3134
3135 [BZ #17797]
3136 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3137 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3138 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3139 CLOCKS_PER_SEC == 1000000.
3140 * time/clocktest.c (main): Replace %ld with %jd and cast to
3141 intmax_t.
3142
46abb64d
RM
31432015-01-05 Roland McGrath <roland@hack.frob.com>
3144
3145 * sysdeps/generic/unwind-resume.h: New file.
3146 * sysdeps/gnu/unwind-resume.c: Include it.
3147 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3148 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3149 argument list.
3150 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3151 global rather than static.
3152 (_Unwind_Resume): Update user.
3153 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3154 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3155 rather than static. Add __attribute__ ((cold)).
3156 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3157 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3158 * sysdeps/arm/arm-unwind-resume.S: New file.
3159 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3160 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3161 * sysdeps/arm/Makefile [$(subdir) = csu]
3162 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3163 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3164 Add rt-arm-unwind-resume.
3165 [$(subdir) = nptl]
3166 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3167 Add pt-arm-unwind-resume.
3168 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3169 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3170
ef9faf13
JM
31712015-01-05 Joseph Myers <joseph@codesourcery.com>
3172
3173 [BZ #17748]
3174 * include/fenv.h (__feholdexcept): Declare. Use
3175 libm_hidden_proto.
3176 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3177 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3178 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3179 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3180 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3181 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3182 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3183 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3184 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3185 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3186 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3187 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3188 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3189 (feholdexcept): Likewise.
3190 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3191 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3192 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3193 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3194 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3195 __feholdexcept instead of feholdexcept.
3196 (default_libc_feholdexcept_setround): Likewise.
3197
295a453e
SE
31982015-01-05 Steve Ellcey <sellcey@imgtec.com>
3199
3200 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3201 to avoid using stl/str to align destination.
3202
882c4b9f
SE
32032015-01-05 Steve Ellcey <sellcey@imgtec.com>
3204
3205 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3206
ac4c11f5
JM
32072015-01-05 Joseph Myers <joseph@codesourcery.com>
3208
3209 [BZ #17796]
3210 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3211 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3212 Define as weak alias not strong alias.
3213
03403e30
SE
32142015-01-05 Steve Ellcey <sellcey@imgtec.com>
3215
3216 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3217 bltzal with addiupc.
3218 (RTLD_START): Ditto.
3219
1dca195e
CM
32202015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3221
00b8b9ba
SP
3222 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3223 for __vdso_* functions in declarations.
3224 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3225 definitions.
3226 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3227 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3228
1dca195e
CM
3229 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3230 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3231 function with cast from llround().
3232 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3233 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3234 Define.
3235
a287953a
JM
32362015-01-05 Joseph Myers <joseph@codesourcery.com>
3237
ab70da77
JM
3238 [BZ #17793]
3239 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3240 Define as weak alias not strong alias.
3241
b8986484
JM
3242 [BZ #17635]
3243 * ctype/ctype-c99.c: New file. isblank implementation moved from
3244 ...
3245 * ctype/ctype-extn.c: ... here.
3246 (__isblank_l): Move to ...
3247 * ctype/ctype-c99_l.c: ... here. New file.
3248 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3249 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3250 Remove variable.
3251 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3252 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3253 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3254 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3255 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3256
a287953a
JM
3257 [BZ #17777]
3258 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3259 (posix_fadvise64): Define as weak alias not strong alias.
3260 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3261 (posix_fallocate64): Likewise.
3262 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3263 Remove variable.
3264 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3265 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3266 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3267 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3268 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3269
b1efe3bb
MF
32702015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3271
3272 [BZ #16191]
3273 * NEWS: Mention bug fix.
3274 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3275 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3276 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3277 (HOST_STACK_END_ADDR): Likewise.
3278
9706dc5f
JM
32792015-01-02 Joseph Myers <joseph@codesourcery.com>
3280
b93c2205
JM
3281 [BZ #17748]
3282 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3283 * math/fegetround.c (fegetround): Rename to __fegetround and
3284 define as weak alias of __fegetround. Use libm_hidden_weak.
3285 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3286 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3287 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3288 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3289 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3290 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3291 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3292 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3293 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3294 Undefine after rather than before function definition; use
3295 parentheses around function name in definition.
3296 (__fegetround): Also undefine macro after function definition.
3297 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3298 __fegetround and define as weak alias of __fegetround. Use
3299 libm_hidden_weak. Do not undefine as macro.
3300 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3301 Likewise.
3302 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3303 __fegetround and define as weak alias of __fegetround. Use
3304 libm_hidden_weak.
3305 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3306 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3307 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3308 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3309 __fegetround and define as weak alias of __fegetround. Use
3310 libm_hidden_weak.
3311 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3312 __fegetround instead of fegetround.
3313
253a59cc
JM
3314 [BZ #17782]
3315 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3316 Condition macro definition on [__USE_MISC].
3317
27dae011
JM
3318 [BZ #17781]
3319 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3320 (struct sigaction): Change type of sa_flags field to int.
3321
172019c0
JM
3322 [BZ #17780]
3323 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3324 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3325 __glibc_reserved0.
3326
522ad1d6
JM
3327 * nptl/version.c (banner): Use single year in copyright notice.
3328
9706dc5f
JM
3329 * NEWS: Update copyright dates.
3330 * catgets/gencat.c (print_version): Likewise.
3331 * csu/version.c (banner): Likewise.
3332 * debug/catchsegv.sh: Likewise.
3333 * debug/pcprofiledump.c (print_version): Likewise.
3334 * debug/xtrace.sh (do_version): Likewise.
3335 * elf/ldconfig.c (print_version): Likewise.
3336 * elf/ldd.bash.in: Likewise.
3337 * elf/pldd.c (print_version): Likewise.
3338 * elf/sotruss.sh: Likewise.
3339 * elf/sprof.c (print_version): Likewise.
3340 * iconv/iconv_prog.c (print_version): Likewise.
3341 * iconv/iconvconfig.c (print_version): Likewise.
3342 * locale/programs/locale.c (print_version): Likewise.
3343 * locale/programs/localedef.c (print_version): Likewise.
3344 * login/programs/pt_chown.c (print_version): Likewise.
3345 * malloc/memusage.sh (do_version): Likewise.
3346 * malloc/memusagestat.c (print_version): Likewise.
3347 * malloc/mtrace.pl: Likewise.
3348 * manual/libc.texinfo: Likewise.
3349 * nptl/version.c (banner): Likewise.
3350 * nscd/nscd.c (print_version): Likewise.
3351 * nss/getent.c (print_version): Likewise.
3352 * nss/makedb.c (print_version): Likewise.
3353 * posix/getconf.c (main): Likewise.
3354 * scripts/test-installation.pl: Likewise.
3355 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3356
b8607aac
WN
33572015-01-02 Will Newton <will.newton@linaro.org>
3358
3359 * sysdeps/arm/armv7/configure: Removed.
3360 * sysdeps/arm/armv7/configure.ac: Likewise.
3361
b168057a
JM
33622015-01-02 Joseph Myers <joseph@codesourcery.com>
3363
3364 * All files with FSF copyright notices: Update copyright dates
3365 using scripts/update-copyrights.
3366 * intl/plural.c: Regenerated.
3367 * locale/programs/charmap-kw.h: Likewise.
3368 * locale/programs/locfile-kw.h: Likewise.
3369
b217c15f
SP
33702015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3371
3372 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3373
73a268c7
JM
33742014-12-31 Joseph Myers <joseph@codesourcery.com>
3375
3376 [BZ #17748]
3377 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3378 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3379 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3380 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3381 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3382 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3383 define as weak alias of __fegetenv. Use libm_hidden_weak.
3384 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3385 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3386 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3387 define as weak alias of __fegetenv. Use libm_hidden_weak.
3388 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3389 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3390 define as weak alias of __fegetenv. Use libm_hidden_weak.
3391 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3392 libm_hidden_def.
3393 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3394 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3395 Likewise.
3396 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3397 define as weak alias of __fegetenv. Use libm_hidden_weak.
3398 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3399 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3400 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3401 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3402 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3403 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3404 __fegetenv instead of fegetenv.
3405 (libc_feholdsetround_noex_ctx): Likewise.
3406
0bd95672
MF
34072014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3408
3409 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3410 (Elf_MIPS_ABIFlags_v0): New structure.
3411 (EF_MIPS_FP64): Define.
3412 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3413 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3414 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3415 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3416 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3417 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3418 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3419 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3420 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3421 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3422 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3423 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3424 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3425 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3426 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3427 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3428 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3429 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3430 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3431 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3432 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3433 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3434 field.
3435 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3436 EF_MIPS_FP64.
3437 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3438 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3439 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3440 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3441 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3442 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3443 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3444 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3445 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3446 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3447 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3448 record the current FP ABI extension.
3449 (mips-mode-switch): Define to show if kernel headers support mode
3450 switching.
3451 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3452 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3453 supported SYSV ABI version to 3.
3454 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3455 feature.
3456
f59ad976
RS
34572014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3458 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3459
3460 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3461 path.
3462 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3463
4a3d3999
JM
34642014-12-31 Joseph Myers <joseph@codesourcery.com>
3465
3466 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3467 __fegetround and redefine to call __fegetround. Remove condition
3468 on [!__NO_MATH_INLINES].
3469 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3470 function.
3471 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3472 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3473 Remove macro.
3474 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3475 instead of <fenv_libc.h>.
3476 (__llrintl): Call fegetround instead of __fegetround.
3477 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3478 instead of <fenv_libc.h>.
3479 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3480 (__lrintl): Call fegetround instead of __fegetround.
3481 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3482 instead of <fenv_libc.h>.
3483 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3484 (__rintl): Call fegetround instead of __fegetround.
3485
195f3afc
SP
34862014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3487
3488 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3489 arrays.
3490
7062bd42
L
34912014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3492
3493 [BZ #17775]
3494 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3495 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3496 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3497
07256e18
AS
34982014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3499
3500 * sysdeps/i386/tls-macros.h: Include <features.h>.
3501 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3502 (TLS_IE): Likewise.
3503 (TLS_LD): Likewise.
3504 (TLS_GD): Likewise.
3505 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3506 define for GCC >= 5.0.
3507
1ff950ad
CM
35082014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3509
3510 * math/test-fenv.c (test_single_exception, set_single_exc,
3511 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3512 feexcp_mask_test, feenable_test, fe_single_test): Add
3513 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3514 case where they are not used.
3515 * math/libm-test.inc: Likewise.
3516 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3517 unused in the absence of FP rounding/exception support.
3518 * stdio-common/tst-printf-round.c: Likewise.
3519 * stdlib/tst-strtod-round.c: Likewise.
3520 * stdlib/tst-strtod-underflow.c: Likewise.
3521
0747f818
JM
35222014-12-30 Joseph Myers <joseph@codesourcery.com>
3523
3524 [BZ #17723]
3525 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3526 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3527 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3528 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3529 libm_hidden_weak.
3530 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3531 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3532 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3533 libm_hidden_def.
3534 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3535 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3536 libm_hidden_weak.
3537 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3538 Likewise.
3539 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3540 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3541 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3542 libm_hidden_weak.
3543 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3544 libm_hidden_def.
3545 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3546 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3547 (__feraiseexcept): Likewise.
3548 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3549 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3550 libm_hidden_weak.
3551 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3552 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3553 libm_hidden_def.
3554 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3555 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3556 Use libm_hidden_def.
3557 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3558 libm_hidden_def.
3559 (feraiseexcept): Define as weak not strong alias. Use
3560 libm_hidden_weak.
3561 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3562 New inline function. Factored out of ...
3563 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3564 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3565 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3566 feraiseexcept.
3567 * math/w_acos.c (__acos): Likewise.
3568 * math/w_asin.c (__asin): Likewise.
3569 * math/w_ilogb.c (__ilogb): Likewise.
3570 * math/w_j0.c (y0): Likewise.
3571 * math/w_j1.c (y1): Likewise.
3572 * math/w_jn.c (yn): Likewise.
3573 * math/w_log.c (__log): Likewise.
3574 * math/w_log10.c (__log10): Likewise.
3575 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3576 * sysdeps/aarch64/fpu/math_private.h
3577 (libc_feupdateenv_test_aarch64): Likewise.
3578 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3579 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3580 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3581 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3582 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3583 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3584 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3585 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3586 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3587 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3588
8d2b2763
L
35892014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3590
3591 [BZ #17732]
3592 * io/test-utime.c (main): Replace %ld with %jd and cast to
3593 intmax_t.
41fad830 3594 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3595 * nptl/tst-mutex5.c: Include <stdint.h>.
3596 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3597 * posix/tst-regex.c (run_test): Likewise.
3598 (run_test_backwards): Likewise.
5d619de4
L
3599 * rt/tst-clock.c: Include <stdint.h>.
3600 (clock_test): Replace %ld with %jd and cast to intmax_t.
3601 * rt/tst-cpuclock1.c: Include <stdint.h>.
3602 (do_test): Replace %lu with %ju and cast to uintmax_t.
3603 * rt/tst-cpuclock2.c: Include <stdint.h>.
3604 (do_test): Replace %lu with %ju and cast to uintmax_t.
3605 * rt/tst-mqueue1.c: Include <stdint.h>.
3606 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3607 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3608 intmax_t.
3609 * rt/tst-mqueue4.c (do_test): Likewise.
3610 * rt/tst-timer4.c: Include <stdint.h>.
3611 (check_ts): Replace %ld with %jd and cast to intmax_t.
3612 (do_test): Likewise.
ad86fbc3
L
3613 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3614 and cast to intmax_t.
37f46900 3615 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3616 * time/clocktest.c (main): Likewise.
3617 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3618 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3619
8b4416d8
AS
36202014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3621 H.J. Lu <hongjiu.lu@intel.com>
3622
3623 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3624 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3628 version if bit_Fast_Unaligned_Load is set.
3629 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3636 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3637 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3638 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3639 to 4.
3640 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3641 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3642 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3643 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3644
e47b8d3b
CM
36452014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3646
6d6d7fde
CM
3647 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3648 instead of #if to avoid a Wundef warning.
3649 * stdlib/tst-limits.c (do_test): Likewise.
3650
cd2c37c9
CM
3651 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3652 parallel other exception macros.
3653 (fegetenv): Convert from macro to extern inline so that it applies
3654 retroactively to inline functions already seen by the compiler.
3655 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3656
e47b8d3b
CM
3657 * posix/Makefile (before-compile): Use $(objpfx) for
3658 posix-conf-vars-def.h.
3659
4a6aca7b
SP
36602014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3661
7910c2ae
SP
3662 * posix/getconf.c (main): Use size_t for type of I.
3663 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3664 NSPEC.
3665
50cbbaa9
SP
3666 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3667 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3668 * posix/posix-envs.def: Likewise.
3669 * sysdeps/posix/sysconf.c: Likewise.
3670 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3671 (specs): Remove array.
3672 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3673 array.
3674
3b566046
SP
3675 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3676 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3677 (__sysconf): Use CONF_IS_* macros.
3678
4a6aca7b
SP
3679 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3680 ($(objpfx)posix-conf-vars-def.h): New target.
3681 * posix/posix-conf-vars.list: New file.
3682 * posix/posix-conf-vars.h: New file.
3683 * posix/confstr.c: Include posix-conf-vars.h.
3684 (confstr): Use CONF_IS_* macros.
3685 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3686 CONF_IS_* macros.
3687 * scripts/gen-posix-conf-vars.awk: New file.
3688
7c1395a7
CM
36892014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3690
0025b4cc
CM
3691 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3692 fegetround): Add no-op macros to avoid linknamespace issues.
3693
d8aaf74b
CM
3694 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3695 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3696
5d24aa60
CM
3697 * sysdeps/unix/sysv/linux/tile/sysdep.h
3698 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3699 assembly-specific section to avoid a redefinition warning.
3700
7c1395a7
CM
3701 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3702 long before casting to pointer to avoid a cast warning.
3703
3c87c616
CM
37042014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3705
3706 * sysdeps/tile/tilegx/Implies: New file.
3707
f559d8cf
RE
37082014-12-23 Richard Earnshaw <rearnsha@arm.com>
3709
3710 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3711
7d81e8d6
FW
37122014-12-23 Florian Weimer <fweimer@redhat.com>
3713
3714 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3715
90aa3d09
JM
37162014-12-22 Joseph Myers <joseph@codesourcery.com>
3717
3718 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3719 not define.
3720 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3721 <kernel-features.h>.
3722 (__utimes) [__NR_utimes]: Make code unconditional.
3723 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3724 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3725 (__ASSUME_UTIMES): Do not undefine.
3726 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3727 (__ASSUME_UTIMES): Likewise.
3728 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3729 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3730 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3731 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3732
4c0c0e2a
SE
37332014-12-22 Steve Ellcey <sellcey@imgtec.com>
3734
3735 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3736
0dacd7a3
CM
37372014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3738
b638f96a
CM
3739 [BZ #17747]
3740 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3741 alias to weak alias for j0l, y0l.
3742 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3743 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3744
0dacd7a3
CM
3745 [BZ #17746]
3746 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3747 conversion.
3748
528479c4
SE
37492014-12-22 Steve Ellcey <sellcey@imgtec.com>
3750
3751 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3752 to zero if not already defined.
3753
f56f9124
JM
37542014-12-22 Joseph Myers <joseph@codesourcery.com>
3755
3756 [BZ #17724]
3757 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3758 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3759 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3760 (char *) casts added.
3761 * sysdeps/ieee754/k_standardf.c: New file.
3762 * sysdeps/ieee754/k_standardl.c: Likewise.
3763 * math/Makefile (libm-support): Remove k_standard.
3764 (libm-calls): Add k_standard.
3765
8622d556
WD
37662014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3767
3768 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3769 Optimize to avoid an unnecessary FPCR read.
3770
f3806bdb
WD
37712014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3772
3773 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3774 Optimize to reduce FPCR/FPSR accesses.
3775
9b47df58
WD
37762014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3777
3778 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3779 Call libc_fetestexcept_aarch64.
3780
97be3cac
WD
37812014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3782
3783 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3784 Call libc_fesetround_aarch64.
3785
935ab817
JM
37862014-12-22 Joseph Myers <joseph@codesourcery.com>
3787
3788 [BZ #17733]
3789 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3790 (__bind): Do not define as weak alias.
3791 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3792 define.
3793 (__getsockname): Do not define as weak alias.
3794
cc8623f1
WN
37952014-12-22 Will Newton <will.newton@linaro.org>
3796
3797 * manual/install.texi: Document that we require bison 2.7
3798 or above.
3799 * INSTALL: Regenerate.
3800 * configure.ac: Use AC_CHECK_PROG_VER instead of
3801 AC_PATH_PROG when checking for bison and check for
3802 version 2.7 or above.
3803 * configure: Regenerate.
3804
a19ca65a
CM
38052014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3806
92901170 3807 [BZ #17745]
e969965a
CM
3808 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3809 * sysdeps/tile/ffsll.c (ffsll): To here.
3810
a19ca65a
CM
3811 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3812
050f7298
L
38132014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3814
3815 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3816 if not defined.
3817 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3818 definition.
3819 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3820 hidden ___tls_get_addr.
3821 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3822 hidden __tls_get_addr.
3823 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3824 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3825 Likewise.
3826
6df5547e
AS
38272014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3828
3829 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3830 _dl_init call.
3831
7432d613
L
38322014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3833
3834 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3835 from "call _dl_init@PLT".
3836 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3837
98fe149e
AK
38382014-12-21 Anders Kaseorg <andersk@mit.edu>
3839
3840 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3841 guarantees.
3842
d12455f5
CM
38432014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3844
3845 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3846
95dee05f
CM
38472014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3848
92901170 3849 [BZ #17744]
95dee05f
CM
3850 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3851 strnlen.
3852
2ef4b74a
SE
38532014-12-19 Steve Ellcey <sellcey@imgtec.com>
3854
3855 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3856 of multu on MIPSr6.
3857 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3858 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3859 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3860 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3861 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3862
38632014-12-19 Steve Ellcey <sellcey@imgtec.com>
3864
3865 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3866 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3867 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3868 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3869 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3870 mips32r6/mips64r6.
3871 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3872
3eb38795
OB
38732014-12-19 Ondřej Bílka <neleai@seznam.cz>
3874
3875 * string/strncat.c (STRNCAT): Simplify implementation.
3876
6d4188dd
DM
38772014-12-19 David S. Miller <davem@davemloft.net>
3878
0d4ba8be
DM
3879 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3880 access the quad as both a long double and as a series of 4 words.
3881
6d4188dd
DM
3882 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3883 link_map->l_info array access.
3884
4ef91cdc
CM
38852014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3886
804c54f7
CM
3887 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3888
4ef91cdc
CM
3889 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3890 * math/atest-exp2.c (TIMEOUT): Likewise.
3891 * math/atest-sincos.c (TIMEOUT): Likewise.
3892
afd176d6
L
38932014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3894
3895 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3896 -Wno-error with -fno-builtin-lround.
3897
a4a43a90
TR
38982014-12-19 Torvald Riegel <triegel@redhat.com>
3899
3900 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3901 Contains futex constants and functions moved over from ...
3902 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3903 <lowlevellock-futex.h>.
3904 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3905 (lll_timedwait_tid): Add comments and parentheses around macro
3906 arguments.
3907
76f71081
TR
39082014-12-19 Torvald Riegel <triegel@redhat.com>
3909
3910 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3911 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3912 (__lll_private_flag): Remove.
3913 (lll_futex_wait): Likewise.
3914 (lll_futex_timed_wait): Likewise.
3915 (lll_futex_wake): Likewise.
3916 (lll_futex_requeue): Likewise.
3917 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3918 (__lll_timedwait_tid): Spell out argument names.
3919 (lll_timedwait_tid): Add comments and parentheses around macro
3920 arguments.
3921 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3922 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3923
6b814909
TR
39242014-12-19 Torvald Riegel <triegel@redhat.com>
3925
3926 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3927 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3928 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3929 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3930 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3931 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3932 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3933 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3934 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3935 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3936 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3937 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3938 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3939 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3940 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3941 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3942 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3943 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3944 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3945
9cd4d4ab
L
39462014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3947
3948 * sysdeps/x86_64/x32/Makefile: New file.
3949
c9c1a2d0
L
39502014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3951
3952 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3953 1L with (mp_limb_t) 1.
3954
af102d95
RM
39552014-12-17 Roland McGrath <roland@hack.frob.com>
3956
dd690454
RM
3957 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3958 * nptl/libc_pthread_init.c: ... here.
3959 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3960 * nptl/register-atfork.c: ... here.
3961
74eb826c
RM
3962 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3963 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3964 Use assert_perror to check its return value.
3965 (__gai_create_helper_thread): Likewise.
3966
c9ce306b
RM
3967 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3968
af102d95
RM
3969 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3970
8ac5a76a
JM
39712014-12-17 Joseph Myers <joseph@codesourcery.com>
3972
ea41469b
JM
3973 [BZ #17725]
3974 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3975 __profil_counter.
3976 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3977 Likewise.
3978 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3979 Likewise.
3980 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3981 Likewise.
3982 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3983 (profil_counter): Likewise.
3984 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3985 (profil_counter): Likewise.
3986 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3987 Likewise.
3988 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3989 Likewise.
3990 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3991 (profil_counter): Likewise.
3992 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3993 Likewise.
3994 [!__profil_counter] (profil_counter): Define as weak alias of
3995 __profil_counter.
3996 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3997 (profil_counter): Rename to __profil_counter.
3998 [!__profil_counter] (profil_counter): Define as weak alias of
3999 __profil_counter.
4000 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4001 (profil_counter): Rename to __profil_counter.
4002 [!__profil_counter] (profil_counter): Define as weak alias of
4003 __profil_counter.
4004 * sysdeps/posix/profil.c: Update comment referring to
4005 profil_counter.
4006 (__profil): Use __profil_counter instead of profil_counter.
4007 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4008 __profil_counter. Use __profil_counter_ushort and
4009 __profil_counter_uint in definitions.
4010 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4011 instead of profil_counter_uint and profil_counter_ushort.
4012
8ac5a76a
JM
4013 [BZ #17722]
4014 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4015 define as weak alias of __inet_makeaddr.
4016 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4017 as weak alias of __inet_addr.
4018 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4019 as weak alias of __inet_pton. Use libc_hidden_weak.
4020 * include/arpa/inet.h (__inet_pton): Declare. Use
4021 libc_hidden_proto.
4022 (inet_makeaddr): Don't use libc_hidden_proto.
4023 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4024 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4025 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4026 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4027 Remove variable.
4028 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4029 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4030
66ce3cb1
SE
40312014-12-17 Steve Ellcey <sellcey@imgtec.com>
4032
4033 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4034
d22ce01b
SL
40352014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4036
4037 * stdio-common/bug-vfprintf-nargs.c (do_test):
4038 Cast value to intptr_t to avoid format warning
4039 for usage with PRIdPTR printing macro.
4040
eca2772b
SL
40412014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4042
4043 * libio/tst-widetext.c (do_test):
4044 Use format type %td instead of %Zd for ptrdiff_t
4045 in order to avoid format warning.
4046
bdf079da
AS
40472014-12-17 Andreas Schwab <schwab@suse.de>
4048
4049 * nscd/mem.c (gc): Add size_t cast to match printf format.
4050
3eb5d2fc
RM
40512014-12-16 Roland McGrath <roland@hack.frob.com>
4052
4053 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4054 (init): Apply PTR_MANGLE to pointers before storing them.
4055 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4056 before using them.
4057
d003ada2
JM
40582014-12-16 Joseph Myers <joseph@codesourcery.com>
4059
380292ba
JM
4060 [BZ #17719]
4061 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4062 define as weak alias of __memrchr.
4063 (__memrchr): Do not define as strong alias of memrchr.
4064 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4065 Remove variable.
4066 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4067 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4068 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4069
9a44d530
JM
4070 [BZ #17717]
4071 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4072 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4073 (if_indextoname): Rename to __if_indextoname and define as weak
4074 alias of __if_indextoname. Use libc_hidden_weak.
4075 (if_freenameindex): Rename to __if_freenameindex and define as
4076 weak alias of __if_freenameindex.
4077 (if_nameindex): Rename to __if_nameindex and define as weak alias
4078 of __if_nameindex.
4079 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4080 __if_nametoindex and define as weak alias of __if_nametoindex.
4081 Use libc_hidden_weak.
4082 (if_freenameindex): Rename to __if_freenameindex and define as
4083 weak alias of __if_freenameindex.
4084 (if_nameindex): Rename to __if_nameindex and define as weak alias
4085 of __if_nameindex.
4086 (if_indextoname): Rename to __if_indextoname and define as weak
4087 alias of __if_indextoname. Use libc_hidden_weak.
4088 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4089 __if_nametoindex and define as weak alias of __if_nametoindex.
4090 Use libc_hidden_weak.
4091 (if_freenameindex): Rename to __if_freenameindex and define as
4092 weak alias of __if_freenameindex. Use libc_hidden_weak.
4093 (if_nameindex_netlink): Use __if_freenameindex instead of
4094 if_freenameindex.
4095 (if_nameindex): Rename to __if_nameindex and define as weak alias
4096 of __if_nameindex. Use libc_hidden_weak.
4097 (if_indextoname): Rename to __if_indextoname and define as weak
4098 alias of __if_indextoname. Use libc_hidden_weak.
4099 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4100 libc_hidden_proto.
4101 [!_ISOMAC] (__if_freenameindex): Likewise.
4102 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4103 if_nametoindex.
4104 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4105 variable.
4106 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4107 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4108 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4109 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4110 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4111 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4112 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4113
d003ada2
JM
4114 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4115 Remove variable.
4116 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4117 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4118
a0d424ef
SP
41192014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4120
0cd85520
SP
4121 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4122 subscript above bounds'
4123
a0d424ef
SP
4124 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4125 bounds.
4126
0e426475
AS
41272014-12-16 Arjun Shankar <arjun.is@lostca.se>
4128
8b460906
AS
4129 * libio/tst-fopenloc.c: Use test-skeleton.c.
4130
fa13e15b
AS
4131 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4132 (entry): Rename to ITEM.
4133 (do_test, comp): Adjust.
4134
0e426475
AS
4135 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4136
4f646bce
TR
41372014-12-16 Torvald Riegel <triegel@redhat.com>
4138
4139 * string/tester.c: Include <libc-internal.h>.
4140 (test_memset): Ignore -Wmemset-transposed-args.
4141
a07c4427
TR
41422014-12-16 Torvald Riegel <triegel@redhat.com>
4143
4144 * misc/tst-mntent2.c (do_test): Fix warning.
4145
1469f466
TR
41462014-12-16 Torvald Riegel <triegel@redhat.com>
4147
4148 * elf/tst-unique4lib.cc(a): Mark as used.
4149
11e3417a
FW
41502014-12-16 Florian Weimer <fweimer@redhat.com>
4151
4152 [BZ #17630]
4153 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4154 names.
4155
ae61fc7b
AM
41562014-12-16 Allan McRae <allan@archlinux.org>
4157
4158 * stdio-common/Makefile (tests): Re-add bug26.
4159
363a9899
OB
41602014-12-15 Ondřej Bílka <neleai@seznam.cz>
4161
4162 [BZ #17657]
4163 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4164 static array.
4165
d52c62df
TR
41662014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4167
4168 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4169 (__lll_lock_wait): Likewise.
4170 (__lll_timedlock_wait): Likewise.
4171 (__lll_timedwait_tid): Likewise.
4172 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4173 (__lll_robust_timedlock_wait): Likewise.
4174 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4175 (lll_cond_trylock): Likewise.
4176 (__lll_lock): Likewise.
4177 (__lll_robust_lock): Likewise.
4178 (__lll_cond_lock): Likewise.
4179 (lll_robust_cond_lock): Likewise.
4180 (__lll_timedlock): Likewise.
4181 (__lll_robust_timedlock): Likewise.
4182 (__lll_unlock): Likewise.
4183 (__lll_robust_unlock): Likewise.
4184 (lll_wait_tid): Likewise.
4185 (lll_timedwait_tid): Likewise.
4186
045a6bcd
TR
41872014-12-15 Torvald Riegel <triegel@redhat.com>
4188
4189 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4190
7f786dc1
TR
41912014-12-15 Torvald Riegel <triegel@redhat.com>
4192
4193 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4194
e7e21cba
AZ
41952014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4196
4197 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4198 * stdio-common/tst-sprintf.c: Likewise.
4199
bc89c0fc
TR
42002014-12-15 Torvald Riegel <triegel@redhat.com>
4201
4202 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4203
a5357b7c
JL
42042014-12-15 Jeff Law <law@redhat.com>
4205
4206 [BZ #16617]
4207 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4208 on the heap. (CVE-2012-3406)
4209 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4210 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4211 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4212
3a12c70f
WN
42132014-12-15 Will Newton <will.newton@linaro.org>
4214
4215 * manual/install.texi: Bump required version of texinfo
4216 to 4.7 from 4.5.
4217 * INSTALL: Regenerated.
4218 * configure.ac: Check for makeinfo version 4.7 and above.
4219 * configure: Regenerated.
4220
e4f639e4
RM
42212014-12-12 Roland McGrath <roland@hack.frob.com>
4222
4223 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4224 PREFIX, string constant to insert between directory and name.
4225 * sysdeps/posix/shm_open.c: Update caller.
4226 * sysdeps/posix/shm_unlink.c: Likewise.
4227 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4228 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4229 (SEM_SHM_PREFIX): New macro.
4230 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4231 [$(have-thread-library) = no].
4232 * nptl/Makefile (libpthread-routines): Add shm-directory.
4233 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4234 * sysdeps/nptl/shm-directory.h: New file.
4235 * sysdeps/posix/shm-directory.c
4236 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4237 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4238 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4239 INTERNAL_SYSCALL.
4240 (__where_is_shmfs): Function removed.
4241 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4242 Variables removed.
4243 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4244 Use SHM_GET_NAME.
4245 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4246
4247 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4248 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4249 unconditional for use inside libpthread.
4250 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4251
439c43f6
RM
42522014-12-12 Roland McGrath <roland@hack.frob.com>
4253
c76d1ff5
RM
4254 * nptl/pthread_getaffinity.c: New file.
4255 * nptl/pthread_setaffinity.c: New file.
4256 * nptl/pthread_getname.c: New file.
4257 * nptl/pthread_setname.c: New file.
4258
439c43f6
RM
4259 * nptl/pthread_create.c (START_THREAD_DEFN)
4260 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4261
48e435cd
SL
42622014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4263 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4264
4265 * resolv/res_send.c (send_vc): Disable warning resplen may
4266 be used uninitialized.
4267
9d9c0019
SL
42682014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4269
4270 * nptl/tst-mutex6.c
4271 (ATTR_NULL): New define checks ATTR against NULL.
4272 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4273 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4274
9173840b
JL
42752014-12-11 James Lemke <jwlemke@codesourcery.com>
4276
4277 [BZ #17581]
4278 * malloc/hooks.c
4279 (mem2mem_check): Revert my previous change.
4280 (malloc_check_get_size): Revert my previous change.
4281 (mem2chunk_check): Revert my previous change.
4282
78e21c5d
RM
42832014-12-11 Roland McGrath <roland@hack.frob.com>
4284
4285 * sysdeps/posix/shm-directory.c: New file.
4286 * sysdeps/posix/shm-directory.h: New file.
4287 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4288 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4289 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4290 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4291 Transmute EPERM to EACCES.
4292 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4293 from ...
4294 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4295 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4296
f82c43af
KK
42972014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4298
4299 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4300 pointer and cast to uintptr_t.
4301 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4302 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4303 Add cast to avoid warning.
4304 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4305
fc00cf7b
JM
43062014-12-11 Joseph Myers <joseph@codesourcery.com>
4307
4308 * nptl/semaphore.h: Move to ...
4309 * sysdeps/pthread/semaphore.h: ... here.
4310 * Makefile (installed-headers): Change nptl/semaphore.h to
4311 sysdeps/pthread/semaphore.h.
4312
1c4053db
RM
43132014-12-11 Roland McGrath <roland@hack.frob.com>
4314
73b0c1a1
RM
4315 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4316 generated error format strings.
4317
1c4053db
RM
4318 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4319 -Wformat-extra-args warnings for scanf formats.
4320 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4321 test of zero-length format (duh).
4322 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4323 corner-case scanf format test.
4324 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4325 generated fprintf format string.
4326 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4327 corner-case sprintf format tests.
4328 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4329 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4330 -Wformat-extra-args warnings throughout.
4331 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4332 (CFLAGS-scanf4.c): Likewise.
4333 (CFLAGS-scanf7.c): Likewise.
4334 (CFLAGS-tst-sprintf.c): Likewise.
4335 (CFLAGS-tst-printf.c): Likewise.
4336 (CFLAGS-tst-printfsz.c): Likewise.
4337
47d51f4f
JM
43382014-12-11 Joseph Myers <joseph@codesourcery.com>
4339
a1edbf3c
JM
4340 * include/cpio.h: New file.
4341 * include/fmtmsg.h: Likewise.
4342
47d51f4f
JM
4343 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4344 corresponding format argument to size_t.
4345 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4346 arguments.
4347 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4348 corresponding format argument to size_t.
4349 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4350 arguments.
4351 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4352 corresponding format argument to size_t.
4353 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4354 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4355 (CFLAGS-tst-mbswcs2.c): Likewise.
4356 (CFLAGS-tst-mbswcs3.c): Likewise.
4357 (CFLAGS-tst-mbswcs4.c): Likewise.
4358 (CFLAGS-tst-mbswcs5.c): Likewise.
4359 (CFLAGS-tst-trans.c): Likewise
4360
e9813cfb
RM
43612014-12-11 Roland McGrath <roland@hack.frob.com>
4362
4363 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4364 rather than assuming they won't contain any '%'s.
4365
f627ca82
CM
43662014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4367
4368 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4369 inhibit_loop_to_libcall to avoid recursive calls.
4370 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4371 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4372
7f296942
AZ
43732014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4374
4375 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4376 prototype.
4377
d0276e18
SE
43782014-12-11 Steve Ellcey <sellcey@imgtec.com>
4379
4380 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4381 integer value instead of boolean.
4382
fc56e970
SE
43832014-12-11 Steve Ellcey <sellcey@imgtec.com>
4384
4385 * malloc/malloc.c: Fix powerof2 check.
4386
40e53917
SL
43872014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4388
4389 * locale/programs/locfile.h (maybe_swap_uint32):
4390 Remove inline and add unused attribute.
4391
1ea166df
SL
43922014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4393
9d9c0019 4394 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4395 Truncating assembler expression to a .long expression.
4396
acf869f4
AS
43972014-12-11 Andreas Schwab <schwab@suse.de>
4398
4399 * elf/rtld.c (struct map_args): Constify str member.
4400 (do_preload): Constify fname argument.
4401
9d969099
AZ
44022014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4403
4404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4405 constants definition.
4406
da5bcaa4
AS
44072014-12-11 Andreas Schwab <schwab@suse.de>
4408
b0a3c164
AS
4409 [BZ #16657]
4410 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4411 FORCE_ELISION instead of DO_ELISION.
4412 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4413 Remove.
4414 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4415 Likewise.
4416
da5bcaa4
AS
4417 * iconvdata/gconv-modules: Remove duplicate entry.
4418
6d248857
WN
44192014-12-11 Will Newton <will.newton@linaro.org>
4420
4421 Merge gettext 0.19.3 into intl/.
4422
4423 This involves a number of cosmetic changes to comments
4424 and ANSI function definitions and prototypes throughout
4425 all the files. The gettext copyright header is used but
4426 with the date ranges taken from the glibc copy.
4427
4428 * NEWS: Add gettext merge to 2.21.
4429 * intl/bindtextdom.c: Switch to gettext copyright.
4430 Use ANSI definitions and prototypes.
4431 Use gl_* locking primitives rather than __libc_* ones.
4432 Use __builtin_expect rather than __glibc_likely/unlikely.
4433 * intl/dcgettext.c: Switch to gettext copyright.
4434 Use ANSI definitions and prototypes.
4435 * intl/dcigettext.c: Switch to gettext copyright.
4436 Use ANSI definitions and prototypes.
4437 (INTDIV0_RAISES_SIGFPE): New define.
4438 Use gl_* locking primitives rather than __libc_* ones.
4439 Include eval-plural.h instead of plural-eval.c.
4440 Use __builtin_expect rather than __glibc_likely/unlikely.
4441 * intl/dcngettext.c: Switch to gettext copyright.
4442 Use ANSI definitions and prototypes.
4443 * intl/dgettext.c: Likewise.
4444 * intl/dngettext.c: Likewise.
4445 * intl/plural-eval.c: Renamed to...
4446 * intl/eval-plural.h: ...this.
4447 * intl/explodename.c: Switch to gettext copyright.
4448 Use ANSI definitions and prototypes.
4449 (_nl_explode_name): Use strchr instead of __rawmemchr.
4450 * intl/finddomain.c: Switch to gettext copyright.
4451 Use ANSI definitions and prototypes.
4452 Use gl_* locking primitives rather than __libc_* ones.
4453 (_nl_find_domain): Use malloc rather than alloca for
4454 allocation of temporary locale name.
4455 * intl/gettext.c: Switch to gettext copyright.
4456 Use ANSI definitions and prototypes.
4457 * intl/gettextP.h: Switch to gettext copyright.
4458 Use ANSI definitions and prototypes.
4459 Use gl_* locking primitives rather than __libc_* ones.
4460 * intl/gmo.h: Switch to gettext copyright.
4461 (struct sysdep_string): Move struct segment_pair outside of
4462 struct definition.
4463 * intl/hash-string.c: Use ANSI definitions and prototypes.
4464 * intl/hash-string.h: Switch to gettext copyright.
4465 Use ANSI definitions and prototypes.
4466 * intl/l10nflist.c: Switch to gettext copyright.
4467 Use ANSI definitions and prototypes.
4468 (_nl_normalize_codeset): Avoid integer overflow.
4469 * intl/loadinfo.h: Switch to gettext copyright.
4470 Use ANSI definitions and prototypes.
4471 (LIBINTL_DLL_EXPORTED): New define.
4472 (PATH_SEPARATOR): New define.
4473 * intl/loadmsgcat.c: Switch to gettext copyright.
4474 * intl/localealias.c: Switch to gettext copyright.
4475 Use ANSI definitions and prototypes.
4476 (_nl_expand_alias): Use PATH_SEPARATOR.
4477 * intl/ngettext.c: Switch to gettext copyright.
4478 Use ANSI definitions and prototypes.
4479 * intl/plural-exp.c: Likewise.
4480 * intl/plural-exp.h: Switch to gettext copyright.
4481 Use ANSI definitions and prototypes.
4482 (struct expression): Move definition of enum operator outside
4483 of struct definition.
4484 * intl/plural.c: Regenerate.
4485 * intl/plural.y: Switch to gettext copyright.
4486 Use ANSI definitions and prototypes.
4487 Port to bison 3.0.
4488 * intl/textdomain.c: Switch to gettext copyright.
4489 Use ANSI definitions and prototypes.
4490 Use gl_* locking primitives rather than __libc_* ones.
4491
48c43298
SE
44922014-12-10 Steve Ellcey <sellcey@imgtec.com>
4493
4494 * debug/warning-nop.c: Add used atrribute.
4495
2b89bce9
JM
44962014-12-10 Joseph Myers <joseph@codesourcery.com>
4497
c153ac9f
JM
4498 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4499
2b89bce9
JM
4500 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4501 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4502 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4503
2cfbdb9a
JM
45042014-12-10 Joseph Myers <joseph@codesourcery.com>
4505 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4506
4507 [BZ #17634]
4508 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4509 Undefine after defining function. Define as weak alias of
4510 __wcschr. Use libc_hidden_weak.
4511 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4512 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4513 (libc_hidden_def): Also define __GI___wcschr alias.
4514 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4515 __wcschr and define as weak alias of __wcschr.
4516 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4517 __wcschr.
4518 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4519 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4520 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4521 libc_hidden_weak. Do not use libc_hidden_def.
4522 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4523 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4524 __GI___wcschr alias.
4525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4526 [IS_IN (libc)] (wcschr): Define as macro expanding to
4527 __redirect_wcschr.
4528 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4529 [IS_IN (libc)] (__wcschr_power6): Likewise.
4530 [IS_IN (libc)] (__wcschr_power7): Likewise.
4531 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4532 instead of wcschr.
4533 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4534 __libc_wcschr.
4535 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4536 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4537 __wcschr and define as weak alias of __wcschr. Use
4538 libc_hidden_builtin_def.
4539 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4540 as weak alias of __wcschr. Use libc_hidden_weak.
4541 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4542 wcschr.
4543 * time/era.c (_nl_init_era_entries): Likewise.
4544 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4545 variable.
4546 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4547 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4548
1b8bf351
JM
45492014-12-10 Joseph Myers <joseph@codesourcery.com>
4550
4551 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4552 format for long int variable.
4553
f5f46d51
AK
45542014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4555
4556 [BZ #10672]
07008f7d 4557 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4558 qsort stable.
4559
217a74a8
AS
45602014-12-10 Andreas Schwab <schwab@suse.de>
4561
4562 [BZ #12847]
4563 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4564 user-controlled locks.
4565
aa76a5c7
RE
45662014-12-10 Richard Earnshaw <rearnsha@arm.com>
4567
4568 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4569 register.
4570
2084e7ca
JM
45712014-12-10 Joseph Myers <joseph@codesourcery.com>
4572
a4ecc9eb
JM
4573 * configure.ac (--disable-werror): New configure option.
4574 (enable_werror): New AC_SUBST.
4575 * configure: Regenerated.
4576 * config.make.in (enable-werror): New variable.
4577 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4578 -Wno-error=undef.
4579 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4580 * manual/install.texi (Configuring and compiling): Document
4581 --disable-werror.
4582 * INSTALL: Regenerated.
4583 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4584 (CFLAGS-tst-chk2.c): Likewise.
4585 (CFLAGS-tst-chk3.c): Likewise.
4586 (CFLAGS-tst-chk4.cc): Likewise.
4587 (CFLAGS-tst-chk5.cc): Likewise.
4588 (CFLAGS-tst-chk6.cc): Likewise.
4589 (CFLAGS-tst-lfschk1.c): Likewise.
4590 (CFLAGS-tst-lfschk2.c): Likewise.
4591 (CFLAGS-tst-lfschk3.c): Likewise.
4592 (CFLAGS-tst-lfschk4.cc): Likewise.
4593 (CFLAGS-tst-lfschk5.cc): Likewise.
4594 (CFLAGS-tst-lfschk6.cc): Likewise.
4595
0f88636c
JM
4596 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4597 (main): Disable -Wdeprecated-declarations around calls to
4598 register_printf_function.
4599
c81e9deb
JM
4600 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4601 (do_test): Disable -Wdiv-by-zero around some calls to
4602 fwrite_unlocked and fread_unlocked.
4603
2084e7ca
JM
4604 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4605 (DIAG_POP_NEEDS_COMMENT): Likewise.
4606 (_DIAG_STR1): Likewise.
4607 (_DIAG_STR): Likewise.
4608 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4609 * stdio-common/bug21.c: Include <libc-internal.h>.
4610 (do_test): Disable -Wformat around call to sscanf.
4611 * stdio-common/scanf14.c: Include <libc-internal.h>.
4612 (main): Disable -Wformat around some calls to scanf functions.
4613
df7ecc6b
TR
46142014-12-09 Torvald Riegel <triegel@redhat.com>
4615
4616 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4617
2aa3862e
AZ
46182014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4619
4620 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4621 stack variable alignment.
4622
c5c2b7c3
JM
46232014-12-06 Joseph Myers <joseph@codesourcery.com>
4624
4625 [BZ #17682]
4626 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4627 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4628 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4629 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4630 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4631 __getrlimit instead of getrlimit.
4632 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4633 __gettimeofday instead of gettimeofday.
4634 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4635 Likewise.
4636 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4637 Likewise.
4638 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4639 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4640 Remove variable.
4641 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4642 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4643
9752c3cd
AZ
46442014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4645
4646 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4647 for wide-character tests.
4648
4bee4cd9
RM
46492014-12-04 Roland McGrath <roland@hack.frob.com>
4650
4651 * io/openat64.c: #include <libc-internal.h>
4652 (__openat64): Prototypify. Use ignore_value on MODE.
4653 * io/openat.c: Likewise.
4654 * misc/reboot.c: #include <libc-internal.h>
4655 (reboot): Prototypify. Use ignore_value on HOWTO.
4656 * misc/ptrace.c: #include <libc-internal.h>
4657 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4658
84dbedb6
JM
46592014-12-04 Joseph Myers <joseph@codesourcery.com>
4660
4661 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4662 XPG4, UNIX98 and XOPEN2K.
4663 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4664 Remove variable.
4665 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4666
b7a3e1c4 46672014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4668
af50dfc1 4669 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4670 * libio/iofopen.c: Likewise.
4671 * libio/wfileops.c: Likewise.
4672
fe8b4d98
SP
4673 [BZ #17653]
4674 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4675 offset on EOF.
4676 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4677 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4678 (fgets_func): Function pointer to fgets and fgetws.
4679 (do_ftell_test): Add test to verify ftell value after read
4680 EOF.
4681 (do_test): Set fgets_func.
4682
61b4f792
SP
4683 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4684 O_TRUNC flag for w and w+ modes.
4685 (do_rewind_test): Likewise.
4686 (do_ftell_test): Likewise.
4687 (do_write_test): Likewise.
4688
be349d70
SP
4689 [BZ #17647]
4690 * libio/fileops.c (do_ftell): Seek only when there are
4691 unflushed writes.
4692 * libio/wfileops.c (do_ftell_wide): Likewise.
4693 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4694 test case.
4695 (do_one_test): Call it.
4696
e3d6dba5
JM
46972014-12-03 Joseph Myers <joseph@codesourcery.com>
4698
4699 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4700 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4701 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4702 Remove variable.
4703 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4704 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4705 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4706
7f994279
JM
47072014-12-02 Joseph Myers <joseph@codesourcery.com>
4708
28a91e8f
JM
4709 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4710 Remove variable.
4711 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4712
7f994279
JM
4713 [BZ #17668]
4714 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4715 as weak alias of __getifaddrs. Use libc_hidden_weak.
4716 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4717 __freeifaddrs. Use libc_hidden_weak.
4718 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4719 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4720 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4721 __freeifaddrs. Use libc_hidden_weak.
4722 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4723 __getifaddrs and define as weak alias of __getifaddrs. Use
4724 libc_hidden_weak.
4725 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4726 __freeifaddrs. Use libc_hidden_weak.
4727 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4728 Remove variable.
4729 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4730 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4731
bbe4c142
PJ
47322014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4733
4734 [BZ #17601]
4735 * sysdeps/mips/start.S (__start): Use indirect jump to call
4736 __libc_start_main.
4737
66cadc05
JM
47382014-12-02 Joseph Myers <joseph@codesourcery.com>
4739
909e16d9
JM
4740 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4741
4e0b9016
JM
4742 * nptl/tst-mutex1.c: Include <stdbool.h>.
4743 [!ATTR] (ATTR_NULL): New macro.
4744 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4745 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4746 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4747
b1aff6a4
JM
4748 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4749 to char *.
4750
266865c0
JM
4751 [BZ #17665]
4752 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4753 Change conditional to [__USE_MISC].
4754
84e5e756
JM
4755 [BZ #17664]
4756 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4757 fgets_unlocked.
4758 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4759 __fgets_unlocked.
4760 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4761 fgets_unlocked.
4762 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4763 Remove variable.
4764 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4765 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4766 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4767 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4768 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4769 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4770 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4771 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4772 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4773
66cadc05
JM
4774 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4775
2e8a2de2 47762014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4777
4778 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4779 Remove strpbrk objects.
4780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4781 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4782 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4783 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4784 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4785 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4786
bb2542e0
AZ
4787 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4788 Remove strcspn objects.
4789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4790 (__libc_ifunc_impl_list): Remove strcspn implementation.
4791 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4792 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4793 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4794 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4795
4796 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4797 Remove strspn objetcs.
4798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4799 (__libc_ifunc_impl_list): Remove strspn implementation.
4800 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4801 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4802 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4803 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4804
08f1e1d2
JL
48052014-12-01 James Lemke <jwlemke@codesourcery.com>
4806
4807 [BZ #17581]
4808 * malloc/hooks.c
4809 (mem2mem_check): Add a terminator to the chain of checking blocks.
4810 (malloc_check_get_size): Use it here.
4811 (mem2chunk_check): Ditto.
4812
a8a7d7d2
RS
48132014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4814
4815 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4816 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4817
97114a38
CD
48182014-11-29 Carlos O'Donell <carlos@redhat.com>
4819
c8dc1727
CD
4820 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4821
6d03458e
CD
4822 * nptl/nptl-init.c: Include libc-internal.h.
4823 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4824
97114a38
CD
4825 * elf/ldconfig.c (search_dir): Expand comment.
4826
0e7e69ba
JM
48272014-11-29 Joseph Myers <joseph@codesourcery.com>
4828
4829 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4830 variable.
4831 (linknamespace-symlist-stdlibs-tests): Likewise.
4832 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4833 instead of $(objpfx)symlist-stdlibs.
4834 (linknamespace-libs-isoc): New variable.
4835 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4836 (linknamespace-libs-ISO): New variable.
4837 (linknamespace-libs-ISO99): Likewise.
4838 (linknamespace-libs-ISO11): Likewise.
4839 (linknamespace-libs-XPG3): Likewise.
4840 (linknamespace-libs-XPG4): Likewise.
4841 (linknamespace-libs-POSIX): Likewise.
4842 (linknamespace-libs-UNIX98): Likewise.
4843 (linknamespace-libs-XOPEN2K): Likewise.
4844 (linknamespace-libs-POSIX2008): Likewise.
4845 (linknamespace-libs-XOPEN2K8): Likewise.
4846 ($(objpfx)symlist-stdlibs): Replace by
4847 $(linknamespace-symlist-stdlibs-tests). Use
4848 $(linknamespace-libs-$*) as set of libraries.
4849 ($(linknamespace-header-tests)): Update dependencies. Use
4850 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4851 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4852 * conform/linknamespace.pl: Remove comment about considering
4853 definitions of symbols from irrelevant libraries.
4854
d8dd0080
L
48552014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4856
4857 [BZ #13862]
4858 * elf/dl-tls.c: Include <atomic.h>.
4859 (oom): Remove #ifdef SHARED/#endif.
4860 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4861 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4862 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4863 big enough.
4864 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4865 * nptl/Makefile (tests): Add tst-stack4.
4866 (modules-names): Add tst-stack4mod.
4867 ($(objpfx)tst-stack4): New.
4868 (tst-stack4mod.sos): Likewise.
4869 ($(objpfx)tst-stack4.out): Likewise.
4870 ($(tst-stack4mod.sos)): Likewise.
4871 (clean): Likewise.
4872 * nptl/tst-stack4.c: New file.
4873 * nptl/tst-stack4mod.c: Likewise.
4874
167da422
B
48752014-11-27 J. Brown <jb999@gmx.de>
4876
4877 * sysdeps/x86/bits/string.h: Add recent CPUs.
4878
9114625b
JM
48792014-11-27 Joseph Myers <joseph@codesourcery.com>
4880
6b5189eb
JM
4881 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4882 sigblock.
4883
49051f8e
JM
4884 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4885 feof.
4886
9114625b
JM
4887 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4888 variable.
4889
e7300fef
SL
48902014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4891
4892 * nscd/connections.c: Include libc-internal.h because of macro
4893 usage ignore_value.
4894
1721f0a4
SP
48952014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4896
4897 * string/bits/string3.h (__warn_memset_zero_len): Don't
4898 declare for gcc newer than 5.0.
4899 (memset): Don't test for zero-length __LEN for gcc newer than
4900 5.0.
4901
be970916
JM
49022014-11-27 Joseph Myers <joseph@codesourcery.com>
4903
d88548f4
JM
4904 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4905 size_t for %zu format.
4906
be970916
JM
4907 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4908 difference, not %ju.
4909
3b20fd5c
JM
49102014-11-26 Joseph Myers <joseph@codesourcery.com>
4911
8915eace
JM
4912 * include/libc-internal.h (ignore_value): New macro.
4913 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4914 with ignore_value.
4915
f1a5a0e3
JM
4916 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4917 definition.
4918
59ef1715
JM
4919 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4920 pthread_cleanup_push to void *.
4921
a6f3079b
JM
4922 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4923 Undefine.
4924
706688aa
JM
4925 [BZ #16619]
4926 [BZ #16740]
4927 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4928 instead of 1L << 52.
4929
12da14a5
JM
4930 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4931 * libio/bug-rewind2.c (do_test): Likewise.
4932
bd5dadac
JM
4933 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4934 * debug/test-strcpy_chk-ifunc.c: Likewise.
4935 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4936 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4937 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4938 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4939 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4940 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4941 * Rules [$(multi-arch) = no] (tests): Do not filter out
4942 $(tests-ifunc).
4943 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4944 * debug/Makefile (tests-ifunc): Remove variable.
4945 (tests): Do not add $(tests-ifunc).
4946 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4947 (tests): Do not add $(tests-ifunc).
4948 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4949 [TEST_IFUNC]: Remove conditionals.
4950 * string/test-string.h (TEST_IFUNC): Remove macro.
4951 [TEST_IFUNC]: Remove conditionals.
4952
3b20fd5c
JM
4953 * string/test-strchr.c [!WIDE] (L): New macro.
4954 [WIDE] (L): Likewise.
4955 (check1): Use CHAR instead of char. Use L on string and character
4956 constants.
4957
704f7947
AZ
49582014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4959
4960 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4961 tests.
4962 * sysdeps/powerpc/bits/atomic.h
4963 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4964 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4965 (atomic_exchange_and_add_acq): Likewise.
4966 (atomic_exchange_and_add_rel): Likewise.
4967 * sysdeps/powerpc/powerpc32/bits/atomic.h
4968 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4969 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4970 * sysdeps/powerpc/powerpc64/bits/atomic.h
4971 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4972 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4973
cdcb42d7
TR
49742014-11-26 Torvald Riegel <triegel@redhat.com>
4975
4976 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4977 Change synchronization of __sched_fifo_min_prio and
4978 __sched_fifo_max_prio.
4979 * nptl/pthread_mutexattr_getprioceiling.c
4980 (pthread_mutexattr_getprioceiling): Likewise.
4981 * nptl/pthread_mutexattr_setprioceiling.c
4982 (pthread_mutexattr_setprioceiling): Likewise.
4983 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4984 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4985 Likewise.
4986
c82f5c0c
JM
49872014-11-26 Joseph Myers <joseph@codesourcery.com>
4988
4989 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4990 void.
4991
439e1ad6
JM
49922014-11-25 Joseph Myers <joseph@codesourcery.com>
4993
4994 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4995 third argument const.
4996
b1eda10e
PE
49972014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4998
4999 fnmatch: work around GCC compiler warning bug with uninit var
5000 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5001 This works around a bug with x86-64 GCC 4.9.2 and earlier
5002 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5003 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5004 used uninitialized in this function [-Wmaybe-uninitialized]".
5005
bde2667a
JM
50062014-11-25 Joseph Myers <joseph@codesourcery.com>
5007
5008 * posix/bug-regex31.c (main): Return RES not 0.
5009
5fbb5691
AB
50102014-11-25 Anton Blanchard <anton@samba.org>
5011
5012 * sysdeps/powerpc/bits/atomic.h
5013 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5014
467fec0b
BM
50152014-11-24 Sterling Augustine <saugustine@google.com>
5016
5017 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5018
e9ff8efb
RC
50192014-11-24 Ryan Cumming <etaoins@gmail.com>
5020
5021 [BZ #17608]
5022 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5023
9744496f
JM
50242014-11-24 Joseph Myers <joseph@codesourcery.com>
5025
5026 [BZ #17633]
5027 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5028 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5029 variable.
5030 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5031 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5032
6423d475
WD
50332014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5034
5035 * string/strncpy.c (strncpy): Improve performance by using memset.
5036
50372014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
5038
5039 * string/strcpy.c (strcpy):
5040 Improve performance by using strlen and memcpy.
5041
5d178c37
LH
50422014-11-24 Leonhard Holz <leonhard.holz@web.de>
5043
5044 * string/strcoll_l.c (get_next_seq): __always_inline.
5045 * string/strcoll_l.c (do_compare): __always_inline.
5046
279bc5b3
SP
50472014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5048
7a9ebfa1
SP
5049 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5050 defined.
5051 * include/mqueue.h: Likewise.
5052 * include/stdlib.h: Likewise.
5053
4f41c682
SP
5054 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5055 (get_null_defines): Adjust.
5056 * sunrpc/Makefile: Adjust comment.
5057 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5058 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5059 (CFLAGS-interp.c): Likewise.
5060 (CFLAGS-ldconfig.c): Likewise.
5061 (CPPFLAGS-.os): Likewise.
5062 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5063 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5064 * extra-modules.mk (extra-modules.mk): Likewise.
5065 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5066 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5067 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5068 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5069 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5070 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5071 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5072 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5073 * iconvdata/Makefile (CPPFLAGS): Likewise.
5074 (cpp-srcs-left): Add libof for all iconvdata routines.
5075 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5076 * include/assert.h: Likewise.
5077 * include/ctype.h: Likewise.
5078 * include/errno.h: Likewise.
5079 * include/libc-symbols.h: Likewise.
5080 * include/math.h: Likewise.
5081 * include/netdb.h: Likewise.
5082 * include/resolv.h: Likewise.
5083 * include/stdio.h: Likewise.
5084 * include/stdlib.h: Likewise.
5085 * include/string.h: Likewise.
5086 * include/sys/stat.h: Likewise.
5087 * include/wctype.h: Likewise.
5088 * intl/l10nflist.c: Likewise.
5089 * libidn/idn-stub.c: Likewise.
5090 * libio/libioP.h: Likewise.
5091 * nptl/libc_multiple_threads.c: Likewise.
5092 * nptl/pthreadP.h: Likewise.
5093 * posix/regex_internal.h: Likewise.
5094 * resolv/res_hconf.c: Likewise.
5095 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5096 * sysdeps/arm/memmove.S: Likewise.
5097 * sysdeps/arm/sysdep.h: Likewise.
5098 * sysdeps/generic/_itoa.h: Likewise.
5099 * sysdeps/generic/symbol-hacks.h: Likewise.
5100 * sysdeps/gnu/errlist.awk: Likewise.
5101 * sysdeps/gnu/errlist.c: Likewise.
5102 * sysdeps/i386/i586/memcpy.S: Likewise.
5103 * sysdeps/i386/i586/memset.S: Likewise.
5104 * sysdeps/i386/i686/memcpy.S: Likewise.
5105 * sysdeps/i386/i686/memmove.S: Likewise.
5106 * sysdeps/i386/i686/mempcpy.S: Likewise.
5107 * sysdeps/i386/i686/memset.S: Likewise.
5108 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5109 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5110 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5111 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5112 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5113 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5114 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5115 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5116 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5117 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5118 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5119 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5120 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5121 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5122 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5123 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5124 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5125 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5126 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5127 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5128 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5129 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5130 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5131 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5132 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5133 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5134 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5135 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5136 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5137 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5138 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5139 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5140 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5141 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5142 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5144 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5145 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5146 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5148 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5149 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5150 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5151 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5152 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5153 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5154 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5155 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5156 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5157 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5158 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5159 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5160 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5161 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5162 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5163 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5164 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5165 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5166 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5167 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5168 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5169 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5170 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5171 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5172 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5173 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5174 * sysdeps/posix/closedir.c: Likewise.
5175 * sysdeps/posix/opendir.c: Likewise.
5176 * sysdeps/posix/readdir.c: Likewise.
5177 * sysdeps/posix/rewinddir.c: Likewise.
5178 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5179 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5180 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5181 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5182 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5183 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5184 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5185 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5187 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5189 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5190 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5191 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5192 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5193 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5194 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5195 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5196 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5197 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5198 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5199 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5200 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5201 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5202 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5203 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5206 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5213 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5214 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5215 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5216 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5217 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5218 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5219 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5220 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5222 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5223 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5224 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5225 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5226 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5227 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5228 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5229 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5230 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5231 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5232 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5233 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5234 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5235 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5236 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5237 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5238 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5239 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5240 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5241 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5242 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5243 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5244 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5245 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5246 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5247 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5248 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5249 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5250 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5251 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5252 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5253 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5254 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5255 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5256 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5257 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5258 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5259 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5260 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5261 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5262 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5263 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5264 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5265 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5266 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5267 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5268 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5269 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5270 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5271 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5272 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5273 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5274 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5276 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5277 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5278 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5279 * sysdeps/unix/alpha/sysdep.S: Likewise.
5280 * sysdeps/unix/alpha/sysdep.h: Likewise.
5281 * sysdeps/unix/make-syscalls.sh: Likewise.
5282 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5283 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5284 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5285 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5286 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5287 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5288 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5289 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5290 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5291 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5292 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5293 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5294 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5295 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5296 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5297 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5298 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5299 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5300 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5301 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5302 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5303 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5304 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5305 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5306 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5307 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5308 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5311 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5312 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5316 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5317 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5320 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5321 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5322 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5323 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5324 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5325 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5326 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5329 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5332 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5333 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5334 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5335 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5336 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5337 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5338 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5340 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5341 * sysdeps/x86_64/memcpy.S: Likewise.
5342 * sysdeps/x86_64/memmove.c: Likewise.
5343 * sysdeps/x86_64/memset.S: Likewise.
5344 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5345 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5346 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5347 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5348 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5349 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5350 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5351 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5352 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5353 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5354 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5355 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5356 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5357 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5358 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5359 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5360 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5361 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5362 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5363 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5364 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5365 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5366 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5367 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5368 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5369 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5370 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5371 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5372 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5373 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5374 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5375 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5376 * sysdeps/x86_64/strcmp.S: Likewise.
5377
76ca86a5
SP
5378 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5379
a3848485
SP
5380 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5381 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5382 * elf/rtld-Rules: Likewise.
5383 * elf/setup-vdso.h: Likewise.
5384 * include/assert.h: Likewise.
5385 * include/bits/stdlib-float.h: Likewise.
5386 * include/errno.h: Likewise.
5387 * include/sys/stat.h: Likewise.
5388 * include/unistd.h: Likewise.
5389 * sysdeps/aarch64/setjmp.S: Likewise.
5390 * sysdeps/alpha/setjmp.S: Likewise.
5391 * sysdeps/arm/__longjmp.S: Likewise.
5392 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5393 * sysdeps/arm/setjmp.S: Likewise.
5394 * sysdeps/arm/sysdep.h: Likewise.
5395 * sysdeps/generic/_itoa.h: Likewise.
5396 * sysdeps/generic/dl-sysdep.h: Likewise.
5397 * sysdeps/generic/ldsodefs.h: Likewise.
5398 * sysdeps/i386/dl-tls.h: Likewise.
5399 * sysdeps/i386/setjmp.S: Likewise.
5400 * sysdeps/m68k/setjmp.c: Likewise.
5401 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5402 * sysdeps/mach/hurd/opendir.c: Likewise.
5403 * sysdeps/posix/getcwd.c: Likewise.
5404 * sysdeps/posix/opendir.c: Likewise.
5405 * sysdeps/posix/profil.c: Likewise.
5406 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5407 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5408 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5409 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5410 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5411 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5412 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5413 * sysdeps/s390/dl-tls.h: Likewise.
5414 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5415 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5416 * sysdeps/sh/sh3/setjmp.S: Likewise.
5417 * sysdeps/sh/sh4/setjmp.S: Likewise.
5418 * sysdeps/unix/alpha/sysdep.h: Likewise.
5419 * sysdeps/unix/arm/sysdep.S: Likewise.
5420 * sysdeps/unix/i386/sysdep.S: Likewise.
5421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5422 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5423 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5424 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5426 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5427 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5428 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5429 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5430 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5431 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5432 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5433 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5436 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5438 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5439 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5440 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5441 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5444 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5445 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5446 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5448 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5449 * sysdeps/x86_64/setjmp.S: Likewise.
5450
a109996e
SP
5451 * include/math.h: Use IS_IN instead of IS_IN_libm.
5452 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5464 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5472 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5473 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5474 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5475 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5476 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5477 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5479 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5480 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5481 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5482 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5483 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5484 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5486 Likewise.
5487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5488 Likewise.
5489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5490 Likewise.
5491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5492 Likewise.
5493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5494 Likewise.
5495 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5496 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5497 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5498 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5499 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5500 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5506 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5507 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5508 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5509 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5510 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5511 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5512 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5513 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5514 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5515 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5516 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5518 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5519 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5521 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5522
ce9f10f7
SP
5523 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5524 * nptl/pthreadP.h: Likewise.
5525 * nptl_db/structs.def: Likewise.
5526 * sysdeps/arm/sysdep.h: Likewise.
5527 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5528 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5529 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5530 * sysdeps/unix/alpha/sysdep.h: Likewise.
5531 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5532 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5533 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5534 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5535 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5536 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5538 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5539 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5540 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5541 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5542 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5543 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5544 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5549 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5552 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5553 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5554 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5555 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5556 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5557
016afc75
SP
5558 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5559 * nptl/pthreadP.h: Likewise.
5560 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5561 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5562 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5563 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5564 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5565 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5566 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5567 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5568 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5569 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5570 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5571 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5573 Likewise.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5575 Likewise.
5576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5578 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5581 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5582 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5583 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5584
9b42a0b3
SP
5585 * dlfcn/dladdr.c: Use IS_IN.
5586 * dlfcn/dladdr1.c: Likewise.
5587 * dlfcn/dlclose.c: Likewise.
5588 * dlfcn/dlerror.c: Likewise.
5589 * dlfcn/dlinfo.c: Likewise.
5590 * dlfcn/dlmopen.c: Likewise.
5591 * dlfcn/dlopen.c: Likewise.
5592 * dlfcn/dlsym.c: Likewise.
5593 * dlfcn/dlvsym.c: Likewise.
5594
85f36372
SP
5595 * include/ifaddrs.h: Use IS_IN.
5596 * inet/check_pf.c: Likewise.
5597 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5598 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5599
fb6784e3
SP
5600 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5601 IS_IN_ldconfig.
5602 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5603 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5604
2886d2d1
SP
5605 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5606 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5607 IS_IN (libc).
5608
9a484857
SP
5609 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5610
a10178bd
SP
5611 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5612 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5613 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5614 * include/libc-symbols.h (IS_IN_LIB): New macro.
5615 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5616 * include/netdb.h: Likewise.
5617 * include/stap-probe.h: Remove all uses of IN_LIB.
5618
279bc5b3
SP
5619 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5620 instead of IN_MODULE.
5621 * include/libc-symbols.h (IN_MODULE): Define using
5622 MODULE_NAME.
5623 (PASTE_NAME, PASTE_NAME1): New macros.
5624 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5625 of IN_LIB.
5626 (STAP_PROBE_ASM): Likewise.
5627
e0cfa510
ST
56282014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5629
5630 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5631 __mach_init in dlopened libc.
5632
34d97d87
MF
56332014-11-22 Mike Frysinger <vapier@gentoo.org>
5634
5635 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5636 * sysdeps/arm/preconfigure: Regenerate.
5637
33cd1f74
RM
56382014-11-21 Roland McGrath <roland@hack.frob.com>
5639
5640 * nptl/pthread_create.c (__pthread_create_2_1): Set
5641 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5642 when copying values from IATTR into PD.
5643
8c230039
WN
56442014-11-21 Will Newton <will.newton@linaro.org>
5645 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5646
6d3db89b
AP
5647 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5648 Refactor inline-asm. Also add comment.
5649
01194ba1
WN
5650 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5651 ElfW macro instead of hardcoded Elf64 types.
5652 (la_aarch64_gnu_pltenter): Likewise.
5653 * sysdeps/aarch64/dl-machine.h
5654 (elf_machine_runtime_setup): Use ElfW(Addr).
5655
8c230039
WN
5656 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5657 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5658 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5659 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5660 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5661 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5662 (R_AARCH64_TLS_DTPMOD): This.
5663 (R_AARCH64_TLS_DTPREL64): Rename to ...
5664 (R_AARCH64_TLS_DTPREL): This.
5665 (R_AARCH64_TLS_TPREL64): Rename to ...
5666 (R_AARCH64_TLS_TPREL): This.
5667 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5668 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5669 R_AARCH64_TLS_TPREL64.
5670 (elf_machine_rela): Likewise.
5671
0d79fa53
TR
56722014-11-21 Torvald Riegel <triegel@redhat.com>
5673
5674 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5675 by setting it to 0. 64b atomics are not supported currently.
5676
b59d114b
AO
56772014-11-21 Alexandre Oliva <aoliva@redhat.com>
5678
5679 [BZ #16469]
5680 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5681 search domain names.
5682
f3d945d5
AO
56832014-11-21 Alexandre Oliva <aoliva@redhat.com>
5684
5685 [BZ #16469]
5686 * NEWS: Update.
5687 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5688 trailing dot.
5689 * posix/tst-getaddrinfo5.c: New.
5690 * posix/Makefile (tests): Add it.
5691
49698902
AO
56922014-11-21 Alexandre Oliva <aoliva@redhat.com>
5693
5694 [BZ #14498]
5695 * NEWS: Fixed.
5696 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5697 after parsing line but before break_if_match.
5698 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5699 if there is a protocol mismatch.
5700
81959214
MS
57012014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5702
5703 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5704 because the potential race is on the user-supplied stream.
5705
7729e0e9
AO
57062014-11-21 Alexandre Oliva <aoliva@redhat.com>
5707
5708 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5709 string literal if not passed a buffer.
5710 * manual/job.texi (ctermid): Update reasoning, note deviation
5711 from posix, suggest mtasurace when not passed a buffer, for
5712 future non-preliminary safety notes.
5713
a4ea5e28
AO
57142014-11-21 Alexandre Oliva <aoliva@redhat.com>
5715
5716 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5717 of not passing it a buffer.
5718 Reported by Peng Haitao.
5719
a2b581cb
AO
57202014-11-21 Alexandre Oliva <aoliva@redhat.com>
5721
5722 * manual/Makefile ($(objpfx)stamp-summary): Require
5723 check-safety.sh to pass.
5724 * manual/check-safety.sh: Wish for verification that every
5725 @deftypefn and @deftypefun is followed by a @safety remark.
5726
f214ff74
RM
57272014-11-20 Roland McGrath <roland@hack.frob.com>
5728
7f0dfae0
RM
5729 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5730
2f531bbb
RM
5731 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5732 PTHREAD_CANCEL_ASYNCHRONOUS.
5733 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5734 send SIGCANCEL.
5735
f214ff74
RM
5736 * nptl/default-sched.h: New file.
5737 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5738 * nptl/pthread_create.c: Include it.
5739 (__pthread_create_2_1): Use collect_default_sched instead of making
5740 Linux syscalls here directly.
5741
e37c91d4
TR
57422014-11-20 Torvald Riegel <triegel@redhat.com>
5743
5744 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5745 __pthread_once): Use C11 atomics.
5746
1eccfecd
TR
57472014-11-20 Torvald Riegel <triegel@redhat.com>
5748
5749 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5750
ff871426
TR
57512014-11-20 Torvald Riegel <triegel@redhat.com>
5752
5753 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5754 atomic_thread_fence_acquire, atomic_thread_fence_release,
5755 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5756 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5757 atomic_compare_exchange_weak_relaxed,
5758 atomic_compare_exchange_weak_acquire,
5759 atomic_compare_exchange_weak_release,
5760 atomic_exchange_acquire, atomic_exchange_release,
5761 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5762 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5763 atomic_fetch_and_acquire,
5764 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5765
1ea339b6
TR
57662014-11-20 Torvald Riegel <triegel@redhat.com>
5767
5768 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5769 USE_ATOMIC_COMPILER_BUILTINS): Define.
5770 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5771 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5772 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5773 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5774 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5776 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5777 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5778 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5779 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5780 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5781 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5782 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5783 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5784 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5785 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5786 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5787 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5788 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5789 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5790 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5791 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5792 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5793 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5794 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5795 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5796 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5797 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5798 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5799 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5800 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5801 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5802 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5803 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5804 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5805 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5806 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5807 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5808 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5809 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5810
cbd463e2
RM
58112014-11-19 Roland McGrath <roland@hack.frob.com>
5812
d960211f
RM
5813 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5814 the sched_priority value here. It was already checked when the user
5815 called pthread_attr_setschedparam.
5816
cbd463e2
RM
5817 * nptl/tst-bad-schedattr.c: New file.
5818 * nptl/Makefile (tests): Add it.
5819
a39208bd
CD
58202014-11-19 Carlos O'Donell <carlos@redhat.com>
5821 Florian Weimer <fweimer@redhat.com>
5822 Joseph Myers <joseph@codesourcery.com>
5823 Adam Conrad <adconrad@0c3.net>
5824 Andreas Schwab <schwab@suse.de>
5825 Brooks <bmoses@google.com>
5826
5827 [BZ #17625]
5828 * wordexp-test.c (__dso_handle): Add prototype.
5829 (__register_atfork): Likewise.
5830 (__app_register_atfork): New function.
5831 (registered_forks): New global.
5832 (register_fork): New function.
5833 (test_case): Add 3 new tests for WRDE_CMDSUB.
5834 (main): Call __app_register_atfork.
5835 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5836 fork count is non-zero fail the test.
5837 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5838 is set.
5839 (parse_dollars): Remove check for WRDE_NOCMD.
5840 (parse_dquote): Likewise.
5841
9cd47470
SP
58422014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5843
130ac68c
SP
5844 * Makeconfig (built-modules): List non-library modules to be
5845 built.
5846 (module-cppflags): Include libc-modules.h for
5847 everything except shlib-versions.v.i.
5848 (CPPFLAGS): Use it.
5849 (before-compile): Add libc-modules.h.
5850 ($(common-objpfx)libc-modules.h,
5851 $(common-objpfx)libc-modules.stmp): New targets.
5852 (common-generated): Add libc-modules.h and libc-modules.stmp.
5853 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5854 * include/libc-symbols.h: Don't include libc-modules.h.
5855 * include/libc-modules.h: Remove file.
5856 * scripts/gen-libc-modules.awk: New script to generate
5857 libc-modules.h.
5858 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5859 Depend on libc-modules.stmp.
5860
286663c3
SP
5861 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5862
9cd47470
SP
5863 * Makeconfig (in-module): Get value of libof set for the
5864 translation unit.
5865 (CPPFLAGS): Use $(in-module).
5866 * Makerules: Don't suffix routine names for nonlib.
5867 * include/libc-modules.h: New file.
5868 * include/libc-symbols.h: Include libc-modules.h
5869 (IS_IN): New macro to replace IS_IN_* macros.
5870 * elf/Makefile: Set libof-* for each routine.
5871 * elf/rtld-Rules: Likewise.
5872 * extra-modules.mk: Likewise.
5873 * iconv/Makefile: Likewise.
5874 * iconvdata/Makefile: Likewise.
5875 * locale/Makefile: Likewise.
5876 * malloc/Makefile: Likewise.
5877 * nss/Makefile: Likewise.
5878 * sysdeps/gnu/Makefile: Likewise.
5879 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5880 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5881 * sysdeps/s390/s390-64/Makefile: Likewise.
5882 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5883 CPPFLAGS for nscd instead of nonlib.
5884
32fed10f
RM
58852014-11-18 Roland McGrath <roland@hack.frob.com>
5886
d71035bd
RM
5887 * nptl/createthread.c: New file.
5888
6540b991
RM
5889 * nptl/createthread.c: Moved ...
5890 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5891
32fed10f
RM
5892 * nptl/createthread.c: Add proper top-line comment.
5893 (do_clone): Folded into ...
5894 (create_thread): ... here. Take new arguments STOPPED_START and
5895 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5896 increment __nptl_threads, do event-reporting logic, do
5897 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5898 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5899 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5900 just send SIGCANCEL.
5901 * nptl/pthread_create.c: Forward-declare create_thread before
5902 including createthread.c.
5903 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5904 declaration, and new macro START_THREAD_SELF to replace argument.
5905 Remove return statement.
5906 (report_thread_creation): New function.
5907 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5908 synchronization logic, and __nptl_nthreads increment here, around
5909 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5910 PD->parent_cancelhandling here, before create_thread. When
5911 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5912 __deallocate_stack, and ENOMEM translation here.
5913
107a5bf0
JM
59142014-11-18 Joseph Myers <joseph@codesourcery.com>
5915
5916 [BZ #17616]
5917 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5918 (mptwo): Rename to __mptwo.
5919 (__inv): Use __mptwo instead of mptwo.
5920 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5921 (mptwo): Rename to __mptwo.
5922 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5923 of mpone and __mptwo instead of mptwo.
5924 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5925 instead of mpone.
5926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5927 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5928 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5929 of mpone and __mptwo instead of mptwo.
5930 (__mpranred): Use __mpone instead of mpone.
5931 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5932 variable.
5933 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5934 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5935 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5936 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5937 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5938 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5939 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5940 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5941 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5942 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5943 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5944 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5945 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5946 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5947 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5948 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5949 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5950 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5951 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5952
3b679ab3
TV
59532014-11-18 Tom de Vries <tom@codesoucery.com>
5954
5955 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5956 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5957
59582014-11-17 Richard Henderson <rth@redhat.com>
5959
5960 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5961 (_FP_PACK_RAW_2): Remove.
5962 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5963 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5964 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5965 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5966 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5967 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5968 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5969 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5970 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5971 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5972 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5973 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5974 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5975 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5976 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5977 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5978
0781a777
RM
59792014-11-14 Roland McGrath <roland@hack.frob.com>
5980
5981 * signal/signal.h [__USE_MISC]
5982 (struct sigvec): Remove type.
5983 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5984 (sigvec): Remove declaration.
5985 * sysdeps/posix/sigvec.c: Moved ...
5986 * signal/sigvec.c: ... here, replacing old file.
5987 (struct sigvec): New type, copied from old signal.h definition.
5988 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5989 (__sigvec): Convert definition to prototype.
5990 (sigvec): Replace weak_alias with compat_symbol.
5991 * signal/Versions (libc: GLIBC_2.21): New version set.
5992 * include/signal.h: Remove __sigvec declaration.
5993 * sysdeps/unix/bsd/sigvec.c: Remove file.
5994 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5995 * manual/signal.texi (BSD Handler): Remove subsection.
5996 Move siginterrupt up to ...
5997 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5998 (Blocking in BSD): Fold subsection into its parent.
5999 * NEWS: Mention sigvec removal.
6000
a4733812
JM
60012014-11-14 Joseph Myers <joseph@codesourcery.com>
6002
5ae4fe60
JM
6003 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6004 (DLA_FMS): Make definition conditional only on [__FMA4__].
6005 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6006 definition.
6007
6a0dd472
JM
6008 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6009 Make definition conditional only on [PROF].
6010 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6011 definition.
6012 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6013 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6014
a4733812
JM
6015 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6016 !__GNUC__].
6017 * include/signal.h (__sigpause): Move declaration above call to
6018 libc_hidden_proto.
6019 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6020 variable.
6021 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6022 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6023
cf7246dd
DM
60242014-11-14 David S. Miller <davem@davemloft.net>
6025
6026 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6027 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6028
c1b0aadc
JM
60292014-11-14 Joseph Myers <joseph@codesourcery.com>
6030
4863355a
JM
6031 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6032 * configure: Regenerated.
6033 * manual/install.texi (Tools for Compilation): Document a
6034 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6035 compiler verified to work.
6036 * INSTALL: Regenerated.
6037
c1b0aadc
JM
6038 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6039 redeclare with asm name.
6040 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6041 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6042 including <string.h>.
6043 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6044 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6045 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6046 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6047 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6048 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6049 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6050
2a1cfd94
JM
60512014-11-13 Joseph Myers <joseph@codesourcery.com>
6052
bf438382
JM
6053 * stdlib/strtol.c (__strtol): Use prototype definition.
6054
2a1cfd94
JM
6055 [BZ #17594]
6056 * stdlib/strtol.c (SYM__): New macro.
6057 (SYM__1): Likewise.
6058 (__strtol): Likewise.
6059 (strtol): Rename to __strtol and define as weak alias of
6060 __strtol. Use libc_hidden_weak.
6061
20ed0d26
SL
60622014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6063
6064 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6065 Use numbered labels in inline assembly.
6066
53244a4e
SL
60672014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6068
6069 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6070 Add setjmp LIBC_PROBE.
6071 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6072 Likewise.
6073 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6074 Add longjmp, longjmp_target LIBC_PROBE.
6075 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6076 Likewise.
6077
47df8251
SL
60782014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6079
6080 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6081 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6082 to get rid of unused variable warning.
6083
618cebef
SL
60842014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6085
6086 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6087 Check for unwind_backtrace == NULL only in SHARED case.
6088 (__backchain_backtrace): Compile only in SHARED case.
6089 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6090 Likewise.
6091 (__backchain_backtrace): Declare as static.
6092
c6aab2cb
RM
60932014-11-12 Roland McGrath <roland@hack.frob.com>
6094
6095 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6096 (__libc_multiple_threads_ptr): Variable moved ...
6097 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6098
5a6fa4d7
JM
60992014-11-12 Joseph Myers <joseph@codesourcery.com>
6100
24f4f825
JM
6101 * conform/GlibcConform.pm: New file.
6102 * conform/conformtest.pl: Use GlibcConform module.
6103 * conform/linknamespace.pl: New file.
6104 * conform/list-header-symbols.pl: Likewise.
6105 * conform/Makefile (linknamespace-symlists-base): New variable.
6106 (linknamespace-symlists-tests): Likewise.
6107 (linknamespace-header-base): Likewise.
6108 (linknamespace-header-tests): Likewise.
6109 (tests-special): Add new tests.
6110 ($(linknamespace-symlists-tests)): New rule.
6111 (linknamespace-libs): New variable.
6112 ($(objpfx)symlist-stdlibs): New rule.
6113 ($(linknamespace-header-tests)): Likewise.
6114 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6115 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6116 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6117 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6118 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6119 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6120 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6121 (test-xfail-ISO/math.h/linknamespace): Likewise.
6122 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6123 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6124 (test-xfail-ISO/time.h/linknamespace): Likewise.
6125 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6126 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6127 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6128 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6129 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6130 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6131 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6132 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6133 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6134 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6135 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6136 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6137 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6138 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6139 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6140 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6141 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6142 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6143 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6144 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6145 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6146 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6147 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6148 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6149 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6150 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6151 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6152 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6153 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6154 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6155 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6156 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6157 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6158 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6159 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6160 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6161 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6162 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6163 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6164 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6165 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6166 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6167 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6168 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6169 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6170 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6171 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6172 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6173 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6174 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6175 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6176 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6177 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6178 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6179 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6180 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6181 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6182 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6183 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6184 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6185 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6186 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6187 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6188 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6189 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6190 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6191 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6192 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6193 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6194 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6195 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6196 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6197 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6198 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6199 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6200 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6201 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6202 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6203 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6204 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6205 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6206 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6207 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6208 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6209 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6210 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6211 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6212 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6213 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6214 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6215 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6216 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6217 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6218 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6219 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6220 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6221 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6222 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6223 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6224 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6225 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6226 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6227 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6228 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6229 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6230 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6231 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6232 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6233 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6234 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6235 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6236 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6237 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6238 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6239 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6240 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6241 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6242 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6243 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6244 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6245 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6246 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6247 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6248 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6249 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6250 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6251 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6252 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6253 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6254 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6255 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6256 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6257 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6258 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6259 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6260 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6261 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6262 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6263 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6264 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6265 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6266 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6267 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6268 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6269 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6270 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6271 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6272 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6273 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6274 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6275
cc67478e
JM
6276 [BZ #17589]
6277 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6278 of fgets_unlocked.
6279
9975e3d3
JM
6280 [BZ #17585]
6281 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6282 (memmem): Rename to __memmem and define as weak alias of
6283 __memmem. Use libc_hidden_weak.
6284 (__memmem): Use libc_hidden_def.
6285 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6286 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6287 memmem.
6288
c4eae752
JM
6289 [BZ #17582]
6290 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6291 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6292 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6293 and define as weak alias of __fgets_unlocked. Use
6294 libc_hidden_weak.
6295 (__fgets_unlocked): Use libc_hidden_def.
6296 * include/stdio.h (__fgets_unlocked): Declare. Use
6297 libc_hidden_proto.
6298 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6299 __fgets_unlocked instead of fgets_unlocked.
6300 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6301 (GET_NPROCS_CONF_PARSER): Likewise.
6302 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6303 (GET_NPROCS_CONF_PARSER): Likewise.
6304
01cad84e
JM
6305 [BZ #17574]
6306 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6307 weak alias of __wmemset. Use libc_hidden_weak.
6308 (__wmemset): Use libc_hidden_def.
6309 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6310 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6311 of wmemset.
6312
939da411
JM
6313 [BZ #17573]
6314 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6315 with asm name __mempcpy.
6316 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6317
293d9a41
JM
6318 [BZ #17572]
6319 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6320 and define as weak alias of __rawmemchr.
6321 (__rawmemchr): Do not define as strong alias of rawmemchr.
6322
bef8fd60
JM
6323 [BZ #17571]
6324 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6325 alias of __qsort_r.
6326 (qsort): Call __qsort_r instead of qsort_r.
6327 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6328 (__qsort_r): Declare. Call libc_hidden_proto.
6329 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6330 instead of qsort_r.
6331 * nscd/gai.c (__qsort_r): Define to qsort_r.
6332 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6333 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6334 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6335
c52ff39e
JM
6336 [BZ #17570]
6337 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6338 define as weak alias of __malloc_info.
6339
2f5c1b00
JM
6340 [BZ #17584]
6341 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6342 as weak alias of __rewinddir. Don't use libc_hidden_def.
6343 (__rewinddir): Use libc_hidden_def.
6344 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6345 as weak alias of __rewinddir. Don't use libc_hidden_def.
6346 (__rewinddir): Use libc_hidden_def.
6347 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6348 weak alias of __rewinddir. Don't use libc_hidden_def.
6349 (__rewinddir): Use libc_hidden_def.
6350 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6351 (__rewinddir): Use libc_hidden_proto.
6352 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6353 rewinddir.
6354 (__getcwd): Use __rewinddir instead of rewinddir.
6355
5a6fa4d7
JM
6356 [BZ #17583]
6357 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6358 alias of __fileno. Use libc_hidden_weak.
6359 (__fileno): Use libc_hidden_def.
6360 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6361 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6362 alias of __ftello.
6363 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6364 __ftello.
6365 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6366 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6367 libc_hidden_def.
6368 (fread_unlocked): Don't use libc_hidden_ver.
6369 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6370 and define as weak alias of __fread_unlocked. Don't use
6371 libc_hidden_def.
6372 (__fread_unlocked): Use libc_hidden_def.
6373 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6374 (ftello): Don't use libc_hidden_proto.
6375 (__ftello): Declare. Use libc_hidden_proto.
6376 (fread_unlocked): Don't use libc_hidden_proto.
6377 (__fread_unlocked): Declare. Use libc_hidden_proto.
6378 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6379 and __ftello instead of fileno, fread_unlocked and ftello.
6380
2581b98e
SP
63812012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6382
6383 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6384 GOT12.
6385 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6386 Likewise.
6387 (_dl_start_user): Likewise.
6388 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6389
533bb7c2
SP
63902014-11-12 Carlos O'Donell <carlos@redhat.com>
6391 Siddhesh Poyarekar <siddhesh@redhat.com>
6392
6393 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6394 Move argv and envp down instead of moving argc up.
6395 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6396
fffa1cf8
LH
63972014-11-12 Leonhard Holz <leonhard.holz@web.de>
6398
6399 [BZ #17506]
6400 * test-skeleton.c (main): Return successful if one of
6401 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6402 * string/tst-strcoll-overflow.c: Define expected status.
6403
fb89b46d
TU
64042014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6405
6406 [BZ #17475]
6407 * locale/iso-639.def: Define Bhili and Tulu language codes.
6408
5c40c3ba
AH
64092014-11-11 Alan Hayward <alan.hayward@arm.com>
6410
6411 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6412
b17fe01b 64132014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6414
6415 [BZ #17555]
6416 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6417
bd805071
AS
64182014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6419
6420 * configure.ac: Updated check of minimal required version to
6421 2.22.
6422 * manual/install.texi (Tools for Compilation): Updated version
6423 number.
6424 * configure: Regenerated.
6425 * INSTALL: Likewise.
6426
1400983e
AS
64272014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6428
6429 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6430 __tls_get_addr.
6431
2c46a66a
JM
64322014-11-07 Joseph Myers <joseph@codesourcery.com>
6433
6434 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6435 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6436 (__waitpid): Don't define as alias. Use libc_hidden_def not
6437 libc_hidden_weak.
6438 (waitpid): Define as alias of __waitpid.
6439 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6440 __waitpid.
6441 (__waitpid): Don't define as alias. Use libc_hidden_def not
6442 libc_hidden_weak.
6443 (waitpid): Define as alias of __waitpid.
6444 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6445 __libc_waitpid alias.
6446 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6447 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6448 Likewise.
6449 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6450 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6451 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6452 alias.
6453 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6454 __waitpid.
6455 (__waitpid): Don't define as alias. Use libc_hidden_def not
6456 libc_hidden_weak.
6457 (waitpid): Define as alias of __waitpid.
6458
da53d6db
CD
64592014-11-06 Carlos O'Donell <carlos@redhat.com>
6460
a2887bdb
CD
6461 * manual/llio.texi: Add comment that write safety has been
6462 fixed in Linux.
6463
da53d6db
CD
6464 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6465 (localplt-build-dso): Add elf/ld.so.
6466 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6467 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6468 and free for ld.so.
6469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6470 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6472 Likewise.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6474 Likewise.
6475 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6476 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6477 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6478 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6479 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6480 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6481 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6482 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6483 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6484 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6485 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6486
9cf27b8d
JM
64872014-11-05 Joseph Myers <joseph@codesourcery.com>
6488
6489 [BZ #14132]
6490 * include/libc-symbols.h (INTUSE): Remove macro.
6491 (INTDEF): Likewise.
6492 (INTVARDEF): Likewise.
6493 (_INTVARDEF): Likewise.
6494 (INTDEF2): Likewise.
6495 (INTVARDEF2): Likewise.
6496 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6497 rtld_hidden_def instead of INTVARDEF.
6498 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6499 (_dl_starting_up_internal): Remove declaration.
6500 (_dl_starting_up): Use rtld_hidden_proto.
6501 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6502 declaration.
6503 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6504 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6505 _dl_starting_up.
6506 * elf/dl-writev.h (_dl_writev): Likewise.
6507 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6508 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6509 _dl_starting_up_internal.
6510
af83568d
AZ
65112014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6512
6513 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6514 test-skeleton.c.
6515
b01ee67c
WN
65162014-11-05 Will Newton <will.newton@linaro.org>
6517
6518 * benchtests/Makefile: (bench-malloc): Add malloc thread
6519 scalability benchmark.
6520 * benchtests/bench-malloc-threads.c: New file.
6521
be9d4ccc
RE
65222014-11-05 Richard Earnshaw <rearnsha@arm.com>
6523
6524 * sysdeps/aarch64/strchrnul.S: New file.
6525
7110166d
AZ
65262014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6527
6528 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6529 definition.
6530 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6531 Likwise.
6532 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6533 Likewise.
6534 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6535 Likewise.
6536 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6537 Likewise.
6538 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6539 Likewise.
6540
65412014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6542
6543 * catgets/test-gencat.c: Use test-skeleton.c.
6544 * catgets/tst-catgets.c: Likewise.
6545 * csu/tst-empty.c: Likewise.
6546 * elf/tst-audit2.c: Likewise.
6547 * elf/tst-global1.c: Likewise.
6548 * elf/tst-pathopt.c: Likewise.
6549 * elf/tst-piemod1.c: Likewise.
6550 * elf/tst-tls10.c: Likewise.
6551 * elf/tst-tls11.c: Likewise.
6552 * elf/tst-tls12.c: Likewise.
6553 * gnulib/tst-gcc.c: Likewise.
6554 * iconvdata/tst-e2big.c: Likewise.
6555 * iconvdata/tst-loading.c: Likewise.
6556 * iconv/tst-iconv1.c: Likewise.
6557 * iconv/tst-iconv2.c: Likewise.
6558 * inet/test-inet6_opt.c: Likewise.
6559 * inet/tst-gethnm.c: Likewise.
6560 * inet/tst-network.c: Likewise.
6561 * inet/tst-ntoa.c: Likewise.
6562 * intl/tst-codeset.c: Likewise.
6563 * intl/tst-gettext2.c: Likewise.
6564 * intl/tst-gettext3.c: Likewise.
6565 * intl/tst-ngettext.c: Likewise.
6566 * intl/tst-translit.c: Likewise.
6567 * io/test-stat.c: Likewise.
6568 * libio/test-fmemopen.c: Likewise.
6569 * libio/tst-freopen.c: Likewise.
6570 * libio/tst-sscanf.c: Likewise.
6571 * libio/tst-ungetwc1.c: Likewise.
6572 * libio/tst-ungetwc2.c: Likewise.
6573 * libio/tst-widetext.c: Likewise.
6574 * localedata/tst-ctype.c: Likewise.
6575 * localedata/tst-digits.c: Likewise.
6576 * localedata/tst-leaks.c: Likewise.
6577 * localedata/tst-mbswcs1.c: Likewise.
6578 * localedata/tst-mbswcs2.c: Likewise.
6579 * localedata/tst-mbswcs3.c: Likewise.
6580 * localedata/tst-mbswcs4.c: Likewise.
6581 * localedata/tst-mbswcs5.c: Likewise.
6582 * localedata/tst-setlocale.c: Likewise.
6583 * localedata/tst-trans.c: Likewise.
6584 * localedata/tst-wctype.c: Likewise.
6585 * localedata/tst-xlocale1.c: Likewise.
6586 * login/tst-grantpt.c: Likewise.
6587 * malloc/tst-calloc.c: Likewise.
6588 * malloc/tst-malloc.c: Likewise.
6589 * malloc/tst-mallocstate.c: Likewise.
6590 * malloc/tst-mcheck.c: Likewise.
6591 * malloc/tst-mtrace.c: Likewise.
6592 * malloc/tst-obstack.c: Likewise.
6593 * math/atest-exp2.c: Likewise.
6594 * math/atest-exp.c: Likewise.
6595 * math/atest-sincos.c: Likewise.
6596 * math/test-matherr.c: Likewise.
6597 * math/test-misc.c: Likewise.
6598 * math/test-powl.c: Likewise.
6599 * math/tst-definitions.c: Likewise.
6600 * misc/tst-dirname.c: Likewise.
6601 * misc/tst-efgcvt.c: Likewise.
6602 * misc/tst-fdset.c: Likewise.
6603 * misc/tst-hsearch.c: Likewise.
6604 * misc/tst-mntent2.c: Likewise.
6605 * nptl/tst-sem7.c: Likewise.
6606 * nptl/tst-sem8.c: Likewise.
6607 * nptl/tst-sem9.c: Likewise.
6608 * nss/test-netdb.c: Likewise.
6609 * posix/tst-fnmatch.c: Likewise.
6610 * posix/tst-getlogin.c: Likewise.
6611 * posix/tst-gnuglob.c: Likewise.
6612 * posix/tst-mmap.c: Likewise.
6613 * pwd/tst-getpw.c: Likewise.
6614 * resolv/tst-inet_ntop.c: Likewise.
6615 * rt/tst-timer.c: Likewise.
6616 * stdio-common/test-fseek.c: Likewise.
6617 * stdio-common/test-popen.c: Likewise.
6618 * stdio-common/test-vfprintf.c: Likewise.
6619 * stdio-common/tst-cookie.c: Likewise.
6620 * stdio-common/tst-fileno.c: Likewise.
6621 * stdio-common/tst-gets.c: Likewise.
6622 * stdio-common/tst-obprintf.c: Likewise.
6623 * stdio-common/tst-perror.c: Likewise.
6624 * stdio-common/tst-sprintf2.c: Likewise.
6625 * stdio-common/tst-sprintf3.c: Likewise.
6626 * stdio-common/tst-sprintf.c: Likewise.
6627 * stdio-common/tst-swprintf.c: Likewise.
6628 * stdio-common/tst-tmpnam.c: Likewise.
6629 * stdio-common/tst-unbputc.c: Likewise.
6630 * stdio-common/tst-wc-printf.c: Likewise.
6631 * stdlib/tst-environ.c: Likewise.
6632 * stdlib/tst-fmtmsg.c: Likewise.
6633 * stdlib/tst-limits.c: Likewise.
6634 * stdlib/tst-rand48-2.c: Likewise.
6635 * stdlib/tst-rand48.c: Likewise.
6636 * stdlib/tst-random2.c: Likewise.
6637 * stdlib/tst-random.c: Likewise.
6638 * stdlib/tst-strtol.c: Likewise.
6639 * stdlib/tst-strtoll.c: Likewise.
6640 * stdlib/tst-tls-atexit.c: Likewise.
6641 * stdlib/tst-xpg-basename.c: Likewise.
6642 * string/test-ffs.c: Likewise.
6643 * string/tst-bswap.c: Likewise.
6644 * string/tst-inlcall.c: Likewise.
6645 * string/tst-strtok.c: Likewise.
6646 * string/tst-strxfrm.c: Likewise.
6647 * sysdeps/x86_64/tst-audit10.c: Likewise.
6648 * sysdeps/x86_64/tst-audit3.c: Likewise.
6649 * sysdeps/x86_64/tst-audit4.c: Likewise.
6650 * sysdeps/x86_64/tst-audit5.c: Likewise.
6651 * time/tst-ftime_l.c: Likewise.
6652 * time/tst-getdate.c: Likewise.
6653 * time/tst-mktime3.c: Likewise.
6654 * time/tst-mktime.c: Likewise.
6655 * time/tst-posixtz.c: Likewise.
6656 * time/tst-strptime2.c: Likewise.
6657 * time/tst-strptime3.c: Likewise.
6658 * wcsmbs/tst-btowc.c: Likewise.
6659 * wcsmbs/tst-mbrtowc.c: Likewise.
6660 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6661 * wcsmbs/tst-wchar-h.c: Likewise.
6662 * wcsmbs/tst-wcpncpy.c: Likewise.
6663 * wcsmbs/tst-wcrtomb.c: Likewise.
6664 * wcsmbs/tst-wcsnlen.c: Likewise.
6665 * wcsmbs/tst-wcstof.c: Likewise.
6666
2004e7fb
JM
66672014-11-04 Joseph Myers <joseph@codesourcery.com>
6668
ab97ee8f
JM
6669 [BZ #14132]
6670 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6671 INTDEF.
6672 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6673 declaration.
6674 (_dl_mcount): Use rtld_hidden_proto.
6675 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6676 _dl_mcount.
6677 * elf/rtld.c (_rtld_global_ro): Likewise.
6678
c5684fdb
JM
6679 [BZ #14132]
6680 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6681 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6682 of _dl_init_internal.
6683 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6684 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6685 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6686 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6687 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6688 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6689 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6690 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6691 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6692 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6693 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6694 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6695 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6696 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6697 * sysdeps/tile/dl-start.S (_start): Likewise.
6698 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6699 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6700
4243cbea
JM
6701 [BZ #14132]
6702 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6703 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6704 (rtld_progname): Make macro definition unconditional.
6705 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6706 INTDEF.
6707 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6708 (dl_main): Likewise.
6709 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6710 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6711 instead of _dl_argv_internal.
6712 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6713 __GI__dl_argv instead of INTUSE(_dl_argv).
6714 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6715 __GI__dl_argv instead of _dl_argv_internal.
6716
2004e7fb
JM
6717 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6718 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6719 macro.
6720 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6721 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6722 New macro.
6723 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6724 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6725 macro.
6726 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6727 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6728
97827bfc
AS
67292014-11-04 Andreas Schwab <schwab@suse.de>
6730
6731 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6732
5e4df284
AZ
67332014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6734
6735 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6736 mtvsrd instruction in binary form.
6737
04b76b5a
AS
67382014-11-03 Andreas Schwab <schwab@suse.de>
6739
6740 [BZ #17522]
6741 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6742 for less than MB_LEN_MAX use a local buffer of that size.
6743 * libio/tst-fputws.c: New file.
6744 * libio/Makefile (tests): Add tst-fputws.
6745
4c6da7da
JM
67462014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6747
6748 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6749 the size of the fpu_fr.fpu_dregs[] array.
6750
1679ba8e
JM
67512014-11-01 Joseph Myers <joseph@codesourcery.com>
6752
6753 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6754 (__nanosleep): Do not define as alias.
6755 (nanosleep): Define as alias of __nanosleep.
6756 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6757 __libc_nanosleep name.
6758
2626c183
JM
67592014-10-31 Joseph Myers <joseph@codesourcery.com>
6760
6761 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6762 install.texi in comment.
6763
7f981fc2
TR
67642014-10-31 Torvald Riegel <triegel@redhat.com>
6765
6766 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6767 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6768 ... add here and use lwsync or sync ...
6769 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6770 ... and add here using lwsync.
6771
d6f373d2
MF
67722014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6773
6774 * elf/dl-machine-reject-phdr.h: New file.
6775 * elf/dl-load.c: #include that.
6776 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6777 if that returned true.
6778
67c37987
RM
67792014-10-31 Roland McGrath <roland@hack.frob.com>
6780
6781 [BZ #17496]
6782 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6783 gen-as-const-headers chunk. Add a big scare comment after the last
6784 safe place to touch before-compile.
6785
94a42455 67862014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6787
f3f5d895
JM
6788 * manual/install.texi (Tools for Compilation): Update autoconf
6789 version requirements.
6790 * INSTALL: Regenerated.
6791
f62ff286
JM
6792 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6793 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6794 (__libc_pselect): Likewise.
94a42455
JM
6795
6796 [BZ #14138]
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6801
ff9dbdc0
TR
68022014-10-31 Torvald Riegel <triegel@redhat.com>
6803
6804 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6805 correct barrier instruction.
6806 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6807 Likewise.
6808 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6809 Likewise.
6810
b4f66884
RM
68112014-10-30 Roland McGrath <roland@hack.frob.com>
6812
6813 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6814 after defining inlines. Instead, just use parens to defeat macro
6815 expansion of __isctype in its declaration.
6816
e19c95fd
JM
68172014-10-30 Joseph Myers <joseph@codesourcery.com>
6818
6819 * include/sys/uio.h (__libc_readv): Remove declaration.
6820 (__libc_writev): Likewise.
6821 * misc/readv.c (__libc_readv): Rename to __readv.
6822 (__readv): Do not define as alias.
6823 (readv): Define as alias of __readv.
6824 * misc/writev.c (__libc_writev): Rename to __writev.
6825 (__writev): Do not define as alias.
6826 (writev): Define as alias of __writev.
6827 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6828 (__readv): Do not define as alias.
6829 (readv): Define unconditionally as alias of __readv.
6830 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6831 (__writev): Do not define as alias.
6832 (writev): Define unconditionally as alias of __writev.
6833 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6834 name.
6835 (writev): Do not define __libc_writev name.
6836
65b00b6c
RM
68372014-10-30 Roland McGrath <roland@hack.frob.com>
6838
6839 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6840 (convert_charseq): New function, broken out of ...
6841 (use_from_charmap): ... here. Call it.
6842 (use_to_charmap): Use convert_charseq and free instead of duplicating
6843 its code with a variable-length stack struct.
6844
d4e157aa
JM
68452014-10-30 Joseph Myers <joseph@codesourcery.com>
6846
6847 * include/fcntl.h (__libc_creat): Remove declaration.
6848 * io/creat.c (__libc_creat): Rename to creat.
6849 (creat): Do not define as alias.
6850 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6851 of creat instead of __libc_creat.
6852 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6853 to creat.
6854 (creat): Do not define as alias.
6855 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6856 __libc_creat.
6857 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6858 __libc_creat name.
6859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6860 Likewise.
6861
0c6891a0
CD
68622014-10-29 Carlos O'Donell <carlos@redhat.com>
6863
6864 * manual/llio.texi: Add comments discussing why write() may be
6865 considered MT-unsafe on Linux.
6866
cc00cece
CD
68672014-10-28 Carlos O'Donell <carlos@redhat.com>
6868
6869 * dl-load.c (local_strdup): Remove.
6870 (expand_dynamic_string_token): Use __strdup.
6871 (decompose_rpath): Likewise.
6872 (_dl_map_object): Likewise.
6873
51e623f2
JM
68742014-10-28 Joseph Myers <joseph@codesourcery.com>
6875
6876 [BZ #14132]
6877 * sysdeps/generic/unwind-dw2-fde.c
6878 (__register_frame_info_bases_internal): Do not declare.
6879 (__register_frame_info_table_bases_internal): Likewise.
6880 (__deregister_frame_info_bases_internal): Likewise.
6881 (__register_frame_info_bases): Declare and use hidden_proto before
6882 definition. Use hidden_def instead of INTDEF.
6883 (__register_frame_info_table_bases): Likewise.
6884 (__deregister_frame_info_bases): Likewise.
6885 (__register_frame_info): Do not use INTUSE.
6886 (__register_frame): Likewise.
6887 (__register_frame_info_table): Likewise.
6888 (__register_frame_table): Likewise.
6889 (__deregister_frame_info): Likewise.
6890 (__deregister_frame): Likewise.
6891
03d41216
GC
68922014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6893
6894 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6895 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6896 not undefine.
6897 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6898 Likewise.
6899 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6900 Likewise.
6901
a4b3624d
JM
69022014-10-27 Joseph Myers <joseph@codesourcery.com>
6903
6904 [BZ #14138]
6905 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6906 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6907 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6908 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6909 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6910 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6911 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6912 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6913 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6914 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6915 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6916 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6917 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6918 syscall.
6919 (setfsuid): Likewise.
6920 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6921 (setfsuid): Likewise.
6922 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6923 (setfsuid): Likewise.
6924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6925 Likewise.
6926 (setfsuid): Likewise.
6927 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6928 (setfsuid): Likewise.
6929 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6930 Likewise.
6931 (setfsuid): Likewise.
6932
3574f2fd
AS
69332014-10-27 Andreas Schwab <schwab@suse.de>
6934
6935 [BZ #17501]
6936 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6937 check for Slow_SSE4_2 feature bit.
6938 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6939 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6940 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6941 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6942
70996a37
RM
69432014-10-24 Roland McGrath <roland@hack.frob.com>
6944
461a7b1e
RM
6945 * configure.ac: Validate compiler version with a empirical test of
6946 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6947 $CC -v output.
6948 * configure: Regenerated.
6949
70996a37
RM
6950 * inet/htons.c (htons): Prototypify.
6951 * inet/htonl.c (htonl): Likewise.
6952
e80514b5
WD
69532014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6954
6955 * string/strncat.c (strncat): Improve performance by using strlen.
6956
6e46de42
WD
69572014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6958
6959 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6960
6a9ad2fa
WD
69612014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6962
6963 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6964 Call libc_fetestexcept_aarch64.
6965
1c8810ed
WD
69662014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6967
6968 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6969 Call libc_feholdexcept_aarch64.
6970
8b1af712
WD
69712014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6972
6973 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6974 Call get_rounding_mode.
6975
a7b00c11
WD
69762014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6977
6978 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6979 Simplify logic.
6980
3a84f1a6
WD
69812014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6982
6983 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6984 Simplify logic.
6985
48eb7a94
JM
69862014-10-24 Joseph Myers <joseph@codesourcery.com>
6987
c8bc4038
JM
6988 [BZ #14138]
6989 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6990 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6991 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6992 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6993 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6994 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6995 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6996 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6997 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6998 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6999 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7000 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7001 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7002 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7003 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7004 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7005 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7006 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7007 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7008 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7009 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7010 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7011 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7012 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7013 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7014 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7015 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7016 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7017 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7018 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7019 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7020 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7021 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7022 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7023 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7024 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7025 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7026 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7027 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7028 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7029 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7030 syscall.
7031 (geteuid): Likewise.
7032 (getgid): Likewise.
7033 (getuid): Likewise.
7034 (getresgid): Likewise.
7035 (getresuid): Likewise.
7036 (getgroups): Likewise.
7037 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7038 (geteuid): Likewise.
7039 (getgid): Likewise.
7040 (getuid): Likewise.
7041 (getresgid): Likewise.
7042 (getresuid): Likewise.
7043 (getgroups): Likewise.
7044 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7045 (geteuid): Likewise.
7046 (getgid): Likewise.
7047 (getuid): Likewise.
7048 (getresgid): Likewise.
7049 (getresuid): Likewise.
7050 (getgroups): Likewise.
7051 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7052 Likewise.
7053 (geteuid): Likewise.
7054 (getgid): Likewise.
7055 (getuid): Likewise.
7056 (getresgid): Likewise.
7057 (getresuid): Likewise.
7058 (getgroups): Likewise.
7059 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7060 (geteuid): Likewise.
7061 (getgid): Likewise.
7062 (getuid): Likewise.
7063 (getresgid): Likewise.
7064 (getresuid): Likewise.
7065 (getgroups): Likewise.
7066 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7067 Likewise.
7068 (geteuid): Likewise.
7069 (getgid): Likewise.
7070 (getuid): Likewise.
7071 (getgroups): Likewise.
7072
48eb7a94
JM
7073 [BZ #14138]
7074 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7075 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7076 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7077 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7078 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7079 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7080 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7081 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7082 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7083 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7084 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7085 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7086 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7087 __chown.
7088 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7089 (lchown): Likewise.
7090 (fchown): Likewise.
7091 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7092 Likewise.
7093 (lchown): Likewise.
7094 (fchown): Likewise.
7095 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7096 (lchown): Likewise.
7097 (fchown): Likewise.
7098 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7099 Likewise.
7100 (lchown): Likewise.
7101 (fchown): Likewise.
7102
ea9a7c8b
WD
71032014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7104
7105 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7106 Simplify logic.
7107
e226de33
WD
71082014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7109
7110 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7111 Cleanup logic.
7112
6e3d8ed3
WD
71132014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7114
7115 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7116 Remove unused include.
7117
eb04247d
WD
71182014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7119
7120 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7121 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7122 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7123 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7124
13d84554
CD
71252014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7126 Helge Deller <deller@gmx.de>
7127
7128 [BZ #17508]
7129 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7130 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7131 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7132
15f9c5df
JM
71332014-10-23 Joseph Myers <joseph@codesourcery.com>
7134
7135 [BZ #14132]
7136 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7137 Remove macro definition.
7138 (__ashrdi3_v_glibc20): Likewise.
7139 (__lshrdi3_v_glibc20): Likewise.
7140 (__cmpdi2_v_glibc20): Likewise.
7141 (__ucmpdi2_v_glibc20): Likewise.
7142 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7143 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7144 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7145 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7146 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7147 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7148
c6dfed24
RM
71492014-10-22 Roland McGrath <roland@hack.frob.com>
7150
7151 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7152 old GNU extension [0] syntax.
7153 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7154 alloca rather than an array member with variable length.
7155 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7156 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7157 (parse_opt): ... here. Likewise use alloca there.
7158 Validate the -i argument before checking for rootness.
7159 (send_shutdown): New function, broken out of ...
7160 (parse_opt): ... here.
7161
8c2b1ed8
RM
71622014-10-22 Roland McGrath <roland@hack.frob.com>
7163
7164 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7165 macro to get at the _rt_local_ro field.
7166 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7167 ([PIC] case) or _dl_hwcap ([!PIC] case).
7168 * sysdeps/arm/setjmp.S: Likewise.
7169
7170 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7171 * sysdeps/arm/configure.ac: New check to define it.
7172 * sysdeps/arm/configure: Regenerated.
7173 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7174 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7175 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7176 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7177 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7178 Use move/movt pair instead of a load.
7179 (LDST_GLOBAL): Macro removed.
7180 (LDR_GLOBAL): New macro replaces it.
7181 (LDR_HIDDEN): New macro.
7182 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7183 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7184
7185 * setjmp/tst-setjmp-static.c: New file.
7186 * setjmp/Makefile (tests): Add it.
7187 (tests-static): New variable.
7188
b5af9297
MR
71892014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7190
7191 [BZ #17485]
7192 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7193
a13d0d74
JM
71942014-10-21 Joseph Myers <joseph@codesourcery.com>
7195
7196 [BZ #14132]
7197 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7198
f05e73f6
RM
71992014-10-21 Roland McGrath <roland@hack.frob.com>
7200
7201 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7202
6ab1d1ea
RM
72032014-10-20 Roland McGrath <roland@hack.frob.com>
7204
7205 * io/fts.c (dirent_not_directory): New function.
7206 (fts_build): Call it.
7207
ab49e763
RM
72082014-10-20 Roland McGrath <roland@hack.frob.com>
7209
e436eb79
RM
7210 * nptl/version.c (__nptl_main): Use normal __write rather than
7211 INTERNAL_SYSCALL.
7212 (banner): Update copyright years.
7213
6af246cf
RM
7214 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7215 gettimeofday.
7216 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7217 * nptl/pthread_cond_timedwait.c: Likewise.
7218 * nptl/pthread_mutex_timedlock.c: Likewise.
7219 * nptl/sem_timedwait.c: Likewise.
7220
ab49e763
RM
7221 * sysdeps/nptl/bits/libc-lock.h
7222 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7223 (__libc_lock_init_recursive): Return void, not 0.
7224 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7225 (__libc_rwlock_init): Likewise.
7226 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7227
f50277c1
TR
72282014-10-20 Torvald Riegel <triegel@redhat.com>
7229
7230 [BZ #15215]
7231 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7232 (__pthread_once_slow): ... here.
7233 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7234 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7235
63668b70
TR
72362014-10-20 Torvald Riegel <triegel@redhat.com>
7237
7238 [BZ #15215]
7239 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7240 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7241 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7242 * nptl/pthread_once.c (__pthread_once): Likewise.
7243 Update comments.
7244
42b7f5d4
JM
72452014-10-20 Joseph Myers <joseph@codesourcery.com>
7246
7247 [BZ #14138]
7248 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7249 name.
7250 (writev): Use __libc_writev as strong name.
7251 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7252 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7253
b0643088
RM
72542014-10-17 Roland McGrath <roland@hack.frob.com>
7255
114c4e09
RM
7256 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7257
674b8978
RM
7258 * sysdeps/i386/nptl/tls.h
7259 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7260 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7261 New macros.
7262 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7263 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7264 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7265 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7266 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7267 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7268
184ee940
RM
7269 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7270 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7271 on [__NR_futex].
7272 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7273 broken out of ...
7274 (__pthread_mutex_init): ... here. Call it.
7275 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7276 Conditionalize PI cases on [__NR_futex].
7277 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7278 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7279 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7280
327ae257
RM
7281 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7282 conditional on [SIGSETXID].
7283 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7284 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7285 is defined. Likewise for SIGSETXID.
7286 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7287 Conditionalize definitions on [SIGSETXID].
7288 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7289 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7290 unblocking on [SIGCANCEL].
7291
b0643088
RM
7292 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7293 [__NR_set_robust_list].
7294
33cc770b
SP
72952014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7296
7297 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7298 (do_compare): Likewise.
7299
0742aef6
LH
73002014-10-17 Leonhard Holz <leonhard.holz@web.de>
7301
7302 [BZ #15884]
7303 * string/strcoll_l.c: Don't include stdio.h.
7304 (coll_seq): Remove members idxarr and rulearr.
7305 (get_next_seq_cached): Remove function.
7306 (get_next_seq): Likewise.
7307 (get_next_seq_nocache): Rename to get_next_seq.
7308 (do_compare): Remove function.
7309 (do_compare_nocache): Rename to do_compare.
7310 (STRCOLL): Remove weight and rules cache.
7311
ee54ce44
RM
73122014-10-16 Roland McGrath <roland@hack.frob.com>
7313
7314 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7315 * sysdeps/arm/sfp-machine.h: ... to here.
7316 * sysdeps/arm/Implies: Remove arm/soft-fp.
7317
a75d3b02
JM
73182014-10-14 Joseph Myers <joseph@codesourcery.com>
7319
7320 * conform/data/sys/utsname.h-data (*_t): Allow.
7321 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7322 [POSIX] (WEXITED): Do not expect constant.
7323 [POSIX] (WSTOPPED): Likewise.
7324 [POSIX] (WNOHANG): Likewise.
7325 [POSIX] (WNOWAIT): Likewise.
7326 [POSIX] (siginfo_t): Do not expect type or elements.
7327 [POSIX] (pid_t): Do not expect type.
7328 [POSIX] (signal.h): Do not allow header.
7329 [POSIX] (sys/resource.h): Likewise.
7330 [POSIX] (si_*): Do not allow pattern.
7331 [POSIX] (W*): Likewise.
7332 [POSIX] (P_*): Likewise.
7333 [POSIX] (BUS_*): Likewise.
7334 [POSIX] (CLD_*): Likewise.
7335 [POSIX] (FPE_*): Likewise.
7336 [POSIX] (ILL_*): Likewise.
7337 [POSIX] (POLL_*): Likewise.
7338 [POSIX] (SEGV_*): Likewise.
7339 [POSIX] (SI_*): Likewise.
7340 [POSIX] (TRAP_*): Likewise.
7341 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7342 variable.
7343
fda389c8
SP
73442014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7345
7346 [BZ #12926]
7347 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7348 infinite loop when __recvmsg returns 0.
7349
6bc6bd3b
JM
73502014-10-10 Joseph Myers <joseph@codesourcery.com>
7351
fcb32af1
JM
7352 * CANCEL-FCT-WAIVE: Remove file.
7353 * CANCEL-FILE-WAIVE: Likewise.
7354
6bc6bd3b
JM
7355 [BZ #14132]
7356 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7357 instead of INTVARDEF.
7358 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7359 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7360 rtld_hidden_data_def instead of INTVARDEF.
7361 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7362 * elf/dl-deps.c (expand_dst): Likewise.
7363 * elf/dl-load.c (_dl_dst_count): Likewise.
7364 (_dl_dst_substitute): Likewise.
7365 (decompose_rpath): Likewise.
7366 (_dl_init_paths): Likewise.
7367 (open_path): Likewise.
7368 (_dl_map_object): Likewise.
7369 * elf/rtld.c (dl_main): Likewise.
7370 (process_dl_audit): Likewise.
7371 (process_envvars): Likewise.
7372 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7373 Remove declaration.
7374 (__libc_enable_secure): Use rtld_hidden_proto.
7375
b8c80a7e
KS
73762014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7377
7378 * elf/dl-load.c
7379 (add_path): New function broken out of _dl_rtld_di_serinfo.
7380 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7381
ff12c11f
JM
73822014-10-09 Joseph Myers <joseph@codesourcery.com>
7383
5c0508a3
JM
7384 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7385 parentheses around macro arguments.
7386 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7387 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7388 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7389 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7391 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7392 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7393 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7394 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7396 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7397 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7398 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7399 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7400 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7401 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7402 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7403 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7405 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7407 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7408 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7409 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7410 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7411 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7412 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7413 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7415 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7416 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7417 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7418 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7419 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7420 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7421 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7422 Likewise.
7423 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7424 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7425 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7426 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7427 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7428 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7429 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7430 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7431 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7432 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7433 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7434 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7435 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7436 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7437 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7438 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7439 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7440 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7441 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7442 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7443 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7444 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7445 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7446 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7447 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7448 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7449 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7450 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7451 (_FP_FRAC_SRS_1): Likewise.
7452 (_FP_FRAC_CLZ_1): Likewise.
7453 (_FP_MUL_MEAT_1_imm): Likewise.
7454 (_FP_MUL_MEAT_1_wide): Likewise.
7455 (_FP_MUL_MEAT_1_hard): Likewise.
7456 (_FP_SQRT_MEAT_1): Likewise.
7457 (_FP_FRAC_ASSEMBLE_1): Likewise.
7458 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7459 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7460 (__FP_CLZ_2): Likewise.
7461 (_FP_MUL_MEAT_2_wide): Likewise.
7462 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7463 (_FP_MUL_MEAT_2_gmp): Likewise.
7464 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7465 (_FP_SQRT_MEAT_2): Likewise.
7466 (_FP_FRAC_ASSEMBLE_2): Likewise.
7467 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7468 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7469 (_FP_FRAC_CLZ_4): Likewise.
7470 (_FP_MUL_MEAT_4_wide): Likewise.
7471 (_FP_MUL_MEAT_4_gmp): Likewise.
7472 (_FP_SQRT_MEAT_4): Likewise.
7473 (_FP_FRAC_ASSEMBLE_4): Likewise.
7474 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7475 * soft-fp/op-common.h (_FP_CMP): Likewise.
7476 (_FP_CMP_EQ): Likewise.
7477 (_FP_CMP_UNORD): Likewise.
7478 (_FP_TO_INT): Likewise.
7479 (_FP_FROM_INT): Likewise.
7480 [!__FP_CLZ] (__FP_CLZ): Likewise.
7481 (_FP_DIV_HELP_imm): Likewise.
7482 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7483 Likewise.
7484 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7485 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7486 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7487 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7488 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7489 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7490 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7491 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7492 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7493 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7494 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7495 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7496 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7497 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7498 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7499 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7500 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7501 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7502 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7503 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7504 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7505 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7506 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7507 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7508 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7509 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7510 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7511 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7512 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7513 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7514 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7515 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7516 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7517 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7518 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7519 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7520 (FP_UNPACK_RAW_SP): Likewise.
7521 (FP_PACK_RAW_S): Likewise.
7522 (FP_PACK_RAW_SP): Likewise.
7523 (FP_UNPACK_S): Likewise.
7524 (FP_UNPACK_SP): Likewise.
7525 (FP_UNPACK_SEMIRAW_S): Likewise.
7526 (FP_UNPACK_SEMIRAW_SP): Likewise.
7527 (FP_PACK_S): Likewise.
7528 (FP_PACK_SP): Likewise.
7529 (FP_PACK_SEMIRAW_S): Likewise.
7530 (FP_PACK_SEMIRAW_SP): Likewise.
7531 (_FP_SQRT_MEAT_S): Likewise.
7532 (FP_CMP_S): Likewise.
7533 (FP_CMP_EQ_S): Likewise.
7534 (FP_CMP_UNORD_S): Likewise.
7535 (FP_TO_INT_S): Likewise.
7536 (FP_FROM_INT_S): Likewise.
7537
a736ec37
JM
7538 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7539
ff12c11f
JM
7540 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7541 (FP_EX_INVALID_IMZ): Likewise.
7542 (FP_EX_INVALID_IMZ_FMA): Likewise.
7543 (FP_EX_INVALID_ISI): Likewise.
7544 (FP_EX_INVALID_ZDZ): Likewise.
7545 (FP_EX_INVALID_IDI): Likewise.
7546 (FP_EX_INVALID_SQRT): Likewise.
7547 (FP_EX_INVALID_CVI): Likewise.
7548 (FP_EX_INVALID_VC): Likewise.
7549 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7550 "invalid" exceptions.
7551 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7552 (_FP_ADD_INTERNAL): Likewise.
7553 (_FP_MUL): Likewise.
7554 (_FP_FMA): Likewise.
7555 (_FP_DIV): Likewise.
7556 (_FP_CMP_CHECK_NAN): Likewise.
7557 (_FP_SQRT): Likewise.
7558 (_FP_TO_INT): Likewise.
7559 (FP_EXTEND): Likewise.
7560
b6dcfe8c
AM
75612014-10-09 Allan McRae <allan@archlinux.org>
7562
7563 * po/fr.po: Update French translation from translation project.
7564
2d6a47ba
JM
75652014-10-09 Joseph Myers <joseph@codesourcery.com>
7566
cb831245
JM
7567 [BZ #14132]
7568 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7569 of INTDEF.
7570 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7571 (__cxa_atexit): Use libc_hidden_proto.
7572 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7573
5deeb190
JM
7574 [BZ #14132]
7575 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7576 declaration.
7577 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7578 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7579 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7580 [!_ISOMAC] (__iswctype_internal): Likewise.
7581 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7582 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7583 alias.
7584 (fcntl): Remove __fcntl_internal alias.
7585 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7586 __connect_internal alias.
7587 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7588 Likewise.
7589
454ac701
JM
7590 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7591 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7592 FP_DENORM_ZERO.
7593 (_FP_CHECK_FLUSH_ZERO): New macro.
7594 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7595 (_FP_CMP): Likewise.
7596 (_FP_CMP_EQ): Likewise.
7597 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7598 FP_DENORM_ZERO.
7599 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7600 (FP_TRUNC): Likewise.
7601
0022e688
JM
7602 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7603 treated as invalid conversion, not as normal exponent.
7604
73e28d9c
JM
7605 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7606 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7607 (_FP_CMP_EQ): Likewise.
7608 (_FP_CMP_UNORD): Likewise.
7609 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7610 (FP_CMP_EQ_D): Likewise.
7611 (FP_CMP_UNORD_D): Likewise.
7612 * soft-fp/extended.h (FP_CMP_E): Likewise.
7613 (FP_CMP_EQ_E): Likewise.
7614 (FP_CMP_UNORD_E): Likewise.
7615 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7616 (FP_CMP_EQ_Q): Likewise.
7617 (FP_CMP_UNORD_Q): Likewise.
7618 * soft-fp/single.h (FP_CMP_S): Likewise.
7619 (FP_CMP_EQ_S): Likewise.
7620 (FP_CMP_UNORD_S): Likewise.
7621 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7622 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7623 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7624 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7625 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7626 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7627 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7628 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7629 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7630 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7631 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7632 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7633 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7634 to FP_CMP_Q.
7635 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7636 FP_CMP_Q.
7637 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7638 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7639 FP_CMP_EQ_Q.
7640 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7641 FP_CMP_Q.
7642 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7643 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7644 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7645 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7646 FP_CMP_EQ_Q.
7647 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7648 FP_CMP_Q.
7649 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7650 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7651 FP_CMP_EQ_Q.
7652 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7653 FP_CMP_Q.
7654 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7655 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7656 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7657 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7658 FP_CMP_EQ_Q.
7659
43059f42
JM
7660 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7661 a subnormal result, set the underflow exception if trapping on
7662 underflow is enabled.
7663 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7664 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7665 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7666 redefine to 0.
7667 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7668 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7669 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7670 * soft-fp/extendxftf2.c (__extendxftf2): Use
7671 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7672
2d6a47ba
JM
7673 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7674 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7675 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7676 FP_HANDLE_EXCEPTIONS.
7677 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7678 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7679 FP_HANDLE_EXCEPTIONS.
7680 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7681 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7682 FP_HANDLE_EXCEPTIONS.
7683 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7684 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7685 FP_HANDLE_EXCEPTIONS.
7686
620f462e
JM
76872014-10-08 Joseph Myers <joseph@codesourcery.com>
7688
7689 [BZ #14132]
7690 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7691 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7692 use INTUSE.
7693 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7694 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7695 Remove alias.
7696 (__adjtimex): Define using libc_hidden_ver.
7697 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7698 Remove declaration.
7699 (ntp_gettime): Call __adjtimex directly.
7700 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7701 Remove declaration.
7702 (ntp_gettimex): Call __adjtimex directly.
7703 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7704 __adjtimex_internal alias.
7705
c763c5d2
RM
77062014-10-08 Roland McGrath <roland@hack.frob.com>
7707
7708 [BZ #17460]
7709 * nscd/nscd.c (more_help): Rewrite list of tables collection
7710 using xstrdup and asprintf.
7711
7712 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7713
7b8fb2b8
RM
77142014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7715 Roland McGrath <roland@hack.frob.com>
7716
7717 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7718 (do_lookup_unique): ... local function 'enter' here; update callers.
7719
abb280f7
JM
77202014-10-06 Joseph Myers <joseph@codesourcery.com>
7721
f7b42517
JM
7722 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7723 compat_symbol calls on [SHARED].
7724 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7725 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7726 Remove.
7727 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7728 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7729 (oldsetrlimit): Remove.
7730 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7732 (lchown): New syscall entry.
7733 (oldsetrlimit): Remove.
7734 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7735 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7736 (oldsetrlimit): Remove.
7737 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7738
abb280f7
JM
7739 [BZ #14138]
7740 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7741 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7742 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7743 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7744 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7745 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7746 (fchown): Likewise.
7747 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7748 (fchown): Likewise.
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7750 Likewise.
7751
47d46237
AZ
77522014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7753
7754 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7755 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7756 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7757 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7758 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7759 Likewise.
7760 (__old_sem_post): Likewise.
7761
77622014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7763
845a7343
CM
7764 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7765 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7766 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7767 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7768 Use INLINE_VSYSCALL macro.
7769 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7770 __vdso_clock_gettime.
7771 * sysdeps/unix/sysv/linux/tile/init-first.c
7772 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7773 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7774 __vdso_clock_gettime.
7775
83d641ef
CM
7776 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7777 to set up frame more cleanly.
7778
d9cd52e6
CM
7779 * sysdeps/tile/memcmp.c: New file.
7780
4b68ea11
CM
7781 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7782
c86f7b80
CM
7783 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7784 * sysdeps/tile/tilegx/strcasestr.c: New file.
7785 * sysdeps/tile/tilegx/strnlen.c: New file.
7786 * sysdeps/tile/tilegx/strstr.c: New file.
7787
1c4c1a6f
CM
7788 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7789
99d86ea3
AS
77902014-10-06 Arjun Shankar <arjun.is@lostca.se>
7791
7792 * nptl/tst-setuid3.c: Write errors to stdout.
7793
06210a44
KS
77942014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7795
7796 * elf/dl-deps.c
7797 (preload): New functions broken out of _dl_map_object_deps.
7798 (_dl_map_object_deps): Remove a nested function. Update call sites.
7799
6268f532
JM
78002014-10-01 Joseph Myers <joseph@codesourcery.com>
7801
7802 [BZ #14138]
7803 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7804 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7805
b925285f
SE
78062014-10-01 Steve Ellcey <sellcey@mips.com>
7807
7808 * sysdeps/mips/strcmp.S: New.
7809
754a15c6
JM
78102014-09-30 Joseph Myers <joseph@codesourcery.com>
7811
7812 [BZ #14138]
7813 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7814 (linkat): Likewise.
7815 (mkdirat): Likewise.
7816 (readlinkat): Likewise.
7817 (renameat): Likewise.
7818 (symlinkat): Likewise.
7819 (unlinkat): Likewise.
7820 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7821 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7822 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7823 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7824 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7825 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7826 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7827
85bb81c9
WN
78282014-09-30 Will Newton <will.newton@linaro.org>
7829
dc6fe23b
WN
7830 * math/math.h: Define long double math functions if
7831 _LIBC_TEST is defined.
7832 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7833
85bb81c9
WN
7834 * localedata/Makefile: Move assignment to tests-special
7835 into an ifdef testing run-built-tests.
7836 * timezone/Makefile: Likewise.
7837
b7e02da4
JM
78382014-09-29 Joseph Myers <joseph@codesourcery.com>
7839
7840 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7841 with $(BASH) not $(SHELL).
7842
62058ce6
CD
78432014-09-29 Carlos O'Donell <carlos@redhat.com>
7844 Matthew LeGendre <legendre1@llnl.gov>
7845
7846 [BZ #17411]
7847 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7848 l_reloc_result.
7849
8e257a29
KS
78502014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7851
7852 * stdio-common/printf_fp.c
7853 (hack_digit): New function, broken out of ...
7854 (__printf_fp): ... local function here. Update call sites.
7855 hack_digit now takes an additional parameter that is a pointer
7856 to a struct of the referenced locals. Those locals moved inside
7857 the struct and references updated.
7858
f4a58f0d
L
78592014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7860
7861 * aclocal.m4: Require autoconf 2.69.
7862 * configure: Regenerated.
7863 * sysdeps/aarch64/configure: Likewise.
7864 * sysdeps/alpha/configure: Likewise.
7865 * sysdeps/arm/armv7/configure: Likewise.
7866 * sysdeps/arm/configure: Likewise.
7867 * sysdeps/ia64/configure: Likewise.
7868 * sysdeps/mach/configure: Likewise.
7869 * sysdeps/mips/configure: Likewise.
7870 * sysdeps/s390/configure: Likewise.
7871 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7873
7874 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7875 file.
7876 * sysdeps/ia64/configure.ac: Likewise.
7877
93ae1eba
JM
78782014-09-26 Joseph Myers <joseph@codesourcery.com>
7879
1810d3ab
JM
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7881 specify symbol version for ld.so. Do not include entry for
7882 libpthread.
7883 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7884 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7885 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7886
93ae1eba
JM
7887 [BZ #14171]
7888 * Makeconfig [$(build-shared) = yes]
7889 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7890 makefiles.
7891 [$(build-shared) = yes && $(soversions.mk-done) = t]
7892 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7893 [$(build-shared) = yes && $(soversions.mk-done) = t]
7894 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7895 to Makerules.
7896 [$(build-shared) = yes && $(soversions.mk-done) = t]
7897 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7898 here.
7899 [$(build-shared) = yes && $(soversions.mk-done) = t]
7900 (common-generated): Don't append gnu/lib-names.h and
7901 gnu/lib-names.stmp here.
7902 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7903 (lib-names-h-abi): New variable.
7904 [$(build-shared) = yes && $(soversions.mk-done) = t]
7905 (lib-names-stmp-abi): Likewise.
7906 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7907 abi-variants] (before-compile): Append
7908 $(common-objpfx)$(lib-names-h-abi).
7909 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7910 abi-variants] (common-generated): Append gnu/lib-names.h.
7911 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7912 abi-variants] (install-others-nosubdir): Depend on
7913 $(inst_includedir)/$(lib-names-h-abi).
7914 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7915 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7916 [$(build-shared) = yes && $(soversions.mk-done) = t]
7917 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7918 [$(build-shared) = yes && $(soversions.mk-done) = t]
7919 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7920 [$(build-shared) = yes && $(soversions.mk-done) = t]
7921 (common-generated): Append $(lib-names-h-abi) and
7922 $(lib-names-stmp-abi).
7923 * scripts/lib-names.awk: Do not handle multi being set.
7924 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7925 Remove variable.
7926 (abi-lp64_be-ld-soname): Likewise.
7927 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7928 Likewise.
7929 (abi-hard-ld-soname): Likewise.
7930 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7931 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7932 Remove variable.
7933 (abi-o32_hard-ld-soname): Likewise.
7934 (abi-o32_soft_2008-ld-soname): Likewise.
7935 (abi-o32_hard_2008-ld-soname): Likewise.
7936 (abi-n32_soft-ld-soname): Likewise.
7937 (abi-n32_hard-ld-soname): Likewise.
7938 (abi-n32_soft_2008-ld-soname): Likewise.
7939 (abi-n32_hard_2008-ld-soname): Likewise.
7940 (abi-n64_soft-ld-soname): Likewise.
7941 (abi-n64_hard-ld-soname): Likewise.
7942 (abi-n64_soft_2008-ld-soname): Likewise.
7943 (abi-n64_hard_2008-ld-soname): Likewise.
7944 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7945 Likewise.
7946 (abi-64-v2-ld-soname): Likewise.
7947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7948 ld.so entries.
7949 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7950 variable.
7951 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7952 entry.
7953 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7954 variable.
7955 (abi-64-ld-soname): Likewise.
7956 (abi-x32-ld-soname): Likewise.
7957 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7958 entry.
7959 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7960
68870f12
JM
79612014-09-23 Joseph Myers <joseph@codesourcery.com>
7962
7963 [BZ #14138]
7964 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7965 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7966 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7967 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7968 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7969 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7970 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7971 syscall entry for GLIBC_2.2 symbol version.
7972 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7973 Likewise.
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7975 (setrlimit): Likewise.
7976 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7977 Likewise.
7978
ea58f202
WN
79792014-09-23 Will Newton <will.newton@linaro.org>
7980
7981 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7982 _LINUX_ARM_SYSDEP_H include guard too.
7983 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7984 define.
7985
69eb9a18
RV
79862014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7987
7988 * sysdeps/unix/sysv/linux/eventfd.c:
7989 Make first argument unsigned.
7990 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7991 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7992
20e5a5f7
OB
79932014-09-20 Ondřej Bílka <neleai@seznam.cz>
7994
7995 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7996 * socket/sys/socket.h: Likewise
7997 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7998
d3c827e7
AK
79992014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8000
8001 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8002
fe1cc35a
AS
80032014-09-17 Arjun Shankar <arjun.is@lostca.se>
8004
8005 * time/tst-ftime.c: New test.
8006 * time/Makefile (tests): Add tst-ftime.
8007
4e8afe69
JM
80082014-09-17 Joseph Myers <joseph@codesourcery.com>
8009
c4fe3ea7
JM
8010 * soft-fp/extended.h: Fix comment formatting.
8011 * soft-fp/op-1.h: Likewise.
8012 * soft-fp/op-2.h: Likewise.
8013 * soft-fp/op-4.h: Likewise.
8014 * soft-fp/op-8.h: Likewise.
8015 * soft-fp/op-common.h: Likewise.
8016 * soft-fp/soft-fp.h: Likewise.
8017
4e8afe69
JM
8018 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8019
af296fcd
JM
80202014-09-16 Joseph Myers <joseph@codesourcery.com>
8021
8022 [BZ #6652]
8023 * Makeconfig (soversions-default-setname): Remove variable.
8024 ($(common-objpfx)soversions.i): Don't pass default_setname to
8025 soversions.awk.
8026 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8027 oldest_abi to abi-versions.awk.
8028 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8029 * config.make.in (oldest-abi): Remove variable.
8030 * configure.ac (--enable-oldest-abi): Remove configure option.
8031 * configure: Regenerated.
8032 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8033 text.
8034 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8035 * scripts/soversions.awk: Do not handle default_setname variable.
8036 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8037 variable.
8038 * sysdeps/mach/hurd/configure: Regenerated.
8039 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8040 variable.
8041 * sysdeps/unix/sysv/linux/configure: Regenerated.
8042
545583d6
SP
80432014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8044
d330b980
SP
8045 * elf/Makefile (CFLAGS-interp.c): Remove.
8046 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8047 path string.
8048 * elf/interp.c: Include generated runtime-linker.h
8049
02657da2
SP
8050 * Makerules (lib%.so): Don't include $(+interp) in
8051 prerequisites.
8052 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8053 * dlfcn/eval.c: Remove file.
8054
653b1080
SP
8055 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8056 macros.
8057
602f80ec
SP
8058 [BZ #17266]
8059 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8060 4.2 and newer.
8061
545583d6
SP
8062 [BZ #17370]
8063 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8064
884ddc50
SP
80652014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8066 Jakub Jelinek <jakub@redhat.com>
8067
8068 [BZ #17266]
8069 * libio/stdio.h: Check definition of __fortify_function
8070 instead of __extern_always_inline to include bits/stdio2.h.
8071 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8072 check if __extern_always_inline is defined.
8073 [__USE_MISC || __USE_XOPEN]: Likewise.
8074 [__USE_ISOC99] Likewise.
8075 * misc/sys/cdefs.h (__fortify_function): Define only if
8076 __extern_always_inline is defined.
8077 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8078 __extern_always_inline and __extern_inline only for g++-4.3
8079 and newer or a compatible gcc.
8080
a7b87268
AS
80812014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8082
8083 [BZ #17371]
8084 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8085 last change to handle zero prefix length.
8086
3f41521d
SP
80872014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8088
61fe374a
SP
8089 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8090 _SC_REGEX_VERSION.
8091
3f41521d
SP
8092 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8093 _POSIX_RAW_SOCKETS.
8094
d8f879ee
AM
80952014-09-13 Allan McRae <allan@archlinux.org>
8096
8097 * po/ru.po: Update Russian translation from translation project.
8098
c079afb7
RM
80992014-09-12 Roland McGrath <roland@hack.frob.com>
8100
a62b3c15
RM
8101 * locale/programs/locale.c (show_locale_vars): Inline local function
8102 into its sole call site. Clean up some style nits.
8103 (print_item): New function, broken out of ...
8104 (show_info): ... local function here. Clean up style nits.
8105
d7e49b19
RM
8106 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8107 out of ...
8108 (set_class_defaults): ... local function set_default here.
8109 Define set_default as a macro locally to pass constant parameters.
8110 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8111 rather than a shared local.
8112
c079afb7
RM
8113 * stdlib/rpmatch.c (try): New function, broken out of ...
8114 (rpmatch): ... local function here. Also, prototypify definition.
8115
0bd72468
JM
81162014-09-12 Joseph Myers <joseph@codesourcery.com>
8117
ba90e050
JM
8118 * scripts/soversions.awk: Do not handle configuration names.
8119 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8120 vendor and os variables to soversions.awk.
8121 * configure.ac: Do not modify gnu-* host_os.
8122 * configure: Regenerated
8123 * shlib-versions: Remove first column with configuration names.
8124 * nptl/shlib-versions: Likewise.
8125 * nptl_db/shlib-versions: Likewise.
8126 * sysdeps/hppa/shlib-versions: Likewise.
8127 * sysdeps/m68k/shlib-versions: Likewise.
8128 * sysdeps/mach/hurd/shlib-versions: Likewise.
8129 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8130 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8131 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8132 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8133 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8134 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8135 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8136 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8138 Likewise.
8139 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8140 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8141 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8142 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8143 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8144 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8145 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8146 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8147
73a39112
JM
8148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8149 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8151 Regenerated.
8152 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8154 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8155
c729e7c1
JM
8156 * shlib-versions: Remove OS-specific entries. Moved to files in
8157 sysdeps.
8158 * sysdeps/mach/hurd/shlib-versions: New file.
8159 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8160
dc932a24
JM
8161 * nptl/shlib-versions: Remove architecture-specific entries.
8162 Moved to files in sysdeps.
8163 * shlib-versions: Likewise.
8164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8165 file.
8166 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8167 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8168 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8169 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8170
0bd72468
JM
8171 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8172 (UDP_NO_CHECK6_RX): Likewise.
8173
920238e0
SP
81742014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8175
8176 * sysdeps/posix/sysconf.c (__sysconf): Spell
8177 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8178
ba7b4d29
FW
81792014-08-12 Florian Weimer <fweimer@redhat.com>
8180
8181 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8182 loading.
8183 * iconv/Versions (__gconv_transliterate): Export for use from
8184 gconv modules.
8185 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8186 (struct __gconv_trans_data, __gconv_trans_fct,
8187 __gconv_trans_context_fct, __gconv_trans_query_fct,
8188 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8189 definitions.
8190 (struct __gconv_step_data): Remove __trans member.
8191 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8192 longer hidden. Remove unused trans_data argument.
8193 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8194 (__gconv_translit_find): Remove declaration.
8195 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8196 prototype.
8197 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8198 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8199 trans_data argument. Add hidden definition.
8200 (__gconv_translit_find): Remove.
8201 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8202 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8203 * iconv/skeleton.c: Remove transliteration initialization.
8204 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8205 __gconv_step_data initialization.
8206 * libio/iofwide.c (__libio_translit_): Remove.
8207 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8208 * wcsmbs/btowc.c (__btowc): Likewise.
8209 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8210 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8211 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8212 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8213 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8214 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8215 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8216 * wcsmbs/wctob.c (wctob): Likewise.
8217
5379aebd
SP
82182014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8219
8220 [BZ #16194]
8221 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8222 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8223 register usage.
8224 * sysdeps/x86/Makefile: Adjust.
8225
8c0ab919
RM
82262014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8227 Roland McGrath <roland@hack.frob.com>
8228
8229 * locale/weight.h: Add include guard.
8230 (findidx): Make static rather than auto; take new parameters
8231 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8232 * locale/weightwc.h: Likewise.
8233 * posix/fnmatch_loop.c
8234 (FCT): Change type of EXTRA from int32_t to wint_t.
8235 Don't include either header inside the function.
8236 Call FINDIDX rather than findidx, and pass new arguments.
8237 #undef FINDIDX at the end of the file.
8238 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8239 FINDIDX before including fnmatch_loop.c for the non-wide version.
8240 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8241 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8242 for the wide version.
8243 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8244 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8245 Pass new arguments to findidx.
8246 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8247 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8248 Don't #include it inside the function. Pass new arguments to findidx.
8249 * posix/regex_internal.h
8250 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8251 (re_string_elem_size_at): Don't #include it inside the function.
8252 Pass new arguments to findidx.
8253 * string/strcoll_l.c: #include WEIGHT_H at top level.
8254 (get_next_seq): Don't #include it inside the function.
8255 Pass new arguments to findidx.
8256 (get_next_seq_nocache): Likewise.
8257 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8258 (STRXFRM): Don't #include it inside the function.
8259 Pass new arguments to findidx.
8260
52ffbdf2
FW
82612014-09-11 Florian Weimer <fweimer@redhat.com>
8262
8263 [BZ #17344]
8264 * malloc/malloc.c (unlink): Turn asserts into a call to
8265 malloc_printerr.
8266
984c0ea9
TL
82672014-09-11 Tim Lammens <tim.lammens@gmail.com>
8268
8269 [BZ #17370]
8270 * libio/wfileops (do_ftell_wide): Free OUT.
8271
3daee107
CM
82722014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8273
8274 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8275
58b930ae
SP
82762014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8277
8278 [BZ #17363]
8279 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8280 group if the current group is empty.
8281
3b473fec
AZ
82822014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8283
71ae8647
AZ
8284 * benchtests/bench-memset.c (test_main): Add more test from size
8285 from 32 to 512 bytes.
8286 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8287 Add POWER8 memset object.
8288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8289 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8290 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8291 implementation.
8292 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8293 Likewise.
8294 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8295 multiarch POWER8 memset optimization.
8296 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8297 POWER8 memset optimization.
8298
3b473fec
AZ
8299 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8300 Remove bzero multiarch objects.
8301 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8302 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8303 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8304 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8305 Remove define.
8306 [__bzero]: Redefine to specific name.
8307 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8308 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8309 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8310 define.
8311 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8312 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8313
e6fb9587
FW
83142014-09-10 Florian Weimer <fweimer@redhat.com>
8315
8316 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8317 warnings into errors.
8318
8319 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8320 __cxa_thread_atexit_impl prototype.
8321
9d3a350b
SE
83222014-09-09 Steve Ellcey <sellcey@mips.com>
8323
8324 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8325 Fix capitalization of error message.
8326
0febba23
SE
83272014-09-09 Steve Ellcey <sellcey@mips.com>
8328
8329 * sysdeps/mips/preconfigure: Modify ABI tests.
8330
645a0e9c
CD
83312014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8332
8333 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8334
d83f0734
CD
83352014-09-07 Roland McGrath <roland@hack.frob.com>
8336 Carlos O'Donell <carlos@systemhalted.org>
8337
8338 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8339 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8340 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8341 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8342 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8343 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8344 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8345 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8346 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8347 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8348 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8349 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8350 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8351 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8352 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8353 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8354 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8355 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8356 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8357 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8358 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8359 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8360 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8361 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8362 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8363 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8364 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8365 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8366 Deconditionalize the code that was previously under [RESET_PID].
8367 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8368 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8369 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8370 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8371 include sysdep.h.
8372
21c83793
AM
83732014-09-08 Allan McRae <allan@archlinux.org>
8374
8375 * version.h (RELEASE): Set to "development".
8376 (VERSION): Set to "2.20.90"
8377
1cd9b65c
AM
83782014-09-07 Allan McRae <allan@archlinux.org
8379
b8079dd0
AM
8380 * version.h (RELEASE): Set to "stable".
8381 (VERSION): Set to "2.20"
8382 * include/features.h (__GLIBC_MINOR__): Set to 20.
8383
c46303ef
AM
8384 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8385 Liebler.
8386
1cd9b65c
AM
8387 * po/ko.po: Update Korean translation from translation project.
8388
8622092d
CM
83892014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8390
8391 [BZ #17354]
8392 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8393 macro for handling signed relocations.
8394
41488498
FW
83952014-09-03 Florian Weimer <fweimer@redhat.com>
8396
8397 [BZ #17325]
8398 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8399 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8400 assert.
8401 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8402 * iconvdata/ibm935.c (BODY): Likewise.
8403 * iconvdata/ibm937.c (BODY): Likewise.
8404 * iconvdata/ibm939.c (BODY): Likewise.
8405 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8406 assert.
8407 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8408 script.
8409 * iconvdata/run-iconv-test.sh: New test loop for checking for
8410 decoder crashers.
8411
a78b712d
KR
84122014-09-02 Khem Raj <raj.khem@gmail.com>
8413
8414 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8415 libm_hidden_ver.
8416
cb08abc6
AM
84172014-09-01 Allan McRae <allan@archlinux.org>
8418
2c31e102
AM
8419 * po/eo.po: Update Esperanto translation from translation project.
8420
cb08abc6
AM
8421 * po/ca.po: Update Catalan translation from translation project.
8422
17a62de1
ST
84232014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8424
8425 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8426 __proc_dostop call.
8427
9570bc53
MW
84282014-08-27 Mark Wielaard <mjw@redhat.com>
8429
8430 [BZ #17319]
8431 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8432 to call set_thread_area instead of hand written asm.
8433 (__NR_set_thread_area): Removed define.
8434 (TLS_FLAG_WRITABLE): Likewise.
8435 (__ASSUME_SET_THREAD_AREA): Remove check.
8436 (TLS_EBX_ARG): Remove define.
8437 (TLS_LOAD_EBX): Likewise.
8438
b0f955c9
ST
84392014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8440
8441 Simplify atomicity of socket creation in bind.
8442
8443 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8444 looking up the name after linking the file.
8445
529bf515
AM
84462014-08-27 Allan McRae <allan@archlinux.org>
8447
8448 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8449
a1a6a401
FW
84502014-08-26 Florian Weimer <fweimer@redhat.com>
8451
8452 [BZ #17187]
8453 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8454 trans_compare, open_translit, __gconv_translit_find):
8455 Remove module loading code.
8456
686ab290
AM
84572014-08-26 Allan McRae <allan@archlinux.org>
8458
e4e7cfd2
AM
8459 * po/vi.po: Update Vietnamese translation from translation project.
8460
6aa09f71
AM
8461 * po/uk.po: Update Ukrainian translation from translation project.
8462
edc0660e
AM
8463 * po/fr.po: Update French translation from translation project.
8464
7eea72ac
AM
8465 * po/ru.po: Update Russian translation from translation project.
8466
93c49eff
AM
8467 * po/pl.po: Update Polish translation from translation project.
8468
46acaf63
AM
8469 * po/cs.po: Update Czech translation from translation project.
8470
a9f5ce98
AM
8471 * po/de.po: Update German translation from translation project.
8472
373f2b78
AM
8473 * po/bg.po: Update Bulgarian translation from translation project.
8474
e7548bd8
AM
8475 * po/sv.po: Update Sweedish translation from translation project.
8476
c526bf4d
AM
8477 * po/nl.po: Update Dutch translation from translation project.
8478
686ab290
AM
8479 * po/es.po: Update Spanish translation from translation project.
8480
eb72478a
SP
84812014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8482
dd763fdb
SP
8483 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8484
318c7a58
SP
8485 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8486 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8487 (CPPFLAGS-iconvconfig): Likewise.
8488 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8489
eb72478a
SP
8490 * include/libc-symbols.h: Remove unnecessary check for
8491 NOT_IN_libc.
8492 * nptl/pthreadP.h: Likewise.
8493 * sysdeps/aarch64/setjmp.S: Likewise.
8494 * sysdeps/alpha/setjmp.S: Likewise.
8495 * sysdeps/arm/sysdep.h: Likewise.
8496 * sysdeps/i386/setjmp.S: Likewise.
8497 * sysdeps/m68k/setjmp.c: Likewise.
8498 * sysdeps/posix/getcwd.c: Likewise.
8499 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8500 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8501 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8502 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8503 * sysdeps/sh/sh3/setjmp.S: Likewise.
8504 * sysdeps/sh/sh4/setjmp.S: Likewise.
8505 * sysdeps/unix/alpha/sysdep.h: Likewise.
8506 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8507 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8508 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8509 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8512 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8513 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8514 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8517 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8519 * sysdeps/x86_64/setjmp.S: Likewise.
8520
d44a052c
JM
85212014-08-13 Joseph Myers <joseph@codesourcery.com>
8522
8523 [BZ #17263]
8524 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8525 <stdint.h>.
8526 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8527 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8528
508ce3ac
SP
85292014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8530
e44c8b0e
SP
8531 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8532
508ce3ac
SP
8533 [BZ #17262]
8534 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8535 and __x86_64__ when disabling x87 inline functions.
8536
b4acef1f
L
85372014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8538
8539 [BZ #17259]
8540 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8541 asm statement with __cpuid_count.
8542
61b1ef6e
MF
85432014-08-12 Mike Frysinger <vapier@gentoo.org>
8544
8545 * configure.ac: Change __ehdr_start code to dereference the struct.
8546 Run readelf on the output to look for relocations.
8547 * configure: Regenerated.
8548
898c62f4
JM
85492014-08-12 Joseph Myers <joseph@codesourcery.com>
8550
8551 [BZ #17261]
8552 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8553 value to 0.
8554 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8555
9a8a5720
RM
85562014-08-12 Roland McGrath <roland@hack.frob.com>
8557
8558 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8559
4e75751c
BO
85602014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8561
8562 [BZ #16892]
8563 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8564 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8565
bb2ce416
SA
85662014-08-12 Sean Anderson <seanga2@gmail.com>
8567
8568 * malloc/malloc.c: Fix typo in comment.
8569
7950a4ee
AM
85702014-08-09 Allan McRae <allan@archlinux.org>
8571
8572 * Regenerate libc.po.
8573
f469c49f
MF
85742014-08-08 Mike Frysinger <vapier@gentoo.org>
8575
8576 * intl/tst-gettext2.sh: Check every lang file for creation.
8577
656b84c2
WD
85782014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8579
8580 * sysdeps/aarch64/fpu/math_private.h
8581 (libc_feholdsetround_noex_aarch64_ctx): New function.
8582
538e9e45
W
85832014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8584
8585 * sysdeps/arm/armv6/strcpy.S (strcpy):
8586 Fix performance issue in misaligned cases.
8587
d4795e4a
AZ
85882014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8589
8590 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8591 Move definition from termios.h.
8592 (struct termio): Likewise.
8593 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8594 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8595 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8596 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8597 Likewise.
8598 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8599 Move definition to ioctl-types.h
8600 (struct termio): Likewise.
8601 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8602 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8603 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8604 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8605 Likewise.
8606
64accb62
RH
86072014-08-05 Richard Henderson <rth@redhat.com>
8608
27bb6dc0
RH
8609 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8610 exceptions.
8611 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8612 Add fraiseexcpt.
8613 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8614 Use __feraiseexcept.
8615 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8616 Protect libm symbols with IS_IN_libm.
8617
64accb62
RH
8618 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8619
e5292691
BO
86202014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8621
8622 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8623
5b4bd2d4
WN
86242014-08-04 Will Newton <will.newton@linaro.org>
8625
8626 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8627 file.
8628
fcadaeef
MF
86292014-08-04 Mike Frysinger <vapier@gentoo.org>
8630
8631 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8632 variants for each function.
8633
43a94c64
RM
86342014-08-04 Roland McGrath <roland@hack.frob.com>
8635
8636 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8637 appended ...
8638 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8639 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8640 appended ...
8641 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8642 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8643 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8644 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8645 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8646 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8647 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8648 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8649 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8650 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8651 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8652 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8653 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8654 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8655 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8656 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8657 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8658 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8659 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8660 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8661 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8662 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8663 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8664 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8665 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8666 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8667 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8668 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8669 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8670 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8671 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8672 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8673 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8674 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8675 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8676 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8677 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8678 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8679 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8680 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8681 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8682 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8683 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8684 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8685 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8686 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8687 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8688 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8689 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8690 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8691 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8692 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8693 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8694 Update #include.
8695 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8696 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8697
8f3c1fa4
RM
86982014-08-04 Roland McGrath <roland@hack.frob.com>
8699
8700 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8701 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8702 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8703 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8704 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8705 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8706
ca08746f
RM
87072014-08-04 Roland McGrath <roland@hack.frob.com>
8708
8709 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8710 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8711 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8712 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8713
9c925ff9
RM
87142014-08-04 Roland McGrath <roland@hack.frob.com>
8715
8716 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8717 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8718 (__libc_vfork): Define function under this name.
8719 (__vfork): Define as an alias.
8720 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8721 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8722
e641054c
RM
87232014-08-04 Roland McGrath <roland@hack.frob.com>
8724
8725 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8726 that was previously under [RESET_PID].
8727 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8728
dacdc867
AS
87292014-08-04 Andreas Schwab <schwab@suse.de>
8730
8731 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8732
41f725ff
MF
87332014-08-03 Mike Frysinger <vapier@gentoo.org>
8734
8735 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8736 (main): Likewise.
8737
277cfb31
RM
87382014-08-01 Roland McGrath <roland@hack.frob.com>
8739
8740 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8741
4896f049
RH
87422014-08-01 Richard Henderon <rth@redhat.com>
8743
8744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8745 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8746 typo in exact zero test.
8747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8748 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8749 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8750
6f64e7d7
RM
87512014-08-01 Roland McGrath <roland@hack.frob.com>
8752
8753 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8754 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8755 * sysdeps/arm/sysdep.h: ... here.
8756 [!__ASSEMBLER__]: Include <stdint.h>.
8757
3f3dd810
SP
87582014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8759
a476ac4b
SP
8760 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8761 (HAVE_WCTYPE_H): Likewise.
8762 (HAVE_ISWCTYPE): Likewise.
8763 (ENABLE_NLS): Likewise.
8764 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8765 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8766
78dd658a
SP
8767 * posix/regex_internal.c: Check if DEBUG is defined and is
8768 set.
8769
3f3dd810
SP
8770 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8771 (HAVE_MBSRTOWCS): Likewise.
8772 * posix/fnmatch.c: Include string.h unconditionally.
8773
95ee7fb1
SL
87742014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8775
8776 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8777 reversal.
8778
23fe486b
RM
87792014-07-31 Roland McGrath <roland@hack.frob.com>
8780
f61a113f
RM
8781 * sysdeps/generic/safe-fatal.h: New file.
8782 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8783 * nptl/forward.c: Include it.
8784 (__pthread_unwind): Use __safe_fatal as default action, rather
8785 than a bogus use of INTERNAL_SYSCALL that could never work.
8786
9fe7e787
RM
8787 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8788 * configure.ac (libc_cv_builtin_trap): New test.
8789 * configure: Regenerated.
8790 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8791 (ABORT_INSTRUCTION): Define using __builtin_trap.
8792
23fe486b
RM
8793 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8794 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8795 * sysdeps/nptl/nptl-signals.h: New file.
8796 * nptl/pthreadP.h: Include <nptl-signals.h>.
8797
f349489e
SL
87982014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8799
8800 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8801 (ONE_DIRECTION): Define.
8802 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8803 (ONE_DIRECTION): Define.
8804 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8805 (ONE_DIRECTION): Define.
8806
2f438e20
SL
88072014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8808
8809 * sysdeps/s390/Makefile: Delete file.
8810 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8811 * sysdeps/s390/__longjmp.c: Delete file.
8812 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8813 Remove fields __flags and __reserved.
8814 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8815 and add versioning.
8816 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8817 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8818 * sysdeps/s390/rtld-setjmp.S: Likewise.
8819 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8820 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8821 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8822 * sysdeps/s390/s390-32/setjmp.S: ... here.
8823 Add versioning.
8824 (__sigsetjmp): Remove setting __flags field.
8825 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8826 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8827 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8828 * sysdeps/s390/s390-64/setjmp.S: ... here.
8829 Add versioning.
8830 (__sigsetjmp): Remove setting __flags field.
8831 * sysdeps/s390/setjmp.S: Delete file.
8832 * sysdeps/s390/sigjmp.c: Likewise.
8833 * sysdeps/s390/v1-longjmp.c: Likewise.
8834 * sysdeps/s390/v1-setjmp.h: Likewise.
8835 * sysdeps/s390/v1-sigjmp.c: Likewise.
8836 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8837 Remove v1-longjmp_chk.
8838 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8839 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8840 Include debug/longjmp_chk.c and add versioning.
8841 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8842 Include nptl/pt-longjmp.c and add versioning.
8843 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8844 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8845 Include __longjmp.c.
8846 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8847 Move to ...
8848 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8849 (__getcontext): Remove setting __flags field.
8850 Add versioning.
8851 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8852 Don't restore upper high grps.
8853 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8854 Likewise.
8855 (__swapcontext): Remove setting uc_flags field.
8856 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8857 Delete file.
8858 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8859 Include __longjmp.c.
8860 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8861 Move to ...
8862 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8863 (__getcontext): Remove setting __flags field.
8864 Add versioning.
8865 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8866 (__swapcontext): Remove setting uc_flags field.
8867 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8868 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8869 Remove fields uc_high_gprs and __reserved.
8870 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8871 New file with reverted content.
8872 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8873 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8874 Regenerated.
8875 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8876 Regenerated.
8877
6c9578a2
AS
88782014-07-31 Andreas Schwab <schwab@suse.de>
8879
8880 * config.h.in (HAVE_IFUNC): Define to 0.
8881 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8882 definedness.
8883
05f3633d
LM
88842014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8885
8886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8887 memmove-avx-unaligned, memcpy-avx-unaligned and
8888 mempcpy-avx-unaligned.
8889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8890 Add tests for AVX memcpy functions.
8891 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8892 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8893 memcpy_chk.
8894 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8895 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8896 memmove_chk.
8897 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8898 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8899 mempcpy_chk.
8900 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8901 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8902 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8903
a53fbd8e
AZ
89042013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8905
8906 [BZ #17213]
8907 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8908 powerpc64le.
8909
0961f7e1
JL
89102014-07-29 Jeff Layton <jlayton@poochiereds.net>
8911
8912 [BZ #16839]
8913 * manual/llio.texi: Add section about open file description locks.
8914 * manual/examples/ofdlocks.c: Example of open file description
8915 lock usage.
8916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8917 F_OFD_SETLK, and F_OFD_SETLKW.
8918
cc5fb300
AM
89192014-07-23 Allan McRae <allan@archlinux.org>
8920
8921 * po/es.po: Update Spanish translation from translation project.
8922
23329dca
AS
89232014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8924
8925 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8926
9c82da17
MR
89272014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8928
8929 [BZ #17078]
8930 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8931 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8932 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8933
29c4f53e
JM
89342014-07-17 Joseph Myers <joseph@codesourcery.com>
8935
831b9896
JM
8936 [BZ #17088]
8937 * math/fesetenv.c (__fesetenv)
8938 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8939 * math/feupdateenv.c (__feupdateenv)
8940 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8941
b21c2d50
JM
8942 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8943 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8944 (__ASSUME_SOCKETCALL): Do not define.
8945
067764ef
JM
8946 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8947 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8948 (__ASSUME_SOCKETCALL): Do not define.
8949 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8950 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8951 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8952 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8953 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8954 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8955 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8956 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8957
642530c1
JM
8958 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8959 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8960 (__ASSUME_SOCKETCALL): Do not define.
8961 (__ASSUME_IPC64): Define unconditionally.
8962 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8963 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8964 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8965 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8966 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8967 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8968 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8969 Likewise.
8970
03f77315
JM
8971 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8972 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8973 (__ASSUME_SOCKETCALL): Do not define.
8974 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8975 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8976 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8977 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8978 (__ASSUME_REQUEUE_PI): Define unconditionally.
8979 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8980 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8981 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8982 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8983 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8984 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8985
083b1f7c
JM
8986 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8987 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8988 (__ASSUME_SOCKETCALL): Do not define.
8989 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8990 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8991 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8992 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8993 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8994 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8995
5be44ea6
JM
8996 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8997 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8998 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8999 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9000 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9001 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9002 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9003 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9004 (__ASSUME_GETCPU_SYSCALL): Likewise.
9005
d95ffd4c
JM
9006 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9007 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9008 cases for individual architectures.
9009 * sysdeps/gnu/configure: Regenerated.
9010 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9011 LIBC_SLIBDIR_RTLDDIR.
9012 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9013 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9014 LIBC_SLIBDIR_RTLDDIR.
9015 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9017 LIBC_SLIBDIR_RTLDDIR.
9018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9019 Regenerated.
9020 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9021 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9022 file.
9023 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9024 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9025 file.
9026 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9027 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9028 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9029 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9030
29c4f53e
JM
9031 * sysdeps/aarch64/shlib-versions: Move to ...
9032 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9033 * sysdeps/alpha/shlib-versions: Move to ...
9034 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9035 * sysdeps/arm/shlib-versions: Move to ...
9036 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9037 * sysdeps/hppa/shlib-versions: Move all contents except for
9038 libgcc_s entry to ...
9039 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9040 entry from ...
9041 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9042 * sysdeps/ia64/shlib-versions: Move to ...
9043 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9044 entry from ...
9045 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9046 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9047 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9048 * sysdeps/microblaze/shlib-versions: Move to ...
9049 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9050 * sysdeps/mips/shlib-versions: Move to ...
9051 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9052 entry from ...
9053 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9054 * sysdeps/tile/shlib-versions: Move to ...
9055 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9056 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9057 from ...
9058 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9059 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9060 entry from ...
9061 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9062
32bead5b
WN
90632014-07-17 Will Newton <will.newton@linaro.org>
9064
57977c4b
WN
9065 * sysdeps/arm/bits/atomic.h
9066 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9067 (__arch_compare_and_exchange_bool_16_int): Likewise.
9068 (__arch_compare_and_exchange_bool_64_int): Likewise.
9069
32bead5b
WN
9070 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9071 into an #else block.
9072
37fccd41
RM
90732014-07-16 Roland McGrath <roland@hack.frob.com>
9074
9075 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9076 just Linux configurations. Test empirically that the compiler sets
9077 __ARM_EABI__, rather than using the tuple to decide.
9078 * sysdeps/arm/preconfigure: Regenerated.
9079 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9080 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9081 contents appended ...
9082 * sysdeps/arm/configure.ac: ... here.
9083 * sysdeps/arm/configure: Regenerated.
9084
b365f3ec
RM
90852014-07-15 Roland McGrath <roland@hack.frob.com>
9086
8badf496
RM
9087 * nptl/pthread_kill.c: New file.
9088 * nptl/pthread_sigmask.c: New file.
9089 * nptl/pthread_sigqueue.c: New file.
9090
3df6f22e
RM
9091 * sysdeps/nptl/lowlevellock.h: New file.
9092 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9093 * sysdeps/nptl/lowlevellock-futex.h: New file.
9094
b365f3ec
RM
9095 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9096 Remove dead declarations.
9097
f2fef657
L
90982014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9099
9100 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9101 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9102 config-cflags-avx2.
9103 * sysdeps/x86_64/configure.ac: Likewise.
9104 * sysdeps/i386/configure: Regenerated.
9105 * sysdeps/x86_64/configure: Likewise.
9106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9107 memset-avx2 only if config-cflags-avx2 is yes.
9108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9109 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9110 defined.
9111 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9112 only if HAVE_AVX2_SUPPORT is defined.
9113 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9114
f6c44d47
AM
91152014-07-14 Alan Modra <amodra@gmail.com>
9116
9117 [BZ #17153]
9118 * elf/elf.h (DT_PPC64_NUM): Correct value.
9119 * NEWS: Add to fixed bug list.
9120
7ee03f00
JM
91212014-07-13 Jim Meyering <meyering@fb.com>
9122
9123 [BZ 17150]
9124 regex: don't deref NULL upon heap allocation failure
9125 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9126 failure in one more place.
9127 To trigger the segfault, configure grep -with-included-regex,
9128 build it, and run these commands:
9129 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9130
9d39d517
AS
91312014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9132
9133 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9134
a75b89b7
RH
91352014-07-11 Richard Henderson <rth@redhat.com>
9136
9137 * sysdeps/aarch64/libm-test-ulps: Update.
9138
771eb141
FW
91392014-07-10 Florian Weimer <fweimer@redhat.com>
9140
9141 [BZ #17135]
9142 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9143 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9144 (__nptl_setxid): Initialize error member. Call
9145 __nptl_setxid_error.
9146 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9147 * nptl/descr.h (struct xid_command): Add error member.
9148 * nptl/tst-setuid3.c: New file.
9149 * nptl/Makefile (tests): Add it.
9150
bc1da176
AZ
91512014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9152
9153 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9154 New define.
9155 (__lll_trylock): Use __lll_base_trylock.
9156 (__lll_cond_trylock): Likewise.
9157
887865fc
RM
91582014-07-10 Roland McGrath <roland@hack.frob.com>
9159
c0c6bac9
RM
9160 * nptl/pthread_create.c (start_thread): Use atomic_or and
9161 lll_futex_wake directly rather than lll_robust_dead.
9162 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9163 (lll_robust_dead): Macro removed.
6a42be57 9164 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
9165 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9166 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9167 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9168 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9169 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9170 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9171 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9172 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9173 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9174 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9176 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9177 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9178 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9179
887865fc
RM
9180 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9181 Use atomic_compare_and_exchange_val_acq directly rather than
9182 lll_robust_trylock.
9183 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9184 (__lll_robust_trylock, lll_robust_trylock): Removed.
9185 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9186 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9187 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9188 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9189 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9190 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9191 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9192 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9193 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9194 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9195 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9196 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9197 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9198 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9199
58536726
FW
92002014-07-02 Florian Weimer <fweimer@redhat.com>
9201
9202 * manual/locale.texi (Locale Names): New section documenting
9203 locale name syntax. Adjust menu and node chaining accordingly.
9204 (Choosing Locale): Reference Locale Names, Locale Categories.
9205 Mention setting LC_ALL=C. Reflect that name syntax is now
9206 documented.
9207 (Locale Categories): New section title. Reference Locale Names.
9208 LC_ALL is an environment variable, but not a category.
9209 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9210 description, now in Locale Name. Reference that section. Locale
9211 name syntax is now documented.
9212
4e8f95a0
FW
92132014-07-02 Florian Weimer <fweimer@redhat.com>
9214
9215 [BZ #17137]
9216 * locale/findlocale.c (name_present, valid_locale_name): New
9217 functions.
9218 (_nl_find_locale): Use the loc_name variable to store name
9219 candidates. Call name_present and valid_locale_name to check and
9220 validate locale names. Return an error if the locale is invalid.
9221
d1836456
FW
92222014-07-02 Florian Weimer <fweimer@redhat.com>
9223
9224 * locale/setlocale.c (setlocale): Use strdup for allocating
9225 composite name copy.
9226
d69b7f5a
SP
92272014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9228
888c679b
SP
9229 Sync up with gnulib.
9230 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9231 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9232 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9233 and _GL_ARG_NONNULL.
9234 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9235 [!_LIBC]: Include code for Windows and Cygwin.
9236 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9237 Include prototype for int strerror_r.
9238 [!_LIBC] (is_open): New function.
9239 (flush_stdout): New function.
9240 (print_errno_message): Use it.
9241 (error): Likewise.
9242 (error_at_line): Likewise.
9243 (error_tail) Add function attribute macros. Use
9244 __builtin_expect.
9245
180e0e4b
SP
9246 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9247
d22f1fe2
SP
9248 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9249
12f2254b
SP
9250 * io/ftw.c: Include sys/param.h unconditionally.
9251
c3c7c360
SP
9252 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9253
d62aa75a
SP
9254 [BZ #17125]
9255 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9256 libc_freeres_ptr.
9257 (freecache): New function to free CACHE on exit.
9258
d69b7f5a
SP
9259 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9260 initialization.
9261
5efe06a1
DM
92622014-07-09 David S. Miller <davem@davemloft.net>
9263
9264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9265
7000d82e
DM
9266 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9267 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9268 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9269 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9270 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9271 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9272 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9273 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9274 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9275 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9276 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9277 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9278 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9279
c213442d
AS
92802014-07-09 Andreas Schwab <schwab@suse.de>
9281
4a2552c3
AS
9282 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9283 output.
9284 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9285 (do_test): Likewise.
9286
c213442d
AS
9287 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9288
82374e65
WN
92892014-07-09 Will Newton <will.newton@linaro.org>
9290
9291 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9292 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9293 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9294 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9295 * sysdeps/hppa/start.S (_start): Likewise.
9296
6680738a
SP
92972014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9298
6ee3eab4
SP
9299 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9300
6680738a
SP
9301 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9302 defined.
9303
80b5c505
SP
93042014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9305
e35c53e3
SP
9306 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9307 after checking that it is non-NULL.
9308
80b5c505
SP
9309 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9310
91f4b564
AZ
93112014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9312
27b75f56
AZ
9313 * sysdeps/powerpc/memmove.c: Remove file.
9314 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9315 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9316 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9317 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9318 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9319 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9320 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9321 string memmove instead of removed powerpc one.
9322
e7f95bb5
AZ
9323 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9324 [weak_alias]: Fix compiler warning due trailing data.
9325 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9326 [weak_alias]: Likewise.
9327 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9328 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9329
91f4b564
AZ
9330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9331 (__libc_ifunc_impl_list): Add memmove functions.
9332
7c33f1e5
SP
93332014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9334
9335 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9336 Remove code.
9337 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9338 Likewise
9339 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9340 Likewise
9341 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9342 Likewise
9343 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9344 Likewise
9345 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9346 Likewise
9347 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9348 Likewise
9349 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9350 Likewise
9351 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9352 Likewise
9353 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9354 Likewise
9355 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9356 Likewise
9357 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9358 Likewise
9359 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9360 Likewise
9361 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9362 Likewise
9363 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9364 Likewise
9365 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9366 Likewise
9367 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9368 Likewise
9369
3f17b03b
AZ
93702014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9371
87868c24
AZ
9372 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9373 to avoid alignment traps in non-cacheable memory.
9374 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9375
07aedd78
AZ
9376 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9377 multiarch objects.
9378 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9379 file: multiarch power7 memmove.
9380 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9381 multiarch default memmove.
9382 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9383 multiarch memove for powerpc32/power4.
9384
17762f66
AZ
9385 * string/bcopy.c: Use full path to include memmove.c.
9386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9387 multiarch objects.
9388 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9389 bcopy for powerpc64.
9390 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9391 bcopy for powerpc64.
9392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9393 and memmove implementations.
9394 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9395 optimized multiarch memmove for POWER7/powerpc64.
9396 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9397 default multiarch memmove for powerpc64.
9398 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9399 multiarch for powerpc64.
9400 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9401 for POWER7/powerpc64.
9402 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9403 memmove for POWER7/powerpc64.
9404
d6f68bbe
AZ
9405 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9406 glibc default one.
9407
3f17b03b
AZ
9408 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9409 __ELF_NATIVE_CLASS equal to 64.
9410
08192659
RM
94112014-07-07 Roland McGrath <roland@hack.frob.com>
9412
f4c4021b
RM
9413 * sysdeps/nptl/lowlevellock.h: File removed.
9414
f083450f
RM
9415 * NEWS: NPTL is no longer an add-on!
9416 * nptl/internaltypes.h: Moved ...
9417 * sysdeps/nptl/internaltypes.h: ... here.
9418 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9419 * sysdeps/nptl/fork.c: Likewise.
9420 * sysdeps/nptl/gai_misc.h: Likewise.
9421 * sysdeps/nptl/librt-cancellation.c: Likewise.
9422 * sysdeps/nptl/jmp-unwind.c: Likewise.
9423 * sysdeps/nptl/setxid.h: Likewise.
9424 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9425 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9426 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9427 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9428 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9429 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9430 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9431 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9432 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9433 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9434 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9435 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9436 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9437 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9438 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9439 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9440 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9441 * nptl/Makeconfig: Moved ...
9442 * sysdeps/nptl/Makeconfig: ... here.
9443 * nptl/configure: File removed.
9444 * nptl/ANNOUNCE: File removed.
9445 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9446 * sysdeps/unix/sysv/linux/configure: Regenerated.
9447
08192659
RM
9448 * nptl/Makefile (routines): Add libc_pthread_init,
9449 libc_multiple_threads, register-atfork and unregister-atfork.
9450 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9451 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9452 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9453 pthread-pi-defines.sym, structsem.sym.
9454 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9455 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9456 [$(subdir) = nptl] (tests): Add tst-setgetname.
9457 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9458 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9459 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9460 [!LIBC_SIGACTION]: Remove aliases.
9461 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9462 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9463 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9464 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9465 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9466 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9467 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9468 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9469 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9470 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9471 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9472 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9473 __libc_allocate_rtsig_private.
9474 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9475 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9476 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9477 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9478 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9479 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9480 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9481 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9482 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9483 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9484 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9485 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9486 * nptl/internaltypes.h: ... here.
9487 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9488 * sysdeps/nptl/jmp-unwind.c: ... here.
9489 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9490 * nptl/libc-lowlevellock.c: ... here.
9491 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9492 * nptl/libc_multiple_threads.c: ... here.
9493 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9494 * nptl/libc_pthread_init.c: ... here.
9495 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9496 * nptl/lowlevelbarrier.sym: ... here.
9497 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9498 * nptl/lowlevelcond.sym: ... here.
9499 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9500 * nptl/lowlevellock.c: ... here.
9501 * nptl/lowlevellock.h: Moved ...
9502 * sysdeps/nptl/lowlevellock.h: ... here.
9503 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9504 * nptl/lowlevelrobustlock.c: ... here.
9505 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9506 * nptl/lowlevelrobustlock.sym: ... here.
9507 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9508 * nptl/lowlevelrwlock.sym: ... here.
9509 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9510 * nptl/pt-fork.c: ... here.
9511 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9512 * nptl/pthread-pi-defines.sym: ... here.
9513 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9514 * nptl/pthread_attr_getaffinity.c: ... here.
9515 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9516 * nptl/pthread_attr_setaffinity.c: ... here.
9517 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9518 * nptl/pthread_mutex_cond_lock.c: ... here.
9519 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9520 Update #include.
9521 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9522 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9523 * nptl/pthread_once.c: ... here, replacing old file.
9524 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9525 * nptl/pthread_yield.c: ... here.
9526 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9527 * nptl/register-atfork.c: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9529 * nptl/sem_post.c: ... here.
9530 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9531 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9532 * nptl/sem_timedwait.c: ... here.
9533 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9534 * nptl/sem_trywait.c: ... here.
9535 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9536 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9537 * nptl/sem_wait.c: ... here.
9538 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9539 * nptl/structsem.sym: ... here.
9540 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9541 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9542 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9543 * nptl/unregister-atfork.c: ... here.
9544 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9545 * nptl/unwindbuf.sym: ... here.
9546 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9547 * sysdeps/nptl/fork.c: ... here.
9548 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9549 * sysdeps/nptl/fork.h: ... here.
9550 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9551 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9552 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9553 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9554 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9555 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9556 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9557 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9558 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9559 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9560 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9561 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9562 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9563 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9564 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9565 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9566 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9567 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9568 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9569 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9570 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9571 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9572 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9573 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9574 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9575 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9576 * sysdeps/unix/sysv/linux/raise.c: ... here.
9577 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9578 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9579 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9580 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9581 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9582 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9583 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9584 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9585 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9586 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9587 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9588 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9589 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9590 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9591 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9592
96baf6ff
SP
95932014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9594
9595 * sysdeps/generic/memcopy.h: Add comment for
9596 MEMCPY_OK_FOR_FWD_MEMMOVE.
9597
6b7b14b2
WN
95982014-07-04 Will Newton <will.newton@linaro.org>
9599
1570a72b
WN
9600 * string/memchr.c: Merge from gnulib.
9601 [_LIBC]: Remove conditionals.
9602 (__ptr_t): Remove define.
9603 (LONG_MAX_32_BITS): Likewise.
9604 (LONG_MAX): Likewise.
9605 (MEMCHR): Use ANSI prototype and optimize algorithm.
9606
6b7b14b2
WN
9607 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9608
38851324
SP
96092014-07-03 Roland McGrath <roland@hack.frob.com>
9610
3d9eb57c
RM
9611 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9612 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9613
78b984ae
RM
9614 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9615 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9616 in a bare environment with no <stdlib.h> installed.
9617 * sysdeps/nptl/configure: Regenerated.
9618
2d5976a5
RM
9619 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9620
c1f5acd4
RM
9621 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9622 AC_EGREP_CPP for kernel header checks, so they only succeed if
9623 including <linux/version.h> actually works right.
9624 * sysdeps/unix/sysv/linux/configure: Regenerated.
9625
4d614fe5
RM
9626 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9627 value so it's not diagnosed as unused.
9628
38851324
SP
9629 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9630 thing) with "ifeq ($(subdir),rt)".
9631
b3ec00e5
RH
96322014-07-03 Richard Henderson <rth@redhat.com>
9633
69862e25
RH
9634 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9635 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9636 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9637
d5e16ade
RH
9638 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9639 (math_force_eval): New.
9640
ca7b945c
RH
9641 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9642 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9643
cd1175a3
RH
9644 * sysdeps/alpha/fpu/s_round.c: Remove file.
9645 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9646
b3ec00e5
RH
9647 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9648 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9649 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9650 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9651 (_dl_start, print_statistics): Likewise.
9652 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9653 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9654
9655 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9656 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9657 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9658 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9659 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9660 (HP_SMALL_TIMING_AVAIL): Define.
9661 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9662 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9663 (HP_SMALL_TIMING_AVAIL): Define.
9664 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9665 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9666
9667 * sysdeps/aarch64/hp-timing.h: New file.
9668
9669 * sysdeps/generic/hp-timing.h: Remove dead comment.
9670 * sysdeps/generic/hp-timing-common.h: New file.
9671 * sysdeps/alpha/hp-timing.h: Include it.
9672 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9673 * sysdeps/i386/i686/hp-timing.h: Likewise.
9674 * sysdeps/ia64/hp-timing.h: Likewise.
9675 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9676 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9677 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9678 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9679 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9680 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9681 (hp_timing_t): New.
9682
9683 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9684 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9685 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9686 * elf/rtld.c (_dl_start_final): Likewise.
9687 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9688 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9689 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9690 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9691 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9692 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9693 (HP_TIMING_DIFF_INIT): Remove.
9694 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9695 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9696 (HP_TIMING_DIFF_INIT): Remove.
9697 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9698 * sysdeps/i386/i686/hp-timing.c: Remove file.
9699 * sysdeps/x86_64/hp-timing.c: Remove file.
9700 * sysdeps/ia64/hp-timing.c: Remove file.
9701 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9702 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9703 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9704 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9705
9706 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9707 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9708 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9709 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9710 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9711 (HP_TIMING_ACCUM): Remove.
9712 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9713 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9714 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9715
9716 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9717 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9718 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9719 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9720 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9721 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9722 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9723 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9724
9725 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9726
225f410f
MR
97272014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9728
9729 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9730
3247f285
SP
97312014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9732
9733 Sync up with gettext.
9734 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9735 [_MSC_VER]: Include malloc.h
9736 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9737 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9738 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9739 TEMP_FAILURE_RETRY. Cast return of alloca.
9740 [!_LIBC] Call gl_rwlock_init.
9741 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9742
d12704c7
SP
97432014-07-02 Roland McGrath <roland@hack.frob.com>
9744
9745 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9746 before checking its value.
9747
99f8dc92
SP
97482014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9749
05fdac77
SP
9750 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9751
99f8dc92
SP
9752 * debug/memcpy_chk.c: Don't include pagecopy.h.
9753 * debug/mempcpy_chk.c: Likewise.
9754 * string/memcpy.c: Likewise.
9755 * string/memmove.c: Likewise.
9756 * sysdeps/powerpc/memmove.c: Likewise.
9757 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9758 definition of PAGE_COPY_FWD_MAYBE here...
9759 * sysdeps/generic/pagecopy.h: ... from here.
9760 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9761
bc8ea385
VR
97622014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9763 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9764
9765 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9767 optimizations.
9768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9769 (__libc_ifunc_impl_list): Likewise.
9770 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9771 multiarch strcat for PPC64.
9772 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9773 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9774
fe5f34e4
RM
97752014-07-02 Roland McGrath <roland@hack.frob.com>
9776
9777 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9778
256aa665
SP
97792014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9780
d4eb8195
SP
9781 * intl/loadmsgcat.c: Remove declaration of
9782 get_sysdep_segment_value.
9783 (get_sysdep_segment_value): Use ISO C style.
9784 (_nl_load_domain): Use ISO C style. Get rid of redundant
9785 semicolon. Fix typo and formatting in comment.
9786 (_nl_unload_domain): Use ISO C style.
9787
256aa665
SP
9788 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9789
b100f9aa
WN
97902014-07-02 Will Newton <will.newton@linaro.org>
9791
9792 * malloc/obstack.c: Merge from gnulib master.
9793 [HAVE_CONFIG_H]: Remove conditional code.
9794 [!_LIBC]: Include config.h.
9795 [!ELIDE_CODE]: Don't include inttypes.h, include
9796 stdint.h unconditionally.
9797 (print_and_abort): Mark as _Noreturn.
9798 (_obstack_allocated_p): Mark as __attribute_pure__.
9799 (obstack_free): Rename to __obstack_free.
9800 [!__attribute__]: Remove conditional code.
9801 * malloc/obstack.h: Merge from gnulib master.
9802 [__cplusplus]: Move conditional down.
9803 [!__attribute_pure__]: Define __attribute_pure__ here
9804 if it is not already defined.
9805 (_obstack_memory_used): Mark as __attribute_pure__.
9806 [!__obstack_free]: Define as obstack_free.
9807 [__GNUC__]: Remove check for ancient NeXT gcc.
9808
c4c41244
PE
98092014-07-02 Will Newton <will.newton@linaro.org>
9810 Paul Eggert <eggert@cs.ucla.edu>
9811
9812 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9813
e1e041c4
SP
98142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9815
9816 * resolv/gethnamaddr.c: Add comment warning that the file is
9817 not maintained.
9818
ccf431ff
CD
98192014-07-01 Carlos O'Donell <carlos@redhat.com>
9820
d34570a6
CD
9821 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9822 entries.
9823
ccf431ff
CD
9824 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9825 entry for aio_cancel and aio_cancel64.
9826 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9827 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9828 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9829 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9830 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9831 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9832 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9833 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9834 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9835 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9836 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9837 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9838 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9839
ca06321d
RM
98402014-07-01 Roland McGrath <roland@hack.frob.com>
9841
9842 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9843 * nptl/pthread_mutex_lock.c: Likewise.
9844 * nptl/pthread_mutex_timedlock.c: Likewise.
9845 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9846
a1ac3184
RH
98472014-07-01 Richard henderson <rth@redhat.com>
9848
631021e0
RH
9849 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9850 (__isnan, __isnanl): Remove.
9851 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9852
a1ac3184
RH
9853 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9854
0c1d731f
SL
98552014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9856
9857 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9858
76985d3e
SP
98592014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9860
9861 * resolv/nss_dns/dns-host.c (getanswer_r)
9862 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9863
b0cb3096
JM
98642014-07-01 Joseph Myers <joseph@codesourcery.com>
9865
9866 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9867 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9868 undefine.
9869 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9870 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9871
4d76cb39
RM
98722014-07-01 Roland McGrath <roland@hack.frob.com>
9873
9874 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9875 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9876
9877 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9878 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9879
9880 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9881 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9882 ... here.
9883 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9884 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9885
9886 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9887 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9888 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9889 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9890
9891 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9892 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9893 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9894 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9896 Moved ...
9897 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9898 ... here.
9899 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9900 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9901 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9902 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9904 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9906 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9907 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9908 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9909 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9910 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9912 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9913 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9914 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9915 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9916 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9917 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9918 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9919 ... here.
9920 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9921 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9922 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9923 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9924 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9925 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9926 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9927 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9928
0cdcad17
DH
99292014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9930
9931 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9932 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9933 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9934 Add sysdep.
9935
9b71d0e3
AZ
99362014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9937
9938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9939
665390c2
JM
99402014-06-30 Joseph Myers <joseph@codesourcery.com>
9941
ae05a9d7
JM
9942 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9943 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9944
a7672a2f
JM
9945 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9946
665390c2
JM
9947 * sysdeps/arm/libm-test-ulps: Regenerated.
9948
d7a05d07
MR
99492014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9950 Roland McGrath <roland@hack.frob.com>
9951
9952 * test-skeleton.c (signal_handler): Kill the whole process group
9953 before killing the child individually.
9954 (main): Report any failure on `setpgid'.
9955
46f1d8a6
RM
99562014-06-30 Roland McGrath <roland@hack.frob.com>
9957
9958 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9959 from _TLS_H to _ARM_NPTL_TLS_H.
9960 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9961 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9962
9c37ec0b
JM
99632014-06-30 Joseph Myers <joseph@codesourcery.com>
9964
ce9c5b3e
JM
9965 [BZ #16539]
9966 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9967 (__expm1l): Return argument unchanged when small but not
9968 subnormal.
9969
3a6e9887
JM
9970 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9971 include macro name.
9972 (_FP_UNPACK_RAW_1_P): Likewise.
9973 (_FP_PACK_RAW_1): Likewise.
9974 (_FP_PACK_RAW_1_P): Likewise.
9975 (_FP_MUL_MEAT_1_wide): Likewise.
9976 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9977 (_FP_MUL_MEAT_1_hard): Likewise.
9978 (_FP_DIV_MEAT_1_imm): Likewise.
9979 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9980 (_FP_DIV_MEAT_1_udiv): Likewise.
9981 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9982 (_FP_UNPACK_RAW_2): Likewise.
9983 (_FP_UNPACK_RAW_2_P): Likewise.
9984 (_FP_PACK_RAW_2): Likewise.
9985 (_FP_PACK_RAW_2_P): Likewise.
9986 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9987 (_FP_MUL_MEAT_2_wide): Likewise.
9988 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9989 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9990 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9991 (_FP_MUL_MEAT_2_gmp): Likewise.
9992 (_FP_DIV_MEAT_2_udiv): Likewise.
9993 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9994 (_FP_FRAC_SRL_4): Likewise.
9995 (_FP_FRAC_SRST_4): Likewise.
9996 (_FP_FRAC_SRS_4): Likewise.
9997 (_FP_UNPACK_RAW_4): Likewise.
9998 (_FP_UNPACK_RAW_4_P): Likewise.
9999 (_FP_PACK_RAW_4): Likewise.
10000 (_FP_PACK_RAW_4_P): Likewise.
10001 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10002 (_FP_MUL_MEAT_4_wide): Likewise.
10003 (_FP_MUL_MEAT_4_gmp): Likewise.
10004 (umul_ppppmnnn): Likewise.
10005 (_FP_DIV_MEAT_4_udiv): Likewise.
10006 (__FP_FRAC_ADD_4): Likewise.
10007 (__FP_FRAC_SUB_3): Likewise.
10008 (__FP_FRAC_SUB_4): Likewise.
10009 (__FP_FRAC_DEC_3): Likewise.
10010 (__FP_FRAC_DEC_4): Likewise.
10011 (__FP_FRAC_ADDI_4): Likewise.
10012 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10013 (_FP_FRAC_SRL_8): Likewise.
10014 (_FP_FRAC_SRS_8): Likewise.
10015
9c37ec0b
JM
10016 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10017 include macro name.
10018 (FP_UNPACK_RAW_EP): Likewise.
10019 (FP_PACK_RAW_E): Likewise.
10020 (FP_PACK_RAW_EP): Likewise.
10021 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10022 (_FP_ISSIGNAN): Likewise.
10023 (_FP_ADD_INTERNAL): Likewise.
10024 (_FP_FMA): Likewise.
10025 (_FP_CMP): Likewise.
10026 (_FP_SQRT): Likewise.
10027 (_FP_TO_INT): Likewise.
10028 (_FP_FROM_INT): Likewise.
10029 (FP_EXTEND): Likewise.
10030 (_FP_DIV_MEAT_N_loop): Likewise.
10031
2125f674
MR
100322014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10033
10034 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10035 throughout.
10036
edea4028
JM
100372014-06-29 Joseph Myers <joseph@codesourcery.com>
10038
10039 [BZ #17097]
10040 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10041 result with correct sign in case of exponents that produce
10042 overflow except for X very close to 1.
10043
dd0ba018
PE
100442014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10045
10046 mktime: merge #if/#ifdef usage from glibc
10047 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10048 as that works with both Glibc's and Gnulib's style.
10049 See thread starting at Siddhesh Poyarekar's bug report at:
10050 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10051
64df73c2
SP
100522014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10053
10054 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10055 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10056 * sysdeps/tile/tilegx/memmove.c: Remove file.
10057
f1eafb41
JM
100582014-06-27 Joseph Myers <joseph@codesourcery.com>
10059
10060 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10061 abi-name definition.
10062 * scripts/soversions.awk: Do not handle or generate ABI lines.
10063 * shlib-versions: Remove ABI entries.
10064 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10065 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10066
58eb0862
RM
100672014-06-27 Roland McGrath <roland@hack.frob.com>
10068
37caf178
RM
10069 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10070 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10071 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10072 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10073 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10074 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10075 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10076 Moved ...
10077 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10078 ... here.
10079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10080 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10081 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10082 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10083 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10084 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10085 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10086 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10087 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10088 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10089 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10090 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10092 Moved ...
10093 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10094 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10095 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10096 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10097 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10099 Moved ...
10100 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10101 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10102 Moved ...
10103 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10105 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10107 Moved ...
10108 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10110 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10112 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10114 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10116 Moved ...
10117 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10118 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10119 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10120 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10121 Moved ...
10122 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10123 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10124 Moved ...
10125 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10126 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10127 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10128 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10129 Moved ...
10130 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10131 ... here.
10132 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10133 Identical file removed.
10134 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10135 Moved ...
10136 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10137 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10138 Identical file removed.
10139 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10140 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10141 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10142 Moved ...
10143 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10144 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10145 Identical file removed.
10146 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10147 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10148 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10149 Identical file removed.
10150 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10151 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10152 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10153 Identical file removed.
10154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10155 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10157 Identical file removed.
10158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10159 Moved ...
10160 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10162 Identical file removed.
10163 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10164 Moved ...
10165 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10166 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10167 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10168 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10169 Identical file removed.
10170 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10171 Moved ...
10172 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10173 ... here.
10174 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10175 Identical file removed.
10176 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10177 Moved ...
10178 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10179 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10180 Identical file removed.
10181 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10182 Moved ...
10183 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10184 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10185 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10186 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10187 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10188 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10189 Moved ...
10190 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10191 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10192 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10193
58eb0862
RM
10194 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10195 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10196 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10197 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10198 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10199
6f12d062
AS
102002014-06-27 Arjun Shankar <arjun.is@lostca.se>
10201
10202 [BZ #17092]
10203 * nscd/nscd.c (monitor_child): Return exit status of child
10204 instead of return value from wait syscall.
10205
be254932
JM
102062014-06-27 Joseph Myers <joseph@codesourcery.com>
10207
cb403c34
JM
10208 * configure.ac (libc_commonpagesize): Remove variable.
10209 (libc_relro_required): Likewise.
10210 (libc_cv_z_relro): Remove configure test.
10211 * configure: Regenerated.
10212 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10213 variable.
10214 (libc_relro_required): Likewise.
10215 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10216 (libc_relro_required): Likewise.
10217 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10218 (libc_relro_required): Likewise.
10219 * sysdeps/arm/preconfigure: Regenerated.
10220 * sysdeps/ia64/preconfigure: Remove file.
10221 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10222 variable.
10223 (libc_relro_required): Likewise.
10224
be254932
JM
10225 [BZ #16561]
10226 [BZ #16562]
10227 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10228 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10229 recompute overflowing results in original rounding mode.
10230 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10231 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10232 recompute overflowing results in original rounding mode.
10233 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10234 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10235 recompute overflowing results in original rounding mode.
10236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10237 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10238 recompute overflowing results in original rounding mode.
10239 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10240 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10241 recompute overflowing results in original rounding mode.
10242 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10243 (libc_feholdsetround_ctx): New macro.
10244 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10245 * sysdeps/i386/fpu/libm-test-ulps: Update.
10246 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10247
b351d85a
JM
102482014-06-26 Joseph Myers <joseph@codesourcery.com>
10249
10250 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10251 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10252 corresponding .cpsetup call.
10253
3cb4de47
RM
102542014-06-26 Roland McGrath <roland@hack.frob.com>
10255
10256 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10257 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10258 * sysdeps/arm/Makefile [$(subdir) = csu]
10259 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10260 (static-only-routines): Add aeabi_read_tp here.
10261 (shared-only-routines): Add libc-aeabi_read_tp here.
10262 (CFLAGS-libc-start.c): Add -fexceptions here.
10263 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10264 (sysdep_routines, static-only-routines, shared-only-routines):
10265 Don't add to these here.
10266 (CFLAGS-libc-start.c): Likewise.
10267
10268 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10269 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10270 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10271 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10272 * sysdeps/arm/Makefile [$(subdir) = rt]
10273 (librt-sysdep_routines, librt-shared-only-routines):
10274 Append rt-aeabi_unwind_cpp_pr1 here.
10275 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10276 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10277 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10278 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10279 Append nptl-aeabi_unwind_cpp_pr1 here.
10280 (tests): Filter out tst-cleanupx4 here.
10281 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10282 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10283 Don't do those here.
10284
354426bb
JM
102852014-06-26 Joseph Myers <joseph@codesourcery.com>
10286
10287 * scripts/list-sources.sh: Do not handle ports specially.
10288
28b0a8c9
RM
102892014-06-26 Roland McGrath <roland@hack.frob.com>
10290
a3dd035d
RM
10291 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10292 * sysdeps/arm/feupdateenv.c: Likewise.
10293
28b0a8c9
RM
10294 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10295
e66a8203
JM
102962014-06-26 Joseph Myers <joseph@codesourcery.com>
10297
10298 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10299 trailing whitespace removed.
10300 * scripts/config.guess: Update to version 2014-03-23.
10301 * scripts/config.sub: Update to version 2014-05-01
10302 * scripts/install-sh: Update to version 2013-12-25.23.
10303 * scripts/move-if-change: Update from gnulib.
10304
74171115
SP
103052014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10306
b97c9ce5
SP
10307 * debug/memmove_chk.c: Remove pagecopy.h include.
10308
4000f892
SP
103092014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10310
74171115
SP
10311 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10312 identical to gnulib mktime.
10313
a8779c28
JM
103142014-06-26 Joseph Myers <joseph@codesourcery.com>
10315
e64708de
JM
10316 * configure.ac: Do not test for machine being rs6000. Do not test
10317 for powerpc*-*soft.
10318 * configure: Regenerated.
10319
6a9350c8 10320 [BZ #11505]
a8779c28
JM
10321 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10322 test.
10323 * configure: Regenerated.
10324 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10325 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10326 Remove configure test.
10327 * sysdeps/arm/configure: Regenerated.
10328 * sysdeps/nptl/configure.ac: Do not check
10329 libc_cv_asm_cfi_directives.
10330 * sysdeps/nptl/configure: Regenerated.
10331 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10332 * sysdeps/x86_64/nptl/configure: Remove generated file.
10333 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10334 unconditional.
10335 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10336
2aac0a86
SP
103372014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10338
059bf913
SP
10339 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10340 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10341 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10342 it is defined.
10343
4cf5b6d0
SP
10344 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10345 instead of whether it is defined.
10346 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10347 * sysdeps/hppa/dl-machine.h: Likewise.
10348 * sysdeps/ia64/dl-machine.h: Likewise.
10349 * sysdeps/m68k/dl-machine.h: Likewise.
10350 * sysdeps/microblaze/dl-machine.h: Likewise.
10351 * sysdeps/mips/dl-machine.: Likewise.
10352 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10353 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10354 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10355 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10356 * sysdeps/sh/dl-machine.h: Likewise.
10357 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10358 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10359 * sysdeps/tile/dl-machine.h: Likewise.
10360 * sysdeps/x86_64/dl-machine.h: Likewise.
10361
2aac0a86
SP
10362 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10363 code.
10364 (verify_persistent_db): Likewise.
10365
6ad2df0b
RM
103662014-06-26 Roland McGrath <roland@hack.frob.com>
10367
d8a483f3
RM
10368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10369 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10371 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10373 Moved ...
10374 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10375 ... here.
10376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10377 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10379 Identical file removed.
10380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10381 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10389 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10391 Moved ...
10392 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10394 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10396 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10398 Moved ...
10399 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10401 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10403 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10405 Identical file removed.
10406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10407 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10409 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10411 Moved ...
10412 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10413 ... here.
10414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10415 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10417 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10419 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10421 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10423 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10425 Moved ...
10426 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10428 Moved ...
10429 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10431 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10433 Moved ...
10434 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10436 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10437
52ae23b4
RM
10438 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10439 folded into ...
10440 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10441 * sysdeps/unix/sysv/linux/s390/Versions
10442 (libpthread: GLIBC_2.19): New version set.
10443 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10444 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10445 (librt: GLIBC_2.3.3): New version set.
10446 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10447 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10448 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10449 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10450 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10451 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10452 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10453 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10454 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10455 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10456 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10457 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10458 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10459 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10460 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10461 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10462 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10463 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10464 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10465 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10466 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10467 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10468 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10469 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10470 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10471 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10472 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10473 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10474 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10475 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10476 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10477 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10479 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10482 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10484 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10486 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10488 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10490 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10491
39507e4a
RM
10492 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10493 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10494 (__libc_vfork): Define the function under this name.
10495 [!NOT_IN_libc] (__vfork): Make this an alias.
10496 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10498 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10499 (__libc_vfork): Define the function under this name.
10500 [!NOT_IN_libc] (__vfork): Make this an alias.
10501 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10502 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10503 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10506 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10507
e549ee56
RM
10508 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10509 code that was previously under [RESET_PID].
10510 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10511 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10512 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10513
6ad2df0b
RM
10514 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10515 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10516 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10517 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10518 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10519 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10520 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10521 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10522 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10523 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10524 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10525 Moved ...
10526 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10527 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10528 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10529 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10530 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10531 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10532 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10533 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10534 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10535 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10536 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10537 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10538 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10539 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10540 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10541 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10542 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10543 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10544 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10545 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10546 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10547 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10548 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10549 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10550 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10551 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10552 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10554 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10555
7c1c1d8e
RM
105562014-06-25 Roland McGrath <roland@hack.frob.com>
10557
10558 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10559 that was previously under [RESET_PID].
10560 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10561
3e239be6
JM
105622014-06-25 Joseph Myers <joseph@codesourcery.com>
10563
74385da5
JM
10564 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10565 not undefine and redefine.
10566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10567 [O_CLOEXEC]: Make code unconditional.
10568 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10569 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10570 <kernel-features.h>.
10571 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10572 conditional variable definition.
10573 (shm_open) [O_CLOEXEC]: Make code unconditional.
10574 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10575 code.
10576
c2570a0b
JM
10577 * configure.ac (USE_REGPARMS): Don't define here.
10578 * configure: Regenerated.
10579 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10580 * sysdeps/i386/configure: Regenerated.
10581
11b076bb
JM
10582 * nptl/createthread.c: Don't include kernel-features.h.
10583 * nptl/pthread_cancel.c: Likewise.
10584 * nptl/pthread_condattr_setclock.c: Likewise.
10585 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10586 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10587 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10588 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10589 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10590 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10591 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10592 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10593 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10594 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10595 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10596 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10597 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10598 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10599 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10600 * nscd/gai.c: Likewise.
10601 * nss/nss_db/db-open.c: Likewise.
10602 * sysdeps/generic/ldsodefs.h: Likewise.
10603 * sysdeps/sh/nptl/tls.h: Likewise.
10604 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10605 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10606 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10607 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10608 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10609 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10610 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10611 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10612 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10613 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10614 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10615 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10616 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10617 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10618 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10619 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10620 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10621 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10622 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10623 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10624 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10625 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10626 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10627 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10628 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10629 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10630 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10631 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10632 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10633 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10634 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10635 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10636 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10637 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10638 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10639 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10640 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10641 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10642 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10643 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10644 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10645 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10646 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10647 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10648 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10649 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10650 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10651 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10652 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10653 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10654 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10655 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10656 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10657 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10658 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10659 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10660 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10661 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10684 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10685 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10686 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10687 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10688 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10689 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10690 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10691 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10692 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10693 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10694 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10695 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10696 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10697 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10698 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10699 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10700 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10701 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10702 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10703 * sysdeps/unix/sysv/linux/system.c: Likewise.
10704 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10705 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10706 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10707 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10708 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10709 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10710 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10711
92072d57
JM
10712 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10713 * configure: Regenerated.
10714 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10715
3e239be6
JM
10716 * configure.ac (base_machine): Do not set specially for particular
10717 machines here.
10718 * configure: Regenerated.
10719 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10720 settings from configure.ac.
10721 * sysdeps/i386/preconfigure: New file.
10722 * sysdeps/s390/preconfigure: Likewise.
10723 * sysdeps/sh/preconfigure: Likewise.
10724 * sysdeps/sparc/preconfigure: Likewise.
10725
06d50baa
RM
107262014-06-25 Roland McGrath <roland@hack.frob.com>
10727
74836003
RM
10728 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10729 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10730 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10731 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10732 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10733 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10734 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10735 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10736 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10737 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10738 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10739 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10740 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10741 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10742 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10743 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10744 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10745 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10746 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10747
10748 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10749 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10750 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10751 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10752 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10753 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10754 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10755 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10756 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10757 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10758 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10759 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10760 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10761 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10762 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10763 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10764 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10765 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10766 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10767 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10768 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10769 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10770 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10771 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10772 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10773 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10774 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10775 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10776 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10777 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10778 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10779 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10780 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10781 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10782 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10783 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10784 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10785 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10786
06d50baa
RM
10787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10788 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10790 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10792 Moved ...
10793 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10794 ... here.
10795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10796 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10798 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10800 Moved ...
10801 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10803 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10805 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10807 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10809 Moved ...
10810 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10812 Moved ...
10813 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10815 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10817 Moved ...
10818 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10820 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10822 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10824 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10826 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10828 Moved ...
10829 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10830 ... here.
10831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10832 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10834 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10836 Moved ...
10837 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10839 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10841 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10843 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10845 Moved ...
10846 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10848 Moved ...
10849 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10851 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10853 Moved ...
10854 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10856 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10858 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10859
a4ccbc9b
JM
108602014-06-25 Joseph Myers <joseph@codesourcery.com>
10861
0828edbf
JM
10862 * timezone/checktab.awk: Update from tzcode 2014e.
10863 * timezone/private.h: Likewise.
10864 * timezone/tzfile.h: Likewise.
10865 * timezone/zdump.c: Likewise.
10866 * timezone/zic.c: Likewise.
10867
a4ccbc9b
JM
10868 * sysdeps/unix/sysv/linux/kernel-features.h
10869 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10871 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10872 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10873 Remove conditional code.
10874
9aea0cb8
WN
108752014-06-25 Will Newton <will.newton@linaro.org>
10876
10877 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10878 (_dl_arm_cap_flags): Add HWCAP2 values.
10879 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10880 (_DL_HWCAP_COUNT): Increase to 37.
10881 (_DL_HWCAP_LAST): New define.
10882 (_DL_HWCAP2_LAST): New define.
10883 (_dl_procinfo): Add support for printing
10884 AT_HWCAP2 entries.
10885 (_dl_string_hwcap): Use _dl_hwcap_string.
10886
6eaa65ce
AZ
108872014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10888
10889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10890
0f5b7185
JM
108912014-06-25 Joseph Myers <joseph@codesourcery.com>
10892
cfd2ea50
JM
10893 * README: Do not mention ports directory.
10894
cecf2ed4
JM
10895 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10896 Remove macro.
10897 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10898 <kernel-features.h>.
10899 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10900 conditional variable definition.
10901 (__futimes): Update comment.
10902 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10903 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10904
a638de82
JM
10905 [BZ #16560]
10906 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10907 arguments close to 0.
10908 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10909 Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10911 Likewise.
10912 * math/auto-libm-test-in: Add more tests of exp10.
10913 * math/auto-libm-test-out: Regenerated.
10914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10915
0f5b7185
JM
10916 * sysdeps/unix/sysv/linux/kernel-features.h
10917 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10918 * sysdeps/unix/sysv/linux/readv.c: Do not include
10919 <kernel-features.h>.
10920 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10921 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10922 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10923 unconditional.
10924 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10925 conditional code.
10926 * sysdeps/unix/sysv/linux/writev.c: Do not include
10927 <kernel-features.h>.
10928 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10929 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10930 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10931 unconditional.
10932 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10933 conditional code.
10934
c7aec4be
WN
109352014-06-25 Will Newton <will.newton@linaro.org>
10936
10937 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10938 comment changes throughout the file. Remove checks
10939 for HAVE_*_H definitions that are not required.
10940 (__gen_tempname): Call abort if an unknown kind value is
10941 passed.
10942
c5241f95
AS
109432014-06-25 Andreas Schwab <schwab@suse.de>
10944
10945 [BZ #17086]
10946 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10947 scalbln, scalblnf, scalblnl in libc.
10948
911422da
SP
109492014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10950
10951 [BZ #17086]
10952 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10953 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10954 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10955
0d749bbe
RM
109562014-06-24 Roland McGrath <roland@hack.frob.com>
10957
10958 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10959 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10960 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10961 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10962 Update #include.
10963 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10964 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10965 Update #include.
10966 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10967 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10968 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10969 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10970 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10971 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10972 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10973 * sysdeps/x86/bits/semaphore.h: ... here.
10974 * sysdeps/x86/nptl/elide.h: Moved ...
10975 * sysdeps/x86/elide.h: ... here.
10976 * sysdeps/x86_64/nptl/Implies: File removed.
10977 * sysdeps/i386/nptl/Implies: File removed.
10978
0ea5d373
JM
109792014-06-24 Joseph Myers <joseph@codesourcery.com>
10980
4060283d
JM
10981 [BZ #16539]
10982 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10983 return the argument for normal arguments with exponent below -64.
10984 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10985 Likewise.
10986 * math/auto-libm-test-in: Add another test of expm1.
10987 * math/auto-libm-test-out: Regenerated.
10988
e7dd3c8c
JM
10989 [BZ #16287]
10990 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10991 calling __erfcl for arguments at least 16.
10992 * math/auto-libm-test-in: Add more tests of erf.
10993 * math/auto-libm-test-out: Regenerated.
10994
0ea5d373
JM
10995 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10996 individual architectures.
10997 * sysdeps/unix/sysv/linux/configure: Regenerated.
10998 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10999 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11000 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11001 (ldd_rewrite_script): Define variable.
11002 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11004 file.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11006 generated file.
11007 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11008 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11009 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11010 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11011 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11012 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11013 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11014 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11015
2307e126
SP
110162014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11017
11018 [BZ #17084]
11019 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11020 Rename member __data.d to __data.__elision_data.
11021
c0a4ed77
W
110222014-06-24 Wilco <wdijkstr@arm.com>
11023
11024 * NEWS: Add 16918 to fixed bug list.
11025
b8c00573
W
110262014-06-24 Wilco <wdijkstr@arm.com>
11027
11028 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11029
b5570d92
W
110302014-06-24 Wilco <wdijkstr@arm.com>
11031
11032 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11033 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11034 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11035 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11036 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11037 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11038 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11039 Use _FPU_MASK_RM.
11040
947bdca2
W
110412014-06-24 Wilco <wdijkstr@arm.com>
11042
11043 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11044
00f669ed
W
110452014-06-24 Wilco <wdijkstr@arm.com>
11046
11047 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11048 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11049 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11050 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11051
db59bad3
W
110522014-06-24 Wilco <wdijkstr@arm.com>
11053
11054 [BZ #16918]
11055 * sysdeps/arm/feupdateenv.c (feupdateenv):
11056 Rewrite to reduce FPSCR accesses and fix return value.
11057
001f7b77
W
110582014-06-24 Wilco <wdijkstr@arm.com>
11059
11060 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11061 Optimize to avoid unnecessary FPSCR writes.
11062 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11063 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11064 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11065 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11066
4841e6a6
W
110672014-06-24 Wilco <wdijkstr@arm.com>
11068
11069 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11070 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11071 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11072 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11073 Call libc_fetestexcept_vfp.
11074 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11075 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11076 __SOFTFP__ ifdef so that they can be built for softfp.
11077
0813022c
SP
110782014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11079
08e5862f
SP
11080 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11081 argument type signed char.
11082
0813022c
SP
11083 * Makerules (check-abi): Dump diff of symlist if the test
11084 fails.
11085
3fc7236a
RM
110862014-06-23 Roland McGrath <roland@hack.frob.com>
11087
aba8ef95
RM
11088 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11089 using abort.
11090
3fc7236a
RM
11091 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11092 Remove unused variable ST.
11093
4da6db51
JM
110942014-06-23 Joseph Myers <joseph@codesourcery.com>
11095
4648909d
JM
11096 [BZ #16354]
11097 [BZ #17061]
11098 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11099 small arguments before calling __expm1.
11100 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11101 small arguments before calling __expm1f.
11102 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11103 small arguments before calling __expm1l.
11104 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11105 Likewise.
11106 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11107 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11108 spurious underflow for some cosh tests.
11109 * math/auto-libm-test-out: Regenerated.
11110 * sysdeps/i386/fpu/libm-test-ulps: Update.
11111
46a3d3c7
JM
11112 [BZ #17050]
11113 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11114 (__ieee754_y1): Set errno if return value overflows.
11115 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11116 (__ieee754_y1f): Set errno if return value overflows.
11117 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11118 (__ieee754_y1l): Set errno if return value overflows.
11119 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11120 (__ieee754_y1l): Set errno if return value overflows.
11121 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11122 * math/auto-libm-test-out: Regenerated.
11123
863893ec
JM
11124 * math/gen-auto-libm-tests.c: Document use of
11125 ignore-zero-inf-sign.
11126 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11127 (input_flags): Add ignore-zero-inf-sign.
11128 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11129 * math/gen-libm-test.pl (generate_testfile): Handle
11130 ignore-zero-inf-sign.
11131 * math/auto-libm-test-in: Mark some cpow tests with
11132 ignore-zero-inf-sign and some with xfail-rounding.
11133 * math/auto-libm-test-out: Regenerated.
11134 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11135 * sysdeps/i386/fpu/libm-test-ulps: Update.
11136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11137
4da6db51
JM
11138 [BZ #16315]
11139 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11140 overflowing or underflowing operations take place with sign of
11141 result.
11142 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11143 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11144 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11145 (__ieee754_pow): Recompute overflowing and underflowing results in
11146 original rounding mode.
11147 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11148 (__powl_helper): Allow negative argument X and scale negated value
11149 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11150 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11151 overflowing or underflowing operations take place with sign of
11152 result.
11153 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11154 Include <math.h>.
11155 * math/auto-libm-test-in: Add more tests of pow.
11156 * math/auto-libm-test-out: Regenerated.
11157 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11158 (pow_tonearest_test_data): Remove.
11159 (pow_test_tonearest): Likewise.
11160 (pow_towardzero_test_data): Likewise.
11161 (pow_test_towardzero): Likewise.
11162 (pow_downward_test_data): Likewise.
11163 (pow_test_downward): Likewise.
11164 (pow_upward_test_data): Likewise.
11165 (pow_test_upward): Likewise.
11166 (main): Don't call removed functions.
11167 * sysdeps/i386/fpu/libm-test-ulps: Update.
11168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11169
5686b236
RM
111702014-06-23 Roland McGrath <roland@hack.frob.com>
11171
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11173 Moved ...
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11176 Moved ...
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11179 Moved ...
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11182 Moved ...
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11185 File removed.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11187 File removed.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11189 File removed.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11191 File removed.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11193 File removed.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11195 File removed.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11197 File removed.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11199 File removed.
11200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11201 File removed.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11203 File removed.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11205 File removed.
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11207 File removed.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11209 Moved ...
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11212 Moved ...
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11214 ... here.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11216 Moved ...
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11219 Moved ...
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11222 Moved ...
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11225 Moved ...
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11228 Moved ...
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11231 Moved ...
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11234 Moved ...
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11238 ... here.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11240 Moved ...
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11243 Moved ...
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11245 ... here.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11247 Moved ...
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11249 ... here.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11251 Moved ...
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11253 ... here.
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11255 Moved ...
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11258 Moved ...
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11263 Moved ...
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11265 ... here.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11267 Moved ...
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11269 ... here.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11271 Moved ...
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11274 Moved ...
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11277 Moved ...
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11280 Moved ...
11281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11283 Moved ...
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11285 ... here.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11287 Moved ...
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11290 Moved ...
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11293 Moved ...
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11296 Moved ...
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11301 Moved ...
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11304 Moved ...
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11307 Moved ...
11308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11309 ... here.
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11311 Moved ...
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11313 ... here.
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11315 Moved ...
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11317 ... here.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11319 Moved ...
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11322 Moved ...
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11325 Moved ...
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11328 Moved ...
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11330 ... here.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11332 Moved ...
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11334 ... here.
11335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11336 Moved ...
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11338 ... here.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11340 Moved ...
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11343 Moved ...
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11345
e6d90d67
WD
113462014-06-23 Will Newton <will.newton@linaro.org>
11347 Wilco <wdijkstr@arm.com>
11348
11349 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11350 implementation. Include get-rounding-mode.h.
11351 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11352 [!libc_feholdsetround_noex_ctx]: Define
11353 libc_feholdsetround_noex_ctx.
11354 [!libc_feholdsetround_noexf_ctx]: Define
11355 libc_feholdsetround_noexf_ctx.
11356 [!libc_feholdsetround_noexl_ctx]: Define
11357 libc_feholdsetround_noexl_ctx.
11358 (libc_feholdsetround_ctx): New function.
11359 (libc_feresetround_ctx): New function.
11360 (libc_feholdsetround_noex_ctx): New function.
11361 (libc_feresetround_noex_ctx): New function.
11362
d42df555
RM
113632014-06-23 Roland McGrath <roland@hack.frob.com>
11364
88a46474
RM
11365 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11366 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11367 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11368 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11369 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11370 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11371
15bed472
RM
11372 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11373 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11374 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11375 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11376 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11377 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11378 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11379 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11380 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11381 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11382 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11383 Moved ...
11384 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11385 ... here.
11386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11387 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11388 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11389 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11390 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11391 Moved ...
11392 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11393 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11394 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11395 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11396 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11397 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11398 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11399 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11400 Moved ...
11401 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11403 Moved ...
11404 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11405 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11406 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11407 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11408 Moved ...
11409 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11411 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11412 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11413 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11414 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11415 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11416 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11417 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11418 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11419 Moved ...
11420 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11421 ... here.
11422 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11423 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11425 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11427 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11428 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11429 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11431 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11433 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11434 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11435 Moved ...
11436 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11437 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11438 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11439 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11440 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11441 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11442 Moved ...
11443 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11444 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11445 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11446 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11447 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11448
d42df555
RM
11449 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11450 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11451 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11452 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11453 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11454 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11455 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11456 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11457 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11458 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11459 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11460 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11461 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11462 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11463 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11464 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11465 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11466 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11467 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11468 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11469 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11470 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11471 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11472 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11473 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11474 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11475 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11476 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11477
76e5216e
JM
114782014-06-23 Joseph Myers <joseph@codesourcery.com>
11479
11480 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11481 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11482 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11483 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11484 (IPV6_PMTUDISC_INTERFACE): Likewise.
11485 (IPV6_PMTUDISC_OMIT): Likewise.
11486
7a81cbcc
AS
114872014-06-23 Andreas Schwab <schwab@suse.de>
11488
11489 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11490 Remove unused errout label.
11491
db224009
AZ
114922014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11493
11494 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11495 macro: hardware supports Vector Crypto instructions.
11496
f393b4aa
WN
114972014-06-23 Will Newton <will.newton@linaro.org>
11498
cc7d0447
WN
11499 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11500 rather than __builtin_expect.
11501
d6d06225
WN
11502 * elf/dl-lookup.c (undefined_msg): Remove variable.
11503 (_dl_lookup_symbol_x): Replace undefined_msg with string
11504 literal.
11505
f393b4aa
WN
11506 * elf/dl-lookup.c (do_lookup_unique): New function.
11507 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11508 to a separate function.
11509
ac60763e
AS
115102014-06-23 Andreas Schwab <schwab@suse.de>
11511
11512 [BZ #17079]
11513 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11514 before reading the next line.
11515
c5c13355
WN
115162014-06-23 Will Newton <will.newton@linaro.org>
11517
11518 * test-skeleton.c (signal_handler): Use printf and %m
11519 rather than perror. Use printf rather than fprintf to
11520 stderr. Use puts rather than fputs to stderr.
11521 (main): Likewise.
11522
bd3675f9
LC
115232014-06-22 Ludovic Courtès <ludo@gnu.org>
11524
11525 * nscd/nscd.c (thread_info_t): Remove typedef.
11526 (thread_info): Remove variable.
11527
d03efb2f
AM
115282014-06-21 Allan McRae <allan@archlinux.org>
11529
11530 * NEWS: Mention CVE-2014-4043.
11531
bc4a86fa
RM
115322014-06-20 Roland McGrath <roland@hack.frob.com>
11533
dc9a54f8
RM
11534 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11535 * nptl/smp.h: ... here.
11536
bd7022c4
RM
11537 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11538
26ffd5e6
RM
11539 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11540 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11541 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11542 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11543
93a6d082
RM
11544 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11545 * nptl/stack-aliasing.h: New file.
11546 * sysdeps/i386/i686/stack-aliasing.h: New file.
11547 * sysdeps/i386/i686/nptl/Makefile: File removed.
11548 * sysdeps/x86_64/stack-aliasing.h: New file.
11549 * sysdeps/x86_64/nptl/Makefile
11550 (CFLAGS-pthread_create.c): Variable removed.
11551
bc4a86fa
RM
11552 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11553 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11554 old file.
11555 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11556 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11557 old file.
11558
2272ffc1
JM
115592014-06-21 Joseph Myers <joseph@codesourcery.com>
11560
11561 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11562 (__ASSUME_SIGFRAME_V2): Remove macro.
11563 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11564 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11565 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11566 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11567 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11568 Declare as function. Remove conditional macro definitions.
11569 (__default_rt_sa_restorer): Likewise.
11570 (__default_sa_restorer_v1): Remove declaration.
11571 (__default_sa_restorer_v2): Likewise.
11572 (__default_rt_sa_restorer_v1): Likewise.
11573 (__default_rt_sa_restorer_v2): Likewise.
11574 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11575 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11576 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11577
4b88139b
RM
115782014-06-20 Roland McGrath <roland@hack.frob.com>
11579
11580 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11581 (libpthread-routines): Add sysdep.
11582 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11583 * sysdeps/unix/sysv/linux/sparc/Versions
11584 (libpthread: GLIBC_2.3.3): New version set.
11585 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11586 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11587 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11588 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11589 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11590 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11591 Moved ...
11592 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11593 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11594 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11595 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11596 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11597 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11598 * sysdeps/sparc/nptl/sem_init.c: ... here.
11599 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11600 * sysdeps/sparc/nptl/sem_post.c: ... here.
11601 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11602 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11603 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11604 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11605 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11606 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11607 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11608 (libpthread-routines): Add cpu_relax.
11609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11610 File removed.
11611 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11612 (librt: GLIBC_2.3.3): New version set.
11613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11614 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11615 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11616 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11619 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11621 Moved ...
11622 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11624 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11626 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11628 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11630 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11632 Moved ...
11633 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11634 Update #include.
11635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11636 Moved ...
11637 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11638 Update #include.
11639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11640 Moved ...
11641 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11642 Update #include.
11643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11644 Moved ...
11645 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11646 Update #include.
11647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11648 Moved ...
11649 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11650 Update #include.
11651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11652 Moved ...
11653 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11654 Update #include.
11655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11656 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11662 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11664 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11666 Moved ...
11667 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11669 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11671 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11672
d7109027
JM
116732014-06-20 Joseph Myers <joseph@codesourcery.com>
11674
9bc6103d
JM
11675 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11676 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11677 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11678 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11679 * nscd/nscd.c: Likewise.
11680 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11681 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11682 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11683 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11684
d7109027
JM
11685 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11686 <kernel-features.h>.
11687 (init_mq_netlink): Remove conditional have_sock_cloexec
11688 definitions. Remove code conditional on have_sock_cloexec < 0.
11689 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11690 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11691 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11692 <kernel-features.h>.
11693 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11694 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11695
d92d8f8a
L
116962014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11697
11698 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11699 Add tests for memset_chk and memset.
11700
11701 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11702 with AVX2_Usable.
11703
4e6d2347
MR
117042014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11705
257ce712
MR
11706 [BZ #16046]
11707 * elf/tst-dl-iter-static.c: New file.
11708 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11709
4e6d2347
MR
11710 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11711 error.
11712
a2a76afe
JM
117132014-06-20 Joseph Myers <joseph@codesourcery.com>
11714
7fd00f99
JM
11715 * sysdeps/unix/sysv/linux/kernel-features.h
11716 (__ASSUME_F_GETOWN_EX): Remove macro.
11717 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11718 <kernel-features.h>.
11719 (miss_F_GETOWN_EX): Remove variable or macro.
11720 (do_fcntl): Do not check miss_F_GETOWN_EX.
11721 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11722
4a103975
JM
11723 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11724 Remove macro.
11725 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11726 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11727 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11728
a2a76afe
JM
11729 * sysdeps/unix/sysv/linux/kernel-features.h
11730 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11731 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11732 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11733 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11734
90e5dd48
MR
117352014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11736
11737 [BZ #17075]
11738 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11739 Fix calculation of the symbol's value.
11740 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11741 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11742 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11743 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11744 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11745 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11746 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11747 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11748 (modules-names): Add `tst-armtlsdescmod',
11749 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11750 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11751 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11752 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11753 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11754 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11755 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11756 ($(objpfx)tst-armtlsdescloc): New dependency.
11757 ($(objpfx)tst-armtlsdescextnow): Likewise.
11758 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11759 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11760 TLS scheme support.
11761 * sysdeps/arm/configure: Regenerate.
11762
809fdf0d
JM
117632014-06-20 Joseph Myers <joseph@codesourcery.com>
11764
11765 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11766 (__atfct_seterrno_2): Likewise.
11767 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11768 <kernel-features.h>.
11769 (__ASSUME_ATFCTS): Do not undefine and redefine.
11770 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11771 (__have_atfcts): Remove conditional definition.
11772 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11773 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11774 unreachable if [__ASSUME_ATFCTS].
11775 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11776 not undefine and redefine.
11777 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11778 <kernel-features.h>.
11779 (faccessat) [__NR_faccessat]: Make code unconditional.
11780 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11781 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11782 <kernel-features.h>.
11783 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11784 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11785 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11786 <kernel-features.h>.
11787 (fchownat) [__NR_fchownat]: Make code unconditional.
11788 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11789 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11790 <kernel-features.h>.
11791 (futimesat) [__NR_futimesat]: Make code unconditional.
11792 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11793 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11794 <kernel-features.h>.
11795 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11796 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11797 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11798 <kernel-features.h>.
11799 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11800 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11801 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11802 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11803 <kernel-features.h>.
11804 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11805 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11806 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11807 <kernel-features.h>.
11808 (linkat) [__NR_linkat]: Make code unconditional.
11809 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11810 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11811 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11812 <kernel-features.h>.
11813 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11814 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11815 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11816 <kernel-features.h>.
11817 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11818 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11819 * sysdeps/unix/sysv/linux/openat.c: Do not include
11820 <kernel-features.h>.
11821 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11822 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11823 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11824 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11825 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11826 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11827 <kernel-features.h>.
11828 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11829 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11830 result of INLINE_SYSCALL directly, not via int variable.
11831 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11832 <kernel-features.h>.
11833 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11834 (renameat) [__NR_renameat]: Make code unconditional.
11835 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11836 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11837 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11838 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11839 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11840 (__ASSUME_ATFCTS): Do not undefine and redefine.
11841 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11842 <kernel-features.h>.
11843 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11844 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11845 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11846 <kernel-features.h>.
11847 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11848 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11849 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11850 (__ASSUME_ATFCTS): Do not undefine and redefine.
11851 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11852 <kernel-features.h>.
11853 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11854 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11855 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11856 <kernel-features.h>.
11857 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11858 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11859
224c6c51
L
118602014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11861
11862 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11863
aa6ec754
AS
118642014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11865
11866 [BZ #17069]
11867 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11868 constructed tree before returning error.
11869 * posix/bug-regexp36.c: Expand test case.
11870
d8c2869d
SL
118712014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11872
3ef6b850
SL
11873 [BZ #6803]
11874 * math/libm-test.inc (scalbln_test_date):
11875 Add errno expectations.
11876 * math/w_scalblnf.c: New File.
11877 Add wrapper which checks for setting errno to ERANGE.
11878 Add weak_alias for corresponding scalbln function.
11879 * math/w_scalbln.c: Likewise.
11880 * math/w_scalblnl.c: Likewise.
11881 * math/Makefile (libm-calls): Add w_scalbln.
11882 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11883 Remove weak_alias for corresponding scalbln function.
11884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11886 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11887 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11888 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11889 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11890 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11891 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11892 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11893 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11894 Remove long_double_symbol for scalblnl function in libm, libc.
11895 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11896 Add wrapper which checks for setting errno to ERANGE.
11897 Add long_double_symbol for scalblnl function in libm, libc.
11898 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11899 Remove long_double_symbol for scalblnl in libm.
11900 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11901 Add wrapper which checks for setting errno to ERANGE.
11902 Add long_double_symbol for scalblnl function in libm.
11903 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11904 Do not use wrapper because of own implementation.
11905
c8daec5c
L
119062014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11909 3 bytes for __pad1 for x32.
11910 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11911
5c74e47c
LM
119122014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11913 H.J. Lu <hongjiu.lu@intel.com>
11914
11915 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11916 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11917 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11918 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11919 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11920
4d43ef1e
AS
119212014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11922
11923 [BZ #17069]
11924 * posix/regcomp.c (parse_expression): Deallocate partially
11925 constructed tree before returning error.
11926 * posix/Makefile.c (tests): Add bug-regex36.
11927 (generated): Add bug-regex36.mtrace.
11928 (tests-special): Add $(objpfx)bug-regex36-mem.out
11929 (bug-regex36-ENV): New variable.
11930 ($(objpfx)bug-regex36-mem.out): New rule.
11931 * posix/bug-regex36.c: New file.
11932
51a7380b
WN
119332014-06-19 Will Newton <will.newton@linaro.org>
11934
11935 * malloc/malloc.c (systrim): If extra is zero then return
11936 early.
11937
91b84fe5
SP
119382014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11939
11940 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11941
f940b965
RE
119422014-06-19 Richard Earnshaw <rearnsha@arm.com>
11943
11944 * sysdeps/aarch64/strchr.S: New file.
11945
4ba7a00f
JM
119462014-06-18 Joseph Myers <joseph@codesourcery.com>
11947
11948 [BZ #17022]
11949 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11950 from arguments -2 or below.
11951 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11952 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11953
b3a9f56b
AS
119542014-06-18 Andreas Schwab <schwab@suse.de>
11955
11956 [BZ #17062]
11957 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11958 of a bracket expr not to run off the end of the string.
11959 * posix/Makefile (tests): Add tst-fnmatch3.
11960 * posix/tst-fnmatch3.c: New file.
11961
85d89278
JM
119622014-06-18 Joseph Myers <joseph@codesourcery.com>
11963
11964 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11965 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11966 [$(cross-compiling) = no]: Likewise.
11967 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11968 [$(cross-compiling) = no]: Likewise.
11969
754c5a08
RS
119702014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11971
11972 [BZ #17031]
11973 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11974 double, adjusted for any remainder from the high double.
11975 * math/libm-test.inc (nearbyint): Add tests.
11976 (rint): Likewise.
11977
556f529d
AZ
119782014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11979
11980 * nptl/sysdeps/powerpc/Makefile: Moved ...
11981 * sysdeps/powerpc/nptl/Makefile: ... here.
11982 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11983 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11984 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11985 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11986 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11987 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11988 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11989 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11990 * nptl/sysdeps/powerpc/tls.h: Moved ...
11991 * sysdeps/powerpc/nptl/tls.h: ... here.
11992
91c03c53
JM
119932014-06-16 Joseph Myers <joseph@codesourcery.com>
11994
11995 [BZ #16681]
11996 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11997 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11998 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11999 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12000 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12001 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12002 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12003 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12004 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12005
a76e63c5
AS
120062014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12007
12008 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12009
f2f6d82f
AS
120102014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12011
ea8a15f6
AS
12012 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12013 defined operator.
12014
f2f6d82f
AS
12015 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12016 $TIMEOUTFACTOR.
12017
a7291117
FW
120182014-06-16 Florian Weimer <fweimer@redhat.com>
12019
12020 [BZ #17058]
12021 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12022 non-executed part of the test.
12023
3d7c00e3
AS
120242014-06-16 Andreas Schwab <schwab@suse.de>
12025
12026 * string/bits/string2.h (strdup, strndup): Update feature guard.
12027
6957fb31
DM
120282014-06-14 David S. Miller <davem@davemloft.net>
12029
12030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12031
11b9e55b
AS
120322014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12033
1d2a0492
AS
12034 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12035 that was previously under [RESET_PID].
12036 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12037
11b9e55b
AS
12038 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12039 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12040 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12041 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12042 (__libc_vfork): New strong alias.
12043 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12044
0f6901d0
AK
120452014-06-14 Andi Kleen <ak@linux.intel.com>
12046
12047 * sysdeps/generic/elide.h: New file.
12048
38bbbb9f
SL
120492014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12050
12051 * Makefile (installed-headers): Adjust path of pthread.h header.
12052
45193bb8
RM
120532014-06-13 Roland McGrath <roland@hack.frob.com>
12054
9a25fd1e
RM
12055 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12056 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12057 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12058 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12059
4004f7e4
RM
12060 * nptl/sysdeps/s390/Makefile: Moved ...
12061 * sysdeps/s390/nptl/Makefile: ... here.
12062 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12063 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12064 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12065 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12066 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12067 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12068 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12069 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12070 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12071 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12072 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12073 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12074 * nptl/sysdeps/s390/tls.h: Moved ...
12075 * sysdeps/s390/nptl/tls.h: ... here.
12076
45193bb8
RM
12077 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12078 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12079
f6fdf533
DM
120802014-06-13 David S. Miller <davem@davemloft.net>
12081
12082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12084 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12085 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12088 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12089 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12090 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12091 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12092 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12093 Remove RESET_PID cpp guards.
12094 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12095 Remove RESET_PID cpp guards.
12096 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12097
f5d71e14
AS
120982014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12099
12100 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12101 __sp to uintptr_t.
12102
b7aa8caa
AK
121032014-06-13 Andi Kleen <ak@linux.intel.com>
12104
4b266200
AZ
12105 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12106 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12107 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12108 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12110 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12111 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12112 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12113 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12114 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12115 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12116 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12117 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12118 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12119 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12121 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12122 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12123 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12124 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
12125
12126 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
12127 (pthread_rwlock_rdlock): Add elision.
12128 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12129 (pthread_rwlock_wrlock): Add elision.
12130 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12131 (pthread_rwlock_trywrlock): Add elision.
12132 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12133 (pthread_rwlock_tryrdlock): Add elision.
12134 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12135 (pthread_rwlock_tryrdlock): Add elision unlock.
12136 * nptl/sysdeps/pthread/pthread.h:
12137 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12138 (PTHREAD_RWLOCK_INITIALIZER,
12139 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12140 Handle new elision field.
12141 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12142 * sysdeps/arm/nptl/bits/pthreadtypes.h
12143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12144 * sysdeps/sh/nptl/bits/pthreadtypes.h
12145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12146 * sysdeps/tile/nptl/bits/pthreadtypes.h
12147 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12148 * sysdeps/a/nptl/bits/pthreadtypes.h
12149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12150 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12152 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12154 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12156 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12158 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12160 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12162 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12164 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12166 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12167 (elision_init): Set try_xbegin to zero when no RTM.
12168 * sysdeps/x86/nptl/bits/pthreadtypes.h
12169 (pthread_rwlock_t): Change __pad1 to __rwelision.
12170 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 12171
a832bdd3
AK
121722014-06-13 Andi Kleen <ak@linux.intel.com>
12173
12174 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12175 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12176 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12177 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12178
995a46bb
MI
121792014-06-13 Meador Inge <meadori@codesourcery.com>
12180
12181 [BZ #16996]
03ed7738 12182 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
12183 that the cached result has been set before returning it.
12184
45262aee
RM
121852014-06-12 Roland McGrath <roland@hack.frob.com>
12186
febf6cc5
RM
12187 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12188 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12189 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12190 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12191 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12192 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12193
e2682246
RM
12194 * nptl/sysdeps/sparc/Makefile: Moved ...
12195 * sysdeps/sparc/nptl/Makefile: ... here.
12196 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12197 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12198 * nptl/sysdeps/sparc/tls.h: Moved ...
12199 * sysdeps/sparc/nptl/tls.h: ... here.
12200 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12201 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12202 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12203 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12204 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12205 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12206 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12207 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12208 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12209 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12210 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12211 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12212 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12213 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12214 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12215 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12216 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12217 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12218 Update #include.
12219 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12221 Update #include.
12222 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12223 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12224 Update #include.
12225 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12226 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12227 Update #include.
12228
b0725f43
RM
12229 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12230
b14368b8
RM
12231 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12232 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12233
c5620eb3
RM
12234 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12235 (struct list_links): Type removed.
12236 (struct thread_node, struct timer_node): Replace struct list_links
12237 with struct list_head.
12238 (list_unlink_ip): Likewise.
12239 * sysdeps/pthread/timer_routines.c
12240 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12241 (list_append, list_insbefore): Likewise.
12242 (list_init): Function removed.
12243 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12244 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12245 * sysdeps/pthread/Makefile: ... here, new file.
12246
12247 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12248 * sysdeps/nptl/Implies: ... here.
12249 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12250 * nptl/sysdeps/pthread/list.h: Moved ...
12251 * include/list.h: ... here.
12252 * nptl/sysdeps/pthread/createthread.c: Moved ...
12253 * nptl/createthread.c: ... here.
12254 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12255 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12256 * nptl/pt-longjmp.c: ... here.
12257 * nptl/sysdeps/pthread/Makefile: Moved ...
12258 * sysdeps/nptl/Makefile: ... here.
12259 * nptl/sysdeps/pthread/Subdirs: Moved ...
12260 * sysdeps/nptl/Subdirs: ... here.
12261 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12262 * sysdeps/nptl/aio_misc.h: ... here.
12263 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12264 * sysdeps/nptl/bits/libc-lock.h: ... here.
12265 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12266 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12267 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12268 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12269 * nptl/sysdeps/pthread/configure: Moved ...
12270 * sysdeps/nptl/configure: ... here.
12271 * nptl/sysdeps/pthread/configure.ac: Moved ...
12272 * sysdeps/nptl/configure.ac: ... here.
12273 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12274 * sysdeps/nptl/gai_misc.h: ... here.
12275 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12276 * sysdeps/nptl/librt-cancellation.c: ... here.
12277 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12278 * sysdeps/nptl/malloc-machine.h: ... here.
12279 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12280 * sysdeps/nptl/pthread-functions.h: ... here.
12281 * nptl/sysdeps/pthread/pthread.h: Moved ...
12282 * sysdeps/nptl/pthread.h: ... here.
12283 * nptl/sysdeps/pthread/setxid.h: Moved ...
12284 * sysdeps/nptl/setxid.h: ... here.
12285 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12286 * sysdeps/nptl/sigfillset.c: ... here.
12287 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12288 * sysdeps/nptl/tcb-offsets.h: ... here.
12289 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12290 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12291 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12292 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12293 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12294 * sysdeps/pthread/allocalim.h: ... here.
12295 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12296 * sysdeps/pthread/bits/sigthread.h: ... here.
12297 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12298 * sysdeps/pthread/flockfile.c: ... here.
12299 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12300 * sysdeps/pthread/ftrylockfile.c: ... here.
12301 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12302 * sysdeps/pthread/funlockfile.c: ... here.
12303 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12304 * sysdeps/pthread/posix-timer.h: ... here.
12305 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12306 * sysdeps/pthread/timer_create.c: ... here.
12307 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12308 * sysdeps/pthread/timer_delete.c: ... here.
12309 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12310 * sysdeps/pthread/timer_getoverr.c: ... here.
12311 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12312 * sysdeps/pthread/timer_gettime.c: ... here.
12313 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12314 * sysdeps/pthread/timer_routines.c: ... here.
12315 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12316 * sysdeps/pthread/timer_settime.c: ... here.
12317 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12318 * sysdeps/pthread/tst-timer.c: ... here.
12319 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12320 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12321
e876b090
RM
12322 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12323 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12324
f6b07b3d
RM
12325 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12326 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12327 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12328 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12329 Update #include target.
12330 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12331 * sysdeps/i386/i686/nptl/Makefile: ... here.
12332 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12333 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12334 Update #include target.
12335 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12336 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12337 * nptl/sysdeps/i386/Makefile: Moved ...
12338 * sysdeps/i386/nptl/Makefile: ... here.
12339 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12340 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12341 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12342 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12343 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12344 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12345 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12346 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12347 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12348 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12349 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12350 * nptl/sysdeps/i386/tls.h: Moved ...
12351 * sysdeps/i386/nptl/tls.h: ... here.
12352
45262aee
RM
12353 * sysdeps/sh/Makefile [$(subdir) = csu]
12354 (gen-as-const-headers): Add tcb-offsets.sym.
12355 * nptl/sysdeps/sh/Makefile: File removed.
12356 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12357 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12358 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12359 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12360 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12361 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12362 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12363 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12364 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12365 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12366 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12367 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12368 * nptl/sysdeps/sh/tls.h: Moved ...
12369 * sysdeps/sh/nptl/tls.h: ... here.
12370 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12371 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12372 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12373 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12374 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12375 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12376 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12377 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12379 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12380 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12381 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12383 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12384 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12385 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12386 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12387 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12389 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12391 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12392 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12393 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12395 Moved ...
12396 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12397 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12398 Moved ...
12399 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12401 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12402 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12403 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12404 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12405 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12406 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12407 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12408 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12409 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12410 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12411 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12412 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12413 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12415 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12416 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12417 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12418
35a5e3e3
SL
124192014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12420
12421 * posix/spawn_faction_addopen.c: Include string.h.
12422
14642b85
RM
124232014-06-11 Roland McGrath <roland@hack.frob.com>
12424
12425 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12426 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12427 * nptl/sysdeps/x86_64/Makefile: Moved ...
12428 * sysdeps/x86_64/nptl/Makefile: ... here.
12429 * nptl/sysdeps/x86_64/configure: Moved ...
12430 * sysdeps/x86_64/nptl/configure: ... here.
12431 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12432 * sysdeps/x86_64/nptl/configure.ac: ... here.
12433 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12434 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12435 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12436 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12437 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12438 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12439 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12440 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12441 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12442 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12443 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12444 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12445 * nptl/sysdeps/x86_64/tls.h: Moved ...
12446 * sysdeps/x86_64/nptl/tls.h: ... here.
12447 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12448 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12449 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12450 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12451
12452 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12453
31c44fea
AZ
124542014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12455
12456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12457
e81a4f9a
JM
124582014-06-11 Joseph Myers <joseph@codesourcery.com>
12459
12460 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12461 type.
12462 [POSIX] (off_t): Likewise.
12463 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12464 [POSIX] (S_ISBLK): Require macro.
12465 [POSIX] (S_ISCHR): Likewise.
12466 [POSIX] (S_ISDIR): Likewise.
12467 [POSIX] (S_ISFIFO): Likewise.
12468 [POSIX] (S_ISREG): Likewise.
12469 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12470 optional-macro.
12471 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12472 type.
12473 [POSIX] (time_t): Likewise.
12474 [POSIX] (timer_t): Likewise.
12475
89e435f3
FW
124762014-06-11 Florian Weimer <fweimer@redhat.com>
12477
12478 [BZ #17048]
12479 * posix/spawn_int.h (struct __spawn_action): Make the path string
12480 non-const to support deallocation.
12481 * posix/spawn_faction_addopen.c
12482 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12483 * posix/spawn_faction_destroy.c
12484 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12485 path in all spawn_do_open actions.
12486 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12487 posix_spawn_file_actions_addopen.
12488
c3a2ebe1
CM
124892014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12490
12491 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12492 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12493 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12494 conditional code always true.
12495 (__libc_vfork): New alias.
12496
9503784a
RM
124972014-06-11 Roland McGrath <roland@hack.frob.com>
12498
c9cab3d2
RM
12499 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12500 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12501
d3996c79
RM
12502 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12503
ba5ec611
RM
12504 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12505 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12506
f12b4814
RM
12507 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12508 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12509
9503784a
RM
12510 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12511 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12512
e23d3d26
VR
125132014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12514
12515 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12516 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12517 multiarch strcmp for PPC64.
12518 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12519 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12521 multiarch optimizations.
12522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12523 (__libc_ifunc_impl_list): Likewise.
12524
42b1161e
SP
125252014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12526
12527 * benchtests/scripts/validate_benchout.py: New script.
12528 * benchtests/Makefile (bench-func): Call it.
12529 * benchtests/scripts/benchout.schema.json: New file.
12530
2d0fc4dc
CM
125312014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12532
4a594c34
AZ
12533 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12534 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12535 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12536 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12537 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12538 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12539 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12540 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12541 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12542 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12543 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12544 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12545 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12546 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12547 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12548 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12550 Moved ...
4a594c34 12551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12552 ... here.
4a594c34 12553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12554 Moved ...
4a594c34
AZ
12555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12557 Moved ...
4a594c34 12558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12559 ... here.
4a594c34 12560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12561 Moved ...
4a594c34 12562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12563 ... here.
4a594c34 12564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12565 Moved ...
4a594c34
AZ
12566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12568 Moved ...
4a594c34 12569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12570 ... here.
4a594c34 12571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12572 Moved ...
4a594c34 12573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12574 ... here.
4a594c34 12575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12576 Moved ...
4a594c34
AZ
12577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12579 Moved ...
4a594c34 12580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12581 ... here.
4a594c34 12582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12583 Moved ...
4a594c34 12584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12585 ... here.
4a594c34 12586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12587 Moved ...
4a594c34 12588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12589 ... here.
4a594c34 12590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12591 Moved ...
4a594c34
AZ
12592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12594 Moved ...
4a594c34 12595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12596 ... here.
4a594c34 12597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12598 Moved ...
4a594c34 12599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12600 ... here.
4a594c34 12601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12602 Moved ...
4a594c34 12603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12604 ... here.
4a594c34 12605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12606 Moved ...
4a594c34
AZ
12607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12609 Moved ...
4a594c34 12610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12611 ... here.
4a594c34 12612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12613 Moved ...
4a594c34 12614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12615 ... here.
4a594c34 12616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12617 Moved ...
4a594c34
AZ
12618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12620 Moved ...
4a594c34 12621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12622 ... here.
4a594c34 12623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12624 Moved ...
4a594c34
AZ
12625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12627 Moved ...
4a594c34
AZ
12628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12630 Moved ...
4a594c34 12631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12632 ... here.
4a594c34 12633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12634 Moved ...
4a594c34 12635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12636 ... here.
4a594c34 12637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12638 Moved ...
4a594c34 12639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12640 ... here.
4a594c34 12641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12642 Moved ...
4a594c34
AZ
12643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12645 Moved ...
4a594c34 12646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12647 ... here.
4a594c34 12648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12649 Moved ...
4a594c34 12650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12651 ... here.
4a594c34
AZ
12652 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12653 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12654 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12655 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12656 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12657 Moved ...
4a594c34 12658 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12659 ... here.
4a594c34
AZ
12660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12661 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12663 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12664 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12665 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12667 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12669 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12671 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12672 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12673 Moved ...
4a594c34
AZ
12674 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12675 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12676 Moved ...
4a594c34
AZ
12677 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12679 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12681 Moved ...
4a594c34
AZ
12682 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12683 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12684 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12685 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12686 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12687 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12688 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12689
0570cfed
W
126902014-06-10 Wilco <wdijkstr@arm.com>
12691
12692 * math/test-fenv-return.c: New file.
12693 * math/Makefile: Add new test test-fenv-return.
12694
f8ba1b56
JM
126952014-06-10 Joseph Myers <joseph@codesourcery.com>
12696
12697 [BZ #17042]
12698 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12699 when x - 1 is zero.
12700 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12701 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12702 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12703 0.0L for an argument of 1.0L.
12704 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12705 Likewise.
12706 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12707 value when x - 1 is zero.
12708 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12709 * sysdeps/i386/fpu/libm-test-ulps: Update.
12710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12711
2c3520d9
BO
127122014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12713
12714 [BZ #15119]
12715 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12716
acaa4d24
RM
127172014-06-09 Roland McGrath <roland@hack.frob.com>
12718
12719 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12720 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12721
962b744d
RM
127222014-06-09 Roland McGrath <roland@hack.frob.com>
12723
d752f0cc
RM
12724 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12725 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12726
34eda6d1
RM
12727 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12728 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12729
50f0a637
RM
12730 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12731 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12732
08f41f04
RM
12733 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12734 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12735
962b744d
RM
12736 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12737 if not already defined.
12738 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12739 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12740 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12741 (TLS_INIT_TP): Use it.
12742 (TLS_DEFINE_INIT_TP): New macro.
12743 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12744
09f19b05
JM
127452014-06-09 Joseph Myers <joseph@codesourcery.com>
12746
12747 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12748 constant.
12749 [POSIX] (IXANY): Likewise.
12750 [POSIX] (OLCUC): Likewise.
12751 [POSIX || POSIX2008] (CBAUD): Do not allow.
12752 [POSIX || POSIX2008] (DEFECHO): Likewise.
12753 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12754 [POSIX || POSIX2008] (ECHOKE): Likewise.
12755 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12756 [POSIX || POSIX2008] (EXTA): Likewise.
12757 [POSIX || POSIX2008] (EXTB): Likewise.
12758 [POSIX || POSIX2008] (FLUSHO): Likewise.
12759 [POSIX || POSIX2008] (LOBLK): Likewise.
12760 [POSIX || POSIX2008] (PENDIN): Likewise.
12761 [POSIX || POSIX2008] (SWTCH): Likewise.
12762 [POSIX || POSIX2008] (VDISCARD): Likewise.
12763 [POSIX || POSIX2008] (VDSUSP): Likewise.
12764 [POSIX || POSIX2008] (VLNEXT): Likewise.
12765 [POSIX || POSIX2008] (VREPRINT): Likewise.
12766 [POSIX || POSIX2008] (VSTATUS): Likewise.
12767 [POSIX || POSIX2008] (VWERASE): Likewise.
12768 (B*): Change to B[0123456789]*.
12769 * conform/data/time.h-data [POSIX || UNIX98]
12770 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12771 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12772 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12773 [POSIX] (tm_*): Do not allow.
12774
686554bf
JM
127752014-06-07 Joseph Myers <joseph@codesourcery.com>
12776
12777 * Makefile (install): Don't set LANGUAGE.
12778 * Makefile.in (install): Likewise.
12779 * assert/Makefile (test-assert-ENV): Remove variable.
12780 (test-assert-perr-ENV): Likewise.
12781 * elf/Makefile (neededtest4-ENV): Likewise.
12782 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12783 [$(cross-compiling) = no]: Don't set LANGUAGE.
12784 * io/ftwtest-sh (LANG): Remove variable.
12785 * libio/Makefile (tst-widetext-ENV): Likewise.
12786 * manual/install.texi (Running make install): Don't refer to
12787 environment settings for make install.
12788 * INSTALL: Regenerated.
12789 * nptl/tst-tls6.sh: Don't set LANG.
12790 * posix/globtest.sh (LANG): Remove variable.
12791 * string/Makefile (tester-ENV): Likewise.
12792 (inl-tester-ENV): Likewise.
12793 (noinl-tester-ENV): Likewise.
12794 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12795 [$(cross-compiling) = no]: Don't set LANGUAGE.
12796 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12797 without explicit environment settings.
12798
68e6b6b1
RM
127992014-06-06 Roland McGrath <roland@hack.frob.com>
12800
12801 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12802 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12803 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12804 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12805
4d3ae034
CM
128062014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12807
12808 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12809 other files in the crypt directory.
12810 * crypt/crypt.c: Remove duplicate includes.
12811 * crypt/crypt-entry.c: Likewise.
12812 * crypt/crypt_util.c: Likewise.
12813
8540f6d2
JM
128142014-06-06 Joseph Myers <joseph@codesourcery.com>
12815
12816 * Makeconfig (run-program-env): New variable.
12817 (run-program-prefix-before-env): Likewise.
12818 (run-program-prefix-after-env): Likewise.
12819 (run-program-prefix): Define in terms of new variables.
12820 (built-program-cmd-before-env): New variable.
12821 (built-program-cmd-after-env): Likewise.
12822 (built-program-cmd): Define in terms of new variables.
12823 (test-program-prefix-before-env): New variable.
12824 (test-program-prefix-after-env): Likewise.
12825 (test-program-prefix): Define in terms of new variables.
12826 (test-program-cmd-before-env): New variable.
12827 (test-program-cmd-after-env): Likewise.
12828 (test-program-cmd): Define in terms of new variables.
12829 * Rules (make-test-out): Use $(run-program-env).
12830 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12831 (help): Do not mention environment variables. Mention
12832 --timeoutfactor option.
12833 (timeoutfactor): New variable.
12834 (blacklist_exports): Remove function.
12835 (exports): Remove variable.
12836 (command): Do not include ${exports}.
12837 * manual/install.texi (Configuring and compiling): Do not mention
12838 test wrappers preserving environment variables. Mention that last
12839 assignment to a variable must take precedence.
12840 * INSTALL: Regenerated.
12841 * benchtests/Makefile (run-bench): Use $(run-program-env).
12842 * catgets/Makefile ($(objpfx)test1.cat): Use
12843 $(built-program-cmd-before-env), $(run-program-env) and
12844 $(built-program-cmd-after-env).
12845 ($(objpfx)test2.cat): Do not specify environment variables
12846 explicitly.
12847 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12848 $(run-program-env) and $(built-program-cmd-after-env).
12849 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12850 $(run-program-env) and $(test-program-cmd-after-env).
12851 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12852 explicitly.
12853 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12854 run_program_env and test_program_cmd_after_env arguments.
12855 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12856 * elf/tst-pathopt.sh: Use run_program_env argument.
12857 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12858 $(test-wrapper-env) and $(run-program-env).
12859 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12860 run_program_env arguments.
12861 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12862 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12863 $(test-program-prefix-before-env), $(run-program-env) and
12864 $(test-program-prefix-after-env).
12865 ($(objpfx)tst-gettext2.out): Likewise.
12866 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12867 run_program_env and test_program_prefix_after_env arguments.
12868 * intl/tst-gettext2.sh: Likewise.
12869 * intl/tst-gettext4.sh: Do not set environment variables
12870 explicitly.
12871 * intl/tst-gettext6.sh: Likewise.
12872 * intl/tst-translit.sh: Likewise.
12873 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12874 $(test-program-prefix-before-env), $(run-program-env) and
12875 $(test-program-prefix-after-env).
12876 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12877 run_program_env and test_program_prefix_after_env arguments.
12878 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12879 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12880 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12881 explicitly with each use of ${test_wrapper_env}.
12882 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12883 $(test-program-prefix-before-env), $(run-program-env) and
12884 $(test-program-prefix-after-env).
12885 * posix/tst-getconf.sh: Do not set environment variables
12886 explicitly.
12887 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12888 run_program_env and test_program_prefix_after_env arguments.
12889 * stdio-common/tst-printf.sh: Do not set environment variables
12890 explicitly.
12891 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12892 $(test-program-prefix-before-env), $(run-program-env) and
12893 $(test-program-prefix-after-env).
12894 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12895 run_program_env and test_program_prefix_after_env arguments.
12896 Split $test calls into $test_pre and $test.
12897 * timezone/Makefile (build-testdata): Use
12898 $(built-program-cmd-before-env), $(run-program-env) and
12899 $(built-program-cmd-after-env).
12900
ed36bfa1
AZ
129012014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12902
12903 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12904 strlen for non SHARED builds.
12905
fc75bf46
SP
129062014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12907
12908 * nptl/allocatestack.c (check_list): Inlined function...
12909 (__reclaim_stacks): ... here.
12910
d89b3d80
OB
129112014-06-05 Ondřej Bílka <neleai@seznam.cz>
12912
12913 [BZ #15698]
12914 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12915 memory overrun.
12916
2bf18041
JM
129172014-06-05 Joseph Myers <joseph@codesourcery.com>
12918
12919 * Rules (make-test-out): Include
12920 LOCPATH=$(common-objpfx)localedata in default environment.
12921 * debug/Makefile (tst-chk1-ENV): Remove variable.
12922 (tst-chk2-ENV): Likewise.
12923 (tst-chk3-ENV): Likewise.
12924 (tst-chk4-ENV): Likewise.
12925 (tst-chk5-ENV): Likewise.
12926 (tst-chk6-ENV): Likewise.
12927 (tst-lfschk1-ENV): Likewise.
12928 (tst-lfschk2-ENV): Likewise.
12929 (tst-lfschk3-ENV): Likewise.
12930 (tst-lfschk4-ENV): Likewise.
12931 (tst-lfschk5-ENV): Likewise.
12932 (tst-lfschk6-ENV): Likewise.
12933 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12934 (tst-iconv7-ENV): Likewise.
12935 * intl/Makefile (LOCPATH-ENV): Likewise.
12936 (tst-codeset-ENV): Likewise.
12937 (tst-gettext3-ENV): Likewise.
12938 (tst-gettext5-ENV): Likewise.
12939 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12940 (tst-fopenloc-ENV): Likewise.
12941 (tst-fgetws-ENV): Remove variable.
12942 (tst-ungetwc1-ENV): Likewise.
12943 (tst-ungetwc2-ENV): Likewise.
12944 (bug-ungetwc2-ENV): Likewise.
12945 (tst-swscanf-ENV): Likewise.
12946 (bug-ftell-ENV): Likewise.
12947 (tst-fgetwc-ENV): Likewise.
12948 (tst-fseek-ENV): Likewise.
12949 (tst-ftell-partial-wide-ENV): Likewise.
12950 (tst-ftell-active-handler-ENV): Likewise.
12951 (tst-ftell-append-ENV): Likewise.
12952 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12953 (tst-regexloc-ENV): Likewise.
12954 (bug-regex1-ENV): Likewise.
12955 (tst-regex-ENV): Likewise.
12956 (tst-regex2-ENV): Likewise.
12957 (bug-regex5-ENV): Likewise.
12958 (bug-regex6-ENV): Likewise.
12959 (bug-regex17-ENV): Likewise.
12960 (bug-regex18-ENV): Likewise.
12961 (bug-regex19-ENV): Likewise.
12962 (bug-regex20-ENV): Likewise.
12963 (bug-regex22-ENV): Likewise.
12964 (bug-regex23-ENV): Likewise.
12965 (bug-regex25-ENV): Likewise.
12966 (bug-regex26-ENV): Likewise.
12967 (bug-regex30-ENV): Likewise.
12968 (bug-regex32-ENV): Likewise.
12969 (bug-regex33-ENV): Likewise.
12970 (bug-regex34-ENV): Likewise.
12971 (bug-regex35-ENV): Likewise.
12972 (tst-rxspencer-ENV): Likewise.
12973 (tst-rxspencer-no-utf8-ENV): Likewise.
12974 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12975 (tst-sscanf-ENV): Likewise.
12976 (tst-swprintf-ENV): Likewise.
12977 (tst-swscanf-ENV): Likewise.
12978 (test-vfprintf-ENV): Likewise.
12979 (scanf13-ENV): Likewise.
12980 (bug14-ENV): Likewise.
12981 (tst-grouping-ENV): Likewise.
12982 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12983 (tst-strtod3-ENV): Likewise.
12984 (tst-strtod4-ENV): Likewise.
12985 (tst-strtod5-ENV): Likewise.
12986 (testmb2-ENV): Likewise./
12987 * string/Makefile (tst-strxfrm-ENV): Likewise.
12988 (tst-strxfrm2-ENV): Likewise.
12989 (bug-strcoll1-ENV): Likewise.
12990 (test-strcasecmp-ENV): Likewise.
12991 (test-strncasecmp-ENV): Likewise.
12992 * time/Makefile (tst-strptime-ENV): Likewise.
12993 (tst-ftime_l-ENV): Likewise.
12994 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12995 (tst-mbrtowc-ENV): Likewise.
12996 (tst-wcrtomb-ENV): Likewise.
12997 (tst-mbrtowc2-ENV): Likewise.
12998 (tst-c16c32-1-ENV): Likewise.
12999 (tst-mbsnrtowcs-ENV): Likewise.
13000
cd1fb604
OB
130012014-06-05 Ondřej Bílka <neleai@seznam.cz>
13002
13003 * manual/resource.texi (How to get information about the memory
13004 subsystem?): Fix typo.
13005 Reported by Peon de la Parra Ivan <peon@keba.com>
13006
b42eca7d
GY
130072014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13008
13009 [BZ #16882]
13010 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13011 (pthread_spin_lock): Branch out of spin loop to proper location.
13012 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13013 (pthread_spin_lock): Likewise.
13014
902b71f9
DM
13015 * nptl/tst-spin4.c: New test.
13016 * nptl/Makefile (tests): Add tst-spin4.
13017
f9d2d032
AS
130182014-06-03 Andreas Schwab <schwab@suse.de>
13019
13020 [BZ #15946]
13021 * resolv/res_send.c (send_dg): Reload file descriptor after
13022 calling reopen.
13023
cf7bfd28
SL
130242014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13025
13026 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13027
111cc714
RH
130282014-06-03 Richard Henderson <rth@redhat.com>
13029
89b4bd6b
RH
13030 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13031 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13032 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13033 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13034 in the SAVE_PID block.
13035 (__libc_vfork): New alias.
71840409 13036 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 13037
111cc714
RH
13038 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13039 child in registers, not on the stack. Remove RESET_PID conditionals.
13040 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13041
ccc39911
MS
130422014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13043
13044 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13045
693096cc
W
130462014-06-03 Wilco <wdijkstr@arm.com>
13047
13048 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13049 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13050 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13051 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13052 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13053 Likewise.
13054
0b4366bc
W
130552014-06-03 Wilco <wdijkstr@arm.com>
13056
13057 * sysdeps/aarch64/fpu/math_private.h
13058 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13059 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13060 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13061 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13062 Fix declarations.
13063
8747cd03
KS
130642014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13065
13066 * crypt/crypt-private.h: Include ufc-crypt.h.
13067 (__b64_from_24bit): Declare extern.
13068 * crypt/crypt_util.c(__b64_from_24bit): New function.
13069 (b64t): New static const variable.
13070 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13071 (b64t): Remove variable.
13072 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13073 * crypt/sha256-crypt.c: Include crypt-private.h.
13074 (b64t): Remove variable.
13075 (__sha256_crypt_r): Remove b64_from_24bit and replace
13076 with __b64_from_24bit.
13077 * crypt/sha512-crypt.c: Likewise.
13078
d936d379
RM
130792014-06-02 Roland McGrath <roland@hack.frob.com>
13080
13081 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13082 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13083 Label the code __libc_vfork rather than __vfork.
13084 [!NOT_IN_libc] (vfork): Define as weak alias.
13085 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13086 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13087 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13088
9fa76613
SP
130892014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13090
13091 * malloc/malloc.c (malloc_info): Fix format specifier for
13092 n_mmaps.
13093
a88dadbe
W
130942014-06-02 Wilco <wdijkstr@arm.com>
13095
13096 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13097 FPCR write.
13098
c95b3011
W
130992014-06-02 Wilco <wdijkstr@arm.com>
13100
13101 [BZ #17009]
13102 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13103 Rewrite to reduce FPCR/FPSR accesses.
13104
6b4d7a90
DM
131052014-06-01 David S. Miller <davem@davemloft.net>
13106
13107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13108
30f3d07c
DM
131092014-05-31 David S. Miller <davem@davemloft.net>
13110
13111 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13112 to occur in round to nearest mode when |x| >= 2.0
13113
74f31c18
RH
131142014-05-30 Richard Henderson <rth@twiddle.net>
13115
f0712b54
RH
13116 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13117 (PSEUDO_RET_NOERRNO): Remove.
13118 (ret): Don't redefine.
13119 (ret_NOERRNO): Define in terms of ret.
13120 (ret_ERRVAL): Likewise.
13121
74f31c18
RH
13122 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13123 use of PSEUDO_RET; perform the error check directly.
13124
30477995
MM
131252014-05-30 Marko Myllynen <myllynen@redhat.com>
13126
13127 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13128 with __int128_t.
13129
62a58816
SP
131302014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13131
13132 * malloc/malloc (malloc_info): Fix formatting.
13133
4d653a59
SP
131342014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13135 Roland McGrath <roland@hack.frob.com>
13136
13137 * malloc/malloc (malloc_info): Also print mmapped statistics.
13138
5190c17f
RM
131392014-05-30 Roland McGrath <roland@hack.frob.com>
13140
13141 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13142 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13143
987c0269
OB
131442014-05-30 Ondřej Bílka <neleai@seznam.cz>
13145
13146 * malloc/malloc.c (malloc_info): Inline mi_arena.
13147
af4e8ef9
RH
131482014-05-29 Richard Henderson <rth@twiddle.net>
13149
1670e207
RH
13150 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13151 Remove comma before expanding ASM_ARGS_##nr.
13152 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13153 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13154 of ASM_ARGS_##nr.
13155 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13156 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13157 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13158 (ASM_ARGS_1): Add leading comma.
13159
11a28aee
RH
13160 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13161 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13162 to __errno_location.
13163 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13164 Remove the expected plt for __errno_location.
13165
a17e5ffb 13166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 13167 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
13168 call to __read_tp.
13169
b5be4597
RH
13170 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13171 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13172 it and break it down.
13173 (DOCARGS_0, DOCARGS_1): Do nothing.
13174 (DOCARGS_2): Update to store into the new stack frame.
13175 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13176 (UNDOCARGS_1): Update to restore from the new stack frame.
13177 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13178 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13179
645d44ab
RH
13180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13181 (SINGLE_THREAD_P): New parameter for result regno.
13182 (PSEUDO): Update to match; use cbz instead of beq.
13183
a8b4f04a
RH
13184 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13185 Use ENTRY to define the _nocancel entry point. Share the syscall
13186 and syscall error check paths with the cancel path.
13187 (PSEUDO_END): New.
13188
af4e8ef9
RH
13189 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13190 whitespace; tabs before and after asm mnemonics.
13191
26b0d2e1
EW
131922014-05-29 Eric Wong <normalperson@yhbt.net>
13193
13194 [BZ #15132]
13195 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13196 Call fstat64 or stat64 internally, depending on arguments passed.
13197 Replace stat buffer argument with file descriptor argument.
13198 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13199 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13200 Pass fd to __internal_statvfs instead of calling fstat64.
13201 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13202 Pass fd to __internal_statvfs64 instead of calling fstat64.
13203 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13204 Pass -1 to __internal_statvfs instead of calling stat64.
13205 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13206 Pass -1 to __internal_statvfs64 instead of calling stat64.
13207
1efe2bd9
RM
132082014-05-28 Roland McGrath <roland@hack.frob.com>
13209
0d3b7a19
RM
13210 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13211 that was previously under [RESET_PID].
13212 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13213
1efe2bd9
RM
13214 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13215 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13216
a6bea3ca
RM
132172014-05-27 Roland McGrath <roland@hack.frob.com>
13218
30b6629e
RM
13219 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13220
a6bea3ca
RM
13221 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13222 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13223
3dfb9a5c
OB
132242014-05-27 Ondřej Bílka <neleai@seznam.cz>
13225
13226 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13227
774f9285
AS
132282014-05-27 Andreas Schwab <schwab@suse.de>
13229
13230 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13231 TLS_INIT_TP macro.
13232 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13233 * elf/rtld.c (init_tls, dl_main): Likewise.
13234 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13235 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13236 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13237 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13238 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13239 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13240 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13241 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13242 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13243 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13244 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13245 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13246 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13247 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13248 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13249 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13250 * sysdeps/generic/tls.h: Update description.
13251
36ffe739
WN
132522014-05-27 Will Newton <will.newton@linaro.org>
13253
13254 [BZ #16990]
13255 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13256 and restore r2 rather than just restoring.
13257
2482ae43
SP
132582014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13259
13260 [BZ #16724]
13261 * libio/tst-ftell-append.c: New test case.
13262 * libio/Makefile (tests): Add test case.
13263 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13264 append mode.
13265 * libio/wfileops.c (do_ftell_wide): Likewise.
13266
3d1024e8
AZ
132672014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13268
bab90016
AZ
13269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13270
c7a8d667
AZ
13271 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13272 ...
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13275 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13276 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13277 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13278 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13279 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13280 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13282 Moved ...
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13285 Moved ...
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13287 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13288 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13289 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13290 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13291 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13292 ...
13293 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13294 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13295 Moved ...
13296 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13297 here.
13298 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13299 ...
13300 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13301 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13302 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13303
daee7851
AZ
13304 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13305 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13306 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13307 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13308
50a40819
AZ
13309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13310 merge into ...
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13313 ...
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13316 ...
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13319 Moved ...
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13321 here.
13322 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13323 Moved ...
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13326 Moved ...
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13328
8464c2a1
AZ
13329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13330 conditional [RESET_PID].
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13332 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13333 removed.
13334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13335 removed.
13336
3d1024e8
AZ
13337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13338 <tcb-offsets.h>.
13339 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13340 (__libc_vfork): New strong alias.
13341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13342 removed.
13343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13344 Removed.
13345
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13347 <tcb-offsets.h>.
13348 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13349 (__libc_vfork): New strong alias.
13350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13351 removed.
13352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13353 removed.
13354
fdfd175d
CD
133552014-05-26 Carlos O'Donell <carlos@redhat.com>
13356
13357 * malloc/malloc.c (mi_arena): New function.
13358 (malloc_info): Remove nested function mi_arena. Call non-nosted
13359 function mi_arena.
13360
d298c416
AZ
133612014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13362
13363 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13364 by insrwi.
13365 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13366 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13367 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13368 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13369 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13370 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13371 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13372
b60ea6ff
AS
133732014-05-26 Andreas Schwab <schwab@suse.de>
13374
13375 [BZ #16984]
13376 * locale/programs/repertoire.c (repertoire_read): Add slash
13377 between I18NPATH element and file name.
13378 * locale/programs/locfile.c (locfile_read): Likewise.
13379
67365926
SL
133802014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13381
13382 * nptl/pthread_mutexattr_settype.c
13383 (__pthread_mutexattr_settype):
13384 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13385
f8bdf1f0
SL
133862014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13387
13388 * nptl/tst-mutex5 (do_test):
13389 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13390
15eaf6ff
SP
133912014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13392
13393 * benchtests/README: Document 'init' directive.
13394 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13395 BENCH_INIT.
13396 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13397 (parse_file): Recognize 'init' directive.
13398
75f11331
KM
133992014-05-26 Kyle McMartin <kyle@redhat.com>
13400
13401 [BZ #16796]
13402 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13403 alignment of struct pthread.
13404
c3ec475c
SP
134052014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13406
13407 [BZ #16878]
13408 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13409 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13410 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13411 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13412
82aab97c
RH
134132014-05-25 Richard Henderson <rth@twiddle.net>
13414
aa2f176d
RH
13415 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13416 (SINGLE_THREAD_P_PIC): Remove.
13417 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13418 (SINGLE_THREAD_P_PIC): Remove.
13419
ca3cfa40
RH
13420 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13421 branch to syscall error ...
13422 (PSEUDO): ... here.
13423 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13424 from __local_syscall_error to .Lsyscall_error.
13425 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13426 (SYSCALL_ERROR): Update label name.
13427
6e6c2d01
RH
13428 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13429 Do not use DOARGS/UNDOARGS.
13430 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13431 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13432 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13433 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13434 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13435
c69abcee
RH
13436 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13437 block comment.
13438
82aab97c
RH
13439 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13440 define if !NOT_IN_libc.
13441 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13442 define with non-default symbol versions.
13443
8820e3ac
RH
134442014-05-23 Richard Henderson <rth@twiddle.net>
13445
900e445f
RH
13446 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13447 (vfork, __vfork): Define via compat_symbol.
13448
8820e3ac
RH
13449 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13450 [!HAVE_IFUNC] (vfork_compat): Remove.
13451 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13452
e59252a5
JM
134532014-05-23 Joseph Myers <joseph@codesourcery.com>
13454
13455 [BZ #16978]
13456 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13457 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13458 variable.
13459
132c7f5f
RH
134602014-05-23 Richard Henderson <rth@twiddle.net>
13461
bc89e962
RH
13462 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13463 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13464 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13465 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13466
13467 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13468 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13469 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13470 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13471 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13472 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13473 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13474 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13475 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13476 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13477 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13478 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13479 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13480 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13481 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13482 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13483 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13484 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13485 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13486 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13487 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13488 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13489 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13490 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13491 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13492 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13493 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13494 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13495 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13496 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13497 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13498 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13499 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13500 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13501 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13502 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13503 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13504 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13505 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13506 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13507 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13508 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13509 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13510 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13511 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13512 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13514 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13515 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13516 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13517 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13518 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13519 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13520 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13521 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13522 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13523
e2fa4bc2
RH
13524 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13525 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13526 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13527 before exiting on error.
13528 (__libc_vfork): New strong alias.
13529 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13530 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13531
279b24e2
RH
13532 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13533 that was previously under [RESET_PID].
13534 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13535
132c7f5f
RH
13536 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13537
b72592e7
JM
135382014-05-23 Joseph Myers <joseph@codesourcery.com>
13539
13540 [BZ #16977]
13541 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13542 value when x - 1 is zero.
13543 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13544 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13545 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13546 0.0L for an argument of 1.0L.
13547 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13548 Likewise.
13549 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13550 value when x - 1 is zero.
13551 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13552 * sysdeps/i386/fpu/libm-test-ulps: Update.
13553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13554
2302d679
RV
135552014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13556
13557 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13558 alphasort and versionsort.
13559
32999d63
AZ
135602014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13561
13562 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13563 macro.
13564 [copysignf]: Likewise.
13565
019324d0
SP
135662014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13567
13568 * crypt/md5-crypt.c: Fix formatting.
13569
34fff5c2
KS
135702014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13571
13572 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13573 (b64_from_24bit): New function.
13574
3d2badac
AZ
135752014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13576
13577 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13578 libc_hidden_builtin_def to ifunc.
13579 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13580 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13581
f7bb179f 135822014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13583
13584 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13585 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13586
4134b50d
JM
135872014-05-21 Joseph Myers <joseph@codesourcery.com>
13588
bb7d0337
JM
13589 * nscd/Depend (linuxthreads): Remove.
13590 (nptl): Add.
13591 * resolv/Depend (linuxthreads): Remove.
13592 * rt/Depend (linuxthreads): Remove.
13593
4134b50d
JM
13594 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13595 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13596 $(common-objpfx)elf/.
13597 (link-libc-before-gnulib): Likewise.
13598 (elfobjdir): Remove variable.
13599 * Makefile (install): Use $(elf-objpfx) instead of
13600 $(common-objpfx)elf/.
13601 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13602 $(elfobjdir)/.
13603 (link-libc-deps): Likewise.
13604 ($(common-objpfx)libc.so): Likewise.
13605 ($(common-objpfx)linkobj/libc.so): Likewise.
13606 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13607 instead of $(common-objpfx)elf/.
13608 (symbolic-link-list): Likewise.
13609 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13610 [$(cross-compiling) = no]: Likewise.
13611 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13612 $(elfobjdir)/.
13613 (static-gnulib-arch): Likewise.
13614 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13615 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13616 $(common-objpfx)elf/.
13617
3612eb8f
RH
136182014-05-21 Richard Henderson <rth@redhat.com>
13619
a6b3657b
RH
13620 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13621 (SINGLE_THREAD_P): Use the correct width load. Fold
13622 into the ldr offset.
13623
3612eb8f
RH
13624 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13625 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13626
175cef41
JM
136272014-05-20 Joseph Myers <joseph@codesourcery.com>
13628
13629 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13630 (libgcc_s_resume): Use __attribute_used__.
13631 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13632 Likewise.
13633
e13bccd3
AZ
136342014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13635
13636 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13637 optimization when used with float constants.
13638
7c112a38
AZ
13639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13640
ae75a883
AJ
136412014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13642
13643 [BZ #16915]
13644 * locale/nl_langinfo_l.c: Make direct reference to every
13645 _nl_current_CATEGORY symbol.
13646 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13647 (tests-static): Add tst-langinfo-static.
13648 (tests-special): Add tst-langinfo-static.out.
13649 ($(objpfx)tst-langinfo.out): Redirect output.
13650 ($(objpfx)tst-langinfo-static.out): New.
13651 * localedata/tst-langinfo.sh: Send output to stdout.
13652 * localedata/tst-langinfo-static.c: New file.
13653
4406c41c
AJ
13654 [BZ #16965]
13655 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13656 when the shift amount is modulo the limb size.
13657
4c0a1e63
RH
136582014-05-20 Richard Henderson <rth@redhat.com>
13659
de9d8f20
RH
13660 [BZ #16967]
13661 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13662 Change type of sa_flags from unsigned int to int.
13663
4c0a1e63
RH
13664 [BZ #16966]
13665 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13666
13667 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13668
a60339aa
WN
136692014-05-20 Will Newton <will.newton@linaro.org>
13670
13671 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13672 Test the return value of the system call in the nocancel case.
13673
7d05a816
YR
136742014-05-20 Will Newton <will.newton@linaro.org>
13675 Yvan Roux <yvan.roux@linaro.org>
13676
13677 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13678 #include of asm/ptrace.h.
13679 (PTRACE_GET_THREAD_AREA): Remove #undef.
13680 (PTRACE_GETHBPREGS): Likewise.
13681 (PTRACE_SETHBPREGS): Likewise.
13682 (struct user_regs_struct): New structure.
13683 (struct user_fpsimd_struct): New structure.
13684 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13685 #include of asm/ptrace.h and second #include of sys/user.h.
13686 (PTRACE_GET_THREAD_AREA): Remove #undef.
13687 (PTRACE_GETHBPREGS): Likewise.
13688 (PTRACE_SETHBPREGS): Likewise.
13689 (ELF_NGREG): Use new struct user_regs_struct.
13690 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13691
af121e37
AZ
136922014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13693
13694 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13695 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13696
834caf06
JM
136972014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13698
13699 [BZ #16958]
13700 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13701 membar to avoid block loads/stores to overlap previous stores.
13702
e184a918
RH
137032014-05-17 Richard Henderson <rth@redhat.com>
13704
13705 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13706 Create the __##syscall_name##_nocancel entry point.
13707 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13708 Remove; let the sysdep-cancel.h code create it.
13709
f56c7a6a
DM
137102014-05-17 David S. Miller <davem@davemloft.net>
13711
13712 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13713 Protect with __USE_GNU.
13714 (TIOCSET_TEMPT): Likewise.
13715 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13716 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13717 these are already provided in bits/ioctl-types.h
13718
f75616b2
RM
137192014-05-16 Roland McGrath <roland@hack.frob.com>
13720
3edeca86
RM
13721 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13722 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13723
f75616b2
RM
13724 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13725 Use wait4 regardless of [__NR_waitpid].
13726
deb0f7f6
MR
137272014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13728
13729 PR libgcc/60166
13730 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13731 (_FP_NANSIGN_Q): Set the quiet bit.
13732
79520f4b
JM
137332014-05-16 Joseph Myers <joseph@codesourcery.com>
13734
13735 * benchtests/Makefile
13736 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13737 not $(common-objpfx)math/libm.so.
13738 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13739 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13740 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13741 $(common-objpfx)dlfcn/libdl.so.
13742 ($(objpfx)tst-audit8): Depend on $(libm), not
13743 $(common-objpfx)math/libm.so.
13744 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13745 not $(common-objpfx)dlfcn/libdl.so.
13746 * math/Makefile
13747 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13748 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13749 [$(build-shared) = yes].
13750 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13751 $(common-objpfx)nptl/libpthread.so.
13752 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13753 $(common-objpfx)math/libm.so$(libm.so-version) or
13754 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13755 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13756 $(common-objpfx)dlfcn/libdl.so.
13757 * setjmp/Makefile (link-libm): Remove variable.
13758 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13759 * stdio-common/Makefile (link-libm): Remove variable.
13760 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13761 * stdlib/Makefile (link-libm): Remove variable.
13762 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13763 ($(objpfx)tst-strtod-round): Likewise.
13764 ($(objpfx)tst-tininess): Likewise.
13765 ($(objpfx)tst-strtod-underflow): Likewise.
13766 ($(objpfx)tst-strtod6): Likewise.
13767 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13768 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13769 $(common-objpfx)dlfcn/libdl.so.
13770
026b0fe4
AZ
137712014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13772
13773 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13774 BSD terminal modes definitions.
13775
def4bcb2
RM
137762014-05-16 Roland McGrath <roland@hack.frob.com>
13777
fe39b021
RM
13778 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13779 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13780
1d1fc46e 13781 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13782 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13783 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13784 Don't do #include_next.
13785 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13786 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13787 Don't do #include_next.
13788 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13789 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13790 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13791 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13792
c72399fb
AM
137932014-05-16 Allan McRae <allan@archlinux.org>
13794
d51d659d
AM
13795 * po/sv.po: Update Swedish translation from translation project.
13796
c72399fb
AM
13797 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13798 in sed expression.
13799
d0583c40
AJ
138002014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13801
13802 [BZ #16917]
13803 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13804 errno if the TIOCGPTN ioctl fails with an error different than
13805 EINVAL.
13806 * login/tst-ptsname.c: New file.
13807 * login/Makefile (tests): Add tst-ptsname.
13808
d16e6ec7
AJ
13809 [BZ #16943]
13810 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13811 and prlimit64.
13812
cf26a0cb
SP
138132014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13814
13815 [BZ #16849]
13816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13817 herrno to return EAI_AGAIN.
13818
5675da1e
RM
138192014-05-14 Roland McGrath <roland@hack.frob.com>
13820
a5d87b3d
RM
13821 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13822 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13823 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13824 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13825 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13826 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13827 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13828 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13829 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13830 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13831 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13832 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13833 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13834 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13835 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13836 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13837 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13838 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13839 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13840 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13841 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13842 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13843 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13844 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13845 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13846 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13847 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13848 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13849 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13850 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13852 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13854 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13856 Moved ...
13857 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13859 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13861 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13863 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13865 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13867 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13869 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13871 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13873 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13875 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13877 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13879 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13881 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13883 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13885 Moved ...
13886 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13888 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13890 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13892 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13894 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13896 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13898 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13900 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13902 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13904 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13906 Moved ...
13907 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13909 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13910
039890a6
RM
13911 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13912 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13913 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13914 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13915 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13916 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13917 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13919 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13920 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13921 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13922 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13923 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13924 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13925 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13926 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13927 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13928 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13929 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13930 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13931 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13932 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13933 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13934 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13935 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13936 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13937 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13938 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13939 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13940 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13941 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13942
65c89320
RM
13943 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13944 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13945
348f8e8c
RM
13946 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13947 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13948 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13949 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13950 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13952 Moved ...
13953 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13954 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13955 Moved ...
13956 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13958 Moved ...
13959 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13960 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13961 Moved ...
13962 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13963 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13964 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13965 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13966 Moved ...
13967 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13968 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13969 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13970 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13971 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13972 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13973 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13974 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13975 Moved ...
13976 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13977 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13978 Moved ...
13979 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13980 ... here.
13981 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13982 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13983 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13984 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13985 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13986 Moved ...
13987 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13988 ... here.
13989 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13990 Moved ...
13991 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13992 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13993 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13994 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13995 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13997 Moved ...
13998 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13999 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14000 Moved ...
14001 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14003 Moved ...
14004 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14005 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14006 Moved ...
14007 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14008 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14009 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14010 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14011 Moved ...
14012 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14013 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14014 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14015 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14016 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14017 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14018 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14019 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14020 Moved ...
14021 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14022 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14023 Moved ...
14024 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14025 ... here.
14026 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14027 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14028 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14029 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14030 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14031 Moved ...
14032 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14033 ... here.
14034 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14035 Moved ...
14036 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14037 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14038 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14039 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14040 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14041 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14042 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14043 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14044 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14045 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14046 Moved ...
14047 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14049 Moved ...
14050 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14052 Moved ...
14053 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14054 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14055 Moved ...
14056 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14057 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14058 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14059 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14060 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14061 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14062 Moved ...
14063 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14064 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14065 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14066 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14067 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14068 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14069 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14070 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14071 Moved ...
14072 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14073 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14074 Moved ...
14075 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14076 ... here.
14077 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14078 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14079 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14080 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14081 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14082 Moved ...
14083 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14084 ... here.
14085 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14086 Moved ...
14087 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14088 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14089 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14090 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14091 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14092 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14093 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14094 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14095 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14096 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14097 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14098
5085af05
RM
14099 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14100 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14101
708f0813
RM
14102 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14103 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14104
c96067bc
RM
14105 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14106 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14107 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14108 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14109 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14110 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14111 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14112 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14113 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14114 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14115 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14116 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14117 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14118 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14119 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14121 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14122 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14123 Moved ...
14124 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14126 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14128 Moved ...
14129 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14131 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14132 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14133 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14134 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14135 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14137 Moved ...
14138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14139 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14140 Moved ...
14141 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14143 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14145 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14146 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14147 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14148 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14149 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14150 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14151 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14152 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14153 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14154 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14155 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14156 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14157 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14158
ec136444
RM
14159 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14160 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14161 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14162 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14163 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14164
2fbdf533
RM
14165 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14166 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14167 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14168 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14169 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14170 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14171 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14172 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14173 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14174 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14175
4c68138b
RM
14176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14177 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14178
4eaae765
RM
14179 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14180 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
14181 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14182 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14183 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14184 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14185 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14186 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14187 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14188 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14189 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14190 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14191 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14192 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14194 Update #include.
14195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14196 Likewise.
14197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14198 Likewise.
14199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14200 Likewise.
14201 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14202 Likewise.
14203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14204 Likewise.
14205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14206 Likewise.
14207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14208 Likewise.
14209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14210 Likewise.
14211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14212 Likewise.
4ef6befa
RM
14213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14214 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14215 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14216 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14218 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14219 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14220 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14221 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14222 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14223 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14224 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14225 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14226 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14227 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14228
941d7dfd
RM
14229 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14230 that was previously under [RESET_PID].
14231 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14232 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14233 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14234
1b731c35
RM
14235 * sysdeps/i386/nptl/Implies: New file.
14236 * sysdeps/x86_64/nptl/Implies: New file.
14237 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14238 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14239 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14240 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14241
e2787137
RM
14242 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14243 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14244 (__libc_vfork): New strong alias.
14245 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14246 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14247
14248 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14249 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14250 (__libc_vfork): New strong alias.
14251 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14252 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14253
5675da1e
RM
14254 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14255 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14256 (__libc_vfork): New strong alias.
14257 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14258 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14259 * nptl/pt-vfork.c: New file.
14260 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14261 (libpthread: GLIBC_2.20): New version set (empty).
14262
4f02e2b8
WN
142632014-05-14 Will Newton <will.newton@linaro.org>
14264
14265 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14266 rather than #if.
14267
0bf061d3
JM
142682014-05-14 Joseph Myers <joseph@codesourcery.com>
14269
1a84c3d6
JM
14270 [BZ #16564]
14271 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14272 arguments with exponent 65 or above.
14273 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14274 arguments 0x1p113L or above.
14275 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14276 to arguments 0x1p107L or above.
14277 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14278 positive arguments with exponent 65 or above.
14279 * math/auto-libm-test-in: Add more tests of log1p.
14280 * math/auto-libm-test-out: Regenerated.
14281
01dbacd2
JM
14282 [BZ #16928]
14283 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14284 non-finite arguments is +0.
14285 * math/s_cacosf.c (__cacosf): Likewise.
14286 * math/s_cacosl.c (__cacosl): Likewise.
14287 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14288 * sysdeps/i386/fpu/libm-test-ulps: Update.
14289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14290
913d03c8
JM
14291 [BZ #16927]
14292 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14293 value.
14294 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14295 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14296 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14297 for explicit high bit of mantissa when testing for argument equal
14298 to 1.
14299 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14300 * sysdeps/i386/fpu/libm-test-ulps: Update.
14301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14302
0bf061d3
JM
14303 [BZ #16516]
14304 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14305 (__erf): Scale by 16 instead of 8 in potentially underflowing
14306 case. Ensure exception if result actually underflows.
14307 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14308 (__erff): Scale by 16 instead of 8 in potentially underflowing
14309 case. Ensure exception if result actually underflows.
14310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14311 (efx8): Remove variable.
14312 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14313 case. Ensure exception if result actually underflows.
14314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14315 (efx8): Remove variable.
14316 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14317 case. Ensure exception if result actually underflows.
14318 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14319 (efx8): Remove variable.
14320 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14321 case. Ensure exception if result actually underflows.
14322 * math/auto-libm-test-in: Add more tests of erf.
14323 * math/auto-libm-test-out: Regenerated.
14324
73ba67cb
AS
143252014-05-14 Andreas Schwab <schwab@suse.de>
14326
3d8c8bff
AS
14327 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14328 Remove code conditionalized on USE___THREAD.
14329
73ba67cb
AS
14330 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14331 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14332 not definedness.
14333
5c521ecd
JM
143342014-05-14 Joseph Myers <joseph@codesourcery.com>
14335
5e7698c6
JM
14336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14337 Define unconditionally.
14338 (__ASSUME_O_CLOEXEC): Likewise.
14339 (__ASSUME_SOCK_CLOEXEC): Likewise.
14340 (__ASSUME_IN_NONBLOCK): Likewise.
14341 (__ASSUME_PIPE2): Likewise.
14342 (__ASSUME_EVENTFD2): Likewise.
14343 (__ASSUME_SIGNALFD4): Likewise.
14344 (__ASSUME_DUP3): Likewise.
14345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14346 (__ASSUME_DUP3): Do not define.
14347 (__ASSUME_EVENTFD2): Likewise.
14348 (__ASSUME_IN_NONBLOCK): Likewise.
14349 (__ASSUME_O_CLOEXEC): Likewise.
14350 (__ASSUME_PIPE2): Likewise.
14351 (__ASSUME_SIGNALFD4): Likewise.
14352 (__ASSUME_SOCK_CLOEXEC): Likewise.
14353 (__ASSUME_UTIMES): Undefine.
14354 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14355 (__ASSUME_UTIMES): Do not define.
14356 (__ASSUME_O_CLOEXEC): Likewise.
14357 (__ASSUME_SOCK_CLOEXEC): Likewise.
14358 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14359 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14360 0x020621].
14361 (__ASSUME_PIPE2): Likewise.
14362 (__ASSUME_EVENTFD2): Likewise.
14363 (__ASSUME_SIGNALFD4): Likewise.
14364 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14365 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14366 Do not define.
14367 (__ASSUME_EVENTFD2): Likewise.
14368 (__ASSUME_SIGNALFD4): Likewise.
14369 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14370 (__ASSUME_32BITUIDS): Likewise.
14371 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14372 (__ASSUME_IPC64): Likewise.
14373 (__ASSUME_ST_INO_64_BIT): Likewise.
14374 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14375 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14376 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14377 (__ASSUME_UTIMES): Do not define.
14378 (__ASSUME_PSELECT): Likewise.
14379 (__ASSUME_PPOLL): Likewise.
14380 (__ASSUME_O_CLOEXEC): Likewise.
14381 (__ASSUME_SOCK_CLOEXEC): Likewise.
14382 (__ASSUME_IN_NONBLOCK): Likewise.
14383 (__ASSUME_PIPE2): Likewise.
14384 (__ASSUME_EVENTFD2): Likewise.
14385 (__ASSUME_SIGNALFD4): Likewise.
14386 (__ASSUME_DUP3): Likewise.
14387 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14388 (__ASSUME_UTIMES): Likewise.
14389 (__ASSUME_O_CLOEXEC): Likewise.
14390 (__ASSUME_SOCK_CLOEXEC): Likewise.
14391 (__ASSUME_IN_NONBLOCK): Likewise.
14392 (__ASSUME_PIPE2): Likewise.
14393 (__ASSUME_EVENTFD2): Likewise.
14394 (__ASSUME_SIGNALFD4): Likewise.
14395 (__ASSUME_DUP3): Likewise.
14396 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14397 (__ASSUME_UTIMES): Likewise.
14398 (__ASSUME_O_CLOEXEC): Likewise.
14399 (__ASSUME_SOCK_CLOEXEC): Likewise.
14400 (__ASSUME_IN_NONBLOCK): Likewise.
14401 (__ASSUME_PIPE2): Likewise.
14402 (__ASSUME_EVENTFD2): Likewise.
14403 (__ASSUME_SIGNALFD4): Likewise.
14404 (__ASSUME_DUP3): Likewise.
14405 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14406 Likewise.
14407 (__ASSUME_UTIMES): Likewise.
14408 (__ASSUME_EVENTFD2): Likewise.
14409 (__ASSUME_SIGNALFD4): Likewise.
14410 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14411 (__ASSUME_O_CLOEXEC): Likewise.
14412 (__ASSUME_SOCK_CLOEXEC): Likewise.
14413 (__ASSUME_IN_NONBLOCK): Likewise.
14414 (__ASSUME_PIPE2): Likewise.
14415 (__ASSUME_EVENTFD2): Likewise.
14416 (__ASSUME_SIGNALFD4): Likewise.
14417 (__ASSUME_DUP3): Likewise.
14418 (__ASSUME_UTIMES): Undefine.
14419
5c521ecd
JM
14420 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14421 feclearexcept. Remove symbol versioning code.
14422 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14423 symbol versioning code.
14424 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14425 symbol versioning code.
14426 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14427 feupdateenv. Remove symbol versioning code.
14428 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14429 fegetexceptflag. Remove symbol versioning code.
14430 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14431 fesetexceptflag. Remove symbol versioning code.
14432 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14433 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14434 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14435 (__posix_fadvise64_l32): Remove prototype.
14436 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14437 code.
14438
5da9dfad
RM
144392014-05-13 Roland McGrath <roland@hack.frob.com>
14440
14441 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14442 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14443 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14444 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14445
893b4f37
SK
144462014-05-13 Sami Kerola <kerolasa@iki.fi>
14447
14448 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14449 current working directory
14450
e0db6517
RM
144512014-05-13 Roland McGrath <roland@hack.frob.com>
14452
58aa195d
RM
14453 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14454 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14455 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14456 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14457 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14458 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14459 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14460 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14461 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14462 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14463 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14464 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14465 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14466 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14467 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14468 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14469 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14470 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14471 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14472 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14473 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14474 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14475 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14476 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14477 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14478 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14479 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14480 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14481 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14482 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14483 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14484 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14485 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14486 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14487 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14488 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14489 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14490 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14491 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14492 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14493 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14494 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14495
8c6d01f0
RM
14496 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14497 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14498
14499 * sysdeps/unix/sysv/linux/arm/Makefile
14500 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14501 Add rt-aeabi_unwind_cpp_pr1.
14502 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14503 Add nptl-aeabi_unwind_cpp_pr1.
14504 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14505 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14506 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14507 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14508 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14509 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14510
14511 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14512 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14513 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14514 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14515
bba6da4e
RM
14516 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14517 Deconditionalize the code that was previously under [RESET_PID].
14518 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14519
e0db6517
RM
14520 * sysdeps/generic/exit-thread.h: New file.
14521 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14522 * include/unistd.h (__exit_thread): Remove declaration.
14523 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14524 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14525 * csu/libc-start.c: Include <exit-thread.h>.
14526 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14527 * nptl/pthread_create.c: Include <exit-thread.h>.
14528 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14529 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14530 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14531 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14532 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14533 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14534 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14535 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14536 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14537 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14538 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14539 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14540 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14541 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14542 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14543 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14544 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14545
01eb16fd
AS
145462014-05-13 Andreas Schwab <schwab@suse.de>
14547
14548 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14549
637461d9
JM
145502014-05-12 Joseph Myers <joseph@codesourcery.com>
14551
14552 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14553 (__ASSUME_UTIMES): Do not condition on kernel version.
14554 (__ASSUME_PSELECT): Define unconditionally.
14555 (__ASSUME_PPOLL): Likewise.
14556 (__ASSUME_ATFCTS): Likewise.
14557 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14558 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14559 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14560 (__ASSUME_UTIMENSAT): Define unconditionally.
14561 (__ASSUME_PRIVATE_FUTEX): Likewise.
14562 (__ASSUME_FALLOCATE): Likewise.
14563 (__ASSUME_O_CLOEXEC): Likewise.
14564 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14565 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14566 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14567 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14568 (__ASSUME_IN_NONBLOCK): Likewise.
14569 (__ASSUME_PIPE2): Likewise.
14570 (__ASSUME_EVENTFD2): Likewise.
14571 (__ASSUME_SIGNALFD4): Likewise.
14572 (__ASSUME_DUP3): Likewise.
14573 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14574 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14575 (__ASSUME_AT_RANDOM): Likewise.
14576 (__ASSUME_PREADV): Likewise.
14577 (__ASSUME_PWRITEV): Likewise.
14578 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14579 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14580 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14581 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14582 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14584 (__ASSUME_O_CLOEXEC): Define unconditionally.
14585 (__ASSUME_PSELECT): Do not undefine conditionally.
14586 (__ASSUME_PPOLL): Likewise.
14587 (__ASSUME_ATFCTS): Likewise.
14588 (__ASSUME_SET_ROBUST_LIST): Likewise.
14589 (__ASSUME_UTIMENSAT): Likewise.
14590 (__ASSUME_FDATASYNC): Define unconditionally.
14591 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14592 (__ASSUME_SIGFRAME_V2): Likewise.
14593 )__ASSUME_EVENTFD2): Likewise.
14594 (__ASSUME_SIGNALFD4): Likewise.
14595 (__ASSUME_PSELECT): Do not undefine conditionally.
14596 (__ASSUME_PPOLL): Likewise.
14597 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14598 (__ASSUME_PSELECT): Define unconditionally.
14599 (__ASSUME_PPOLL): Likewise.
14600 (__ASSUME_O_CLOEXEC): Likewise.
14601 (__ASSUME_SOCK_CLOEXEC): Likewise.
14602 (__ASSUME_IN_NONBLOCK): Likewise.
14603 (__ASSUME_PIPE2): Likewise.
14604 (__ASSUME_EVENTFD2): Likewise.
14605 (__ASSUME_SIGNALFD4): Likewise.
14606 (__ASSUME_DUP3): Likewise.
14607 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14608 (__ASSUME_O_CLOEXEC): Likewise.
14609 (__ASSUME_SOCK_CLOEXEC): Likewise.
14610 (__ASSUME_IN_NONBLOCK): Likewise.
14611 (__ASSUME_PIPE2): Likewise.
14612 (__ASSUME_EVENTFD2): Likewise.
14613 (__ASSUME_SIGNALFD4): Likewise.
14614 (__ASSUME_DUP3): Likewise.
14615 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14616 (__ASSUME_EVENTFD2): Likewise.
14617 (__ASSUME_SIGNALFD4): Likewise.
14618 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14619
315eb1d8
AS
146202014-05-12 Andreas Schwab <schwab@suse.de>
14621
14622 [BZ #16932]
14623 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14624 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14625 than maximum RPC packet size.
14626 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14627 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14628 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14629 (_nss_nis_getservbyport_r): Likewise.
14630
91df99f7
WN
146312014-05-12 Will Newton <will.newton@linaro.org>
14632
14633 * malloc/Makefile (tests): Add tst-mallopt.
14634 * malloc/tst-mallopt.c: New file.
14635
0a982a29
RM
146362014-05-09 Roland McGrath <roland@hack.frob.com>
14637
14638 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14639 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14640
0ded08a5
AZ
146412014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14642
14643 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14644 (tst-tlsmod6.so): Likewise.
14645
55d4d550
RM
146462014-05-09 Roland McGrath <roland@hack.frob.com>
14647
14648 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14649
77d08aca
JM
146502014-05-09 Joseph Myers <joseph@codesourcery.com>
14651
14652 [BZ #16064]
14653 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14654 and <dl-procinfo.h>.
14655 (__fegetenv): Save SSE state in envp->__eip if supported.
14656 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14657 envp->__eip if supported.
14658 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14659 and <dl-procinfo.h>.
14660 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14661 __data_offset and __data_selector in environment to 0. Set SSE
14662 state if supported.
14663 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14664 test-fenv-sse.
14665 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14666 -mfpmath=sse.
14667 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14668
28162f4d
WN
146692014-05-09 Will Newton <will.newton@linaro.org>
14670
14671 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14672 and libc_relro_required for ARM.
14673 * sysdeps/arm/preconfigure: Regenerate.
14674
5a414ff7
DV
146752014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14676 Stefan Liebler <stli@linux.vnet.ibm.com>
14677
14678 * config.make.in (enable-lock-elision): New Makefile variable.
14679 * configure.ac: Likewise.
14680 * configure: Regenerate.
14681 * sysdeps/s390/configure.ac:
14682 Add check for gcc transactions support.
14683 * sysdeps/s390/configure: Regenerate.
14684 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14685 Build elision files if enabled.
14686 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14687 Add lock elision support for s390.
14688 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14689 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14690 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14691 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14692 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14693 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14694 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14695 Likewise.
14696 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14697 Likewise.
14698 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14699 Likewise.
14700 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14701 Likewise.
14702 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14703 (__lll_timedlock_elision, __lll_lock_elision)
14704 (__lll_unlock_elision, __lll_trylock_elision)
14705 (lll_timedlock_elision, lll_lock_elision)
14706 (lll_unlock_elision, lll_trylock_elision): Add.
14707 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14708 (pthread_mutex_t): Add lock elision support for s390.
14709
1a2f40e5
W
147102014-05-14 Wilco <wdijkstr@arm.com>
14711
14712 * sysdeps/arm/fclrexcpt.c: Cleanup.
14713 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14714 * sysdeps/arm/feenablxcpt.c: Cleanup.
14715 * sysdeps/arm/fegetenv.c: Cleanup.
14716 * sysdeps/arm/fegetexcept.c: Cleanup.
14717 * sysdeps/arm/fegetround.c: Cleanup.
14718 * sysdeps/arm/feholdexcpt.c: Cleanup.
14719 * sysdeps/arm/fesetenv.c: Cleanup.
14720 * sysdeps/arm/fesetround.c: Cleanup.
14721 * sysdeps/arm/feupdateenv.c: Cleanup.
14722 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14723 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14724 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14725 * sysdeps/arm/ftestexcept.c: Cleanup.
14726 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14727 * sysdeps/arm/setfpucw.c: Cleanup.
14728
f63c86fe
WN
147292014-05-09 Will Newton <will.newton@linaro.org>
14730
14731 * sysdeps/arm/armv7/strcmp.S: New file.
14732 * NEWS: Mention addition of ARMv7 optimized strcmp.
14733
7a1a51b5
RM
147342014-05-08 Roland McGrath <roland@hack.frob.com>
14735
95afbbe5
RM
14736 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14737 look for %.ac rather than %.in.
14738
14739 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14740 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14741 * sysdeps/mach/hurd/configure: Regenerated.
14742 * sysdeps/unix/sysv/linux/configure: Regenerated.
14743
7a1a51b5
RM
14744 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14745
5057ad3b
SE
147462014-05-07 Steve Ellcey <sellcey@mips.com>
14747
14748 [BZ# 16922]
14749 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14750 (LONG_SUB): Ditto.
14751 (PTR_SUB): Ditto.
14752
8dc97517
AS
147532014-05-07 Andreas Schwab <schwab@suse.de>
14754
14755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14756 when skipping over non-matching result from nscd.
14757
ce0c5b8f
OB
147582014-05-07 Ondřej Bílka <neleai@seznam.cz>
14759
14760 [BZ #16876]
14761 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14762
a1189263
OB
14763 [BZ #16877]
14764 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14765 nscd security class.
ce0c5b8f 14766
0f58d252
RM
147672014-05-06 Roland McGrath <roland@hack.frob.com>
14768
14769 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14770 * sysdeps/arm/unwind.h: ... here.
14771
83df9ad0
AJ
147722014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14773
ce0c5b8f
OB
14774 [BZ# 16916]
14775 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14776 Define.
83df9ad0 14777
f360f94a
VR
147782014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14779
14780 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14781 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14782 multiarch strncpy for PPC64.
14783 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14784 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14786 multiarch optimizations.
14787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14788 (__libc_ifunc_impl_list): Likewise.
14789 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14790 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14791 multiarch stpncpy for PPC64.
14792 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14793 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14794
978a41c3
AS
147952014-05-06 Andreas Schwab <schwab@suse.de>
14796
14797 [BZ #16912]
14798 * gmon/mcount.c (_MCOUNT_DECL): Use
14799 atomic_compare_and_exchange_bool_acq instead of
14800 catomic_compare_and_exchange_bool_acq.
14801
eb1ed03d
RM
148022014-05-05 Roland McGrath <roland@hack.frob.com>
14803
fe658845
RM
14804 * elf/Makefile (others, install-bin): Remove pldd.
14805 (pldd-modules): Variable removed.
14806 ($(objpfx)pldd): Target removed.
14807 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14808 (others, install-bin): Append pldd here.
14809 ($(objpfx)pldd): New target.
14810
eb1ed03d
RM
14811 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14812 to 0, so the first #if test emitted later doesn't see it undefined.
14813 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14814 * sysdeps/gnu/errlist.c: Regenerated.
14815
19c4bec0
AZ
148162014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14817
14818 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14819 [libc_hidden_builtin_def]: Define to empty value.
14820 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14821 [libc_hidden_builtin_def]: Likewise.
14822 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14823 [libc_hidden_builtin_def]: Likewise.
14824 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14825 [libc_hidden_builtin_def]: Likewise.
14826 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14827 __redirect_memcpy and define ifunc as default hidden symbol.
14828 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14829 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14830
7776e669
AC
148312014-05-04 Adam Conrad <adconrad@0c3.net>
14832
14833 * locale/iso-4217.def: Reintroduce XDR currency.
14834
d69aeb12
AM
148352014-05-04 Allan McRae <allan@archlinux.org>
14836
14837 * po/eo.po: Update Esperanto translation from translation project.
14838
8f1df5cf
CD
148392014-05-02 Carlos O'Donell <carlos@redhat.com>
14840
14841 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14842 and FEATURE_INDEX_MAX to 1.
14843 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14844
13e402e7
SE
148452014-05-01 Steve Ellcey <sellcey@mips.com>
14846
14847 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14848 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14849 * iconvdata/big5.c (ONE_DIRECTION): Define.
14850 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14851 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14852 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14853 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14854 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14855 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14856 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14857 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14858 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14859 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14860 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14861 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14862 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14863 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14864 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14865 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14866 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14867 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14868 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14869 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14870 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14871 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14872 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14873 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14874 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14875 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14876 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14877 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14878 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14879 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14880 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14881 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14882 * iconvdata/johab.c (ONE_DIRECTION): Define.
14883 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14884 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14885 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14886 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14887 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14888 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14889 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14890 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14891 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14892 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14893
c727f032
RM
148942014-05-01 Roland McGrath <roland@hack.frob.com>
14895
8f2f08d0
RM
14896 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14897 (_IO_JUMPS_OFFSET): Define to 0.
14898
c727f032
RM
14899 * nptl/sysdeps/pthread/bits/libc-lock.h
14900 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14901 (__libc_lock_define_initialized_recursive): Always define using
14902 initializer. Modern compilers treat uninitialized (implicit zero) and
14903 explicit zero initializers the same (i.e. put the datum in bss).
14904
a849e800
AS
149052014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14906
14907 * nscd/nscd-client.h: Include <string.h>.
14908
5331255b
DM
149092014-05-01 David S. Miller <davem@davemloft.net>
14910
14911 [BZ #16885]
14912 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14913 multiple zero bytes exist at the end of a string.
14914 Reported by Aurelien Jarno <aurelien@aurel32.net>
14915
14916 * string/test-strcmp.c (check): Add explicit test for situations where
14917 there are multiple zero bytes after the first.
14918
4fdfe821
AS
149192014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14920
14921 [BZ #16890]
14922 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14923 when compiling wprintf.
14924 * stdio-common/tstdiomisc.c (t3): New function.
14925 (main): Call it.
14926
0cdddc25
SE
149272014-05-01 Steve Ellcey <sellcey@mips.com>
14928
14929 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14930 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14931 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14932 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14933
6426d77e
SE
149342014-05-01 Steve Ellcey <sellcey@mips.com>
14935
14936 * stdlib/longlong.h: Updated from GCC.
14937
6d96f5e4
WN
149382014-05-01 Will Newton <will.newton@linaro.org>
14939 Bernard Ogden <bernie.ogden@linaro.org>
14940
7470db0c
WN
14941 * NEWS: Update fixed bug list.
14942
6d96f5e4
WN
14943 [BZ #15119]
14944 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14945
211d653c
DM
149462014-04-30 David S. Miller <davem@davemloft.net>
14947
4fa262fa
DM
14948 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14949 (libc_feholdexcept_setround_sparc_ctx): New function.
14950 (libc_fesetenv_sparc_ctx): Likewise.
14951 (libc_feupdateenv_sparc_ctx): Likewise.
14952 (libc_feholdsetround_sparc_ctx): Likewise.
14953 (libc_feholdexcept_setround_ctx): Define.
14954 (libc_feholdexcept_setroundf_ctx): Likewise.
14955 (libc_feholdexcept_setroundl_ctx): Likewise.
14956 (libc_fesetenv_ctx): Likewise.
14957 (libc_fesetenvf_ctx): Likewise.
14958 (libc_fesetenvl_ctx): Likewise.
14959 (libc_feupdateenv_ctx): Likewise.
14960 (libc_feupdateenvf_ctx): Likewise.
14961 (libc_feupdateenvl_ctx): Likewise.
14962 (libc_feresetround_ctx): Likewise.
14963 (libc_feresetroundf_ctx): Likewise.
14964 (libc_feresetroundl_ctx): Likewise.
14965 (libc_feholdsetround_ctx): Likewise.
14966 (libc_feholdsetroundf_ctx): Likewise.
14967 (libc_feholdsetroundl_ctx): Likewise.
14968
1d3d93ef
DM
14969 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14970 with __USE_GNU instead of XOPEN cpp guards.
14971
8aa583c3
DM
14972 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14973 0.
14974
211d653c
DM
14975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14976 with XOPEN cpp guards.
14977
60c8f1f6
JB
149782014-04-30 Julian Brown <julian@codesourcery.com>
14979
14980 [BZ #16888]
14981 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14982 handling.
14983
9a461d46
JM
149842014-04-30 Joseph Myers <joseph@codesourcery.com>
14985
d0f5b3f8
JM
14986 [BZ #9894]
14987 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14988 Change to 2.6.32.
14989 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14990 * sysdeps/unix/sysv/linux/configure: Regenerated.
14991 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14992 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14993 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14994 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14995 * README: Update reference to required Linux kernel version.
14996 * manual/install.texi (Linux): Update reference to required Linux
14997 kernel headers version.
14998 * INSTALL: Regenerated.
14999
9a461d46
JM
15000 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15001 header inclusion.
15002 [POSIX] (limits.h): Likewise.
15003 [POSIX] (math.h): Likewise.
15004 [POSIX] (sys/wait.h): Likewise.
15005 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15006 function.
15007 [POSIX] (stddef.h): Do not allow header inclusion.
15008
1775babf
AZ
150092014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15010
57f41c40 15011 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 15012
8f630cca
YY
150132014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15014
15015 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15016 Return immediately after lll_futex_wake.
15017
1cdeb237
SP
150182014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15019
bc8f194c
SP
15020 [BZ #16791]
15021 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15022 structure.
15023 (datahead_init_pos): Call datahead_init_common early.
15024 (datahead_init_neg): Likewise.
15025
1cdeb237
SP
15026 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15027 datahead_init_neg): New functions.
15028 * nscd/aicache.c (addhstaiX): Use them.
15029 * nscd/grpcache.c (cache_addgr): Likewise.
15030 * nscd/hstcache.c (cache_addhst): Likewise.
15031 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15032 * nscd/netgroupcache.c (do_notfound): Likewise.
15033 (addgetnetgrentX): Likewise.
15034 (addinnetgrX): Likewise.
15035 * nscd/pwdcache.c (cache_addpw): Likewise.
15036 * nscd/servicescache.c (cache_addserv): Likewise.
15037
16b293a7
SP
150382014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15039 Atsushi Onoe <atsushi@onoe.org>
15040
15041 [BZ #14308]
15042 [BZ #12994]
15043 [BZ #13651]
15044 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15045 one response is valid.
15046 * resolv/res_send.c (send_dg): Check for validity of other
15047 response if the current response is a referral.
15048
a28a9b94
SE
150492014-04-29 Steve Ellcey <sellcey@mips.com>
15050
15051 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15052
2ca180e9
SL
150532014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15054
15055 [BZ #16823]
15056 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15057 Always divide by positive zero when computing -Inf result.
15058 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15059 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15060
18f2945a
AZ
150612014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15062
15063 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15064 FPSCR if value do not change.
15065 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15066 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15067 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15068 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15069 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15070 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15071 function.
15072
5abebba4
CD
150732014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15074
15075 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15076 * sysdeps/unix/sysv/linux/hppa: Move directory from
15077 ports/systeps/unix/sysv/linux/hppa.
15078 * README: Update listing for hppa-*-linux-gnu.
15079
f7ed60c2
OB
150802014-04-28 Ondřej Bílka <neleai@seznam.cz>
15081
fff763a5
OB
15082 [BZ #16754]
15083 * manual/stdio.texi (Hook functions): Fix types of stream hook
15084 functions.
f7ed60c2
OB
15085 [BZ #16854]
15086 * socket/sys/socket.h: Fix typo in comment.
15087
df639d73
WD
150882014-04-28 Wilco <wdijkstr@arm.com>
15089
f7ed60c2 15090 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
15091 * sysdeps/arm/math_private.h: New file.
15092 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15093
48332d82
L
150942014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15095
15096 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15097 with __int128_t.
15098 (La_x86_64_retval): Likewise.
15099
e5e0d9a4
IB
151002014-04-24 Ian Bolton <ian.bolton@arm.com>
15101
15102 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15103 fpsr if value didn't change.
15104 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15105 to fpcr if value didn't change.
15106 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15107 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15108 fpsr or fpcr if value didn't change.
15109 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15110 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15111 fpcr if value didn't change.
15112 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15113 to fpsr if value didn't change.
15114
bacc75f7
SP
151152014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15116
15117 * nptl/tst-sem3.c: Use test-skeleton.c
15118 (main): Rename to do_test. Use return instead of
15119 exit.
15120 * nptl/tst-sem4.c: Use test-skeleton.c
15121 (main): Rename to do_test.
15122
a059d359
DM
151232014-04-22 David S. Miller <davem@davemloft.net>
15124
15125 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15126 (struct sigaction): New struct member __glibc_reserved0, change
15127 type of sa_flags to int.
15128
ea6c92f3
YZ
151292014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15130
15131 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15132 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15133
766c4a36
SP
151342014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15135
15136 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15137 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15138
140cc7ab
VK
151392014-04-22 Will Newton <will.newton@linaro.org>
15140 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15141
15142 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15143 (__longjmp): Add longjmp and longjmp_target SystemTap
15144 probes.
15145 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15146 (__sigsetjmp): Add setjmp SystemTap probe.
15147
c54e5cf7
CD
151482014-04-17 Carlos O'Donell <carlos@redhat.com>
15149
15150 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15151 match manual order.
15152
75ffb047
AZ
151532014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15154
15155 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15156
2cd925f7
AZ
15157 * sysdeps/powerpc/fpu/fenv_private.h
15158 (libc_feholdexcept_setroundl_ctx): Define to
15159 libc_feholdexcept_setround_ppc_ctx.
15160 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15161 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15162 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15163 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15164
39e6cd8d
IB
151652014-04-17 Ian Bolton <ian.bolton@arm.com>
15166
15167 * sysdeps/aarch64/math-tests.h: New file.
15168
f9281df9
SY
151692014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15170
15171 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15172 New.
15173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15174 Check and set bit_AVX2_Usable.
15175 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15176 macro.
15177 (bit_AVX2): Likewise.
15178 (index_AVX2_Usable): Likewise.
15179 (CPUID_AVX2): Likewise.
15180 (HAS_AVX2): Likewise.
15181
37d35007
WN
151822014-04-17 Will Newton <will.newton@linaro.org>
15183
7c677662
WN
15184 * manual/setjmp.texi (System V contexts): Add note that
15185 calling setcontext on a context created by a call to a
15186 signal handler is undefined. Update text to note that
15187 setcontext from a signal handler is possible but not
15188 recommended.
15189
37d35007 15190 [BZ #16629]
e04a4e9d
WN
15191 * stdlib/tst-setcontext.c: Include signal.h.
15192 (main): Check that the signal stack before and
15193 after swapcontext is the same.
15194
37d35007
WN
15195 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15196 Re-implement to restore registers in user code and avoid
15197 rt_sigreturn system call.
15198
423a7160
W
151992014-04-17 Wilco <wdijkstr@arm.com>
15200
15201 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15202 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15203 * math/test-fenv.c: Skip exception trap tests on targets which only
15204 support non-stop mode.
15205
bc93ab29
IB
152062014-04-17 Ian Bolton <ian.bolton@arm.com>
15207 Wilco Dijkstra <wilco.dijkstra@arm.com>
15208
15209 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15210 (libc_feholdsetround_aarch64_ctx)
15211 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15212 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15213 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15214 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15215 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15216 (libc_feresetround_noexl_ctx): Define.
15217
95fc5fa3
RH
152182014-04-16 Richard Henderson <rth@redhat.com>
15219
ddb04724
RH
15220 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15221
d77c0899
RH
15222 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15223 unwind tables.
15224
a3df56fc
RH
15225 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15226 const from the non-libc, non-ldso copy.
15227
95fc5fa3
RH
15228 * sysdeps/alpha/libm-test-ulps: Regenerate.
15229
7e0b6763
IB
152302014-04-16 Ian Bolton <ian.bolton@arm.com>
15231 Wilco Dijkstra <wilco.dijkstra@arm.com>
15232
15233 * sysdeps/aarch64/fpu/math_private.h: New file.
15234
a9ea2e0c
MS
152352014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15236
15237 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15238
ea8ba7cd
IZ
152392014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15240
7e54fd04 15241 [BZ #16275]
ea8ba7cd
IZ
15242 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15243 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15245 Intel MPX bound registers before _dl_profile_fixup.
15246 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15247 registers after _dl_profile_fixup. Save and restore bound
15248 registers bnd0/bnd1 when calling _dl_call_pltexit.
15249 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15250 (LR_BND_OFFSET): Likewise.
15251 (LRV_BND0_OFFSET): Likewise.
15252 (LRV_BND1_OFFSET): Likewise.
15253
9f2a4fbc
ST
152542014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15255
15256 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15257 to...
15258 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15259 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15260 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15261 fields.
9f2a4fbc 15262
fd15a59b
ST
152632014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15264
15265 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15266
f19dfa0a
SL
152672014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15268
15269 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15270
4fa8bc3b
SL
152712014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15272
15273 [BZ #14770]
15274 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15275 * sysdeps/s390/configure: Regenerate.
15276
8ea587db
SL
15277 [BZ #16824]
15278 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15279 Set round-to-nearest internally to reduce error accumulation.
15280
aa5f0ff1
AM
152812014-04-16 Alan Modra <amodra@gmail.com>
15282
15283 [BZ #16740]
15284 [BZ #16619]
15285 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15286 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15287 * NEWS: Update fixed bug list.
aa5f0ff1 15288
bb9c256f
SP
152892014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15290
15291 * benchtests/Makefile: Depend on libraries in build directory.
15292 (bench-math): Separate out math tests.
15293 (bench-pthread): Separate out pthread tests.
15294 (bench): Include math and pthread tests.
15295
f737dfd0
CD
152962014-04-14 Carlos O'Donell <carlos@redhat.com>
15297
15298 [BZ #16831]
15299 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15300 _dl_debug_initialize.
15301
0699f766
CD
15302 * configure.ac: Remove SELinux header check.
15303 * configure: Regenerate.
15304 * nscd/selinux.c (perms): Array of const char* to permission names.
15305 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15306 default policy. Call string_to_security_class and string_to_av_perm to
15307 translate strings. Enforce default policy and call avs_has_perm with
15308 results of translated strings.
15309
809bd45f
DM
153102014-04-13 David S. Miller <davem@davemloft.net>
15311
15312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15313
89e691f2
AM
153142014-04-12 Allan McRae <allan@archlinux.org>
15315
15316 [BZ #16838]
15317 * manual/string.texi (Collation Functions): Fix qsort argument
15318 order in example.
15319 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15320
9c9daaeb
CM
153212014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15322
15323 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15324 Make the test a no-op if there are no exceptions defined.
15325
95561fb9
PP
153262014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15327
fe8d072c 15328 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15329 enable-hardcoded-path-in-tests
15330
970c602a
WN
153312014-04-11 Will Newton <will.newton@linaro.org>
15332
15333 * benchtests/Makefile (extra-objs): Add json-lib.o.
15334 (bench-func): Tidy up JSON output.
15335 * benchtests/bench-skeleton.c: Include json-lib.h.
15336 (main): Use JSON library functions to do output of
15337 benchmark results.
15338 * benchtests/bench-timing-type.c (main): Output the
15339 timing type simply, leaving formatting to the user.
15340 * benchtests/json-lib.c: New file.
15341 * benchtests/json-lib.h: Likewise.
15342
36875b06
TR
153432014-04-11 Torvald Riegel <triegel@redhat.com>
15344
15345 [BZ #15215]
15346 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15347 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15348 memory barriers. Add comments.
15349 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15350 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15351 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15352 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15353 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15354 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15355
579db35a
SL
153562014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15357
15358 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15359 * sysdeps/s390/s390-64/configure.ac: ... this ...
15360 * sysdeps/s390/configure.ac: ... to here.
15361 * sysdeps/s390/s390-32/configure: Delete file.
15362 * sysdeps/s390/s390-64/configure: Delete file.
15363 * sysdeps/s390/configure: Regenerate.
15364
c12e9f37
JAPH
153652014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15366
15367 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15368
439bda32
WN
153692014-04-11 Will Newton <will.newton@linaro.org>
15370
15371 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15372 to zero if it is not defined elsewhere. (mtrim): Test
15373 the value of MALLOC_DEBUG with #if rather than #ifdef.
15374
6a5d6ea1
TR
153752014-04-10 Torvald Riegel <triegel@redhat.com>
15376
15377 * benchtests/pthread_once-inputs: New file.
15378 * benchtests/pthread_once-source.c: New file.
15379 * benchtests/README: Update documentation.
15380
a4c75cfd
IZ
153812014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15382 H.J. Lu <hongjiu.lu@intel.com>
15383
7e54fd04 15384 [BZ #16275]
a4c75cfd
IZ
15385 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15386 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15387 * sysdeps/x86_64/configure: Regenerated.
15388 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15389 macro.
15390 (REGISTER_SAVE_RAX): Likewise.
15391 (REGISTER_SAVE_RCX): Likewise.
15392 (REGISTER_SAVE_RDX): Likewise.
15393 (REGISTER_SAVE_RSI): Likewise.
15394 (REGISTER_SAVE_RDI): Likewise.
15395 (REGISTER_SAVE_R8): Likewise.
15396 (REGISTER_SAVE_R9): Likewise.
15397 (REGISTER_SAVE_BND0): Likewise.
15398 (REGISTER_SAVE_BND1): Likewise.
15399 (REGISTER_SAVE_BND2): Likewise.
15400 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15401 bound registers when calling _dl_fixup.
15402
27822ce6
AZ
154032014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15404
15405 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15406 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15407 of its definition.
27822ce6
AZ
15408 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15409 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15410 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15411 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15412 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15413 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15414 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15415
a88ddc90
PTB
154162014-04-09 Peter Brett <peter@peter-b.co.uk>
15417
15418 [BZ #15514]
15419 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15420 pathconf(_PC_NAME_MAX).
15421
01f8eac2
AZ
154222014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15423
15424 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15425 Remove macro usage.
15426 (__PTHREAD_SPINS): Move definition to ...
15427 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15428 (__PTHREAD_SPINS): ... here.
15429 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15430 (__PTHREAD_SPIN): Likewise.
15431 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15432 (__PTHREAD_SPIN): Likewise.
15433 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15434 (__PTHREAD_SPIN): Likewise.
15435 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15436 (__PTHREAD_SPIN): Likewise.
15437 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15438 (__PTHREAD_SPIN): Likewise.
15439 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15440 (__PTHREAD_SPIN): Likewise.
15441 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15442 (__PTHREAD_SPIN): Likewise.
15443 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15444 (__PTHREAD_SPIN): Likewise.
15445 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15446 (__PTHREAD_SPIN): Likewise.
15447 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15448 (__PTHREAD_SPIN): Likewise.
15449 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15450 (__PTHREAD_SPIN): Likewise.
15451 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15452 (__PTHREAD_SPIN): Likewise.
15453
de21c33c
AZ
15454 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15455 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15456 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15457 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15458 imply folder.
15459 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15460 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15461 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15462 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15463 correct imply path.
15464 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15465 strlen symbol for non multi-arch builds.
15466 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15467 missing hidden_def and weak_alias.
15468
862c472e
CD
154692014-04-08 Carlos O'Donell <carlos@redhat.com>
15470
15471 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15472
8667f90e
WN
154732014-04-07 Will Newton <will.newton@linaro.org>
15474
15475 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15476 and contents. [!_LIBC] Remove #ifndef and contents.
15477 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15478 * string/memccpy.c (__memccpy): Use ANSI prototype.
15479 * string/memfrob.c (memfrob): Likewise.
15480 * string/strcoll.c (STRCOLL): Likewise.
15481 * string/strlen.c (strlen): Likewise.
15482 * string/strtok.c (STRTOK): Likewise.
15483 * string/strcat.c: Remove unused #include of memcopy.h.
15484 (strcat): Use ANSI prototype.
15485 * string/strchr.c: Remove unused #include of memcopy.h.
15486 (strchr): Use ANSI prototype.
15487 * string/strcmp.c: Remove unused #include of memcopy.h.
15488 (strcmp): Use ANSI prototype.
15489 * string/strcpy.c: Remove unused #include of memcopy.h.
15490 (strcpy): Use ANSI prototype.
15491
7ffa9423
AZ
154922014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15493
15494 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15495 * config.make.in (config-extra-cppflags): Set it from
15496 libc_extra_cppflags.
15497 * configure.ac (libc_extra_cflags): Make it accumulate over
15498 configure fragments.
15499 (libc_extra_cppflags): New flag.
15500 * configure. Regenerate.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15502 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15503 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15505
8bd70862
AZ
15506 [BZ #16815]
15507 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15508 result for FE_DOWNWARD rounding mode.
15509 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15510 Likewise.
15511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15512
d42f3448
CM
155132014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15514
15515 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15516 in function argument name.
15517
1c21d115
DS
155182014-04-03 David Svoboda <svoboda@cert.org>
15519
15520 [BZ #5666]
15521 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15522 explicitly.
15523
fcccd512
RM
155242014-04-03 Roland McGrath <roland@hack.frob.com>
15525
15526 * elf/dl-unmap-segments.h: New file.
15527 * sysdeps/generic/ldsodefs.h
15528 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15529 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15530 * elf/dl-fptr.c: Likewise.
15531 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15532 * sysdeps/aarch64/tlsdesc.c: Likewise.
15533 * sysdeps/arm/tlsdesc.c: Likewise.
15534 * sysdeps/i386/tlsdesc.c: Likewise.
15535 * sysdeps/tile/dl-runtime.c: Likewise.
15536 * sysdeps/x86_64/tlsdesc.c: Likewise.
15537 * elf/dl-load.h: New file.
15538 * elf/dl-load.c: Include it.
15539 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15540 Macros moved to dl-load.h.
15541 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15542 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15543 Use _dl_unmap_segments in place of __munmap.
15544 Break out segment-mapping loop into ...
15545 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15546
f6488e2b
WN
155472014-04-03 Will Newton <will.newton@linaro.org>
15548
15549 * elf/dl-lookup.c (do_lookup_x): Remove comment
15550 referring to nested function and move variable
15551 declarations down to before first use.
15552
6f05bafe
JM
155532014-04-02 Joseph Myers <joseph@codesourcery.com>
15554
a84e78c8
JM
15555 [BZ #16799]
15556 [BZ #16800]
15557 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15558 with 0 numerator.
15559 * math/s_catanf.c (__catanf): Likewise.
15560 * math/s_catanh.c (__catanh): Likewise.
15561 * math/s_catanhf.c (__catanhf): Likewise.
15562 * math/s_catanhl.c (__catanhl): Likewise.
15563 * math/s_catanl.c (__catanl): Likewise.
15564 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15565 by positive zero when computing -Inf result.
15566 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15567 (catanh_test): Likewise.
15568 * sysdeps/i386/fpu/libm-test-ulps: Update.
15569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15570
6f05bafe
JM
15571 [BZ #16789]
15572 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15573 instead of using underflowing value in computing result.
15574 * math/s_clog10.c (__clog10): Likewise.
15575 * math/s_clog10f.c (__clog10f): Likewise.
15576 * math/s_clog10l.c (__clog10l): Likewise.
15577 * math/s_clogf.c (__clogf): Likewise.
15578 * math/s_clogl.c (__clogl): Likewise.
15579 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15580 (clog10_test): Likewise.
15581 * sysdeps/i386/fpu/libm-test-ulps: Update.
15582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15583
b0abbc21
AM
155842014-04-02 Alan Modra <amodra@gmail.com>
15585
15586 [BZ #16739]
15587 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15588 output when value is near a power of two. Use int64_t for lx and
15589 remove casts. Use decimal rather than hex exponent constants.
15590 Don't use long double multiplication when double will suffice.
15591 * math/libm-test.inc (nextafter_test_data): Add tests.
15592 * NEWS: Add 16739 and 16786 to bug list.
15593
af6b1797
AM
15594 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15595
483818d7
AM
15596 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15597
f6c55796
WN
155982014-04-01 Will Newton <will.newton@linaro.org>
15599
15600 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15601 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15602
13f7fe35
FW
156032014-04-01 Florian Weimer <fweimer@redhat.com>
15604
15605 [BZ #13347]
15606 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15607 * nptl/tst-setuid2.c: New file.
15608 * nptl/Makefile (xtests): Add tst-setuid2.
15609
c859b32e
AM
156102014-04-01 Alan Modra <amodra@gmail.com>
15611
15612 [BZ #16786]
15613 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15614
54fa2475
JM
156152014-03-31 Joseph Myers <joseph@codesourcery.com>
15616
8795b4a4
JM
15617 [BZ #6803]
15618 [BZ #6804]
15619 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15620 set errno as appropriate.
15621 * math/w_scalbf.c (__scalbf): Likewise.
15622 * math/w_scalbl.c (__scalbl): Likewise.
15623 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15624 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15625 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15626 Add more NaN tests.
15627
54fa2475
JM
15628 [BZ #16349]
15629 * math/w_atan2.c: Include <errno.h>.
15630 (__atan2): Set errno for result underflowing to zero.
15631 * math/w_atan2f.c: Include <errno.h>.
15632 (__atan2f): Set errno for result underflowing to zero.
15633 * math/w_atan2l.c: Include <errno.h>.
15634 (__atan2l): Set errno for result underflowing to zero.
15635 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15636 tests.
15637 * math/auto-libm-test-out: Regenerated.
15638
757d9dd5
AZ
156392014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15640
15641 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15642 Encode instruction correctly in little endian.
15643 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15644 Likewise.
15645 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15646 Likewise.
15647 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15648 Likewise.
15649 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15650 Likewise.
15651
d7a68734
JM
156522014-03-31 Joseph Myers <joseph@codesourcery.com>
15653
47c5adeb
JM
15654 [BZ #9894]
15655 * sysdeps/unix/sysv/linux/kernel-features.h
15656 [__sparc__ && !__arch64__ && !__sparc_v9__]
15657 (__ASSUME_SET_ROBUST_LIST): Do not define.
15658 [__sparc__ && !__arch64__ && !__sparc_v9__]
15659 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15660 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15661 Likewise.
15662 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15663 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15664 (__ASSUME_REQUEUE_PI): Likewise.
15665 (__ASSUME_SET_ROBUST_LIST): Likewise.
15666 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15667 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15668 Undefine.
15669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15670 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15671 Likewise.
15672 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15673 Likewise.
15674 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15675 Likewise.
15676 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15677 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15678 Undefine.
15679 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15680 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15681 Likewise.
15682
d7a68734
JM
15683 [BZ #16648]
15684 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15685 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15686 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15687
c760f5c2
WN
156882014-03-31 Will Newton <will.newton@linaro.org>
15689
15690 * benchtests/Makefile (bench): Add ffs and ffsll to list
15691 of tests.
15692 * benchtests/ffs-inputs: New file.
15693 * benchtests/ffsll-inputs: Likewise.
15694
ea6029b1
JM
156952014-03-29 Joseph Myers <joseph@codesourcery.com>
15696
15697 [BZ #16770]
15698 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15699 too large before casting to int.
15700 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15701 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15702 * math/libm-test.inc (scalb_test_data): Add more tests.
15703
cf806aff
SP
157042014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15705
56737508
SP
15706 * benchtests/Makefile (DETAILED_OPT): New make option.
15707 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15708 set.
15709 * benchtests/bench-skeleton.c: Include stdbool.h.
15710 (main): Store and print timings per input.
15711 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15712 member to each argument value.
15713 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15714 (_print_arg_data): Initialize per-input timing to 0.
15715
cb5e4aad
SP
15716 * benchtests/Makefile (timing-type): New binary.
15717 (bench-clean): Also remove bench-timing-type.
15718 (bench): New target for timing-type.
15719 (bench-func): Print output in JSON format.
15720 * benchtests/bench-skeleton.c (main): Print output in JSON
15721 format.
15722 * benchtests/bench-timing-type.c: New file.
15723 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15724 (TIMING_PRINT_STATS): Remove.
15725 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15726 name separately.
15727
cf806aff
SP
15728 * benchtests/bench-modf.c: Remove.
15729 * benchtests/modf-inputs: New inputs file.
15730
289e0779
JM
157312014-03-28 Joseph Myers <joseph@codesourcery.com>
15732
15733 [BZ #16362]
15734 * math/s_clog10.c (M_PI_LOG10E): New macro.
15735 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15736 imaginary parts are 0.
15737 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15738 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15739 imaginary parts are 0.
15740 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15741 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15742 imaginary parts are 0.
15743 * math/libm-test.inc (clog10_test_data): Update expected results
15744 for when real and imaginary parts are 0.
15745
277ae3f1
PP
157462014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15747
15748 * elf/dl-load.c: Finish conversion of __builtin_expect into
15749 __glibc_{un}likely.
15750
03a7091f
JM
157512014-03-27 Joseph Myers <joseph@codesourcery.com>
15752
15753 [BZ #16348]
15754 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15755 1+x for argument with exponent below -67.
15756 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15757 Likewise.
15758 * math/auto-libm-test-in: Add more tests of exp.
15759 * math/auto-libm-test-out: Regenerated.
15760
ea7d8b95
SP
157612014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15762
dd3022d7
SP
15763 [BZ #16759]
15764 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15765 (nscd_getnetgrent): Use it.
15766
ea7d8b95
SP
15767 [BZ #16760]
15768 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15769 of stpcpy.
15770
df5b85da
AK
157712014-03-27 Andi Kleen <ak@linux.intel.com>
15772
57f41c40
AS
15773 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15774 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15775 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15776 (lll_robust_unlock): Remove out of line section. Use cfi
15777 intrinsics.
df5b85da 15778 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15779 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15780 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15781 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15782 (lll_robust_unlock): Remove out of line section. Use cfi
15783 intrinsics.
df5b85da
AK
15784 (LLL_STUB_UNWIND_INFO*): Remove.
15785
fbd6b5a4
SP
157862014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15787
15788 [BZ #16758]
15789 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15790 blank values.
15791
1b26b855
PP
157922014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15793
15794 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15795
9be36fb8
JM
157962014-03-26 Joseph Myers <joseph@codesourcery.com>
15797
15798 [BZ #16198]
15799 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15800 fnstenv.
15801 * math/test-fenv-preserve.c: New file.
15802 * math/Makefile (tests): Add test-fenv-preserve.
15803
60a2f3c1
WN
158042014-03-26 Will Newton <will.newton@linaro.org>
15805
15806 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15807
a5e5f1e2
RM
158082014-03-25 Roland McGrath <roland@hack.frob.com>
15809
15810 * scripts/versionlist.awk: Partition the version sets and emit all
15811 GLIBC_* (sorted) before all others (sorted).
15812
00f4012a
JM
158132014-03-25 Joseph Myers <joseph@codesourcery.com>
15814
15815 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15816 GLIBC_2.2.5 version.
15817
7bc5a741
AZ
158182014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15819
15820 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15821 calls.
15822
7578473b
AZ
15823 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15824 previous change.
15825
f3f1dab3
AZ
15826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15827
6da36183
AS
158282014-03-25 Andreas Schwab <schwab@suse.de>
15829
15830 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15831 label to be used after in6ailist is initialized.
15832
f3f1dab3 158332014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15834
7578473b 15835 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15836 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15837
046651c1
JM
158382014-03-25 Joseph Myers <joseph@codesourcery.com>
15839
15840 [BZ #16357]
15841 [BZ #16599]
15842 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15843 min_plus_half.
15844 (fp_formats): Update initializers.
15845 (init_fp_formats): Initialize new field.
15846 (output_for_one_input_case): Allow underflow for results up to
15847 min_plus_half.
15848 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15849 * math/auto-libm-test-in: Don't mark some underflows from asin and
15850 atanh as spurious.
15851 * math/auto-libm-test-out: Regenerated.
15852 * sysdeps/i386/fpu/libm-test-ulps: Update.
15853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15854
003e49ed
AS
158552014-03-25 Andreas Schwab <schwab@suse.de>
15856
15857 * libio/Makefile (tst-ftell-partial-wide-ENV)
15858 (tst-ftell-active-handler-ENV): Define.
15859
de031874
SL
158602014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15861
15862 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15863
55a81e3b
PP
158642014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15865
15866 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15867
f3426898
JM
158682014-03-24 Joseph Myers <joseph@codesourcery.com>
15869
15870 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15871 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15872 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15873
a42faf59
PP
158742014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15875
15876 [BZ #16634]
a42faf59 15877 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15878 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15879 (open_path): Change from boolean 'secure' to complete flag 'mode'
15880 (_dl_map_object): Adjust.
a42faf59
PP
15881 * elf/Makefile (tests): Add tst-dlopen-aout.
15882 * elf/tst-dlopen-aout.c: New test.
15883
50936127
SL
158842014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15885
15886 [BZ #16714]
15887 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15888 (struct stat): Rename member pad0 to __glibc_reserved0.
15889
26011b5c
SL
15890 [BZ #16712]
15891 * sysdeps/s390/s390-32/bits/wordsize.h
15892 (__WORDSIZE32_SIZE_ULONG): New define.
15893 * sysdeps/s390/s390-64/bits/wordsize.h
15894 (__WORDSIZE32_SIZE_ULONG): Likewise.
15895 * sysdeps/generic/stdint.h (SIZE_MAX):
15896 Define as UL if __WORDSIZE32_SIZE_ULONG.
15897
a2d86bf1
SL
15898 [BZ #16713]
15899 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15900 (__glibc_reserved0): New variable.
15901 (sa_flags): Change type to int.
15902
78b6eebc
SL
15903 * posix/Makefile (before-compile): Use += before-compile instead
15904 of a :=.
15905
f1399b5a
SL
15906 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15907 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15908
a071766e
AS
159092014-03-20 Andreas Schwab <schwab@suse.de>
15910
15911 [BZ #16743]
15912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15913 non-matching result from nscd.
15914
27c673b8
SP
159152014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15916
15917 * scripts/bench.py: Moved to ...
15918 * benchtests/scripts/bench.py: ... here.
15919 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15920
44152e4b
AS
159212014-03-24 Andreas Schwab <schwab@suse.de>
15922
15923 [BZ #16002]
15924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15925 alloca_account and account alloca use for struct in6ailist.
15926
b376a11a
JM
159272014-03-24 Joseph Myers <joseph@codesourcery.com>
15928
15929 [BZ #16284]
15930 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15931 rounding mode to recompute results that overflow to infinity or
15932 underflow to zero.
15933 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15934 bug 16284.
15935 * math/auto-libm-test-out: Regenerated.
15936 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15937 (ccosh_test): Likewise.
15938 (csin_test_data): Use plus_oflow.
15939 (csin_test): Use ALL_RM_TEST.
15940 (csinh_test_data): Use plus_oflow.
15941 (csinh_test): Use ALL_RM_TEST.
15942 * sysdeps/i386/fpu/libm-test-ulps: Update.
15943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15944
f7be7376
JM
159452014-03-21 Joseph Myers <joseph@codesourcery.com>
15946
1ca2d03e
JM
15947 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15948 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15949 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15950
f7be7376
JM
15951 [BZ #16731]
15952 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15953 when x - 1 is zero.
15954 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15955 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15956 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15957 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15958 argument is 1.
15959 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15960 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15961 zero.
15962 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15963 * sysdeps/i386/fpu/libm-test-ulps: Update.
15964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15965
fdf4534d
SP
159662014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15967
df26ea53
SP
15968 * scripts/bench.pl: Remove file.
15969 * scripts/bench.py: New benchmark script.
15970 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15971 * benchtests/README: Mention python dependency.
15972 * scripts/pylintrc: New file.
15973 * scripts/pylint: New file.
15974
fdf4534d
SP
15975 * bits/mathdef.h: Use #ifdef instead of #if.
15976 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15977 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15978 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15979 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15980 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15981 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15982
6f23d093
AZ
159832014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15984 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15985
15986 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15988 and strpbrk-ppc64 objects.
15989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15990 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15991 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15992 multiarch strpbrk for POWER7.
15993 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15994 multiarch strpbrk for PPC64.
15995 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15996 ifunc selector.
15997 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15998 strpbrk for POWER7.
15999
8c92dfff
JM
160002014-03-20 Joseph Myers <joseph@codesourcery.com>
16001
16002 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16003 (atan_test): Likewise.
16004 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16005 (atanh_test): Use ALL_RM_TEST.
16006 (atan2_test_data): Likewise.
16007 (cabs_test): Likewise.
16008 (cacosh_test): Likewise.
16009 (carg_test): Likewise.
16010 (casin_test): Likewise.
16011 (casinh_test): Likewise.
16012 (cbrt_test): Likewise.
16013 (csqrt_test): Likewise.
16014 (erf_test): Likewise.
16015 (erfc_test): Likewise.
16016 (pow10_test): Likewise.
16017 (exp2_test): Likewise.
16018 (hypot_test): Likewise.
16019 (j0_test): Likewise.
16020 (j1_test): Likewise.
16021 (lgamma_test): Likewise.
16022 (gamma_test): Likewise.
16023 (sincos_test): Likewise.
16024 (tanh_test): Likewise.
16025 (y0_test): Likewise.
16026 (y1_test): Likewise.
16027 * sysdeps/i386/fpu/libm-test-ulps: Update.
16028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16029
6eaf95cb
AZ
160302014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16031
a387428c
SP
16032 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
16034 and strcspn-ppc64 objects.
16035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16036 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16037 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16038 multiarch strcspn for POWER7.
16039 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16040 multiarch strcspn for PPC64.
16041 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16042 ifunc selector.
16043 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16044 strcspn for POWER7.
16045
ae3a5dff
JM
160462014-03-20 Joseph Myers <joseph@codesourcery.com>
16047
16048 * math/gen-libm-test.pl (generate_testfile): Expect only function
16049 name as argument to AUTO_TESTS_* and pass results for all rounding
16050 modes to parse_args.
16051 (parse_auto_input): Separate inputs of automatic tests from
16052 outputs before storing in %auto_tests.
16053 * math/libm-test.inc (acos_test_data): Update call to
16054 AUTO_TESTS_f_f.
16055 (acos_test): Use ALL_RM_TEST.
16056 (acos_tonearest_test_data): Remove.
16057 (acos_test_tonearest): Likewise.
16058 (acos_towardzero_test_data): Likewise.
16059 (acos_test_towardzero): Likewise.
16060 (acos_downward_test_data): Likewise.
16061 (acos_test_downward): Likewise.
16062 (acos_upward_test_data): Likewise.
16063 (acos_test_upward): Likewise.
16064 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16065 (asin_test_data): Likewise.
16066 (asin_test): Use ALL_RM_TEST.
16067 (asin_tonearest_test_data): Remove.
16068 (asin_test_tonearest): Likewise.
16069 (asin_towardzero_test_data): Likewise.
16070 (asin_test_towardzero): Likewise.
16071 (asin_downward_test_data): Likewise.
16072 (asin_test_downward): Likewise.
16073 (asin_upward_test_data): Likewise.
16074 (asin_test_upward): Likewise.
16075 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16076 (atan_test_data): Likewise.
16077 (atanh_test_data): Likewise.
16078 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16079 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16080 (carg_test_data): Likewise.
16081 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16082 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16083 (ccosh_test_data): Likewise.
16084 (cexp_test_data): Likewise.
16085 (clog_test_data): Likewise.
16086 (clog10_test_data): Likewise.
16087 (cos_test_data): Update call to AUTO_TESTS_f_f.
16088 (cos_test): Use ALL_RM_TEST.
16089 (cos_tonearest_test_data): Remove.
16090 (cos_test_tonearest): Likewise.
16091 (cos_towardzero_test_data): Likewise.
16092 (cos_test_towardzero): Likewise.
16093 (cos_downward_test_data): Likewise.
16094 (cos_test_downward): Likewise.
16095 (cos_upward_test_data): Likewise.
16096 (cos_test_upward): Likewise.
16097 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16098 (cosh_test): Use ALL_RM_TEST.
16099 (cosh_tonearest_test_data): Remove.
16100 (cosh_test_tonearest): Likewise.
16101 (cosh_towardzero_test_data): Likewise.
16102 (cosh_test_towardzero): Likewise.
16103 (cosh_downward_test_data): Likewise.
16104 (cosh_test_downward): Likewise.
16105 (cosh_upward_test_data): Likewise.
16106 (cosh_test_upward): Likewise.
16107 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16108 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16109 (ctan_test_data): Likewise.
16110 (ctan_test): Use ALL_RM_TEST.
16111 (ctan_tonearest_test_data): Remove.
16112 (ctan_test_tonearest): Likewise.
16113 (ctan_towardzero_test_data): Likewise.
16114 (ctan_test_towardzero): Likewise.
16115 (ctan_downward_test_data): Likewise.
16116 (ctan_test_downward): Likewise.
16117 (ctan_upward_test_data): Likewise.
16118 (ctan_test_upward): Likewise.
16119 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16120 (ctanh_test): Use ALL_RM_TEST.
16121 (ctanh_tonearest_test_data): Remove.
16122 (ctanh_test_tonearest): Likewise.
16123 (ctanh_towardzero_test_data): Likewise.
16124 (ctanh_test_towardzero): Likewise.
16125 (ctanh_downward_test_data): Likewise.
16126 (ctanh_test_downward): Likewise.
16127 (ctanh_upward_test_data): Likewise.
16128 (ctanh_test_upward): Likewise.
16129 (erf_test_data): Update call to AUTO_TESTS_f_f.
16130 (erfc_test_data): Likewise.
16131 (exp_test_data): Likewise.
16132 (exp_test): Use ALL_RM_TEST.
16133 (exp_tonearest_test_data): Remove.
16134 (exp_test_tonearest): Likewise.
16135 (exp_towardzero_test_data): Likewise.
16136 (exp_test_towardzero): Likewise.
16137 (exp_downward_test_data): Likewise.
16138 (exp_test_downward): Likewise.
16139 (exp_upward_test_data): Likewise.
16140 (exp_test_upward): Likewise.
16141 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16142 (exp10_test): Use ALL_RM_TEST.
16143 (exp10_tonearest_test_data): Remove.
16144 (exp10_test_tonearest): Likewise.
16145 (exp10_towardzero_test_data): Likewise.
16146 (exp10_test_towardzero): Likewise.
16147 (exp10_downward_test_data): Likewise.
16148 (exp10_test_downward): Likewise.
16149 (exp10_upward_test_data): Likewise.
16150 (exp10_test_upward): Likewise.
16151 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16152 (expm1_test_data): Likewise.
16153 (expm1_test): Use ALL_RM_TEST.
16154 (expm1_tonearest_test_data): Remove.
16155 (expm1_test_tonearest): Likewise.
16156 (expm1_towardzero_test_data): Likewise.
16157 (expm1_test_towardzero): Likewise.
16158 (expm1_downward_test_data): Likewise.
16159 (expm1_test_downward): Likewise.
16160 (expm1_upward_test_data): Likewise.
16161 (expm1_test_upward): Likewise.
16162 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16163 (fma_test): Use ALL_RM_TEST.
16164 (fma_towardzero_test_data): Remove.
16165 (fma_test_towardzero): Likewise.
16166 (fma_downward_test_data): Likewise.
16167 (fma_test_downward): Likewise.
16168 (fma_upward_test_data): Likewise.
16169 (fma_test_upward): Likewise.
16170 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16171 (j0_test_data): Update call to AUTO_TESTS_f_f.
16172 (j1_test_data): Likewise.
16173 (jn_test_data): Update call to AUTO_TESTS_if_f.
16174 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16175 (log_test_data): Update call to AUTO_TESTS_f_f.
16176 (log10_test_data): Likewise.
16177 (log1p_test_data): Likewise.
16178 (log2_test_data): Likewise.
16179 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16180 (pow_tonearest_test_data): Likewise.
16181 (sin_test_data): Update call to AUTO_TESTS_f_f.
16182 (sin_test): Use ALL_RM_TEST.
16183 (sin_tonearest_test_data): Remove.
16184 (sin_test_tonearest): Likewise.
16185 (sin_towardzero_test_data): Likewise.
16186 (sin_test_towardzero): Likewise.
16187 (sin_downward_test_data): Likewise.
16188 (sin_test_downward): Likewise.
16189 (sin_upward_test_data): Likewise.
16190 (sin_test_upward): Likewise.
16191 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16192 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16193 (sinh_test): Use ALL_RM_TEST.
16194 (sinh_tonearest_test_data): Remove.
16195 (sinh_test_tonearest): Likewise.
16196 (sinh_towardzero_test_data): Likewise.
16197 (sinh_test_towardzero): Likewise.
16198 (sinh_downward_test_data): Likewise.
16199 (sinh_test_downward): Likewise.
16200 (sinh_upward_test_data): Likewise.
16201 (sinh_test_upward): Likewise.
16202 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16203 (sqrt_test): Use ALL_RM_TEST.
16204 (sqrt_tonearest_test_data): Remove.
16205 (sqrt_test_tonearest): Likewise.
16206 (sqrt_towardzero_test_data): Likewise.
16207 (sqrt_test_towardzero): Likewise.
16208 (sqrt_downward_test_data): Likewise.
16209 (sqrt_test_downward): Likewise.
16210 (sqrt_upward_test_data): Likewise.
16211 (sqrt_test_upward): Likewise.
16212 (tan_test_data): Update call to AUTO_TESTS_f_f.
16213 (tan_test): Use ALL_RM_TEST.
16214 (tan_tonearest_test_data): Remove.
16215 (tan_test_tonearest): Likewise.
16216 (tan_towardzero_test_data): Likewise.
16217 (tan_test_towardzero): Likewise.
16218 (tan_downward_test_data): Likewise.
16219 (tan_test_downward): Likewise.
16220 (tan_upward_test_data): Likewise.
16221 (tan_test_upward): Likewise.
16222 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16223 (tgamma_test_data): Likewise.
16224 (y0_test_data): Likewise.
16225 (y1_test_data): Likewise.
16226 (yn_test_data): Update call to AUTO_TESTS_if_f.
16227 (main): Do not call removed functions.
16228
d71aeee8
JM
162292014-03-19 Joseph Myers <joseph@codesourcery.com>
16230
16231 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16232 (ldexp_test_data): Remove.
16233 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16234 scalbn_test_data.
16235 (scalb_test): Use ALL_RM_TEST.
16236
baaf1ded
AS
162372014-03-19 Andreas Schwab <schwab@suse.de>
16238
16239 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16240
b1115e91
JM
162412014-03-19 Joseph Myers <joseph@codesourcery.com>
16242
16243 [BZ #16649]
16244 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16245 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16246 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16248 (__ASSUME_PREADV): Undefine.
16249 (__ASSUME_PWRITEV): Likewise.
16250
0283ecca
RM
162512014-03-18 Roland McGrath <roland@hack.frob.com>
16252
7d375303
RM
16253 * bits/mman-linux.h: Add comment about non-Linux use.
16254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16255 bits/mman-linux.h resting place.
16256
0283ecca
RM
16257 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16258 * bits/mman-linux.h: ... here.
16259
aebe1003
AZ
162602014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16261
16262 * conform/conformtest.pl: Add standard definition when calling C
16263 preprocessor on data files.
16264 (checknamespace): Remove unused variable.
16265
b29b6bb8
JM
162662014-03-18 Joseph Myers <joseph@codesourcery.com>
16267
16268 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16269 minus_oflow, plus_uflow and minus_uflow in expected results.
16270 * math/libm-test.inc (scalbn_test_data): Add more tests of
16271 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16272 minus_uflow.
16273 (scalbn_test): Use ALL_RM_TEST.
16274 (scalbln_test_data): Add more tests of negative arguments. Use
16275 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16276 (scalbln_test): Use ALL_RM_TEST.
16277
c8f8fa15
RM
162782014-03-18 Roland McGrath <roland@hack.frob.com>
16279
16280 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16281
fede7a5f
WN
162822014-03-18 Will Newton <will.newton@linaro.org>
16283
16284 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16285 inaccurate comment.
16286
80cf0a58
JM
162872014-03-18 Joseph Myers <joseph@codesourcery.com>
16288
16289 * Makerules [!subdir] (check-abi): Exit with error status if a
16290 test failed.
16291
b3620862
JM
162922014-03-17 Joseph Myers <joseph@codesourcery.com>
16293
16294 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16295 for rint. Include results for all rounding modes.
16296 (nearbyint_test): Use ALL_RM_TEST.
16297 (rint_test_data): Include all tests used for nearbyint.
16298
788bba36
WN
162992014-03-17 Will Newton <will.newton@linaro.org>
16300
04ec140a
WN
16301 * nptl/sysdeps/pthread/pthread.h: Revert previous
16302 change.
16303
7579d8d5
WN
16304 * sysdeps/generic/ldsodefs.h: Revert previous
16305 change.
16306
c15cf13a
WN
16307 * libio/genops.c: Revert previous change.
16308 * libio/libioP.h: Likewise.
16309 * stdio-common/vfprintf.c: Likewise.
16310
d0ac1324
WN
16311 * sysdeps/generic/math_private.h: Revert previous
16312 change.
16313
9290130a
WN
16314 * sysdeps/generic/math_private.h: Check whether
16315 HAVE_RM_CTX is defined with #ifdef rather
16316 than #if.
16317
afb466fc
WN
16318 * argp/argp-fmtstream.h: Check whether
16319 __STRICT_ANSI__ is defined with #ifdef rather
16320 than #if.
16321 * argp/argp.h: Likewise.
16322
f7efd7c3
WN
16323 * libio/genops.c: Check whether
16324 _IO_JUMPS_OFFSET is defined with #ifdef rather
16325 than #if.
16326 * libio/libioP.h: Likewise.
16327 * stdio-common/vfprintf.c: Likewise.
16328
53f1bed3
WN
16329 * sysdeps/generic/ldsodefs.h: Check whether
16330 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16331 than #if.
16332
788bba36
WN
16333 * nptl/sysdeps/pthread/pthread.h: Check
16334 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16335 its value.
16336
fcd89ebe
SP
163372014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16338
ae42bbc5
SP
16339 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16340 setting O_APPEND.
16341 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16342 test case.
16343
ea33158c
SP
16344 [BZ #16680]
16345 * libio/fileops.c (_IO_file_open): Seek to end of file but
16346 don't cache the offset.
16347 (get_file_offset): Remove function.
16348 (do_ftell): Use cached offset when available.
16349 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16350 don't cache the offset.
16351 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16352 case.
16353 (do_one_test): Call it.
16354 (do_ftell_test): Fix up expected old offset for a+ mode.
16355 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16356 available.
16357
b1dbb426
SP
16358 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16359 up test status with function return status.
16360 (do_write_test): Likewise.
16361 (do_append_test): Likewise.
16362
fcd89ebe
SP
16363 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16364 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16365 Remove.
16366
9962a2d3
JM
163672014-03-17 Joseph Myers <joseph@codesourcery.com>
16368
16369 * math/gen-libm-test.pl (parse_args): Handle results specified for
16370 each rounding mode separately.
16371 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16372 tests and results from lrint_tonearest_test_data,
16373 lrint_towardzero_test_data, lrint_downward_test_data and
16374 lrint_upward_test_data.
16375 (lrint_test): Use ALL_RM_TEST.
16376 (lrint_tonearest_test_data): Remove.
16377 (lrint_test_tonearest): Likewise.
16378 (lrint_towardzero_test_data): Likewise.
16379 (lrint_test_towardzero): Likewise.
16380 (lrint_downward_test_data): Likewise.
16381 (lrint_test_downward): Likewise.
16382 (lrint_upward_test_data): Likewise.
16383 (lrint_test_upward): Likewise.
16384 (llrint_test_data): Merge in per-rounding-mode tests and results
16385 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16386 llrint_downward_test_data and llrint_upward_test_data.
16387 (llrint_test): Use ALL_RM_TEST.
16388 (llrint_tonearest_test_data): Remove.
16389 (llrint_test_tonearest): Likewise.
16390 (llrint_towardzero_test_data): Likewise.
16391 (llrint_test_towardzero): Likewise.
16392 (llrint_downward_test_data): Likewise.
16393 (llrint_test_downward): Likewise.
16394 (llrint_upward_test_data): Likewise.
16395 (llrint_test_upward): Likewise.
16396 (rint_test_data): Merge in per-rounding-mode tests and results
16397 from rint_tonearest_test_data, rint_towardzero_test_data,
16398 rint_downward_test_data and rint_upward_test_data. Add
16399 per-rounding-mode results for tests not in those arrays.
16400 (rint_test): Use ALL_RM_TEST.
16401 (rint_tonearest_test_data): Remove.
16402 (rint_test_tonearest): Likewise.
16403 (rint_towardzero_test_data): Likewise.
16404 (rint_test_towardzero): Likewise.
16405 (rint_downward_test_data): Likewise.
16406 (rint_test_downward): Likewise.
16407 (rint_upward_test_data): Likewise.
16408 (rint_test_upward): Likewise.
16409 (main): Don't call removed functions.
16410
5006148e
RM
164112014-03-14 Roland McGrath <roland@hack.frob.com>
16412
16413 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16414 "Compiled on ..." crapola. It is anti-useful.
16415
d6fe5e58
JM
164162014-03-14 Joseph Myers <joseph@codesourcery.com>
16417
16418 * scripts/evaluate-test.sh: Handle fourth argument to determine
16419 whether test run should stop on failure.
16420 * Makeconfig (stop-on-test-failure): New variable.
16421 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16422 $(stop-on-test-failure).
16423 * Makefile (tests): Give a summary of results from testing and
16424 exit with failure status if they include an ERROR or FAIL.
16425 (xtests): Likewise.
16426 * manual/install.texi (Configuring and compiling): Mention
16427 stop-on-test-failure=y.
16428 * INSTALL: Regenerated.
16429
498a2233
RM
164302014-03-14 Roland McGrath <roland@hack.frob.com>
16431
22dbc19d
RM
16432 * scripts/versionlist.awk: New file.
16433 * Makerules [$(build-shared) = yes]
16434 (postclean-generated): Add Versions.def, not Versions.def.v and
16435 Versions.def.v.i.
16436 ($(common-objpfx)Versions.def.v.i): Target removed.
16437 ($(common-objpfx)Versions.def): New target.
16438 ($(common-objpfx)Versions.all): Depend on that rather that
16439 $(common-objpfx)Versions.def.v.
16440 * Versions.def: File removed.
16441
498a2233
RM
16442 * Makeconfig (+gccwarn): Add -Wundef.
16443 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16444 a dl-sysdep.h breaking its contract.
16445 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16446 * include/stackinfo.h: New file.
16447 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16448 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16449 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16450 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16451 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16452 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16453 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16454 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16455 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16456 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16457 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16458 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16459 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16460 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16461 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16462
c7de5025
AZ
164632014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16464
16465 [BZ #16707]
16466 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16467 implementation.
16468 * math/libm-test.inc (round_test_data): Add more tests.
16469
98fb27a3
AZ
16470 [BZ #16706]
16471 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16472 implementation.
16473 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16474
374f7f61
AZ
16475 [BZ #16701]
16476 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16477 implementation.
16478 * math/libm-test.inc (ceil_test_data): Add more tests.
16479
4655c291
AZ
16480 * math/libm-test.inc (trunc_test_data): Add more tests related to
16481 BZ#16414.
16482
d7329d4b
RM
164832014-03-14 Roland McGrath <roland@hack.frob.com>
16484
16485 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16486 with #if rather than #ifdef.
16487 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16488
aa4de9ce
L
164892014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16490
16491 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16492 first. Disable AVX-512 GCC support if assembler doesn't support
16493 it.
16494 * sysdeps/x86_64/configure: Regenerated.
16495
2e03fae7
CD
164962014-03-13 Carlos O'Donell <carlos@redhat.com>
16497
16498 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16499 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16500 (__old_pthread_attr_setstack): Likewise.
16501 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16502 [!_STACK_GROWS_DOWN]: Likewise.
16503
43ca83ec
MF
165042014-03-13 Mike Frysinger <vapier@gentoo.org>
16505
16506 * config.make.in (have-bash2): Delete.
16507 * configure.ac (libc_cv_have_bash2): Delete.
16508 * configure: Regenerate.
16509 * elf/Makefile (common-ldd-rewrite): Rename to ...
16510 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16511 (sh-ldd-rewrite): Delete.
16512 (bash-ldd-rewrite): Delete.
16513 (have-bash2): Delete checks.
57f41c40
AS
16514 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16515 ldd-rewrite.
c66e48b4
MF
16516
16517 * config.make.in (have-ksh): Delete.
16518 (KSH): Delete.
16519 * configure.ac (libc_cv_have_ksh): Delete.
16520 * configure: Regenerate.
16521
b93834ef
MF
16522 * elf/Makefile: Delete $(have-ksh) check.
16523 ($(objpfx)sotruss): Change KSH to BASH.
16524 * elf/sotruss.ksh: Rename to ...
16525 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16526 function style to match POSIX. Drop ksh vim mode setting.
16527
f3a4632a
MF
16528 * manual/time.texi (Specifying the Time Zone with TZ): Change
16529 Tuesday to Thursday.
16530
5896c8bd
MF
16531 * debug/tst-longjmp_chk2.c: Update header comment.
16532 (stackoverflow_handler): Add comment. Call assert on pass value.
16533
2d63a517
IZ
165342014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16535
7e54fd04 16536 [BZ #16194]
2d63a517
IZ
16537 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16538 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16539 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16540 (La_x86_64_vector): Add zmm.
16541 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16542 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16543 ($(objpfx)tst-audit10): New target.
16544 ($(objpfx)tst-audit10.out): Likewise.
16545 (tst-audit10-ENV): New.
16546 (AVX512-CFLAGS): Likewise.
16547 (CFLAGS-tst-audit10.c): Likewise.
16548 (CFLAGS-tst-auditmod10a.c): Likewise.
16549 (CFLAGS-tst-auditmod10b.c): Likewise.
16550 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16551 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16552 * sysdeps/x86_64/configure: Regenerated.
16553 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16554 AVX-512 zmm register support.
16555 (_dl_x86_64_save_sse): Likewise.
16556 (_dl_x86_64_restore_sse): Likewise.
16557 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16558 size vector registers.
16559 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16560 (ZMM_SIZE): Likewise.
16561 * sysdeps/x86_64/tst-audit10.c: New file.
16562 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16563 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16564
44c4e5d5
RM
165652014-03-13 Roland McGrath <roland@hack.frob.com>
16566
16567 * configure.ac (HAVE_EHDR_START): New check.
16568 * configure: Regenerated.
16569 * config.h.in (HAVE_EHDR_START): New #undef.
16570 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16571 assuming the lowest-addressed segment maps the start of the file.
16572
acd6e389
JM
165732014-03-13 Joseph Myers <joseph@codesourcery.com>
16574
16575 * INSTALL: Regenerated.
16576
6f918f36
WN
165772014-03-13 Will Newton <will.newton@linaro.org>
16578
16579 * manual/setjmp.texi (System V contexts): Improve
16580 clarity and grammar of documentation.
16581
798212a0
PP
165822014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16583
16584 [BZ #16381]
798212a0 16585 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16586 (tests-pie): Add tst-pie2.
798212a0
PP
16587 * elf/tst-pie2.c: New file.
16588 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16589 for ET_EXEC.
16590 * elf/rtld.c (map_doit): Load executable as lt_executable.
16591 (dl_main): Likewise.
16592
abe6d90c
JM
165932014-03-12 Joseph Myers <joseph@codesourcery.com>
16594
16595 [BZ #16642]
16596 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16597 (__ASSUME_PSELECT): Undefine.
16598
dd3946c6
AZ
165992014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16600
16601 [BZ #16689]
16602 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16603 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16604 static build.
16605 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16606 selector for static builds.
16607
c44496df
SP
166082014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16609
16610 [BZ #16695]
16611 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16612 key in the buffer.
16613
27c7220a
AZ
166142014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16615
57f41c40
AS
16616 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16617 IFUNC selector for static builds.
27c7220a 16618
600fa361
JM
166192014-03-11 Joseph Myers <joseph@codesourcery.com>
16620
76c96cf7
JM
16621 * sysdeps/mips/math_private.h [__mips_hard_float]
16622 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16623 libc_feresetround_mips_ctx.
16624 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16625 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16626 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16627
600fa361
JM
16628 [BZ #16677]
16629 * math/s_nextafter.c (__nextafter): Do not return value from
16630 overflowing computation.
16631 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16632 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16634 Likewise.
16635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16636 Likewise.
16637 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16638 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16639
d7706c32
RM
166402014-03-11 Roland McGrath <roland@hack.frob.com>
16641
16642 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16643 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16644 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16645 the new mov targetting sp.
16646
4facea47
AZ
166472014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16648
16649 [BZ #16683]
16650 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16651 Define it for static builds as well.
16652 (NO_BZERO_IMPL): Likewise.
16653
e65caf1f
VR
166542014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16655
16656 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16657 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16658 multiarch strspn for PPC64.
16659 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16660 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16662 (__libc_ifunc_impl_list): Likewise.
16663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16664 multiarch optimizations
16665 * string/strspn.c (strspn): Using macro to redefine symbol name.
16666
ba9cc071
AZ
166672014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16668 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16669
16670 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16671 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16672 multiarch strncat for PPC64.
16673 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16674 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16676 (__libc_ifunc_impl_list): Likewise.
16677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16678 multiarch optimizations
16679
8b4ff974
SP
166802014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16681
16682 [BZ #16639]
16683 * nscd/nscd.service: Make service type forking.
16684
54b46a4b
AZ
166852014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16686
16687 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16688 sign in non default rounding modes.
16689 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16690
e9996ef7
JM
166912014-03-08 Joseph Myers <joseph@codesourcery.com>
16692
16693 * math/libm-test.inc (ALL_RM_TEST): New macro.
16694 (ceil_test): Use ALL_RM_TEST.
16695 (cimag_test): Likewise.
16696 (conj_test): Likewise.
16697 (copysign_test): Likewise.
16698 (cproj_test): Likewise.
16699 (creal_test): Likewise.
16700 (fabs_test): Likewise.
16701 (floor_test): Likewise.
16702 (fmax_test): Likewise.
16703 (fmin_test): Likewise.
16704 (fmod_test): Likewise.
16705 (fpclassify_test): Likewise.
16706 (frexp_test): Likewise.
16707 (ilogb_test): Likewise.
16708 (isfinite_test): Likewise.
16709 (finite_test): Likewise.
16710 (isgreater_test): Likewise.
16711 (isgreaterequal_test): Likewise.
16712 (isinf_test): Likewise.
16713 (isless_test): Likewise.
16714 (islessequal_test): Likewise.
16715 (islessgreater_test): Likewise.
16716 (isnan_test): Likewise.
16717 (isnormal_test): Likewise.
16718 (issignaling_test): Likewise.
16719 (isunordered_test): Likewise.
16720 (logb_test): Likewise.
16721 (logb_downward_test_data): Remove.
16722 (logb_test_downward): Likewise.
16723 (lround_test): Use ALL_RM_TEST.
16724 (llround_test): Likewise.
16725 (modf_test): Likewise.
16726 (nexttoward_test): Likewise.
16727 (remainder_test): Likewise.
16728 (drem_test): Likewise.
16729 (remainder_tonearest_test_data): Likewise.
16730 (remainder_test_tonearest): Likewise.
16731 (drem_test_tonearest): Likewise.
16732 (remainder_towardzero_test_data): Likewise.
16733 (remainder_test_towardzero): Likewise.
16734 (drem_test_towardzero): Likewise.
16735 (remainder_downward_test_data): Likewise.
16736 (remainder_test_downward): Likewise.
16737 (drem_test_downward): Likewise.
16738 (remainder_upward_test_data): Likewise.
16739 (remainder_test_upward): Likewise.
16740 (drem_test_upward): Likewise.
16741 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16742 (round_test): Use ALL_RM_TEST.
16743 (signbit_test): Likewise.
16744 (trunc_test): Likewise.
16745 (significand_test): Likewise.
16746 (main): Don't call removed functions.
16747
bc61d27c
JM
167482014-03-07 Joseph Myers <joseph@codesourcery.com>
16749
5c780849
JM
16750 [BZ #16674]
16751 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16752 || __USE_XOPEN2K8].
16753 (ILL_ILLOPN): Likewise.
16754 (ILL_ILLADR): Likewise.
16755 (ILL_ILLTRP): Likewise.
16756 (ILL_PRVOPC): Likewise.
16757 (ILL_PRVREG): Likewise.
16758 (ILL_COPROC): Likewise.
16759 (ILL_BADSTK): Likewise.
16760 (FPE_INTDIV): Likewise.
16761 (FPE_INTOVF): Likewise.
16762 (FPE_FLTDIV): Likewise.
16763 (FPE_FLTOVF): Likewise.
16764 (FPE_FLTUND): Likewise.
16765 (FPE_FLTRES): Likewise.
16766 (FPE_FLTINV): Likewise.
16767 (FPE_FLTSUB): Likewise.
16768 (SEGV_MAPERR): Likewise.
16769 (SEGV_ACCERR): Likewise.
16770 (BUS_ADRALN): Likewise.
16771 (BUS_ADRERR): Likewise.
16772 (BUS_OBJERR): Likewise.
16773 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16774 (TRAP_TRACE): Likewise.
16775 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16776 __USE_XOPEN2K8].
16777 (CLD_KILLED): Likewise.
16778 (CLD_DUMPED): Likewise.
16779 (CLD_TRAPPED): Likewise.
16780 (CLD_STOPPED): Likewise.
16781 (CLD_CONTINUED): Likewise.
16782 (POLL_IN): Likewise.
16783 (POLL_OUT): Likewise.
16784 (POLL_MSG): Likewise.
16785 (POLL_ERR): Likewise.
16786 (POLL_PRI): Likewise.
16787 (POLL_HUP): Likewise.
16788 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16789 Likewise.
16790 (ILL_ILLOPN): Likewise.
16791 (ILL_ILLADR): Likewise.
16792 (ILL_ILLTRP): Likewise.
16793 (ILL_PRVOPC): Likewise.
16794 (ILL_PRVREG): Likewise.
16795 (ILL_COPROC): Likewise.
16796 (ILL_BADSTK): Likewise.
16797 (FPE_INTDIV): Likewise.
16798 (FPE_INTOVF): Likewise.
16799 (FPE_FLTDIV): Likewise.
16800 (FPE_FLTOVF): Likewise.
16801 (FPE_FLTUND): Likewise.
16802 (FPE_FLTRES): Likewise.
16803 (FPE_FLTINV): Likewise.
16804 (FPE_FLTSUB): Likewise.
16805 (SEGV_MAPERR): Likewise.
16806 (SEGV_ACCERR): Likewise.
16807 (BUS_ADRALN): Likewise.
16808 (BUS_ADRERR): Likewise.
16809 (BUS_OBJERR): Likewise.
16810 (BUS_MCEERR_AR): Likewise.
16811 (BUS_MCEERR_AO): Likewise.
16812 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16813 (TRAP_TRACE): Likewise.
16814 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16815 __USE_XOPEN2K8].
16816 (CLD_KILLED): Likewise.
16817 (CLD_DUMPED): Likewise.
16818 (CLD_TRAPPED): Likewise.
16819 (CLD_STOPPED): Likewise.
16820 (CLD_CONTINUED): Likewise.
16821 (POLL_IN): Likewise.
16822 (POLL_OUT): Likewise.
16823 (POLL_MSG): Likewise.
16824 (POLL_ERR): Likewise.
16825 (POLL_PRI): Likewise.
16826 (POLL_HUP): Likewise.
16827 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16828 (ILL_ILLOPN): Likewise.
16829 (ILL_ILLADR): Likewise.
16830 (ILL_ILLTRP): Likewise.
16831 (ILL_PRVOPC): Likewise.
16832 (ILL_PRVREG): Likewise.
16833 (ILL_COPROC): Likewise.
16834 (ILL_BADSTK): Likewise.
16835 (FPE_INTDIV): Likewise.
16836 (FPE_INTOVF): Likewise.
16837 (FPE_FLTDIV): Likewise.
16838 (FPE_FLTOVF): Likewise.
16839 (FPE_FLTUND): Likewise.
16840 (FPE_FLTRES): Likewise.
16841 (FPE_FLTINV): Likewise.
16842 (FPE_FLTSUB): Likewise.
16843 (SEGV_MAPERR): Likewise.
16844 (SEGV_ACCERR): Likewise.
16845 (BUS_ADRALN): Likewise.
16846 (BUS_ADRERR): Likewise.
16847 (BUS_OBJERR): Likewise.
16848 (BUS_MCEERR_AR): Likewise.
16849 (BUS_MCEERR_AO): Likewise.
16850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16851 (TRAP_TRACE): Likewise.
16852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16853 __USE_XOPEN2K8].
16854 (CLD_KILLED): Likewise.
16855 (CLD_DUMPED): Likewise.
16856 (CLD_TRAPPED): Likewise.
16857 (CLD_STOPPED): Likewise.
16858 (CLD_CONTINUED): Likewise.
16859 (POLL_IN): Likewise.
16860 (POLL_OUT): Likewise.
16861 (POLL_MSG): Likewise.
16862 (POLL_ERR): Likewise.
16863 (POLL_PRI): Likewise.
16864 (POLL_HUP): Likewise.
16865 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16866 Likewise.
16867 (ILL_ILLOPN): Likewise.
16868 (ILL_ILLADR): Likewise.
16869 (ILL_ILLTRP): Likewise.
16870 (ILL_PRVOPC): Likewise.
16871 (ILL_PRVREG): Likewise.
16872 (ILL_COPROC): Likewise.
16873 (ILL_BADSTK): Likewise.
16874 (ILL_BADIADDR): Likewise.
16875 (ILL_BREAK): Likewise.
16876 (FPE_INTDIV): Likewise.
16877 (FPE_INTOVF): Likewise.
16878 (FPE_FLTDIV): Likewise.
16879 (FPE_FLTOVF): Likewise.
16880 (FPE_FLTUND): Likewise.
16881 (FPE_FLTRES): Likewise.
16882 (FPE_FLTINV): Likewise.
16883 (FPE_FLTSUB): Likewise.
16884 (FPE_DECOVF): Likewise.
16885 (FPE_DECDIV): Likewise.
16886 (FPE_DECERR): Likewise.
16887 (FPE_INVASC): Likewise.
16888 (FPE_INVDEC): Likewise.
16889 (SEGV_MAPERR): Likewise.
16890 (SEGV_ACCERR): Likewise.
16891 (SEGV_PSTKOVF): Likewise.
16892 (BUS_ADRALN): Likewise.
16893 (BUS_ADRERR): Likewise.
16894 (BUS_OBJERR): Likewise.
16895 (BUS_MCEERR_AR): Likewise.
16896 (BUS_MCEERR_AO): Likewise.
16897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16898 (TRAP_TRACE): Likewise.
16899 (TRAP_BRANCH): Likewise.
16900 (TRAP_HWBKPT): Likewise.
16901 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16902 __USE_XOPEN2K8].
16903 (CLD_KILLED): Likewise.
16904 (CLD_DUMPED): Likewise.
16905 (CLD_TRAPPED): Likewise.
16906 (CLD_STOPPED): Likewise.
16907 (CLD_CONTINUED): Likewise.
16908 (POLL_IN): Likewise.
16909 (POLL_OUT): Likewise.
16910 (POLL_MSG): Likewise.
16911 (POLL_ERR): Likewise.
16912 (POLL_PRI): Likewise.
16913 (POLL_HUP): Likewise.
16914 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16915 (ILL_ILLOPN): Likewise.
16916 (ILL_ILLADR): Likewise.
16917 (ILL_ILLTRP): Likewise.
16918 (ILL_PRVOPC): Likewise.
16919 (ILL_PRVREG): Likewise.
16920 (ILL_COPROC): Likewise.
16921 (ILL_BADSTK): Likewise.
16922 (FPE_INTDIV): Likewise.
16923 (FPE_INTOVF): Likewise.
16924 (FPE_FLTDIV): Likewise.
16925 (FPE_FLTOVF): Likewise.
16926 (FPE_FLTUND): Likewise.
16927 (FPE_FLTRES): Likewise.
16928 (FPE_FLTINV): Likewise.
16929 (FPE_FLTSUB): Likewise.
16930 (SEGV_MAPERR): Likewise.
16931 (SEGV_ACCERR): Likewise.
16932 (BUS_ADRALN): Likewise.
16933 (BUS_ADRERR): Likewise.
16934 (BUS_OBJERR): Likewise.
16935 (BUS_MCEERR_AR): Likewise.
16936 (BUS_MCEERR_AO): Likewise.
16937 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16938 (TRAP_TRACE): Likewise.
16939 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16940 __USE_XOPEN2K8].
16941 (CLD_KILLED): Likewise.
16942 (CLD_DUMPED): Likewise.
16943 (CLD_TRAPPED): Likewise.
16944 (CLD_STOPPED): Likewise.
16945 (CLD_CONTINUED): Likewise.
16946 (POLL_IN): Likewise.
16947 (POLL_OUT): Likewise.
16948 (POLL_MSG): Likewise.
16949 (POLL_ERR): Likewise.
16950 (POLL_PRI): Likewise.
16951 (POLL_HUP): Likewise.
16952 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16953 (ILL_ILLOPN): Likewise.
16954 (ILL_ILLADR): Likewise.
16955 (ILL_ILLTRP): Likewise.
16956 (ILL_PRVOPC): Likewise.
16957 (ILL_PRVREG): Likewise.
16958 (ILL_COPROC): Likewise.
16959 (ILL_BADSTK): Likewise.
16960 (FPE_INTDIV): Likewise.
16961 (FPE_INTOVF): Likewise.
16962 (FPE_FLTDIV): Likewise.
16963 (FPE_FLTOVF): Likewise.
16964 (FPE_FLTUND): Likewise.
16965 (FPE_FLTRES): Likewise.
16966 (FPE_FLTINV): Likewise.
16967 (FPE_FLTSUB): Likewise.
16968 (SEGV_MAPERR): Likewise.
16969 (SEGV_ACCERR): Likewise.
16970 (BUS_ADRALN): Likewise.
16971 (BUS_ADRERR): Likewise.
16972 (BUS_OBJERR): Likewise.
16973 (BUS_MCEERR_AR): Likewise.
16974 (BUS_MCEERR_AO): Likewise.
16975 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16976 (TRAP_TRACE): Likewise.
16977 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16978 __USE_XOPEN2K8].
16979 (CLD_KILLED): Likewise.
16980 (CLD_DUMPED): Likewise.
16981 (CLD_TRAPPED): Likewise.
16982 (CLD_STOPPED): Likewise.
16983 (CLD_CONTINUED): Likewise.
16984 (POLL_IN): Likewise.
16985 (POLL_OUT): Likewise.
16986 (POLL_MSG): Likewise.
16987 (POLL_ERR): Likewise.
16988 (POLL_PRI): Likewise.
16989 (POLL_HUP): Likewise.
16990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16991 (ILL_ILLOPN): Likewise.
16992 (ILL_ILLADR): Likewise.
16993 (ILL_ILLTRP): Likewise.
16994 (ILL_PRVOPC): Likewise.
16995 (ILL_PRVREG): Likewise.
16996 (ILL_COPROC): Likewise.
16997 (ILL_BADSTK): Likewise.
16998 (FPE_INTDIV): Likewise.
16999 (FPE_INTOVF): Likewise.
17000 (FPE_FLTDIV): Likewise.
17001 (FPE_FLTOVF): Likewise.
17002 (FPE_FLTUND): Likewise.
17003 (FPE_FLTRES): Likewise.
17004 (FPE_FLTINV): Likewise.
17005 (FPE_FLTSUB): Likewise.
17006 (SEGV_MAPERR): Likewise.
17007 (SEGV_ACCERR): Likewise.
17008 (BUS_ADRALN): Likewise.
17009 (BUS_ADRERR): Likewise.
17010 (BUS_OBJERR): Likewise.
17011 (BUS_MCEERR_AR): Likewise.
17012 (BUS_MCEERR_AO): Likewise.
17013 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17014 (TRAP_TRACE): Likewise.
17015 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17016 __USE_XOPEN2K8].
17017 (CLD_KILLED): Likewise.
17018 (CLD_DUMPED): Likewise.
17019 (CLD_TRAPPED): Likewise.
17020 (CLD_STOPPED): Likewise.
17021 (CLD_CONTINUED): Likewise.
17022 (POLL_IN): Likewise.
17023 (POLL_OUT): Likewise.
17024 (POLL_MSG): Likewise.
17025 (POLL_ERR): Likewise.
17026 (POLL_PRI): Likewise.
17027 (POLL_HUP): Likewise.
17028 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17029 (ILL_ILLOPN): Likewise.
17030 (ILL_ILLADR): Likewise.
17031 (ILL_ILLTRP): Likewise.
17032 (ILL_PRVOPC): Likewise.
17033 (ILL_PRVREG): Likewise.
17034 (ILL_COPROC): Likewise.
17035 (ILL_BADSTK): Likewise.
17036 (ILL_DBLFLT): Likewise.
17037 (ILL_HARDWALL): Likewise.
17038 (FPE_INTDIV): Likewise.
17039 (FPE_INTOVF): Likewise.
17040 (FPE_FLTDIV): Likewise.
17041 (FPE_FLTOVF): Likewise.
17042 (FPE_FLTUND): Likewise.
17043 (FPE_FLTRES): Likewise.
17044 (FPE_FLTINV): Likewise.
17045 (FPE_FLTSUB): Likewise.
17046 (SEGV_MAPERR): Likewise.
17047 (SEGV_ACCERR): Likewise.
17048 (BUS_ADRALN): Likewise.
17049 (BUS_ADRERR): Likewise.
17050 (BUS_OBJERR): Likewise.
17051 (BUS_MCEERR_AR): Likewise.
17052 (BUS_MCEERR_AO): Likewise.
17053 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17054 (TRAP_TRACE): Likewise.
17055 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17056 __USE_XOPEN2K8].
17057 (CLD_KILLED): Likewise.
17058 (CLD_DUMPED): Likewise.
17059 (CLD_TRAPPED): Likewise.
17060 (CLD_STOPPED): Likewise.
17061 (CLD_CONTINUED): Likewise.
17062 (POLL_IN): Likewise.
17063 (POLL_OUT): Likewise.
17064 (POLL_MSG): Likewise.
17065 (POLL_ERR): Likewise.
17066 (POLL_PRI): Likewise.
17067 (POLL_HUP): Likewise.
17068 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17069 (ILL_ILLOPN): Likewise.
17070 (ILL_ILLADR): Likewise.
17071 (ILL_ILLTRP): Likewise.
17072 (ILL_PRVOPC): Likewise.
17073 (ILL_PRVREG): Likewise.
17074 (ILL_COPROC): Likewise.
17075 (ILL_BADSTK): Likewise.
17076 (FPE_INTDIV): Likewise.
17077 (FPE_INTOVF): Likewise.
17078 (FPE_FLTDIV): Likewise.
17079 (FPE_FLTOVF): Likewise.
17080 (FPE_FLTUND): Likewise.
17081 (FPE_FLTRES): Likewise.
17082 (FPE_FLTINV): Likewise.
17083 (FPE_FLTSUB): Likewise.
17084 (SEGV_MAPERR): Likewise.
17085 (SEGV_ACCERR): Likewise.
17086 (BUS_ADRALN): Likewise.
17087 (BUS_ADRERR): Likewise.
17088 (BUS_OBJERR): Likewise.
17089 (BUS_MCEERR_AR): Likewise.
17090 (BUS_MCEERR_AO): Likewise.
17091 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17092 (TRAP_TRACE): Likewise.
17093 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17094 __USE_XOPEN2K8].
17095 (CLD_KILLED): Likewise.
17096 (CLD_DUMPED): Likewise.
17097 (CLD_TRAPPED): Likewise.
17098 (CLD_STOPPED): Likewise.
17099 (CLD_CONTINUED): Likewise.
17100 (POLL_IN): Likewise.
17101 (POLL_OUT): Likewise.
17102 (POLL_MSG): Likewise.
17103 (POLL_ERR): Likewise.
17104 (POLL_PRI): Likewise.
17105 (POLL_HUP): Likewise.
17106 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17107 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17108
bc61d27c
JM
17109 [BZ #16670]
17110 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17111 before #include of <time.h>.
17112 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17113 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17114 (test-xfail-UNIX98/sched.h/conform): Likewise.
17115
302949e2
MS
171162014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17117
17118 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17119 error absence of trapping exception support.
17120 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17121
a00f522a
JM
171222014-03-07 Joseph Myers <joseph@codesourcery.com>
17123
6f99f280
JM
17124 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17125 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17126 * timezone/Makefile (testdata): Move definition above include of
17127 Rules.
17128 (test-zones): New variable.
17129 (tests-special): Add zone files.
17130 (build-testdata): Use $(evaluate-test).
17131
0b20a9e8
JM
17132 * elf/Makefile (tests-special): Rename tests to end with .out.
17133 ($(objpfx)noload-mem): Likewise.
17134 ($(objpfx)tst-leaks1-mem): Likewise.
17135 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17136 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17137 $(objpfx)test-iconvconfig.out.
17138 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17139 set -e inside subshell and redirect output to file.
17140 * iconvdata/Makefile (generated): Rename tests to end with .out.
17141 Correct type.
17142 (tests-special): Rename tests to end with .out.
17143 ($(objpfx)mtrace-tst-loading): Likewise.
17144 * intl/Makefile (generated): Likewise.
17145 (tests-special): Likewise.
17146 ($(objpfx)mtrace-tst-gettext): Likewise.
17147 * misc/Makefile (generated): Likewise.
17148 (tests-special): Likewise.
17149 ($(objpfx)tst-error1-mem): Likewise.
17150 * nptl/Makefile (tests-special): Likewise.
17151 ($(objpfx)tst-stack3-mem): Likewise.
17152 (generated): Likewise.
17153 * posix/Makefile (generated): Likewise.
17154 (tests-special): Likewise.
17155 (xtests-special): Likewise.
17156 ($(objpfx)tst-fnmatch-mem): Likewise.
17157 ($(objpfx)bug-regex2-mem): Likewise.
17158 ($(objpfx)bug-regex14-mem): Likewise.
17159 ($(objpfx)bug-regex21-mem): Likewise.
17160 ($(objpfx)bug-regex31-mem): Likewise.
17161 ($(objpfx)tst-vfork3-mem): Likewise.
17162 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17163 ($(objpfx)tst-pcre-mem): Likewise.
17164 ($(objpfx)tst-boost-mem): Likewise.
17165 ($(objpfx)bug-ga2-mem): Likewise.
17166 ($(objpfx)bug-glob2-mem): Likewise.
17167 * resolv/Makefile (generate): Likewise.
17168 (tests-special): Likewise.
17169 (xtests-special): Likewise.
17170 (generated): Likewise.
17171 ($(objpfx)mtrace-tst-leaks): Likewise.
17172 ($(objpfx)mtrace-tst-leaks2): Likewise.
17173
265d52ab
JM
17174 * scripts/merge-test-results.sh: New file.
17175 * Makefile (tests-special-notdir): New variable.
17176 (tests): Run merge-test-results.sh.
17177 (xtests): Likewise.
17178 * Rules (tests-special-notdir): New variable.
17179 (xtests-special-notdir): Likewise.
17180 (tests): Run merge-test-results.sh
17181 (xtests): Likewise.
17182
54ee292d
JM
17183 * Makeconfig (test-xfail-name): New variable.
17184 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17185 compute variable name for expected failures.
17186 * conform/Makefile (conformtest-headers-data): New variable.
17187 (conformtest-standards): Likewise.
17188 (conformtest-headers-ISO): Likewise.
17189 (conformtest-headers-ISO99): Likewise.
17190 (conformtest-headers-ISO11): Likewise.
17191 (conformtest-headers-POSIX): Likewise.
17192 (conformtest-headers-XPG3): Likewise.
17193 (conformtest-headers-XPG4): Likewise.
17194 (conformtest-headers-UNIX98): Likewise.
17195 (conformtest-headers-XOPEN2K): Likewise.
17196 (conformtest-headers-POSIX2008): Likewise.
17197 (conformtest-headers-XOPEN2K8): Likewise.
17198 (conformtest-header-list-base): Likewise.
17199 (conformtest-header-list-tests): Likewise.
17200 (conformtest-header-base): Likewise.
17201 (conformtest-header-tests): Likewise.
17202 (tests-special): Add $(conformtest-header-list-tests). If
17203 [$(fast-check) && !$(cross-compiling)], add
17204 $(conformtest-header-tests) instead of
17205 $(objpfx)run-conformtest.out.
17206 (generated): Add $(conformtest-header-list-base). If
17207 [$(fast-check) && !$(cross-compiling)], add
17208 $(conformtest-header-base). Remove previous setting.
17209 ($(conformtest-header-list-tests)): New target.
17210 (test-xfail-run-conformtest): Remove variable.
17211 ($(objpfx)run-conformtest.out): Remove target.
17212 (test-xfail-ISO11/complex.h/conform): New variable.
17213 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17214 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17215 (test-xfail-XPG3/varargs.h/conform): Likewise.
17216 (test-xfail-XPG4/varargs.h/conform): Likewise.
17217 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17218 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17219 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17220 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17221 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17222 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17223 (test-xfail-XPG3/ftw.h/conform): Likewise.
17224 (test-xfail-XPG3/grp.h/conform): Likewise.
17225 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17226 (test-xfail-XPG3/limits.h/conform): Likewise.
17227 (test-xfail-XPG3/pwd.h/conform): Likewise.
17228 (test-xfail-XPG3/search.h/conform): Likewise.
17229 (test-xfail-XPG3/signal.h/conform): Likewise.
17230 (test-xfail-XPG3/stdio.h/conform): Likewise.
17231 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17232 (test-xfail-XPG3/string.h/conform): Likewise.
17233 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17234 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17235 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17236 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17237 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17238 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17239 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17240 (test-xfail-XPG3/termios.h/conform): Likewise.
17241 (test-xfail-XPG3/time.h/conform): Likewise.
17242 (test-xfail-XPG3/unistd.h/conform): Likewise.
17243 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17244 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17245 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17246 (test-xfail-XPG4/netdb.h/conform): Likewise.
17247 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17248 (test-xfail-XPG4/signal.h/conform): Likewise.
17249 (test-xfail-XPG4/stdio.h/conform): Likewise.
17250 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17251 (test-xfail-XPG4/stropts.h/conform): Likewise.
17252 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17253 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17254 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17255 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17256 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17257 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17258 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17259 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17260 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17261 (test-xfail-XPG4/termios.h/conform): Likewise.
17262 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17263 (test-xfail-XPG4/unistd.h/conform): Likewise.
17264 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17265 (test-xfail-POSIX/sched.h/conform): Likewise.
17266 (test-xfail-POSIX/signal.h/conform): Likewise.
17267 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17268 (test-xfail-POSIX/tar.h/conform): Likewise.
17269 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17270 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17271 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17272 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17273 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17274 (test-xfail-UNIX98/sched.h/conform): Likewise.
17275 (test-xfail-UNIX98/signal.h/conform): Likewise.
17276 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17277 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17278 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17279 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17280 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17281 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17282 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17283 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17284 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17285 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17286 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17287 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17288 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17289 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17290 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17291 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17292 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17293 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17294 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17295 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17296 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17297 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17298 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17299 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17300 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17301 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17302 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17303 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17304 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17305 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17306 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17307 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17308 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17309 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17310 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17311 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17312 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17313 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17314 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17315 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17316 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17317 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17318 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17319 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17320 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17321 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17322 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17323 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17324 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17325 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17326 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17327 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17328 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17329 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17330 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17331 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17332 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17333 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17334 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17335 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17336 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17337 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17338 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17339 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17340 (conformtest-cc-flags): Likewise.
17341 ($(conformtest-header-tests): New target.
17342 * conform/check-header-lists.sh: New file.
17343 * conform/run-conformtest.sh: Remove.
17344
a00f522a
JM
17345 * conform/conformtest.pl: Allow ' and \ in values given for
17346 constants.
17347 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17348 inclusion.
17349 [POSIX] (sys/types.h): Likewise.
17350 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17351 inclusion.
17352 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17353 inclusion.
17354 * conform/data/signal.h-data (SIGIO): Remove expectation.
17355 [XPG3] (SIGBUS): Do not expect.
17356 [POSIX || XPG3] (SIGPOLL): Likewise.
17357 [POSIX || XPG3] (SIGPROF): Likewise.
17358 [POSIX || XPG3] (SIGSYS): Likewise.
17359 [XPG3] (SIGTRAP): Likewise.
17360 [POSIX || XPG3] (SIGURG): Likewise.
17361 [POSIX || XPG3] (SIGVTALRM): Likewise.
17362 [POSIX || XPG3] (SIGXCPU): Likewise.
17363 [POSIX || XPG3] (SIGXFSZ): Likewise.
17364 [POSIX] (SA_SIGINFO): Expect.
17365 [XPG3] (siginfo_t): Do not expect type or contents.
17366 [POSIX] (si_pid): Do not expect element.
17367 [POSIX] (si_uid): Likewise.
17368 [POSIX] (si_addr): Likewise.
17369 [POSIX] (si_status): Likewise.
17370 [POSIX] (si_band): Likewise.
17371 [XPG4] (si_value): Likewise.
17372 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17373 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17374 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17375 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17376 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17377 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17378 [POSIX || XPG3] (ILL_COPROC): Likewise.
17379 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17380 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17381 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17382 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17383 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17384 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17385 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17386 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17387 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17388 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17389 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17390 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17391 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17392 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17393 [POSIX || XPG3] (CLD_EXITED): Likewise.
17394 [POSIX || XPG3] (CLD_KILLED): Likewise.
17395 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17396 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17397 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17398 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17399 [POSIX || XPG3] (POLL_IN): Likewise.
17400 [POSIX || XPG3] (POLL_OUT): Likewise.
17401 [POSIX || XPG3] (POLL_MSG): Likewise.
17402 [POSIX || XPG3] (POLL_ERR): Likewise.
17403 [POSIX || XPG3] (POLL_PRI): Likewise.
17404 [POSIX || XPG3] (POLL_HUP): Likewise.
17405 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17406 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17407 (SIG*): Do not allow.
17408 [XPG3] (si_*): Likewise.
17409 [XPG3] (SI_*): Likewise.
17410 [XPG3 || XPG4] (sigev_*): Likewise.
17411 [XPG3 || XPG4] (SIGEV_*): Likewise.
17412 [XPG3 || XPG4] (sival_*): Likewise.
17413 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17414 [POSIX || XPG3] (BUS_*): Likewise.
17415 [POSIX || XPG3] (CLD_*): Likewise.
17416 [POSIX || XPG3] (FPE_*): Likewise.
17417 [POSIX || XPG3] (ILL_*): Likewise.
17418 [POSIX || XPG3] (POLL_*): Likewise.
17419 [POSIX || XPG3] (SEGV_*): Likewise.
17420 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17421 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17422 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17423 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17424 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17425 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17426 Specify type and value.
17427 (TVERSLEN): Likewise.
17428 (REGTYPE): Likewise.
17429 (AREGTYPE): Likewise.
17430 (LNKTYPE): Likewise.
17431 (SYMTYPE): Likewise.
17432 (CHRTYPE): Likewise.
17433 (BLKTYPE): Likewise.
17434 (DIRTYPE): Likewise.
17435 (FIFOTYPE): Likewise.
17436 (CONTTYPE): Likewise.
17437 (TSUID): Likewise.
17438 (TSGID): Likewise.
17439 (TSVTX): Likewise.
17440 (TUREAD): Likewise.
17441 (TUWRITE): Likewise.
17442 (TUEXEC): Likewise.
17443 (TGREAD): Likewise.
17444 (TGWRITE): Likewise.
17445 (TGEXEC): Likewise.
17446 (TOREAD): Likewise.
17447 (TOWRITE): Likewise.
17448 (TOEXEC): Likewise.
17449 [POSIX] (TSVTX): Expect constant.
17450
aa97dee1
JM
174512014-03-06 Joseph Myers <joseph@codesourcery.com>
17452
f214606a
JM
17453 * Makefile (tests): Change dependencies to ....
17454 (tests-special): ... additions to this variable.
17455 (tests): Depend on $(tests-special).
17456 * Makerules (check-abi-list): New variable.
17457 (check-abi): Depend on $(check-abi-list).
17458 [$(subdir) = elf] (tests-special): Add
17459 $(objpfx)check-abi-libc.out.
17460 [$(build-shared) = yes && subdir] (tests-special): Add
17461 $(check-abi-list).
17462 [$(build-shared) = yes && subdir] (tests): Do not depend on
17463 check-abi.
17464 * Rules (tests): Depend on $(tests-special).
17465 (xtests): Depend on $(xtests-special).
17466 * catgets/Makefile (tests): Change dependencies to ....
17467 (tests-special): ... additions to this variable.
17468 * conform/Makefile (tests): Change dependencies to ....
17469 (tests-special): ... additions to this variable.
17470 * elf/Makefile (tests): Change dependencies to ....
17471 (tests-special): ... additions to this variable.
17472 * grp/Makefile (tests): Change dependencies to ....
17473 (tests-special): ... additions to this variable.
17474 * iconv/Makefile (xtests): Change dependencies to ....
17475 (xtests-special): ... additions to this variable.
17476 * iconvdata/Makefile (tests): Change dependencies to ....
17477 (tests-special): ... additions to this variable.
17478 * intl/Makefile (tests): Change dependencies to ....
17479 (tests-special): ... additions to this variable. Also add
17480 $(objpfx)tst-gettext.out.
17481 * io/Makefile (tests): Change dependencies to ....
17482 (tests-special): ... additions to this variable.
17483 * libio/Makefile (tests): Change dependencies to ....
17484 (tests-special): ... additions to this variable.
17485 * malloc/Makefile (tests): Change dependencies to ....
17486 (tests-special): ... additions to this variable.
17487 * misc/Makefile (tests): Change dependencies to ....
17488 (tests-special): ... additions to this variable.
17489 * nptl/Makefile (tests): Change dependencies to ....
17490 (tests-special): ... additions to this variable.
17491 * nptl_db/Makefile (tests): Change dependencies to ....
17492 (tests-special): ... additions to this variable.
17493 * posix/Makefile (tests): Change dependencies to ....
17494 (tests-special): ... additions to this variable.
17495 (xtests): Change dependencies to ....
17496 (xtests-special): ... additions to this variable.
17497 * resolv/Makefile (tests): Change dependencies to ....
17498 (tests-special): ... additions to this variable.
17499 (xtests): Change dependencies to ....
17500 (xtests-special): ... additions to this variable.
17501 * stdio-common/Makefile (tests): Change dependencies to ....
17502 (tests-special): ... additions to this variable.
17503 (do-tst-unbputc): Remove target.
17504 (do-tst-printf): Likewise.
17505 * stdlib/Makefile (tests): Change dependencies to ....
17506 (tests-special): ... additions to this variable.
17507 * string/Makefile (tests): Change dependencies to ....
17508 (tests-special): ... additions to this variable.
17509 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17510 (tests-special): ... additions to this variable.
17511
81700b53
JM
17512 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17513 whole file.
17514 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17515 whole file.
17516 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17517 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17518
2ea18461
JM
17519 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17520 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17521 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17522 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17523 * conform/data/libgen.h-data [XPG3]: Likewise.
17524 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17525 * conform/data/ndbm.h-data [XPG3]: Likewise.
17526 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17527 * conform/data/netdb.h-data [XPG3]: Likewise.
17528 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17529 * conform/data/poll.h-data [XPG3]: Likewise.
17530 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17531 * conform/data/strings.h-data [XPG3]: Likewise.
17532 * conform/data/stropts.h-data [XPG3]: Likewise.
17533 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17534 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17535 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17536 Likewise.
17537 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17538 * conform/data/sys/time.h-data [XPG3]: Likewise.
17539 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17540 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17541 * conform/data/sys/un.h-data [XPG3]: Likewise.
17542 * conform/data/syslog.h-data [XPG3]: Likewise.
17543 * conform/data/ucontext.h-data [XPG3]: Likewise.
17544 * conform/data/utmpx.h-data [XPG3]: Likewise.
17545 * conform/data/varargs.h-data [UNIX98]: Enable file.
17546
355bc986
JM
17547 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17548
215db402
JM
17549 * math/libm-test.inc (struct test_f_f_data): Move expected results
17550 into structure for each rounding mode.
17551 (struct test_ff_f_data): Likewise.
17552 (struct test_ff_f_data_nexttoward): Likewise.
17553 (struct test_fi_f_data): Likewise.
17554 (struct test_fl_f_data): Likewise.
17555 (struct test_if_f_data): Likewise.
17556 (struct test_fff_f_data): Likewise.
17557 (struct test_c_f_data): Likewise.
17558 (struct test_f_f1_data): Likewise.
17559 (struct test_fF_f1_data): Likewise.
17560 (struct test_ffI_f1_data): Likewise.
17561 (struct test_c_c_data): Likewise.
17562 (struct test_cc_c_data): Likewise.
17563 (struct test_f_i_data): Likewise.
17564 (struct test_ff_i_data): Likewise.
17565 (struct test_f_l_data): Likewise.
17566 (struct test_f_L_data): Likewise.
17567 (struct test_fFF_11_data): Likewise.
17568 (RM_): New macro.
17569 (RM_FE_DOWNWARD): Likewise.
17570 (RM_FE_TONEAREST): Likewise.
17571 (RM_FE_TOWARDZERO): Likewise.
17572 (RM_FE_UPWARD): Likewise.
17573 (RUN_TEST_LOOP_f_f): Update references to expected results.
17574 (RUN_TEST_LOOP_2_f): Likewise.
17575 (RUN_TEST_LOOP_fff_f): Likewise.
17576 (RUN_TEST_LOOP_c_f): Likewise.
17577 (RUN_TEST_LOOP_f_f1): Likewise.
17578 (RUN_TEST_LOOP_fF_f1): Likewise.
17579 (RUN_TEST_LOOP_fI_f1): Likewise.
17580 (RUN_TEST_LOOP_ffI_f1): Likewise.
17581 (RUN_TEST_LOOP_c_c): Likewise.
17582 (RUN_TEST_LOOP_cc_c): Likewise.
17583 (RUN_TEST_LOOP_f_i): Likewise.
17584 (RUN_TEST_LOOP_f_i_tg): Likewise.
17585 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17586 (RUN_TEST_LOOP_f_b): Likewise.
17587 (RUN_TEST_LOOP_f_b_tg): Likewise.
17588 (RUN_TEST_LOOP_f_l): Likewise.
17589 (RUN_TEST_LOOP_f_L): Likewise.
17590 (RUN_TEST_LOOP_fFF_11): Likewise.
17591 * math/gen-libm-test.pl (parse_args): Output four copies of
17592 expected results for each test.
17593
67737b8f
JM
17594 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17595 (__ASSUME_UTIMES): Remove.
17596 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17597 (__ASSUME_UTIMES): Likewise.
17598
aa97dee1
JM
17599 * math/gen-auto-libm-tests.c: Update comment on output format.
17600 (output_for_one_input_case): Generate before-rounding and
17601 after-rounding information as conditions on output flags not
17602 floating-point format.
17603 * math/auto-libm-test-out: Regenerated.
17604 * math/gen-libm-test.pl (cond_value): New function.
17605 (or_cond_value): Use cond_value.
17606 (generate_testfile): Handle conditional exceptions.
17607
e6b6a857
JM
176082014-03-05 Joseph Myers <joseph@codesourcery.com>
17609
2f0a0f44
JM
17610 * math/libm-test.inc (max_valid_error): New variable.
17611 (init_max_error): Take new argument specifying whether function
17612 results are exactly determined. Set max_valid_error and bound
17613 other variables for errors based on this argument.
17614 (set_max_error): Do not record results above max_valid_error.
17615 (check_float_internal): Only accept errors of up to 0.5ulps if
17616 also at most max_valid_error.
17617 (START): Take new argument EXACT and pass it to init_max_error.
17618 (acos_test): Update call to START.
17619 (acos_test_tonearest): Likewise.
17620 (acos_test_towardzero): Likewise.
17621 (acos_test_downward): Likewise.
17622 (acos_test_upward): Likewise.
17623 (acosh_test): Likewise.
17624 (asin_test): Likewise.
17625 (asin_test_tonearest): Likewise.
17626 (asin_test_towardzero): Likewise.
17627 (asin_test_downward): Likewise.
17628 (asin_test_upward): Likewise.
17629 (asinh_test): Likewise.
17630 (atan_test): Likewise.
17631 (atanh_test): Likewise.
17632 (atan2_test): Likewise.
17633 (cabs_test): Likewise.
17634 (cacos_test): Likewise.
17635 (cacosh_test): Likewise.
17636 (carg_test): Likewise.
17637 (casin_test): Likewise.
17638 (casinh_test): Likewise.
17639 (catan_test): Likewise.
17640 (catanh_test): Likewise.
17641 (cbrt_test): Likewise.
17642 (ccos_test): Likewise.
17643 (ccosh_test): Likewise.
17644 (ceil_test): Likewise.
17645 (cexp_test): Likewise.
17646 (cimag_test): Likewise.
17647 (clog_test): Likewise.
17648 (clog10_test): Likewise.
17649 (conj_test): Likewise.
17650 (copysign_test): Likewise.
17651 (cos_test): Likewise.
17652 (cos_test_tonearest): Likewise.
17653 (cos_test_towardzero): Likewise.
17654 (cos_test_downward): Likewise.
17655 (cos_test_upward): Likewise.
17656 (cosh_test): Likewise.
17657 (cosh_test_tonearest): Likewise.
17658 (cosh_test_towardzero): Likewise.
17659 (cosh_test_downward): Likewise.
17660 (cosh_test_upward): Likewise.
17661 (cpow_test): Likewise.
17662 (cproj_test): Likewise.
17663 (creal_test): Likewise.
17664 (csin_test): Likewise.
17665 (csinh_test): Likewise.
17666 (csqrt_test): Likewise.
17667 (ctan_test): Likewise.
17668 (ctan_test_tonearest): Likewise.
17669 (ctan_test_towardzero): Likewise.
17670 (ctan_test_downward): Likewise.
17671 (ctan_test_upward): Likewise.
17672 (ctanh_test): Likewise.
17673 (ctanh_test_tonearest): Likewise.
17674 (ctanh_test_towardzero): Likewise.
17675 (ctanh_test_downward): Likewise.
17676 (ctanh_test_upward): Likewise.
17677 (erf_test): Likewise.
17678 (erfc_test): Likewise.
17679 (exp_test): Likewise.
17680 (exp_test_tonearest): Likewise.
17681 (exp_test_towardzero): Likewise.
17682 (exp_test_downward): Likewise.
17683 (exp_test_upward): Likewise.
17684 (exp10_test): Likewise.
17685 (exp10_test_tonearest): Likewise.
17686 (exp10_test_towardzero): Likewise.
17687 (exp10_test_downward): Likewise.
17688 (exp10_test_upward): Likewise.
17689 (pow10_test): Likewise.
17690 (exp2_test): Likewise.
17691 (expm1_test): Likewise.
17692 (expm1_test_tonearest): Likewise.
17693 (expm1_test_towardzero): Likewise.
17694 (expm1_test_downward): Likewise.
17695 (expm1_test_upward): Likewise.
17696 (fabs_test): Likewise.
17697 (fdim_test): Likewise.
17698 (floor_test): Likewise.
17699 (fma_test): Likewise.
17700 (fma_test_towardzero): Likewise.
17701 (fma_test_downward): Likewise.
17702 (fma_test_upward): Likewise.
17703 (fmax_test): Likewise.
17704 (fmin_test): Likewise.
17705 (fmod_test): Likewise.
17706 (fpclassify_test): Likewise.
17707 (frexp_test): Likewise.
17708 (hypot_test): Likewise.
17709 (ilogb_test): Likewise.
17710 (isfinite_test): Likewise.
17711 (finite_test): Likewise.
17712 (isgreater_test): Likewise.
17713 (isgreaterequal_test): Likewise.
17714 (isinf_test): Likewise.
17715 (isless_test): Likewise.
17716 (islessequal_test): Likewise.
17717 (islessgreater_test): Likewise.
17718 (isnan_test): Likewise.
17719 (isnormal_test): Likewise.
17720 (issignaling_test): Likewise.
17721 (isunordered_test): Likewise.
17722 (j0_test): Likewise.
17723 (j1_test): Likewise.
17724 (jn_test): Likewise.
17725 (ldexp_test): Likewise.
17726 (lgamma_test): Likewise.
17727 (gamma_test): Likewise.
17728 (lrint_test): Likewise.
17729 (lrint_test_tonearest): Likewise.
17730 (lrint_test_towardzero): Likewise.
17731 (lrint_test_downward): Likewise.
17732 (lrint_test_upward): Likewise.
17733 (llrint_test): Likewise.
17734 (llrint_test_tonearest): Likewise.
17735 (llrint_test_towardzero): Likewise.
17736 (llrint_test_downward): Likewise.
17737 (llrint_test_upward): Likewise.
17738 (log_test): Likewise.
17739 (log10_test): Likewise.
17740 (log1p_test): Likewise.
17741 (log2_test): Likewise.
17742 (logb_test): Likewise.
17743 (logb_test_downward): Likewise.
17744 (lround_test): Likewise.
17745 (llround_test): Likewise.
17746 (modf_test): Likewise.
17747 (nearbyint_test): Likewise.
17748 (nextafter_test): Likewise.
17749 (nexttoward_test): Likewise.
17750 (pow_test): Likewise.
17751 (pow_test_tonearest): Likewise.
17752 (pow_test_towardzero): Likewise.
17753 (pow_test_downward): Likewise.
17754 (pow_test_upward): Likewise.
17755 (remainder_test): Likewise.
17756 (drem_test): Likewise.
17757 (remainder_test_tonearest): Likewise.
17758 (drem_test_tonearest): Likewise.
17759 (remainder_test_towardzero): Likewise.
17760 (drem_test_towardzero): Likewise.
17761 (remainder_test_downward): Likewise.
17762 (drem_test_downward): Likewise.
17763 (remainder_test_upward): Likewise.
17764 (drem_test_upward): Likewise.
17765 (remquo_test): Likewise.
17766 (rint_test): Likewise.
17767 (rint_test_tonearest): Likewise.
17768 (rint_test_towardzero): Likewise.
17769 (rint_test_downward): Likewise.
17770 (rint_test_upward): Likewise.
17771 (round_test): Likewise.
17772 (scalb_test): Likewise.
17773 (scalbn_test): Likewise.
17774 (scalbln_test): Likewise.
17775 (signbit_test): Likewise.
17776 (sin_test): Likewise.
17777 (sin_test_tonearest): Likewise.
17778 (sin_test_towardzero): Likewise.
17779 (sin_test_downward): Likewise.
17780 (sin_test_upward): Likewise.
17781 (sincos_test): Likewise.
17782 (sinh_test): Likewise.
17783 (sinh_test_tonearest): Likewise.
17784 (sinh_test_towardzero): Likewise.
17785 (sinh_test_downward): Likewise.
17786 (sinh_test_upward): Likewise.
17787 (sqrt_test): Likewise.
17788 (sqrt_test_tonearest): Likewise.
17789 (sqrt_test_towardzero): Likewise.
17790 (sqrt_test_downward): Likewise.
17791 (sqrt_test_upward): Likewise.
17792 (tan_test): Likewise.
17793 (tan_test_tonearest): Likewise.
17794 (tan_test_towardzero): Likewise.
17795 (tan_test_downward): Likewise.
17796 (tan_test_upward): Likewise.
17797 (tanh_test): Likewise.
17798 (tgamma_test): Likewise.
17799 (trunc_test): Likewise.
17800 (y0_test): Likewise.
17801 (y1_test): Likewise.
17802 (yn_test): Likewise.
17803 (significand_test): Likewise.
17804
e6b6a857
JM
17805 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17806 individual tests in comment.
17807 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17808 (prev_max_error): New variable.
17809 (prev_real_max_error): Likewise.
17810 (prev_imag_max_error): Likewise.
17811 (compare_ulp_data): Don't refer to test names in comment.
17812 (find_test_ulps): Remove function.
17813 (find_function_ulps): Likewise.
17814 (find_complex_function_ulps): Likewise.
17815 (init_max_error): Take function name as argument. Look up ulps
17816 for that function.
17817 (print_ulps): Remove function.
17818 (print_max_error): Use prev_max_error instead of calling
17819 find_function_ulps.
17820 (print_complex_max_error): Use prev_real_max_error and
17821 prev_imag_max_error instead of calling find_complex_function_ulps.
17822 (check_float_internal): Take max_ulp parameter instead of calling
17823 find_test_ulps. Don't call print_ulps.
17824 (check_float): Update call to check_float_internal.
17825 (check_complex): Update calls to check_float_internal.
17826 (START): Pass argument to init_max_error.
17827 * math/gen-libm-test.pl (%results): Don't include "kind"
17828 information.
17829 (parse_ulps): Don't handle ulps of individual tests.
17830 (print_ulps_file): Likewise.
17831 (output_ulps): Likewise.
17832 * math/README.libm-test: Update.
17833 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17834 individual tests.
17835 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17836 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17837 * sysdeps/arm/libm-test-ulps: Likewise.
17838 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17839 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17840 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17841 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17842 * sysdeps/microblaze/libm-test-ulps: Likewise.
17843 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17844 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17845 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17846 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17847 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17848 * sysdeps/sh/libm-test-ulps: Likewise.
17849 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17850 * sysdeps/tile/libm-test-ulps: Likewise.
17851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17852
45adef3c
JM
178532014-03-04 Joseph Myers <joseph@codesourcery.com>
17854
17855 * math/libm-test.inc (print_complex_max_error): Check separately
17856 whether real and imaginary errors are within allowed range and
17857 pass 0 to print_complex_function_ulps instead of value within
17858 allowed range.
17859
000232b9
SP
178602014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17861
d4b17258
SP
17862 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17863 formatting.
17864 (get_handles_fopen): Likewise.
17865 (do_write_test): Likewise.
17866
091eff71
SP
17867 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17868
fa3cd248
SP
17869 * libio/fileops.c (do_ftell): Use cached offset when
17870 available.
17871 * libio/iofwide.c (do_ftell_wide): Likewise.
17872 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17873 _IO_file_attach.
17874 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17875
000232b9
SP
17876 [BZ #16532]
17877 * libio/libioP.h (get_file_offset): New function.
17878 * libio/fileops.c (get_file_offset): Likewise.
17879 (do_ftell): Likewise.
17880 (_IO_new_file_seekoff): Split out ftell logic.
17881 * libio/wfileops.c (do_ftell_wide): Likewise.
17882 (_IO_wfile_seekoff): Split out ftell logic.
17883 * libio/tst-ftell-active-handler.c: New test case.
17884 * libio/Makefile (tests): Add it.
17885
116f4d1a
RM
178862014-03-03 Roland McGrath <roland@hack.frob.com>
17887
17888 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17889 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17890
532a6035
SP
178912014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17892
17893 [BZ #16639]
17894 * nscd/connections.c (nscd_init): Call do_exit.
17895 (start_threads): Call do_exit and notify_parent.
17896 (begin_drop_privileges): Call do_exit.
17897 (finish_drop_privileges): Likewise.
17898 * nscd/selinux.c (preserve_capabilities): Likewise.
17899 (install_real_capabilities): Likewise.
17900 (nscd_selinux_enabled): Likewise.
17901 (avc_create_thread): Likewise.
17902 (avc_alloc_lock): Likewise.
17903 (nscd_avc_init): Likewise.
17904 * nscd/nscd.c (parent_fd): New static variable.
17905 (main): Create a pipe between parent and child processes.
17906 Skip closing parent_fd.
17907 (monitor_child): New function.
17908 (do_exit): Likewise.
17909 (notify_parent): Likewise.
17910 * nscd/nscd.h (notify_parent): Likewise.
17911 (do_exit): Likewise.
17912
d6285c9f
CD
179132014-03-03 Carlos O'Donell <carlos@redhat.com>
17914
17915 * malloc/malloc.c (__libc_calloc): Revert last change.
17916
2b85d2a0
AZ
179172014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17918
17919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17920
c7debbdf
RS
179212014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17922
17923 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17925 implementation.
17926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17927 (__libc_ifunc_impl_list): Likewise.
17928 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17929 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17930 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17931 * string/strrchr.c: Define STRRCHR.
17932
235eed86
OB
179332014-02-28 Ondřej Bílka <neleai@seznam.cz>
17934
17935 * benchtest/bench-strtok.c (simple_strtok): Delete.
17936 (strtok_string): Use as benchmark.
17937 * string/strtok (STRTOK): New macro.
17938
8e25d1e7
CD
179392014-02-28 Carlos O'Donell <carlos@redhat.com>
17940
ef563f92
CD
17941 * manual/threads.texi: Add header and standard comments to all
17942 functions.
17943
8e25d1e7
CD
17944 * elf/dl-lookup.c (check_match): New function.
17945 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17946 (do_lookup_x): Remove nested function check_match. Use non-nested
17947 function check_match.
17948
ff71cc37
RM
179492014-02-28 Roland McGrath <roland@hack.frob.com>
17950
f08e9a26
RM
17951 * csu/Makefile (generated, before-compile): Use += rather than =.
17952 * catgets/Makefile (generated, generated-dirs): Likewise.
17953 * debug/Makefile (generated): Likewise.
17954 * dlfcn/Makefile (generated): Likewise.
17955 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17956 * iconvdata/Makefile (before-compile, generated): Likewise.
17957 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17958 * libio/Makefile (generated): Likewise.
17959 * malloc/Makefile (generated): Likewise.
17960 * manual/Makefile (generated, generated-dirs): Likewise.
17961 * misc/Makefile (generated): Likewise.
17962 * posix/Makefile (generated): Likewise.
17963 * resolv/Makefile (generated): Likewise.
17964 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17965 * timezone/Makefile (generated, generated-dirs): Likewise.
17966
ff71cc37
RM
17967 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17968
fe13a20c
AZ
179692014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17970
57f41c40
AS
17971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17972 power8 implementation.
17973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17974 file: POWER8 llround ifunc implementation.
17975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17976 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17977 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17978 POWER8 llround implementation.
17979
57f41c40
AS
17980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17981 power8 implementation.
17982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17983 file: POWER8 llrint ifunc implementation.
17984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17985 Add POWER8 implementation.
1ad8950a
AZ
17986 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17987 POWER8 llrint implementation.
17988
57f41c40
AS
17989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17990 power8 implementation.
17991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17992 file: POWER8 finite ifunc implementation.
17993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17994 Add POWER8 implementation.
cac626d6
AZ
17995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17996 Likewise.
17997 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17998 POWER8 finite implementation.
17999 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18000
57f41c40
AS
18001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18002 power8 implementation.
18003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18004 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
18005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18006 POWER8 implementation.
18007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18008 Likewise.
57f41c40
AS
18009 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18010 isinf implementation.
4393fc11
AZ
18011 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18012
57f41c40
AS
18013 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18014 (INIT_ARCH): Add hwcap2 initialization.
18015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18016 power8 implementation.
18017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18018 file: POWER8 isnan ifunc implementation.
487972ae
AZ
18019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18020 POWER8 implementation.
18021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18022 Likewise.
57f41c40
AS
18023 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18024 isnan implementation.
487972ae
AZ
18025 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18026
7d92b787
JY
180272014-02-27 Joey Ye <joey.ye@arm.com>
18028
18029 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18030 (_FP_NANFRAC_Q): Set to zero.
18031
1cadc858
SP
180322014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18033
18034 [BZ #16623]
18035 * math/auto-libm-test-in: New test inputs.
18036 * math/auto-libm-test-out: Regenerate.
18037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18038 and DA.
18039 (__cos): Likewise.
18040 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18041
f8c17e79
JM
180422014-02-27 Joseph Myers <joseph@codesourcery.com>
18043
18044 * scripts/evaluate-test.sh: Take new argument indicating whether
18045 failure is expected.
18046 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18047 indicating whether failure is expected.
18048 * conform/Makefile (test-xfail-run-conformtest): New variable.
18049 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18050 level.
18051 * posix/Makefile (test-xfail-annexc): New variable.
18052 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18053
a5f891ac
JM
180542014-02-26 Joseph Myers <joseph@codesourcery.com>
18055
18056 * argp/Makefile: Include Makeconfig immediately after defining
18057 subdir.
18058 * assert/Makefile: Likewise.
18059 * benchtests/Makefile: Likewise.
18060 * catgets/Makefile: Likewise.
18061 * conform/Makefile: Likewise.
18062 * crypt/Makefile: Likewise.
18063 * csu/Makefile: Likewise.
18064 (all): Remove target.
18065 * ctype/Makefile: Include Makeconfig immediately after defining
18066 subdir.
18067 * debug/Makefile: Likewise.
18068 * dirent/Makefile: Likewise.
18069 * dlfcn/Makefile: Likewise.
18070 * gmon/Makefile: Likewise.
18071 * gnulib/Makefile: Likewise.
18072 * grp/Makefile: Likewise.
18073 * gshadow/Makefile: Likewise.
18074 * hesiod/Makefile: Likewise.
18075 * hurd/Makefile: Likewise.
18076 (all): Remove target.
18077 * iconvdata/Makefile: Include Makeconfig immediately after
18078 defining subdir.
18079 * inet/Makefile: Likewise.
18080 * intl/Makefile: Likewise.
18081 * io/Makefile: Likewise.
18082 * libio/Makefile: Likewise.
18083 (all): Remove target.
18084 * locale/Makefile: Include Makeconfig immediately after defining
18085 subdir.
18086 * login/Makefile: Likewise.
18087 * mach/Makefile: Likewise.
18088 (all): Remove target.
18089 * malloc/Makefile: Include Makeconfig immediately after defining
18090 subdir.
18091 (all): Remove target.
18092 * manual/Makefile: Include Makeconfig immediately after defining
18093 subdir.
18094 * math/Makefile: Likewise.
18095 * misc/Makefile: Likewise.
18096 * nis/Makefile: Likewise.
18097 * nss/Makefile: Likewise.
18098 * po/Makefile: Likewise.
18099 (all): Remove target.
18100 * posix/Makefile: Include Makeconfig immediately after defining
18101 subdir.
18102 * pwd/Makefile: Likewise.
18103 * resolv/Makefile: Likewise.
18104 * resource/Makefile: Likewise.
18105 * rt/Makefile: Likewise.
18106 * setjmp/Makefile: Likewise.
18107 * shadow/Makefile: Likewise.
18108 * signal/Makefile: Likewise.
18109 * socket/Makefile: Likewise.
18110 * soft-fp/Makefile: Likewise.
18111 * stdio-common/Makefile: Likewise.
18112 * stdlib/Makefile: Likewise.
18113 * streams/Makefile: Likewise.
18114 * string/Makefile: Likewise.
18115 * sunrpc/Makefile: Likewise.
18116 (all): Remove target.
18117 * sysvipc/Makefile: Include Makeconfig immediately after defining
18118 subdir.
18119 * termios/Makefile: Likewise.
18120 * time/Makefile: Likewise.
18121 * timezone/Makefile: Likewise.
18122 (all): Remove target.
18123 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18124 subdir.
18125 * wctype/Makefile: Likewise.
18126
5b456e9d
SE
181272014-02-26 Steve Ellcey <sellcey@mips.com>
18128
18129 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18130 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18131 (libc_feholdexcept_setround_mips): Ditto.
18132 (libc_feholdsetround): New.
18133 (libc_feholdsetroundf): New.
18134 (libc_feholdsetroundl): New.
18135 (libc_feupdateenv_test_mips): New.
18136 (libc_feupdateenv_test): New.
18137 (libc_feupdateenv_testf): New.
18138 (libc_feupdateenv_testl): New.
18139 (libc_feresetround): New.
18140 (libc_feresetroundf): New.
18141 (libc_feresetroundl): New.
18142 (libc_fetestexcept_mips): New.
18143 (libc_fetestexcept): New.
18144 (libc_fetestexceptf): New.
18145 (libc_fetestexceptl): New.
18146 (HAVE_RM_CTX): New.
18147 (libc_feholdexcept_setround_mips_ctx): New.
18148 (libc_feholdexcept_setround_ctx): New.
18149 (libc_feholdexcept_setroundf_ctx): New.
18150 (libc_feholdexcept_setroundl_ctx): New.
18151 (libc_fesetenv_mips_ctx): New.
18152 (libc_fesetenv_ctx): New.
18153 (libc_fesetenv_ctxf): New.
18154 (libc_fesetenv_ctxl): New.
18155 (libc_feupdateenv_mips_ctx): New.
18156 (libc_feupdateenv_ctx): New.
18157 (libc_feupdateenvf_ctx): New.
18158 (libc_feupdateenvl_ctx): New.
18159 (libc_feholdsetround_mips_ctx): New.
18160 (libc_feholdsetround_ctx): New.
18161 (libc_feholdsetroundf_ctx): New.
18162 (libc_feholdsetroundl_ctx): New.
18163 (libc_feresetround_mips_ctx): New.
18164 (libc_feresetround_ctx): New.
18165 (libc_feresetroundf_ctx): New.
18166 (libc_feresetroundl_ctx): New.
18167
085d0e35
CD
181682014-02-26 Carlos O'Donell <carlos@redhat.com>
18169
f067bf1f
CD
18170 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18171
085d0e35
CD
18172 * manual/ipc.texi: New file.
18173 * manual/Makefile (chapters): Add ipc.
18174 * manual/job.texi: Add "Inter-Process Communication" to next.
18175 * manual/process.texi: Add "Inter-Process Communication" to prev.
18176
86e58c08
AZ
181772014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18178
18179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18180
4248f0da
OB
181812014-02-26 Ondřej Bílka <neleai@seznam.cz>
18182
18183 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18184
cf822e3c
OB
18185 * manual/arith.texi: Fix spaces after sentences.
18186 * manual/charset.texi: Likewise.
18187 * manual/errno.texi: Likewise.
18188 * manual/install.texi: Likewise.
18189 * manual/llio.texi: Likewise.
18190 * manual/locale.texi: Likewise.
18191 * manual/maint.texi: Likewise.
18192 * manual/math.texi: Likewise.
18193 * manual/memory.texi: Likewise.
18194 * manual/message.texi: Likewise.
18195 * manual/probes.texi: Likewise.
18196 * manual/resource.texi: Likewise.
18197 * manual/signal.texi: Likewise.
18198 * manual/socket.texi: Likewise.
18199 * manual/stdio.texi: Likewise.
18200 * manual/string.texi: Likewise.
18201 * manual/time.texi: Likewise.
18202 * manual/users.texi: Likewise.
18203
ade40b10
CD
182042014-02-25 Carlos O'Donell <carlos@redhat.com>
18205
18206 [BZ #16632]
18207 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18208 _DEFAULT_SOURCE is defined.
18209
d0503676
CD
182102014-02-25 Ulrich Drepper <drepper@gmail.com>
18211 Carlos O'Donell <carlos@redhat.com>
18212
18213 [BZ #16613]
18214 * elf/dl-tls.c (_dl_count_modids): New function.
18215 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18216 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18217 audit library and increment generation counter.
18218 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18219 * elf/tst-audit9.c: New file.
18220 * elf/tst-auditmod9a.c: New file.
18221 * elf/tst-auditmod9b.c: New file.
18222 * elf/Makefile: Add rules to build and run tst-audit9.
18223
4cbf380c
FW
182242014-02-25 Florian Weimer <fweimer@redhat.com>
18225
18226 [BZ #15347]
18227 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18228
80a56cc3
WN
182292014-02-25 Will Newton <will.newton@linaro.org>
18230
18231 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18232 (__longjmp): Restore sp and lr before restoring callee
18233 saved registers. Add longjmp and longjmp_target
18234 SystemTap probe point.
18235 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18236 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18237 Define to zero to match jmpbuf layout.
18238 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18239 (__sigsetjmp): Save sp and lr before saving callee
18240 saved registers. Add setjmp SystemTap probe point.
18241
3ea0f74e
SL
182422014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18243
18244 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18245
b04acb26
AS
182462014-02-24 Andreas Schwab <schwab@suse.de>
18247
18248 [BZ #15804]
18249 * elf/pldd.c (wait_for_ptrace_stop): New function.
18250 (main): Call it after attaching.
18251
098ad55c
RM
182522014-02-22 Roland McGrath <roland@hack.frob.com>
18253
d4ec6ae1
RM
18254 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18255 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18256 Versions files is now verboten.
18257 * hurd/Versions (libc: GLIBC_2.0):
18258 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18259 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18260 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18261 * mach/Versions: Likewise.
18262
098ad55c
RM
18263 * csu/Versions: Remove unused %include.
18264 * resolv/Versions: Likewise.
18265
acd7f096
JM
182662014-02-21 Joseph Myers <joseph@codesourcery.com>
18267
f0881698
JM
18268 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18269 ($(objpfx)check-local-headers.out): Likewise.
18270 ($(objpfx)begin-end-check.out): Likewise.
18271 * Makerules (check-abi-%.out): Likewise.
18272 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18273 ($(objpfx)test2.cat): Likewise.
18274 ($(objpfx)de/libc.cat): Likewise.
18275 ($(objpfx)test-gencat.out): Likewise.
18276 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18277 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18278 ($(objpfx)noload-mem): Likewise.
18279 ($(objpfx)tst-pathopt.out): Likewise.
18280 ($(objpfx)tst-rtld-load-self.out): Likewise.
18281 ($(objpfx)tst-array1-cmp.out): Likewise.
18282 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18283 ($(objpfx)tst-array2-cmp.out): Likewise.
18284 ($(objpfx)tst-array3-cmp.out): Likewise.
18285 ($(objpfx)tst-array4-cmp.out): Likewise.
18286 ($(objpfx)tst-array5-cmp.out): Likewise.
18287 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18288 ($(objpfx)check-textrel.out): Likewise.
18289 ($(objpfx)check-execstack.out): Likewise.
18290 ($(objpfx)check-localplt.out): Likewise.
18291 ($(objpfx)order2-cmp.out): Likewise.
18292 ($(objpfx)tst-leaks1-mem): Likewise.
18293 ($(objpfx)tst-leaks1-static-mem): Likewise.
18294 ($(objpfx)tst-initorder-cmp.out): Likewise.
18295 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18296 ($(objpfx)tst-unused-dep.out): Likewise.
18297 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18298 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18299 * iconv/Makefile (test-iconvconfig): Likewise.
18300 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18301 ($(objpfx)iconv-test.out): Likewise.
18302 ($(objpfx)tst-tables.out): Likewise.
18303 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18304 ($(objpfx)tst-gettext.out): Likewise.
18305 ($(objpfx)tst-translit.out): Likewise.
18306 ($(objpfx)tst-gettext2.out): Likewise.
18307 ($(objpfx)tst-gettext4.out): Likewise.
18308 ($(objpfx)tst-gettext6.out): Likewise.
18309 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18310 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18311 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18312 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18313 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18314 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18315 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18316 ($(objpfx)wordexp-tst.out): Likewise.
18317 ($(objpfx)annexc.out): Likewise.
18318 ($(objpfx)tst-fnmatch-mem): Likewise.
18319 ($(objpfx)bug-regex2-mem): Likewise.
18320 ($(objpfx)bug-regex14-mem): Likewise.
18321 ($(objpfx)bug-regex21-mem): Likewise.
18322 ($(objpfx)bug-regex31-mem): Likewise.
18323 ($(objpfx)tst-vfork3-mem): Likewise.
18324 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18325 ($(objpfx)tst-pcre-mem): Likewise.
18326 ($(objpfx)tst-boost-mem): Likewise.
18327 ($(objpfx)tst-getconf.out): Likewise.
18328 ($(objpfx)bug-ga2-mem): Likewise.
18329 ($(objpfx)bug-glob2-mem): Likewise.
18330 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18331 ($(objpfx)mtrace-tst-leaks2): Likewise.
18332 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18333 ($(objpfx)tst-printf.out): Likewise.
18334 ($(objpfx)tst-setvbuf1.out): Likewise.
18335 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18336 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18337 ($(objpfx)tst-fmtmsg.out): Likewise.
18338 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18339 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18340
acd7f096
JM
18341 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18342 * bits/sigaction.h [__USE_MISC]: Likewise.
18343 * bits/waitstatus.h: Update #endif comments.
18344 * ctype/ctype.h: Likewise.
18345 * dirent/dirent.h: Likewise.
18346 [__USE_MISC]: Remove redundant conditionals.
18347 * grp/grp.h: Update #endif comments.
18348 [__USE_GNU]: Remove redundant conditionals.
18349 [__USE_MISC]: Likewise.
18350 * inet/netinet/in.h [__USE_GNU]: Likewise.
18351 * io/sys/stat.h [__USE_MISC]: Likewise.
18352 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18353 * libio/bits/stdio.h: Update #endif comments.
18354 [__USE_MISC]: Remove redundant conditionals.
18355 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18356 * libio/stdio.h: Update #endif comments.
18357 [__USE_MISC]: Remove redundant conditionals.
18358 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18359 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18360 * math/math.h: Update #else and #endif comments.
18361 [__USE_MISC]: Remove redundant conditionals.
18362 * misc/sys/uio.h: Update #endif comments.
18363 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18364 * posix/glob.h [__USE_MISC]: Likewise.
18365 * posix/sys/types.h: Update #endif comments.
18366 [__USE_MISC]: Remove redundant conditionals.
18367 * posix/sys/wait.h: Update #endif comments.
18368 [__USE_MISC]: Remove redundant conditionals.
18369 * posix/unistd.h: Update #endif comments.
18370 [__USE_MISC]: Remove redundant conditionals.
18371 * pwd/pwd.h [__USE_GNU]: Likewise.
18372 [__USE_MISC]: Likewise.
18373 * resolv/netdb.h [__USE_GNU]: Likewise.
18374 * signal/signal.h: Update #endif comments.
18375 [__USE_MISC]: Remove redundant conditionals.
18376 * stdlib/stdlib.h: Update #else and #endif comments.
18377 [__USE_MISC]: Remove redundant conditionals.
18378 [__USE_GNU]: Likewise.
18379 * string/bits/string2.h [__USE_MISC]: Likewise.
18380 * string/string.h: Update #endif comments.
18381 [__USE_MISC]: Remove redundant conditionals.
18382 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18383 Likewise.
18384 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18385 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18386 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18387 Likewise.
18388 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18389 Likewise.
18390 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18391 comments.
18392 [__USE_MISC]: Remove redundant conditionals.
18393 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18394 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18395 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18396 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18397 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18398 Likewise.
18399 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18400 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18401 Likewise.
18402 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18403 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18404 Likewise.
18405 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18406 Likewise.
18407 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18408 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18409 Likewise.
18410 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18411 Likewise.
18412 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18413 * sysdeps/x86/bits/string.h: Update #endif comments.
18414 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18415 conditionals.
18416 * time/sys/time.h: Update #endif comments.
18417 * time/time.h: Likewise.
18418 [__USE_MISC]: Remove redundant conditionals.
18419
a5d82e4e
YG
184202014-02-21 Yury Gribov <y.gribov@samsung.com>
18421
18422 [BZ #16600]
18423 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18424
9a80491d
AS
184252014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18426
18427 * Versions.def (librt): Add GLIBC_2.17.
18428
105fa381
AC
184292014-02-21 Adam Conrad <adconrad@0c3.net>
18430
18431 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18432 synonym for _SYS_AUXV_H to allow direct inclusion.
18433 * sysdeps/sparc/bits/hwcap.h: Likewise.
18434 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18435 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18436 * sysdeps/sparc/sysdep.h: Likewise.
18437
b8cd1c4e
SP
184382014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18439
18440 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18441
bd939d23
RS
184422014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18443
18444 * benchtests/bench-strrchr.c: Print length instead of position.
18445
5d7b57ca
JM
184462014-02-20 Joseph Myers <joseph@codesourcery.com>
18447
bc688c10
JM
18448 [BZ #16611]
18449 * sysdeps/unix/sysv/linux/kernel-features.h
18450 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18451 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18452 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18453 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18454 Likewise.
18455 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18456 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18457 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18458 (__ASSUME_SENDMMSG): Define instead of using previous
18459 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18460 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18461 (__ASSUME_SENDMMSG_SYSCALL): Define.
18462 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18463 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18464 Likewise.
18465 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18466 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18467 Likewise.
18468 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18469 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18470 Likewise.
18471 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18472 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18473 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18474 [__ASSUME_SENDMMSG]: Change conditionals to
18475 [__ASSUME_SENDMMSG_SOCKETCALL].
18476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18477 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18478 Define.
18479 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18480 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18481 Likewise.
18482 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18483 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18484 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18485 [!__ASSUME_SENDMMSG]: Change conditional to
18486 [!__ASSUME_SENDMMSG_SOCKETCALL].
18487 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18488 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18489 Define.
18490
0e31b18c
JM
18491 [BZ #16610]
18492 * sysdeps/unix/sysv/linux/kernel-features.h
18493 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18494 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18495 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18496 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18497 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18498 [__i386__ || __sparc__]
18499 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18500 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18501 (__ASSUME_RECVMMSG): Define instead of using previous
18502 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18503 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18504 (__ASSUME_RECVMMSG_SYSCALL): Define.
18505 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18506 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18507 Likewise.
18508 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18509 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18510 Likewise.
18511 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18512 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18513 Likewise.
18514 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18515 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18516 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18517 [__ASSUME_RECVMMSG]: Change condition to
18518 [__ASSUME_RECVMMSG_SOCKETCALL].
18519 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18520 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18521 Define.
18522 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18523 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18524 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18525 Likewise.
18526 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18527 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18528 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18529 [!__ASSUME_RECVMMSG]: Change condition to
18530 [!__ASSUME_RECVMMSG_SOCKETCALL].
18531 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18532 (__ASSUME_RECVMMSG_SYSCALL): Define.
18533
dd481ccf
JM
18534 [BZ #16609]
18535 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18536 __powerpc__ || __s390__ || __sh__ || __sparc__]
18537 (__ASSUME_SOCKETCALL): Define.
18538 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18539 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18540 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18541 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18542 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18543 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18544 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18545 (__ASSUME_ACCEPT4): Define instead of using previous
18546 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18547 __powerpc__ || __sparc__ || __s390__)] condition.
18548 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18549 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18550 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18551 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18552 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18553 [!__ASSUME_ACCEPT4]: Change condition to
18554 [!__ASSUME_ACCEPT4_SOCKETCALL].
18555 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18556 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18557 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18558 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18559 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18560 __ASSUME_ACCEPT4_SYSCALL.
18561 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18562 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18563 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18564 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18565 __ASSUME_ACCEPT4_SYSCALL.
18566 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18567 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18568 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18569 [__ASSUME_ACCEPT4]: Change condition to
18570 [__ASSUME_ACCEPT4_SOCKETCALL].
18571 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18572 (__ASSUME_SOCKETCALL): Define.
18573 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18575 (__ASSUME_SOCKETCALL): Define.
18576 (__ASSUME_ACCEPT4): Remove.
18577 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18578 Define.
18579 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18580 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18581 Likewise.
18582 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18583 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18584
5d7b57ca
JM
18585 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18586 macro.
18587 (HWCAP_ARM_LPAE): Likewise.
18588 (HWCAP_ARM_EVTSTRM): Likewise.
18589 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18590 Add vpfd32, lpae and evtstrm.
18591 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18592 Increase to 22.
18593
63689d61
JM
185942014-02-19 Joseph Myers <joseph@codesourcery.com>
18595
18596 * math/auto-libm-test-in: Add tests of clog10.
18597 * math/auto-libm-test-out: Regenerated.
18598 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18599 * sysdeps/i386/fpu/libm-test-ulps: Update.
18600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18601
ab09bf61
AS
186022014-02-18 Andreas Schwab <schwab@suse.de>
18603
18604 [BZ #16574]
18605 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18606 Store non-zero if the second buffer was newly allocated.
18607 (send_dg): Likewise.
18608 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18609 to send_vc and send_dg.
18610 (res_nsend): Pass NULL for ansp2_malloced.
18611 * resolv/res_query.c (__libc_res_nquery): Add parameter
18612 answerp2_malloced and pass it down to __libc_res_nsend.
18613 (res_nquery): Pass additional NULL to __libc_res_nquery.
18614 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18615 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18616 second answer buffer if answerp2_malloced was set.
18617 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18618 (__libc_res_nquerydomain): Add parameter
18619 answerp2_malloced and pass it down to __libc_res_nquery.
18620 (res_nquerydomain): Pass additional NULL to
18621 __libc_res_nquerydomain.
18622 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18623 additional NULL to __libc_res_nsend and __libc_res_nquery.
18624 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18625 additional NULL to __libc_res_nsearch.
18626 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18627 parameter of __libc_res_nsearch to check for separately allocated
18628 second buffer.
18629 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18630 __libc_res_nquery.
18631 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18632 additional NULL to __libc_res_nquery.
18633 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18634 __libc_res_nsearch.
18635 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18636 * include/resolv.h: Update prototypes of __libc_res_nquery,
18637 __libc_res_nsearch, __libc_res_nsend.
18638
a4fb7861
JM
186392014-02-18 Joseph Myers <joseph@codesourcery.com>
18640
c6af2d89
JM
18641 * math/auto-libm-test-in: Add tests of fma.
18642 * math/auto-libm-test-out: Regenerated.
18643 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18644 (fma_towardzero_test_data): Likewise.
18645 (fma_downward_test_data): Likewise.
18646 (fma_upward_test_data): Likewise.
18647 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18648 mpc_mode.
18649 (rounding_modes): Add values for new field.
18650 (func_calc_method): Add value mpfr_fff_f.
18651 (func_calc_desc): Add mpfr_fff_f union field.
18652 (test_function): Add field exact_args.
18653 (FUNC): Add macro argument EXACT_ARGS.
18654 (FUNC_mpfr_f_f): Update call to FUNC.
18655 (FUNC_mpfr_f_f): Likewise.
18656 (FUNC_mpfr_ff_f): Likewise.
18657 (FUNC_mpfr_if_f): Likewise.
18658 (FUNC_mpc_c_f): Likewise.
18659 (FUNC_mpc_c_c): Likewise.
18660 (test_functions): Add fma. Update calls to FUNC.
18661 (handle_input_arg): Add argument exact_args.
18662 (add_test): Update call to handle_input_arg.
18663 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18664 (output_for_one_input_case): Update call to calc_generic_results.
18665 Recalculate exact zero results in each rounding mode.
18666
a4fb7861
JM
18667 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18668 non-negative before setting low bit.
18669 * math/auto-libm-test-in: Mark one asin test possibly having
18670 spurious underflow.
18671 * math/auto-libm-test-out: Regenerated.
18672 * sysdeps/i386/fpu/libm-test-ulps: Update.
18673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18674
ef114eaf
DH
186752014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18676
2b7f4f2c
SP
18677 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18678 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18679 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18680 * README: Add missing listing for microblaze*-*-linux-gnu.
18681
8125aedc
AM
186822014-02-16 Ondřej Bílka <neleai@seznam.cz>
18683
18684 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18685 duplicate code
18686
c70a4b1d
MF
186872014-02-16 Mike Frysinger <vapier@gentoo.org>
18688
18689 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18690 * sysdeps/unix/sysv/linux/ia64: Move directory from
18691 ports/sysdeps/unix/sysv/linux/ia64.
18692 * README: Update listing for ia64-*-linux-gnu.
18693
591aeaf7
TD
186942014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18695 Joseph Myers <joseph@codesourcery.com>
18696
18697 * Makeconfig (test-name): New variable.
18698 (evaluate-test): Likewise.
18699 * Makerules (do-test-clean): Remove .test-result files.
18700 (common-mostlyclean): Likewise.
18701 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18702 * scripts/evaluate-test.sh: New file.
18703
6e89caf1
JM
187042014-02-14 Joseph Myers <joseph@codesourcery.com>
18705
7f98f180
JM
18706 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18707 separate $(objpfx)tst-fopenloc-cmp.out and
18708 $(objpfx)tst-fopenloc-mem.out targets.
18709 (tests): Update dependencies.
18710 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18711 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18712 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18713 (tst-rxspencer-no-utf8-ARGS): New variable.
18714 (tst-rxspencer-no-utf8-ENV): Likewise.
18715 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18716 instead of $(objpfx)tst-rxspencer-mem.
18717 ($(objpfx)tst-rxspencer-mem): Change target to
18718 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18719 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18720 * posix/tst-rxspencer-no-utf8.c: New file.
18721
6e89caf1
JM
18722 * elf/Makefile ($(objpfx)order.out): Remove rule.
18723 [$(run-built-tests) = yes] (tests): Depend on
18724 $(objpfx)order-cmp.out.
18725 ($(objpfx)order-cmp.out): New rule.
18726 [$(run-built-tests) = yes] (tests): Depend on
18727 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18728 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18729 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18730 $(objpfx)tst-array5-static-cmp.out.
18731 ($(objpfx)tst-array1.out): Remove rule.
18732 ($(objpfx)tst-array1-cmp.out): New rule.
18733 ($(objpfx)tst-array1-static.out): Remove rule.
18734 ($(objpfx)tst-array1-static-cmp.out): New rule.
18735 ($(objpfx)tst-array2.out): Remove rule.
18736 ($(objpfx)tst-array2-cmp.out): New rule.
18737 ($(objpfx)tst-array3.out): Remove rule.
18738 ($(objpfx)tst-array3-cmp.out): New rule.
18739 ($(objpfx)tst-array4.out): Remove rule.
18740 ($(objpfx)tst-array4-cmp.out): New rule.
18741 ($(objpfx)tst-array5.out): Remove rule.
18742 ($(objpfx)tst-array5-cmp.out): New rule.
18743 ($(objpfx)tst-array5-static.out): Remove rule.
18744 ($(objpfx)tst-array5-static-cmp.out): New rule.
18745 [$(run-built-tests) = yes] (tests): Depend on
18746 $(objpfx)order2-cmp.out.
18747 ($(objpfx)order2.out): Remove rule.
18748 ($(objpfx)order2-cmp.out): New rule.
18749 ($(objpfx)tst-initorder.out): Remove rule.
18750 [$(run-built-tests) = yes] (tests): Depend on
18751 $(objpfx)tst-initorder-cmp.out.
18752 ($(objpfx)tst-initorder-cmp.out): New rule.
18753 ($(objpfx)tst-initorder2.out): Remove rule.
18754 [$(run-built-tests) = yes] (tests): Depend on
18755 $(objpfx)tst-initorder2-cmp.out.
18756 ($(objpfx)tst-initorder2-cmp.out): New rule.
18757 [$(run-built-tests) = yes] (tests): Depend on
18758 $(objpfx)tst-unused-dep-cmp.out.
18759 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18760 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18761 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18762 on $(objpfx)tst-setvbuf1-cmp.out.
18763 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18764 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18765 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18766 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18767 ($(objpfx)tst-svc.out): Remove rule.
18768 ($(objpfx)tst-svc-cmp.out): New rule.
18769
ed9a38e2
JM
187702014-02-13 Joseph Myers <joseph@codesourcery.com>
18771
18772 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18773 * ctype/ctype.h [__USE_MISC]: Likewise.
18774 * dirent/dirent.h [__USE_MISC]: Likewise.
18775 * grp/grp.h [__USE_MISC]: Likewise.
18776 * io/fcntl.h [__USE_MISC]: Likewise.
18777 * io/sys/stat.h [__USE_MISC]: Likewise.
18778 * libio/stdio.h [__USE_MISC]: Likewise.
18779 * posix/unistd.h [__USE_MISC]: Likewise.
18780 * pwd/pwd.h [__USE_MISC]: Likewise.
18781 * stdlib.h [__USE_MISC]: Likewise.
18782 * string/bits/string2.h [__USE_MISC]: Likewise.
18783 * string/string.h [__USE_MISC]: Likewise.
18784 * time/time.h [__USE_MISC]: Likewise.
18785
d6680619
AS
187862014-02-13 Andreas Schwab <schwab@suse.de>
18787
18788 [BZ #16574]
18789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18790 second answer buffer if it was separately allocated.
18791
ace614b8
JM
187922014-02-12 Joseph Myers <joseph@codesourcery.com>
18793
743151ae
JM
18794 * sysdeps/mips/math-tests.h: Include <features.h>.
18795 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18796 (ROUNDING_TESTS_long_double): Do not define.
18797 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18798 (EXCEPTION_TESTS_long_double): Likewise.
18799 * sysdeps/mips/mips64/libm-test-ulps: Update.
18800
498afc54
JM
18801 * include/features.h (__USE_BSD): Remove macro definitions.
18802 (__USE_SVID): Likewise.
18803 (_BSD_SOURCE): Likewise.
18804 (_SVID_SOURCE): Likewise.
18805 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18806 from definition of _DEFAULT_SOURCE.
18807 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18808 [_DEFAULT_SOURCE].
18809 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18810 * bits/mman.h [__USE_BSD]: Likewise.
18811 * bits/termios.h [__USE_BSD]: Likewise.
18812 * bits/waitstatus.h [__USE_BSD]: Likewise.
18813 * ctype/ctype.h [__USE_SVID]: Likewise.
18814 * dirent/dirent.h [__USE_BSD]: Likewise.
18815 * grp/grp.h [__USE_SVID]: Likewise.
18816 [__USE_BSD]: Likewise.
18817 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18818 * io/fcntl.h [__USE_BSD]: Likewise.
18819 * io/ftw.h [__USE_BSD]: Likewise.
18820 * io/sys/stat.h [__USE_BSD]: Likewise.
18821 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18822 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18823 * libio/stdio.h [__USE_SVID]: Likewise.
18824 [__USE_BSD]: Likewise.
18825 * math/math.h [__USE_SVID]: Likewise.
18826 [__USE_BSD]: Likewise.
18827 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18828 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18829 * misc/search.h [__USE_SVID]: Likewise.
18830 * misc/sys/mman.h [__USE_BSD]: Likewise.
18831 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18832 * misc/sys/uio.h [__USE_BSD]: Likewise.
18833 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18834 * posix/glob.h [__USE_BSD]: Likewise.
18835 * posix/regex.h [__USE_BSD]: Likewise.
18836 * posix/sys/types.h [__USE_BSD]: Likewise.
18837 [__USE_SVID]: Likewise.
18838 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18839 * posix/sys/wait.h [__USE_BSD]: Likewise.
18840 [__USE_SVID]: Likewise.
18841 * posix/unistd.h [__USE_BSD]: Likewise.
18842 [__USE_SVID]: Likewise.
18843 * pwd/pwd.h [__USE_SVID]: Likewise.
18844 * resolv/netdb.h [__USE_BSD]: Likewise.
18845 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18846 * signal/signal.h [__USE_BSD]: Likewise.
18847 [__USE_SVID]: Likewise.
18848 * socket/sys/socket.h [__USE_BSD]: Likewise.
18849 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18850 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18851 [__USE_SVID]: Likewise.
18852 * string/bits/string2.h [__USE_BSD]: Likewise.
18853 [__USE_SVID]: Likewise.
18854 * string/bits/string3.h [__USE_BSD]: Likewise.
18855 * string/endian.h [__USE_BSD]: Likewise.
18856 * string/string.h [__USE_SVID]: Likewise.
18857 [__USE_BSD]: Likewise.
18858 * string/strings.h [__USE_BSD]: Likewise.
18859 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18860 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18861 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18862 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18863 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18864 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18865 Likewise.
18866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18867 Likewise.
18868 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18869 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18870 Likewise.
18871 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18872 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18873 Likewise.
18874 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18875 Likewise.
18876 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18877 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18878 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18879 Likewise.
18880 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18881 Likewise.
18882 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18883 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18884 * termios/termios.h [__USE_BSD]: Likewise.
18885 * time/sys/time.h [__USE_BSD]: Likewise.
18886 * time/time.h [__USE_BSD]: Likewise.
18887 [__USE_SVID]: Likewise.
18888
dd7b064c
JM
18889 * Makefile (subdir_targets): Remove subdir_lint.out.
18890
a2c4c199
JM
18891 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18892 (do-tst-printf): Likewise.
18893 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18894 $(objpfx)tst-printf.out.
18895
8756f740
JM
18896 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18897
1b6dd3f1
JM
18898 * Makerules (check-abi-%): Change target to
18899 $(objpfx)check-abi-%.out.
18900 (check-abi target): Update dependencies.
18901 (check-abi-pattern variable): Redirect output of diff to $@.
18902 (check-abi variable): Likewise.
18903 * elf/Makefile (check-abi): Update dependencies.
18904
ace614b8
JM
18905 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18906 unused.
18907 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18908 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18909 subnormal range.
18910 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18911 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18912 value has largest subnormal exponent.
18913 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18914 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18915 * sysdeps/aarch64/soft-fp/sfp-machine.h
18916 (_FP_TININESS_AFTER_ROUNDING): New macro.
18917 * sysdeps/alpha/soft-fp/sfp-machine.h
18918 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18919 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18920 Likewise.
18921 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18922 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18923 * sysdeps/mips/soft-fp/sfp-machine.h
18924 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18925 * sysdeps/powerpc/soft-fp/sfp-machine.h
18926 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18927 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18928 Likewise.
18929 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18933 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18934 Likewise.
18935
fbfdf9cb
DAS
189362014-02-12 Dylan Alex Simon <dylan@dylex.net>
18937
18938 [BZ #16545]
18939 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18940 model 1.
18941
68b7efaa
RH
189422014-02-12 Richard Henderson <rth@redhat.com>
18943
c70a4b1d 18944 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18945 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18946 * sysdeps/unix/sysv/linux/alpha: Move directory from
18947 ports/sysdeps/unix/sysv/linux/alpha.
18948 * README: Update listing for alpha-*-linux-gnu.
18949
cb4a2928
JM
189502014-02-11 Joseph Myers <joseph@codesourcery.com>
18951
c941736c
JM
18952 * include/features.h: Update comment documenting feature test
18953 macros.
18954 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18955 _DEFAULT_SOURCE.
18956 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18957 (_SVID_SOURCE): Likewise.
18958 (_DEFAULT_SOURCE): Update description of default features.
18959 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18960 with _GNU_SOURCE.
18961 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18962 (S_ISVTX): Likewise.
18963 * manual/math.texi (Mathematical Constants): Likewise.
18964 * manual/signal.texi (Interrupted Primitives): Likewise.
18965 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18966 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18967 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18968 Don't refer to _SVID_SOURCE in warning text.
18969
e8d8d7ec
JM
18970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18971
cb4a2928
JM
18972 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18973 already defined.
18974 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18975 * sysdeps/mips/dl-lookup.c: Remove.
18976 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18977
7e6424e3
AK
189782014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18979
18980 [BZ #16447]
18981 * math/auto-libm-test-in: Add testcase for expl.
18982 * math/auto-libm-test-out: Regenerate.
18983 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18984 calculation of unsafe.
18985 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18986
75eff3fe
MS
189872014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18988
18989 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18990 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18991 ports/sysdeps/unix/sysv/linux/aarch64.
18992 * README: Update listing for aarch64*-*-linux-gnu.
18993
d35f1e80
WN
189942014-02-11 Will Newton <will.newton@linaro.org>
18995
18996 * manual/probes.texi (Mathematical Function Probes): Use
18997 "triggered" instead of "hit".
18998
7b3436d4
WN
18999 * manual/probes.texi (Internal Probes): Add documentation
19000 of setjmp, longjmp and longjmp_target probes.
19001
b4f12ca3
WN
19002 * include/stap-probe.h: Add comment about probe argument
19003 format.
19004
c13a72b7
WN
19005 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19006 definition. (tr_where, tr_freehook, tr_mallochook,
19007 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19008
195b8165
DM
190092014-02-11 David S. Miller <davem@davemloft.net>
19010
19011 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19012 processing int_tests.
19013
2ad7600b
JM
190142014-02-10 Joseph Myers <joseph@codesourcery.com>
19015
19016 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19017 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19018 * sysdeps/unix/sysv/linux/mips: Move directory from
19019 ports/sysdeps/unix/sysv/linux/mips.
19020 * README: Update listing for mips-*-linux-gnu and
19021 mips64-*-linux-gnu.
19022
73588a72
AS
190232014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19024
19025 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19026 * sysdeps/unix/sysv/linux/m68k: Move directory from
19027 ports/sysdeps/unix/sysv/linux/m68k.
19028 * README: Update listing for m68k-*-linux-gnu.
19029
4372980f
CM
190302014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19031
19032 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19033 * sysdeps/unix/sysv/linux/generic: Move directory from
19034 ports/sysdeps/unix/sysv/linux/generic.
19035 * sysdeps/unix/sysv/linux/tile: Move directory from
19036 ports/sysdeps/unix/sysv/linux/tile.
19037 * README: Update listing for tile*-*-linux-gnu.
19038
a1ffb40e
OB
190392014-02-10 Ondřej Bílka <neleai@seznam.cz>
19040
57f41c40
AS
19041 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19042 __builtin_expect.
a1ffb40e
OB
19043 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19044 * catgets/open_catalog.c (__open_catalog): Likewise.
19045 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19046 * debug/confstr_chk.c: Likewise.
19047 * debug/fread_chk.c (__fread_chk): Likewise.
19048 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19049 * debug/getgroups_chk.c: Likewise.
19050 * debug/mbsnrtowcs_chk.c: Likewise.
19051 * debug/mbsrtowcs_chk.c: Likewise.
19052 * debug/mbstowcs_chk.c: Likewise.
19053 * debug/memcpy_chk.c: Likewise.
19054 * debug/memmove_chk.c: Likewise.
19055 * debug/mempcpy_chk.c: Likewise.
19056 * debug/memset_chk.c: Likewise.
19057 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19058 * debug/strcat_chk.c (__strcat_chk): Likewise.
19059 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19060 * debug/strncat_chk.c (__strncat_chk): Likewise.
19061 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19062 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19063 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19064 * debug/wcpncpy_chk.c: Likewise.
19065 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19066 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19067 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19068 * debug/wcsncpy_chk.c: Likewise.
19069 * debug/wcsnrtombs_chk.c: Likewise.
19070 * debug/wcsrtombs_chk.c: Likewise.
19071 * debug/wcstombs_chk.c: Likewise.
19072 * debug/wmemcpy_chk.c: Likewise.
19073 * debug/wmemmove_chk.c: Likewise.
19074 * debug/wmempcpy_chk.c: Likewise.
19075 * debug/wmemset_chk.c: Likewise.
19076 * dirent/scandirat.c (SCANDIRAT): Likewise.
19077 * dlfcn/dladdr1.c (dladdr1): Likewise.
19078 * dlfcn/dladdr.c (dladdr): Likewise.
19079 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19080 * dlfcn/dlerror.c (__dlerror): Likewise.
19081 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19082 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19083 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19084 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19085 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19086 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19087 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19088 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19089 Likewise.
19090 * elf/dl-conflict.c: Likewise.
19091 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19092 * elf/dl-dst.h: Likewise.
19093 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19094 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19095 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19096 * elf/dl-init.c (call_init, _dl_init): Likewise.
19097 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
19098 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19099 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19100 Likewise.
a1ffb40e
OB
19101 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19102 Likewise.
19103 * elf/dl-minimal.c (__libc_memalign): Likewise.
19104 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19105 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19106 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19107 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
19108 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19109 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
19110 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19111 * elf/dl-writev.h (_dl_writev): Likewise.
19112 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
19113 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19114 (dl_main): Likewise.
a1ffb40e
OB
19115 * elf/setup-vdso.h (setup_vdso): Likewise.
19116 * grp/compat-initgroups.c (compat_call): Likewise.
19117 * grp/fgetgrent.c (fgetgrent): Likewise.
19118 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19119 * grp/putgrent.c (putgrent): Likewise.
19120 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19121 Likewise.
19122 * hurd/hurdinit.c: Likewise.
19123 * iconvdata/8bit-gap.c (struct): Likewise.
19124 * iconvdata/ansi_x3.110.c : Likewise.
19125 * iconvdata/big5.c : Likewise.
19126 * iconvdata/big5hkscs.c : Likewise.
19127 * iconvdata/cp1255.c: Likewise.
19128 * iconvdata/cp1258.c : Likewise.
19129 * iconvdata/cp932.c : Likewise.
19130 * iconvdata/euc-cn.c: Likewise.
19131 * iconvdata/euc-jisx0213.c : Likewise.
19132 * iconvdata/euc-jp.c: Likewise.
19133 * iconvdata/euc-jp-ms.c : Likewise.
19134 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19135 * iconvdata/gb18030.c : Likewise.
19136 * iconvdata/gbbig5.c (const): Likewise.
19137 * iconvdata/gbgbk.c: Likewise.
19138 * iconvdata/gbk.c : Likewise.
19139 * iconvdata/ibm1364.c : Likewise.
19140 * iconvdata/ibm930.c : Likewise.
19141 * iconvdata/ibm932.c: Likewise.
19142 * iconvdata/ibm933.c : Likewise.
19143 * iconvdata/ibm935.c : Likewise.
19144 * iconvdata/ibm937.c : Likewise.
19145 * iconvdata/ibm939.c : Likewise.
19146 * iconvdata/ibm943.c: Likewise.
19147 * iconvdata/iso_11548-1.c: Likewise.
19148 * iconvdata/iso-2022-cn.c : Likewise.
19149 * iconvdata/iso-2022-cn-ext.c : Likewise.
19150 * iconvdata/iso-2022-jp-3.c: Likewise.
19151 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19152 * iconvdata/iso-2022-kr.c : Likewise.
19153 * iconvdata/iso646.c (gconv_end): Likewise.
19154 * iconvdata/iso_6937-2.c : Likewise.
19155 * iconvdata/iso_6937.c : Likewise.
19156 * iconvdata/iso8859-1.c: Likewise.
19157 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19158 * iconvdata/shift_jisx0213.c : Likewise.
19159 * iconvdata/sjis.c : Likewise.
19160 * iconvdata/t.61.c : Likewise.
19161 * iconvdata/tcvn5712-1.c : Likewise.
19162 * iconvdata/tscii.c: Likewise.
19163 * iconvdata/uhc.c : Likewise.
19164 * iconvdata/unicode.c (gconv_end): Likewise.
19165 * iconvdata/utf-16.c (gconv_end): Likewise.
19166 * iconvdata/utf-32.c (gconv_end): Likewise.
19167 * iconvdata/utf-7.c (base64): Likewise.
19168 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19169 * iconv/gconv_close.c (__gconv_close): Likewise.
19170 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
19171 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19172 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19173 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19174 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19175 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
19176 * iconv/iconv.c (iconv): Likewise.
19177 * iconv/iconv_close.c: Likewise.
19178 * iconv/loop.c (SINGLE): Likewise.
19179 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19180 * include/atomic.h: Likewise.
19181 * inet/inet6_option.c (option_alloc): Likewise.
19182 * intl/bindtextdom.c (set_binding_values): Likewise.
19183 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19184 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19185 * intl/localealias.c (read_alias_file): Likewise.
19186 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
19187 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19188 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
19189 * libio/fmemopen.c (fmemopen): Likewise.
19190 * libio/iofgets.c (_IO_fgets): Likewise.
19191 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19192 * libio/iofgetws.c (fgetws): Likewise.
19193 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19194 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
19195 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19196 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
19197 * locale/findlocale.c (_nl_find_locale): Likewise.
19198 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19199 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19200 Likewise.
19201 * locale/setlocale.c (setlocale): Likewise.
19202 * login/programs/pt_chown.c (main): Likewise.
19203 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19204 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
19205 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19206 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
19207 * math/e_exp2l.c: Likewise.
19208 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19209 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19210 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19211 * math/s_catan.c (__catan): Likewise.
19212 * math/s_catanf.c (__catanf): Likewise.
19213 * math/s_catanh.c (__catanh): Likewise.
19214 * math/s_catanhf.c (__catanhf): Likewise.
19215 * math/s_catanhl.c (__catanhl): Likewise.
19216 * math/s_catanl.c (__catanl): Likewise.
19217 * math/s_ccosh.c (__ccosh): Likewise.
19218 * math/s_ccoshf.c (__ccoshf): Likewise.
19219 * math/s_ccoshl.c (__ccoshl): Likewise.
19220 * math/s_cexp.c (__cexp): Likewise.
19221 * math/s_cexpf.c (__cexpf): Likewise.
19222 * math/s_cexpl.c (__cexpl): Likewise.
19223 * math/s_clog10.c (__clog10): Likewise.
19224 * math/s_clog10f.c (__clog10f): Likewise.
19225 * math/s_clog10l.c (__clog10l): Likewise.
19226 * math/s_clog.c (__clog): Likewise.
19227 * math/s_clogf.c (__clogf): Likewise.
19228 * math/s_clogl.c (__clogl): Likewise.
19229 * math/s_csin.c (__csin): Likewise.
19230 * math/s_csinf.c (__csinf): Likewise.
19231 * math/s_csinh.c (__csinh): Likewise.
19232 * math/s_csinhf.c (__csinhf): Likewise.
19233 * math/s_csinhl.c (__csinhl): Likewise.
19234 * math/s_csinl.c (__csinl): Likewise.
19235 * math/s_csqrt.c (__csqrt): Likewise.
19236 * math/s_csqrtf.c (__csqrtf): Likewise.
19237 * math/s_csqrtl.c (__csqrtl): Likewise.
19238 * math/s_ctan.c (__ctan): Likewise.
19239 * math/s_ctanf.c (__ctanf): Likewise.
19240 * math/s_ctanh.c (__ctanh): Likewise.
19241 * math/s_ctanhf.c (__ctanhf): Likewise.
19242 * math/s_ctanhl.c (__ctanhl): Likewise.
19243 * math/s_ctanl.c (__ctanl): Likewise.
19244 * math/w_pow.c: Likewise.
19245 * math/w_powf.c: Likewise.
19246 * math/w_powl.c: Likewise.
19247 * math/w_scalb.c (sysv_scalb): Likewise.
19248 * math/w_scalbf.c (sysv_scalbf): Likewise.
19249 * math/w_scalbl.c (sysv_scalbl): Likewise.
19250 * misc/error.c (error_tail): Likewise.
19251 * misc/pselect.c (__pselect): Likewise.
19252 * nis/nis_callback.c (__nis_create_callback): Likewise.
19253 * nis/nis_call.c (__nisfind_server): Likewise.
19254 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19255 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19256 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19257 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19258 * nis/nis_lookup.c (nis_lookup): Likewise.
19259 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19260 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19261 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19262 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19263 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19264 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19265 * nis/nss_compat/compat-initgroups.c (add_group)
19266 (internal_getgrent_r): Likewise.
19267 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19268 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19269 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19270 (internal_getspnam_r): Likewise.
19271 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19272 (_nss_nis_getaliasbyname_r): Likewise.
19273 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19274 (_nss_nis_getntohost_r): Likewise.
19275 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19276 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19277 (_nss_nis_getgrgid_r): Likewise.
19278 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19279 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19280 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19281 (_nss_nis_gethostbyname4_r): Likewise.
19282 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19283 (initgroups_netid): Likewise.
a1ffb40e 19284 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19285 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19286 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19287 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19288 (_nss_nis_getprotobynumber_r): Likewise.
19289 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19290 (_nss_nis_getsecretkey): Likewise.
19291 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19292 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19293 (_nss_nis_getpwuid_r): Likewise.
19294 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19295 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19296 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19297 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19298 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19299 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19300 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19301 Likewise.
57f41c40
AS
19302 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19303 (_nss_nisplus_getntohost_r): Likewise.
19304 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19305 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19306 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19307 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19308 Likewise.
57f41c40
AS
19309 * nis/nss_nisplus/nisplus-initgroups.c
19310 (_nss_nisplus_initgroups_dyn): Likewise.
19311 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19312 (_nss_nisplus_getnetbyaddr_r): Likewise.
19313 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19314 (_nss_nisplus_getprotobynumber_r): Likewise.
19315 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19316 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19317 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19318 Likewise.
57f41c40
AS
19319 * nis/nss_nisplus/nisplus-service.c
19320 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19321 (_nss_nisplus_getservbyport_r): Likewise.
19322 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19323 (_nss_nisplus_getspnam_r): Likewise.
19324 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19325 Likewise.
a1ffb40e
OB
19326 * nscd/aicache.c (addhstaiX): Likewise.
19327 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19328 * nscd/connections.c (register_traced_file, send_ro_fd)
19329 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19330 (main_loop_epoll): Likewise.
a1ffb40e
OB
19331 * nscd/grpcache.c (addgrbyX): Likewise.
19332 * nscd/hstcache.c (addhstbyX): Likewise.
19333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19334 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19335 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19336 (addinnetgrX): Likewise.
19337 * nscd/nscd-client.h (__nscd_acquire_maplock)
19338 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19339 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19340 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19342 Likewise.
19343 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19344 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19345 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19346 (__nscd_get_map_ref): Likewise.
a1ffb40e 19347 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19348 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19349 Likewise.
a1ffb40e
OB
19350 * nscd/pwdcache.c (addpwbyX): Likewise.
19351 * nscd/selinux.c (preserve_capabilities): Likewise.
19352 * nscd/servicescache.c (addservbyX): Likewise.
19353 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19354 * posix/fnmatch.c (fnmatch): Likewise.
19355 * posix/getopt.c (_getopt_internal_r): Likewise.
19356 * posix/glob.c (glob, glob_in_dir): Likewise.
19357 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19358 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19359 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19360 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19361 * resolv/res_init.c: Likewise.
19362 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19363 * resolv/res_query.c (__libc_res_nquery): Likewise.
19364 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19365 Likewise.
19366 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19367 * stdio-common/perror.c (perror): Likewise.
19368 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19369 * stdio-common/tmpnam.c (tmpnam): Likewise.
19370 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19371 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19372 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19373 Likewise.
a1ffb40e
OB
19374 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19375 * stdlib/putenv.c (putenv): Likewise.
19376 * stdlib/setenv.c (__add_to_environ): Likewise.
19377 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19378 * stdlib/strtol_l.c (INTERNAL): Likewise.
19379 * string/memmem.c (memmem): Likewise.
19380 * string/strerror.c (strerror): Likewise.
19381 * string/strnlen.c (__strnlen): Likewise.
19382 * string/test-memmem.c (simple_memmem): Likewise.
19383 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19384 * sunrpc/pm_getport.c (__get_socket): Likewise.
19385 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19386 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19387 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19388 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19389 Likewise.
19390 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19391 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19392 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19393 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19395 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19396 Likewise.
19397 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19398 Likewise.
a1ffb40e
OB
19399 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19400 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19402 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19403 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19405 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19406 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19407 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19408 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19409 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19410 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19411 Likewise.
19412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19413 Likewise.
19414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19415 Likewise.
19416 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19417 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19419 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19420 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19421 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19422 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19423 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19425 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19426 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19428 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19429 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19430 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19431 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19432 Likewise.
a1ffb40e
OB
19433 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19434 Likewise.
19435 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19436 Likewise.
19437 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19438 Likewise.
19439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19441 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19442 Likewise.
19443 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19444 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19445 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19446 * sysdeps/posix/sleep.c: Likewise.
19447 * sysdeps/posix/tempname.c: Likewise.
19448 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19449 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19450 Likewise.
57f41c40
AS
19451 * sysdeps/powerpc/powerpc32/dl-machine.h
19452 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19453 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19455 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19456 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19457 Likewise.
19458 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19460 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19462 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19463 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19464 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19465 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19466 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19467 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19469 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19470 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19472 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19473 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19474 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19475 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19476 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19477 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19478 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19479 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19481 Likewise.
19482 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19483 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19484 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19485 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19486 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19487 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19488 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19489 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19490 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19491 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19492 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19493 Likewise.
19494 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19495 (__posix_fallocate64_l64): Likewise.
19496 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19497 (posix_fallocate): Likewise.
57f41c40
AS
19498 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19499 Likewise.
a1ffb40e 19500 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19501 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19502 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19503 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19504 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19505 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19506 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19507 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19508 (__posix_fallocate64_l64): Likewise.
19509 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19510 Likewise.
19511 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19512 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19513 (__get_clockfreq): Likewise.
a1ffb40e
OB
19514 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19515 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19516 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19517 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19519 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19520 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19521 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19522 Likewise.
19523 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19524 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19525 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19526 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19527 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19528 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19529 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19530 Likewise.
19531 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19532 (posix_fallocate): Likewise.
19533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19534 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19535 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19536 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19537 (elf_machine_rela, elf_machine_rela_relative)
19538 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19539 * time/asctime.c (asctime_internal): Likewise.
19540 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19541 * time/tzset.c (__tzset_parse_tz): Likewise.
19542 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19543 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19544 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19545 * wcsmbs/wcsmbsload.h: Likewise.
19546
f3d338c9
OB
19547 [BZ #15894]
19548 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19549
57f41c40
AS
19550 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19551 (arena_get2): Remove THREAD_STATS conditionals.
19552 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19553 (__malloc_stats, int): Likewise.
bdfe308a 19554
d674667c
MF
195552014-02-08 Mike Frysinger <vapier@gentoo.org>
19556
19557 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19558 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19559
6349768c
MF
19560 * manual/setjmp.texi: Fix typos/grammar errors.
19561
0b7c7473
MF
19562 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19563 Only return early when n is <= 0. Delete unused return statement.
19564
ac8cc9e3
MF
19565 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19566 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19567 * debug/tst-longjmp_chk3.c: New file.
19568
c5bb8e23
MF
19569 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19570 (test_main): Replace code with set_fortify_handler call.
19571 * debug/test-strcpy_chk.c: Likewise.
19572 * debug/tst-chk1.c: Likewise.
19573 * debug/tst-longjmp_chk.c: Likewise.
19574 * test-skeleton.c: Include fcntl.h & paths.h
19575 (set_fortify_handler): Define.
19576
10444e42
MF
19577 * debug/tst-longjmp_chk.c: Add header comment and include
19578 ../test-skeleton.c.
19579 (do_test): Mark static.
19580 (TEST_FUNCTION): Define.
19581
1e805e8d
MF
19582 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19583 (IP_PMTUDISC_INTERFACE): Likewise.
19584 (IP_MULTICAST_IF): Likewise.
19585 (IP_MULTICAST_TTL): Likewise.
19586 (IP_MULTICAST_LOOP): Likewise.
19587 (IP_ADD_MEMBERSHIP): Likewise.
19588 (IP_DROP_MEMBERSHIP): Likewise.
19589 (IP_UNBLOCK_SOURCE): Likewise.
19590 (IP_BLOCK_SOURCE): Likewise.
19591 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19592 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19593 (IP_MSFILTER): Likewise.
19594 (MCAST_JOIN_GROUP): Likewise.
19595 (MCAST_BLOCK_SOURCE): Likewise.
19596 (MCAST_UNBLOCK_SOURCE): Likewise.
19597 (MCAST_LEAVE_GROUP): Likewise.
19598 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19599 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19600 (MCAST_MSFILTER): Likewise.
19601 (IP_MULTICAST_ALL): Likewise.
19602 (IP_UNICAST_IF): Likewise.
19603
73f79bb7
MF
19604 * timezone/Makefile: Delete $(have-ksh) check.
19605 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19606 * timezone/tzselect.ksh: Add +x mode bits.
19607
8da79b60
MF
19608 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19609 (ANON_INODE_FS_MAGIC): Likewise.
19610 (BDEVFS_MAGIC): Likewise.
19611 (BINFMTFS_MAGIC): Likewise.
19612 (BTRFS_TEST_MAGIC): Likewise.
19613 (CRAMFS_MAGIC_WEND): Likewise.
19614 (DEBUGFS_MAGIC): Likewise.
19615 (ECRYPTFS_SUPER_MAGIC): Likewise.
19616 (EXT3_SUPER_MAGIC): Likewise.
19617 (EXT4_SUPER_MAGIC): Likewise.
19618 (FUTEXFS_SUPER_MAGIC): Likewise.
19619 (HOSTFS_SUPER_MAGIC): Likewise.
19620 (HUGETLBFS_MAGIC): Likewise.
19621 (MINIX3_SUPER_MAGIC): Likewise.
19622 (MTD_INODE_FS_MAGIC): Likewise.
19623 (NILFS_SUPER_MAGIC): Likewise.
19624 (OPENPROM_SUPER_MAGIC): Likewise.
19625 (PIPEFS_MAGIC): Likewise.
19626 (PSTOREFS_MAGIC): Likewise.
19627 (QNX6_SUPER_MAGIC): Likewise.
19628 (RAMFS_MAGIC): Likewise.
19629 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19630 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19631 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19632 (SECURITYFS_MAGIC): Likewise.
19633 (SELINUX_MAGIC): Likewise.
19634 (SMACK_MAGIC): Likewise.
19635 (SOCKFS_MAGIC): Likewise.
19636 (SQUASHFS_MAGIC): Likewise.
19637 (STACK_END_MAGIC): Likewise.
19638 (TMPFS_MAGIC): Likewise.
19639 (USBDEVICE_SUPER_MAGIC): Likewise.
19640 (V9FS_MAGIC): Likewise.
19641 (XENFS_SUPER_MAGIC): Likewise.
19642 (CRAMFS_MAGIC): Fix typo in comment.
19643 (EXT2_SUPER_MAGIC): Update comment.
19644 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19645
464263cc
JM
196462014-02-08 Joseph Myers <joseph@codesourcery.com>
19647
c6bfe5c4
JM
19648 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19649 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19650 * sysdeps/unix/sysv/linux/arm: Move directory from
19651 ports/sysdeps/unix/sysv/linux/arm.
19652 * README: Update listing for arm-*-linux-gnueabi.
19653
464263cc
JM
19654 * README: Remove mention of am33.
19655
32749f6c
RM
196562014-02-07 Roland McGrath <roland@hack.frob.com>
19657
19658 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19659 than the comma operator, to avoid "rhs of comma has no effect"
19660 compiler warnings.
19661 (__sigfillset, __sigandset, __sigorset): Likewise.
19662 * include/signal.h (__sigemptyset): Likewise.
19663 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19664
d5b396c1
AM
196652014-02-07 Allan McRae <allan@archlinux.org>
19666
19667 * version.h (RELEASE): Set to "development".
19668 (VERSION): Set to "2.19.90"
19669 * NEWS: Add 2.20 section.
19670
3bfff2ed
CD
196712014-02-06 Carlos O'Donell <carlos@redhat.com>
19672
19673 [BZ #16529]
19674 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19675
ee7cc385
SP
196762014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19677
19678 * manual/contrib.texi: Update entry for Carlos O'Donell,
19679 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19680
f877c4f2
CD
196812014-02-05 Carlos O'Donell <carlos@rehdat.com>
19682
27e839f6
CD
19683 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19684
f877c4f2
CD
19685 * sysdeps/unix/sysv/linux/kernel-features.h
19686 [__LINUX_KERNEL_VERSION >= 0x020621]
19687 (__ASSUME_PROC_PID_TASK_COMM): Define.
19688
68159946
SP
196892014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19690
ba17cdbd
SP
19691 [BZ #16398]
19692 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19693 conversion when destination buffer does not have enough space.
19694 * libio/tst-ftell-partial-wide.c: New test case.
19695 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19696
68159946
SP
19697 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19698 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19699 Leonard and Allan McRae.
19700
2b528732
DM
197012014-02-04 David S. Miller <davem@davemloft.net>
19702
19703 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19704 32-bit.
19705
0ff82463
AZ
197062014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19707
57f41c40
AS
19708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19709 New file
c01603f7
AZ
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19711 New file
57f41c40
AS
19712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19713 New file.
19714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19715 New file.
c01603f7
AZ
19716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19717 New file.
57f41c40
AS
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19719 New file.
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19721 New file.
c01603f7
AZ
19722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19723 New file.
19724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19725 New file.
19726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19727 New file.
19728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19729 New file.
19730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19731 New file.
19732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19733 New file.
19734
197352014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19736
0ff82463
AZ
19737 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19738 * shlib-versions: Likewise.
19739
1695c773
AZ
197402014-02-04 Roland McGrath <roland@hack.frob.com>
19741 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19742
19743 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19744 (abilist-pattern): New variable, set to %-le.abilist.
19745
19746 * Makerules (abilist-pattern): New variable.
19747 (vpath): Use $(abilist-pattern) in place of %.abilist.
19748 (check-abi-% pattern rule): Likewise.
19749 (check-abi, update-abi): Likewise.
19750
6c0ce4b4
EW
197512014-02-04 Eric Wong <normalperson@yhbt.net>
19752
19753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19754
481e3524
CD
197552014-02-03 Carlos O'Donell <carlos@redhat.com>
19756
19757 * manual/startup.texi: Add next, previous, and top entries for
19758 the `Program Arguments' and `Environment Variables' nodes.
19759
375592d3
AO
197602014-02-03 Alexandre Oliva <aoliva@redhat.com>
19761
19762 * manual/macros.texi: Add comments before MTASC-safety macros.
19763
f54838ba
AO
19764 * manual/users.texi: Document MTASC-safety properties.
19765
57f41c40
AS
19766 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19767 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19768 @deftypefun, and add @safety note.
19769 * manual/signal.texi: Move comments that analyze the above
19770 functions to their home place.
19771
fd3daba4
AM
197722014-02-03 Allan McRae <allan@archlinux.org>
19773
19774 * po/sl.po: Update Slovenian translation from translation project.
19775
597636d7
AO
197762014-02-02 Alexandre Oliva <aoliva@redhat.com>
19777
19778 * manual/time.texi (timegm): Add missing blank after @c.
19779 Reported by Joseph Myers <joseph@codesourcery.com>.
19780
ee196e3c
AO
197812014-02-01 Alexandre Oliva <aoliva@redhat.com>
19782
19783 * manual/check-safety.sh: New.
19784 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19785
f8d529d5
AO
19786 * manual/terminal.texi: Document MTASC-safety properties.
19787
de55fdf4
AO
19788 * manual/filesys.texi: Document MTASC-safety properties.
19789
c3299c08
AO
19790 * manual/errno.texi: Document MTASC-safety properties.
19791
06e90b14
AO
19792 * manual/intro.texi: Document safety identifiers and
19793 conditionals.
19794
1acd4371
AO
19795 * manual/string.texi (wcstok): Fix prototype.
19796 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19797
23e5b8cb
AO
19798 * manual/time.texi: Document MTASC-safety properties.
19799
11087373
AO
19800 * manual/string.texi: Document MTASC-safety properties.
19801
5da2c93d
AO
19802 * manual/threads.texi: Document MTASC-safety properties.
19803
171e9210
AO
19804 * manual/stdio.texi: Document MTASC-safety properties.
19805
d9e02532
AO
19806 * manual/syslog.texi: Document MTASC-safety properties.
19807
6af8bab7
AO
19808 * manual/sysinfo.texi: Document MTASC-safety properties.
19809
663b02d7
AO
19810 * manual/startup.texi: Document MTASC-safety properties.
19811
973f180b
AO
19812 * manual/socket.texi: Document MTASC-safety properties.
19813
8f3c25c8
AO
19814 * manual/signal.texi: Document MTASC-safety properties.
19815
542210fb
AO
198162014-01-31 Alexandre Oliva <aoliva@redhat.com>
19817
19818 * manual/setjmp.texi: Document MTASC-safety properties.
19819
433c45a2
AO
19820 * manual/search.texi: Document MTASC-safety properties.
19821
c8ce789c
AO
19822 * manual/resource.texi: Document MTASC-safety properties.
19823
19f5d29c
AO
19824 * manual/process.texi: Document MTASC-safety properties.
19825
e2dfb7f4
AO
19826 * manual/platform.texi: Document MTASC-safety properties.
19827
8c1413f5
AO
19828 * manual/pipe.texi: Document MTASC-safety properties.
19829
03483ada
AO
19830 * manual/pattern.texi: Document MTASC-safety properties.
19831
29e7e2df
AO
19832 * manual/message.texi: Document MTASC-safety properties.
19833
9f529d7c
AO
19834 [BZ #12751]
19835 * manual/memory.texi: Document MTASC-safety properties.
19836
27aaa791
AO
19837 * manual/math.texi: Document MTASC-safety properties.
19838
f2d58726
AO
19839 * manual/locale.texi: Document MTASC-safety properties.
19840
2cc3615c
AO
19841 * manual/llio.texi: Document MTASC-safety properties.
19842
d9f0ec97
AO
19843 * manual/libdl.texi: New.
19844
e7c4409a
AO
19845 * manual/lang.texi: Document MTASC-safety properties.
19846
27bdc63c
AO
19847 * manual/job.texi: Document MTASC-safety properties.
19848
a7b90ea9
AO
19849 * manual/getopt.texi: Document MTASC-safety properties.
19850
c49130e3
AO
19851 * manual/ctype.texi: Document MTASC-safety properties.
19852
0d23a5c1
MR
198532014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19854
19855 [BZ #16046]
19856 * csu/libc-tls.c (static_map): Remove variable.
19857 (__libc_setup_tls): Use main executable's link map for TLS data.
19858 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19859 casing for LM_ID_BASE and GL(dl_nns).
19860 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19861 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19862 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19863 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19864 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19865 member.
19866 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19867 l_phnum members.
19868
0037bb60
AO
198692014-01-30 Alexandre Oliva <aoliva@redhat.com>
19870
19871 * manual/debug.texi: Document MTASC-safety properties.
19872
409e00bd
L
198732014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19874
19875 [BZ #16510]
19876 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19877 of __x86_64__ when disabling x87 inline functions.
19878
86e60666
AO
198792014-01-29 Alexandre Oliva <aoliva@redhat.com>
19880
19881 * manual/charset.texi: Document MTASC-safety properties.
19882
76167637
AO
19883 * manual/crypt.texi: Document MTASC-safety properties.
19884
e567f2a0
AO
19885 * manual/conf.texi: Document MTASC-safety properties.
19886
b719dafd
AO
19887 * manual/arith.texi: Document MTASC-safety properties.
19888
4a16c662
AO
19889 * manual/argp.texi: Document MTASC-safety properties.
19890
0a57b83e
AO
19891 * manual/macros.texi: Introduce macros to document multi
19892 thread, asynchronous signal and asynchronous cancellation
19893 safety properties.
19894 * manual/intro.texi: Introduce the properties themselves.
19895
feab2397
KK
198962014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19897
19898 * sysdeps/sh/sh4/Makefile: New file.
19899
1c0d11bc
AS
199002014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19901
19902 * math/gen-libm-test.pl ($srcdir): New variable.
19903 ($auto_input): Use it.
19904
af37a8a3
SP
199052014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19906
d7b00f98
SP
19907 [BZ #16506]
19908 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19909 access beyond array bounds when parsing netgroups file.
19910
af37a8a3
SP
19911 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19912 the old buffer before realloc.
19913
0c00f062
AM
199142014-01-27 Allan McRae <allan@archlinux.org>
19915
19916 * po/fr.po: Update French translation from translation project.
19917
7d69a1b0
KK
199182014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19919
19920 * sysdeps/sh/libm-test-ulps: Regenerate.
19921
6e697ff7
DM
199222014-01-24 David S. Miller <davem@davemloft.net>
19923
19924 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19925
9cadb35c
KK
199262014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19927
19928 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19929 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19930
5d41dadf
SP
199312013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19932
19933 [BZ #16474]
19934 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19935 string pointers after reallocation.
19936
0bad441c
KK
199372014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19938
19939 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19940 __SH4A__ instead of __SH_FPU_ANY__.
19941
7007c661
KK
199422014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19943
19944 * sysdeps/sh/fpu_control.h: New file.
19945 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19946 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19947 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19948 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19949 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19950 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19951 * sysdeps/sh/sys/ucontext.h: Remove.
19952 * sysdeps/sh/sys: Remove directory.
19953
0f0c35e4
AK
199542014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19955
19956 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19957 s390/sys/ucontext.h.
19958 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19959 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19960
4959e284
L
199612014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19962
19963 [BZ #15605]
19964 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19965
d98720e0
AZ
199662014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19967
19968 [BZ#16431]
19969 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19970 Adjust the vDSO correctly for internal calls.
19971 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19972
91cbd0bc
AM
199732014-01-20 Allan McRae <allan@archlinux.org>
19974
19975 * po/ca.po: Update Catalan translation from translation project.
19976
7a02cfad
MF
199772014-01-16 Mike Frysinger <vapier@gentoo.org>
19978
19979 * sysdeps/s390/sotruss-lib.c: New file.
19980
736c304a
AZ
199812014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19982
19983 [BZ#16430]
6e077ee5 19984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19985 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19986 local calls issues by not having a PLT stub required for IFUNC calls.
19987 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19988
94d0cea0
JM
199892014-01-16 Joseph Myers <joseph@codesourcery.com>
19990
19991 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19992 * math/test-fpucw-static.c: Likewise.
19993
980cb518
SP
199942013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19995
19996 [BZ #16453]
19997 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19998
2393fc01
AZ
199992014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20000
20001 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20002 implementation for powerpc.
20003
d359bcc2
OB
200042014-01-15 Ondřej Bílka <neleai@seznam.cz>
20005
20006 [BZ #14782]
20007 * sysdeps/posix/system.c (__libc_system): Do not enable
20008 asynchronous cancellation.
20009
7beb48cb
AK
200102014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20011
20012 [BZ #16427]
20013 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20014 handling only for numbers special also in the IEEE case.
20015
c20d5bf5
AK
200162014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20017
20018 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20019
e83bd4ee
AM
200202014-01-11 Allan McRae <allan@archlinux.org>
20021
76d0ea69
AM
20022 * po/bg.po: Update Bulgarian translation from translation project.
20023
e83bd4ee
AM
20024 * po/de.po: Update German translation from translation project.
20025
bc2ba20a
RM
200262014-01-10 Roland McGrath <roland@hack.frob.com>
20027
20028 * sysdeps/generic/gcc-compat.h: New file.
20029
649ecea2
SP
200302014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20031
20032 * benchtests/asin-inputs: Correct slow inputs.
20033 * benchtests/acos-inputs: Likewise.
20034
1b19c006
AM
200352014-01-10 Allan McRae <allan@archlinux.org>
20036
a46dab08
AM
20037 * po:sv.po: Update Swedish translation from translation project.
20038
421df74a
AM
20039 * po/vi.po: Update Vietnamese translation from translation project.
20040
d61c51a7
AM
20041 * po/eo.po: Update Esperanto translation from translation project.
20042
0339a319
AM
20043 * po/cs.po: Update Czech translation from translation project.
20044
94ad3e99
AM
20045 * po/nl.po: Update Dutch translation from translation project.
20046
e349ca71
AM
20047 * po/pl.po: Update Polish translation from translation project.
20048
ddf930c1
AM
20049 * po/ru.po: Update Russian translation from translation project.
20050
1b19c006
AM
20051 * po/uk.po: Update Ukrainian translation from translation project.
20052
9f236c49
BM
200532014-01-08 Brooks Moses <bmoses@google.com>
20054
20055 * elf/dl-load.c: Fix comment typo.
20056
cd6701cf
CD
200572014-01-08 Carlos O'Donell <carlos@redhat.com>
20058
20059 * po/header.pot: Rename to...
20060 * po/pot.header: ... this.
20061 * po/Makefile: Use pot.header.
20062
66671c84
YK
200632014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20064 Maxim Kuvyrkov <maxim@kugelworks.com>
20065
20066 [BZ #16394]
cd6701cf
CD
20067 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20068 SRC and DEST against LEN.
66671c84 20069
38f34581
AZ
200702014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20071
20072 [BZ #16414]
20073 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20074 implementation.
20075 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20076
200772014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
20078
20079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20080
4c327f2a
JM
200812014-01-08 Joseph Myers <joseph@codesourcery.com>
20082
20083 [BZ #16408]
20084 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20085 for large positive arguments.
20086
b821f414
JM
200872014-01-07 Joseph Myers <joseph@codesourcery.com>
20088
1f0f2067
JM
20089 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20090
a5a326f6
JM
20091 * math/auto-libm-test-in: Mark various tests with
20092 xfail-rounding:ldbl-128ibm.
20093 * math/auto-libm-test-out: Regenerated.
20094
b821f414
JM
20095 [BZ #16407]
20096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20097 Increase overflow threshold.
20098
94c8a4bc
OB
200992014-01-07 Ondřej Bílka <neleai@seznam.cz>
20100
20101 [BZ #14286]
20102 * stdio-common/vfprintf.c: Check for integer overflow.
20103
87ded0c3
AK
201042014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20105
20106 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20107 the first argument and return value of __tls_get_addr_internal.
20108
c5eebdd0
AK
201092014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20110
20111 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20112 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20113
05d138ef
AK
201142014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20115
20116 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20117 * sysdeps/s390/rtld-global-offsets.sym: New file.
20118 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20119 GLIBC_2.19 symbol.
20120 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20121 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20122 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20123 ... this.
20124 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20125 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20126 ... this.
20127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20128 Regenerate.
20129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20130 Regenerate.
20131 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20132 halfs of GPRs for high_gprs contexts.
20133 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20134 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20135 field.
20136 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20137 uc_flags field.
20138 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20139 64 bit versions:
20140 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20141 for high GPRs (uc_high_gprs) and for future extensions
20142 (__reserved).
20143 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20144 for future extensions (__reserved).
20145 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20146 64 bit versions:
20147 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20148 SC_HIGHGPRS offset definition.
20149 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20150 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20151
93a45ff1
AK
20152 * Versions.def: Add GLIBC_2.19 for libpthread.
20153 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20154 siglongjmp for libpthread with GLIBC_2.19 symver.
20155 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20156 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20157 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20158 * sysdeps/s390/__longjmp.c: New file.
20159 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20160 * sysdeps/s390/longjmp.c: New file.
20161 * sysdeps/s390/setjmp.S: New file.
20162 * sysdeps/s390/sigjmp.S: New file.
20163 * sysdeps/s390/v1-longjmp.c: New file.
20164 * sysdeps/s390/v1-setjmp.h: New file.
20165 * sysdeps/s390/v1-sigjmp.c: New file.
20166 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20167 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20168 GLIBC_2.19 version.
20169 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20170 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20171 versioned symbols for ____longjmp_chk.
20172 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20173 Likewise.
20174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20175 Regenerate.
20176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20177 Regenerate.
20178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20179 Regenerate.
20180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20181 Regenerate.
20182 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20183 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20184 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20185 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20186 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20187 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20188 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20189 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20190 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20191 * sysdeps/s390/rtld-__longjmp.c: New file.
20192 * sysdeps/s390/rtld-setjmp.S: New file.
20193
eb3fc44b
JM
201942014-01-06 Joseph Myers <joseph@codesourcery.com>
20195
20196 [BZ #16400]
20197 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20198 Return -__logl (x) for small positive arguments without evaluating
20199 a polynomial.
20200
9341dde4
MF
202012014-01-06 Mike Frysinger <vapier@gentoo.org>
20202
20203 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20204 Rename to ...
20205 (__ptrace_peeksiginfo_args): ... this.
20206 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20209
4cff0293
AM
202102014-01-06 Allan McRae <allan@archlinux.org>
20211
20212 * inet/netinet/in.h: Fix typo in comment.
20213
75595dcf
AJ
202142014-01-05 Andreas Jaeger <aj@suse.de>
20215
20216 * sysdeps/i386/fpu/libm-test-ulps: Update.
20217
79c1e109
AM
202182014-01-05 Allan McRae <allan@archlinux.org>
20219
dd804818
AM
20220 * po/libc.pot: Regenerated.
20221
79c1e109
AM
20222 * malloc/memusagestat.c: Fix gettext call formatting.
20223
0c813d1f
SK
202242014-01-04 Sami Kerola <kerolasa@iki.fi>
20225
20226 * nscd/nscd.c: Improve usage() output.
20227
20f4a8d9
MF
202282014-01-04 Mike Frysinger <vapier@gentoo.org>
20229
20230 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20231 * sysdeps/unix/sysv/linux/configure: Regenerated.
20232 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20233 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20234
22562bb2
JM
202352014-01-03 Joseph Myers <joseph@codesourcery.com>
20236
20237 [BZ #16390]
20238 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20239 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20240
d7ad2d9b
AZ
202412014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20242
20243 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20244 extra tokens at end of #undef directive.
20245 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20246 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20247 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20248
7dd009d8
JM
202492014-01-03 Joseph Myers <joseph@codesourcery.com>
20250
24db925a
JM
20251 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20252
7dd009d8
JM
20253 * math/auto-libm-test-in: Mark various tests with
20254 xfail-rounding:ldbl-128ibm.
20255 * math/auto-libm-test-out: Regenerated.
20256
396e3ecf
JM
202572014-01-02 Joseph Myers <joseph@codesourcery.com>
20258
819e5d50
JM
20259 [BZ #16386]
20260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20261 numbers with subnormal high part when calculating exponent.
20262
90b6a1e5
JM
20263 [BZ #16385]
20264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20265 fabs.
20266
396e3ecf
JM
20267 [BZ #16384]
20268 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20269 M_LN2l.
20270 (__ieee754_acoshl): Use __log1pl not __log1p.
20271
6c8dbf00
OB
202722013-01-02 Ondřej Bílka <neleai@seznam.cz>
20273
57f41c40
AS
20274 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20275 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20276 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20277 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20278 (reused_arena, arena_get2): Convert to GNU style.
20279 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20280 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20281 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20282 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20283 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20284 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20285 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20286 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20287 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20288 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20289 * malloc/malloc.h: Likewise.
57f41c40
AS
20290 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20291 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20292 * malloc/mcheck.h: Likewise.
57f41c40
AS
20293 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20294 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20295 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20296 * malloc/morecore.c (__default_morecore): Likewise.
20297 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20298 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20299 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20300 (print_and_abort): Likewise.
6c8dbf00
OB
20301 * malloc/obstack.h: Likewise.
20302 * malloc/set-freeres.c (__libc_freeres): Likewise.
20303 * malloc/tst-mallocstate.c (main): Likewise.
20304 * malloc/tst-mtrace.c (main): Likewise.
20305 * malloc/tst-realloc.c (do_test): Likewise.
20306
d4124212
SP
203072013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20308
9a3c6a6f
SP
20309 [BZ #16366]
20310 * nscd/netgroupcache.c (do_notfound): New function.
20311 (addgetnetgrentX): Use it.
20312
d4124212
SP
20313 [BZ # 16365]
20314 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20315 NSS_STATUS_NOTFOUND.
20316
97b9a009
JM
203172014-01-01 Joseph Myers <joseph@codesourcery.com>
20318
20319 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20321
d4697bc9
AM
203222014-01-01 Allan McRae <allan@archlinux.org>
20323
ddb3687f
AM
20324 * scripts/update-copyrights: Update configure input file suffix.
20325
88726d48
AM
20326 * NEWS: Update copyright year.
20327 * catgets/gencat.c: Likewise.
20328 * csu/version.c: Likewise.
20329 * debug/catchsegv.sh: Likewise.
20330 * debug/pcprofiledump.c: Likewise.
20331 * debug/xtrace.sh: Likewise.
20332 * elf/ldconfig.c: Likewise.
20333 * elf/ldd.bash.in: Likewise.
20334 * elf/pldd.c: Likewise.
20335 * elf/sotruss.ksh: Likewise.
20336 * elf/sprof.c: Likewise.
20337 * iconv/iconv_prog.c: Likewise.
20338 * iconv/iconvconfig.c: Likewise.
20339 * locale/programs/locale.c: Likewise.
20340 * locale/programs/localedef.c: Likewise.
20341 * login/programs/pt_chown.c: Likewise.
20342 * malloc/memusage.sh: Likewise.
20343 * malloc/memusagestat.c: Likewise.
20344 * malloc/mtrace.pl: Likewise.
20345 * manual/libc.texinfo: Likewise.
20346 * nscd/nscd.c: Likewise.
20347 * nss/getent.c: Likewise.
20348 * nss/makedb.c: Likewise.
20349 * posix/getconf.c: Likewise.
20350 * scripts/test-installation.pl: Likewise.
20351
d4697bc9
AM
20352 * All files with FSF copyright notices: Update copyright dates
20353 using scripts/update-copyrights.
20354 * intl/plural.c: Regenerated.
20355 * locale/programs/charmap-kw.h: Likewise.
20356 * locale/programs/locfile-kw.h: Likewise.
20357
c8590f9d
MF
203582013-12-31 Mike Frysinger <vapier@gentoo.org>
20359
20360 * sysdeps/unix/sysv/linux/configure: Regenerated.
20361 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20362 the linux/fanotify.h header.
20363 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20364 HAVE_LINUX_FANOTIFY_H is defined.
20365
b19221b9
SP
203662013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20367
dd1d85e5
SP
20368 * benchtests/cos-inputs: New inputs.
20369 * benchtests/sin-inputs: Likewise.
20370
1acbb90f
SP
20371 * benchtests/atan-inputs: New inputs. Fix name of multiple
20372 precision fallback inputs.
20373
4c012ed3
SP
20374 * benchtests/atanh-inputs: New inputs.
20375 * benchtests/tanh-inputs: Likewise.
20376
eff98324
SP
20377 * benchtests/acosh-inputs: New inputs.
20378 * benchtests/asinh-inputs: Likewise.
20379
ce641152
SP
20380 * benchtests/cosh-inputs: New inputs.
20381 * benchtests/sinh-inputs: Likewise.
20382
b19221b9
SP
20383 * benchtests/acos-inputs: Add more inputs.
20384 * benchtests/asin-inputs: Likewise.
20385
030a4976 203862013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20387
030a4976 20388 [BZ #16375]
9dcc8f11
VS
20389 * manual/arith.texi: Fix spelling.
20390 * manual/charset.texi: Likewise.
20391 * manual/errno.texi: Likewise.
20392 * manual/filesys.texi: Likewise.
20393 * manual/lang.texi: Likewise.
20394 * manual/llio.texi: Likewise.
20395 * manual/locale.texi: Likewise.
20396 * manual/message.texi: Likewise.
20397 * manual/resource.texi: Likewise.
20398 * manual/search.texi: Likewise.
20399 * manual/setjmp.texi: Likewise.
20400 * manual/stdio.texi: Likewise.
20401 * manual/string.texi: Likewise.
20402 * manual/sysinfo.texi: Likewise.
20403 * manual/time.texi: Likewise.
20404
11520a57
CD
204052013-12-27 Carlos O'Donell <carlos@redhat.com>
20406
20407 * po/sl.po: New file.
20408
471103ae
MF
204092013-12-27 Mike Frysinger <vapier@gentoo.org>
20410
20411 * .gitignore: Add core/.gdbinit/.gdb_history.
20412
6c9642ed
AM
204132013-12-27 Allan McRae <allan@archlinux.org>
20414
20415 [BZ #16369]
20416 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20417 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20418
3f637079
BM
204192013-12-24 Brooks Moses <bmoses@google.com>
20420
20421 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20422 all compilers that claim C++98 compliance, not just GCC.
20423 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20424 Likewise.
20425
abc26e99
MK
204262013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20427
20428 * NEWS: Restore accidentally deleted bug-fix entries.
20429
362b47fe
MK
204302013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20431 Ondřej Bílka <neleai@seznam.cz>
20432
20433 [BZ #15073]
20434 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20435 have_lock.
362b47fe 20436
b9bcbbcb
OB
204372013-12-23 Ondřej Bílka <neleai@seznam.cz>
20438
20439 [BZ #12986]
20440 * manual/stdio.texi (String Input Conversions): Clarify that character
20441 classes are not supported.
20442
fb55fcd2
AZ
204432013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20444
20445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20446
ef7344f0
JM
204472013-12-22 Joseph Myers <joseph@codesourcery.com>
20448
4f40e4b3
JM
20449 [BZ #16337]
20450 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20451 Calculate results for small negative arguments directly rather
20452 than using reflection formula with special underflow handling.
20453
ef7344f0
JM
20454 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20455 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20456 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20457 (fchflags): Likewise.
20458 (revoke): Likewise.
20459 (setlogin): Likewise.
20460 (sigaltstack): Likewise.
20461 (wait4): Likewise.
20462 (sigblock): Remove.
20463 (sigsetmask): Likewise.
20464 (wait3): Likewise.
20465 (waitpid): Likewise.
20466 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20467 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20468 file.
20469 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20470 * sysdeps/unix/bsd/Makefile: ... here.
20471 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20472 * sysdeps/unix/bsd/Versions: ... here.
20473 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20474 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20475 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20476 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20477 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20478 * sysdeps/unix/bsd/sigblock.c: ... here.
20479 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20480 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20481 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20482 * sysdeps/unix/bsd/sigvec.c: ... here.
20483 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20484 * sysdeps/unix/bsd/tcdrain.c: ... here.
20485 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20486 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20487 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20488 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20489 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20490 * sysdeps/unix/bsd/wait.c: ... here.
20491 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20492 * sysdeps/unix/bsd/wait3.c: ... here.
20493 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20494 * sysdeps/unix/bsd/waitpid.c: ... here.
20495
5b0626b9
JM
204962013-12-21 Joseph Myers <joseph@codesourcery.com>
20497
20498 [BZ #16356]
20499 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20500 round-to-nearest for [!USE_AS_EXPM1L].
20501 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20502 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20503 more tests of exp and exp10. Expect some exp10 tests to miss
20504 exceptions or fail in directed rounding modes.
20505 * math/auto-libm-test-out: Regenerated.
20506 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20507 (exp10_test_tonearest): New function.
20508 (exp10_towardzero_test_data): New array.
20509 (exp10_test_towardzero): New function.
20510 (exp10_downward_test_data): New array.
20511 (exp10_test_downward): New function.
20512 (exp10_upward_test_data): New array.
20513 (exp10_test_upward): New function.
20514 (main): Call the new functions.
20515 * sysdeps/i386/fpu/libm-test-ulps: Update.
20516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20517
7fda5682
JM
205182013-12-20 Joseph Myers <joseph@codesourcery.com>
20519
31e3a405
JM
20520 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20521 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20522 * math/auto-libm-test-out: Regenerated.
20523 * math/libm-test.inc (acosh_test_data): Add more tests.
20524 (atanh_test_data): Likewise.
20525 (ceil_test_data): Likewise.
20526 (copysign_test_data): Likewise.
20527 * sysdeps/i386/fpu/libm-test-ulps: Update.
20528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20529
85bff96a
JM
20530 * timezone/checktab.awk: Update from tzcode 2013i.
20531 * timezone/private.h: Likewise.
20532 * timezone/scheck.c: Likewise.
20533 * timezone/tzfile.h: Likewise.
20534 * timezone/tzselect.ksh: Likewise.
20535 * timezone/zdump.c: Likewise.
20536 * timezone/zic.c: Likewise.
20537
b7867a3b
JM
20538 * math/auto-libm-test-in: Add tests of cpow.
20539 * math/auto-libm-test-out: Regenerated.
20540 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20541 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20542 mpc_cc_c.
20543 (func_calc_desc): Add mpc_cc_c union field.
20544 (test_functions): Add cpow.
20545 (special_fill_2pi): New function.
20546 (special_real_inputs): Add 2pi.
20547 (calc_generic_results): Handle mpc_cc_c.
20548 * sysdeps/i386/fpu/libm-test-ulps: Update.
20549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20550
7fda5682
JM
20551 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20552 csqrt, ctan and ctanh.
20553 * math/auto-libm-test-out: Regenerated.
20554 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20555 (TEST_COND_x86): Likewise.
20556 (ccos_test_data): Use AUTO_TESTS_c_c.
20557 (ccosh_test_data): Likewise.
20558 (cexp_test_data): Likewise.
20559 (clog_test_data): Likewise.
20560 (csqrt_test_data): Likewise.
20561 (ctan_test_data): Likewise.
20562 (ctan_tonearest_test_data): Likewise.
20563 (ctan_towardzero_test_data): Likewise.
20564 (ctan_downward_test_data): Likewise.
20565 (ctan_upward_test_data): Likewise.
20566 (ctanh_test_data): Likewise.
20567 (ctanh_tonearest_test_data): Likewise.
20568 (ctanh_towardzero_test_data): Likewise.
20569 (ctanh_downward_test_data): Likewise.
20570 (ctanh_upward_test_data): Likewise.
20571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20572 mpc_c_c.
20573 (func_calc_desc): Add mpc_c_c union field.
20574 (FUNC_mpc_c_c): New macro.
20575 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20576 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20577 ctanh.
20578 (special_fill_min_subnorm_p120): New function.
20579 (special_real_inputs): Add min_subnorm_p120.
20580 (calc_generic_results): Handle mpc_c_c.
20581 * sysdeps/i386/fpu/libm-test-ulps: Update.
20582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20583
5ff8d60e
SP
205842013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20585
57f41c40
AS
20586 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20587 (do_sin_slow): New functions.
20588 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20589 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20590
84ba214c
SP
20591 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20592 Use M to change sign of result instead of X. Assume X is
20593 positive.
20594 (csloww1): Likewise.
20595 (__sin): Adjust.
20596 (__cos): Adjust.
20597
975195e4
SP
20598 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20599 arguments A and DA.
20600 (__sin): Adjust.
20601 (__cos): Likewise.
20602
5ff8d60e
SP
20603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20604 (__cos): Likewise.
20605 (sloww1): Don't adjust sign of DX.
20606 (csloww1): Likewise.
20607 (sloww2): Use X directly and don't adjust sign of DX.
20608 (csloww2): Likewise.
20609
eb983568
JM
206102013-12-19 Joseph Myers <joseph@codesourcery.com>
20611
64a17f1a
JM
20612 * math/auto-libm-test-in: Add tests of cabs and carg.
20613 * math/auto-libm-test-out: Regenerated.
20614 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20615 (carg_test_data): Likewise.
20616 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20617 mpc_c_f.
20618 (func_calc_desc): Add mpc_c_f union field.
20619 (test_functions): Add cabs and carg.
20620 (calc_generic_results): Handle mpc_c_f.
20621
eb983568
JM
20622 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20623 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20624 as a macro and a compat symbol.
20625 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20626 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20627 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20628 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20629 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20630 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20631 not use .hidden.
20632 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20633 Likewise.
20634 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20635 Likewise.
20636 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20637 Likewise.
20638 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20639 Likewise.
20640 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20641 Likewise.
20642 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20643 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20644 from GLIBC_2.3.2.
20645
6eeb678a
AZ
206462013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20647
20648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20649
6f6fc482
JM
206502013-12-19 Joseph Myers <joseph@codesourcery.com>
20651
21fea2e2
JM
20652 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20653 trailing whitespace removed.
20654 * scripts/config.guess: Update to version 2013-11-29.
20655 * scripts/config.sub: Update to version 2013-10-01.
20656
6f6fc482
JM
20657 * math/auto-libm-test-in: Add tests of sincos.
20658 * math/auto-libm-test-out: Regenerated.
20659 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20660 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20661 mpfr_f_11.
20662 (func_calc_desc): Add mpfr_f_11 union field.
20663 (test_functions): Add sincos.
20664 (calc_generic_results): Handle mpfr_f_11.
20665 * sysdeps/i386/fpu/libm-test-ulps: Update.
20666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20667
83f5c32d
AS
206682013-12-19 Andreas Schwab <schwab@suse.de>
20669
20670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20671 CALL_MCOUNT.
20672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20673 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20674 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20675
c688b419
JM
206762013-12-19 Joseph Myers <joseph@codesourcery.com>
20677
335ee092
JM
20678 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20679 * sysdeps/i386/fpu/libm-test-ulps: Update.
20680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20681
f88acd39
JM
20682 [BZ #16293]
20683 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20684 round-to-nearest mode when using frndint.
20685 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20686 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20687 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20688 Likewise.
20689 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20690 sinh test to fail.
20691 * math/auto-libm-test-out: Regenerated.
20692 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20693 (TEST_COND_x86): Likewise.
20694 (expm1_tonearest_test_data): New array.
20695 (expm1_test_tonearest): New function.
20696 (expm1_towardzero_test_data): New array.
20697 (expm1_test_towardzero): New function.
20698 (expm1_downward_test_data): New array.
20699 (expm1_test_downward): New function.
20700 (expm1_upward_test_data): New array.
20701 (expm1_test_upward): New function.
20702 (main): Run the new test functions.
20703 * sysdeps/i386/fpu/libm-test-ulps: Update.
20704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20705
c688b419
JM
20706 * include/features.h: Update comment documenting feature test
20707 macros. Mention _DEFAULT_SOURCE in comment.
20708 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20709 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20710 _BSD_SOURCE and _SVID_SOURCE.
20711 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20712 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20713 !_SVID_SOURCE]: Likewise.
20714 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20715 (__USE_POSIX_IMPLICITLY): Define.
20716 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20717 (_POSIX_SOURCE): Undefine and redefine.
20718 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20719 (_POSIX_C_SOURCE): Likewise.
20720 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20721 (Feature Test Macros): Update documentation of default features.
20722
9f6e964c
RS
207232013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20724
20725 * benchtests/Makefile: Add bench-strtok.
20726 * benchtests/bench-strtok.c: New file: strtok benchtest.
20727
ee0a148a
AM
207282013-12-19 Allan McRae <allan@archlinux.org>
20729
20730 * manual/install.texi: Suppress menu for plain text output.
20731 * INSTALL: Regenerated.
20732
b9ab448f
BM
207332013-12-18 Brooks Moses <bmoses@google.com>
20734
20735 [BZ #15846]
20736 * misc/getauxval.c: Include errno.h.
20737 (__getauxval): Set errno to ENOENT if the requested type is not
20738 found.
20739 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20740 don't declare with __attribute_const__.
20741 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20742 * manual/startup.texi: Document that getauxval sets errno.
20743
23776487
JM
207442013-12-18 Joseph Myers <joseph@codesourcery.com>
20745
f889953b
JM
20746 * math/auto-libm-test-in: Add tests of jn and yn.
20747 * math/auto-libm-test-out: Regenerated.
20748 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20749 (yn_test_data): Likewise.
20750 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20751 mpfr_if_f.
20752 (func_calc_desc): Add mpfr_if_f union field.
20753 (FUNC_mpfr_if_f): New macro.
20754 (test_functions): Add jn and yn.
20755 (calc_generic_results): Assert type of second input for
20756 mpfr_ff_f. Handle mpfr_if_f.
20757 (output_for_one_input_case): Disable all checking for arguments
20758 fitting floating-point types in case of an integer argument.
20759 * sysdeps/i386/fpu/libm-test-ulps: Update.
20760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20761
23776487
JM
20762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20763 Don't expect fegetround reference in libm.so.
20764
cb756c6d
MS
207652013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20766
20767 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20768 $(config-cflags-nofma).
20769
2dec468f
JM
207702013-12-18 Joseph Myers <joseph@codesourcery.com>
20771
5953eb3a
JM
20772 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20773 * math/auto-libm-test-out: Regenerated.
20774
2dec468f
JM
20775 [BZ #16338]
20776 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20777 to determine exponent and adjust argument to have exponent of -1.
20778 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20779 log2.
20780 * math/auto-libm-test-out: Regenerated.
20781 * sysdeps/i386/fpu/libm-test-ulps: Update.
20782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20783
4d84e6ad
OB
207842013-12-18 Ondřej Bílka <neleai@seznam.cz>
20785
20786 * manual/probes.texi: Remove cases when per-thread arenas are
20787 disabled.
20788
1818483b
AS
207892013-12-18 Andreas Schwab <schwab@suse.de>
20790
20791 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20792 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20793 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20794 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20795 * sysdeps/i386/i686/multiarch/Makefile: Update.
20796 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20797
25de95bf
JM
207982013-12-17 Joseph Myers <joseph@codesourcery.com>
20799
20800 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20801 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20802
674762d9
PE
208032013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20804
ed27ed83 20805 [BZ #15968]
0748546f
PE
20806 Support TZ transition times < 00:00:00.
20807 This is needed for version-3 tz-format files; it supports time
20808 stamps past 2037 for America/Godthab (the only entry in the tz
20809 database for which this change is relevant).
20810 * manual/time.texi (TZ Variable): Document transition times
20811 from -167:59:59 through -00:00:01.
20812 * time/tzset.c (tz_rule): Time of day is now signed.
20813 (__tzset_parse_tz): Parse negative time of day.
20814
4480e934
PE
20815 Document TZ transition times >= 25:00:00.
20816 * manual/time.texi (TZ Variable): Document transition times from
20817 25:00:00 through 167:59:59. These are already supported, and this
20818 support will help with version-3 tz-format files.
20819
69947401
PE
20820 * manual/time.texi (TZ Variable): Modernize North America example
20821 to reflect current (i.e., 2007-and-later) daylight saving rules.
20822
674762d9
PE
20823 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20824
7011c262
JM
208252013-12-17 Joseph Myers <joseph@codesourcery.com>
20826
2fc6557e
JM
20827 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20828 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20829 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20831 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20832 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20833 * sysdeps/unix/bsd/clock.c: Likewise.
20834 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20835 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20836 * sysdeps/unix/bsd/init-posix.c: Likewise.
20837 * sysdeps/unix/bsd/poll.c: Likewise.
20838 * sysdeps/unix/bsd/ptsname.c: Likewise.
20839 * sysdeps/unix/bsd/seekdir.c: Likewise.
20840 * sysdeps/unix/bsd/setegid.c: Likewise.
20841 * sysdeps/unix/bsd/seteuid.c: Likewise.
20842 * sysdeps/unix/bsd/setgid.c: Likewise.
20843 * sysdeps/unix/bsd/setrgid.c: Likewise.
20844 * sysdeps/unix/bsd/setruid.c: Likewise.
20845 * sysdeps/unix/bsd/setsid.c: Likewise.
20846 * sysdeps/unix/bsd/setuid.c: Likewise.
20847 * sysdeps/unix/bsd/sigaction.c: Likewise.
20848 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20849 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20850 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20851 * sysdeps/unix/bsd/telldir.c: Likewise.
20852 * sysdeps/unix/bsd/times.c: Likewise.
20853 * sysdeps/unix/bsd/usleep.c: Likewise.
20854
029c7b25
JM
20855 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20856 ($(objpfx)libbsd-compat.a): Remove rule.
20857
7011c262
JM
20858 * include/features.h (__FAVOR_BSD): Do not define.
20859 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20860 features conflicting with POSIX.
20861 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20862 (_BSD_SOURCE): Remove description of not being a subset of other
20863 feature test macros.
20864 * manual/job.texi (getpgrp): Do not document BSD version.
20865 (getpgid): Do not document by reference to BSD getpgrp.
20866 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20867 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20868 * signal/signal.h [__FAVOR_BSD]: Likewise.
20869 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20870 instead of making contents conditional on [__FAVOR_BSD].
20871 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20872
affb6f78
AZ
208732013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20874
20875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20876
c88769dd
JM
208772013-12-17 Joseph Myers <joseph@codesourcery.com>
20878
6432a540
JM
20879 [BZ #16314]
20880 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20881 values below 2**-450, not 2**-500.
20882 * math/auto-libm-test-in: Don't allow spurious underflow from
20883 hypot.
20884 * math/auto-libm-test-out: Regenerated.
20885
c88769dd
JM
20886 [BZ #16316]
20887 [BZ #16330]
20888 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20889 values of ha and hb and sort them after adjusting subnormal
20890 arguments.
20891 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20892 Likewise.
20893 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20894 values of ea and eb and sort them after adjusting subnormal
20895 arguments.
20896 * math/auto-libm-test-in: Do not expect some hypot tests of
20897 subnormals to fail. Add more hypot tests.
20898 * math/auto-libm-test-out: Regenerated.
20899
29618f6b
KK
209002013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20901
20902 [BZ #13304]
20903 * sysdeps/sh/s_fma.c: New file.
20904 * sysdeps/sh/s_fmaf.c: New file.
20905 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20906 version.
20907 * sysdeps/sh/Implies: Add sh/soft-fp.
20908
eacfdfbf
RM
209092013-12-16 Roland McGrath <roland@hack.frob.com>
20910
20911 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20912 level of indirection to members `objname', `errstring', `malloced'.
20913 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20914 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20915 it as the __longjmp argument (just pass 1 instead).
20916 (_dl_catch_error): Initialize C with argument pointers and address of
20917 volatile local ERRCODE rather than copying values out of C at return.
20918
ff362e5b
JM
209192013-12-16 Joseph Myers <joseph@codesourcery.com>
20920
20921 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20922 * math/auto-libm-test-out: Regenerated.
20923 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20924 (hypot_test_data): Likewise.
20925 (pow_test_data): Likewise.
20926 (pow_tonearest_test_data): Likewise.
20927 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20928 mpfr_ff_f.
20929 (func_calc_desc): Add mpfr_ff_f union field.
20930 (FUNC_mpfr_ff_f): New macro.
20931 (test_functions): Add atan2, hypot and pow.
20932 (special_fill_min): New function.
20933 (special_fill_minus_min): Likewise.
20934 (special_fill_min_subnorm): Likewise.
20935 (special_fill_minus_min_subnorm): Likewise.
20936 (special_real_inputs): Add min, -min, min_subnorm and
20937 -min_subnorm.
20938 (calc_generic_results): Handle mpfr_ff_f.
20939 * sysdeps/i386/fpu/libm-test-ulps: Update.
20940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20941
5764c27f
WN
209422013-12-16 Will Newton <will.newton@linaro.org>
20943
20944 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20945 (Aligned Memory Blocks): Add documentation for aligned_alloc
20946 and suggest it as an alternative to posix_memalign.
20947 (Hooks for Malloc): Document __memalign_hook is also called
20948 for aligned_alloc. (Summary of Malloc): Add summary for
20949 aligned alloc. Document __memalign_hook is also called
20950 for aligned_alloc.
20951
0a096e44
WN
209522013-12-16 Will Newton <will.newton@linaro.org>
20953
20954 * manual/memory.texi (Malloc Examples): Clarify default
20955 alignment documentation. Suggest posix_memalign rather
20956 than memalign or valloc.
20957 (Aligned Memory Blocks): Remove suggestion to use memalign
20958 or valloc. Remove obsolete comment about BSD.
20959 Document memalign errno values and mark the function obsolete.
20960 Document posix_memalign returned error codes. Mark valloc
20961 as obsolete. (Hooks for Malloc): __memalign_hook is also
20962 called for posix_memalign and valloc.
20963 (Summary of Malloc): Add posix_memalign to function summary.
20964 __memalign_hook is also called for posix_memalign and valloc.
20965
8d561986
SP
209662013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20967
20968 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20969 TAYLOR_SIN.
20970 (__sin): Adjust.
20971 (__cos): Likewise.
20972 (sloww): Use mynumber union. Expand ternary operator into
20973 if-else statements.
20974 (cslow): use mynumber union.
20975
73616a74
AM
209762013-12-16 Allan McRae <allan@archlinux.org>
20977
9e8ac24b
AM
20978 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20979 * configure: Regenerated.
20980
6f8e37eb
AM
20981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20982
8894bad3
AM
20983 [BZ #14120]
20984 * configure.ac: Added --enable-maintainer-mode. Check for
20985 autoconf when enabled.
20986 * configure: Regenerated.
20987
73616a74
AM
20988 * nscd/nscd.service: New file.
20989 * nscd/nscd.tmpfiles: New file.
20990
584b18eb
OB
209912013-12-14 Ondřej Bílka <neleai@seznam.cz>
20992
20993 [BZ #12100]
20994 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20995 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20996 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20997 (strstr): Add __strstr_sse2_unaligned ifunc.
20998 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20999 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21000 (strcasestr): Remove __strcasestr_sse42 ifunc.
21001 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21004
8a5c7897
KK
210052013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21006
21007 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21008 * sysdeps/sh/bits/fenv.h: ... here.
21009 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21010
fd712ef3
AZ
210112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21012
21013 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21014
42fcb46c
AZ
21015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21016 hypotf multiarch implementations.
21017 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21018 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21019 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21020 multiarch hypot for PPC64.
21021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21024 multiarch hypotf for PPC64.
21025
83efded4
AZ
21026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21027 modff multiarch implementations.
21028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21031 multiarch modf for PPC64.
21032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21035 multiarch modff for PPC64.
21036
43e246d2
AZ
21037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21038 and logl multiarch implementations.
21039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21042 multiarch logb for PPC64.
21043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21046 multiarch logb for PPC64.
21047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21050 multiarch logb for PPC64.
21051
8fdad123
AZ
21052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21053 isinff multiarch implementation.
21054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21055 file.
21056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21058 multiarch isinf for PPC64.
21059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21060 file.
21061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21062 multiarch isinff for PPC64.
21063
1481d706
AZ
21064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21065 finitef multiarch implementation.
21066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21067 file.
21068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21070 multiarch finite for PPC64.
21071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21072 file.
21073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21074 multiarch finitef for PPC64.
21075
5ccd5fc8
AZ
21076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21077 lrint multiarch implementation.
21078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21079 file.
21080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21082 multiarch llrint for PPC64.
21083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21084 multiarch lrint for PPC64.
21085
2568f3fa
AZ
21086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21087 copysignf multiarch implementation.
21088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21089 file.
21090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21091 file.
21092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21093 multiarch copysign for PPC64.
21094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21095 multiarch copysignf for PPC64.
21096
1cb341fd
AZ
21097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21098 multiarch implementation.
21099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21100 file.
21101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21102 file.
21103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21104 file.
21105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21106 file.
21107 multiarch llround for PPC64.
21108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21109 multiarch trunc for PPC64.
21110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21111 multiarch truncf for PPC64.
21112
59a3e194
AZ
21113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21114 multiarch implementation.
21115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21116 file.
21117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21118 file.
21119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21120 file.
21121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21122 file.
21123 multiarch llround for PPC64.
21124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21125 multiarch round for PPC64.
21126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21127 multiarch roundf for PPC64.
21128
357fd3b4
AZ
21129 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21130 multiarch implementation.
21131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21132 file.
21133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21134 file.
21135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21136 file.
21137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21138 file.
21139 multiarch llround for PPC64.
21140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21141 multiarch floor for PPC64.
21142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21143 multiarch floorf for PPC64.
21144
96770f12
AZ
21145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21146 multiarch implementation.
21147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21148 file.
21149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21150 file.
21151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21152 file.
21153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21154 file.
21155 multiarch llround for PPC64.
21156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21157 multiarch ceil for PPC64.
21158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21159 multiarch ceilf for PPC64.
21160
c3627f6e
AZ
21161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21162 multiarch implementation.
21163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21164 file.
21165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21166 file.
21167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21168 file.
21169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21170 multiarch llround for PPC64.
21171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21172 multiarch lround for PPC64.
21173
b2284ad7
AZ
21174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21175 multiarch implementation.
21176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21179 file.
21180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21183 multiarch isnan for PPC64.
21184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21185 multiarch isnanf for PPC64.
21186
69bbc63d
AZ
21187 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21188 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21189 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21190 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21191 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21193
c24517c9
AZ
21194 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21195 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21196 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21197 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21198
a52374e8
AZ
21199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21200 multiarch implementations.
21201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21202 (__libc_ifunc_impl_list): Likewise.
21203 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21204 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21205 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21206 multiarch stpcpy for PPC64.
21207
7f5ec113
AZ
21208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21209 multiarch implementations.
21210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21211 (__libc_ifunc_impl_list): Likewise.
21212 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21213 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21214 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21215 multiarch strcpy for PPC64.
21216
e28bcd42
AZ
21217 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21218 redefine function name.
21219 (_wordcopy_fwd_dest_aligned): Likewise.
21220 (_wordcopy_bwd_aligned): Likewise.
21221 (_wordcopy_bwd_dest_aligned): Likewise.
21222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21223 multiarch implementations.
21224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21225 (__libc_ifunc_impl_list): Likewise.
21226 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21227 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21228 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21229 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21230 multiarch wcscpy for PPC64.
21231
92cacfce
AZ
21232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21233 multiarch implementations.
21234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21235 (__libc_ifunc_impl_list): Likewise.
21236 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21237 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21238 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21239 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21240 multiarch wcscpy for PPC64.
21241
7b714620
AZ
21242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21243 multiarch implementations.
21244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21245 (__libc_ifunc_impl_list): Likewise.
21246 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21247 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21248 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21249 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21250 multiarch wcsrchr for PPC64.
21251
16fd2ae3
AZ
21252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21253 multiarch implementations.
21254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21255 (__libc_ifunc_impl_list): Likewise.
21256 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21257 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21258 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21259 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21260 multiarch wcschr for PPC64.
21261
9ee2969b
AZ
21262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21263 multiarch implementations.
21264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21265 (__libc_ifunc_impl_list): Likewise.
21266 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21267 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21268 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21269 multiarch strchrnul for PPC64.
21270
372dc060
AZ
21271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21272 implementations.
21273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21274 (__libc_ifunc_impl_list): Likewise.
21275 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21276 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21277 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21278 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21279 strchr for PPC64.
21280
24c2c3b9
AZ
21281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21282 implementations.
21283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21284 (__libc_ifunc_impl_list): Likewise.
21285 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21286 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21287 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21288 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21289 strncmp for PPC64.
21290
1c92d9a0
AZ
21291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21292 multiarch implementations.
21293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21294 (__libc_ifunc_impl_list): Likewise.
21295 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21296 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21297 strncasecmp for PPC64.
21298 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21299 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21300 multiarch strncasecmp_l for PPC64.
21301
17de3ee3
AZ
21302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21303 multiarch implementations.
21304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21305 (__libc_ifunc_impl_list): Likewise.
21306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21307 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21308 multiarch strcasecmp for PPC64.
21309 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21310 file.
21311 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21312 multiarch strcasecmp_l for PPC64.
21313
62982bf9
AZ
21314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21315 implementations.
21316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21317 (__libc_ifunc_impl_list): Likewise.
21318 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21319 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21320 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21321 strnlen for PPC64.
21322
a65f4904
AZ
21323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21324 implementations.
21325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21326 (__libc_ifunc_impl_list): Likewise.
21327 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21328 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21329 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21330 strlen for PPC64.
21331
1fd005ad
AZ
21332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21333 implementations.
21334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21335 (__libc_ifunc_impl_list): Likewise.
21336 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21337 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21338 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21339 rawmemrchr for PPC64.
21340
cd05ba91
AZ
21341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21342 implementation.
21343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21344 (__libc_ifunc_impl_list): Likewise.
21345 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21346 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21347 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21348 memrchr for PPC64.
21349
870f8676
AZ
21350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21351 implementation.
21352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21353 (__libc_ifunc_impl_list): Likewise.
21354 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21355 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21356 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21357 memchr for PPC64.
21358
f00be62b
AZ
21359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21360 implementation.
21361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21362 (__libc_ifunc_impl_list): Likewise.
21363 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21364 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21365 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21366 mempcpy for PPC64.
21367
8a29a3d0
AZ
21368 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21369 avoid cretion of __bzero symbol.
21370 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21371 Likewise.
21372 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21373 Likewise.
21374 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21375 Likewise.
21376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21377 multiarch implementations.
21378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21379 (__libc_ifunc_impl_list): Likewise.
21380 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21381 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21382 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21383 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21384 bzero for PPC32.
21385 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21386 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21387 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21388 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21389 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21390 memset for PPC64.
21391 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21392
07253fcf
AZ
21393 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21395 implementations.
21396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21397 (__libc_ifunc_impl_list): Likewise.
21398 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21399 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21400 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21401 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21402 memcmp for PPC64.
21403
b5beafbc
AZ
21404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21405 multiarch for POWER/PPC64.
21406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21407 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21408 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21409 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21410 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21411 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21412 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21413 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21414 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21415 memcpy for PPC64.
21416
5e6a4d4b
AZ
21417 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21418 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21419 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21420 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21421 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21422 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21423 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21424 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21425 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21426 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21427 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21428 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21429 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21430 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21431 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21439
ddfab6dc
KK
214402013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21441
21442 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21443
19b5525e
SP
214442013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21445
21446 * benchtests/Makefile (bench): Add exp2 and log2.
21447 (LDLIBS-bench-exp2): Add -lm.
21448 (LDLIBS-bench-log2): Likewise.
21449 * benchtests/exp2-inputs: New inputs file.
21450 * benchtests/log2-inputs: New inputs file.
21451 * benchtests/log-inputs: Add new inputs.
21452 * benchtests/tan-inputs: Likewise.
21453
196f7f5d
SP
214542013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21455
7a74607f
SP
21456 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21457 definition...
57f41c40
AS
21458 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21459 (csloww2): ... from here.
7a74607f 21460
196f7f5d
SP
21461 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21462 instead of structures.
21463 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21464 (POLYNOMIAL): Likewise.
21465 (TAYLOR_SLOW): Likewise.
21466 (__sin): Likewise.
21467 (__cos): Likewise.
21468 (slow1): Likewise.
21469 (slow2): Likewise.
21470 (sloww): Likewise.
21471 (sloww1); Likewise.
21472 (sloww2): Likewise.
21473 (bsloww1): Likewise.
21474 (bsloww2): Likewise.
21475 (cslow2): Likewise.
21476 (csloww): Likewise.
21477 (csloww1): Likewise.
21478 (csloww2): Likewise.
21479
0dfa665c
OB
214802013-12-10 Ondřej Bílka <neleai@seznam.cz>
21481
21482 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21483 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21484 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21485 * malloc/hooks.c (realloc_check): Likewise.
21486
5782a80f
OB
21487 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21488 * malloc/arena.c: Remove PER_THREAD conditional.
21489 [!PER_THREAD]: Remove code.
21490 (ptmalloc_unlock_all2): Likewise.
21491 (ptmalloc_init): Likewise.
21492 (_int_new_arena): Likewise.
21493 (arena_get2): Likewise.
21494 * malloc/hooks.c (__malloc_get_state): Likewise.
21495 (__malloc_set_state): Likewise.
21496 * malloc/malloc.c: Likewise.
21497 (struct malloc_state): Likewise.
21498 (struct malloc_par): Likewise.
21499 (__libc_realloc): Likewise.
21500 (__libc_mallopt): Likewise.
21501
aeb95445
AZ
215022013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21503
21504 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21505
e8349efd
OB
215062013-12-09 Ondřej Bílka <neleai@seznam.cz>
21507
21508 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21509 macro to a function. Check for zero perturb_byte.
21510 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21511
f3eeb3fc 21512 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21513 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21514 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21515 force_reg by atomic_forced_read.
21516 * malloc/arena.c (ptmalloc_init): Likewise.
21517 * malloc/hooks.c (top_check): Likewise.
21518
be2f9009
AZ
215192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21520
21521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21522
e7b914bd
MT
215232013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21524
21525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21526
9f0be4f8
JM
215272013-12-08 Joseph Myers <joseph@codesourcery.com>
21528
21529 * math/auto-libm-test-in: Add tests of lgamma.
21530 * math/auto-libm-test-out: Regenerated.
21531 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21532 (M_LOG_2_SQRT_PIl): Likewise.
21533 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21534 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21535 mpfr_f_f1.
21536 (func_calc_desc): Add mpfr_f_f1 union field.
21537 (ARGS1): New macro.
21538 (ARGS2): Likewise.
21539 (ARGS3): Likewise.
21540 (ARGS4): Likewise.
21541 (RET1): Likewise.
21542 (RET2): Likewise.
21543 (CALC): Likewise.
21544 (FUNC): Likewise.
21545 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21546 (test_functions): Add lgamma.
21547 (calc_generic_results): Handle mpfr_f_f1.
21548 * sysdeps/i386/fpu/libm-test-ulps: Update.
21549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21550
24eeafdb
AZ
215512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21552
21553 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21554 __mpn_add_n for PowerPC64/POWER7.
21555 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21556 __mpn_sub_n for PowerPC64/POWER7.
21557
4a2c0fd4
AZ
21558 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21559 __mpn_addmul_1 for PowerPC64.
21560 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21561 __mpn_submul_1 for PowerPC64.
21562 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21563 for PowerPC64.
21564 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21565 for PowerPC64.
21566
4b5b548c
FS
215672013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21568
21569 [BZ #15089]
21570 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21571
0a3ac0aa
AZ
215722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21573
21574 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21575
ccdc8438
AZ
21576 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21577 add multiarch folders.
21578 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21579 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21580 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21581 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21582 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21583 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21584 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21585 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21586 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21587 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21588 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21595
2e973d99
AZ
21596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21597 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21599 New file.
21600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21601 New file.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21603 multiarch __ieee754_hypot for PowerPC32.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21605 New file.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21607 New file.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21609 multiarch __ieee754_hypotf for PowerPC32.
21610
2d9470b2
AZ
21611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21612 long_double_symbol only if __logbl is defined.
21613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21614 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21616 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21618 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21620 path for implementation.
21621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21622 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21624 logb, and logbl multiarch implementations for PowerPC32.
21625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21626 file.
21627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21628 file.
21629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21630 multiarch logb for PowerPC32.
21631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21632 file.
21633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21634 file.
21635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21636 multiarch logbf for PowerPC32.
21637 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21639 file.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21641 multiarch logbl implementation for PowerPC32.
21642
5212ffce
AZ
21643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21644 and modff multiarch implementations.
21645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21646 New file.
21647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21648 New file.
21649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21650 multiarch modf for PowerPC32.
21651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21652 New file.
21653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21654 New file.
21655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21656 multiarch modff for PowerPC32.
21657
79dccf31
AZ
21658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21659 and lrintf multiarch implementations.
21660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21661 New file.
21662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21663 New file.
21664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21665 multiarch lrint for PowerPC32.
21666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21667 file: multiarch lrintf for PowerPC32.
21668
deb66480
AZ
21669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21670 and lroundf multiarch implementations.
21671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21672 New file.
21673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21674 New file.
21675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21676 New file.
21677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21678 multiarch lround for PowerPC32.
21679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21680 file: multiarch lroundf for PowerPC32.
21681
264b036b
AZ
21682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21683 copysign and copysignf multiarch implementations.
21684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21685 New file.
21686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21687 New file.
21688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21689 file: multiarch copysign for PowerPC32.
21690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21691 file: multiarch copysignf for PowerPC32.
21692
d47db6c9
AZ
21693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21694 and truncf multiarch implementations.
21695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21696 New file.
21697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21698 file.
21699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21700 multiarch trunc for PowerPC32.
21701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21702 New file.
21703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21704 New file.
21705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21706 multiarch truncf for PowerPC32.
21707
ddb60b5a
AZ
21708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21709 and roundf multiarch implementations.
21710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21711 New file.
21712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21713 file.
21714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21715 multiarch round for PowerPC32.
21716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21717 New file.
21718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21719 New file.
21720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21721 multiarch roundf for PowerPC32.
21722
bedcf49b
AZ
21723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21724 and floorf multiarch implementations.
21725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21726 New file.
21727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21728 file.
21729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21730 multiarch floor for PowerPC32.
21731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21732 New file.
21733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21734 New file.
21735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21736 multiarch floorf for PowerPC32.
21737
35ae5b40
AZ
21738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21739 and ceilf multiarch implementations.
21740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21741 New file.
21742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21743 file.
21744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21745 multiarch ceil for PowerPC32.
21746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21747 New file.
21748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21749 file.
21750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21751 multiarch ceilf for PowerPC32.
21752
ae1a4cd9
AZ
21753 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21754 is defined.
21755 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21756 FINITEF is defined.
21757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21758 and finitef multiarch implementations.
21759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21760 New file.
21761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21762 file.
21763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21764 multiarch finite for PowerPC32.
21765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21766 New file.
21767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21768 file: multiarch finitef for PowerPC32.
21769
64fffd65
AZ
21770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21771 and isinff multiarch implementations.
21772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21773 file.
21774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21775 file.
21776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21777 multiarch isinf for PowerPC32.
21778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21779 New file.
21780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21781 multiarch isinff for PowerPC32.
21782
8e4e7ba2
AZ
21783 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21784 alias when __isnan is defined.
21785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21786 and isnanf multiarch implementations.
21787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21788 file.
21789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21790 file.
21791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21792 file.
21793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21794 file.
21795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21796 multiarch isnan for PowerPC32.
21797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21798 New file.
21799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21800 New file.
21801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21802 multiarch isnanf for PowerPC32.
21803
ddba588e
AZ
21804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21805 and sqrtf multiarch implementations.
21806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21807 file.
21808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21809 file.
21810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21811 multiarch sqrt for PowerPC32.
21812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21813 file.
21814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21815 file.
21816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21817 multiarch sqrtf for PowerPC32.
21818
0f96a2f0
AZ
21819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21820 and llroundf multiarch implementations.
21821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21822 New file.
21823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21824 New file.
21825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21826 New file.
21827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21828 file: multiarch llround for PowerPC32.
21829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21830 file: multiarch llroundf for PowerPC32.
21831
c9b5d79e
AZ
21832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21833 multiarch PowerPC32 fpu implementations.
21834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21835 New file.
21836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21837 New file.
21838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21839 multiarch llrint for PowerPC32.
21840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21841 New file.
21842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21843 New file.
21844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21845 file.
21846
9cbb3aab
AZ
21847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21848
ea5a72f8
AZ
21849 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21850 file.
21851 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21852 file.
21853 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21854 file.
21855 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21856 multiarch wordcopy for PPC32.
21857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21858 wordcopy objects.
21859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21860 (__libc_ifunc_impl_list): Likewise.
21861 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21862 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21864 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21865 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21866 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21867
93be09e7
AZ
21868 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21870 file.
21871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21872 file.
21873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21874 file.
21875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21876 multiarch wcscpy for PPC32.
21877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21878 multiarch objects.
21879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21880 (__libc_ifunc_impl_list): Likewise.
21881 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21882 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21883 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21884 sysdeps/powerpc/power6/wcscpy.c.
21885
bb04e529
AZ
21886 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21888 file.
21889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21890 file.
21891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21892 file.
21893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21894 multiarch wcsrchr for PPC32.
21895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21896 multiarch objects.
21897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21898 (__libc_ifunc_impl_list): Likewise.
21899 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21900 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21901 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21902 sysdeps/powerpc/power6/wcsrchr.c.
21903
05b5cd1c
AZ
21904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21905 file.
21906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21907 file.
21908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21910 multiarch wcschr for PPc32.
21911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21912 multiarch objects.
21913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21914 (__libc_ifunc_impl_list): Likewise.
21915 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21916 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21917 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21918 sysdeps/powerpc/power6/wcschr.c.
21919
ba964147
AZ
21920 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21921 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21922 file.
21923 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21924 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21925 file: multiarch strchr for PPC32.
21926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21927 multiarch objects.
21928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21929 (__libc_ifunc_impl_list): Likewise.
21930
31c81aaa
AZ
21931 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21932 name.
21933 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21934 file.
21935 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21936 file.
21937 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21938 multiarch strchrnul for PPC32.
21939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21940 multiarch objects.
21941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21942 (__libc_ifunc_impl_list): Likewise.
21943
0d0607d9
AZ
21944 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21945 file.
21946 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21947 multiarch strncasecmp for PPC32.
21948 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21949 file.
21950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21951 multiarch strncasecmp_l for PPC32.
21952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21953 strncasecmp multiarch objects.
21954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21955 (__libc_ifunc_impl_list): Likewise.
21956
4dfd5c86
AZ
21957 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21958 file.
21959 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21960 multiarch strncasecmp for PPC32.
21961 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21962 New file.
21963 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21964 multiarch strcasecmp_l for PPC32.
21965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21966 multiarch objects.
21967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21968 (__libc_ifunc_impl_list): Likewise.
21969
a19e01a3
AZ
21970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21971 file.
21972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21973 file.
21974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21975 multiarch strncmp for PPC32.
21976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21977 multiarch objects.
21978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21979 (__libc_ifunc_impl_list): Likewise.
21980
ae9cf7a2
AZ
21981 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21982 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21983 file.
21984 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21985 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21987 multiarch objects.
21988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21989 (__libc_ifunc_impl_list): Likewise.
21990
3148bb7d
AZ
21991 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21992 file.
21993 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21994 file.
21995 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21997 multiarch objects.
21998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21999 (__libc_ifunc_impl_list): Likewise.
22000
7af8b946
AZ
22001 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22002 file.
22003 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22004 file.
22005 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22006 multiarch rawmemchr for PPC32.
22007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22008 multiarch objects.
22009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22010 (__libc_ifunc_impl_list): Likewise.
22011
03a6aa6a
AZ
22012 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22013 file.
22014 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22015 file.
22016 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22017 file: memrchr multiarch for PPC32.
22018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22019 multiarch objects.
22020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22021 (__libc_ifunc_impl_list): Likewise.
22022
1c62e6d9
AZ
22023 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22024 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22025 file.
22026 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22027 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22028 multiarch memchr for PPC32.
22029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22030 multiarch objects.
22031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22032 (__libc_ifunc_impl_list): Likewise.
22033
87da8bdb
AZ
22034 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22035 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22036 file.
22037 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22038 file.
22039 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22040 file: multiarch mempcpy for PPC32.
22041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22042 multiarch objects.
22043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22044 (__libc_ifunc_impl_list): Likewise.
22045
20ed4714
AZ
22046 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22047 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22048 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22049 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22050 multiarch bzero for PPC32.
22051 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22052 file.
22053 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22054 file.
22055 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22056 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22057 file: multiarch memset for PPC32.
22058 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22060 memset multiarch objects.
22061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22062 (__libc_ifunc_impl_list): Likewise.
22063
ab3e3a46
AZ
22064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22065 file.
22066 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22067 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22068 memcmp for PPC32.
22069 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22071 multiarch objects.
22072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22073 (__libc_ifunc_impl_list): Likewise.
22074
930de6f0
AZ
22075 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22077 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22078 file.
22079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22080 file.
22081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22082 file.
22083 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22084 multiarch memcpy for PPC32.
22085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22086 multiarch objects.
22087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22088 (__libc_ifunc_impl_list): Likewise.
22089
4c628e00
AZ
22090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22091 support multiarch for POWER/PPC32.
22092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22093 Likewise.
22094 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22096 Implies file to make multiarch folder appers before the fpu and
22097 default folder for power4 configuration.
22098
f4479220
SP
220992013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22100
22101 * scripts/bench.pl: Append volatile keyword to type.
22102
8517800f
KK
221032013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22104
22105 * sysdeps/sh/sotruss-lib.c: New file.
22106 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22107
180138f1
AZ
221082013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22109
22110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22111
bbf37bdc
JM
221122013-12-05 Joseph Myers <joseph@codesourcery.com>
22113
e47cc4e0
JM
22114 [BZ #6810]
22115 * math/w_tgamma.c: Include <errno.h>.
22116 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22117 * math/w_tgammaf.c: Include <errno.h>.
22118 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22119 * math/w_tgammal.c: Include <errno.h>.
22120 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22121 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22122 underflow. Add more tgamma tests.
22123 * math/auto-libm-test-out: Regenerated.
22124 * sysdeps/i386/fpu/libm-test-ulps: Update.
22125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22126
bbf37bdc
JM
22127 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22128 sin, sinh, tan, tanh, tgamma, y0 and y1.
22129 * math/auto-libm-test-out: Regenerated.
22130 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22131 (TEST_COND_x86): Likewise.
22132 (M_E2l): Remove macro.
22133 (M_E3l): Likewise.
22134 (M_2_SQRT_PIl): Likewise.
22135 (M_SQRT_PIl): Likewise.
22136 (M_1_DIV_El): Likewise.
22137 (log_test_data): Use AUTO_TESTS_f_f.
22138 (log10_test_data): Likewise.
22139 (log1p_test_data): Likewise.
22140 (log2_test_data): Likewise.
22141 (sin_test_data): Likewise.
22142 (sin_tonearest_test_data): Likewise.
22143 (sin_towardzero_test_data): Likewise.
22144 (sin_downward_test_data): Likewise.
22145 (sin_upward_test_data): Likewise.
22146 (sinh_test_data): Likewise.
22147 (sinh_tonearest_test_data): Likewise.
22148 (sinh_towardzero_test_data): Likewise.
22149 (sinh_downward_test_data): Likewise.
22150 (sinh_upward_test_data): Likewise.
22151 (tan_test_data): Likewise.
22152 (tan_tonearest_test_data): Likewise.
22153 (tan_towardzero_test_data): Likewise.
22154 (tan_downward_test_data): Likewise.
22155 (tan_upward_test_data): Likewise.
22156 (tanh_test_data): Likewise.
22157 (tgamma_test_data): Likewise.
22158 (y0_test_data): Likewise.
22159 (y1_test_data): Likewise.
22160 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22161 (special_real_inputs): Add pi/4.
22162 * sysdeps/i386/fpu/libm-test-ulps: Update.
22163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22164
eb5ad6b9
AZ
221652013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22166
22167 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22168 "longjmp_target" static probes.
22169 (__longjmp): Rename to __longjmp_symbol.
22170 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22171 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22172 on which longjmp to generate.
22173 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22174 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22175 probe.
22176 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22177 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22178 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22179 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22180 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22181 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22183 __longjmp_symbol based on which __longjmp to generate.
22184 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22185 probe.
22186 (setjmp): Rename to setjmp_symbol.
22187 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22188 (_setjmp): Rename to _setjmp_symbol.
22189 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22190 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22191 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22192 which setjmp to generate.
22193 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22194 "longjmp_target" static probes.
22195
d136c6dc
SP
221962013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22197
9298ecba
SP
22198 * benchtests/README: Add note about output arguments.
22199 * benchtests/bench-sincos.c: Remove file.
22200 * benchtests/sincos-inputs: New file.
22201 * scripts/bench.pl: Identify output arguments and define
22202 static variables for them.
22203
232983e9
SP
22204 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22205
d136c6dc
SP
22206 [BZ #15941]
22207 * Makefile (INSTALL): Add install-plain.texi as the primary
22208 dependency.
22209 * manual/install-plain.texi: New file.
22210 * manual/install.texi: Include node directive only for
22211 non-plaintext output.
22212
699ff837
JM
222132013-12-04 Joseph Myers <joseph@codesourcery.com>
22214
ab07cea8
JM
22215 * stdlib/longlong.h: Update from GCC.
22216
699ff837
JM
22217 [BZ #6807]
22218 [BZ #15901]
22219 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22220 * math/w_j0f.c (y0f): Likewise.
22221 * math/w_j0l.c (__y0l): Likewise.
22222 * math/w_j1.c (y1): Likewise.
22223 * math/w_j1f.c (y1f): Likewise.
22224 * math/w_j1l.c (__y1l): Likewise
22225 * math/w_jn.c (yn): Likewise.
22226 * math/w_jnf.c (ynf): Likewise.
22227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22228 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22229 value for Bessel function domain errors outside _SVID_ mode.
22230 Adjust sign of return value for yn (negative integer, 0).
22231 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22232 by zero in return for negative x and set sign appropriately for
22233 negative n.
22234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22236 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22237 expectations in error cases.
22238 (y1_test_data): Likewise.
22239 (yn_test_data): Likewise.
22240 * sysdeps/i386/fpu/libm-test-ulps: Update.
22241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22242
5b118558
UW
222432013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22244
22245 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22246 "64" to "64-v1". Add "64-v2".
22247 (abi-64-options): Rename to ...
22248 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22249 (abi-64-condition): Rename to ...
22250 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22251 (abi-64-ld-soname): Rename to ...
22252 (abi-64-v1-ld-soname): ... this.
22253 (abi-64-v2-options): Define.
22254 (abi-64-v2-condition): Likewise.
22255 (abi-64-v2-ld-soname): Likewise.
22256 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22257 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22261
61cd8fe4
UW
222622013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22263 Alan Modra <amodra@gmail.com>
22264
22265 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22266 New versions for use with the ELFv2 ABI.
22267 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22268 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22269 declaration.
22270 (struct La_ppc64v2_retval): Likewise.
22271 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22272 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22273 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22274 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22275 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22276 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22277 Do not save or restore CR.
22278 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22279 (_dl_profile_resolve): Do no save or restore CR. Support extended
22280 return values for ELFv2 ABI. Fix location of FPR return registers.
22281 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22282 updated values for _CALL_ELF == 2.
22283 (La_regs, La_retval, int_retval): Likewise.
22284
8b8a692c
UW
222852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22286
22287 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22288 (FRAME_MIN_SIZE_PARM): Likewise.
22289 (FRAME_BACKCHAIN): Likewise.
22290 (FRAME_CR_SAVE): Likewise.
22291 (FRAME_LR_SAVE): Likewise.
22292 (FRAME_TOC_SAVE): Likewise.
22293 (FRAME_PARM_SAVE): Likewise.
22294 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22295 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22296 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22297 (call_mcount_parm_offset): New macro.
22298 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22299 (PROF): Use symbolic stack frame offsets.
22300 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22301 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22302 Redefine in terms of FRAME_MIN_SIZE.
22303 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22304 (_dl_profile_resolve): Likewise. Update comment.
22305 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22306 symbols stack frame offsets.
22307 (__sigsetjmp): Likewise.
22308 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22309 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22310 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22311 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22312
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22314 (FRAME_BACKCHAIN): Remove.
22315 (FRAME_CR_SAVE): Likewise.
22316 (FRAME_LR_SAVE): Likewise.
22317 (FRAME_COMPILER_DW): Likewise.
22318 (FRAME_LINKER_DW): Likewise.
22319 (FRAME_TOC_SAVE): Likewise.
22320 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22321 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22322 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22323 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22325 (CHECK_SP): Use symbolic stack frame offsets.
22326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22327 zone" instead of caller's parameter save area for temp storage.
22328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22329 Likewise. Also, use symbolic stack frame offsets.
22330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22331 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22332 our own stack frame instead of the caller's.
22333 (__socket): Use symbolic stack frame offsets.
22334
122b66de
UW
223352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22336 Alan Modra <amodra@gmail.com>
22337
22338 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22339 Define.
57f41c40
AS
22340 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22341 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22342 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22343 New function.
22344 (elf_machine_fixup_plt): Call it.
22345 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22346 reloc arguments.
22347 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22349 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22350 r2 before calling target.
22351
696caf1d
UW
223522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22353 Alan Modra <amodra@gmail.com>
22354
22355 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22356 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22357 versions of macros to support ELFv2 ABI.
22358 (LOCALENTRY): New macro.
22359 (ENTRY, EALIGN): Use it.
22360 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22361 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22362 fall through into ENTRY entry point.
22363 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22364 Only define if _CALL_ELF != 2.
22365
22366 (elf_machine_matches_host): Verify ABI version matches.
22367 (RTLD_START): Use LOCALENTRY.
22368 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22369 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22370 (PLT_ENTRY_WORDS): New macro.
22371 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22372 (elf_machine_runtime_setup): Support ELFv2 ABI.
22373 (elf_machine_fixup_plt): Likewise.
22374 (elf_machine_plt_conflict): Likewise.
22375 (resolve_ifunc): Likewise.
22376 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22378 Likewise.
22379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22380 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22382 (makecontext): Support ELFv2 ABI.
22383 * elf/elf.h (EF_PPC64_ABI): Define.
22384
d31beafa
UW
223852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22386
57f41c40
AS
22387 * sysdeps/powerpc/powerpc64/sysdep.h
22388 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22389 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22390 (ENTRY) [ASSEMBLER]: ... but instead here ...
22391 (EALIGN) [ASSEMBLER]: ... and here.
22392 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22393 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22394 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22395 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22396 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22397 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22398 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22399 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22401 Use PPC64_LOAD_FUNCPTR.
22402
b525166b
UW
22403 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22404
7ec07d9a
AM
224052013-12-04 Alan Modra <amodra@gmail.com>
22406
22407 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22408 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22409 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22410 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22411
22412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22413 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22414 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22415 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22416 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22417 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22418
5162e7dd
UW
224192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22420
22421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22422 (__makecontext): Fix incorrect CFI when backtracing out of
22423 context created via makecontext.
22424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22425 (__setcontext): Fix incorrect CFI during switch to new context.
22426 (__novec_setcontext): Likewise.
22427
19e3372b
OB
224282013-12-04 Ondřej Bílka <neleai@seznam.cz>
22429
22430 [BZ #4772]
22431 * time/strptime_l.c (__strptime_internal): Allow modifiers
22432 in strptime.
22433 * time/tst-strptime.c (day_tests): Add testcase.
22434
ecaf142d
SP
224352013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22436
22437 * scripts/bench.pl: Skip over blank lines.
22438
fbf964ae
PE
224392013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22440
22441 [BZ #926]
22442 * manual/time.texi (Calendar Time): Clarify what timezone functions
22443 use.
22444
fa60a674
AZ
224452013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22446
22447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22448
d674f0ef
OB
224492013-12-04 Ondřej Bílka <neleai@seznam.cz>
22450
22451 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22452 implementation.
22453 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22454 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22455 * debug/memset_chk.c (__memset_chk): Likewise.
22456 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22457 * debug/strncpy_chk.c: Likewise.
22458
17dea188
JM
224592013-12-03 Joseph Myers <joseph@codesourcery.com>
22460
749008ff
JM
22461 [BZ #15268]
22462 [BZ #15425]
22463 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22464 (__ieee754_exp): For possibly underflowing results, check size of
22465 result and force underflow exception if required.
22466 * math/auto-libm-test-in: Add more tests of exp.
22467 * math/auto-libm-test-out: Regenerated.
22468 * sysdeps/i386/fpu/libm-test-ulps: Update.
22469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22470
17dea188
JM
22471 [BZ #16283]
22472 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22473 * math/w_exp2f.c (__exp2f): Likewise.
22474 * math/w_exp2l.c (__exp2l): Likewise.
22475 * math/auto-libm-test-in: Do not allow missing errno on exp2
22476 underflow.
22477 * math/auto-libm-test-out: Regenerated.
22478
b20de2c3
OB
224792013-12-03 Ondřej Bílka <neleai@seznam.cz>
22480
22481 [BZ #16274]
22482 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22483 handle filename validation.
22484 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22485 (do_open): Delete.
22486
d8e2dbe3
JM
224872013-12-03 Joseph Myers <joseph@codesourcery.com>
22488
34e16df5
JM
22489 [BZ #6786]
22490 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22491 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22492 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22493 <float.h>.
22494 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22496 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22497 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22498 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22499 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22500 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22501 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22502 Add more erfc tests.
22503 * math/auto-libm-test-out: Regenerated.
22504 * sysdeps/i386/fpu/libm-test-ulps: Update.
22505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22506
d8e2dbe3
JM
22507 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22508 exp2, expm1, j0 and j1.
22509 * math/auto-libm-test-out: Regenerated.
22510 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22511 (erfc_test_data): Likewise.
22512 (exp_test_data): Likewise.
22513 (exp_tonearest_test_data): Likewise.
22514 (exp_towardzero_test_data): Likewise.
22515 (exp_downward_test_data): Likewise.
22516 (exp_upward_test_data): Likewise.
22517 (exp10_test_data): Likewise.
22518 (exp2_test_data): Likewise.
22519 (expm1_test_data): Likewise.
22520 (j0_test_data): Likewise.
22521 (j1_test_data): Likewise.
22522 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22523 (input_flag_type): Add flag_xfail_rounding.
22524 (input_flags): Add xfail-rounding.
22525 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22526 (output_for_one_input_case): Handle flag_xfail_rounding.
22527 * sysdeps/i386/fpu/libm-test-ulps: Update.
22528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22529
18d14251
AJ
225302013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22531
3d2e6075 22532 [BZ #16289]
18d14251
AJ
22533 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22534 division by 0.
22535
520d437b
SP
225362013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22537
22538 [BZ #16195]
22539 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22540 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22541 (STAP_PROBE0): New macro.
22542 (STAP_PROBE1): Likewise.
22543 (STAP_PROBE2): Likewise.
22544 (STAP_PROBE3): Likewise.
22545 (STAP_PROBE4): Likewise.
22546
416e0145
OB
225472013-12-02 Ondřej Bílka <neleai@seznam.cz>
22548
22549 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22550
9d17796a
SE
225512013-12-02 Steve Ellcey <sellcey@mips.com>
22552
22553 * benchtests/Makefile (bench): Add sqrt.
22554 (LDLIBS-bench-sqrt): New.
22555 * benchtests/sqrt-input: New.
22556
f524d6a8
PS
225572013-12-02 Pavel Simerda <psimerda@redhat.com>
22558
639a0ef8
PS
22559 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22560 (GAIH_EAI): Likewise.
22561 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22562 (gaih_inet): Likewise.
22563 (getaddrinfo): Don't use GAIH_EAI.
22564
f524d6a8
PS
22565 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22566 (struct gaih): Remove definition.
22567
df3aedaf
SP
225682013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22569
22570 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22571 Use HERRNOP directly.
22572
1ab19dec
AZ
225732013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22574
b42ad38d 22575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22576
176b0c79
JM
225772013-11-30 Joseph Myers <joseph@codesourcery.com>
22578
22579 * math/gen-auto-libm-tests.c (test_functions): Add more
22580 single-argument functions.
22581 (special_fill_pi_2): New function.
22582 (special_fill_minus_pi_2): Likewise.
22583 (special_fill_pi_6): Likewise.
22584 (special_fill_minus_pi_6): Likewise.
22585 (special_fill_pi_3): Likewise.
22586 (special_fill_2pi_3): Likewise.
22587 (special_fill_e): Likewise.
22588 (special_fill_1_e): Likewise.
22589 (special_fill_e_minus_1): Likewise.
22590 (special_real_inputs): Add more special inputs.
22591 (output_for_one_input_case): Do not require ERANGE on underflow to
22592 zero if round-to-nearest result does not underflow to zero, unless
22593 exact results required.
22594 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22595 atan, atanh, cbrt, cos and cosh.
22596 * math/auto-libm-test-out: Regenerated.
22597 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22598 (acos_tonearest_test_data): Likewise.
22599 (acos_towardzero_test_data): Likewise.
22600 (acos_downward_test_data): Likewise.
22601 (acos_upward_test_data): Likewise.
22602 (acosh_test_data): Likewise.
22603 (asin_test_data): Likewise.
22604 (asin_tonearest_test_data): Likewise.
22605 (asin_towardzero_test_data): Likewise.
22606 (asin_upward_test_data): Likewise.
22607 (asinh_test_data): Likewise.
22608 (atan_test_data): Likewise.
22609 (atanh_test_data): Likewise.
22610 (cbrt_test_data): Likewise.
22611 (cos_test_data): Likewise.
22612 (cos_tonearest_test_data): Likewise.
22613 (cos_towardzero_test_data): Likewise.
22614 (cos_downward_test_data): Likewise.
22615 (cos_upward_test_data): Likewise.
22616 (cosh_test_data): Likewise.
22617 (cosh_tonearest_test_data): Likewise.
22618 (cosh_towardzero_test_data): Likewise.
22619 (cosh_downward_test_data): Likewise.
22620 (cosh_upward_test_data): Likewise.
22621 * sysdeps/i386/fpu/libm-test-ulps: Update.
22622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22623
ffb536d0
JM
226242013-11-29 Joseph Myers <joseph@codesourcery.com>
22625
2a77a467
JM
22626 [BZ #6787]
22627 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22628 * math/w_exp10f.c (__exp10f): Likewise.
22629 * math/w_exp10l.c (__exp10l): Likewise.
22630 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22631 errno settings in existing tests.
22632
ea3bc4e8
JM
22633 [BZ #14032]
22634 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22635 precision control set to double precision.
22636 * sysdeps/i386/fpu/w_sqrt.c: New file.
22637 * math/auto-libm-test-in: Add more tests.
22638 * math/auto-libm-test-out: Update.
22639
0712c9d8
JM
22640 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22641 (sqrt_test_tonearest): New function.
22642 (sqrt_towardzero_test_data): New variable.
22643 (sqrt_test_towardzero): New function.
22644 (sqrt_downward_test_data): New variable.
22645 (sqrt_test_downward): New function.
22646 (sqrt_upward_test_data): New variable.
22647 (sqrt_test_upward): New function.
22648 (main): Call the new functions.
22649
ffb536d0
JM
22650 * math/gen-auto-libm-tests.c: New file.
22651 * math/auto-libm-test-in: Likewise.
22652 * math/auto-libm-test-out: New generated file.
22653 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22654 variables.
22655 (%beautify): Add generated representations of zero.
22656 (top level): Set $auto_input and call parse_auto_input.
22657 (beautify): Remove trailing "f" from hex float constants.
22658 (parse_args): Handle XFAIL_TEST.
22659 (convert_condition): New function.
22660 (or_value): Likewise.
22661 (or_cond_value): Likewise.
22662 (generate_testfile): Handle AUTO_TESTS_* lines.
22663 (parse_auto_input): New function.
22664 * math/libm-test.inc (XFAIL_TEST): New macro.
22665 (ERRNO_UNCHANGED): Update value.
22666 (ERRNO_EDOM): Likewise.
22667 (ERRNO_ERANGE): Likewise.
22668 (IGNORE_RESULT): Likewise.
22669 (TEST_COND_flt_32): New macro.
22670 (TEST_COND_dbl_64): Likewise.
22671 (TEST_COND_ldbl_96_intel): Likewise.
22672 (TEST_COND_ldbl_96_m68k): Likewise.
22673 (TEST_COND_ldbl_128): Likewise.
22674 (TEST_COND_ldbl_128ibm): Likewise.
22675 (TEST_COND_long32): Likewise.
22676 (TEST_COND_long64): Likewise.
22677 (TEST_COND_before_rounding): Likewise.
22678 (TEST_COND_after_rounding): Likewise.
22679 (enable_test): Handle XFAIL_TEST flag.
22680 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22681 with finite results.
22682 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22683 auto-libm-test-out.
22684
acd98a8e
AK
226852013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22686 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22687
22688 [BZ #16214]
22689 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22690 __tls_get_addr_internal instead of __tls_get_offset in order to
22691 avoid GOT pointer dependency. Make rtld export
22692 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22693 __tls_get_addr since we are a __tls_get_offset platform.
22694 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22695 GOT pointer being set up before.
22696 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22697
3c1c46a6
JM
226982013-11-28 Joseph Myers <joseph@codesourcery.com>
22699
7475aef5
JM
22700 * manual/math.texi (Errors in Math Functions): Document accuracy
22701 goals.
22702
8bca7cd8
JM
22703 [BZ #15004]
22704 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22705 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22711 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22713 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22715 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22718 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22719 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22720
91a1f3fe
JM
22721 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22722 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22723 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22724 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22725 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22726 Likewise.
22727 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22728 Likewise.
22729 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22730 Likewise.
22731 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22732 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22733 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22734 atomic-feupdateenv and flt-rounds.
22735 * sysdeps/powerpc/nofpu/Versions (libc): Add
22736 __atomic_feholdexcept, __atomic_feclearexcept,
22737 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22738 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22739 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22740 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22741 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22742 here.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22744 Update.
22745
c5df7609
JM
22746 * manual/arith.texi (FP Exceptions): Document that exceptions may
22747 not be raised when matherr is used.
22748 (Math Error Reporting): Document overflow in directed rounding
22749 modes. Document that errno may not be set when finite values are
22750 returned on overflow. Document intent to set errno on underflow
22751 only for underflow to zero.
22752
3c1c46a6
JM
22753 [BZ #16271]
22754 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22755 round-to-nearest then adjust result for other rounding modes.
22756 * include/fenv.h (fegetround): Use libm_hidden_proto.
22757 * math/fegetround.c (fegetround): Use libm_hidden_def.
22758 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22759 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22760 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22761 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22762 Likewise.
22763 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22764 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22765 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22766 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22767
5a4c6d53
SP
227682013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22769
22770 [BZ #16077]
22771 * nss/Versions (libnss_files): Add
22772 _nss_files_gethostbyname3_r.
22773 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22774 New function.
22775 (HOST_DB_LOOKUP): Remove macro.
22776 (_nss_files_gethostbyname_r): Implement function without the
22777 HOST_DB_LOOKUP macro.
22778 (_nss_files_gethostbyname2_r): Likewise.
22779
897b98ba
OB
227802013-11-28 Ondřej Bílka <neleai@seznam.cz>
22781
22782 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22783
6f476861
UB
227842013-11-26 Uros Bizjak <ubizjak@gmail.com>
22785
22786 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22787 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22788 warning.
22789
bd12ab55
AZ
227902013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22791
22792 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22793 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22794 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22795 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22796 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22797 __fe_nomask_env_priv and attribute_hidden.
22798 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22799 (libc_feupdateenv_test_ppc): Likewise.
22800 (libc_feresetround_ppc): Likewise.
22801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22802 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22803 compat_symbol macro.
22804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22805 (__fe_nomask_env): Likewise.
22806 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22807
52bb6543
OB
228082013-11-26 Ondřej Bílka <neleai@seznam.cz>
22809
22810 * string/Makefile: Remove ifunc tests.
22811 * string/test-string.h: Define TEST_IFUNC.
22812 * string/test-bcopy-ifunc.c: Remove.
22813 * string/test-bzero-ifunc.c: Likewise.
22814 * string/test-memccpy-ifunc.c: Likewise.
22815 * string/test-memchr-ifunc.c: Likewise.
22816 * string/test-memcmp-ifunc.c: Likewise.
22817 * string/test-memcpy-ifunc.c: Likewise.
22818 * string/test-memmem-ifunc.c: Likewise.
22819 * string/test-memmove-ifunc.c: Likewise.
22820 * string/test-mempcpy-ifunc.c: Likewise.
22821 * string/test-memrchr-ifunc.c: Likewise.
22822 * string/test-memset-ifunc.c: Likewise.
22823 * string/test-rawmemchr-ifunc.c: Likewise.
22824 * string/test-stpcpy-ifunc.c: Likewise.
22825 * string/test-stpncpy-ifunc.c: Likewise.
22826 * string/test-strcasecmp-ifunc.c: Likewise.
22827 * string/test-strcasestr-ifunc.c: Likewise.
22828 * string/test-strcat-ifunc.c: Likewise.
22829 * string/test-strchr-ifunc.c: Likewise.
22830 * string/test-strchrnul-ifunc.c: Likewise.
22831 * string/test-strcmp-ifunc.c: Likewise.
22832 * string/test-strcpy-ifunc.c: Likewise.
22833 * string/test-strcspn-ifunc.c: Likewise.
22834 * string/test-strlen-ifunc.c: Likewise.
22835 * string/test-strncasecmp-ifunc.c: Likewise.
22836 * string/test-strncat-ifunc.c: Likewise.
22837 * string/test-strncmp-ifunc.c: Likewise.
22838 * string/test-strncpy-ifunc.c: Likewise.
22839 * string/test-strnlen-ifunc.c: Likewise.
22840 * string/test-strpbrk-ifunc.c: Likewise.
22841 * string/test-strrchr-ifunc.c: Likewise.
22842 * string/test-strspn-ifunc.c: Likewise.
22843 * string/test-strstr-ifunc.c: Likewise.
22844
ab260039 228452013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22846
22847 * benchtests/Makefile: Remove ifunc tests.
22848 * benchtests/bench-string.h: Define TEST_IFUNC.
22849 * benchtests/bench-bcopy-ifunc.c: Remove.
22850 * benchtests/bench-bzero-ifunc.c: Likewise.
22851 * benchtests/bench-memccpy-ifunc.c: Likewise.
22852 * benchtests/bench-memchr-ifunc.c: Likewise.
22853 * benchtests/bench-memcmp-ifunc.c: Likewise.
22854 * benchtests/bench-memcpy-ifunc.c: Likewise.
22855 * benchtests/bench-memmem-ifunc.c: Likewise.
22856 * benchtests/bench-memmove-ifunc.c: Likewise.
22857 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22858 * benchtests/bench-memrchr-ifunc.c: Likewise.
22859 * benchtests/bench-memset-ifunc.c: Likewise.
22860 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22861 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22862 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22863 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22864 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22865 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22866 * benchtests/bench-strcat-ifunc.c: Likewise.
22867 * benchtests/bench-strchr-ifunc.c: Likewise.
22868 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22869 * benchtests/bench-strcmp-ifunc.c: Likewise.
22870 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22871 * benchtests/bench-strcpy-ifunc.c: Likewise.
22872 * benchtests/bench-strcspn-ifunc.c: Likewise.
22873 * benchtests/bench-strlen-ifunc.c: Likewise.
22874 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22875 * benchtests/bench-strncat-ifunc.c: Likewise.
22876 * benchtests/bench-strncmp-ifunc.c: Likewise.
22877 * benchtests/bench-strncpy-ifunc.c: Likewise.
22878 * benchtests/bench-strnlen-ifunc.c: Likewise.
22879 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22880 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22881 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22882 * benchtests/bench-strspn-ifunc.c: Likewise.
22883 * benchtests/bench-strstr-ifunc.c: Likewise.
22884
228852013-11-26 Ondřej Bílka <neleai@seznam.cz>
22886
ab260039
OB
22887 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22888
d1d9eaf4 228892013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22890
d1d9eaf4
OB
22891 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22892 * rt/aio.h: Likewise.
22893 * sysdeps/gnu/bits/utmp.h: Likewise.
22894 * sysdeps/gnu/bits/utmpx.h: Likewise.
22895 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22896 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22897 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22898 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22899 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22900 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22901 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22902 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22903 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22904 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22905 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22906 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22907 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22909 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22910 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22911 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22912 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22913 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22914 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22915 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22916 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22917 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22918 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22919 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22921 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22922 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22923 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22924 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22925 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22926 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22927 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22928 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22929 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22930 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22931 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22932 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22933 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22934 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22935 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22936 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22937
a7624ed9
CD
229382013-11-25 Carlos O'Donell <carlos@redhat.com>
22939
22940 [BZ #16245]
22941 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22942 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22943
63cfe52b
JM
229442013-11-25 Joseph Myers <joseph@codesourcery.com>
22945
22946 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22947 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22948 Likewise.
22949
41e8926a
AZ
229502013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22951
22952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22953 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22954 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22955 (__fesetround): Remove define.
22956 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22957 rounding and exceptions handling.
22958 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22959 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22960 (__fe_nomask_env): Likewise.
22961 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22962 __fegetround instead of fegetround.
22963 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22964 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22965
6851bd4d
RM
229662013-11-21 Roland McGrath <roland@hack.frob.com>
22967
070906ff
RM
22968 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22969 it's there.
22970
6851bd4d
RM
22971 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22972
84ae135d
MI
229732013-11-21 Meador Inge <meadori@codesourcery.com>
22974
22975 [BZ #11157]
22976 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22977 (encrypt_r): Likewise.
22978 * malloc/obstack.h (obstack_free): Likewise.
22979 * posix/unistd.h (encrypt): Likewise.
22980
daf75146
GM
229812013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22982
22983 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22984 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22985 DL_CALL_DT_FINI() that call the functions directly.
22986 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22987 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22988 * elf/dl-fini.c: Likewise.
22989
10ad46bc
OB
229902013-11-20 Ondřej Bílka <neleai@seznam.cz>
22991
22992 * malloc/hooks.c (memalign_check): Add alignment rounding.
22993 * malloc/malloc.c (_mid_memalign): New function.
22994 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22995 Implement by calling _mid_memalign.
22996 * manual/probes.texi (Memory Allocation Probes): Remove
22997 memory_valloc_retry and memory_pvalloc_retry.
22998
f3fd2628
SP
229992013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23000
4712799f
SP
23001 * locale/programs/locarchive.c (open_archive): Add const
23002 qualifier to ARCHIVEFNAME and copy default fname to
23003 DEFAULT_FNAME.
23004
0417b20f
SP
23005 [BZ #15601]
23006 * libio/tst-widetext.input: Rename Oriya to Odia.
23007 * locale/iso-639.def: Likewise.
23008
f3fd2628
SP
23009 * manual/probes.texi (Mathematical Function Probes): Add
23010 documentation for sin, cos, asin and acos probes.
23011 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23012 (__sin32): Add slowasin probe.
23013 (__cos32): Add slowacos probe.
23014 (__mpsin): Add slowsin probe.
23015 (__mpcos): Add slowcos probe.
23016
73c1ce4f
JM
230172013-11-19 Joseph Myers <joseph@codesourcery.com>
23018
23019 [BZ #15483]
23020 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23021 thread-local __sim_exceptions_thread and global
23022 __sim_exceptions_global.
23023 (__sim_disabled_exceptions): Change to thread-local
23024 __sim_disabled_exceptions_thread and global
23025 __sim_disabled_exceptions_global.
23026 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23027 and global __sim_round_mode_global.
23028 (__simulate_exceptions): Use thread-local floating-point state and
23029 set global state from it as needed.
23030 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23031 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23032 __sim_round_mode_thread.
23033 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23034 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23035 and global __sim_exceptions_global.
23036 (__sim_disabled_exceptions): Change to thread-local
23037 __sim_disabled_exceptions_thread and global
23038 __sim_disabled_exceptions_global.
23039 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23040 and global __sim_round_mode_global.
23041 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23042 (SIM_SET_GLOBAL): Likewise.
23043 * sysdeps/powerpc/soft-fp/sfp-machine.h
23044 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23045 __sim_round_mode_thread.
23046 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23047 __sim_disabled_exceptions_thread.
23048 (__sim_exceptions): Change to __sim_exceptions_thread.
23049 (__sim_disabled_exceptions): Change to
23050 __sim_disabled_exceptions_thread.
23051 (__sim_round_mode): Change to __sim_round_mode_thread.
23052 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23053 thread-local floating-point state and set global state from it as
23054 needed.
23055 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23056 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23057 (__sim_disabled_exceptions): Remove extern declaration.
23058 (feenableexcept): Use thread-local floating-point state and set
23059 global state from it as needed.
23060 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23061 extern declaration.
23062 (__sim_disabled_exceptions): Likewise.
23063 (__sim_round_mode): Likewise.
23064 (__fegetenv): Use thread-local floating-point state.
23065 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23066 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23067 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23068 floating-point state and set global state from it as needed.
23069 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23070 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23071 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23072 Likewise.
23073 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23074 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23075 Likewise.
23076 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23077 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23078 Use __sim_round_mode_thread.
23079 * math/test-fenv-tls.c: New file.
23080 * math/Makefile (tests): Add test-fenv-tls.
23081 ($(objpfx)test-fenv-tls): Depend on
23082 $(common-objpfx)nptl/libpthread.so.
23083
b5449b12
AS
230842013-11-19 Andreas Schwab <schwab@suse.de>
23085
23086 * locale/programs/locale.c (show_info): Decode wordarray elements.
23087 * locale/categories.def (LC_MONETARY): Add element for
23088 _NL_MONETARY_CRNCYSTR.
23089 * locale/C-monetary.c (conversion_rate): New variable.
23090 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23091 element.
23092
e186536b
CM
230932013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23094
23095 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23096 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23097
5c349950
PP
230982013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23099
23100 * elf/Makefile (tst-auxv): New test.
23101 * elf/tst-auxv.c: New
23102 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23103
699df45b
JM
231042013-11-18 Joseph Myers <joseph@codesourcery.com>
23105
23106 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23107 (hidden_proto): Caller changed.
23108 (hidden_tls_proto): New macro.
23109 (libc_hidden_tls_proto): Likewise.
23110 (rtld_hidden_tls_proto): Likewise.
23111 (libm_hidden_tls_proto): Likewise.
23112 (libresolv_hidden_tls_proto): Likewise.
23113 (librt_hidden_tls_proto): Likewise.
23114 (libdl_hidden_tls_proto): Likewise.
23115 (libnss_files_hidden_tls_proto): Likewise.
23116 (libnsl_hidden_tls_proto): Likewise.
23117 (libnss_nisplus_hidden_tls_proto): Likewise.
23118 (libutil_hidden_tls_proto): Likewise.
23119
b7589107
OB
231202013-11-18 Ondřej Bílka <neleai@seznam.cz>
23121
23122 [BZ #10253]
23123 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23124 (decompose_rpath): Defer expansion to fillin_rpath.
23125 (_dl_init_paths): Pass linkmap to fillin_rpath.
23126
250c23bd
RS
231272013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23128
23129 * benchtests/Makefile: Add strsep.
23130 * benchtests/bench-strsep.c: New file: strsep benchtest.
23131 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23132
a7931fcf
AS
231332013-11-18 Andreas Schwab <schwab@suse.de>
23134
23135 * locale/programs/locale.c (show_info) [case byte]: Check for
23136 '\377' instead of '\177'.
23137 * locale/C-monetary.c (not_available): Always use "\377".
23138 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23139 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23140 detect unavailable sign_posn locale elements.
23141 * locale/localeconv.c (__localeconv): For grouping and
23142 mon_grouping handle "\177" and "\377" like no grouping.
23143 (INT_ELEM): New macro. Use it to set all numeric members.
23144 * locale/programs/ld-monetary.c (monetary_read)
23145 <tok_mon_grouping>: Normalize single -1 to the empty string.
23146 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23147 Likewise.
23148
728dab0e
OB
231492013-11-07 Ondřej Bílka <neleai@seznam.cz>
23150
23151 [BZ #16055]
23152 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23153 when we match (nil).
23154 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23155
66294491
JM
231562013-11-16 Joseph Myers <joseph@codesourcery.com>
23157
ce665817
JM
23158 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23159 (NO_TEST_INLINE): Update value.
23160 (ERRNO_UNCHANGED): Likewise.
23161 (ERRNO_EDOM): Likewise.
23162 (ERRNO_ERANGE): Likewise.
23163 (IGNORE_RESULT): Likewise.
23164 (check_float_internal): Check signs of NaN results if
23165 TEST_NAN_SIGN used.
23166 (check_complex): Pass TEST_NAN_SIGN flag through to second
23167 check_float_internal call.
23168 (copysign_test_data): Add tests with quiet NaNs as second
23169 argument. Use TEST_NAN_SIGN.
23170 (fabs_test_data): Add test of negative quiet NaN argument. Use
23171 TEST_NAN_SIGN.
23172 (signbit_test_data): Add tests of quiet NaN argument.
23173 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23174
ee1466a9
JM
23175 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23176 $ignore_result.
23177 (parse_args): Handle function results specified as IGNORE.
23178 * math/libm-test.inc (IGNORE_RESULT): New macro.
23179 (check_float_internal): Do not check numerical result if flag
23180 IGNORE_RESULT set.
23181 (check_complex): Pass through IGNORE_RESULT to second
23182 check_float_internal call.
23183 (check_int): Do not check numerical result if flag IGNORE_RESULT
23184 set.
23185 (check_long): Likewise.
23186 (check_bool): Likewise.
23187 (check_longlong): Likewise.
23188 (lrint_test_data): Add tests of infinite and NaN arguments.
23189 (lrint_tonearest_test_data): Likewise.
23190 (lrint_towardzero_test_data): Likewise.
23191 (lrint_downward_test_data): Likewise.
23192 (lrint_upward_test_data): Likewise.
23193 (llrint_test_data): Likewise.
23194 (llrint_tonearest_test_data): Likewise.
23195 (llrint_towardzero_test_data): Likewise.
23196 (llrint_downward_test_data): Likewise.
23197 (llrint_upward_test_data): Likewise.
23198 (lround_test_data): Likewise.
23199 (llround_test_data): Likewise.
23200
14407b7e
JM
23201 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23202 (ERRNO_UNCHANGED): Update value.
23203 (ERRNO_EDOM): Likewise.
23204 (ERRNO_ERANGE): Likewise.
23205 (NO_TEST_INLINE_FLOAT): New macro.
23206 (NO_TEST_INLINE_DOUBLE): Likewise.
23207 (enable_test): New function.
23208 (RUN_TEST_f_f): Check enable_test before running test.
23209 (RUN_TEST_2_f): Likewise.
23210 (RUN_TEST_fff_f): Likewise.
23211 (RUN_TEST_c_f): Likewise.
23212 (RUN_TEST_f_f1): Likewise.
23213 (RUN_TEST_fF_f1): Likewise.
23214 (RUN_TEST_fI_f1): Likewise.
23215 (RUN_TEST_ffI_f1): Likewise.
23216 (RUN_TEST_c_c): Likewise.
23217 (RUN_TEST_cc_c): Likewise.
23218 (RUN_TEST_f_i): Likewise.
23219 (RUN_TEST_f_i_tg): Likewise.
23220 (RUN_TEST_ff_i_tg): Likewise.
23221 (RUN_TEST_f_b): Likewise.
23222 (RUN_TEST_f_b_tg): Likewise.
23223 (RUN_TEST_f_l): Likewise.
23224 (RUN_TEST_f_L): Likewise.
23225 (RUN_TEST_fFF_11): Likewise.
23226 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23227 conditionals.
23228 (cosh_test_data): Likewise.
23229 (exp_test_data): Likewise.
23230 (expm1_test_data): Likewise.
23231 (hypot_test_data): Likewise.
23232 (pow_test_data): Likewise.
23233 (sinh_test_data): Likewise.
23234 (tanh_test_data): Likewise.
23235 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23236 flags argument.
23237
ca07f197
JM
23238 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23239 tests with quiet NaN input and output.
23240 (acosh_test_data): Likewise.
23241 (asin_test_data): Likewise.
23242 (asinh_test_data): Likewise.
23243 (atan_test_data): Likewise.
23244 (atanh_test_data): Likewise.
23245 (atan2_test_data): Likewise.
23246 (cbrt_test_data): Likewise.
23247 (cos_test_data): Likewise.
23248 (cosh_test_data): Likewise.
23249 (erf_test_data): Likewise.
23250 (erfc_test_data): Likewise.
23251 (exp_test_data): Likewise.
23252 (exp10_test_data): Likewise.
23253 (exp2_test_data): Likewise.
23254 (expm1_test_data): Likewise.
23255 (hypot_test_data): Likewise.
23256 (j0_test_data): Likewise.
23257 (j1_test_data): Likewise.
23258 (jn_test_data): Likewise.
23259 (lgamma_test_data): Likewise.
23260 (log_test_data): Likewise.
23261 (log10_test_data): Likewise.
23262 (log1p_test_data): Likewise.
23263 (log2_test_data): Likewise.
23264 (pow_test_data): Likewise.
23265 (scalb_test_data): Likewise.
23266 (sin_test_data): Likewise.
23267 (sincos_test_data): Likewise.
23268 (sinh_test_data): Likewise.
23269 (tan_test_data): Likewise.
23270 (tanh_test_data): Likewise.
23271 (tgamma_test_data): Likewise.
23272 (y0_test_data): Likewise.
23273 (y1_test_data): Likewise.
23274 (yn_test_data): Likewise.
23275
66294491
JM
23276 [BZ #16167]
23277 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23278 argument being NaN and avoid computations with second argument in
23279 that case.
23280 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23281 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23282 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23283
1820b143
CL
232842013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23285
23286 * locale/iso-639.def: Add Chitwani Tharu (the).
23287
714bd261
AS
232882013-11-14 Andreas Schwab <schwab@suse.de>
23289
23290 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23291 word instead of empty string.
23292
7ab44563
AZ
232932013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23294
23295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23296 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23298 (__fe_nomask_env): Likewise.
23299
e8470ea2
SE
233002013-11-13 Steve Ellcey <sellcey@mips.com>
23301
23302 * benchtests/bench-timing.h: Include time.h.
23303
17c1d9f0
L
233042013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23305
23306 [BZ #15997]
23307 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23308 to 3.4.0 for x32.
23309 * sysdeps/unix/sysv/linux/configure: Regenerated.
23310
9310c284
JM
233112013-11-13 Joseph Myers <joseph@codesourcery.com>
23312
23313 [BZ #16151]
23314 * stdlib/strtod_l.c (round_and_return): Do not consider
23315 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23316 exponent one less than half the least subnormal exponent.
23317 * stdlib/test-strtod-round-data: Add more tests.
23318 * stdlib/tst-strtod-round.c (tests): Regenerated.
23319
7a2ad8cf
AZ
233202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23321
23322 [BZ #14143]
23323 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23324 (__fe_mask_env): Likewise.
23325 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23326 libm_hidden_proto and add function prototype.
23327 (__fe_mask_env): Add function prototype.
23328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23329 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23331 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23333 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23334
50727aa7
MS
233352013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23336
b2f386c1 23337 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23338 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23339
a615be46
MS
233402013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23341
23342 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23343 of htab_find_slot().
23344
7ddace62
DM
233452013-11-11 David S. Miller <davem@davemloft.net>
23346
23347 [BZ #16150]
23348 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23349 symbol in the non-vis3 case in static builds.
23350 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23351 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23352 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23353 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23354
9182aa67
JK
233552013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23356
23357 [BZ #387]
23358 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23359 it is empty.
23360
450a2e2d
AZ
233612013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23362
b2f386c1
SP
23363 * benchtests/Makefile: Add bench-strtod.
23364 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23365
8ec3f656
AS
233662013-11-11 Andreas Schwab <schwab@suse.de>
23367
23368 [BZ #16153]
23369 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23370 terminating NUL in key length.
23371
76a9b998
AZ
233722013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23373
23374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23375 Add artificial ODP entry for vDSO symbol for PPC64.
23376 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23377 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23378
e4368156
OB
233792013-11-07 Ondřej Bílka <neleai@seznam.cz>
23380
23381 [BZ #15374]
23382 * nss/getent.c (services_keys): Recognize services starting with digit.
23383
8d6bb57c
DM
233842013-11-06 David S. Miller <davem@davemloft.net>
23385
23386 [BZ #15985]
23387 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23388 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23389
e256c421
WN
233902013-11-06 Will Newton <will.newton@linaro.org>
23391
23392 * manual/memory.texi (Malloc Examples): Remove register
23393 keyword from examples.
23394
f6e12daa 233952013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23396
f6e12daa 23397 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23398
9d880655
AS
233992013-11-04 Joseph Myers <joseph@codesourcery.com>
23400
fd2f9486 23401 [BZ #6981]
9d880655
AS
23402 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23403 depending on [__GCC_IEC_559 > 0].
23404 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23405 depending on [__GCC_IEC_559_COMPLEX > 0].
23406
ae129d3c
CL
234072013-11-03 Chris Leonard <cjl@sugarlabs.org>
23408
23409 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23410 to iso-639.def.
23411
4a15c2a4 234122013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23413
23414 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23415
8b35e35d
OB
234162013-11-01 Ondřej Bílka <neleai@seznam.cz>
23417
23418 [BZ #16112]
23419 * malloc/malloc (malloc_info): Do not handle first bin as
23420 special case.
23421
1d70fd6c
CL
234222013-11-01 Chris Leonard <cjl@sugarlabs.org>
23423
23424 * locale/iso-639.def: Add Central Nahuatl (nhn).
23425
8c5c2600
BH
234262013-11-01 Bruno Haible <bruno@clisp.org>
23427
23428 [BZ #7003]
23429 * manual/math.texi (BSD Random): Specify range upper bound as
23430 in POSIX.
23431
da5579c2
CL
234322013-10-31 Chris Leonard <cjl@sugarlabs.org>
23433
23434 * locale/iso-639.def: Add Meadow Mari (mhr).
23435
5d30d853
OB
234362013-10-31 Ondřej Bílka <neleai@seznam.cz>
23437
23438 [BZ #14752], [BZ #15763]
23439 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23440 Validate name.
23441 * rt/tst_shm.c: Add test for escaping directory.
23442
a4966c61
AS
234432013-10-31 Andreas Schwab <schwab@suse.de>
23444
8a43e768 23445 [BZ #15917]
a4966c61
AS
23446 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23447 followed by 'x' as part of digit sequence.
23448 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23449
28d708c4
MAP
234502013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23451
23452 [BZ #16037]
23453 * configure.ac: allow GNU Make 4.0 and greater.
23454 * configure: Regenerated.
23455
a56ee40b
WN
234562013-10-30 Will Newton <will.newton@linaro.org>
23457
23458 [BZ #16038]
23459 * malloc/hooks.c (memalign_check): Limit alignment to the
23460 maximum representable power of two.
23461 * malloc/malloc.c (__libc_memalign): Likewise.
23462 * malloc/tst-memalign.c (do_test): Add test for very
23463 large alignment values.
23464 * malloc/tst-posix_memalign.c (do_test): Likewise.
23465
c6e4925d
OB
234662013-10-30 Ondřej Bílka <neleai@seznam.cz>
23467
23468 [BZ #11087]
23469 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23470 (munmap_chunk): Likewise.
23471 (mremap_chunk): Likewise.
23472
234732013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23474
8a43e768 23475 [BZ #15799]
bbea82f7
OB
23476 * stdlib/div.c (div): Remove obsolete code.
23477 * stdlib/ldiv.c (ldiv): Likewise.
23478 * stdlib/lldiv.c (lldiv): Likewise.
23479
977f4b31
SP
234802013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23481
23482 [BZ #16071]
23483 * nss/nss_files/files-XXX.c (get_contents_ret): New
23484 enumerator.
23485 (get_contents): New function.
23486 (internal_getent): Use it. Expand size of LINEBUFLEN.
23487
cb8a6dbd
MF
234882013-10-30 Mike Frysinger <vapier@gentoo.org>
23489
23490 * configure.in: Moved to ...
23491 * configure.ac: ... here. Change reference to configure.in
23492 to configure.ac.
23493 * sysdeps/arm/preconfigure.ac: ... here.
23494 configure.in to configure.ac.
23495 * sysdeps/gnu/configure.in: Moved to ...
23496 * sysdeps/gnu/configure.ac: ... here.
23497 * sysdeps/i386/configure.in: Moved to ...
23498 * sysdeps/i386/configure.ac: ... here.
23499 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23500 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23501 * sysdeps/mach/configure.in: Moved to ...
23502 * sysdeps/mach/configure.ac: ... here.
23503 * sysdeps/mach/hurd/configure.in: Moved to ...
23504 * sysdeps/mach/hurd/configure.ac: ... here.
23505 * sysdeps/powerpc/configure.in: Moved to ...
23506 * sysdeps/powerpc/configure.ac: ... here.
23507 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23508 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23509 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23510 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23511 * sysdeps/s390/s390-32/configure.in: Moved to ...
23512 * sysdeps/s390/s390-32/configure.ac: ... here.
23513 * sysdeps/s390/s390-64/configure.in: Moved to ...
23514 * sysdeps/s390/s390-64/configure.ac: ... here.
23515 * sysdeps/sh/configure.in: Moved to ...
23516 * sysdeps/sh/configure.ac: ... here.
23517 * sysdeps/sparc/configure.in: Moved to ...
23518 * sysdeps/sparc/configure.ac: ... here.
23519 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23520 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23521 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23522 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23523 * sysdeps/x86_64/configure.in: Moved to ...
23524 * sysdeps/x86_64/configure.ac: ... here.
23525 * sysdeps/x86_64/preconfigure.in: Moved to ...
23526 * sysdeps/x86_64/preconfigure.ac: ... here.
23527 * aclocal.m4: Change reference to configure.in to configure.ac.
23528 * config.h.in: Likewise.
23529 * manual/install.texi: Likewise.
23530 * manual/maint.texi: Likewise.
23531 * Makefile: Likewise.
23532 * malloc/Makefile: Likewise.
23533 * nscd/Makefile: Likewise.
23534 * Makeconfig: Change reference to configure.in and
23535 preconfigure.in to configure.ac and preconfigure.ac
23536 respectively.
23537 * INSTALL: Regenerated.
23538 * configure: Likewise.
23539 * sysdeps/gnu/configure: Likewise.
23540 * sysdeps/i386/configure: Likewise.
23541 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23542 * sysdeps/mach/configure: Likewise.
23543 * sysdeps/mach/hurd/configure: Likewise.
23544 * sysdeps/powerpc/configure: Likewise.
23545 * sysdeps/powerpc/powerpc32/configure: Likewise.
23546 * sysdeps/powerpc/powerpc64/configure: Likewise.
23547 * sysdeps/s390/s390-32/configure: Likewise.
23548 * sysdeps/s390/s390-64/configure: Likewise.
23549 * sysdeps/sh/configure: Likewise.
23550 * sysdeps/sparc/configure: Likewise.
23551 * sysdeps/unix/sysv/linux/configure: Likewise.
23552 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23553 * sysdeps/x86_64/configure: Likewise.
23554 * sysdeps/x86_64/preconfigure: Likewise.
23555
36a4953a
AS
235562013-10-29 Andreas Schwab <schwab@suse.de>
23557
23558 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23559
c79a1204
SP
235602013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23561
dfa1b402
SP
23562 * benchtests/pow-inputs: Add new inputs.
23563
54f73d9c
SP
23564 * benchtests/exp-inputs: Add new inputs.
23565
c79a1204
SP
23566 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23567 conditional check for return value.
23568 (__cos32): Likewise.
23569
67beb545 235702013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23571
23572 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23573 to provide a boost for large inputs with word alignment.
23574 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23575 implementation based on optimized PPC64 strcpy.
23576 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23577 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23578 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23579 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23580
151659f6
OB
235812013-10-25 Ondřej Bílka <neleai@seznam.cz>
23582
482a077e 23583 [BZ #2801]
151659f6
OB
23584 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23585
10b0f26b
OB
235862013-10-25 Ondřej Bílka <neleai@seznam.cz>
23587
23588 [BZ #14876]
23589 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23590 * time/tst-strptime.c (day_tests): Add testcase.
23591
ca42d35e
OB
235922013-10-25 Ondřej Bílka <neleai@seznam.cz>
23593
482a077e 23594 [BZ #14029]
ca42d35e
OB
23595 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23596
52e6d801
FB
235972013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23598
23599 [BZ #16074]
23600 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23601 MAP_FAILED on error.
23602
7cbcdb36
SP
236032013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23604
23605 [BZ #16072]
23606 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23607 heap for large requests.
23608
894f3f10
AM
236092013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23610
23611 [BZ #9954]
23612 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23613 result if the result has no associated interface.
23614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23615 interface for all 127.X.Y.Z addresses.
23616
b85545a6
CL
236172013-10-24 Chris Leonard <cjl@sugarlabs.org>
23618
23619 * locale/iso-639.def: Add Ligurian (lij)
23620
d1f23d46
OB
236212013-10-21 Ondřej Bílka <neleai@seznam.cz>
23622
23623 [BZ #15825]
23624 * sunrpc/rpc_main.c: Document rpcgen -5.
23625
4db5b08f
MS
236262013-10-19 Michael Stahl <mstahl@redhat.com>
23627
23628 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23629
a471e96a
OB
236302013-10-19 Ondřej Bílka <neleai@seznam.cz>
23631
d1f23d46 23632 [BZ #10278]
a471e96a
OB
23633 * posix/glob.c: Match only directories when trailing slash is present.
23634 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23635 (main): Add testcase.
23636
45c30c61
OB
236372013-10-19 Ondřej Bílka <neleai@seznam.cz>
23638
23639 [BZ #15670]
23640 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23641
484c12fb
CD
236422013-10-18 Carlos O'Donell <carlos@redhat.com>
23643
3d7dc513
CD
23644 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23645 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23646 AUTH_DES and cindex for FIPS 140-2.
23647 (DES Encryption): Add cindex FIPS 46-3.
23648
484c12fb
CD
23649 * locale/locarchive.h (struct locarhandle): Add fname.
23650 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23651 if an optional argument was specified to --list-archive,
23652 otherwise NULL.
23653 * locale/programs/locarchive.c (show_archive_content): Take new
23654 argument fname and pass it via ah.fname to open_archive.
23655 * locale/programs/localedef.h: Update decl.
23656 (open_archive): If AH->fname is non-null, open that file
23657 rather than the default file name, and don't ignore ENOENT.
23658 (create_archive): Set AH.fname to NULL.
23659 (delete_locales_from_archive): Likewise.
23660 (add_locales_to_archive): Likewise.
23661 * locale/programs/locfile.c (write_all_categories): Likewise.
23662
3c8325fb
JM
236632013-10-18 Joseph Myers <joseph@codesourcery.com>
23664 Aldy Hernandez <aldyh@redhat.com>
23665
23666 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23667 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23668 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23669 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23670 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23671 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23672 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23673 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23674 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23675 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23676 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23677 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23678 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23679 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23680 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23681 Likewise.
23682 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23683 Likewise.
23684 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23685 Likewise.
23686 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23687 Likewise.
23688 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23689 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23690 Likewise.
23691 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23692 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23693 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23694 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23695 Likewise.
23696 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23697 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23698 * sysdeps/powerpc/preconfigure: Likewise.
23699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23700 Likewise.
23701 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23702 Replace contents of file by #include of <fenv_libc.h>.
23703 * sysdeps/powerpc/soft-fp/sfp-machine.h
23704 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23705 and <sys/prctl.h>.
23706 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23709 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23719 Allow copysignl PLT reference to be missing.
23720
5abe0682
RS
237212013-10-18 Richard Sandiford <richard@codesourcery.com>
23722 Joseph Myers <joseph@codesourcery.com
23723
23724 [BZ #15948]
23725 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23726 single character.
23727 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23728
c7738d08
SP
237292013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23730
23731 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23732 * elf/tst-tls1.c: Likewise.
23733 * elf/tst-tls10.h: Likewise.
23734 * elf/tst-tls14.c: Likewise.
23735 * elf/tst-tls2.c: Likewise.
23736 * elf/tst-tls3.c: Likewise.
23737 * elf/tst-tls4.c: Likewise.
23738 * elf/tst-tls5.c: Likewise.
23739 * elf/tst-tls6.c: Likewise.
23740 * elf/tst-tls7.c: Likewise.
23741 * elf/tst-tls8.c: Likewise.
23742 * elf/tst-tls9.c: Likewise.
23743 * elf/tst-tlsmod1.c: Likewise.
23744 * elf/tst-tlsmod13.c: Likewise.
23745 * elf/tst-tlsmod13a.c: Likewise.
23746 * elf/tst-tlsmod14a.c: Likewise.
23747 * elf/tst-tlsmod16a.c: Likewise.
23748 * elf/tst-tlsmod16b.c: Likewise.
23749 * elf/tst-tlsmod2.c: Likewise.
23750 * elf/tst-tlsmod3.c: Likewise.
23751 * elf/tst-tlsmod4.c: Likewise.
23752 * elf/tst-tlsmod5.c: Likewise.
23753 * elf/tst-tlsmod6.c: Likewise.
23754
0bfcf2c7
OB
237552013-10-18 Ondřej Bílka <neleai@seznam.cz>
23756
23757 [BZ #12486]
23758 * malloc/malloc.c: remove checks for statistics.
23759
264aad1e
OB
237602013-10-17 Ondřej Bílka <neleai@seznam.cz>
23761
23762 [BZ #15277]
23763 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23764 * inet/tst-network.c: Add testcase.
23765
b957ced8
AS
237662013-10-17 Andreas Schwab <schwab@suse.de>
23767
23768 [BZ #15218]
23769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23770 to determine canonical name.
23771
c5d5d574
OB
237722013-10-17 Ondřej Bílka <neleai@seznam.cz>
23773
23774 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23775 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23776 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23777 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23779 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23780 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23781 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23782 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23783 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23784 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23785 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23786 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23787 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23788 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23789 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23791 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23792 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23793 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23794 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23796 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23797 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23798 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23799 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23800 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23801 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23802 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23803 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23804 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23806 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23807 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23808 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23809 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23810 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23811 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23812 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23814 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23815 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23816 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23817 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23818 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23819 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23820 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23821 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23822 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23824 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23825 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23826 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23827 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23829 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23831 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23832
e5c2c2d0
JM
238332013-10-17 Joseph Myers <joseph@codesourcery.com>
23834
23835 [BZ #16041]
23836 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23837 make result into a quiet NaN.
23838
51ca9e29
JM
238392013-10-16 Joseph Myers <joseph@codesourcery.com>
23840
23841 * soft-fp/adddf3.c: Fix horizontal whitespace.
23842 * soft-fp/addsf3.c: Likewise.
23843 * soft-fp/addtf3.c: Likewise.
23844 * soft-fp/divdf3.c: Likewise.
23845 * soft-fp/divsf3.c: Likewise.
23846 * soft-fp/divtf3.c: Likewise.
23847 * soft-fp/double.h: Likewise.
23848 * soft-fp/eqdf2.c: Likewise.
23849 * soft-fp/eqsf2.c: Likewise.
23850 * soft-fp/eqtf2.c: Likewise.
23851 * soft-fp/extenddftf2.c: Likewise.
23852 * soft-fp/extended.h: Likewise.
23853 * soft-fp/extendsfdf2.c: Likewise.
23854 * soft-fp/extendsftf2.c: Likewise.
23855 * soft-fp/extendxftf2.c: Likewise.
23856 * soft-fp/fixdfdi.c: Likewise.
23857 * soft-fp/fixdfsi.c: Likewise.
23858 * soft-fp/fixdfti.c: Likewise.
23859 * soft-fp/fixsfdi.c: Likewise.
23860 * soft-fp/fixsfsi.c: Likewise.
23861 * soft-fp/fixsfti.c: Likewise.
23862 * soft-fp/fixtfdi.c: Likewise.
23863 * soft-fp/fixtfsi.c: Likewise.
23864 * soft-fp/fixtfti.c: Likewise.
23865 * soft-fp/fixunsdfdi.c: Likewise.
23866 * soft-fp/fixunsdfsi.c: Likewise.
23867 * soft-fp/fixunsdfti.c: Likewise.
23868 * soft-fp/fixunssfdi.c: Likewise.
23869 * soft-fp/fixunssfsi.c: Likewise.
23870 * soft-fp/fixunssfti.c: Likewise.
23871 * soft-fp/fixunstfdi.c: Likewise.
23872 * soft-fp/fixunstfsi.c: Likewise.
23873 * soft-fp/fixunstfti.c: Likewise.
23874 * soft-fp/floatdidf.c: Likewise.
23875 * soft-fp/floatdisf.c: Likewise.
23876 * soft-fp/floatditf.c: Likewise.
23877 * soft-fp/floatsidf.c: Likewise.
23878 * soft-fp/floatsisf.c: Likewise.
23879 * soft-fp/floatsitf.c: Likewise.
23880 * soft-fp/floattidf.c: Likewise.
23881 * soft-fp/floattisf.c: Likewise.
23882 * soft-fp/floattitf.c: Likewise.
23883 * soft-fp/floatundidf.c: Likewise.
23884 * soft-fp/floatundisf.c: Likewise.
23885 * soft-fp/floatunditf.c: Likewise.
23886 * soft-fp/floatunsidf.c: Likewise.
23887 * soft-fp/floatunsisf.c: Likewise.
23888 * soft-fp/floatunsitf.c: Likewise.
23889 * soft-fp/floatuntidf.c: Likewise.
23890 * soft-fp/floatuntisf.c: Likewise.
23891 * soft-fp/floatuntitf.c: Likewise.
23892 * soft-fp/fmadf4.c: Likewise.
23893 * soft-fp/fmasf4.c: Likewise.
23894 * soft-fp/fmatf4.c: Likewise.
23895 * soft-fp/gedf2.c: Likewise.
23896 * soft-fp/gesf2.c: Likewise.
23897 * soft-fp/getf2.c: Likewise.
23898 * soft-fp/ledf2.c: Likewise.
23899 * soft-fp/lesf2.c: Likewise.
23900 * soft-fp/letf2.c: Likewise.
23901 * soft-fp/muldf3.c: Likewise.
23902 * soft-fp/mulsf3.c: Likewise.
23903 * soft-fp/multf3.c: Likewise.
23904 * soft-fp/negdf2.c: Likewise.
23905 * soft-fp/negsf2.c: Likewise.
23906 * soft-fp/negtf2.c: Likewise.
23907 * soft-fp/op-1.h: Likewise.
23908 * soft-fp/op-2.h: Likewise.
23909 * soft-fp/op-4.h: Likewise.
23910 * soft-fp/op-8.h: Likewise.
23911 * soft-fp/op-common.h: Likewise.
23912 * soft-fp/quad.h: Likewise.
23913 * soft-fp/single.h: Likewise.
23914 * soft-fp/soft-fp.h: Likewise.
23915 * soft-fp/sqrtdf2.c: Likewise.
23916 * soft-fp/sqrtsf2.c: Likewise.
23917 * soft-fp/sqrttf2.c: Likewise.
23918 * soft-fp/subdf3.c: Likewise.
23919 * soft-fp/subsf3.c: Likewise.
23920 * soft-fp/subtf3.c: Likewise.
23921 * soft-fp/truncdfsf2.c: Likewise.
23922 * soft-fp/trunctfdf2.c: Likewise.
23923 * soft-fp/trunctfsf2.c: Likewise.
23924 * soft-fp/trunctfxf2.c: Likewise.
23925 * soft-fp/unorddf2.c: Likewise.
23926 * soft-fp/unordsf2.c: Likewise.
23927 * soft-fp/unordtf2.c: Likewise.
23928
9ebb0332
JM
239292013-10-15 Joseph Myers <joseph@codesourcery.com>
23930
23931 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23932 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23933
4b1a6d8b
OB
239342013-10-15 Ondřej Bílka <neleai@seznam.cz>
23935
23936 * elf/dl-libc.c: Clear initfini list after freeing.
23937
1e145589
JM
239382013-10-14 Joseph Myers <joseph@codesourcery.com>
23939
23940 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23941 * soft-fp/addsf3.c: Likewise.
23942 * soft-fp/addtf3.c: Likewise.
23943 * soft-fp/divdf3.c: Likewise.
23944 * soft-fp/divsf3.c: Likewise.
23945 * soft-fp/divtf3.c: Likewise.
23946 * soft-fp/double.h: Likewise.
23947 * soft-fp/eqdf2.c: Likewise.
23948 * soft-fp/eqsf2.c: Likewise.
23949 * soft-fp/eqtf2.c: Likewise.
23950 * soft-fp/extenddftf2.c: Likewise.
23951 * soft-fp/extended.h: Likewise.
23952 * soft-fp/extendsfdf2.c: Likewise.
23953 * soft-fp/extendsftf2.c: Likewise.
23954 * soft-fp/extendxftf2.c: Likewise.
23955 * soft-fp/fixdfdi.c: Likewise.
23956 * soft-fp/fixdfsi.c: Likewise.
23957 * soft-fp/fixdfti.c: Likewise.
23958 * soft-fp/fixsfdi.c: Likewise.
23959 * soft-fp/fixsfsi.c: Likewise.
23960 * soft-fp/fixsfti.c: Likewise.
23961 * soft-fp/fixtfdi.c: Likewise.
23962 * soft-fp/fixtfsi.c: Likewise.
23963 * soft-fp/fixtfti.c: Likewise.
23964 * soft-fp/fixunsdfdi.c: Likewise.
23965 * soft-fp/fixunsdfsi.c: Likewise.
23966 * soft-fp/fixunsdfti.c: Likewise.
23967 * soft-fp/fixunssfdi.c: Likewise.
23968 * soft-fp/fixunssfsi.c: Likewise.
23969 * soft-fp/fixunssfti.c: Likewise.
23970 * soft-fp/fixunstfdi.c: Likewise.
23971 * soft-fp/fixunstfsi.c: Likewise.
23972 * soft-fp/fixunstfti.c: Likewise.
23973 * soft-fp/floatdidf.c: Likewise.
23974 * soft-fp/floatdisf.c: Likewise.
23975 * soft-fp/floatditf.c: Likewise.
23976 * soft-fp/floatsidf.c: Likewise.
23977 * soft-fp/floatsisf.c: Likewise.
23978 * soft-fp/floatsitf.c: Likewise.
23979 * soft-fp/floattidf.c: Likewise.
23980 * soft-fp/floattisf.c: Likewise.
23981 * soft-fp/floattitf.c: Likewise.
23982 * soft-fp/floatundidf.c: Likewise.
23983 * soft-fp/floatundisf.c: Likewise.
23984 * soft-fp/floatunsidf.c: Likewise.
23985 * soft-fp/floatunsisf.c: Likewise.
23986 * soft-fp/floatuntidf.c: Likewise.
23987 * soft-fp/floatuntisf.c: Likewise.
23988 * soft-fp/floatuntitf.c: Likewise.
23989 * soft-fp/fmadf4.c: Likewise.
23990 * soft-fp/fmasf4.c: Likewise.
23991 * soft-fp/fmatf4.c: Likewise.
23992 * soft-fp/gedf2.c: Likewise.
23993 * soft-fp/gesf2.c: Likewise.
23994 * soft-fp/getf2.c: Likewise.
23995 * soft-fp/ledf2.c: Likewise.
23996 * soft-fp/lesf2.c: Likewise.
23997 * soft-fp/letf2.c: Likewise.
23998 * soft-fp/muldf3.c: Likewise.
23999 * soft-fp/mulsf3.c: Likewise.
24000 * soft-fp/multf3.c: Likewise.
24001 * soft-fp/negdf2.c: Likewise.
24002 * soft-fp/negsf2.c: Likewise.
24003 * soft-fp/negtf2.c: Likewise.
24004 * soft-fp/op-1.h: Likewise.
24005 * soft-fp/op-2.h: Likewise.
24006 * soft-fp/op-4.h: Likewise.
24007 * soft-fp/op-8.h: Likewise.
24008 * soft-fp/op-common.h: Likewise.
24009 * soft-fp/quad.h: Likewise.
24010 * soft-fp/single.h: Likewise.
24011 * soft-fp/soft-fp.h: Likewise.
24012 * soft-fp/sqrtdf2.c: Likewise.
24013 * soft-fp/sqrtsf2.c: Likewise.
24014 * soft-fp/sqrttf2.c: Likewise.
24015 * soft-fp/subdf3.c: Likewise.
24016 * soft-fp/subsf3.c: Likewise.
24017 * soft-fp/subtf3.c: Likewise.
24018 * soft-fp/truncdfsf2.c: Likewise.
24019 * soft-fp/trunctfdf2.c: Likewise.
24020 * soft-fp/trunctfsf2.c: Likewise.
24021 * soft-fp/trunctfxf2.c: Likewise.
24022 * soft-fp/unorddf2.c: Likewise.
24023 * soft-fp/unordsf2.c: Likewise.
24024 * soft-fp/unordtf2.c: Likewise.
24025
17c48a60
OB
240262013-10-14 Ondřej Bílka <neleai@seznam.cz>
24027
24028 [BZ #15672]
24029 * misc/error.c (error_tail): Fix possible buffer overflow.
24030
cabba934
OB
240312013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24032
24033 [BZ #13028]
24034 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24035 address.
24036
94bf958a
PM
240372013-10-14 P. J. McDermott <pj@pehjota.net>
24038
24039 [BZ #832]
24040 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24041 testing pipefail option.
24042
71b4dea7
JM
240432013-10-12 Joseph Myers <joseph@codesourcery.com>
24044
24045 * soft-fp/double.h: Indent preprocessor directives inside #if.
24046 * soft-fp/extended.h: Likewise.
24047 * soft-fp/op-2.h: Likewise.
24048 * soft-fp/op-4.h: Likewise.
24049 * soft-fp/op-common.h: Likewise.
24050 * soft-fp/quad.h: Likewise.
24051 * soft-fp/single.h: Likewise.
24052 * soft-fp/soft-fp.h: Likewise.
24053
55602758
YC
240542013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24055
24056 * iconv/iconv_prog.c: Fix typos.
24057 * stdio-common/psiginfo-data.h: Likewise.
24058
9cd83302
RT
240592013-10-12 Reuben Thomas <rrt@sc3d.org>
24060
24061 [BZ #15764]
24062 * locale/setlocale.c: Fix typo.
24063
99fd9f47
JM
240642013-10-12 Joseph Myers <joseph@codesourcery.com>
24065
b7ea74f0
JM
24066 [BZ #16036]
24067 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24068 signaling NaN arguments.
24069 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24070 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24071
8a509447
JM
24072 [BZ #14910]
24073 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24074 unordered operands.
24075 * soft-fp/gesf2.c (__gesf2): Likewise.
24076 * soft-fp/getf2.c (__getf2): Likewise.
24077 * soft-fp/ledf2.c (__ledf2): Likewise.
24078 * soft-fp/lesf2.c (__lesf2): Likewise.
24079 * soft-fp/letf2.c (__letf2): Likewise.
24080
98998e9f
JM
24081 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24082 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24083 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24084 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24085 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24086 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24087 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24088 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24089 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24090 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24091 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24092 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24093 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24094 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24095 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24096 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24097 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24098 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24099 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24100 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24101 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24102 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24103 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24104 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24105 * soft-fp/floattidf.c (__floattidf): Likewise.
24106 * soft-fp/floattisf.c (__floattisf): Likewise.
24107 * soft-fp/floattitf.c (__floattitf): Likewise.
24108 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24109 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24110 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24111 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24112 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24113 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24114 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24115 * soft-fp/gesf2.c (__gesf2): Likewise.
24116 * soft-fp/getf2.c (__getf2): Likewise.
24117 * soft-fp/ledf2.c (__ledf2): Likewise.
24118 * soft-fp/lesf2.c (__lesf2): Likewise.
24119 * soft-fp/letf2.c (__letf2): Likewise.
24120
8edc4a11
JM
24121 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24122 Undefine and redefine.
24123 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24124 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24125 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24126 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24127 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24128 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24129 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24130 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24131 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24132 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24133 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24134 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24135 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24136 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24137 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24138
8399acaf
JM
24139 [BZ #16032]
24140 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24141 without decrementing exponent if mantissa >= that for the
24142 denominator, not >.
24143 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24144 denominator, not >. Decrement exponent in < case instead of
24145 incrementing in >= case.
24146 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24147 without decrementing exponent if mantissa >= that for the
24148 denominator, not >.
24149
99fd9f47
JM
24150 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24151 computing saturated result for unsigned overflow.
24152
10e1cf6b
SP
241532013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24154 Jeff Law <law@redhat.com>
24155
24156 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24157 (atan2Mp): Add systemtap probe marker.
24158 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24159 (__ieee754_log): Add systemtap probe marker.
24160 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24161 (atanMp): Add systemtap probe marker.
24162 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24163 (tanMp): Add systemtap probe marker.
24164 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24165 (__slowexp): Add systemtap probe marker.
24166 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24167 (__slowpow): Add systemtap probe marker.
24168 * manual/probes.texi: Document probes.
24169
3d110c7c
EB
241702013-10-11 Eric Biggers <ebiggers3@gmail.com>
24171
24172 [BZ #15362]
24173 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24174 written.
24175 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24176 written.
24177 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24178 written to buffer but not flushed.
24179 * libio/iofwrite_u.c: Likewise.
24180 * libio/iopadn.c: Return bytes returned even if EOF was
24181 encountered.
24182 * libio/iowpadn.c: Likewise.
24183 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24184 if _IO_padn does not write the whole buffer.
24185 [!COMPILE_WPRINTF] (PAD): Likewise.
24186
75b4202a
DM
241872013-10-10 David S. Miller <davem@davemloft.net>
24188
24189 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24190 directory block.
24191
6c6352e6
JM
241922013-10-10 Joseph Myers <joseph@codesourcery.com>
24193
33b853c3
JM
24194 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24195 instead of FSF address.
24196 * soft-fp/fixdfti.c: Likewise.
24197 * soft-fp/fixsfti.c: Likewise.
24198 * soft-fp/fixtfti.c: Likewise.
24199 * soft-fp/fixunsdfti.c: Likewise.
24200 * soft-fp/fixunssfti.c: Likewise.
24201 * soft-fp/fixunstfti.c: Likewise.
24202 * soft-fp/floattidf.c: Likewise.
24203 * soft-fp/floattisf.c: Likewise.
24204 * soft-fp/floattitf.c: Likewise.
24205 * soft-fp/floatuntidf.c: Likewise.
24206 * soft-fp/floatuntisf.c: Likewise.
24207 * soft-fp/floatuntitf.c: Likewise.
24208 * soft-fp/trunctfxf2.c: Likewise.
24209
6c6352e6
JM
24210 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24211 * soft-fp/fixdfti.c: Likewise.
24212 * soft-fp/fixsfti.c: Likewise.
24213 * soft-fp/fixtfti.c: Likewise.
24214 * soft-fp/fixunsdfti.c: Likewise.
24215 * soft-fp/fixunssfti.c: Likewise.
24216 * soft-fp/fixunstfti.c: Likewise.
24217 * soft-fp/floattidf.c: Likewise.
24218 * soft-fp/floattisf.c: Likewise.
24219 * soft-fp/floattitf.c: Likewise.
24220 * soft-fp/floatuntidf.c: Likewise.
24221 * soft-fp/floatuntisf.c: Likewise.
24222 * soft-fp/floatuntitf.c: Likewise.
24223 * soft-fp/trunctfxf2.c: Likewise.
24224
3bf78b71
DM
242252013-10-10 David S. Miller <davem@davemloft.net>
24226
24227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24228
6f10289e
JM
242292013-10-10 Joseph Myers <joseph@codsourcery.com>
24230
bd878fc0
JM
24231 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24232 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24233 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24234 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24235 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24236 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24237 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24238
6f10289e
JM
24239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24240 for NaNs before doing comparisons on argument.
24241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24242 Likewise.
24243
321e2684
WN
242442013-10-10 Will Newton <will.newton@linaro.org>
24245
24246 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24247 passed to _int_memalign does not overflow.
24248
40fefba1
TR
242492013-10-10 Torvald Riegel <triegel@redhat.com>
24250
24251 * scripts/bench.pl: Add include-sources directive.
24252 * benchtests/README: Update documentation.
24253
2ae21ed2
JM
242542013-10-10 Joseph Myers <joseph@codesourcery.com>
24255
dcc2dd3f
JM
24256 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24257 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24258 instead of FP_INIT_ROUNDMODE.
24259 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24260 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24261
2ae21ed2
JM
24262 [BZ #16034]
24263 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24264 copy class of input value.
24265 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24266 not handle exceptions.
24267 * soft-fp/negsf2.c (__negsf2): Likewise.
24268 * soft-fp/negtf2.c (__negtf2): Likewise.
24269 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24270
cb8f9562
JM
242712013-10-09 Joseph Myers <joseph@codesourcery.com>
24272
24273 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24274 semicolon. From Linux kernel.
24275
5b60c59d
AB
242762013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24277
24278 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24279
b86835ca
YC
242802013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24281
24282 [BZ #156]
24283 * manual/socket.texi: Added statement about buffer
24284 for gethostbyname2_r.
24285
e7044ea7
OB
242862013-10-08 Ondřej Bílka <neleai@seznam.cz>
24287
24288 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24289 Use .p2align directive instead, throughout.
24290 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24291 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24292 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24294 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24295 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24296 * sysdeps/x86_64/strchr.S: Likewise.
24297 * sysdeps/x86_64/strrchr.S: Likewise.
24298
09544cbc
SP
242992013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24300
88576635
SP
24301 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24302
e7b2d1dd
SP
24303 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24304
09544cbc
SP
24305 * sysdeps/generic/math_private.h (__mpsin1): Remove
24306 declaration.
24307 (__mpcos1): Likewise.
24308 (__mpsin): New argument __range_reduce.
24309 (__mpcos): Likewise.
24310 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24311 (slow): Use __mpsin and __mpcos.
24312 (slow1): Likewise.
24313 (slow2): Likewise.
24314 (sloww): Likewise.
24315 (sloww1): Likewise.
24316 (sloww2): Likewise.
24317 (bsloww): Likewise.
24318 (bsloww1): Likewise.
24319 (bsloww2): Likewise.
24320 (cslow2): Likewise.
24321 (csloww): Likewise.
24322 (csloww1): Likewise.
24323 (csloww2): Likewise.
24324 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24325 range_reduce. Merge in __mpsin1.
24326 (__mpcos): Likewise.
24327 (__mpsin1): Remove.
24328 (__mpcos1): Likewise.
24329
7602d070
JM
243302013-10-07 Joseph Myers <joseph@codesourcery.com>
24331
24332 * locale/loadlocale.c (_nl_intern_locale_data): Use
24333 LOCFILE_ALIGNED_P.
24334 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24335 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24336 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24337 obstack data is appropriately aligned.
24338 (obstack_int32_grow_fast): Likewise.
24339 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24340 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24341 (add_locale_uint32_array): Likewise.
24342
a357259b
SP
243432013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24344
24345 * benchtests/Makefile: Remove ARGLIST and RET variables.
24346 ($(objpfx)bench-%.c): Pass only function name to the script.
24347 * benchtests/README: Update documentation.
24348 * benchtests/acos-inputs: Add new directives.
24349 * benchtests/acosh-inputs: Likewise.
24350 * benchtests/asin-inputs: Likewise.
24351 * benchtests/asinh-inputs: Likewise.
24352 * benchtests/atan-inputs: Likewise.
24353 * benchtests/atanh-inputs: Likewise.
24354 * benchtests/cos-inputs: Likewise.
24355 * benchtests/cosh-inputs: Likewise.
24356 * benchtests/exp-inputs: Likewise.
24357 * benchtests/log-inputs: Likewise.
24358 * benchtests/pow-inputs: Likewise.
24359 * benchtests/rint-inputs: Likewise.
24360 * benchtests/sin-inputs: Likewise.
24361 * benchtests/sinh-inputs: Likewise.
24362 * benchtests/tan-inputs: Likewise.
24363 * benchtests/tanh-inputs: Likewise.
24364 * scripts/bench.pl: Add support for new directives.
24365
9ec1b13d
AM
243662013-10-07 Alan Modra <amodra@gmail.com>
24367
24368 * README: Fix careless merge.
24369
8b7d57cd
AM
243702013-10-05 Alan Modra <amodra@gmail.com>
24371
24372 * NEWS: Mention powerpc64le support and bugs fixed.
24373 * README: Both big-endian and little-endian powerpc64 supported.
24374
7b7bab13
ST
243752013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24376
57f41c40
AS
24377 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24378 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24379 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24380 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24381
d39baad1
RA
243822013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24383
24384 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24385 match prototype.
24386
cd78f7e7
JM
243872013-10-04 Joseph Myers <joseph@codesourcery.com>
24388
29d73d86
JM
24389 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24390 Move -mhard-float appending from
24391 ports/sysdeps/powerpc/powerpc32/Makefile.
24392 [$(with-fp) = yes] (ASFLAGS): Likewise.
24393 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24394 * sysdeps/powerpc/nofpu: Move directory from
24395 ports/sysdeps/powerpc/nofpu.
24396 * sysdeps/powerpc/soft-fp: Move directory from
24397 ports/sysdeps/powerpc/soft-fp.
24398 * sysdeps/powerpc/powerpc32/405: Move directory from
24399 ports/sysdeps/powerpc/powerpc32/405.
24400 * sysdeps/powerpc/powerpc32/440: Move directory from
24401 ports/sysdeps/powerpc/powerpc32/440.
24402 * sysdeps/powerpc/powerpc32/464: Move directory from
24403 ports/sysdeps/powerpc/powerpc32/464.
24404 * sysdeps/powerpc/powerpc32/476: Move directory from
24405 ports/sysdeps/powerpc/powerpc32/476.
24406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24407 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24409 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24411 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24413 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24415 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24416 * README: Update for powerpc-*-linux-gnu software floating point
24417 support in libc.
24418
e246b347
JM
24419 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24420 case to powerpc/powerpc32*.
24421 * sysdeps/unix/sysv/linux/configure: Regenerated.
24422
89c2003e
JM
24423 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24424 (_FPU_MASK_OM): Define as 0x04.
24425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24427 0x00c10080.
24428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24429 0x0000003c.
24430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24431
cd78f7e7
JM
24432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24433 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24434 getcontext_e500.
24435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24436 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24437 setcontext_e500.
24438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24439 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24440 and setcontext_e500.
24441
c755294d
CL
244422013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24443
24444 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24445
e16d221c
SP
244462013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24447
24448 * manual/threads.texi (Default Thread Attributes): Fix typo.
24449
215c7d43
WN
244502013-10-04 Will Newton <will.newton@linaro.org>
24451
24452 * malloc/Makefile: Add tst-memalign.
24453 * malloc/tst-memalign.c: New file.
24454
27d0461b
WN
24455 * malloc/tst-posix_memalign.c: Add comments.
24456 (do_test): Add comments and call free on all potentially
24457 allocated pointers. Add space after cast.
24458
1bc92709
WN
24459 * malloc/tst-pvalloc.c: Add comments.
24460 (do_test): Add comments and call free on all potentially
24461 allocated pointers. Remove duplicate check for NULL pointer.
24462 Add space after cast.
24463
66a9be9d
WN
24464 * malloc/tst-valloc.c: Add comments.
24465 (do_test): Add comments and call free on all potentially
24466 allocated pointers. Remove duplicate check for NULL pointer.
24467 Add space after cast.
24468
4cb81307
AM
244692013-10-04 Alan Modra <amodra@gmail.com>
24470
24471 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24472 Use stdint types in rather than __attribute__((mode())).
24473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24474
f8e3e9f3
AM
244752013-10-04 Alan Modra <amodra@gmail.com>
24476
24477 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24478 Correct handling of unaligned relocs for little-endian.
24479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24480
8f9ebb08
AM
244812013-10-04 Alan Modra <amodra@gmail.com>
24482
24483 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24484 * configure: Regenerate.
24485 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24486 * shlib-versions: Likewise.
24487
0edf96c2
AM
244882013-10-04 Alan Modra <amodra@gmail.com>
24489
24490 * string/tester.c (test_memrchr): Increment reported test cycle.
24491
e0f7a380
AM
244922013-10-04 Alan Modra <amodra@gmail.com>
24493
24494 * string/test-memcpy.c (do_one_test): When reporting errors, print
24495 string address and don't overrun end of string.
24496
466b0393
AM
244972013-10-04 Alan Modra <amodra@gmail.com>
24498
24499 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24500 insrdi. Make better use of reg selection to speed exit slightly.
24501 Schedule entry path a little better. Remove useless "are we done"
24502 checks on entry to main loop. Handle wrapping around zero address.
24503 Correct main loop count. Handle single left-over word from main
24504 loop inline rather than by using loop_small. Remove extra word
24505 case in loop_small caused by wrong loop count. Add little-endian
24506 support.
24507 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24508 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24509 cache hint.
24510 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24511 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24512 support. Avoid rlwimi.
24513 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24514
3be87c77
AM
245152013-10-04 Alan Modra <amodra@gmail.com>
24516
24517 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24518 insrdi. Formatting.
3be87c77
AM
24519 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24520 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24521 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24522 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24523 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24524 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24525
759cfef3
AM
245262013-10-04 Alan Modra <amodra@gmail.com>
24527
24528 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24529 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24530 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24531 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24532 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24533 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24534 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24535 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24536 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24537 use of regs. Use power7 mtocrf. Tidy function tails.
24538
fe6e95d7
AM
245392013-10-04 Alan Modra <amodra@gmail.com>
24540
24541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24542 Formatting. Consistently use rXXX register defines or rN defines.
24543 Use early exit labels that avoid restoring unused non-volatile regs.
24544 Make cr field use more consistent with rWORDn compares. Rename
24545 regs used as shift registers for unaligned loop, using rN defines
24546 for short lifetime/multiple use regs.
24547 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24548 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24549 addi 1,1,64 to pop stack frame. Simplify return value code.
24550 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24551
664318c3
AM
245522013-10-04 Alan Modra <amodra@gmail.com>
24553
24554 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24555 support. Correct typos, formatting. Optimize tail. Use insrdi
24556 rather than rlwimi.
24557 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24558 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24559 little-endian support. Correct typos.
24560 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24561 rather than rlwimi.
24562 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24563 in loop and entry code to keep "and." results.
24564 (strchr): Add little-endian support. Comment. Move cntlzd
24565 earlier in tail.
24566 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24567
43b84013
AM
245682013-10-04 Alan Modra <amodra@gmail.com>
24569
24570 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24571 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24572 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24573 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24574
8a7413f9
AM
245752013-10-04 Alan Modra <amodra@gmail.com>
24576
24577 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24578 (rTMP): Define as r11.
24579 (strcmp): Add little-endian support. Optimise tail.
24580 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24581 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24582 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24583 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24584 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24585 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24587
33ee81de
AM
245882013-10-04 Alan Modra <amodra@gmail.com>
24589
24590 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24591 little-endian support. Remove unnecessary "are we done" tests.
24592 Handle "s" wrapping around zero and extremely large "size".
24593 Correct main loop count. Handle single left-over word from main
24594 loop inline rather than by using small_loop. Correct comments.
24595 Delete "zero" tail, use "end_max" instead.
24596 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24597
db9b4570
AM
245982013-10-04 Alan Modra <amodra@gmail.com>
24599
24600 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24601 support. Don't branch over align.
24602 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24603 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24604 support. Rearrange tmp reg use to suit. Comment.
24605 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24606
f7c399cf
AM
246072013-10-04 Alan Modra <amodra@gmail.com>
24608
24609 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24610
0b2c2ace
AM
246112013-10-04 Alan Modra <amodra@gmail.com>
24612
24613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24614 conditional form of branch and link when obtaining pc.
24615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24616
02f04a6c
AM
246172013-10-04 Alan Modra <amodra@gmail.com>
24618
24619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24620 HIWORD/LOWORD.
24621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24623
9b874b2f
AM
246242013-10-04 Alan Modra <amodra@gmail.com>
24625
24626 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24627 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24628 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24629 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24630 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24631 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24632 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24633 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24634 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24635 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24636
be1e5d31
AB
246372013-10-04 Anton Blanchard <anton@au1.ibm.com>
24638 Alistair Popple <alistair@ozlabs.au.ibm.com>
24639 Alan Modra <amodra@gmail.com>
24640
24641 [BZ #15723]
24642 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24643 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24644 _dl_hwcap access for little-endian.
24645 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24646 destroy vmx regs when saving unaligned.
24647 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24648 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24649 destroy vmx regs when saving unaligned.
24650
fef13a78
AM
246512013-10-04 Alan Modra <amodra@gmail.com>
24652
24653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24654 Don't use a union to pack hi/low value.
24655
76a66d51
AB
246562013-10-04 Anton Blanchard <anton@au1.ibm.com>
24657
24658 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24659 for little-endian.
24660 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24662 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24663 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24664 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24665
6a31fe7f
AM
246662013-10-04 Alan Modra <amodra@gmail.com>
24667
24668 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24669 constants to usual value for .cst8 section, and remove redundant
24670 high address load.
24671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24672 constant for 0x1p52. Load little-endian words of double from
24673 correct stack offsets.
24674
7b88401f
AM
246752013-10-04 Alan Modra <amodra@gmail.com>
24676
24677 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24678 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24679 words of double from correct stack offsets.
24680 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24681 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24682 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24683 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24684 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24685 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24686 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24687 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24688 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24689 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24690 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24691 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24692 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24693 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24694 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24695 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24696 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24697
9c008155
AM
246982013-10-04 Alan Modra <amodra@gmail.com>
24699
24700 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24701 64-bit int/double union.
24702 (_FPU_SETCW): Likewise.
24703 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24704 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24705
da13146d
AM
247062013-10-04 Alan Modra <amodra@gmail.com>
24707
24708 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24709 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24710
603e8410
AM
247112013-10-04 Alan Modra <amodra@gmail.com>
24712
24713 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24714 use vector int constants.
24715 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24716
4a28b3ca
AB
247172013-10-04 Anton Blanchard <anton@au1.ibm.com>
24718
24719 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24720 array with long long.
24721 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24722 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24723 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24724 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24725 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24726 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24727 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24728 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24729 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24730 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24731 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24732 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24733 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24734
2ca85d2b
AB
247352013-10-04 Anton Blanchard <anton@au1.ibm.com>
24736
24737 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24738 (__signbit): Likewise. Correct for little-endian.
24739 (__signbitl): Call __signbit.
24740 (lrint): Correct for little-endian.
24741 (lrintf): Call lrint.
24742
62a728ae
AM
247432013-10-04 Alan Modra <amodra@gmail.com>
24744
24745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24746 union 32-bit int array member with 64-bit int array.
24747 (t515, tm256): Double rather than long double.
24748 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24749
32c301df
AM
247502013-10-04 Alan Modra <amodra@gmail.com>
24751
24752 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24753 Delete.
24754 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24756 version of math_ldbl.h.
24757
650ef4bd
AM
247582013-10-04 Alan Modra <amodra@gmail.com>
24759
24760 [BZ #15734], [BZ #15735]
24761 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24762 all uses of ieee875 long double macros and unions. Simplify test
24763 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24764 ldbl_extract_mantissa value for ix,iy exponents. Properly
24765 normalize after ldbl_extract_mantissa, and don't add hidden bit
24766 already handled. Don't treat low word of ieee854 mantissa like
24767 low word of IBM long double and mask off bit when testing for
24768 zero.
24769 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24770 all uses of ieee875 long double macros and unions. Simplify tests
24771 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24772 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24773 two1022, instead use their values. Recognise that tests for large
24774 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24775 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24776 Rewrite all uses of ieee875 long double macros and unions. Simplify
24777 test for 0.0L and nan. Correct negation.
24778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24779 ieee875 long double macros and unions. Correct output for large
24780 magnitude x. Correct absolute value calculation.
24781 (__erfcl): Likewise.
24782 * math/libm-test.inc: Add tests for errors discovered in IBM long
24783 double versions of fmodl, remainderl, erfl and erfcl.
24784
765714ca
AM
247852013-10-04 Alan Modra <amodra@gmail.com>
24786
24787 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24788 all uses of ieee854 long double macros and unions. Simplify tests
24789 for long doubles that are fully specified by the high double.
24790 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24791 Likewise.
24792 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24793 Remove dead code too.
24794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24795 (__ieee754_ynl): Likewise.
24796 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24797 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24799 Remove dead code too.
24800 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24801 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24802 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24803 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24804 Simplify.
24805 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24806 Simplify.
24807 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24808 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24809 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24810 Comment on variable precision.
24811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24812 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24813 Likewise.
24814 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24815 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24817 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24818 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24819
4ebd120c
AM
248202013-10-04 Alan Modra <amodra@gmail.com>
24821
24822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24823 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24824 all uses of ieee854 long double macros and unions.
24825 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24826 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24827 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24828 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24829 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24830 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24831 Likewise.
24832 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24833 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24834 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24835 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24837 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24838 Simplify sign and nan test too.
24839 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24840 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24841 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24842 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24843 Likewise.
24844 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24845 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24846 Likewise.
24847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24848 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24849 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24850 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24851 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24853
1b6adf88
AM
248542013-10-04 Alan Modra <amodra@gmail.com>
24855
24856 * stdio-common/printf_size.c (__printf_size): Don't use
24857 union ieee854_long_double in fpnum union.
24858 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24859 signbit macro to retrieve sign from long double.
24860 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24861 retrieve sign from long double.
24862 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24863 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24864 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24865 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24866 * math/test-misc.c (main): Don't use union ieee854_long_double.
24867
4cf69995
AM
248682013-10-04 Alan Modra <amodra@gmail.com>
24869
24870 [BZ #15680]
24871 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24872 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24873 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24874 calculation. Remove unnecessary test for denormal exponent.
24875 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24876 Correct handling of denormals. Avoid undefined shift behaviour.
24877 Correct normalisation of low mantissa when low double is denormal.
24878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24879 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24880 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24881 Correct normalisation of low mantissa. Test for overflow of high
24882 mantissa and normalise.
24883 (ldbl_nearbyint): Use more readable constant for two52.
24884 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24885 (__mpn_construct_long_double): Fix test for overflow of high
24886 mantissa and correct normalisation. Avoid undefined shift.
24887
9605ca6c
AM
248882013-10-04 Alan Modra <amodra@gmail.com>
24889
24890 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24891 (union ibm_extended_long_double): Define as an array of ieee754_double.
24892 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24893 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24894 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24895 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24897 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24898 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24899 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24902 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24903
975569d0
JM
249042013-10-03 Joseph Myers <joseph@codesourcery.com>
24905
d3d23756
JM
24906 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24907 page size instead of calling getpagesize.
24908
975569d0
JM
24909 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24910 (LOCFILE_ALIGN_MASK): Likewise.
24911 (LOCFILE_ALIGN_UP): Likewise.
24912 (LOCFILE_ALIGNED_P): Likewise.
24913 * locale/programs/ld-collate.c (collate_output): Use the new
24914 macros instead of __alignof__ (int32_t).
24915 * locale/weight.h (findidx): Likewise.
24916
b1fe1f2b
OB
249172013-10-03 Ondřej Bílka <neleai@seznam.cz>
24918
24919 [BZ #431]
24920 * manual/string.texi: Fix strncat and wcsncat.
24921
5f855e35
BM
249222013-10-03 Brooks Moses <bmoses@google.com>
24923
24924 [BZ #15915]
24925 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24926 * Makerules: ...here, and adjust associated comments.
24927
3cef6009
WN
249282013-10-02 Will Newton <will.newton@linaro.org>
24929
24930 * malloc/Makefile: Add tst-pvalloc.
24931 * malloc/tst-pvalloc.c: New file.
24932
7815420b
WN
249332013-10-02 Will Newton <will.newton@linaro.org>
24934
24935 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24936 improve test coverage.
24937
4868b204
WN
249382013-10-02 Will Newton <will.newton@linaro.org>
24939
24940 * malloc/Makefile: Add tst-posix_memalign.
24941 * malloc/tst-posix_memalign.c: New file.
24942
29c793b3
EB
249432013-10-01 Eric Blake <eblake@redhat.com>
24944
24945 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24946 Use __THROWNL rather than __THROW on static functions.
24947
fd967522
PM
249482013-09-30 Petr Machata <pmachata@redhat.com>
24949
24950 * elf/elf.h (R_AARCH64_ABS16): New macro.
24951 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24952 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24953 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24954 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24955 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24956 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24957 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24958 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24959 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24960 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24961 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24962 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24963 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24964 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24965 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24966 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24967 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24968 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24969 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24970 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24971 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24972 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24973 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24974 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24975 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24976 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24977 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24978 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24979 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24980 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24981 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24982 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24983 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24984 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24985 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24986 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24987 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24988 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24989 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24990 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24991 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24992 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24993 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24994 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24995 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24996 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24997 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24998 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24999 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25000 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25001 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25002 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25003 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25004 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25005 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25006 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25007 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25008 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25009 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25010 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25011 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25012 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25013 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25014 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25015 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25016 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25017 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25018 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25019 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25020 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25021 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25022 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25023 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25024 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25025 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25026 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25027 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25028 (R_AARCH64_TLSDESC_LDR): Likewise.
25029 (R_AARCH64_TLSDESC_ADD): Likewise.
25030 (R_AARCH64_TLSDESC_CALL): Likewise.
25031
b2179107
AS
250322013-09-30 Andreas Schwab <schwab@suse.de>
25033
25034 [BZ #15048]
25035 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25036 the nss database lookup.
25037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25039
47f28d0a
MF
250402013-09-28 Mike Frysinger <vapier@gentoo.org>
25041
25042 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25043
250442013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
25045
25046 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25047 ${Bash-specific parameter/pattern/string} parameter expansion.
25048 * sysdeps/unix/make-syscalls.sh: Likewise.
25049
f4518a17
KK
250502013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25051
25052 * sysdeps/sh/stackguard-macros.h: New file.
25053
dc1a95c7
OB
250542013-09-26 Ondřej Bílka <neleai@seznam.cz>
25055
25056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25057 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25058 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25059 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25060 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25061 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25062
5ebbff8f
AZ
250632013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25064
25065 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25066 Fix thread ID register.
25067
4fd2cf9f
JM
250682013-09-25 Joseph Myers <joseph@codesourcery.com>
25069
25070 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25071 [POSIX || UNIX98]: Require rather than permitting all symbols from
25072 <time.h>.
25073 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25074 element of struct sched_param.
25075 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25076 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25077 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25078 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25079 constant.
25080
12c22bc4
OL
250812013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25082
25083 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25084 argument calculation.
25085
a03d8ea7
JM
250862013-09-24 Joseph Myers <joseph@codesourcery.com>
25087
25088 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25089 Expect macro.
25090 [POSIX] (pthread_attr_t): Do not require type.
25091 [POSIX] (pthread_cond_t): Likewise.
25092 [POSIX] (pthread_condattr_t): Likewise.
25093 [POSIX] (pthread_key_t): Likewise.
25094 [POSIX] (pthread_mutex_t): Likewise.
25095 [POSIX] (pthread_mutexattr_t): Likewise.
25096 [POSIX] (pthread_once_t): Likewise.
25097 [POSIX] (pthread_t): Likewise.
25098 [POSIX-based standards] (pthread_atfork): Expect function.
25099
6055173a
JM
251002013-09-24 Joseph Myers <joseph@codesourcery.com>
25101 Richard Sandiford <richard@codesourcery.com>
25102
25103 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25104 (swap_endianness_p): New extern variable.
25105 (set_big_endian): New inline function.
25106 (maybe_swap_uint32): Likewise.
25107 (maybe_swap_uint32_array): Likewise.
25108 (maybe_swap_uint32_obstack): Likewise.
25109 * locale/programs/locfile.c: Include <stdbool.h>.
25110 (swap_endianness_p): New variable.
25111 (add_locale_uint32): Call maybe_swap_uint32.
25112 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25113 (write_locale_data): Call maybe_swap_uint32_array.
25114 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25115 maybe_swap_uint32.
25116 (obstack_int32_grow_fast): Likewise.
25117 (output_weightwc): Call maybe_swap_uint32_obstack.
25118 (collate_output): Likewise.
25119 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25120 (OPT_LITTLE_ENDIAN): Likewise.
25121 (options): Add --little-endian and --big-endian options.
25122 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25123 * locale/programs/locarchive.c: Include "locfile.h".
25124 (GET): New macro.
25125 (SET): Likewise.
25126 (INC): Likewise.
25127 (create_archive): Use the new macros to access fields of
25128 structures directly mapped from or written to locale archives.
25129 (oldlocrecentcmp): Likewise.
25130 (enlarge_archive): Likewise.
25131 (insert_name): Likewise.
25132 (add_alias): Likewise.
25133 (add_locale): Likewise.
25134 (delete_locales_from_archive): Likewise.
25135 (show_archive_content): Likewise.
25136 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25137 locale data.
25138
39bf0bb4
RM
251392013-09-24 Roland McGrath <roland@hack.frob.com>
25140
25141 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25142 http://www.gnu.org/doc/freemanuals.texi.
25143 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25144
f02eed10
WN
251452013-09-24 Will Newton <will.newton@linaro.org>
25146
25147 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25148 macro.
25149
a3a6c312
JM
251502013-09-23 Joseph Myers <joseph@codesourcery.com>
25151
25152 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25153 unsigned char.
25154
107375ac
MR
251552013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25156
25157 * manual/threads.texi (POSIX Threads): Fix a typo.
25158
141f3a77
SP
251592013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25160
303e567a
SP
25161 [BZ #14547]
25162 * string/tst-strcoll-overflow.c: New test case.
25163 * string/Makefile (xtests): Add tst-strcoll-overflow.
25164 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25165 cache if string sizes may cause integer overflow.
25166
141f3a77
SP
25167 [BZ #14547]
25168 * string/strcoll_l.c (coll_seq): New members rule, idx,
25169 save_idx and back_us.
25170 (get_next_seq_nocache): New function.
25171 (do_compare_nocache): New function.
25172 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25173 when malloc fails.
25174
c61b4d41
CD
251752013-09-23 Carlos O'Donell <carlos@redhat.com>
25176
0b1f8e35
CD
25177 [BZ #15754]
25178 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25179 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25180 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25181
c61b4d41
CD
25182 [BZ #15754]
25183 * elf/Makefile (tests): Add tst-ptrguard1.
25184 (tests-static): Add tst-ptrguard1-static.
25185 (tst-ptrguard1-ARGS): Define.
25186 (tst-ptrguard1-static-ARGS): Define.
25187 * elf/tst-ptrguard1.c: New file.
25188 * elf/tst-ptrguard1-static.c: New file.
25189 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25190 * sysdeps/i386/stackguard-macros.h: Likewise.
25191 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25192 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25193 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25194 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25195 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25196 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25197
251982013-09-23 Hector Marco <hecmargi@upv.es>
25199 Ismael Ripoll <iripoll@disca.upv.es>
25200 Carlos O'Donell <carlos@redhat.com>
25201
25202 [BZ #15754]
25203 * sysdeps/generic/stackguard-macros.h: Define
25204 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25205 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25206 Define __pointer_chk_guard_local.
25207 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25208 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25209
f5f4e7b4
VV
252102013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25211
25212 [BZ #15859]
25213 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25214
5bb43a43
AS
252152013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25216
25217 * include/string.h (__ffs): Declare as hidden.
25218 * string/ffs.c (__ffs): Define as hidden.
25219 * sysdeps/i386/ffs.c (__ffs): Likewise.
25220 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25221 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25222 * sysdeps/s390/ffs.c (__ffs): Likewise.
25223 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25224
3ea5be54
AO
252252013-09-20 Alexandre Oliva <aoliva@redhat.com>
25226
ffb89e53
AO
25227 * NEWS: Mention malloc probes.
25228
322dea08
AO
25229 * malloc/arena.c (new_heap): New memory_heap_new probe.
25230 (grow_heap): New memory_heap_more probe.
25231 (shrink_heap): New memory_heap_less probe.
25232 (heap_trim): New memory_heap_free probe.
25233 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25234 (systrim): New memory_sbrk_less probe.
25235 * manual/probes.texi: Document them.
25236
655673f3
AO
25237 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25238 * manual/probes.texi: Document it.
25239
35fed6f1
AO
25240 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25241 (__libc_realloc): Add memory_realloc_retry probe.
25242 (__libc_memalign): Add memory_memalign_retry probe.
25243 (__libc_valloc): Add memory_valloc_retry probe.
25244 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25245 (__libc_calloc): Add memory_calloc_retry probe.
25246 * manual/probes.texi: Document them.
25247
6999d38c
AO
25248 * malloc/arena.c (get_free_list): Add probe
25249 memory_arena_reuse_free_list.
25250 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25251 and memory_arena_reuse.
25252 (arena_get2) [!PER_THREAD]: Likewise.
25253 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25254 memory_arena_reuse_realloc.
25255 * manual/probes.texi: Document them.
25256
0653427f
AO
25257 * malloc/malloc.c (__libc_free): Add
25258 memory_mallopt_free_dyn_thresholds probe.
25259 (__libc_mallopt): Add multiple memory_mallopt probes.
25260 * manual/probes.texi: Document them.
25261
3ea5be54
AO
25262 * malloc/malloc.c: Include stap-probe.h.
25263 (__libc_mallopt): Add memory_mallopt probe.
25264 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25265 * manual/probes.texi: New.
25266 * manual/Makefile (chapters): Add probes.
25267 * manual/threads.texi: Set next node.
25268
e35696c3 252692013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25270
e35696c3
CL
25271 [BZ #15963, #13985]
25272 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25273 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25274 Add `Chinese' to `nan' entry name.
25275
4aafb73c
SP
252762013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25277
25278 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25279 (POLYNOMIAL): Likewise.
25280 (TAYLOR_SINCOS): Likewise.
25281 (TAYLOR_SLOW): Likewise.
25282 (__sin): Use TAYLOR_SINCOS.
25283 (__cos): Likewise.
25284 (slow): Use TAYLOR_SLOW.
25285 (sloww): Likewise.
25286 (bsloww): Likewise.
25287 (csloww): Likewise.
25288
d84f25c7
LD
252892013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25290
25291 * stdlib/strtod_l.c: Fix buffer overrun.
25292
5eea0404
SP
252932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25294
7849ff93
SP
25295 * benchtests/Makefile (bench): Add sincos.
25296 * benchtests/bench-sincos.c: New file.
25297
cfa3c886
SP
25298 * math/libm-test.inc (cos_test_data): New test inputs.
25299 (sin_test_data): Likewise.
25300
b348e1e3
SP
25301 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25302 macro.
25303 (__sin): Use it.
25304 (__cos): Likewise.
25305 (slow1): Likewise.
25306 (slow2): Likewise.
25307 (sloww1): Likewise.
25308 (sloww2): Likewise.
25309 (bsloww1): Likewise.
25310 (bsloww2): Likewise.
25311 (cslow2): Likewise.
25312 (csloww1): Likewise.
25313 (csloww2): Likewise.
25314
6cce25f8
SP
25315 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25316 function.
25317 (__sin): Use it.
25318 (__cos): Likewise.
25319
5eea0404
SP
25320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25321 gotos.
25322 (__cos): Likewise.
25323
9c21573c
MR
253242013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25325
25326 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25327 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25328 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25329 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25330 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25331 * elf/cache.c (print_entry): Handle the new cache flags.
25332
24d22e65
JM
253332013-09-18 Joseph Myers <joseph@codesourcery.com>
25334 Aldy Hernandez <aldyh@redhat.com>
25335
25336 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25337 Change condition to [_SOFT_FLOAT].
25338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25350 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25353 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25354 declaration.
25355
d13ef066
JM
253562013-09-18 Joseph Myers <joseph@codesourcery.com>
25357
2e071de0
JM
25358 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25359 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25360 (__longjmp): Use LOAD_GP to load saved GPRs.
25361 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25362 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25363 (__sigsetjmp): Use SAVE_GP to save GPRs.
25364
d13ef066
JM
25365 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25366 Do not append -msoft-float.
25367 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25368
97a0650b
SP
253692013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25370
25371 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25372
11ca09e9
JM
253732013-09-17 Joseph Myers <joseph@codesourcery.com>
25374
25375 [BZ #15966]
25376 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25377 (_FPU_GETCW): Use initial "__" on variable and field names but not
25378 on macro parameter name.
25379 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25380 parentheses around reference to macro parameter.
25381
08ffcf34
RS
253822013-09-13 Richard Sandiford <richard@codesourcery.com>
25383
25384 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25385 prototype.
25386 (ctype_startup): Use uint32_t in cast and sizeof for
25387 ctype->charnames.
25388
ae7080d3
JL
253892013-09-11 Jia Liu <proljc@gmail.com>
25390
25391 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25392 __daddr_t_defined.
25393 [__FreeBSD__]: Likewise.
25394
5905e7b3
OB
253952013-09-11 Ondřej Bílka <neleai@seznam.cz>
25396
25397 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25398 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25399 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25400 (strchr): Remove __strchr_sse42 ifunc selection.
25401 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25402 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25403
b987c776
WN
254042013-09-11 Will Newton <will.newton@linaro.org>
25405
25406 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25407 parameter to RES. Remove hardcoded 1000 value.
25408 * benchtests/bench-skeleton.c (main): Pass RES parameter
25409 to TIMING_INIT and multiply result by 1000.
25410
ddf985af
AZ
254112013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25412
25413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25414
ffdd3181
AS
254152013-09-11 Andreas Schwab <schwab@suse.de>
25416
25417 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25418 if not defined.
25419 (O_TMPFILE) [__USE_GNU]: Define.
25420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25421 Define.
25422
b73ed247
WN
254232013-09-11 Will Newton <will.newton@linaro.org>
25424
25425 [BZ #15857]
25426 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25427 does not overflow.
25428
55e17aad
WN
254292013-09-11 Will Newton <will.newton@linaro.org>
25430
25431 [BZ #15856]
25432 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25433 does not overflow.
25434
1159a193
WN
254352013-09-11 Will Newton <will.newton@linaro.org>
25436
25437 [BZ #15855]
25438 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25439 does not overflow.
25440
5905e7b3 254412013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25442
25443 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25444 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25445 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25446 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25447 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25448
cdfc721b
AM
254492013-09-10 Allan McRae <allan@archlinux.org>
25450
aa04af00
AM
25451 [BZ #15748]
25452 * manual/arith.texi (Parsing of Floats): Clarify
25453 cross-reference.
25454
cdfc721b
AM
25455 [BZ #15849]
25456 * manual/install.texi (Running make install): Mention
25457 --enable-pt-chown.
25458 * INSTALL: Regenerated.
25459
95e7cf29
MR
254602013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25461
25462 * csu/init-first.c (_init): Remove the !SHARED condition around
25463 FPU control word initialization.
25464 * elf/dl-support.c (_dl_fpu_control): New variable.
25465 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25466 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25467 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25468 * math/test-fpucw-static.c: New file.
25469 * math/test-fpucw-ieee.c: New file.
25470 * math/test-fpucw-ieee-static.c: New file.
25471 * math/Makefile (tests): Add `test-fpucw-ieee' and
25472 `$(tests-static)'.
25473 (tests-static): New variable.
25474 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25475 dependency to...
25476 [($(build-shared),yes)]
25477 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25478 ... this.
25479 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25480 New dependency.
25481
83e43bf0
AM
254822013-09-09 Allan McRae <allan@archlinux.org>
25483
a9f5ce09
AM
25484 [BZ #15939]
25485 * manual/string.texi (Collation Functions): Fix typo in
25486 strcoll example.
25487 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25488
34829bc2
AM
25489 [BZ #15893]
25490 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25491
3932737d
AM
25492 [BZ #15892]
25493 * libio/memstream.c (open_memstream): Fix memory leak.
25494 * libio/wmemstream.c (open_wmemstream): Likewise.
25495
83e43bf0
AM
25496 [BZ #15895]
25497 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25498
0c66b8e9
WN
254992013-09-09 Will Newton <will.newton@linaro.org>
25500
25501 * malloc/Makefile: Add tst-realloc to tests.
25502 * malloc/tst-realloc.c: New file.
25503
f6b00fd1
AM
255042013-09-09 Allan McRae <allan@archlinux.org>
25505
25506 [BZ #15844]
25507 * COPYING: Update from GNU website to fix FSF address.
25508 * COPYING.LIB: Likewise.
25509
eec55e16
DM
255102013-09-06 David S. Miller <davem@davemloft.net>
25511
25512 * po/zh_TW.po: Update Chinese (traditional) translation from
25513 translation project.
25514
1ecbb381
RS
255152013-09-06 Richard Sandiford <richard@codesourcery.com>
25516 Joseph Myers <joseph@codesourcery.com>
25517
25518 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25519 "localeinfo.h".
25520 (obstack_chunk_alloc): New macro.
25521 (obstack_chunk_free): Likewise.
25522 (record_offset): New function.
25523 (init_locale_data): Likewise.
25524 (align_locale_data): Likewise.
25525 (add_locale_empty): Likewise.
25526 (add_locale_raw_data): Likewise.
25527 (add_locale_raw_obstack): Likewise.
25528 (add_locale_string): Likewise.
25529 (add_locale_wstring): Likewise.
25530 (add_locale_uint32): Likewise.
25531 (add_locale_uint32_array): Likewise.
25532 (add_locale_char): Likewise.
25533 (start_locale_structure): Likewise.
25534 (end_locale_structure): Likewise.
25535 (start_locale_prelude): Likewise.
25536 (end_locale_prelude): Likewise.
25537 (write_locale_data): Take locale_file structure rather than an
25538 iovec.
25539 * locale/programs/locfile.h: Include "obstack.h".
25540 (struct locale_file): Change to store locale file contents instead
25541 of header.
25542 (init_locale_data): New prototype.
25543 (align_locale_data): Likewise.
25544 (add_locale_empty): Likewise.
25545 (add_locale_raw_data): Likewise.
25546 (add_locale_raw_obstack): Likewise.
25547 (add_locale_string): Likewise.
25548 (add_locale_wstring): Likewise.
25549 (add_locale_uint32): Likewise.
25550 (add_locale_uint32_array): Likewise.
25551 (add_locale_char): Likewise.
25552 (start_locale_structure): Likewise.
25553 (end_locale_structure): Likewise.
25554 (start_locale_prelude): Likewise.
25555 (end_locale_prelude): Likewise.
25556 (write_locale_data): Update prototype.
25557 * locale/programs/3level.h (struct TABLE): Remove result field.
25558 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25559 Use new locale_file interface.
25560 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25561 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25562 * locale/programs/ld-address.c (address_output): Use new
25563 locale_file interface.
25564 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25565 NO_ADD_LOCALE.
25566 (collate_finish): Don't call collseq_table_finalize.
25567 (collate_output): Use new locale_file interface.
25568 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25569 in file.
25570 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25571 (TABLE): Move defines earlier in file.
25572 (ELEMENT): Likewise.
25573 (DEFAULT): Likewise.
25574 (wctrans_table_add): Move macro and inline function earlier in
25575 file.
25576 (struct wctype_table): Move type earlier in file.
25577 (add_locale_wctype_table): New static prototype.
25578 (struct locale_ctype_t): Use logical types instead of struct iovec
25579 pointers for members.
25580 (ctype_output): Use new locale_file interface.
25581 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25582 new locale_file interface.
25583 (allocate_arrays): Update for use of new locale_file interface.
25584 * locale/programs/ld-identification.c (identification_output): Use
25585 new locale_file interface.
25586 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25587 * locale/programs/ld-messages.c (messages_output): Likewise.
25588 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25589 * locale/programs/ld-name.c (name_output): Likewise.
25590 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25591 * locale/programs/ld-paper.c (paper_output): Likewise.
25592 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25593 * locale/programs/ld-time.c (time_output): Likewise.
25594
e029e2e5
AZ
255952013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25596
25597 * benchtests/Makefile: Add memrchr benchmark.
25598 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25599 benchmark as memrchr.
25600 * benchtests/bench-memrchr-ifunc.c: New file.
25601 * benchtests/bench-memrchr.c: New file.
25602
bbf6e8e4
WN
256032013-09-06 Will Newton <will.newton@linaro.org>
25604
25605 * benchtests/Makefile (string-bench): Add memcpy.
25606
6c82a2f8
CD
256072013-09-05 Carlos O'Donell <carlos@redhat.com>
25608 Cong Wang <amwang@redhat.com>
25609
e732c5f0 25610 [BZ #15850]
6c82a2f8
CD
25611 * sysdeps/unix/sysv/linux/bits/in.h
25612 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25613 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25614 before __USE_KERNEL_IPV6_DEFS uses.
25615 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25616 IPPROTO_BEETPH.
25617 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25618 sockaddr_in6, or ipv6_mreq.
25619
5430fc65
AZ
256202013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25621
25622 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25623 memory access for final bytes in some large inputs.
25624 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25625
4660856c
AZ
256262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25627
25628 * string/test-memrchr.c: New file.
25629 * string/test-memrchr-ifunc.c: New file.
25630 * string/Makefile: Add new memrchr testcase.
25631
bb8ea713
MF
256322013-09-05 Mike Frysinger <vapier@gentoo.org>
25633
25634 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25635 fanotify_init returns EPERM.
25636
b92a20b5
JM
256372013-09-04 Joseph Myers <joseph@codesourcery.com>
25638
25639 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25640 errors.
25641 (top level): Treat second token from macro or constant entries for
25642 allowed headers as allowed.
25643 * include/complex.h: Condition internal declarations on
25644 [!_ISOMAC].
25645 * include/fenv.h: Condition include of <stdbool.h> and internal
25646 declarations on [!_ISOMAC].
7447ccd9
CL
25647
256482013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25649
3e181dda 25650 [BZ #15923]
7447ccd9
CL
25651 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25652
3f2e46a4
JM
256532013-09-04 Joseph Myers <joseph@codesourcery.com>
25654
25655 * configure.in (--enable-versioning): Remove configure option.
25656 (libc_cv_asm_symver_directive): Remove configure test.
25657 (libc_cv_ld_version_script_option): Likewise.
25658 (VERSIONING): Remove variable and AC_SUBST.
25659 (DO_VERSIONING): Remove AC_DEFINE.
25660 * configure: Regenerated.
25661 * config.h.in (DO_VERSIONING): Remove macro.
25662 * Makerules [$(versioning) = yes]: Change conditionals to
25663 [$(build-shared) = yes].
25664 * config.make.in (versioning): Remove variable.
25665 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25666 [$(build-shared) = yes].
25667 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25668 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25669 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25670 [$(build-shared) = yes].
25671 * extra-lib.mk [$(versioning) = yes]: Likewise.
25672 * hurd/Makefile [$(versioning) = yes]: Likewise.
25673 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25674 [SHARED].
25675 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25676 [SHARED].
25677 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25678 [SHARED && !NO_HIDDEN].
25679 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25680 [SHARED].
25681 [SHARED && DO_VERSIONING]: Likewise..
25682 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25683 [$(build-shared) = yes].
25684 * manual/install.texi (--disable-versioning): Remove
25685 documentation.
25686 * INSTALL: Regenerated.
25687 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25688 to [SHARED].
25689 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25690 [$(build-shared) = yes].
25691 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25692 * sysdeps/i386/i686/multiarch/strstr-c.c
25693 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25694 [SHARED && !NO_HIDDEN].
25695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25696 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25697 * sysdeps/powerpc/powerpc32/dl-machine.c
25698 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25699 * sysdeps/powerpc/powerpc32/sysdep.h
25700 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25701 to [SHARED && PIC && !NO_HIDDEN].
25702 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25703 conditional to [SHARED].
25704
44558701
WN
257052013-09-04 Will Newton <will.newton@linaro.org>
25706
25707 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25708 * benchtests/bench-string.h: Include bench-timing.h instead
25709 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25710 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25711 call to HP_TIMING_DIFF_INIT.
25712 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25713 instead of hp-timing.h macros.
25714 * benchtests/bench-memchr.c: Likewise.
25715 * benchtests/bench-memcmp.c: Likewise.
25716 * benchtests/bench-memcpy.c: Likewise.
25717 * benchtests/bench-memmem.c: Likewise.
25718 * benchtests/bench-memmove.c: Likewise.
25719 * benchtests/bench-memset.c: Likewise.
25720 * benchtests/bench-rawmemchr.c: Likewise.
25721 * benchtests/bench-strcasecmp.c: Likewise.
25722 * benchtests/bench-strcasestr.c: Likewise.
25723 * benchtests/bench-strcat.c: Likewise.
25724 * benchtests/bench-strchr.c: Likewise.
25725 * benchtests/bench-strcmp.c: Likewise.
25726 * benchtests/bench-strcpy.c: Likewise.
25727 * benchtests/bench-strcpy_chk.c: Likewise.
25728 * benchtests/bench-strlen.c: Likewise.
25729 * benchtests/bench-strncasecmp.c: Likewise.
25730 * benchtests/bench-strncat.c: Likewise.
25731 * benchtests/bench-strncmp.c: Likewise.
25732 * benchtests/bench-strncpy.c: Likewise.
25733 * benchtests/bench-strnlen.c: Likewise.
25734 * benchtests/bench-strpbrk.c: Likewise.
25735 * benchtests/bench-strrchr.c: Likewise.
25736 * benchtests/bench-strspn.c: Likewise.
25737 * benchtests/bench-strstr.c: Likewise.
25738
cae16d66
WN
257392013-09-04 Will Newton <will.newton@linaro.org>
25740
25741 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25742
ffa3cd7f
JM
257432013-09-03 Joseph Myers <joseph@codesourcery.com>
25744
25745 [BZ #15427]
25746 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25747 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25748 * math/libm-test.inc (lgamma_test_data): Add more tests.
25749 * sysdeps/i386/fpu/libm-test-ulps: Update.
25750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25751
8f02859f
OB
257522013-09-03 Ondřej Bílka <neleai@seznam.cz>
25753
25754 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25756 Add ifunc.
25757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25758 Add strcmp-sse2-unaligned
25759 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25760
18d43716
MF
257612013-09-02 Mike Frysinger <vapier@gentoo.org>
25762
25763 * Versions.def (libc): Add GLIBC_2.19.
25764
ac444012
MF
257652013-09-02 Mike Frysinger <vapier@gentoo.org>
25766
25767 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25768 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25769
b7835e32
JM
257702013-09-02 Joseph Myers <joseph@codesourcery.com>
25771
25772 [BZ #14155]
25773 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25774 intermediate calculations in recurrence.
25775 (__ieee754_ynf): Likewise.
25776 * math/libm-test.inc (jn_test_data): Do not allow spurious
25777 underflow exception. Add more tests.
25778 (yn_test_data): Add more tests.
25779 * sysdeps/i386/fpu/libm-test-ulps: Update.
25780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25781
8220f4f0
OB
257822013-09-02 Ondřej Bílka <neleai@seznam.cz>
25783
25784 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25785
f24a6d08
OB
257862013-08-30 Ondřej Bílka <neleai@seznam.cz>
25787
25788 * csu/init-first.c: Fix then/than typos.
25789 * locale/programs/ld-collate.c: Likewise.
25790 * locale/programs/linereader.h: Likewise.
25791 * manual/charset.texi: Likewise.
25792 * manual/filesys.texi: Likewise.
25793 * manual/stdio.texi: Likewise.
25794 * manual/string.texi: Likewise.
25795 * stdlib/fmtmsg.c: Likewise.
25796 * sysdeps/i386/stpncpy.S: Likewise.
25797 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25798 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25800 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25801
382466e0
OB
258022013-08-30 Ondřej Bílka <neleai@seznam.cz>
25803
25804 * elf/dl-open.c: Fix typos.
25805 * iconvdata/gbbig5.c: Likewise.
25806 * iconvdata/iso-2022-jp.c: Likewise.
25807 * iconv/gconv_int.h: Likewise.
25808 * iconv/loop.c: Likewise.
25809 * nis/rpcsvc/nis.h: Likewise.
25810 * resolv/ns_name.c: Likewise.
25811 * stdio-common/vfscanf.c: Likewise.
25812 * streams/stropts.h: Likewise.
25813 * sunrpc/rpc_thread.c: Likewise.
25814 * sysdeps/i386/strpbrk.S: Likewise.
25815 * sysdeps/ieee754/k_standard.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25818 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25819 * sysdeps/mach/hurd/profil.c: Likewise.
25820 * sysdeps/s390/dl-procinfo.h: Likewise.
25821 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25822 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25823 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25824 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25826
0186c6e9
OB
258272013-08-30 Ondřej Bílka <neleai@seznam.cz>
25828
25829 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25831
d4e16af1
OB
258322013-08-29 Ondřej Bílka <neleai@seznam.cz>
25833
25834 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25835 aix specific files.
25836 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25837 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25838 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25839 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25840 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25841 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25842 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25843 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25844
88335980
TS
258452013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25846 Roland McGrath <roland@hack.frob.com>
25847
25848 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25849 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25850
ed479b02
ST
258512013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25852
25853 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25854 __executable_start symbol instead of _start.
25855
f1cc4c86
TS
258562013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25857
d821f07c
TS
25858 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25859 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25860 Move macros to...
25861 * sysdeps/gnu/ldsodefs.h: ... this new file.
25862
c54290cf
TS
25863 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25864 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25865 instead of ELFOSABI_LINUX.
25866
0007fc9b 25867 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25868 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25869 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25870 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25871 Likewise.
25872 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25873 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25874 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25875 Likewise.
25876 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25877 (ibm_extended_long_double): Add ieee_nan member.
25878 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25879 (do_test): New function.
25880
f1cc4c86
TS
25881 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25882 TEST_TRUNC.
25883 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25884 functions, renamed from truncdfsf_test, trunctfsf_test,
25885 trunctfdf_test.
25886 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25887 functions.
25888 (do_test): Run all these.
25889
6f65e668
OB
258902013-08-29 Ondřej Bílka <neleai@seznam.cz>
25891
25892 * argp/argp-help.c: Fix typos.
25893 * argp/argp-parse.c: Likewise.
25894 * debug/backtracesyms.c: Likewise.
25895 * elf/elf.h: Likewise.
25896 * malloc/malloc.c: Likewise.
25897 * nis/nis_print.c: Likewise.
25898 * resolv/res_comp.c: Likewise.
25899 * stdlib/stdlib.h: Likewise.
25900 * sunrpc/clnt_tcp.c: Likewise.
25901 * sunrpc/clnt_udp.c: Likewise.
25902 * sunrpc/clnt_unix.c: Likewise.
25903 * sysdeps/unix/bsd/ptsname.c: Likewise.
25904 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25907 Likewise.
25908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25909 Likewise.
25910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25911 Likewise.
6f65e668
OB
25912 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25913
3a309239
SP
259142013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25915
25916 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25918
3b813b29
MF
259192013-08-27 Mike Frysinger <vapier@gentoo.org>
25920
25921 [BZ #15897]
25922 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25923 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25924 ($(objpfx)bug-dl-leaf): New rule.
25925 ($(objpfx)bug-dl-leaf.so): Likewise.
25926 ($(objpfx)bug-dl-leaf.out): Likewise.
25927 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25928 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25929 * dlfcn/bug-dl-leaf.c: New test.
25930 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25931 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25932 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25933 (dlclose): Likewise.
25934 (dlmopen): Likewise.
25935
8cc3269f
RM
259362013-08-27 Roland McGrath <roland@hack.frob.com>
25937
7f9d0034
RM
25938 * include/netdb.h [!_ISOMAC]:
25939 Don't include <tls.h>.
25940 (h_errno, __libc_h_errno): Move declaration and macros out of
25941 [_LIBC_REENTRANT].
25942
fb431262
RM
25943 * include/resolv.h [_RESOLV_H_]:
25944 Don't include <tls.h>.
25945 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25946 * resolv/res_libc.c: Don't include <tls.h>.
25947 (_res): Use __attribute__ ((nocommon)) in place of
25948 __attribute__ ((section (".bss"))).
25949
bd81123a
RM
25950 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25951 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25952
c4e42566
RM
25953 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25954
f890a59b
RM
25955 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25956 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25957
25958 * resolv/res_mkquery.c: Include <sys/time.h>.
25959
5d1f0a09
RM
25960 * inet/ifreq.c: Moved to ...
25961 * sysdeps/unix/ifreq.c: ... here.
25962 * inet/ifreq.c: New file, true stub version.
25963
6fcf28b3
RM
25964 * socket/sa_len.c: New file.
25965 * socket/Makefile (aux): Add it.
25966 * sysdeps/unix/sysv/linux/Makefile
25967 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25968 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25969 and #include <socket/sa_len.c>.
25970 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25971 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25972
e041fb8b
RM
25973 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25974 * bits/socket.h: ... here.
25975
8cc3269f
RM
25976 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25977 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25978 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25979
5d228a43
AS
259802013-08-27 Andreas Schwab <schwab@suse.de>
25981
45b8accc
AS
25982 [BZ #15736]
25983 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25984 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25985 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25986 * string/test-strcasecmp.c (test_main): Run tests in several
25987 locales.
25988 * string/test-strncasecmp.c (test_main): Likewise.
25989
5d228a43
AS
25990 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25991 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25992 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25994 (__strncasecmp_ssse3) [PIC]: Likewise.
25995
59d112a4
RM
259962013-08-26 Roland McGrath <roland@hack.frob.com>
25997
53234cc3
RM
25998 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25999
59d112a4
RM
26000 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26001 instead of explicitly declaring xdecrypt.
26002 * nis/nss_nis/nis-publickey.c: Likewise.
26003
595aba70
SP
260042013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26005
26006 [BZ #15890]
26007 * nscd/aicache.c: Include res_hconf.h.
26008 (addhstaiX): Initialize res_hconf.
26009
ffabd393
AS
260102013-08-26 Andreas Schwab <schwab@suse.de>
26011
26012 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26013 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26014
e0a69f5c
SP
260152013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26016
26017 * nscd/aicache.c (addhstaiX): Fix indentation.
26018
8c12f01d
MF
260192013-08-25 Mike Frysinger <vapier@gentoo.org>
26020
26021 * configure.ac: Quote $build_pt_chown test.
26022 * configure: Regenerated.
26023
8fe89494
JM
260242013-08-23 Joseph Myers <joseph@codesourcery.com>
26025
26026 [BZ #15532]
26027 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26028 * math/s_cexpf.c (__cexpf): Likewise.
26029 * math/s_cexpl.c (__cexpl): Likewise.
26030 * math/libm-test.inc (cexp_test_data): Correct expected return
26031 value for NaN + i0. Add another test.
26032
75b181d6
DM
260332013-08-22 David S. Miller <davem@davemloft.net>
26034
26035 * po/ca.po: Update Catalan translation from translation project.
936241e4 26036 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 26037
acd06bb1
JM
260382013-08-21 Joseph Myers <joseph@codesourcery.com>
26039
26040 [BZ #15797]
26041 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26042 is infinite, not alongside NaN test.
26043 * math/s_fdimf.c (__fdimf): Likewise.
26044 * math/s_fdiml.c (__fdiml): Likewise.
26045 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26046 errno is unchanged.
26047
c0c3f78a
OB
260482013-08-21 Ondřej Bílka <neleai@seznam.cz>
26049
26050 * argp/argp-help.c: Fix typos.
26051 * crypt/speeds.c: Likewise.
26052 * csu/check_fds.c: Likewise.
26053 * elf/dl-load.c: Likewise.
26054 * elf/dl-open.c: Likewise.
26055 * elf/reldep3.c: Likewise.
26056 * elf/reldep.c: Likewise.
26057 * elf/sprof.c: Likewise.
26058 * iconv/iconv_charmap.c: Likewise.
26059 * iconv/skeleton.c: Likewise.
26060 * iconv/strtab.c: Likewise.
26061 * io/lockf64.c: Likewise.
26062 * libio/libioP.h: Likewise.
26063 * resolv/gai_notify.c: Likewise.
26064 * resolv/ns_name.c: Likewise.
26065 * resolv/ns_samedomain.c: Likewise.
26066 * resolv/res_send.c: Likewise.
26067 * stdlib/random.c: Likewise.
26068 * sunrpc/rpc/xdr.h: Likewise.
26069 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26071 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26072 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26074 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26077 * sysdeps/mach/hurd/check_fds.c: Likewise.
26078 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26079 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26082 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26083 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26084 * sysdeps/pthread/aio_notify.c: Likewise.
26085 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26086 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26087 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26089 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26090
46ed1038
LD
260912013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26092
26093 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26094 version if bit_Slow_SSE4_2 is set.
26095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26097
d400dcac
AZ
260982013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26099
26100 [BZ #15867]
26101 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26102 trampoline stack frame information.
26103 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26104 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26105 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26106 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26107 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26108 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26109 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26110 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26111 sa_flags value.
26112 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26113 interrupting a syscall and set with option SA_SIGINFO.
26114
42c8fdd8
JM
261152013-08-20 Joseph Myers <joseph@codesourcery.com>
26116
c980f2f4
JM
26117 [BZ #15531]
26118 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26119 argument is infinite.
26120 * math/s_cprojf.c (__cprojf): Likewise.
26121 * math/s_cprojl.c (__cprojl): Likewise.
26122 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26123 * math/libm-test.inc (cproj_test_data): Add more tests.
26124
0716c4fc
JM
26125 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26126
42c8fdd8
JM
26127 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26128 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26129 size. Use __ffs to determine corresponding shift.
26130
b31469d0
JM
261312013-08-20 Joseph Myers <joseph@codesourcery.com>
26132 Roland McGrath <roland@hack.frob.com>
26133
26134 * Makefile (INSTALL): Remove trailing blank lines from output of
26135 makeinfo.
26136
4e39af6e
AK
261372013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26138
26139 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26140 Align 32 bit compat elf_greg to 8 bytes.
26141
f315524e
AA
261422013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26143
26144 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26145
1326ba1a
SP
261462013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26147
26148 * string/strcoll_l.c (coll_seq): New structure.
26149 (get_next_seq_cached): New function.
26150 (get_next_seq): New function.
26151 (do_compare): New function.
26152 (STRCOLL): Use GNU style definition. Simplify implementation
26153 by using get_next_seq, get_next_seq_cached and do_compare.
26154
91ce4085
FW
261552013-08-16 Florian Weimer <fweimer@redhat.com>
26156
26157 [BZ #14699]
26158 CVE-2013-4237
26159 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26160 member.
26161 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26162 member.
26163 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26164 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26165 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26166 conditional.
26167 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26168 GETDENTS_64BIT_ALIGNED.
26169 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26170 * manual/filesys.texi (Reading/Closing Directory): Document
26171 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26172 strongly.
26173 * manual/conf.texi (Limits for Files): Add portability note to
26174 NAME_MAX, PATH_MAX.
26175 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26176
ca0a6bc4
AS
261772013-08-13 Andreas Schwab <schwab@suse.de>
26178
26179 [BZ #15749]
26180 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26181 of fabs.
26182 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26183 LDBL_MAX_EXP >= 16384]: Add tests for it.
26184
6c1fd795
DM
261852013-08-12 David S. Miller <davem@davemloft.net>
26186
26187 * version.h (RELEASE): Set to "development".
26188 (VERSION): Set to "2.18.90".
26189 * NEWS: Add 2.19 section.
26190
31ad488d
DM
261912013-08-03 David S. Miller <davem@davemloft.net>
26192
26193 * po/ko.po: Update Korean translation from translation project.
26194
db24e684
DM
261952013-08-01 David S. Miller <davem@davemloft.net>
26196
26197 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26198 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26199 Bilka.
26200
f723285b
DM
262012013-07-30 David S. Miller <davem@davemloft.net>
26202
26203 * po/fr.po: Update French translation from translation project.
26204
3cbc52db
DM
262052013-07-28 David S. Miller <davem@davemloft.net>
26206
30bbc0cc
DM
26207 * po/cs.po: Update Czech translation from translation project.
26208
3cbc52db
DM
26209 * po/sv.po: Update Swedish translation from translation project.
26210
d492e6d0
DM
262112013-07-27 David S. Miller <davem@davemloft.net>
26212
f1a7f492
DM
26213 * po/eo.po: Update Esperanto translation from translation project.
26214
90e62a4a
DM
26215 * po/vi.po: Update Vietnamese translation from translation project.
26216
d492e6d0
DM
26217 * po/de.po: Update German translation from translation project.
26218
d4baa62d
DM
262192013-07-26 David S. Miller <davem@davemloft.net>
26220
641aa7b4
DM
26221 * po/bg.po: Update Bulgarian translation from translation project.
26222
d4baa62d
DM
26223 * po/nl.po: Update Dutch translation from translation project.
26224 * po/pl.po: Update Polish translation from translation project.
26225 * po/ru.po: Update Russian translation from translation project.
26226
61a9dcb9
DM
262272013-07-24 David S. Miller <davem@davemloft.net>
26228
26229 * po/libc.pot: Update.
26230
7b1f8b58
AZ
262312013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26232
26233 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26234 variable page size.
26235 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26236 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26237 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26238
a8fc7a03
AK
262392013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26240
26241 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26242
e4608715
CD
262432013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26244 Andreas Schwab <schwab@suse.de>
26245 Roland McGrath <roland@hack.frob.com>
26246 Joseph Myers <joseph@codesourcery.com>
26247 Carlos O'Donell <carlos@redhat.com>
26248
26249 [BZ #15755]
26250 * config.h.in: Define HAVE_PT_CHOWN.
26251 * config.make.in (build-pt-chown): New variable.
26252 * configure.in (--enable-pt_chown): New configure option.
26253 * configure: Regenerate.
26254 * login/Makefile: Include Makeconfig. Build pt_chown only if
26255 build-pt-chown is enabled.
26256 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26257 pt_chown to fix pty ownership.
26258 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26259 CLOSE_ALL_FDS.
26260 * manual/install.texi (Configuring and compiling): Mention
26261 --enable-pt_chown. Add @findex for grantpt.
26262 * INSTALL: Regenerate.
26263
da2d62df
DM
262642013-07-20 David S. Miller <davem@davemloft.net>
26265
26266 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26267 difference between 32-bit and 64-bit.
26268
d7e06450
CD
262692013-07-15 Carlos O'Donell <carlos@redhat.com>
26270
26271 [BZ #15711]
26272 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26273 Avoid system header dependency with -ffreestanding.
26274 ($(objpfx)bits/syscall%d): Likewise.
26275
f959cfd7
DM
262762013-07-13 David S. Miller <davem@davemloft.net>
26277
26278 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26279 underflows from atanl/atan2l due to bug 15319.
26280 (casinh_test_data): Likewise.
26281
c61f8513
DM
262822013-07-07 David S. Miller <davem@davemloft.net>
26283
26284 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26285
72c90ed0
JA
262862013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26287
26288 * sysdeps/i386/fpu/libm-test-ulps: Update.
26289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26290
52dfbe13
SP
262912013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26292
26293 * configure.in (--enable-lock-elision): Fix message text.
26294 * INSTALL: Regenerate.
26295 * configure: Regenerate.
26296
3f169543
AZ
262972013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26298
26299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26300
521c6785
AJ
263012013-07-03 Andreas Jaeger <aj@suse.de>
26302
26303 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26304 define.
26305 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26306 (ptrace_peeksiginfo_args): Add.
26307 (__ptrace_peeksiginfo_flags): Add.
26308 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26310 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26311
d2cc15cb
AM
263122013-07-03 Allan McRae <allan@archlinux.org>
26313
26314 * sysdeps/i386/fpu/libm-test-ulps: Update.
26315
3aaeeca7
DM
263162013-07-02 David S. Miller <davem@davemloft.net>
26317
26318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26319
5314ed1a
MT
263202013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26321
26322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26323
67338156
JM
263242013-07-02 Joseph Myers <joseph@codesourcery.com>
26325
26326 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26328
1717da59
AK
263292013-07-02 Andi Kleen <ak@linux.intel.com>
26330
26331 * config.h.in (ENABLE_LOCK_ELISION): Add.
26332 * configure.in (--enable-lock-elision): Add option.
26333 * manual/install.texi: Document --enable lock elision.
26334 * configure: Regenerate
26335 * INSTALL: Regenerate.
26336
1c81621c
L
263372013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26338
26339 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26340 SSE4.2 strcasecmp for libc.a.
26341 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26342
77f01ab5
JM
263432013-07-02 Joseph Myers <joseph@codesourcery.com>
26344
26345 [BZ #13304]
26346 * soft-fp/op-common.h (_FP_FMA): New macro.
26347 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26348 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26349 (_FP_MUL_MEAT_1_imm): ... here.
26350 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26351 (_FP_MUL_MEAT_1_wide): ... here.
26352 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26353 (_FP_MUL_MEAT_1_hard): ... here.
26354 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26355 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26356 (_FP_MUL_MEAT_2_wide): ... here.
26357 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26358 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26359 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26360 (_FP_MUL_MEAT_2_gmp): ... here.
26361 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26362 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26363 (_FP_MUL_MEAT_4_wide): ... here.
26364 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26365 (_FP_MUL_MEAT_4_gmp): ... here.
26366 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26367 (_FP_WFRACBITS_DW_S): Likewise.
26368 (_FP_WFRACXBITS_DW_S): Likewise.
26369 (_FP_HIGHBIT_DW_S): Likewise.
26370 (FP_FMA_S): Likewise.
26371 (_FP_FRAC_HIGH_DW_S): Likewise.
26372 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26373 (_FP_WFRACBITS_DW_D): Likewise.
26374 (_FP_WFRACXBITS_DW_D): Likewise.
26375 (_FP_HIGHBIT_DW_D): Likewise.
26376 (FP_FMA_D): Likewise.
26377 (_FP_FRAC_HIGH_DW_D): Likewise.
26378 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26379 (_FP_WFRACBITS_DW_E): Likewise.
26380 (_FP_WFRACXBITS_DW_E): Likewise.
26381 (_FP_HIGHBIT_DW_E): Likewise.
26382 (FP_FMA_E): Likewise.
26383 (_FP_FRAC_HIGH_DW_E): Likewise.
26384 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26385 (_FP_WFRACBITS_DW_Q): Likewise.
26386 (_FP_WFRACXBITS_DW_Q): Likewise.
26387 (_FP_HIGHBIT_DW_Q): Likewise.
26388 (FP_FMA_Q): Likewise.
26389 (_FP_FRAC_HIGH_DW_Q): Likewise.
26390 * soft-fp/fmasf4.c: New file.
26391 * soft-fp/fmadf4.c: Likewise.
26392 * soft-fp/fmatf4.c: Likewise.
26393
6308fd9a
LD
263942013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26395
26396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26397 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26398 Silvermont.
26399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26400 macro.
26401 (index_Slow_SSE4_2): Likewise.
26402 (index_Prefer_PMINUB_for_stringop): Likewise.
26403 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26404 bit_Slow_SSE4_2 is set.
26405 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26406 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26407
89cd9569
RA
264082013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26409
26410 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26411 rtld_global._dl_hwcap2.
26412 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26413 POWER8.
26414 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26415 POWER8 feature descriptions defined in _dl_hwcap2.
26416 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26417 string handling for POWER8 feature bits.
26418 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26419 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26420 _dl_powerpc_cap_flags.
26421 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26422 * sysdeps/powerpc/rtld-global-offsets.sym
26423 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26424 _dl_hwcap2 in the rtld_global_ro structure.
26425
1ae8bfe0
RA
264262013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26427
26428 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26429 hardware capabilities in support of AT_HWCAP2.
26430 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26431 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26432 GLRO(dl_hwcap2).
26433 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26434 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26435 explicitly the unknown a_type display mechanism is used.
26436 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26437 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26438 struct member.
26439 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26440 to macro prototype for AT_HWCAP2 support.
26441 * sysdeps/i386/dl-procinfo.h: Likewise.
26442 * sysdeps/s390/dl-procinfo.h: Likewise.
26443 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26444 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26445 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26446 return -1 for unknown a_type display fallback.
26447 * sysdeps/sparc/dl-procinfo.h: Likewise.
26448 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26449 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26450
8fbec010
JM
264512013-06-28 Joseph Myers <joseph@codesourcery.com>
26452
26453 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26454 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26455
0432680e
PY
264562013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26457
26458 [BZ #12492]
26459 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26460 mprotect making __stack_prot writable.
26461
ce61a2ad
NF
264622013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26463 Joseph Myers <joseph@codesourcery.com>
26464
26465 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26466 as being properly aligned.
26467
f91f1c0f
MR
264682013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26469
3d0f5d0c
MR
26470 * dlfcn/modstatic5.c: New file.
26471 * dlfcn/tststatic5.c: New file.
26472 * dlfcn/Makefile (tests): Add tststatic5.
26473 (tests-static): Likewise.
26474 (modules-names): Add modstatic5.
26475 (tststatic5-ENV): New variable.
26476 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26477
f91f1c0f
MR
26478 [BZ #15022]
26479 * elf/dl-support.c (_dl_main_map): New variable.
26480 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26481 (_dl_nns, _dl_load_adds): Set to 1.
26482 (_dl_initial_searchlist): Refer to _dl_main_map.
26483 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26484 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26485 call to _dl_get_origin.
26486 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26487 around call_map.
26488 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26489 * dlfcn/modstatic3.c: New file.
26490 * dlfcn/tststatic3.c: New file.
26491 * dlfcn/tststatic4.c: New file.
26492 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26493 (tests-static): Likewise.
26494 (modules-names): Add modstatic3.
26495 (tststatic3-ENV, tststatic4-ENV): New variables.
26496 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26497 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26498
cbe7d24b
JM
264992013-06-26 Joseph Myers <joseph@codesourcery.com>
26500
26501 * configure.in (CC): Require GCC version 4.4 or later.
26502 * configure: Regenerated.
26503 * manual/install.texi (Tools for Compilation): Update GCC version
26504 requirement.
26505 * INSTALL: Regenerated.
26506
11b8a0e1
LD
265072013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26508
26509 [BZ #15674]
bb5bb87c
L
26510 * string/test-memcmp.c (check2): New.
26511 (main): Call check2.
26512
11b8a0e1
LD
26513 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26514
b0037103
MR
265152013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26516
26517 [BZ #15022]
26518 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26519 over to...
26520 (dl_open_worker) [!SHARED]: ... here.
26521
c18c701d
RA
265222013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26523
26524 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26525
1d17fa5f
RH
265262013-06-25 Richard Henderson <rth@redhat.com>
26527
26528 * locale/programs/locarchive.c: Include <libc-internal.h>
26529
8fcb833a
JM
265302013-06-25 Joseph Myers <joseph@codesourcery.com>
26531
26532 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26533 trailing whitespace removed.
26534
17db6e8d
MF
265352013-06-24 Mike Frysinger <vapier@gentoo.org>
26536
26537 [BZ #10283]
17db6e8d
MF
26538 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26539 * locale/programs/locarchive.c: Include libc-mmap.h.
26540 (prepare_address_space): Take two new outputs (the mmap base and len).
26541 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26542 values.
26543 (create_archive): Declare new mmap base and len values for
26544 prepare_address_space, and store the result in ah.
26545 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26546 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26547 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26548 Declare new mmap base and len values for
26549 prepare_address_space, and store the result in new_ah.
26550 (open_archive): Declare new mmap base and len values for
26551 prepare_address_space, and store the result in ah.
26552 (close_archive): If ah->mmap_base is not NULL, use that and
26553 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26554 * sysdeps/generic/libc-mmap.h: New file.
26555
d605071e
MF
265562013-06-24 Mike Frysinger <vapier@gentoo.org>
26557
26558 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26559 (ALIGN_UP): Likewise.
26560 (PTR_ALIGN_DOWN): Likewise.
26561 (PTR_ALIGN_UP): Likewise.
26562
2f063a6e
RA
265632013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26564
26565 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26566 entry mapped to PPC_PLATFORM_POWER8.
26567 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26568 POWER8.
26569 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26570 (_dl_string_platform): Add case for exporting platform position for
26571 POWER8.
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26573 search path to sysdeps/powerpc/powerpc32/power8 directory.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26575 search path to sysdeps/powerpc/powerpc64/power8 directory.
26576 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26577 power7 directories.
26578 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26579 power7 directories.
26580
a31ee4b3
SP
265812013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26582
a74ca98f
SP
26583 * INSTALL: Regenerate.
26584
a31ee4b3
SP
26585 * nscd/connections.c (nscd_init): Fix comment.
26586
695c378f
JM
265872013-06-22 Joseph Myers <joseph@codesourcery.com>
26588
d8412221
JM
26589 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26590
695c378f
JM
26591 [BZ #15667]
26592 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26593 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26594
d1d54715
MR
265952013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26596
26597 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26598 DL_DST_REQ_STATIC.
26599 (DL_DST_REQ_STATIC): Remove macro.
26600
8fdda7af
JM
266012013-06-21 Joseph Myers <joseph@codesourcery.com>
26602
26603 [BZ #7006]
26604 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26605 with a shift of 0 bits.
26606
f3bc5e5a
MR
266072013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26608
26609 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26610 $(tststatic-ENV).
26611
be09e8c9
KK
266122013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26613
26614 [BZ #15655]
26615 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26616
85c2e611
AZ
266172013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26618
26619 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26620 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26621 accepts -fno-tree-loop-distribute-patterns.
26622 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26623 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26624 recursive call.
26625 * string/memset.c (memset): Likewise.
26626 * string/test-memmove.c (simple_memmove): Disable loop transformation
26627 to library calls.
26628 * string/test-memset.c (simple_memset): Likewise.
26629 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26630 * benchtests/bench-memset.c (simple_memset): Likewise.
26631 * configure: Regenerated.
26632
c91e0825
JM
266332013-06-20 Joseph Myers <joseph@codesourcery.com>
26634
b8c792af
JM
26635 * math/test-misc.c (main): Ignore fesetround failure when failures
26636 of subsequent rounding tests would be ignored.
26637
c91e0825
JM
26638 [BZ #15654]
26639 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26640 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26641 * math/fegetenv.c (__fegetenv): Return 0.
26642 * math/fegetexcept.c (fegetexcept): Return 0.
26643 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26644 FE_TONEAREST.
26645 * math/feholdexcpt.c (feholdexcept): Return 0.
26646 * math/fesetenv.c (__fesetenv): Return 0.
26647 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26648 argument FE_TONEAREST.
26649 * math/feupdateenv.c (__feupdateenv): Return 0.
26650 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26651
bfcacbde
RM
266522013-06-18 Roland McGrath <roland@hack.frob.com>
26653
26654 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26655 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26656 ($(objpfx)rtld-%.os rules): Use them.
26657
e55a9b25
AZ
266582013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26659
26660 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26661 fields.
26662
346d65b3
RM
266632013-06-17 Roland McGrath <roland@hack.frob.com>
26664
12086fb4
RM
26665 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26666 length of target pattern, then descending length of dependency pattern.
26667 * configure.in (AWK): Require gawk 3.1.2 or newer.
26668 * manual/install.texi (Tools for Compilation): Say that we do.
26669 * configure: Regenerated.
26670
346d65b3
RM
26671 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26672 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26673 * scripts/sysd-rules.awk: ... this new script.
26674 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26675 than a glob-style pattern.
26676
1a846317
JM
266772013-06-17 Joseph Myers <joseph@codesourcery.com>
26678
26679 * math/test-misc.c (main): Do not treat incorrectly rounded
26680 conversions as failure unless ROUNDING_TESTS passes.
26681
8fc75e6f
JM
266822013-06-15 Joseph Myers <joseph@codesourcery.com>
26683
3711a167
JM
26684 [BZ #15631]
26685 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26686 restore exception state around main square root computation, then
26687 check for inexactness explicitly.
26688
8fc75e6f
JM
26689 * math/libm-test.inc (fma_test_data): Add another test.
26690
61dd6208
SP
266912013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26692
adf23d2c
SP
26693 * manual/threads.texi (Non-POSIX Extensions): New document
26694 node. Document pthread_getattr_default_np and
26695 pthread_setattr_default_np.
26696
61dd6208
SP
26697 * Versions.def (libpthread): Add GLIBC_2.18.
26698 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26700 Likewise.
26701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26702 Likewise.
26703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26704 Likewise.
26705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26706 Likewise.
26707 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26708 Likewise.
26709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26710 Likewise.
26711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26712 Likewise.
26713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26714 Likewise.
26715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26716 Likewise.
26717
d086fc7b
LD
267182013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26719
26720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26721 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26722
747ef469
SP
267232013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26724 H.J. Lu <hjl.tools@gmail.com>
26725
26726 [BZ #15627]
26727 * sysdeps/x86_64/rtld-memset.c: Remove file.
26728 * sysdeps/x86_64/rtld-memset.S: New file.
26729
1b2feed2
JM
267302013-06-14 Joseph Myers <joseph@codesourcery.com>
26731
26732 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26733 (test_in_one_mode): Take arguments for whether the rounding mode
26734 is supported for each floating-point type.
26735 (do_test): Pass new arguments to test_in_one_mode using
26736 ROUNDING_TESTS.
26737
a58ad3f8
RM
267382013-06-13 Roland McGrath <roland@hack.frob.com>
26739
26740 * posix/tst-waitid.c (do_test): Distinguish different instances of
26741 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26742 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26743 before entering the kernel for waitpid.
26744
c204ab28
SP
267452013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26746
26747 * NEWS: Fix note on clock function precision. Text by Roland
26748 McGrath.
26749
f4a29fba
RM
267502013-06-13 Roland McGrath <roland@hack.frob.com>
26751
26752 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26753 it into place only when and if the sanity check passes.
26754
1f24b9ad
JM
267552013-06-13 Joseph Myers <joseph@codesourcery.com>
26756
26757 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26758 output for whether conversion result is exact. Take argument
26759 indicating whether type is IBM long double.
26760 (round_for_all): Change need_exact field to ibm_ld.
26761 * stdlib/tst-strtod-round.c (struct exactness): New type.
26762 (struct test): Change bool ld_ok field to struct exactness exact.
26763 (TEST): Update all definitions for change to field.
26764 (tests): Regenerate array contents.
26765 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26766 field value. Check for IBM long double here.
26767 (do_test): Update calls to test_in_one_mode.
26768
58206c68
SP
267692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26770
26771 [BZ #12515]
26772 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26773 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26774
2d6f4c5b 267752013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26776
26777 [BZ #15605]
26778 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26779 generated by the compiler on loop optimizations.
26780 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26781 general definitions.
26782
94f2c076
JM
267832013-06-12 Joseph Myers <joseph@codesourcery.com>
26784
26785 * math/bug-nextafter.c: Include <math-tests.h>.
26786 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26787 the relevant type.
26788 * math/bug-nexttoward.c: Include <math-tests.h>.
26789 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26790 the relevant type.
26791 * math/test-misc.c: Include <math-tests.h>.
26792 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26793 the relevant type.
26794
e0e50a0a
AJ
267952013-06-12 Andreas Jaeger <aj@suse.de>
26796
26797 * po/ia.po: Update Interlingua translation from translation
26798 project.
26799
25061094
SP
268002013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26801
26802 * include/fenv.h: Include stdbool.h.
26803 (struct rm_ctx): New structure.
26804 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26805 Define macro.
26806 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26807 (SET_RESTORE_ROUNDF): Likewise.
26808 (SET_RESTORE_ROUNDL): Likewise.
26809 (SET_RESTORE_ROUND_NOEX): Likewise.
26810 (SET_RESTORE_ROUND_NOEXF): Likewise.
26811 (SET_RESTORE_ROUND_NOEXL): Likewise.
26812 (SET_RESTORE_ROUND_53BIT): Likewise.
26813 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26814 (libc_feresetround_noexf_ctx): Likewise.
26815 (libc_feresetround_noexl_ctx): Likewise.
26816 (libc_feholdsetround_53bit_ctx): Likewise.
26817 (libc_feresetround_53bit_ctx): Likewise.
26818 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26819 (libc_feholdexcept_setround_sse_ctx): New function.
26820 (libc_fesetenv_sse_ctx): Likewise.
26821 (libc_feupdateenv_sse_ctx): Likewise.
26822 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26823 (libc_feholdexcept_setround_387_ctx): Likewise.
26824 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26825 (libc_feholdsetround_387_prec_ctx): Likewise.
26826 (libc_feholdsetround_387_ctx): Likewise.
26827 (libc_feholdsetround_387_53bit_ctx): Likewise.
26828 (libc_feholdsetround_sse_ctx): Likewise.
26829 (libc_feresetround_sse_ctx): Likewise.
26830 (libc_feresetround_387_ctx): Likewise.
26831 (libc_feupdateenv_387_ctx): Likewise.
26832 (libc_feholdexcept_setroundf_ctx): Define macro.
26833 (libc_fesetenvf_ctx): Likewise.
26834 (libc_feupdateenvf_ctx): Likewise.
26835 (libc_feholdsetroundf_ctx): Likewise.
26836 (libc_feresetroundf_ctx): Likewise.
26837 (libc_feholdexcept_setround_ctx): Likewise.
26838 (libc_fesetenv_ctx): Likewise.
26839 (libc_feupdateenv_ctx): Likewise.
26840 (libc_feholdsetround_ctx): Likewise.
26841 (libc_feresetround_ctx): Likewise.
26842 (libc_feholdexcept_setroundl_ctx): Likewise.
26843 (libc_feupdateenvl_ctx): Likewise.
26844 (libc_feholdsetroundl_ctx): Likewise.
26845 (libc_feresetroundl_ctx): Likewise.
26846 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26847 (libc_feresetround_53bit_ctx): Likewise.
26848
59b30555
SP
268492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26850
26851 * locale/iso-639.def: Convert to UTF-8.
26852
f1d73d30
JM
268532013-06-11 Joseph Myers <joseph@codesourcery.com>
26854
26855 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26856 (EXCEPTION_TESTS_double): Likewise.
26857 (EXCEPTION_TESTS_long_double): Likewise.
26858 (EXCEPTION_TESTS): Likewise.
26859 * math/libm-test.inc (test_exceptions): Only test exceptions if
26860 EXCEPTION_TESTS (FLOAT).
26861
94aca5e7
SP
268622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26863
26864 * benchtests/Makefile (string-bench): Add strcpy_chk and
26865 stpcpy_chk.
26866 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26867 * benchtests/bench-stpcpy_chk.c: New file.
26868 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26869 * benchtests/bench-strcpy_chk.c: New file.
26870 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26871 code.
26872 (do_test): Likewise.
26873
fac0c5f2
RA
268742013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26875
26876 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26877 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26878 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26879 with tabs where appropriate.
26880 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26881 dl-procinfo.h.
26882 [PPC_PLATFORM_PPC440]: Likewise.
26883 [PPC_PLATFORM_PPC464]: Likewise.
26884 [PPC_PLATFORM_PPC476]: Likewise.
26885 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26886 ppc464, and ppc476 platform strings merging from ports/
26887 dl-procinfo.h.
26888
f22bc486
AS
268892013-06-11 Andreas Schwab <schwab@suse.de>
26890
26891 [BZ #14991]
26892 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26893 (from_ucs4_idx): Regenerate.
26894 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26895 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26896 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26897 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26898 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26899 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26900 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26901 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26902 from FROM_LOOP and TO_LOOP specific macros.
26903 (BODY): Handle combining characters.
26904 * iconvdata/BIG5HKSCS.irreversible: Update.
26905 * iconvdata/BIG5HKSCS.precomposed: New file.
26906 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26907 characters.
26908 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26909
c1f75dc3
SP
269102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26911
4eacded2
SP
26912 * include/sys/time.h: Fix indentation and add copyright header.
26913
fec799f8
SP
26914 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26915 (do_test): Likewise.
26916 * string/test-memchr.c (do_one_test): Likewise.
26917 (do_test): Likewise.
26918 * string/test-memcmp.c (do_one_test): Likewise.
26919 (do_test): Likewise.
26920 * string/test-memcpy.c (do_one_test): Likewise.
26921 (do_test): Likewise.
26922 * string/test-memmem.c (do_one_test): Likewise.
26923 (do_test): Likewise.
26924 (do_random_tests): Likewise.
26925 * string/test-memmove.c (do_one_test): Likewise.
26926 (do_test): Likewise.
26927 * string/test-memset.c (do_one_test): Likewise.
26928 (do_test): Likewise.
26929 * string/test-rawmemchr.c (do_one_test): Likewise.
26930 (do_test): Likewise.
26931 * string/test-strcasecmp.c (do_one_test): Likewise.
26932 (do_test): Likewise.
26933 * string/test-strcasestr.c (do_one_test): Likewise.
26934 (do_test): Likewise.
26935 * string/test-strcat.c (do_one_test): Likewise.
26936 (do_test): Likewise.
26937 * string/test-strchr.c (do_one_test): Likewise.
26938 (do_test): Likewise.
26939 * string/test-strcmp.c (do_one_test): Likewise.
26940 (do_test): Likewise.
26941 * string/test-strcpy.c (do_one_test): Likewise.
26942 (do_test): Likewise.
26943 * string/test-string.h: Likewise.
26944 (test_init): Likewise.
26945 * string/test-strlen.c (do_one_test): Likewise.
26946 (do_test): Likewise.
26947 * string/test-strncasecmp.c (do_one_test): Likewise.
26948 (do_test): Likewise.
26949 * string/test-strncat.c (do_one_test): Likewise.
26950 (do_test): Likewise.
26951 * string/test-strncmp.c (do_one_test): Likewise.
26952 (do_test_limit): Likewise.
26953 (do_test): Likewise.
26954 * string/test-strncpy.c (do_one_test): Likewise.
26955 (do_test): Likewise.
26956 * string/test-strnlen.c (do_one_test): Likewise.
26957 (do_test): Likewise.
26958 * string/test-strpbrk.c (do_one_test): Likewise.
26959 (do_test): Likewise.
26960 * string/test-strrchr.c (do_one_test): Likewise.
26961 (do_test): Likewise.
26962 * string/test-strspn.c (do_one_test): Likewise.
26963 (do_test): Likewise.
26964 * string/test-strstr.c (do_one_test): Likewise.
26965 (do_test): Likewise.
26966
97020474
SP
26967 * benchtests/Makefile (string-bench): Add string benchmarks.
26968 * benchtests/bench-bcopy-ifunc.c: New file.
26969 * benchtests/bench-bcopy.c: New file.
26970 * benchtests/bench-bzero-ifunc.c: New file.
26971 * benchtests/bench-bzero.c: New file.
26972 * benchtests/bench-memccpy-ifunc.c: New file.
26973 * benchtests/bench-memccpy.c: New file.
26974 * benchtests/bench-memchr-ifunc.c: New file.
26975 * benchtests/bench-memchr.c: New file.
26976 * benchtests/bench-memcmp-ifunc.c: New file.
26977 * benchtests/bench-memcmp.c: New file.
26978 * benchtests/bench-memmem-ifunc.c: New file.
26979 * benchtests/bench-memmem.c: New file.
26980 * benchtests/bench-memmove-ifunc.c: New file.
26981 * benchtests/bench-memmove.c: New file.
26982 * benchtests/bench-mempcpy-ifunc.c: New file.
26983 * benchtests/bench-mempcpy.c: New file.
26984 * benchtests/bench-memset-ifunc.c: New file.
26985 * benchtests/bench-memset.c: New file.
26986 * benchtests/bench-rawmemchr-ifunc.c: New file.
26987 * benchtests/bench-rawmemchr.c: New file.
26988 * benchtests/bench-stpcpy-ifunc.c: New file.
26989 * benchtests/bench-stpcpy.c: New file.
26990 * benchtests/bench-stpncpy-ifunc.c: New file.
26991 * benchtests/bench-stpncpy.c: New file.
26992 * benchtests/bench-strcasecmp-ifunc.c: New file.
26993 * benchtests/bench-strcasecmp.c: New file.
26994 * benchtests/bench-strcasestr-ifunc.c: New file.
26995 * benchtests/bench-strcasestr.c: New file.
26996 * benchtests/bench-strcat-ifunc.c: New file.
26997 * benchtests/bench-strcat.c: New file.
26998 * benchtests/bench-strchr-ifunc.c: New file.
26999 * benchtests/bench-strchr.c: New file.
27000 * benchtests/bench-strchrnul-ifunc.c: New file.
27001 * benchtests/bench-strchrnul.c: New file.
27002 * benchtests/bench-strcmp-ifunc.c: New file.
27003 * benchtests/bench-strcmp.c: New file.
27004 * benchtests/bench-strcpy-ifunc.c: New file.
27005 * benchtests/bench-strcpy.c: New file.
27006 * benchtests/bench-strcspn-ifunc.c: New file.
27007 * benchtests/bench-strcspn.c: New file.
27008 * benchtests/bench-strlen-ifunc.c: New file.
27009 * benchtests/bench-strlen.c: New file.
27010 * benchtests/bench-strncasecmp-ifunc.c: New file.
27011 * benchtests/bench-strncasecmp.c: New file.
27012 * benchtests/bench-strncat-ifunc.c: New file.
27013 * benchtests/bench-strncat.c: New file.
27014 * benchtests/bench-strncmp-ifunc.c: New file.
27015 * benchtests/bench-strncmp.c: New file.
27016 * benchtests/bench-strncpy-ifunc.c: New file.
27017 * benchtests/bench-strncpy.c: New file.
27018 * benchtests/bench-strnlen-ifunc.c: New file.
27019 * benchtests/bench-strnlen.c: New file.
27020 * benchtests/bench-strpbrk-ifunc.c: New file.
27021 * benchtests/bench-strpbrk.c: New file.
27022 * benchtests/bench-strrchr-ifunc.c: New file.
27023 * benchtests/bench-strrchr.c: New file.
27024 * benchtests/bench-strspn-ifunc.c: New file.
27025 * benchtests/bench-strspn.c: New file.
27026 * benchtests/bench-strstr-ifunc.c: New file.
27027 * benchtests/bench-strstr.c: New file.
27028
c1f75dc3
SP
27029 * benchtests/Makefile: Disable parallel execution of targets.
27030 (string-bench): Add memcpy.
27031 (benchset): New variable to store a list of benchmark sets.
27032 (bench-func): Renamed from bench.
27033 (bench-set): New target.
27034 (bench): Depend on bench-func and bench-set.
27035 * benchtests/README: Add section on benchmark sets.
27036 * benchtests/bench-memcpy-ifunc.c: New file.
27037 * benchtests/bench-memcpy.c: New file.
27038 * benchtests/bench-string.h: New file.
27039
50fd745b
AS
270402013-06-11 Andreas Schwab <schwab@suse.de>
27041
27042 [BZ #15577]
27043 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27044 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27045 values in the triple.
27046 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27047 terminator in the group key.
27048
3ee7e9fe
AJ
270492013-06-11 Andreas Jaeger <aj@suse.de>
27050
27051 * po/zh_TW.po: Update Chinese (traditional) translation from
27052 translation project.
27053
89fb6835
SP
270542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27055
27056 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27057 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27058 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27059 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27060 (clock_getcpuclockid): Likewise.
27061 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27062 Add weak_alias and libc_hidden_def.
27063 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27064 * rt/clock_gettime.c (clock_gettime): Rename to
27065 __clock_gettime. Add weak_alias and libc_hidden_def.
27066 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27067 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27068 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27069 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27070 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27071 Likewise.
27072 * rt/clock_settime.c (clock_settime): Rename to
27073 __clock_settime. Add weak_alias and libc_hidden_def.
27074 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27075
0efa6f8b
JM
270762013-06-10 Joseph Myers <joseph@codesourcery.com>
27077
b8c61b4b
JM
27078 * mach/err_boot.sub: Remove trailing whitespace.
27079 * mach/err_ipc.sub: Likewise.
27080 * mach/err_mach.sub: Likewise.
27081
0efa6f8b
JM
27082 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27083 (ROUNDING_TESTS_double): Likewise.
27084 (ROUNDING_TESTS_long_double): Likewise.
27085 (ROUNDING_TESTS): Likewise.
27086 * math/libm-test.inc: Include <math-tests.h>.
27087 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27088 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27089 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27090 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27091
50b818bf
SP
270922013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27093
27094 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27095 of assigning.
27096
60d2f8f3
JM
270972013-06-08 Joseph Myers <joseph@codesourcery.com>
27098
4902d2c3
JM
27099 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27100 otherwise empty TRANS lines.
27101 * sysdeps/gnu/errlist.c: Regenerated.
27102
60d2f8f3
JM
27103 * catgets/gencat.c (error_print): Use (void) in function
27104 definition.
27105 * crypt/crypt_util.c (__init_des): Likewise.
27106 * crypt/speeds.c (Stop): Likewise.
27107 (main): Likewise.
27108 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27109 * inet/ruserpass.c (token): Likewise.
27110 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27111 * intl/localealias.c (extend_alias_table): Likewise.
27112 * intl/plural-exp.c (init_germanic_plural): Likewise.
27113 * libio/fcloseall.c (__fcloseall): Likewise.
27114 * libio/genops.c (_IO_flush_all): Likewise.
27115 (_IO_flush_all_linebuffered): Likewise.
27116 (_IO_cleanup): Likewise.
27117 (_IO_iter_begin): Likewise.
27118 (_IO_iter_end): Likewise.
27119 (_IO_list_lock): Likewise.
27120 (_IO_list_unlock): Likewise.
27121 (_IO_list_resetlock): Likewise.
27122 * libio/getchar.c (getchar): Likewise.
27123 * libio/getchar_u.c (getchar_unlocked): Likewise.
27124 * libio/getwchar.c (getwchar): Likewise.
27125 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27126 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27127 * login/getpt.c (__getpt): Likewise.
27128 * login/tst-utmp.c (main): Likewise.
27129 * malloc/hooks.c (__malloc_check_init): Likewise.
27130 * malloc/malloc.c (__malloc_stats): Likewise.
27131 * malloc/mtrace.c (tr_break): Likewise.
27132 (mtrace): Likewise.
27133 (muntrace): Likewise.
27134 * misc/fstab.c (endfsent): Likewise.
27135 * misc/getclktck.c (__getclktck): Likewise.
27136 * misc/getdtsz.c (__getdtablesize): Likewise.
27137 * misc/gethostid.c (gethostid): Likewise.
27138 * misc/getpagesize.c (__getpagesize): Likewise.
27139 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27140 (__get_nprocs): Likewise.
27141 (__get_phys_pages): Likewise.
27142 (__get_avphys_pages): Likewise.
27143 * misc/getttyent.c (getttyent): Likewise.
27144 (setttyent): Likewise.
27145 (endttyent): Likewise.
27146 * misc/getusershell.c (getusershell): Likewise.
27147 (endusershell): Likewise.
27148 (setusershell): Likewise.
27149 (initshells): Likewise.
27150 * misc/hsearch.c (__hdestroy): Likewise.
27151 * misc/sync.c (sync): Likewise.
27152 * misc/syslog.c (closelog_internal): Likewise.
27153 (closelog): Likewise.
27154 * misc/ttyslot.c (ttyslot): Likewise.
27155 * misc/vhangup.c (vhangup): Likewise.
27156 * posix/fork.c (__fork): Likewise.
27157 * posix/getegid.c (__getegid): Likewise.
27158 * posix/geteuid.c (__geteuid): Likewise.
27159 * posix/getgid.c (__getgid): Likewise.
27160 * posix/getpid.c (__getpid): Likewise.
27161 * posix/getppid.c (__getppid): Likewise.
27162 * posix/getuid.c (__getuid): Likewise.
27163 * posix/pause.c (pause): Likewise.
27164 * posix/setpgrp.c (setpgrp): Likewise.
27165 * posix/setsid.c (__setsid): Likewise.
27166 * posix/test-vfork.c (noop): Likewise.
27167 * resolv/gethnamaddr.c (_endhtent): Likewise.
27168 (_gethtent): Likewise.
27169 (ht_endhostent): Likewise.
27170 (gethostent): Likewise.
27171 (dns_service): Likewise.
27172 * stdlib/drand48.c (drand48): Likewise.
27173 * stdlib/lrand48.c (lrand48): Likewise.
27174 * stdlib/mrand48.c (mrand48): Likewise.
27175 * stdlib/rand.c (rand): Likewise.
27176 * stdlib/random.c (__random): Likewise.
27177 * stdlib/setenv.c (clearenv): Likewise.
27178 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27179 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27180 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27181 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27182 (__get_nprocs): Likewise.
27183 (__get_phys_pages): Likewise.
27184 (__get_avphys_pages): Likewise.
27185 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27186 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27187 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27188 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27189 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27190 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27191 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27192 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27193 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27194 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27195 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27196 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27197 * sysdeps/posix/clock.c (clock): Likewise.
27198 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27199 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27200 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27201 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27202 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27204 (__get_nprocs_conf): Likewise.
27205 (__get_phys_pages): Likewise.
27206 (__get_avphys_pages): Likewise.
27207 * time/clock.c (clock): Likewise.
27208 * time/tzset.c (__tzname_max): Likewise.
27209
2e09a79a
JM
272102013-06-07 Joseph Myers <joseph@codesourcery.com>
27211
27212 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27213 (__bswap_32): Do not use "register".
27214 * crypt/crypt.c (_ufc_doit_r): Likewise.
27215 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27216 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27217 * gmon/gmon.c (__monstartup): Likewise.
27218 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27219 * hurd/hurdmalloc.c (more_memory): Likewise.
27220 (malloc): Likewise.
27221 (free): Likewise.
27222 (realloc): Likewise.
27223 (malloc_fork_prepare): Likewise.
27224 (malloc_fork_parent): Likewise.
27225 (malloc_fork_child): Likewise.
27226 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27227 (_svcauth_des): Likewise.
27228 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27229 * inet/inet_net.c (inet_network): Likewise.
27230 * inet/inet_netof.c (inet_netof): Likewise.
27231 * inet/rcmd.c (__validuser2_sa): Likewise.
27232 * io/fts.c (fts_open): Likewise.
27233 (fts_load): Likewise.
27234 (fts_close): Likewise.
27235 (fts_read): Likewise.
27236 (fts_children): Likewise.
27237 (fts_build): Likewise.
27238 (fts_stat): Likewise.
27239 (fts_sort): Likewise.
27240 (fts_alloc): Likewise.
27241 (fts_lfree): Likewise.
27242 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27243 (_IO_file_xsgetn): Likewise.
27244 (_IO_file_xsgetn_mmap): Likewise.
27245 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27246 (_IO_cookie_write): Likewise.
27247 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27248 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27249 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27250 * malloc/obstack.c (_obstack_begin): Likewise.
27251 (_obstack_begin_1): Likewise.
27252 (_obstack_newchunk): Likewise.
27253 (_obstack_allocated_p): Likewise.
27254 (obstack_free): Likewise.
27255 (_obstack_memory_used): Likewise.
27256 * misc/getttyent.c (getttynam): Likewise.
27257 (getttyent): Likewise.
27258 (skip): Likewise.
27259 (value): Likewise.
27260 * misc/getusershell.c (initshells): Likewise.
27261 * misc/syslog.c (__vsyslog_chk): Likewise.
27262 * misc/ttyslot.c (ttyslot): Likewise.
27263 * nis/nis_hash.c (__nis_hash): Likewise.
27264 * posix/fnmatch_loop.c (FCT): Likewise.
27265 * posix/getconf.c (print_all): Likewise.
27266 (main): Likewise.
27267 * posix/getopt.c (exchange): Likewise.
27268 * posix/glob.c (globfree): Likewise.
27269 (prefix_array): Likewise.
27270 (__glob_pattern_type): Likewise.
27271 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27272 (NS_GET32): Likewise.
27273 (NS_PUT16): Likewise.
27274 (NS_PUT32): Likewise.
27275 * resolv/gethnamaddr.c (getanswer): Likewise.
27276 (gethostbyname2): Likewise.
27277 (gethostbyaddr): Likewise.
27278 (_gethtent): Likewise.
27279 (_gethtbyname2): Likewise.
27280 (_gethtbyaddr): Likewise.
27281 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27282 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27283 * resolv/res_init.c (__res_vinit): Likewise.
27284 (net_mask): Likewise.
27285 * resolv/res_mkquery.c (outchar): Likewise.
27286 (PRINT): Likewise.
27287 * stdio-common/printf_fp.c (outchar): Likewise.
27288 (PRINT): Likewise.
27289 * stdio-common/printf_fphex.c (outchar): Likewise.
27290 (PRINT): Likewise.
27291 * stdio-common/printf_size.c (outchar): Likewise.
27292 (PRINT): Likewise.
27293 * stdio-common/test_rdwr.c (main): Likewise.
27294 * stdio-common/tfformat.c (matches): Likewise.
27295 * stdio-common/vfprintf.c (outchar): Likewise.
27296 (printf_unknown): Likewise.
27297 (buffered_vfprintf): Likewise.
27298 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27299 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27300 (ReadFile): Likewise.
27301 * stdlib/qsort.c (SWAP): Likewise.
27302 (_quicksort): Likewise.
27303 * stdlib/setenv.c (__add_to_environ): Likewise.
27304 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27305 * stdlib/strtol_l.c (__strtol_l): Likewise.
27306 * stdlib/tst-strtod.c (main): Likewise.
27307 * stdlib/tst-strtol.c (main): Likewise.
27308 * stdlib/tst-strtoll.c (main): Likewise.
27309 * string/bits/string2.h (__strcmp_cc): Likewise.
27310 (__strcmp_cg): Likewise.
27311 (__strcspn_c1): Likewise.
27312 (__strcspn_c2): Likewise.
27313 (__strcspn_c3): Likewise.
27314 (__strspn_c1): Likewise.
27315 (__strspn_c2): Likewise.
27316 (__strspn_c3): Likewise.
27317 (__strsep_1c): Likewise.
27318 (__strsep_2c): Likewise.
27319 (__strsep_3c): Likewise.
27320 * string/memccpy.c (__memccpy): Likewise.
27321 * string/stpcpy.c (__stpcpy): Likewise.
27322 * string/strcmp.c (strcmp): Likewise.
27323 * string/strrchr.c (strrchr): Likewise.
27324 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27325 Likewise.
27326 * sysdeps/mach/hurd/getcwd.c
27327 (_hurd_canonicalize_directory_name_internal): Likewise.
27328 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27329 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27330 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27331 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27332 Likewise, in both definitions.
27333 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27334 definitions.
27335 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27336 64] (__bswap_64): Likewise.
27337 * time/test_time.c (main): Likewise.
27338 * time/tzfile.c (__tzfile_read): Likewise.
27339 (__tzfile_compute): Likewise.
27340 * time/tzset.c (__tzset_parse_tz): Likewise.
27341 (tzset_internal): Likewise.
27342 (compute_change): Likewise.
27343 * wcsmbs/wcscat.c (__wcscat): Likewise.
27344 * wcsmbs/wcschr.c (wcschr): Likewise.
27345 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27346 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27347 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27348 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27349 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27350 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27351 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27352 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27353 * wcsmbs/wmemset.c (wmemset): Likewise.
27354
9e54314b
JM
273552013-06-06 Joseph Myers <joseph@codesourcery.com>
27356
27357 * scripts/config.guess: Update to version 2013-05-16.
27358 * scripts/config.sub: Update to version 2013-04-24.
27359 * scripts/install-sh: Update to version 2011-11-20.07.
27360 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27361 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27362
350635a5
OB
273632013-06-06 Ondřej Bílka <neleai@seznam.cz>
27364
27365 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27366 * elf/sln.c: Likewise.
27367 * hurd/hurd/ioctl.h: Likewise.
27368 * hurd/hurdmalloc.c: Likewise.
27369 * hurd/xattr.c: Likewise.
27370 * include/shlib-compat.h: Likewise.
27371 * inet/ruserpass.c: Likewise.
27372 * libio/iofgets_u.c: Likewise.
27373 * libio/iofgetws_u.c: Likewise.
27374 * locale/programs/ld-identification.c: Likewise.
27375 * locale/programs/ld-time.c: Likewise.
27376 * mach/msg-destroy.c: Likewise.
27377 * nss/nss_files/files-netgrp.c: Likewise.
27378 * resolv/res_data.c: Likewise.
27379 * soft-fp/op-1.h: Likewise.
27380 * soft-fp/op-2.h: Likewise.
27381 * soft-fp/op-4.h: Likewise.
27382 * soft-fp/op-common.h: Likewise.
27383 * stdio-common/printf_fphex.c: Likewise.
27384 * stdlib/strtod_l.c: Likewise.
27385 * sunrpc/rpc/clnt.h: Likewise.
27386 * sysdeps/generic/framestate.c: Likewise.
27387 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27388 * sysdeps/i386/bsd-setjmp.S: Likewise.
27389 * sysdeps/i386/__longjmp.S: Likewise.
27390 * sysdeps/i386/setjmp.S: Likewise.
27391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27392 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27394 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27395 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27396 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27397 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27398 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27399 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27400 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27401 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27402 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27403 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27404 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27405 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27406 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27407 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27408 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27409 * sysdeps/ieee754/support.c: Likewise.
27410 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27411 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27412 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27413 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27414 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27415 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27416 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27417 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27418 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27419 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27420 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27421 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27422 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27423 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27424 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27425 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27426 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27428
44a988af
OB
274292013-06-05 Ondřej Bílka <neleai@seznam.cz>
27430
25506f09 27431 * posix/transbug.c: Remove executable mode.
44a988af 27432
9c84384c
JM
274332013-06-05 Joseph Myers <joseph@codesourcery.com>
27434
27435 * crypt/speeds.c: Remove trailing whitespace.
27436 * dlfcn/default.c: Likewise.
27437 * elf/ifuncdep2.c: Likewise.
27438 * elf/ifuncmain1.c: Likewise.
27439 * elf/ifuncmain1vis.c: Likewise.
27440 * elf/testobj.h: Likewise.
27441 * elf/tst-stackguard1.c: Likewise.
27442 * gmon/sys/gmon.h: Likewise.
27443 * hurd/hurdmsg.c: Likewise.
27444 * hurd/new-fd.c: Likewise.
27445 * hurd/ports-get.c: Likewise.
27446 * iconvdata/ibm1008_420.c: Likewise.
27447 * inet/tst-getni1.c: Likewise.
27448 * inet/tst-getni2.c: Likewise.
27449 * libio/ioungetc.c: Likewise.
27450 * libio/wfiledoalloc.c: Likewise.
27451 * manual/libm-err-tab.pl: Likewise.
27452 * math/w_dremf.c: Likewise.
27453 * misc/ftruncate.c: Likewise.
27454 * posix/bug-glob2.c: Likewise.
27455 * posix/tst-pcre.c: Likewise.
27456 * posix/wait4.c: Likewise.
27457 * resolv/README: Likewise.
27458 * resolv/res_debug.h: Likewise.
27459 * resolv/tst-inet_ntop.c: Likewise.
27460 * setjmp/bug269-setjmp.c: Likewise.
27461 * soft-fp/extended.h: Likewise.
27462 * soft-fp/op-1.h: Likewise.
27463 * soft-fp/op-2.h: Likewise.
27464 * soft-fp/op-4.h: Likewise.
27465 * soft-fp/op-8.h: Likewise.
27466 * soft-fp/testit.c: Likewise.
27467 * stdio-common/bug16.c: Likewise.
27468 * stdlib/random.c: Likewise.
27469 * sunrpc/rpcsvc/rquota.x: Likewise.
27470 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27471 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27473 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27474 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27475 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27476 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27477 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27478 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27479 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27480 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27482 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27483 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27484 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27486 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27488 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27489 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27499 * sysdeps/ieee754/s_lib_version.c: Likewise.
27500 * sysdeps/mach/hurd/check_fds.c: Likewise.
27501 * sysdeps/mach/hurd/getsockname.c: Likewise.
27502 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27503 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27504 * sysdeps/powerpc/bits/link.h: Likewise.
27505 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27506 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27507 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27508 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27509 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27510 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27511 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27512 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27513 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27514 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27515 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27516 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27517 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27518 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27519 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27520 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27521 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27523 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27524 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27525 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27526 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27528 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27529 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27532 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27533 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27536 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27537 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27539 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27540 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27541 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27542 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27543 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27544 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27545 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27546 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27547 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27548 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27549 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27550 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27551 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27552 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27553 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27554 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27555 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27557 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27558 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27559 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27560 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27561 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27562 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27563 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27564 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27565 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27566 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27567 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27568 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27569 * sysdeps/powerpc/sysdep.h: Likewise.
27570 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27571 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27572 * sysdeps/sh/dl-trampoline.S: Likewise.
27573 * sysdeps/sh/memset.S: Likewise.
27574 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27575 * sysdeps/sh/strlen.S: Likewise.
27576 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27577 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27578 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27579 * sysdeps/sparc/sparc32/rem.S: Likewise.
27580 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27581 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27582 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27583 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27584 * sysdeps/sparc/sparc32/urem.S: Likewise.
27585 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27586 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27587 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27588 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27589 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27590 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27591 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27592 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27593 * sysdeps/unix/bsd/times.c: Likewise.
27594 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27595 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27599 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27600 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27601 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27602 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27603 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27604 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27605 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27606 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27607 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27608 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27609 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27610 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27611 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27612 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27613 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27614 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27615 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27616 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27617 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27618 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27619 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27620 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27622 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27623 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27624 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27625 * sysdeps/x86_64/strcspn.S: Likewise.
27626
869378a5
RA
276272013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27628
27629 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27630 generated file. Regenerate properly from gen-translit.pl.
27631 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27632 locale/C-translit.h.
27633
840e2943
AS
276342013-06-05 Andreas Schwab <schwab@suse.de>
27635
27636 [BZ #15100]
27637 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27638 week as 6 instead of -1.
27639 * time/tst-strptime.c (day_tests): Add test case.
27640
4c60cb0c
SP
276412013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27642
27643 * sysdeps/generic/math_private.h
27644 (libc_feholdexcept_setround_53bit): Replace with
27645 libc_feholdsetround_53bit.
27646 (libc_feupdateenv_53bit): Replace with
27647 libc_feresetround_53bit.
27648 (SET_RESTORE_ROUND_53BIT): Adjust.
27649
d180203e
SP
276502013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27651
96df079a
SP
27652 * string/test-strchrnul.c: Add copyright header.
27653
d180203e
SP
27654 * posix/tst-getaddrinfo4.c: Increase test timeout.
27655
8b0ccb2d
CD
276562013-06-03 Carlos O'Donell <carlos@redhat.com>
27657
27658 [BZ #15536]
27659 * math/libm-test.inc (MAX_EXP): Remove
27660 (MIN_EXP): Define.
27661 (ulp): Use MIN_EXP - MANT_DIG.
27662 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27663
3b3c4d40
CD
276642013-05-31 Carlos O'Donell <carlos@redhat.com>
27665
27666 * po/be.po: Revert last change.
27667 * po/zh_CN.po: Likewise.
27668 * po/header.pot: Likewise.
27669
fab7ce3f
JM
276702013-05-31 Joseph Myers <joseph@codesourcery.com>
27671
27672 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27673 link-libc-deps to empty as target-specific variable.
27674 * Makerules (link-libc-args): New variable.
27675 (libc-for-link): Likewise.
27676 (link-libc-deps): Likewise.
27677 (lib%.so): Depend on $(link-libc-deps). Link with
27678 $(link-libc-args).
27679 (build-module): Link with $(link-libc-args).
27680 (build-module-asneeded): Likewise.
27681 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27682 list of objects.
27683 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27684 target-specific variable.
27685 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27686 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27687 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27688 libc.
27689 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27690 libc and ld.so.
27691 ($(objpfx)libpcprofile.so): Likewise.
27692 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27693 libc_nonshared.a.
27694 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27695 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27696 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27697 $(link-libc-deps).
27698 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27699 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27700 * login/Makefile ($(objpfx)libutil.so): Likewise.
27701 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27702 * math/Makefile ($(objpfx)libm.so): Likewise.
27703 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27704 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27705 variable instead of depending directly on libc.
27706 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27707 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27708 $(link-libc-deps).
27709 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27710 libc.
27711 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27712 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27713 ($(objpfx)libanl.so): Likewise.
27714 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27715 ld.so.
27716 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27717 $(link-libc-deps).
27718 * sysdeps/i386/fpu/Makefile: Remove file.
27719 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27720 ($(objpfx)libm.so): Remove dependency on ld.so.
27721
eca5920c
PF
277222013-05-30 Patsy Franklin <pfrankli@redhat.com>
27723
27724 [BZ # 15553]
27725 * nis/yp_xdr.c (XDRMAXNAME): Define.
27726 (XDRMAXRECORD): Define.
27727 (xdr_domainname): Use XDRMAXNAME.
27728 (xdr_mapname): Likewise.
27729 (xdr_peername): Likewise.
27730 (xdr_keydat): Use XDRMAXRECORD.
27731 (xdr_valdat): Likewise.
27732
277332013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27734
27735 [BZ #14256]
27736 * manual/errno.texi (ESTALE): Update to account for more than
27737 just NFS file systems.
27738 * sysdeps/gnu/errlist.c: Regenerated.
27739
b9375348
SP
277402013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27741
27742 [BZ #15465]
27743 * elf/Makefile (tests): Add tst-null-argv.
27744 (modules-names): Add tst-null-argv-lib.
27745 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27746 (tst-null-argv-ENV): Set environment for tst-null-argv.
27747 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27748 (RTLD_PROGNAME): New macro.
27749 * elf/tst-null-argv.c: New test case.
27750 * elf/tst-null-argv-lib.c: Library for test case.
27751 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27752 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27753 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27754 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27755 * elf/dl-init.c (call_init): Likewise.
27756 (_dl_init): Likewise.
27757 * elf/dl-load.c (print_search_path): Likewise.
27758 (_dl_map_object): Likewise.
27759 * elf/dl-lookup.c (do_lookup_x): Likewise.
27760 (add_dependency): Likewise.
27761 (_dl_lookup_symbol_x): Likewise.
27762 (_dl_debug_bindings): Likewise.
27763 * elf/dl-open.c (_dl_show_scope): Likewise.
27764 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27765 * elf/dl-version.c (match_symbol): Likewise.
27766 (_dl_check_map_versions): Likewise.
27767 * elf/rtld.c (dl_main): Likewise.
27768 (print_unresolved): Use RTLD_PROGNAME.
27769 (print_missing_version): Likewise.
27770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27771 (elf_machine_rela): Likewise.
27772 * sysdeps/powerpc/powerpc32/dl-machine.c
27773 (__process_machine_rela): Likewise.
27774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27775 Likewise.
27776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27777 Likewise.
27778 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27779 Likewise.
27780 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27782 Likewise.
27783 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27784 Likewise.
27785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27786
8a9f20c8
CD
277872013-05-28 Carlos O'Donell <carlos@redhat.com>
27788
27789 * po/be.po: Add descriptive title.
27790 * po/zh_CN.po: Likewise.
27791 * po/header.pot: Likewise.
27792
0e60d68e
MF
277932013-05-28 Mike Frysinger <vapier@gentoo.org>
27794
27795 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27796 error message.
27797 (enlarge_archive): Likewise.
27798
56b672e9
BN
277992013-05-28 Ben North <ben@redfrontdoor.org>
27800
27801 * manual/arith.texi (frexp): It is the magnitude of the return
27802 value which lies in [0.5, 1), not the return value itself.
27803
5e056687
AZ
278042013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27805
27806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27807
2b66ef5d
TS
278082013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27809
528c2405
TS
27810 * stdio-common/bug26.c (main): Correct fscanf template.
27811
07b4c13d
TS
27812 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27813 declare _dl_skip_args.
27814
ec9dd97c
TS
27815 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27816 Don't declare.
27817
2b66ef5d
TS
27818 * manual/platform.texi: Add missing @end deftypefun.
27819
4f8dfe27
JM
278202013-05-24 Joseph Myers <joseph@codesourcery.com>
27821
0323d086
JM
27822 [BZ #15529]
27823 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27824 bit of mantissa of 2^16382.
27825 * math/libm-test.inc (hypot_test_data): Add more tests.
27826
dd4259b9
JM
27827 * math/libm-test.inc: Add drem and pow10 to list of tested
27828 functions.
27829 (pow10_test): New function.
27830 (drem_test): Likewise.
27831 (drem_test_tonearest): Likewise.
27832 (drem_test_towardzero): Likewise.
27833 (drem_test_downward): Likewise.
27834 (drem_test_upward): Likewise.
27835 (main): Call the new functions.
27836
4f8dfe27
JM
27837 * math/libm-test.inc (finite_test_data): Remove.
27838 (finite_test): Run tests from isfinite_test_data.
27839 (gamma_test_data): Remove.
27840 (gamma_test): Run tests from lgamma_test_data.
27841 * sysdeps/i386/fpu/libm-test-ulps: Update.
27842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27843
d116b7c4
AZ
278442013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27845
27846 * manual/platform.texi: Add PowerPC PPR function set documentation.
27847 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27848 implementation.
27849
e96e3767
CD
278502013-05-24 Carlos O'Donell <carlos@redhat.com>
27851
27852 * math/libm-test.inc (MAX_EXP): Define.
27853 (ULPDIFF): Define.
27854 (ulp): New function.
27855 (check_float_internal): Use ULPDIFF.
27856 (cpow_test): Disable failing test.
27857 (check_ulp): Test ulp() implemetnation.
27858 (main): Call check_ulp before starting tests.
27859
b679a606
JM
278602013-05-24 Joseph Myers <joseph@codesourcery.com>
27861
e8bdba36
JM
27862 * math/gen-libm-test.pl (generate_testfile): Do not handle
27863 START_DATA and END_DATA.
27864 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27865 END_DATA.
27866 (acos_tonearest_test_data): Likewise.
27867 (acos_towardzero_test_data): Likewise.
27868 (acos_downward_test_data): Likewise.
27869 (acos_upward_test_data): Likewise.
27870 (acosh_test_data): Likewise.
27871 (asin_test_data): Likewise.
27872 (asin_tonearest_test_data): Likewise.
27873 (asin_towardzero_test_data): Likewise.
27874 (asin_downward_test_data): Likewise.
27875 (asin_upward_test_data): Likewise.
27876 (asinh_test_data): Likewise.
27877 (atan_test_data): Likewise.
27878 (atanh_test_data): Likewise.
27879 (atan2_test_data): Likewise.
27880 (cabs_test_data): Likewise.
27881 (cacos_test_data): Likewise.
27882 (cacosh_test_data): Likewise.
27883 (carg_test_data): Likewise.
27884 (casin_test_data): Likewise.
27885 (casinh_test_data): Likewise.
27886 (catan_test_data): Likewise.
27887 (catanh_test_data): Likewise.
27888 (cbrt_test_data): Likewise.
27889 (ccos_test_data): Likewise.
27890 (ccosh_test_data): Likewise.
27891 (ceil_test_data): Likewise.
27892 (cexp_test_data): Likewise.
27893 (cimag_test_data): Likewise.
27894 (clog_test_data): Likewise.
27895 (clog10_test_data): Likewise.
27896 (conj_test_data): Likewise.
27897 (copysign_test_data): Likewise.
27898 (cos_test_data): Likewise.
27899 (cos_tonearest_test_data): Likewise.
27900 (cos_towardzero_test_data): Likewise.
27901 (cos_downward_test_data): Likewise.
27902 (cos_upward_test_data): Likewise.
27903 (cosh_test_data): Likewise.
27904 (cosh_tonearest_test_data): Likewise.
27905 (cosh_towardzero_test_data): Likewise.
27906 (cosh_downward_test_data): Likewise.
27907 (cosh_upward_test_data): Likewise.
27908 (cpow_test_data): Likewise.
27909 (cproj_test_data): Likewise.
27910 (creal_test_data): Likewise.
27911 (csin_test_data): Likewise.
27912 (csinh_test_data): Likewise.
27913 (csqrt_test_data): Likewise.
27914 (ctan_test_data): Likewise.
27915 (ctan_tonearest_test_data): Likewise.
27916 (ctan_towardzero_test_data): Likewise.
27917 (ctan_downward_test_data): Likewise.
27918 (ctan_upward_test_data): Likewise.
27919 (ctanh_test_data): Likewise.
27920 (ctanh_tonearest_test_data): Likewise.
27921 (ctanh_towardzero_test_data): Likewise.
27922 (ctanh_downward_test_data): Likewise.
27923 (ctanh_upward_test_data): Likewise.
27924 (erf_test_data): Likewise.
27925 (erfc_test_data): Likewise.
27926 (exp_test_data): Likewise.
27927 (exp_tonearest_test_data): Likewise.
27928 (exp_towardzero_test_data): Likewise.
27929 (exp_downward_test_data): Likewise.
27930 (exp_upward_test_data): Likewise.
27931 (exp10_test_data): Likewise.
27932 (exp2_test_data): Likewise.
27933 (expm1_test_data): Likewise.
27934 (fabs_test_data): Likewise.
27935 (fdim_test_data): Likewise.
27936 (finite_test_data): Likewise.
27937 (floor_test_data): Likewise.
27938 (fma_test_data): Likewise.
27939 (fma_towardzero_test_data): Likewise.
27940 (fma_downward_test_data): Likewise.
27941 (fma_upward_test_data): Likewise.
27942 (fmax_test_data): Likewise.
27943 (fmin_test_data): Likewise.
27944 (fmod_test_data): Likewise.
27945 (fpclassify_test_data): Likewise.
27946 (frexp_test_data): Likewise.
27947 (gamma_test_data): Likewise.
27948 (hypot_test_data): Likewise.
27949 (ilogb_test_data): Likewise.
27950 (isfinite_test_data): Likewise.
27951 (isgreater_test_data): Likewise.
27952 (isgreaterequal_test_data): Likewise.
27953 (isinf_test_data): Likewise.
27954 (isless_test_data): Likewise.
27955 (islessequal_test_data): Likewise.
27956 (islessgreater_test_data): Likewise.
27957 (isnan_test_data): Likewise.
27958 (isnormal_test_data): Likewise.
27959 (issignaling_test_data): Likewise.
27960 (isunordered_test_data): Likewise.
27961 (j0_test_data): Likewise.
27962 (j1_test_data): Likewise.
27963 (jn_test_data): Likewise.
27964 (ldexp_test_data): Likewise.
27965 (lgamma_test_data): Likewise.
27966 (lrint_test_data): Likewise.
27967 (lrint_tonearest_test_data): Likewise.
27968 (lrint_towardzero_test_data): Likewise.
27969 (lrint_downward_test_data): Likewise.
27970 (lrint_upward_test_data): Likewise.
27971 (llrint_test_data): Likewise.
27972 (llrint_tonearest_test_data): Likewise.
27973 (llrint_towardzero_test_data): Likewise.
27974 (llrint_downward_test_data): Likewise.
27975 (llrint_upward_test_data): Likewise.
27976 (log_test_data): Likewise.
27977 (log10_test_data): Likewise.
27978 (log1p_test_data): Likewise.
27979 (log2_test_data): Likewise.
27980 (logb_test_data): Likewise.
27981 (logb_downward_test_data): Likewise.
27982 (lround_test_data): Likewise.
27983 (llround_test_data): Likewise.
27984 (modf_test_data): Likewise.
27985 (nearbyint_test_data): Likewise.
27986 (nextafter_test_data): Likewise.
27987 (nexttoward_test_data): Likewise.
27988 (pow_test_data): Likewise.
27989 (pow_tonearest_test_data): Likewise.
27990 (pow_towardzero_test_data): Likewise.
27991 (pow_downward_test_data): Likewise.
27992 (pow_upward_test_data): Likewise.
27993 (remainder_test_data): Likewise.
27994 (remainder_tonearest_test_data): Likewise.
27995 (remainder_towardzero_test_data): Likewise.
27996 (remainder_downward_test_data): Likewise.
27997 (remainder_upward_test_data): Likewise.
27998 (remquo_test_data): Likewise.
27999 (rint_test_data): Likewise.
28000 (rint_tonearest_test_data): Likewise.
28001 (rint_towardzero_test_data): Likewise.
28002 (rint_downward_test_data): Likewise.
28003 (rint_upward_test_data): Likewise.
28004 (round_test_data): Likewise.
28005 (scalb_test_data): Likewise.
28006 (scalbn_test_data): Likewise.
28007 (scalbln_test_data): Likewise.
28008 (signbit_test_data): Likewise.
28009 (sin_test_data): Likewise.
28010 (sin_tonearest_test_data): Likewise.
28011 (sin_towardzero_test_data): Likewise.
28012 (sin_downward_test_data): Likewise.
28013 (sin_upward_test_data): Likewise.
28014 (sincos_test_data): Likewise.
28015 (sinh_test_data): Likewise.
28016 (sinh_tonearest_test_data): Likewise.
28017 (sinh_towardzero_test_data): Likewise.
28018 (sinh_downward_test_data): Likewise.
28019 (sinh_upward_test_data): Likewise.
28020 (sqrt_test_data): Likewise.
28021 (tan_test_data): Likewise.
28022 (tan_tonearest_test_data): Likewise.
28023 (tan_towardzero_test_data): Likewise.
28024 (tan_downward_test_data): Likewise.
28025 (tan_upward_test_data): Likewise.
28026 (tanh_test_data): Likewise.
28027 (tgamma_test_data): Likewise.
28028 (trunc_test_data): Likewise.
28029 (y0_test_data): Likewise.
28030 (y1_test_data): Likewise.
28031 (yn_test_data): Likewise.
28032 (significand_test_data): Likewise.
28033
b679a606
JM
28034 * math/gen-libm-test.pl (@functions): Remove variable.
28035 (generate_testfile): Don't handle START and END lines.
28036 * math/libm-test.inc (START): New macro.
28037 (END): Likewise.
28038 (END_COMPLEX): Likewise.
28039 (acos_test): Use END macro without arguments.
28040 (acos_test_tonearest): Likewise.
28041 (acos_test_towardzero): Likewise.
28042 (acos_test_downward): Likewise.
28043 (acos_test_upward): Likewise.
28044 (acosh_test): Likewise.
28045 (asin_test): Likewise.
28046 (asin_test_tonearest): Likewise.
28047 (asin_test_towardzero): Likewise.
28048 (asin_test_downward): Likewise.
28049 (asin_test_upward): Likewise.
28050 (asinh_test): Likewise.
28051 (atan_test): Likewise.
28052 (atanh_test): Likewise.
28053 (atan2_test): Likewise.
28054 (cabs_test): Likewise.
28055 (cacos_test): Use END_COMPLEX macro without arguments.
28056 (cacosh_test): Likewise.
28057 (carg_test): Use END macro without arguments.
28058 (casin_test): Use END_COMPLEX macro without arguments.
28059 (casinh_test): Likewise.
28060 (catan_test): Likewise.
28061 (catanh_test): Likewise.
28062 (cbrt_test): Use END macro without arguments.
28063 (ccos_test): Use END_COMPLEX macro without arguments.
28064 (ccosh_test): Likewise.
28065 (ceil_test): Use END macro without arguments.
28066 (cexp_test): Use END_COMPLEX macro without arguments.
28067 (cimag_test): Use END macro without arguments.
28068 (clog_test): Use END_COMPLEX macro without arguments.
28069 (clog10_test): Likewise.
28070 (conj_test): Likewise.
28071 (copysign_test): Use END macro without arguments.
28072 (cos_test): Likewise.
28073 (cos_test_tonearest): Likewise.
28074 (cos_test_towardzero): Likewise.
28075 (cos_test_downward): Likewise.
28076 (cos_test_upward): Likewise.
28077 (cosh_test): Likewise.
28078 (cosh_test_tonearest): Likewise.
28079 (cosh_test_towardzero): Likewise.
28080 (cosh_test_downward): Likewise.
28081 (cosh_test_upward): Likewise.
28082 (cpow_test): Use END_COMPLEX macro without arguments.
28083 (cproj_test): Likewise.
28084 (creal_test): Use END macro without arguments.
28085 (csin_test): Use END_COMPLEX macro without arguments.
28086 (csinh_test): Likewise.
28087 (csqrt_test): Likewise.
28088 (ctan_test): Likewise.
28089 (ctan_test_tonearest): Likewise.
28090 (ctan_test_towardzero): Likewise.
28091 (ctan_test_downward): Likewise.
28092 (ctan_test_upward): Likewise.
28093 (ctanh_test): Likewise.
28094 (ctanh_test_tonearest): Likewise.
28095 (ctanh_test_towardzero): Likewise.
28096 (ctanh_test_downward): Likewise.
28097 (ctanh_test_upward): Likewise.
28098 (erf_test): Use END macro without arguments.
28099 (erfc_test): Likewise.
28100 (exp_test): Likewise.
28101 (exp_test_tonearest): Likewise.
28102 (exp_test_towardzero): Likewise.
28103 (exp_test_downward): Likewise.
28104 (exp_test_upward): Likewise.
28105 (exp10_test): Likewise.
28106 (exp2_test): Likewise.
28107 (expm1_test): Likewise.
28108 (fabs_test): Likewise.
28109 (fdim_test): Likewise.
28110 (finite_test): Likewise.
28111 (floor_test): Likewise.
28112 (fma_test): Likewise.
28113 (fma_test_towardzero): Likewise.
28114 (fma_test_downward): Likewise.
28115 (fma_test_upward): Likewise.
28116 (fmax_test): Likewise.
28117 (fmin_test): Likewise.
28118 (fmod_test): Likewise.
28119 (fpclassify_test): Likewise.
28120 (frexp_test): Likewise.
28121 (gamma_test): Likewise.
28122 (hypot_test): Likewise.
28123 (ilogb_test): Likewise.
28124 (isfinite_test): Likewise.
28125 (isgreater_test): Likewise.
28126 (isgreaterequal_test): Likewise.
28127 (isinf_test): Likewise.
28128 (isless_test): Likewise.
28129 (islessequal_test): Likewise.
28130 (islessgreater_test): Likewise.
28131 (isnan_test): Likewise.
28132 (isnormal_test): Likewise.
28133 (issignaling_test): Likewise.
28134 (isunordered_test): Likewise.
28135 (j0_test): Likewise.
28136 (j1_test): Likewise.
28137 (jn_test): Likewise.
28138 (ldexp_test): Likewise.
28139 (lgamma_test): Likewise.
28140 (lrint_test): Likewise.
28141 (lrint_test_tonearest): Likewise.
28142 (lrint_test_towardzero): Likewise.
28143 (lrint_test_downward): Likewise.
28144 (lrint_test_upward): Likewise.
28145 (llrint_test): Likewise.
28146 (llrint_test_tonearest): Likewise.
28147 (llrint_test_towardzero): Likewise.
28148 (llrint_test_downward): Likewise.
28149 (llrint_test_upward): Likewise.
28150 (log_test): Likewise.
28151 (log10_test): Likewise.
28152 (log1p_test): Likewise.
28153 (log2_test): Likewise.
28154 (logb_test): Likewise.
28155 (logb_test_downward): Likewise.
28156 (lround_test): Likewise.
28157 (llround_test): Likewise.
28158 (modf_test): Likewise.
28159 (nearbyint_test): Likewise.
28160 (nextafter_test): Likewise.
28161 (nexttoward_test): Likewise.
28162 (pow_test): Likewise.
28163 (pow_test_tonearest): Likewise.
28164 (pow_test_towardzero): Likewise.
28165 (pow_test_downward): Likewise.
28166 (pow_test_upward): Likewise.
28167 (remainder_test): Likewise.
28168 (remainder_test_tonearest): Likewise.
28169 (remainder_test_towardzero): Likewise.
28170 (remainder_test_downward): Likewise.
28171 (remainder_test_upward): Likewise.
28172 (remquo_test): Likewise.
28173 (rint_test): Likewise.
28174 (rint_test_tonearest): Likewise.
28175 (rint_test_towardzero): Likewise.
28176 (rint_test_downward): Likewise.
28177 (rint_test_upward): Likewise.
28178 (round_test): Likewise.
28179 (scalb_test): Likewise.
28180 (scalbn_test): Likewise.
28181 (scalbln_test): Likewise.
28182 (signbit_test): Likewise.
28183 (sin_test): Likewise.
28184 (sin_test_tonearest): Likewise.
28185 (sin_test_towardzero): Likewise.
28186 (sin_test_downward): Likewise.
28187 (sin_test_upward): Likewise.
28188 (sincos_test): Likewise.
28189 (sinh_test): Likewise.
28190 (sinh_test_tonearest): Likewise.
28191 (sinh_test_towardzero): Likewise.
28192 (sinh_test_downward): Likewise.
28193 (sinh_test_upward): Likewise.
28194 (sqrt_test): Likewise.
28195 (tan_test): Likewise.
28196 (tan_test_tonearest): Likewise.
28197 (tan_test_towardzero): Likewise.
28198 (tan_test_downward): Likewise.
28199 (tan_test_upward): Likewise.
28200 (tanh_test): Likewise.
28201 (tgamma_test): Likewise.
28202 (trunc_test): Likewise.
28203 (y0_test): Likewise.
28204 (y1_test): Likewise.
28205 (yn_test): Likewise.
28206 (significand_test): Likewise.
28207
bae143d2
OB
282082013-05-24 Ondřej Bílka <neleai@seznam.cz>
28209
28210 [BZ #15381]
28211 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28212
9323d39b
EM
282132013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28214
d4ea44a0 28215 [BZ #14894]
9323d39b
EM
28216 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28217 __ppc_mdoio and __ppc_mdoom.
28218 * manual/platform.texi: Document new functions __ppc_yield,
28219 __ppc_mdoio and __ppc_mdoom.
28220
13e23af7
CD
282212013-05-22 Carlos O'Donell <carlos@redhat.com>
28222
28223 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28224 (main): Mention "tls" pseudo-hwcap is legacy.
28225 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28226
351fe550
JM
282272013-05-22 Joseph Myers <joseph@codesourcery.com>
28228
28229 * math/gen-libm-test.pl (parse_args): Output only string of
28230 arguments as text for test name, not full call or descriptions of
28231 tests for extra outputs.
28232 (generate_testfile): Do not pass function name to parse_args.
28233 Generate this_func variable from START.
28234 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28235 field to arg_str.
28236 (struct test_ff_f_data): Likewise.
28237 (test_ff_f_data_nexttoward): Likewise.
28238 (struct test_fi_f_data): Likewise.
28239 (struct test_fl_f_data): Likewise.
28240 (struct test_if_f_data): Likewise.
28241 (struct test_fff_f_data): Likewise.
28242 (struct test_c_f_data): Likewise.
28243 (struct test_f_f1_data): Likewise. Remove field extra_name.
28244 (struct test_fF_f1_data): Likewise.
28245 (struct test_ffI_f1_data): Likewise.
28246 (struct test_c_c_data): Rename test_name field to arg_str.
28247 (struct test_cc_c_data): Likewise.
28248 (struct test_f_i_data): Likewise.
28249 (struct test_ff_i_data): Likewise.
28250 (struct test_f_l_data): Likewise.
28251 (struct test_f_L_data): Likewise.
28252 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28253 and extra2_name.
28254 (COMMON_TEST_SETUP): New macro.
28255 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28256 (COMMON_TEST_CLEANUP): Likewise.
28257 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28258 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28259 macros.
28260 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28261 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28262 macros.
28263 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28264 (RUN_TEST_fff_f): Take argument string. Call new setup and
28265 cleanup macros.
28266 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28267 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28268 macros.
28269 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28270 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28271 macros.
28272 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28273 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28274 cleanup macros.
28275 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28276 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28277 cleanup macros.
28278 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28279 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28280 cleanup macros.
28281 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28282 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28283 macros.
28284 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28285 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28286 macros.
28287 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28288 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28289 macros.
28290 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28291 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28292 cleanup macros.
28293 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28294 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28295 cleanup macros.
28296 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28297 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28298 macros.
28299 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28300 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28301 cleanup macros.
28302 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28303 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28304 macros.
28305 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28306 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28307 macros.
28308 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28309 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28310 cleanup macros.
28311 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28312
85118d4d
EBM
283132013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28314
28315 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28316 to _sifields.sigfault.
28317 (si_addr_lsb): Define new macro.
28318 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28320 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28321
7a44c18f
CD
283222013-05-03 Carlos O'Donell <carlos at redhat.com>
28323
28324 [BZ #15441]
28325 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28326 returns -1.
28327 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28328 null return -1.
28329 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28330 loading the domain.
28331
b50a7181
JM
283322013-05-22 Joseph Myers <joseph@codesourcery.com>
28333
28334 * math/gen-libm-test.pl (parse_args): Do not include expected
28335 result in test name.
28336 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28337 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28338 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28339 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28340 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28342
051063c8
SP
283432013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28344
3ce9e010
SP
28345 * benchtests/Makefile: Sort function entries.
28346
051063c8
SP
28347 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28348 tanh, asinh, acosh, atanh.
28349 * benchtests/acos-inputs: New file.
28350 * benchtests/acosh-inputs: New file.
28351 * benchtests/asin-inputs: New file.
28352 * benchtests/asinh-inputs: New file.
28353 * benchtests/atanh-inputs: New file.
28354 * benchtests/cosh-inputs: New file.
28355 * benchtests/log-inputs: New file.
28356 * benchtests/sinh-inputs: New file.
28357 * benchtests/tanh-inputs: New file.
28358
47c22455
DL
283592013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28360
28361 [BZ #15339]
28362 * posix/tst-getaddrinfo4.c: New test.
28363 * posix/Makefile (tests): Add it.
28364
3d04f5db
SP
283652013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28366
28367 [BZ #15339]
28368 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28369 when no services were used.
28370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28371 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28372
d5dd6189
AS
283732013-05-21 Andreas Schwab <schwab@suse.de>
28374
28375 [BZ #15014]
28376 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28377 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28378 successful.
28379 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28380 redundant variable declarations and reallocation of buffer when
28381 parsing as IPv6 address. Always set NSS status when called from
28382 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28383 buffer too small. Correct computation of needed size.
28384 * nss/Makefile (tests): Add test-digits-dots.
28385 * nss/test-digits-dots.c: New test.
28386
fef94eab
SP
283872013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28388
28389 * benchtests/Makefile: Remove instructions for adding
28390 benchmark tests.
28391 * benchtests/README: New file to explain how to execute and
28392 enhance the benchmark tests.
28393
e39adf43
AS
283942013-05-21 Andreas Schwab <schwab@suse.de>
28395
28396 [BZ #15493]
28397 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28398 * setjmp/tst-sigsetjmp.c: New test.
28399
b2b671b6
OB
284002013-05-20 Ondřej Bílka <neleai@seznam.cz>
28401
28402 * sysdeps/x86_64/memset.S (memset): New implementation.
28403 (__bzero): Likewise.
28404 (__memset_tail): New function.
28405
2d48b41c
OB
284062013-05-20 Ondřej Bílka <neleai@seznam.cz>
28407
28408 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28409 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28410 __memcpy_sse2_unaligned ifunc selection.
28411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28412 Add memcpy-sse2-unaligned.S.
28413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28414 Add: __memcpy_sse2_unaligned.
28415
f16cc3eb
JM
284162013-05-19 Joseph Myers <joseph@codesourcery.com>
28417
3e694268
JM
28418 [BZ #15490]
28419 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28420 math_force_eval before restoring floating-point envrionment.
28421 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28422 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28423 Likewise.
28424 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28425 <math_private.h>.
28426 (__nearbyintl): Use math_force_eval before restoring
28427 floating-point environment.
28428 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28429
db62a907
JM
28430 * math/gen-libm-test.pl (special_functions): Remove.
28431 (parse_args): Don't handle TEST_extra. Handle functions with no
28432 return value.
28433 * math/libm-test.inc (struct test_sincos_data): Replace with
28434 struct test_fFF_11_data.
28435 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28436 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28437 (sincos_test_data): Change element type to struct
28438 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28439 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28440 RUN_TEST_LOOP_sincos.
28441 * math/README.libm-test: Don't mention special handling of
28442 individual functions.
28443 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28445 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28446 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28447 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28449
f16cc3eb
JM
28450 * math/gen-libm-test.pl (get_variable): Remove function.
28451 (parse_args): Don't show pointer parameters to call in test
28452 names. Use "extra output N" in test names for extra outputs
28453 rather than naming variables.
28454
3779b5b6
JM
284552013-05-18 Joseph Myers <joseph@codesourcery.com>
28456
2ee094ff
JM
28457 [BZ #15488]
28458 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28459 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28460 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28461 double tests.
28462 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28463 disable.
28464 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28465 check_long_double.
28466
3779b5b6
JM
28467 * math/gen-libm-test.pl (@tests): Remove variable.
28468 ($count): Likewise.
28469 (new_test): Remove function.
28470 (show_exceptions): New function.
28471 (special_functions): Use show_exceptions instead of new_test.
28472 (parse_args): Likewise.
28473 (generate_testfile): Pass only function name in generated call to
28474 print_max_error or print_complex_max_error.
28475 (get_ulps): Do not handle complex tests specially.
28476 (output_test): Rename to ...
28477 (get_all_ulps_for_test): ... this. Return a string rather than
28478 printing to a file. Require ulps to be present.
28479 (output_ulps): Generate arrays rather than #defines.
28480 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28481 (struct ulp_data): New type.
28482 (BUILD_COMPLEX_ULP): Remove macro.
28483 (compare_ulp_data): New function.
28484 (find_ulps): Likewise.
28485 (find_test_ulps): Likewise.
28486 (find_function_ulps): Likewise.
28487 (find_complex_function_ulps): Likewise.
28488 (print_max_error): Determine allowed ulps using
28489 find_function_ulps.
28490 (print_complex_max_error): Determine allowed ulps using
28491 find_complex_function_ulps.
28492 (check_float_internal): Determine max ulps using find_test_ulps.
28493 (check_float): Do not take max_ulp parameter. Update call to
28494 check_float_internal.
28495 (check_complex): Likewise.
28496 (check_int): Do not take max_ulp parameter.
28497 (check_long): Likewise.
28498 (check_bool): Likewise.
28499 (check_longlong): Likewise.
28500 (struct test_f_f_data): Remove max_ulp field.
28501 (struct test_ff_f_data): Likewise.
28502 (struct test_ff_f_data_nexttoward): Likewise.
28503 (struct test_fi_f_data): Likewise.
28504 (struct test_fl_f_data): Likewise.
28505 (struct test_if_f_data): Likewise.
28506 (struct test_fff_f_data): Likewise.
28507 (struct test_c_f_data): Likewise.
28508 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28509 (struct test_fF_f1_data): Likewise.
28510 (struct test_ffI_f1_data): Likewise.
28511 (struct test_c_c_data): Remove max_ulp field.
28512 (struct test_cc_c_data): Likewise.
28513 (struct test_f_i_data): Likewise.
28514 (struct test_ff_i_data): Likewise.
28515 (struct test_f_l_data): Likewise.
28516 (struct test_f_L_data): Likewise.
28517 (struct test_sincos_data): Likewise.
28518 (RUN_TEST_f_f): Do not handle ulps.
28519 (RUN_TEST_LOOP_f_f): Likewise.
28520 (RUN_TEST_2_f): Likewise.
28521 (RUN_TEST_LOOP_2_f): Likewise.
28522 (RUN_TEST_fff_f): Likewise.
28523 (RUN_TEST_LOOP_fff_f): Likewise.
28524 (RUN_TEST_c_f): Likewise.
28525 (RUN_TEST_LOOP_c_f): Likewise.
28526 (RUN_TEST_f_f1): Likewise.
28527 (RUN_TEST_LOOP_f_f1): Likewise.
28528 (RUN_TEST_fF_f1): Likewise.
28529 (RUN_TEST_LOOP_fF_f1): Likewise.
28530 (RUN_TEST_fI_f1): Likewise.
28531 (RUN_TEST_LOOP_fI_f1): Likewise.
28532 (RUN_TEST_ffI_f1): Likewise.
28533 (RUN_TEST_LOOP_ffI_f1): Likewise.
28534 (RUN_TEST_c_c): Likewise.
28535 (RUN_TEST_LOOP_c_c): Likewise.
28536 (RUN_TEST_cc_c): Likewise.
28537 (RUN_TEST_LOOP_cc_c): Likewise.
28538 (RUN_TEST_f_i): Likewise.
28539 (RUN_TEST_LOOP_f_i): Likewise.
28540 (RUN_TEST_f_i_tg): Likewise.
28541 (RUN_TEST_LOOP_f_i_tg): Likewise.
28542 (RUN_TEST_ff_i_tg): Likewise.
28543 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28544 (RUN_TEST_f_b): Likewise.
28545 (RUN_TEST_LOOP_f_b): Likewise.
28546 (RUN_TEST_f_b_tg): Likewise.
28547 (RUN_TEST_LOOP_f_b_tg): Likewise.
28548 (RUN_TEST_f_l): Likewise.
28549 (RUN_TEST_LOOP_f_l): Likewise.
28550 (RUN_TEST_f_L): Likewise.
28551 (RUN_TEST_LOOP_f_L): Likewise.
28552 (RUN_TEST_sincos): Likewise.
28553 (RUN_TEST_LOOP_sincos): Likewise.
28554
8269107f
JM
285552013-05-17 Joseph Myers <joseph@codesourcery.com>
28556
bb38759d
JM
28557 [BZ #15480]
28558 [BZ #15485]
28559 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28560 main case of finite arguments, set rounding mode to FE_TONEAREST
28561 and discard exceptions.
28562 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28563 exceptions.
28564 (remainder_tonearest_test_data): New variable.
28565 (remainder_test_tonearest): New function.
28566 (remainder_towardzero_test_data): New variable.
28567 (remainder_test_towardzero): New function.
28568 (remainder_downward_test_data): New variable.
28569 (remainder_test_downward): New function.
28570 (remainder_upward_test_data): New variable.
28571 (remainder_test_upward): New function.
28572 (main): Call the new test functions.
28573
a00bdcf0
JM
28574 * math/libm-test.inc (struct test_f_f1_data): Remove field
28575 extra_init.
28576 (struct test_fF_f1_data): Likewise.
28577 (struct test_ffI_f1_data): Likewise.
28578 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28579 based on value of EXTRA_EXPECTED.
28580 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28581 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28582 EXTRA_VAR based on value of EXTRA_EXPECTED.
28583 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28584 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28585 EXTRA_VAR based on value of EXTRA_EXPECTED.
28586 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28587 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28588 EXTRA_VAR based on value of EXTRA_EXPECTED.
28589 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28590 * math/gen-libm-test.pl (parse_args): Don't output initializers
28591 for extra output values.
28592
de407f79
JM
28593 * math/libm-test.inc (check_int): Expect result to be exactly
28594 equal to expected value and do not handle ulps.
28595 (check_long): Likewise.
28596 (check_longlong): Likewise.
28597
8269107f
JM
28598 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28599 exceptions.
28600 (cimag_test_data): Likewise.
28601 (conj_test_data): Likewise.
28602 (copysign_test_data): Likewise.
28603 (cproj_test_data): Likewise.
28604 (creal_test_data): Likewise.
28605 (fabs_test_data): Likewise.
28606 (fdim_test_data): Likewise.
28607 (finite_test_data): Likewise.
28608 (floor_test_data): Likewise.
28609 (fmax_test_data): Likewise.
28610 (fmin_test_data): Likewise.
28611 (fmod_test_data): Likewise.
28612 (fpclassify_test_data): Likewise.
28613 (frexp_test_data): Likewise.
28614 (ilogb_test_data): Likewise.
28615 (isfinite_test_data): Likewise.
28616 (isgreater_test_data): Likewise.
28617 (isgreaterequal_test_data): Likewise.
28618 (isinf_test_data): Likewise.
28619 (isless_test_data): Likewise.
28620 (islessequal_test_data): Likewise.
28621 (islessgreater_test_data): Likewise.
28622 (isnan_test_data): Likewise.
28623 (isnormal_test_data): Likewise.
28624 (issignaling_test_data): Likewise.
28625 (isunordered_test_data): Likewise.
28626 (ldexp_test_data): Likewise.
28627 (lrint_test_data): Likewise.
28628 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28629 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28630 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28631 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28632 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28633 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28634 test input.
28635 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28636 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28637 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28638 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28639 that test input.
28640 (lrint_downward_test_data): Test for "inexact" exceptions.
28641 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28642 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28643 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28644 test input.
28645 (lrint_upward_test_data): Test for "inexact" exceptions.
28646 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28647 test input.
28648 (llrint_test_data): Test for "inexact" exceptions.
28649 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28650 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28651 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28652 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28653 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28654 (llrint_downward_test_data): Test for "inexact" exceptions.
28655 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28656 (llrint_upward_test_data): Test for "inexact" exceptions.
28657 (logb_test_data): Likewise.
28658 (logb_downward_test_data): Likewise.
28659 (nextafter_test_data): Likewise.
28660 (nexttoward_test_data): Likewise.
28661 (remainder_test_data): Likewise.
28662 (remquo_test_data): Likewise.
28663 (scalbn_test_data): Likewise.
28664 (scalbln_test_data): Likewise.
28665 (signbit_test_data): Likewise.
28666 (sqrt_test_data): Likewise.
28667 (significand_test_data): Likewise.
28668
48a18de1
SP
286692013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28670
28671 [BZ #15424]
28672 * benchtests/bench-modf.c (struct args): Mark arg0 as
28673 volatile.
28674 * scripts/bench.pl: Mark members of struct args as volatile.
28675
13d3b41a
AZ
286762013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28677
68191c1d 28678 [BZ # 15497]
13d3b41a
AZ
28679 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28680 negative infinity on POWER6 or lower.
28681 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28682
2848b105
MR
286832013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28684
28685 [BZ #15442]
28686 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28687 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28688 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28689 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28690 (_FP_SETQNAN): New macro.
28691 (_FP_SETQNAN_SEMIRAW): Likewise.
28692 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28693 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28694 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28695 (FP_EXTEND): Use _FP_FRAC_SNANP.
28696 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28697 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28698 into account.
28699 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28700 New macro.
28701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28702 Likewise.
28703
323e5cb7
JM
287042013-05-16 Joseph Myers <joseph@codesourcery.com>
28705
c58b274f
JM
28706 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28707 with DIVIDE_BY_ZERO_EXCEPTION.
28708 (gamma_test_data): Likewise.
28709 (lgamma_test_data): Likewise.
28710 (log_test_data): Likewise.
28711 (log10_test_data): Likewise.
28712 (log2_test_data): Likewise.
28713 (tgamma_test_data): Likewise.
28714
0ab34904
JM
28715 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28716 (acos_test_tonearest): Likewise.
28717 (acos_test_towardzero): Likewise.
28718 (acos_test_downward): Likewise.
28719 (acos_test_upward): Likewise.
28720 (acosh_test): Likewise.
28721 (asin_test): Likewise.
28722 (asin_test_tonearest): Likewise.
28723 (asin_test_towardzero): Likewise.
28724 (asin_test_downward): Likewise.
28725 (asin_test_upward): Likewise.
28726 (asinh_test): Likewise.
28727 (atan_test): Likewise.
28728 (atanh_test): Likewise.
28729 (atan2_test): Likewise.
28730 (cabs_test): Likewise.
28731 (cacos_test): Likewise.
28732 (cacosh_test): Likewise.
28733 (casin_test): Likewise.
28734 (casinh_test): Likewise.
28735 (catan_test): Likewise.
28736 (catanh_test): Likewise.
28737 (cbrt_test): Likewise.
28738 (ccos_test): Likewise.
28739 (ccosh_test): Likewise.
28740 (cexp_test): Likewise.
28741 (clog_test): Likewise.
28742 (clog10_test): Likewise.
28743 (cos_test): Likewise.
28744 (cos_test_tonearest): Likewise.
28745 (cos_test_towardzero): Likewise.
28746 (cos_test_downward): Likewise.
28747 (cos_test_upward): Likewise.
28748 (cosh_test): Likewise.
28749 (cosh_test_tonearest): Likewise.
28750 (cosh_test_towardzero): Likewise.
28751 (cosh_test_downward): Likewise.
28752 (cosh_test_upward): Likewise.
28753 (cpow_test): Likewise.
28754 (csin_test): Likewise.
28755 (csinh_test): Likewise.
28756 (csqrt_test): Likewise.
28757 (ctan_test): Likewise.
28758 (ctan_test_tonearest): Likewise.
28759 (ctan_test_towardzero): Likewise.
28760 (ctan_test_downward): Likewise.
28761 (ctan_test_upward): Likewise.
28762 (ctanh_test): Likewise.
28763 (ctanh_test_tonearest): Likewise.
28764 (ctanh_test_towardzero): Likewise.
28765 (ctanh_test_downward): Likewise.
28766 (ctanh_test_upward): Likewise.
28767 (erf_test): Likewise.
28768 (erfc_test): Likewise.
28769 (exp_test): Likewise.
28770 (exp_test_tonearest): Likewise.
28771 (exp_test_towardzero): Likewise.
28772 (exp_test_downward): Likewise.
28773 (exp_test_upward): Likewise.
28774 (exp10_test): Likewise.
28775 (exp2_test): Likewise.
28776 (expm1_test): Likewise.
28777 (fmod_test): Likewise.
28778 (gamma_test): Likewise.
28779 (hypot_test): Likewise.
28780 (j0_test): Likewise.
28781 (j1_test): Likewise.
28782 (jn_test): Likewise.
28783 (lgamma_test): Likewise.
28784 (log_test): Likewise.
28785 (log10_test): Likewise.
28786 (log1p_test): Likewise.
28787 (log2_test): Likewise.
28788 (logb_test_downward): Likewise.
28789 (pow_test): Likewise.
28790 (pow_test_tonearest): Likewise.
28791 (pow_test_towardzero): Likewise.
28792 (pow_test_downward): Likewise.
28793 (pow_test_upward): Likewise.
28794 (remainder_test): Likewise.
28795 (remquo_test): Likewise.
28796 (sin_test): Likewise.
28797 (sin_test_tonearest): Likewise.
28798 (sin_test_towardzero): Likewise.
28799 (sin_test_downward): Likewise.
28800 (sin_test_upward): Likewise.
28801 (sincos_test): Likewise.
28802 (sinh_test): Likewise.
28803 (sinh_test_tonearest): Likewise.
28804 (sinh_test_towardzero): Likewise.
28805 (sinh_test_downward): Likewise.
28806 (sinh_test_upward): Likewise.
28807 (sqrt_test): Likewise.
28808 (tan_test): Likewise.
28809 (tan_test_tonearest): Likewise.
28810 (tan_test_towardzero): Likewise.
28811 (tan_test_downward): Likewise.
28812 (tan_test_upward): Likewise.
28813 (tanh_test): Likewise.
28814 (tgamma_test): Likewise.
28815 (y0_test): Likewise.
28816 (y1_test): Likewise.
28817 (yn_test): Likewise.
28818
323e5cb7
JM
28819 * math/gen-libm-test.pl (adjust_arg): Remove function.
28820 (special_function): Remove argument $in_func. Only handle
28821 generating output for tables of tests, not inside functions.
28822 (parse_args): Likewise.
28823 (generate_testfile): Remove variable $in_func. Update call to
28824 parse_args.
28825 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28826 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28827 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28828 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28829 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28830 (MAX_VALUE_INIT): Rename macro to max_value.
28831 (MIN_VALUE_INIT): Rename macro to min_value.
28832 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28833 (plus_zero): Remove variable.
28834 (minus_zero): Likewise.
28835 (plus_infty): Likewise.
28836 (minus_infty): Likewise.
28837 (qnan_value): Likewise.
28838 (max_value): Likewise.
28839 (min_value): Likewise.
28840 (min_subnorm_value): Likewise.
28841
e054f494
RA
288422013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28843
28844 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28845 uint64_t or uint32_t usage.
28846 * crypt/sha256-block.c: Likewise.
28847 * crypt/sha256-crypt.c: Likewise.
28848 * crypt/sha256.c: Likewise.
28849 * crypt/sha512-block.c: Likewise.
28850 * crypt/sha512-crypt.c: Likewise.
28851 * crypt/sha512.c: Likewise.
28852 * debug/backtrace-tst.c: Likewise.
28853 * debug/pcprofiledump.c: Likewise.
28854 * elf/cache.c: Likewise.
28855 * elf/dl-cache.c: Likewise.
28856 * elf/dl-misc.c: Likewise.
28857 * elf/dl-profile.c: Likewise.
28858 * elf/dl-support.c: Likewise.
28859 * elf/ldconfig.c: Likewise.
28860 * elf/sprof.c: Likewise.
28861 * iconv/dummy-repertoire.c: Likewise.
28862 * iconv/iconv_charmap.c: Likewise.
28863 * iconv/skeleton.c: Likewise.
28864 * iconvdata/8bit-generic.c: Likewise.
28865 * iconvdata/cp737.h: Likewise.
28866 * iconvdata/cp775.h: Likewise.
28867 * iconvdata/ibm1008.h: Likewise.
28868 * iconvdata/ibm1025.h: Likewise.
28869 * iconvdata/ibm1046.h: Likewise.
28870 * iconvdata/ibm1097.h: Likewise.
28871 * iconvdata/ibm1112.h: Likewise.
28872 * iconvdata/ibm1122.h: Likewise.
28873 * iconvdata/ibm1123.h: Likewise.
28874 * iconvdata/ibm1124.h: Likewise.
28875 * iconvdata/ibm1129.h: Likewise.
28876 * iconvdata/ibm1130.h: Likewise.
28877 * iconvdata/ibm1132.h: Likewise.
28878 * iconvdata/ibm1133.h: Likewise.
28879 * iconvdata/ibm1137.h: Likewise.
28880 * iconvdata/ibm1140.h: Likewise.
28881 * iconvdata/ibm1141.h: Likewise.
28882 * iconvdata/ibm1142.h: Likewise.
28883 * iconvdata/ibm1143.h: Likewise.
28884 * iconvdata/ibm1144.h: Likewise.
28885 * iconvdata/ibm1145.h: Likewise.
28886 * iconvdata/ibm1146.h: Likewise.
28887 * iconvdata/ibm1147.h: Likewise.
28888 * iconvdata/ibm1148.h: Likewise.
28889 * iconvdata/ibm1149.h: Likewise.
28890 * iconvdata/ibm1153.h: Likewise.
28891 * iconvdata/ibm1154.h: Likewise.
28892 * iconvdata/ibm1155.h: Likewise.
28893 * iconvdata/ibm1156.h: Likewise.
28894 * iconvdata/ibm1157.h: Likewise.
28895 * iconvdata/ibm1158.h: Likewise.
28896 * iconvdata/ibm1160.h: Likewise.
28897 * iconvdata/ibm1161.h: Likewise.
28898 * iconvdata/ibm1162.h: Likewise.
28899 * iconvdata/ibm1163.h: Likewise.
28900 * iconvdata/ibm1164.h: Likewise.
28901 * iconvdata/ibm1166.h: Likewise.
28902 * iconvdata/ibm1167.h: Likewise.
28903 * iconvdata/ibm12712.h: Likewise.
28904 * iconvdata/ibm1390.h: Likewise.
28905 * iconvdata/ibm1399.h: Likewise.
28906 * iconvdata/ibm16804.h: Likewise.
28907 * iconvdata/ibm4517.h: Likewise.
28908 * iconvdata/ibm4899.h: Likewise.
28909 * iconvdata/ibm4909.h: Likewise.
28910 * iconvdata/ibm4971.h: Likewise.
28911 * iconvdata/ibm5347.h: Likewise.
28912 * iconvdata/ibm803.h: Likewise.
28913 * iconvdata/ibm856.h: Likewise.
28914 * iconvdata/ibm901.h: Likewise.
28915 * iconvdata/ibm902.h: Likewise.
28916 * iconvdata/ibm9030.h: Likewise.
28917 * iconvdata/ibm9066.h: Likewise.
28918 * iconvdata/ibm921.h: Likewise.
28919 * iconvdata/ibm922.h: Likewise.
28920 * iconvdata/ibm9448.h: Likewise.
28921 * iconvdata/isiri-3342.h: Likewise.
28922 * iconvdata/jis0201.h: Likewise.
28923 * include/link.h: Likewise.
28924 * include/netdb.h: Likewise.
28925 * inet/check_native.c: Likewise.
28926 * inet/check_pf.c: Likewise.
28927 * inet/getipv4sourcefilter.c: Likewise.
28928 * inet/getnameinfo.c: Likewise.
28929 * inet/getsourcefilter.c: Likewise.
28930 * inet/htonl.c: Likewise.
28931 * inet/setipv4sourcefilter.c: Likewise.
28932 * inet/setsourcefilter.c: Likewise.
28933 * inet/test-inet6_opt.c: Likewise.
28934 * inet/tst-network.c: Likewise.
28935 * locale/C-collate.c: Likewise.
28936 * locale/C-ctype.c: Likewise.
28937 * locale/C-time.c: Likewise.
28938 * locale/C-translit.h: Likewise.
28939 * locale/loadarchive.c: Likewise.
28940 * locale/programs/3level.h: Likewise.
28941 * locale/programs/charmap.c: Likewise.
28942 * locale/programs/charmap.h: Likewise.
28943 * locale/programs/ld-address.c: Likewise.
28944 * locale/programs/ld-collate.c: Likewise.
28945 * locale/programs/ld-ctype.c: Likewise.
28946 * locale/programs/ld-identification.c: Likewise.
28947 * locale/programs/ld-measurement.c: Likewise.
28948 * locale/programs/ld-messages.c: Likewise.
28949 * locale/programs/ld-monetary.c: Likewise.
28950 * locale/programs/ld-name.c: Likewise.
28951 * locale/programs/ld-numeric.c: Likewise.
28952 * locale/programs/ld-paper.c: Likewise.
28953 * locale/programs/ld-telephone.c: Likewise.
28954 * locale/programs/ld-time.c: Likewise.
28955 * locale/programs/linereader.c: Likewise.
28956 * locale/programs/locale.c: Likewise.
28957 * locale/programs/locarchive.c: Likewise.
28958 * locale/programs/locfile.h: Likewise.
28959 * locale/programs/repertoire.c: Likewise.
28960 * locale/programs/simple-hash.c: Likewise.
28961 * locale/programs/simple-hash.h: Likewise.
28962 * malloc/memusage.c: Likewise.
28963 * malloc/memusagestat.c: Likewise.
28964 * nis/nis_defaults.c: Likewise.
28965 * nis/nis_hash.c: Likewise.
28966 * nis/nis_print.c: Likewise.
28967 * nis/nis_xdr.c: Likewise.
28968 * nscd/connections.c: Likewise.
28969 * nscd/hstcache.c: Likewise.
28970 * nscd/nscd_gethst_r.c: Likewise.
28971 * nscd/nscd_getserv_r.c: Likewise.
28972 * nscd/nscd_helper.c: Likewise.
28973 * nscd/servicescache.c: Likewise.
28974 * nss/makedb.c: Likewise.
28975 * nss/nss_db/db-XXX.c: Likewise.
28976 * nss/nss_db/db-initgroups.c: Likewise.
28977 * nss/nss_db/db-netgrp.c: Likewise.
28978 * nss/nss_files/files-network.c: Likewise.
28979 * nss/nss_files/files-parse.c: Likewise.
28980 * posix/bug-regex5.c: Likewise.
28981 * posix/fnmatch_loop.c: Likewise.
28982 * posix/regcomp.c: Likewise.
28983 * posix/regexec.c: Likewise.
28984 * posix/tst-rfc3484-2.c: Likewise.
28985 * posix/tst-rfc3484-3.c: Likewise.
28986 * posix/tst-rfc3484.c: Likewise.
28987 * resolv/nss_dns/dns-canon.c: Likewise.
28988 * resolv/nss_dns/dns-network.c: Likewise.
28989 * resolv/res_init.c: Likewise.
28990 * resolv/res_mkquery.c: Likewise.
28991 * resolv/tst-aton.c: Likewise.
28992 * stdlib/cxa_atexit.c: Likewise.
28993 * stdlib/cxa_finalize.c: Likewise.
28994 * stdlib/gen-fpioconst.c: Likewise.
28995 * stdlib/strtol_l.c: Likewise.
28996 * string/tst-endian.c: Likewise.
28997 * sunrpc/auth_des.c: Likewise.
28998 * sunrpc/clnt_udp.c: Likewise.
28999 * sunrpc/rtime.c: Likewise.
29000 * sunrpc/svcauth_des.c: Likewise.
29001 * sunrpc/xdr.c: Likewise.
29002 * sunrpc/xdr_intXX_t.c: Likewise.
29003 * sunrpc/xdr_rec.c: Likewise.
29004 * sysdeps/generic/ldconfig.h: Likewise.
29005 * sysdeps/generic/ldsodefs.h: Likewise.
29006 * sysdeps/generic/memusage.h: Likewise.
29007 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29010 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29017 * sysdeps/posix/getaddrinfo.c: Likewise.
29018 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29019 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29020 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29022 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29023 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29024 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29025 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29026 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29027 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29028 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29029 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29030 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29031 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29032 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29033 * sysdeps/x86_64/dl-tls.h: Likewise.
29034 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29035 * time/alt_digit.c: Likewise.
29036 * time/era.c: Likewise.
29037 * wcsmbs/tst-c16c32-1.c: Likewise.
29038
8c75f674
JM
290392013-05-16 Joseph Myers <joseph@codesourcery.com>
29040
29041 * math/libm-test.inc (struct test_sincos_data): New type.
29042 (RUN_TEST_LOOP_sincos): New macro.
29043 (sincos_test_data): New variable.
29044 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29045
e6e49e59
RH
290462013-05-16 Richard Henderson <rth@redhat.com>
29047
29048 * math/atest-exp2.c (LIMB64): New macro.
29049 (CONSTSZ): New macro.
29050 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29051 (hexdig): Move ...
29052 (print_mpn_fp): ... to function scope.
29053 (read_mpn_hex): Remove.
29054 (get_log2): Remove.
29055 (exp2_mpn): Use mp_log2.
29056 (main): Use mp_exp1.
29057
15c7c18d
JM
290582013-05-16 Joseph Myers <joseph@codesourcery.com>
29059
105a07df
JM
29060 * math/libm-test.inc: Remove comment about not testing "inexact"
29061 exceptions.
29062 (INEXACT_EXCEPTION): New macro.
29063 (NO_INEXACT_EXCEPTION): Likewise.
29064 (INVALID_EXCEPTION_OK): Update value.
29065 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29066 (OVERFLOW_EXCEPTION_OK): Likewise.
29067 (UNDERFLOW_EXCEPTION_OK): Likewise.
29068 (IGNORE_ZERO_INF_SIGN): Likewise.
29069 (ERRNO_UNCHANGED): Likewise.
29070 (ERRNO_EDOM): Likewise.
29071 (ERRNO_ERANGE): Likewise.
29072 (test_exceptions): Handle testing "inexact" exceptions.
29073 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29074 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29075 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29076 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29077 INEXACT_EXCEPTION.
29078 (rint_towardzero_test_data): Likewise.
29079 (rint_downward_test_data): Likewise.
29080 (rint_upward_test_data): Likewise.
29081
e9eee333
JM
29082 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29083 with OVERFLOW_EXCEPTION.
29084 (exp10_test_data): Likewise.
29085 (exp2_test_data): Likewise.
29086 (expm1_test_data): Likewise.
29087 (lgamma_test_data): Likewise.
29088 (pow_test_data): Likewise.
29089 (tgamma_test_data): Likewise.
29090 (yn_test_data): Remove duplicate test of overflow.
29091
1c38ff73
JM
29092 * math/libm-test.inc (struct test_cc_c_data): New type.
29093 (RUN_TEST_LOOP_cc_c): New macro.
29094 (cpow_test_data): New variable.
29095 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29096
15c7c18d
JM
29097 * math/libm-test.inc (struct test_f_L_data): New type.
29098 (RUN_TEST_LOOP_f_L): New macro.
29099 (llrint_test_data): New variable.
29100 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29101 (llrint_tonearest_test_data): New variable.
29102 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29103 (llrint_towardzero_test_data): New variable.
29104 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29105 (llrint_downward_test_data): New variable.
29106 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29107 (llrint_upward_test_data): New variable.
29108 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29109 (llround_test_data): New variable.
29110 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29111
f137ff13
PC
291122013-05-13 Peter Collingbourne <pcc@google.com>
29113
29114 * math/atest-exp2.c (get_log2): Remove const attribute.
29115
3608cb24
JM
291162013-05-15 Joseph Myers <joseph@codesourcery.com>
29117
29118 * math/libm-test.inc (struct test_f_l_data): New type.
29119 (RUN_TEST_LOOP_f_l): New macro.
29120 (lrint_test_data): New variable.
29121 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29122 (lrint_tonearest_test_data): New variable.
29123 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29124 (lrint_towardzero_test_data): New variable.
29125 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29126 (lrint_downward_test_data): New variable.
29127 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29128 (lrint_upward_test_data): New variable.
29129 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29130 (lround_test_data): New variable.
29131 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29132
39b1f617
PC
291332013-05-15 Peter Collingbourne <pcc@google.com>
29134
1deff3dc
PC
29135 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29136 (EXTRACT_WORDS64) Use where appropriate.
29137 (INSERT_WORDS64) Likewise.
29138
791f3ba0
PC
29139 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29140 constraints with x constraints.
29141 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29142
39b1f617
PC
29143 * malloc/obstack.c (_obstack_compat): Add initializer.
29144
12fba011
EM
291452013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29146
29147 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29148 si_trapno and add si_addr_lsb to _sifields.sigfault.
29149 (si_trapno): Remove macro.
29150 (si_addr_lsb): Define new macro.
29151 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29152
d369f531
JM
291532013-05-15 Joseph Myers <joseph@codesourcery.com>
29154
b861c6c4
JM
29155 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29156 instead of TEST_f_l.
29157 (llrint_test_tonearest): Likewise.
29158 (llrint_test_towardzero): Likewise.
29159 (llrint_test_downward): Likewise.
29160 (llrint_test_upward): Likewise.
29161 (llround_test): Likewise.
29162
7abeee12
JM
29163 * math/libm-test.inc (struct test_f_i_data): Add comment.
29164 (RUN_TEST_LOOP_f_b): New macro.
29165 (RUN_TEST_LOOP_f_b_tg): Likewise.
29166 (finite_test_data): New variable.
29167 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29168 (isfinite_test_data): New variable.
29169 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29170 (isinf_test_data): New variable.
29171 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29172 (isnan_test_data): New variable.
29173 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29174 (isnormal_test_data): New variable.
29175 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29176 (issignaling_test_data): New variable.
29177 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29178 (signbit_test_data): New variable.
29179 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29180
cbe8c4d3
JM
29181 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29182 with INVALID_EXCEPTION.
29183 (acosh_test_data): Likewise.
29184 (asin_test_data): Likewise.
29185 (atanh_test_data): Likewise.
29186 (fmod_test_data): Likewise.
29187 (log_test_data): Likewise.
29188 (log10_test_data): Likewise.
29189 (log2_test_data): Likewise.
29190 (pow_test_data): Likewise.
29191 (sqrt_test_data): Likewise.
29192 (y0_test_data): Likewise.
29193 (y1_test_data): Likewise.
29194 (yn_test_data): Likewise.
29195
5575c0e5
JM
29196 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29197 function contents.
29198
d369f531
JM
29199 * math/libm-test.inc (struct test_ff_i_data): New type.
29200 (RUN_TEST_LOOP_ff_i_tg): New macro.
29201 (isgreater_test_data): New variable.
29202 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29203 (isgreaterequal_test_data): New variable.
29204 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29205 (isless_test_data): New variable.
29206 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29207 (islessequal_test_data): New variable.
29208 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29209 (islessgreater_test_data): New variable.
29210 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29211 (isunordered_test_data): New variable.
29212 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29213
781fd748
DM
292142013-05-14 David S. Miller <davem@davemloft.net>
29215
29216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29217
87aa21df
JM
292182013-05-14 Joseph Myers <joseph@codesourcery.com>
29219
5e908270
JM
29220 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29221
f71172e5
JM
29222 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29223 extra_test to int.
29224 (struct test_f_i_data): Change type of max_ulp to int.
29225
8cfa635a
JM
29226 * math/libm-test.inc (test_ffI_f1_data): New type.
29227 (RUN_TEST_LOOP_ffI_f1): New macro.
29228 (remquo_test_data): New variable.
29229 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29230
2bcb36b2
JM
29231 * setjmp/tst-setjmp-fp.c: New file.
29232 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29233 (link-libm): New variable.
29234 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29235
acbd839a
JM
29236 * math/libm-test.inc (struct test_f_i_data): New type.
29237 (RUN_TEST_LOOP_f_i): New macro.
29238 (RUN_TEST_LOOP_f_i_tg): Likewise.
29239 (fpclassify_test_data): New variable.
29240 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29241 (ilogb_test_data): New variable.
29242 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29243
e414d745
JM
29244 * math/libm-test.inc (scalbln_test): Correct function name in END
29245 call.
29246
d9c2a0fd
JM
29247 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29248 (RUN_TEST_LOOP_fI_f1): New macro.
29249 (frexp_test_data): New variable.
29250 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29251
9dc9095d
JM
29252 * math/libm-test.inc (struct test_fF_f1_data): New type.
29253 (RUN_TEST_LOOP_fF_f1): New macro.
29254 (modf_test_data): New variable.
29255 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29256
87aa21df
JM
29257 * math/libm-test.inc (struct test_f_f1_data): New type.
29258 (RUN_TEST_LOOP_f_f1): New macro.
29259 (gamma_test_data): New variable.
29260 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29261 (lgamma_test_data): New variable.
29262 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29263
141af660
CD
292642013-05-13 Carlos O'Donell <carlos@redhat.com>
29265
29266 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29267 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29268 (main): Comment "tls" pseudo-hwcap.
29269
6d33265c
JM
292702013-05-13 Joseph Myers <joseph@codesourcery.com>
29271
68fc074c
JM
29272 * math/libm-test.inc (struct test_fl_f_data): New type.
29273 (RUN_TEST_LOOP_fl_f): New variable.
29274 (scalbln_test_data): New variable.
29275 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29276
243216e1
JM
29277 * math/libm-test.inc (struct test_fi_f_data): New type.
29278 (RUN_TEST_LOOP_fi_f): New macro.
29279 (ldexp_test_data): New variable.
29280 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29281 (scalbn_test_data): New variable.
29282 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29283
6a1992e2
JM
29284 * math/libm-test.inc (struct test_c_f_data): New type.
29285 (RUN_TEST_LOOP_c_f): New macro.
29286 (cabs_test_data): New variable.
29287 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29288 (carg_test_data): New variable.
29289 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29290 (cimag_test_data): New variable.
29291 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29292 (creal_test_data): New variable.
29293 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29294
0e400df5
JM
29295 * math/libm-test.inc (struct test_if_f_data): New type.
29296 (RUN_TEST_LOOP_if_f): New macro.
29297 (jn_test_data): New variable.
29298 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29299 (yn_test_data): New variable.
29300 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29301
6d33265c
JM
29302 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29303
f98ece5f
AZ
293042013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29305
29306 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29307 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29308
0f7d347b
SP
293092013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29310
43fe811b
SP
29311 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29312 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29313 (bench-deps): Add bench-timing.h.
29314 * benchtests-bench-skeleton.c: Include bench-timing.h.
29315 (main): Use TIMING_* macros instead of clock_gettime.
29316 * benchtests/bench-timing.h: New file.
29317
0f7d347b
SP
29318 [BZ #14582]
29319 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29320 Renamed from _LIB_VERSION.
29321 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29322
601a3a5f
JM
293232013-05-12 Joseph Myers <joseph@codesourcery.com>
29324
4f184d30
JM
29325 * math/libm-test.inc (struct test_fff_f_data): New type.
29326 (RUN_TEST_LOOP_fff_f): New macro.
29327 (fma_test_data): New variable.
29328 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29329 (fma_towardzero_test_data): New variable.
29330 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29331 (fma_downward_test_data): New variable.
29332 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29333 (fma_upward_test_data): New variable.
29334 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29335
08198877
JM
29336 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29337 (struct test_c_c_data): New type.
29338 (RUN_TEST_LOOP_c_c): New macro.
29339 (cacos_test_data): New variable.
29340 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29341 (cacosh_test_data): New variable.
29342 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29343 (casin_test_data): New variable.
29344 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29345 (casinh_test_data): New variable.
29346 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29347 (catan_test_data): New variable.
29348 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29349 (catanh_test_data): New variable.
29350 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29351 (ccos_test_data): New variable.
29352 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29353 (ccosh_test_data): New variable.
29354 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29355 (cexp_test_data): New variable.
29356 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29357 (clog_test_data): New variable.
29358 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29359 (clog10_test_data): New variable.
29360 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29361 (conj_test_data): New variable.
29362 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29363 (cproj_test_data): New variable.
29364 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29365 (csin_test_data): New variable.
29366 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29367 (csinh_test_data): New variable.
29368 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29369 (csqrt_test_data): New variable.
29370 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29371 (ctan_test_data): New variable.
29372 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29373 (ctan_tonearest_test_data): New variable.
29374 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29375 (ctan_towardzero_test_data): New variable.
29376 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29377 (ctan_downward_test_data): New variable.
29378 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29379 (ctan_upward_test_data): New variable.
29380 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29381 (ctanh_test_data): New variable.
29382 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29383 (ctanh_tonearest_test_data): New variable.
29384 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29385 (ctanh_towardzero_test_data): New variable.
29386 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29387 (ctanh_downward_test_data): New variable.
29388 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29389 (ctanh_upward_test_data): New variable.
29390 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29391 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29392 of BUILD_COMPLEX.
29393
601a3a5f
JM
29394 * math/libm-test.inc (struct test_ff_f_data): New type.
29395 (struct test_ff_f_data_nexttoward): Likewise.
29396 (RUN_TEST_LOOP_2_f): New macro.
29397 (RUN_TEST_LOOP_ff_f): Likewise.
29398 (atan2_test_data): New variable.
29399 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29400 (copysign_test_data): New variable.
29401 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29402 (fdim_test_data): New variable.
29403 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29404 (fmax_test_data): New variable.
29405 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29406 (fmin_test_data): New variable.
29407 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29408 (fmod_test_data): New variable.
29409 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29410 (hypot_test_data): New variable.
29411 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29412 (nextafter_test_data): New variable.
29413 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29414 (nexttoward_test_data): New variable.
29415 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29416 (pow_test_data): New variable.
29417 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29418 (pow_tonearest_test_data): New variable.
29419 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29420 (pow_towardzero_test_data): New variable.
29421 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29422 (pow_downward_test_data): New variable.
29423 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29424 (pow_upward_test_data): New variable.
29425 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29426 (remainder_test_data): New variable.
29427 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29428 (scalb_test_data): New variable.
29429 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29430 * sysdeps/i386/fpu/libm-test-ulps: Update.
29431
74c57478
JM
294322013-05-11 Joseph Myers <joseph@codesourcery.com>
29433
8329e4da
JM
29434 * math/libm-test.inc (fma_test): Use max_value instead of local
29435 variable fltmax.
29436 (nextafter_test): Likewise.
29437
74c57478
JM
29438 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29439 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29440 (acos_downward_test_data): New variable.
29441 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29442 (acos_upward_test_data): New variable.
29443 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29444 (acosh_test_data): New variable.
29445 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29446 (asin_test_data): New variable.
29447 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29448 (asin_tonearest_test_data): New variable.
29449 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29450 (asin_towardzero_test_data): New variable.
29451 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29452 (asin_downward_test_data): New variable.
29453 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29454 (asin_upward_test_data): New variable.
29455 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29456 (asinh_test_data): New variable.
29457 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29458 (atan_test_data): New variable.
29459 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29460 (atanh_test_data): New variable.
29461 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29462 (cbrt_test_data): New variable.
29463 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29464 (ceil_test_data): New variable.
29465 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29466 (cos_test_data): New variable.
29467 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29468 (cos_tonearest_test_data): New variable.
29469 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29470 (cos_towardzero_test_data): New variable.
29471 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29472 (cos_downward_test_data): New variable.
29473 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29474 (cos_upward_test_data): New variable.
29475 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29476 (cosh_test_data): New variable.
29477 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29478 (cosh_tonearest_test_data): New variable.
29479 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29480 (cosh_towardzero_test_data): New variable.
29481 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29482 (cosh_downward_test_data): New variable.
29483 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29484 (cosh_upward_test_data): New variable.
29485 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29486 (erf_test_data): New variable.
29487 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29488 (erfc_test_data): New variable.
29489 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29490 (exp_test_data): New variable.
29491 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29492 (exp_tonearest_test_data): New variable.
29493 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29494 (exp_towardzero_test_data): New variable.
29495 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29496 (exp_downward_test_data): New variable.
29497 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29498 (exp_upward_test_data): New variable.
29499 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29500 (exp10_test_data): New variable.
29501 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29502 (exp2_test_data): New variable.
29503 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29504 (expm1_test_data): New variable.
29505 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29506 (fabs_test_data): New variable.
29507 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29508 (floor_test_data): New variable.
29509 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29510 (j0_test_data): New variable.
29511 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29512 (j1_test_data): New variable.
29513 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29514 (log_test_data): New variable.
29515 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29516 (log10_test_data): New variable.
29517 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29518 (log1p_test_data): New variable.
29519 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29520 (log2_test_data): New variable.
29521 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29522 (logb_test_data): New variable.
29523 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29524 (logb_downward_test_data): New variable.
29525 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29526 (nearbyint_test_data): New variable.
29527 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29528 (rint_test_data): New variable.
29529 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29530 (rint_tonearest_test_data): New variable.
29531 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29532 (rint_towardzero_test_data): New variable.
29533 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29534 (rint_downward_test_data): New variable.
29535 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29536 (rint_upward_test_data): New variable.
29537 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29538 (round_test_data): New variable.
29539 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29540 (sin_test_data): New variable.
29541 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29542 (sin_tonearest_test_data): New variable.
29543 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29544 (sin_towardzero_test_data): New variable.
29545 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29546 (sin_downward_test_data): New variable.
29547 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29548 (sin_upward_test_data): New variable.
29549 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29550 (sinh_test_data): New variable.
29551 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29552 (sinh_tonearest_test_data): New variable.
29553 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29554 (sinh_towardzero_test_data): New variable.
29555 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29556 (sinh_downward_test_data): New variable.
29557 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29558 (sinh_upward_test_data): New variable.
29559 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29560 (sqrt_test_data): New variable.
29561 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29562 (tan_test_data): New variable.
29563 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29564 (tan_tonearest_test_data): New variable.
29565 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29566 (tan_towardzero_test_data): New variable.
29567 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29568 (tan_downward_test_data): New variable.
29569 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29570 (tan_upward_test_data): New variable.
29571 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29572 (tanh_test_data): New variable.
29573 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29574 (tgamma_test_data): New variable.
29575 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29576 (trunc_test_data): New variable.
29577 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29578 (y0_test_data): New variable.
29579 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29580 (y1_test_data): New variable.
29581 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29582 (significand_test_data): New variable.
29583 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29584
7187d844
CG
295852013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29586
29587 [BZ #12387]
29588 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29589
f63fae73
PT
295902013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29591
29592 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29593
8a67a4b3
AJ
295942013-05-10 Andreas Jaeger <aj@suse.de>
29595
29596 [BZ #15448]
29597 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29598 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29599
51df539d
JM
296002013-05-10 Joseph Myers <joseph@codesourcery.com>
29601
29602 * math/gen-libm-test.pl (adjust_arg): New function.
29603 (special_functions): Handle generating output in both functions
29604 and arrays.
29605 (parse_args): Likewise.
29606 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29607 $in_func argument to parse_args.
29608 * math/libm-test.inc (struct test_f_f_data): New type.
29609 (IF_ROUND_INIT_): New macro.
29610 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29611 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29612 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29613 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29614 (ROUND_RESTORE_): Likewise.
29615 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29616 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29617 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29618 (ROUND_RESTORE_FE_UPWARD): Likewise.
29619 (RUN_TEST_LOOP_f_f): New macro.
29620 (acos_test_data): New variable.
29621 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29622 (acos_tonearest_test_data): New variable.
29623 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29624
5c637fe5
SP
296252013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29626
29627 * benchtests/bench-skeleton.c (startup): Fix coding style.
29628
ab2b9461
JM
296292013-05-10 Joseph Myers <joseph@codesourcery.com>
29630
29631 [BZ #6809]
29632 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29633 negative infinity argument.
29634 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29635 negative infinity argument.
29636 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29637 negative infinity argument.
29638 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29639 domain errors.
29640
4c0fe6fe
FW
296412013-05-10 Florian Weimer <fweimer@redhat.com>
29642
29643 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29644 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29645 * iconv/iconv_prog.c (main): Likewise.
29646 * locale/programs/charmap-dir.c (charmap_readdir)
29647 (fopen_uncompressed): Likewise.
29648 * locale/programs/locfile.c (siblings_uncached)
29649 (write_locale_data): Use lstat64 instead of lstat.
29650 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29651 stat.
29652
a3375d29
AJ
296532013-05-10 Andreas Jaeger <aj@suse.de>
29654
29655 [BZ #15395]
29656 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29657 localization.
29658 Include <locale.h>.
29659
36129722
CD
296602013-05-09 Carlos O'Donell <carlos@redhat.com>
29661
29662 * elf/dl-close.c (_dl_close_worker): Add comments.
29663
faa7f811
JM
296642013-05-09 Joseph Myers <joseph@codesourcery.com>
29665
ed41ffef
JM
29666 [BZ #15359]
29667 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29668 high part of pi/2.
29669 (__ieee754_rem_pio2l): Update comments.
29670
d0213cd0
JM
29671 [BZ #15429]
29672 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29673 high part of pi/2.
29674 (__ieee754_rem_pio2l): Update comments.
29675
0d3e777a
JM
29676 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29677 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29678
24f56066
JM
29679 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29680 M_PI_4l.
29681
faa7f811
JM
29682 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29683 (M_PI_34_LOG10El): Likewise.
29684 (M_PI2_LOG10El): Likewise.
29685 (M_PI4_LOG10El): Likewise.
29686 (M_PI_LOG10El): Likewise.
29687
e9a5e0fd
AZ
296882013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29689
29690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29691
d8cd06db
JM
296922013-05-08 Joseph Myers <joseph@codesourcery.com>
29693
a0d9f9d7
JM
29694 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29695 (MINUS_ZERO_INIT): Likewise.
29696 (PLUS_INFTY_INIT): Likewise.
29697 (MINUS_INFTY_INIT): Likewise.
29698 (QNAN_VALUE_INIT): Likewise.
29699 (MAX_VALUE_INIT): Likewise.
29700 (MIN_VALUE_INIT): Likewise.
29701 (MIN_SUBNORM_VALUE_INIT): Likewise.
29702 (plus_zero): Initialize with PLUS_ZERO_INIT.
29703 (minus_zero): Initialize with MINUS_ZERO_INIT.
29704 (plus_infty): Initialize with PLUS_INFTY_INIT.
29705 (minus_infty): Initialize with MINUS_INFTY_INIT.
29706 (qnan_value): Initialize with QNAN_VALUE_INIT.
29707 (max_value): Initialize with MAX_VALUE_INIT.
29708 (min_value): Initialize with MIN_VALUE_INIT.
29709 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29710
ae08db3b
JM
29711 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29712 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29713 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29714 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29715
f44bf14a
JM
29716 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29717 (RUN_TEST_2_f): Likewise.
29718 (RUN_TEST_ff_f): Likewise.
29719 (RUN_TEST_fi_f): Likewise.
29720 (RUN_TEST_fl_f): Likewise.
29721 (RUN_TEST_fff_f): Likewise.
29722 (RUN_TEST_c_f): Likewise.
29723 (RUN_TEST_f_f1): Likewise.
29724 (RUN_TEST_fF_f1): Likewise.
29725 (RUN_TEST_fI_f1): Likewise.
29726 (RUN_TEST_ffI_f1): Likewise.
29727 (RUN_TEST_c_c): Likewise.
29728 (RUN_TEST_cc_c): Likewise.
29729 (RUN_TEST_f_i): Likewise.
29730 (RUN_TEST_f_i_tg): Likewise.
29731 (RUN_TEST_ff_i_tg): Likewise.
29732 (RUN_TEST_f_b): Likewise.
29733 (RUN_TEST_f_b_tg): Likewise.
29734 (RUN_TEST_f_l): Likewise.
29735 (RUN_TEST_f_L): Likewise.
29736 (RUN_TEST_sincos): Likewise.
29737 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29738 whether to show exceptions. Do not include ");\n" in return
29739 value.
29740 (special_functions): Output call to RUN_TEST_sincos instead of
29741 check_float calls. Update calls to new_test.
29742 (parse_args): Output call to single RUN_TEST_* macro instead of
29743 check_* calls and other assignments. Update calls to new_test.
29744
d8cd06db
JM
29745 [BZ #2546]
29746 [BZ #2560]
29747 [BZ #5159]
29748 [BZ #15426]
29749 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29750 input to result for tgamma overflow.
29751 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29752 (gamma_coeff): New variable.
29753 (NCOEFF): New macro.
29754 (gamma_positive): New function.
29755 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29756 underflow here. Use gamma_positive instead of exp (lgamma) for
29757 other arguments.
29758 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29759 (gamma_coeff): New variable.
29760 (NCOEFF): New macro.
29761 (gammaf_positive): New function.
29762 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29763 underflow here. Use gamma_positive instead of exp (lgamma) for
29764 other arguments.
29765 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29766 (gamma_coeff): New variable.
29767 (NCOEFF): New macro.
29768 (gammal_positive): New function.
29769 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29770 underflow here. Use gamma_positive instead of exp (lgamma) for
29771 other arguments.
29772 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29773 (gamma_coeff): New variable.
29774 (NCOEFF): New macro.
29775 (gammal_positive): New function.
29776 (__ieee754_gammal_r): Handle positive infinity, overflow and
29777 underflow here. Handle NaN the same as positive infinity. Remove
29778 check x < 0xffffffff for negative integers. Use gamma_positive
29779 instead of exp (lgamma) for other arguments.
29780 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29781 (gamma_coeff): New variable.
29782 (NCOEFF): New macro.
29783 (gammal_positive): New function.
29784 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29785 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29786 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29787 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29788 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29789 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29790 * sysdeps/generic/math_private.h (__gamma_productf): New
29791 prototype.
29792 (__gamma_product): Likewise.
29793 (__gamma_productl): Likewise.
29794 * math/Makefile (libm-calls): Add gamma_product.
29795 * math/libm-test.inc (tgamma_test): Add more tests.
29796 * sysdeps/i386/fpu/libm-test-ulps: Update.
29797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29798
bb7cf681
OB
297992013-05-08 Ondřej Bílka <neleai@seznam.cz>
29800
29801 * benchtests/bench-skeleton.c (main): Preheat CPU.
29802
ba853947
AJ
298032013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29804
29805 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29806
8347c74c
RM
298072013-05-07 Roland McGrath <roland@hack.frob.com>
29808
29809 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29810 and _dl_skip_args_internal.
29811
e8dd4791
CD
298122013-05-07 Carlos O'Donell <carlos@redhat.com>
29813
29814 * manual/message.texi (Message Translation): Talk about users.
29815 Message to key mapping impacts design.
29816
c7405830
RM
298172013-05-06 Roland McGrath <roland@hack.frob.com>
29818
a9173057
RM
29819 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29820
976e2f03
RM
29821 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29822
9723ffc5
RM
29823 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29824 * sysdeps/wordsize-64/glob64.c: ... here.
29825
962e6658
RM
29826 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29827 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29828 New macros.
29829
ee586a6d
RM
29830 * debug/getlogin_r_chk.c: Moved to ...
29831 * login/getlogin_r_chk.c: ... here.
29832 * debug/Makefile (routines): Move getlogin_r_chk to ...
29833 * login/Makefile (routines): ... here.
29834 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29835 * login/Versions (libc: GLIBC_2.4): ... here.
29836
355f9165
RM
29837 * io/poll.c (__poll): Renamed from poll.
29838 Add libc_hidden_def.
29839 (poll): Define as weak alias.
29840
bd9ffde6
RM
29841 * debug/ptsname_r_chk.c: Moved to ...
29842 * login/ptsname_r_chk.c: ... here.
29843 * debug/Makefile (routines): Move ptsname_r_chk to ...
29844 * login/Makefile (routines): ... here.
29845 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29846 * login/Versions (libc: GLIBC_2.4): ... here.
29847
8fb16a04
RM
29848 * posix/getlogin.c: Moved to ...
29849 * login/getlogin.c: ... here.
29850 * posix/getlogin_r.c: Moved to ...
29851 * login/getlogin_r.c: ... here.
29852 * posix/getlogin_r.c: Moved to ...
29853 * login/getlogin_r.c: ... here.
29854 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29855 * login/Makefile (routines): ... here.
29856 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29857 * login/Versions (libc: GLIBC_2.0): ... here.
29858
b99b892f
RM
29859 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29860 (setrlimit): Define as weak alias.
29861
c7405830
RM
29862 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29863 Call __ names for open, ftruncate, and close.
29864 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29865 (truncate): Define as weak alias.
29866
5bf96de5
JM
298672013-05-06 Joseph Myers <joseph@codesourcery.com>
29868
9ea3513c
JM
29869 * math/gen-libm-test.pl (parse_args): Initialize x before each
29870 test of frexp, modf and remquo.
29871
5bf96de5
JM
29872 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29873 test signgam value.
29874
16e616a7
AZ
298752013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29876
29877 [BZ #15418]
29878 [BZ #15419]
29879 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29880 internal tests.
29881 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29882
d5e82754
RM
298832013-05-06 Roland McGrath <roland@hack.frob.com>
29884
29885 * elf/dl-writev.h: New file.
29886 * elf/dl-misc.c: Include it.
29887 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29888 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29889
a7548d41
JM
298902013-05-04 Joseph Myers <joseph@codesourcery.com>
29891
b7dab1e4
JM
29892 * math/libm-test.inc (noXFails): Remove variable.
29893 (noXPasses): Likewise.
29894 (BUILD_COMPLEX_INT): Remove macro.
29895 (print_screen): Remove xfail argument.
29896 (print_screen_max_error): Likewise.
29897 (update_stats): Likewise.
29898 (print_max_error): Likewise. Update calls to other affected
29899 functions.
29900 (print_complex_max_error): Likewise.
29901 (test_single_exception): Update calls to print_screen.
29902 (test_single_errno): Likewise.
29903 (check_float_internal): Remove xfail argument. Update calls to
29904 other affected functions.
29905 (check_float): Likewise.
29906 (check_complex): Likewise.
29907 (check_int): Likewise.
29908 (check_long): Likewise.
29909 (check_bool): Likewise.
29910 (check_longlong): Likewise.
29911 (main): Don't print noXFails and noXPasses.
29912 * math/gen-libm-test.pl (top level): Don't mention expected
29913 failure handling in comment.
29914 (new_test): Don't handle expected failures.
29915 (parse_args): Don't mention expected failure handling in comment.
29916 (generate_testfile): Don't handle expected failures.
29917 (parse_ulps): Likewise.
29918 (print_ulps_file): Likewise.
29919 (get_failure): Remove function.
29920 (output_test): Don't handle expected failures.
29921 * make/README.libm-test: Don't mention expected failure handling.
29922
a7548d41
JM
29923 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29924 (minus_zero): Likewise.
29925 (plus_infty): Likewise.
29926 (minus_infty): Likewise.
29927 (qnan_value): Likewise.
29928 (max_value): Likewise.
29929 (min_value): Likewise.
29930 (min_subnorm_value): Likewise.
29931 (initialize): Do not initialize those variables dynamically.
29932
60bfd54c
RM
299332013-05-03 Roland McGrath <roland@hack.frob.com>
29934
cc0e6ed8
RM
29935 * io/open.c (__open_2): Moved to ...
29936 * io/open_2.c: ... this new file.
29937 * io/open64.c (__open64_2): Moved to ...
29938 * io/open64_2.c: ... this new file.
29939 * io/openat.c (__openat_2): Moved to ...
29940 * io/openat_2.c: ... this new file.
29941 * io/openat64.c (__openat64_2): Moved to ...
29942 * io/openat64_2.c: ... this new file.
29943 * io/Makefile (routines): Add them.
29944 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29945 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29946 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29947 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29948 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29949 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29950 (__openat64): Add hidden_ver.
29951 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29952 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29953
60bfd54c
RM
29954 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29955 Separately conditionalize setting of GLRO(dl_sysinfo) so
29956 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29957 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29958
83e7640f
AZ
299592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29960
29961 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29962 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29963 definition.
29964 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29965 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29966 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29967 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29968 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29969
d5dc2af3
JM
299702013-05-03 Joseph Myers <joseph@codesourcery.com>
29971
c31a5b1e
JM
29972 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29973 test signgam value.
29974
d5dc2af3
JM
29975 * math/libm-test.inc (hypot_test): Do not use
29976 IGNORE_ZERO_INF_SIGN.
29977
164fd39d
AJ
299782013-05-03 Andreas Jaeger <aj@suse.de>
29979
29980 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29981 Linux 3.9.
29982 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29983 (PF_MAX): Adjust for VSOCK change.
29984
8237f48c
AZ
299852013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29986
29987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29988
9df02941
CD
299892013-05-02 Carlos O'Donell <carlos@redhat.com>
29990
29991 [BZ #15264]
29992 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29993 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29994 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29995
d422395e
DM
299962013-05-02 David S. Miller <davem@davemloft.net>
29997
29998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29999
a07c5731
OB
300002013-05-01 Ondřej Bílka <neleai@seznam.cz>
30001
30002 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30003
1324e37f
RM
300042013-05-01 Roland McGrath <roland@hack.frob.com>
30005
30006 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30007
0695940b
RS
300082013-05-01 Richard Smith <richard@metafoo.co.uk>
30009
bb5f27ad 30010 [BZ #14952]
0695940b
RS
30011 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30012 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30013 Use __attribute__ ((__gnu_inline__)).
30014 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30015 Don't use __attribute__ ((__gnu_inline__)).
30016
10de07f5
JM
300172013-05-01 Joseph Myers <joseph@codesourcery.com>
30018
30019 [BZ #15423]
30020 * math/s_catan.c (__catan): Handle small real or imaginary part of
30021 input specially to avoid spurious underflow.
30022 * math/s_catanf.c (__catanf): Likewise.
30023 * math/s_catanh.c (__catanh): Likewise.
30024 * math/s_catanhf.c (__catanhf): Likewise.
30025 * math/s_catanhl.c (__catanhl): Likewise.
30026 * math/s_catanl.c (__catanl): Likewise.
30027 * math/libm-test.inc (catan_test): Add more tests.
30028 (catanh_test): Likewise.
30029 * sysdeps/i386/fpu/libm-test-ulps: Update.
30030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30031
cb4d5414
AZ
300322013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30033
30034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30035
caf84319
JM
300362013-04-30 Joseph Myers <joseph@codesourcery.com>
30037
30038 [BZ #15416]
30039 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30040 accurately for denominator in atan2.
30041 * math/s_catanf.c (__catanf): Likewise.
30042 * math/s_catanh.c (__catanh): Likewise.
30043 * math/s_catanhf.c (__catanhf): Likewise.
30044 * math/s_catanhl.c (__catanhl): Likewise.
30045 * math/s_catanl.c (__catanl): Likewise.
30046 * math/libm-test.inc (catan_test): Add more tests.
30047 (catanh_test): Likewise.
30048 * sysdeps/i386/fpu/libm-test-ulps: Update.
30049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30050
d569c6ee
SP
300512013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30052
6dbe713d
SP
30053 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30054
f0ee064b
SP
30055 * benchtests/Makefile (bench): Remove slow benchmarks.
30056 * benchtests/atan-inputs: Add slow benchmark inputs.
30057 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30058 (BENCH_FUNC): Accept variant offset.
30059 (VARIANT): Define.
30060 * benchtests/bench-skeleton.c (main): Run benchmark for each
30061 variant.
30062 * benchtests/cos-inputs: Add slow benchmark inputs.
30063 * benchtests/exp-inputs: Likewise.
30064 * benchtests/pow-inputs: Likewise.
30065 * benchtests/sin-inputs: Likewise.
30066 * benchtests/slowatan-inputs: Remove.
30067 * benchtests/slowatan.c: Remove.
30068 * benchtests/slowcos-inputs: Remove.
30069 * benchtests/slowcos.c: Remove.
30070 * benchtests/slowexp-inputs: Remove.
30071 * benchtests/slowexp.c: Remove.
30072 * benchtests/slowpow-inputs: Remove.
30073 * benchtests/slowpow.c: Remove.
30074 * benchtests/slowsin-inputs: Remove.
30075 * benchtests/slowsin.c: Remove.
30076 * benchtests/slowtan-inputs: Remove.
30077 * benchtests/slowtan.c: Remove.
30078 * benchtests/tan-inputs: Add slow benchmark inputs.
30079 * scripts/bench.pl: Parse comments and directives.
30080
d569c6ee
SP
30081 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30082 in CPPFLAGS.
30083 ($(objpfx)bench-%.c): Remove *-ITER.
30084 * benchtests/bench-modf.c: Remove definition of ITER.
30085 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30086 (main): Loop for DURATION seconds instead of fixed number of
30087 iterations.
30088 * scripts/bench.pl: Don't expect iterations in parameters.
30089
a6a242fe
RM
300902013-04-29 Roland McGrath <roland@hack.frob.com>
30091
30092 * io/fchdir.c (__fchdir): Renamed from fchdir.
30093 (fchdir): Define as weak alias.
30094
f2da7793
JM
300952013-04-29 Joseph Myers <joseph@codesourcery.com>
30096
30097 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30098 (ERRNO_EDOM): Likewise.
30099 (ERRNO_ERANGE): Likewise.
30100 (noErrnoTests): New variable.
30101 (init_max_error): Set errno to 0.
30102 (test_single_errno): New function.
30103 (test_errno): Likewise.
30104 (check_float_internal): Call test_errno. Set errno to 0.
30105 (check_complex): Refer to errno tests in comment.
30106 (check_int): Call test_errno. Set errno to 0.
30107 (check_long): Likewise.
30108 (check_bool): Likewise.
30109 (check_longlong): Likewise.
30110 (cos_test): Use ERRNO_* flags for errno tests instead of
30111 check_int.
30112 (expm1_test): Likewise.
30113 (fmod_test): Likewise.
30114 (ilogb_test): Likewise.
30115 (lgamma_test): Likewise.
30116 (pow_test): Likewise.
30117 (remainder_test): Likewise.
30118 (sin_test): Likewise.
30119 (tan_test): Likewise.
30120 (yn_test): Likewise.
30121 (initialize): Set errno to 0.
30122 (main): Print number of errno tests.
30123 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30124
b1a36ceb
AJ
301252013-04-29 Andreas Jaeger <aj@suse.de>
30126
c3ed8088
AJ
30127 [BZ #15084]
30128 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30129 and RES_USEVC.
30130
f1a24198
AJ
30131 [BZ #15085]
30132 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30133 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30134 unimplemented.
30135
9ce3b2cb
AJ
30136 [BZ #15380]
30137 * stdlib/random.c (__initstate): Return NULL if
30138 __initstate fails.
30139
f1a24198 30140 [BZ #15086]
b1a36ceb
AJ
30141 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30142 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30143 RES_SNGLKUPREOP.
30144
7e7b6f36
AZ
301452013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30146
30147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30148
4d14f449
JM
301492013-04-29 Joseph Myers <joseph@codesourcery.com>
30150
30151 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30152 of individual tests.
30153 (casin_test): Likewise.
30154 (casinh_test): Likewise.
30155
5b4217d7
JM
301562013-04-27 Joseph Myers <joseph@codesourcery.com>
30157
30158 [BZ #15409]
30159 * math/s_catan.c (__catan): Handle arguments with large real or
30160 imaginary part separately without squaring.
30161 * math/s_catanf.c (__catanf): Likewise.
30162 * math/s_catanh.c (__catanh): Likewise.
30163 * math/s_catanhf.c (__catanhf): Likewise.
30164 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30165 and redefine.
30166 (__catanhl): Handle arguments with large real or imaginary part
30167 separately without squaring.
30168 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30169 and redefine.
30170 (__catanl): Handle arguments with large real or imaginary part
30171 separately without squaring.
30172 * math/libm-test.inc (catan_test): Add more tests.
30173 (catanh_test): Likewise.
30174 * sysdeps/i386/fpu/libm-test-ulps: Update.
30175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30176
4220c3ef
AJ
301772013-04-27 Andreas Jaeger <aj@suse.de>
30178
30179 [BZ #15007]
30180 * stdlib/stdlib.h: Update guards for qecvt.
30181 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30182 <stdlib.h>.
30183
4721b2d1
AM
301842013-04-27 Allan McRae <allan@archlinux.org>
30185
30186 * sysdeps/i386/fpu/libm-test-ulps: Update.
30187
f0302940
JM
301882013-04-26 Joseph Myers <joseph@codesourcery.com>
30189
9457fd95
JM
30190 [BZ #15406]
30191 * math/s_catan.c: Include <float.h>.
30192 (__catan): Ensure underflow exception occurs for underflowed
30193 result.
30194 * math/s_catanf.c: Include <float.h>.
30195 (__catanf): Ensure underflow exception occurs for underflowed
30196 result.
30197 * math/s_catanh.c: Include <float.h>.
30198 (__catanh): Ensure underflow exception occurs for underflowed
30199 result.
30200 * math/s_catanhf.c: Include <float.h>.
30201 (__catanhf): Ensure underflow exception occurs for underflowed
30202 result.
30203 * math/s_catanhl.c: Include <float.h>.
30204 (__catanhl): Ensure underflow exception occurs for underflowed
30205 result.
30206 * math/s_catanl.c: Include <float.h>.
30207 (__catanl): Ensure underflow exception occurs for underflowed
30208 result.
30209 * math/libm-test.inc (catan_test): Add more tests.
30210 (catanh_test): Likewise.
30211
f0302940
JM
30212 [BZ #15405]
30213 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30214 underflowed result.
30215 * math/s_ccoshf.c (__ccoshf): Likewise.
30216 * math/s_ccoshl.c (__ccoshl): Likewise.
30217 * math/s_csin.c (__csin): Likewise.
30218 * math/s_csinf.c (__csinf): Likewise.
30219 * math/s_csinh.c (__csinh): Likewise.
30220 * math/s_csinhf.c (__csinhf): Likewise.
30221 * math/s_csinhl.c (__csinhl): Likewise.
30222 * math/s_csinl.c (__csinl): Likewise.
30223 * math/libm-test.inc (ccos_test): Add more tests.
30224 (ccosh_test): Likewise.
30225 (csin_test): Likewise.
30226 (csinh_test): Likewise.
30227
aa630f59
AZ
302282013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30229
30230 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30231 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30232 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30233 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30234 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30235 powerpc/power5+/fpu folders.
30236 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30237
30238
1b835983
MT
302392013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30240
30241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30242
73709b26
JM
302432013-04-25 Joseph Myers <joseph@codesourcery.com>
30244
30245 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30246 additions to variable.
30247 [$(config-machine) = x86_64] (modules-names): Likewise.
30248 ($(objpfx)tst-audit3): Remove dependency.
30249 ($(objpfx)tst-audit3.out): Likewise.
30250 ($(objpfx)tst-audit4): Likewise.
30251 ($(objpfx)tst-audit4.out): Likewise.
30252 ($(objpfx)tst-audit5): Likewise.
30253 ($(objpfx)tst-audit5.out): Likewise.
30254 ($(objpfx)tst-audit6): Likewise.
30255 ($(objpfx)tst-audit6.out): Likewise.
30256 ($(objpfx)tst-audit7): Likewise.
30257 ($(objpfx)tst-audit7.out): Likewise.
30258 (tst-audit3-ENV): Remove variable.
30259 (tst-audit4-ENV): Likewise.
30260 (tst-audit5-ENV): Likewise.
30261 (tst-audit6-ENV): Likewise.
30262 (tst-audit7-ENV): Likewise.
30263 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30264 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30265 addition to variable.
30266 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30267 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30268 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30269 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30270 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30271 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30272 tst-audit3, tst-audit4 and tst-audit5.
30273 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30274 tst-audit6 and tst-audit7.
30275 [$(subdir) = elf] (modules-names): Add audit modules for those
30276 tests.
30277 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30278 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30279 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30280 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30281 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30282 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30283 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30284 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30285 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30286 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30287 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30288 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30289 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30290 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30291 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30292 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30293 Likewise.
30294 [$(subdir) = elf && $(config-cflags-avx) = yes]
30295 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30296 [$(subdir) = elf && $(config-cflags-avx) = yes]
30297 (CFLAGS-tst-auditmod4a.c): Likewise.
30298 [$(subdir) = elf && $(config-cflags-avx) = yes]
30299 (CFLAGS-tst-auditmod4b.c): Likewise.
30300 [$(subdir) = elf && $(config-cflags-avx) = yes]
30301 (CFLAGS-tst-auditmod6b.c): Likewise.
30302 [$(subdir) = elf && $(config-cflags-avx) = yes]
30303 (CFLAGS-tst-auditmod6c.c): Likewise.
30304 [$(subdir) = elf && $(config-cflags-avx) = yes]
30305 (CFLAGS-tst-auditmod7b.c): Likewise.
30306 * elf/tst-audit3.c: Move to ...
30307 * sysdeps/x86_64/tst-audit3.c: ... here.
30308 * elf/tst-audit4.c: Move to ...
30309 * sysdeps/x86_64/tst-audit4.c: ... here.
30310 * elf/tst-audit5.c: Move to ...
30311 * sysdeps/x86_64/tst-audit5.c: ... here.
30312 * elf/tst-audit6.c: Move to ...
30313 * sysdeps/x86_64/tst-audit6.c: ... here.
30314 * elf/tst-audit7.c: Move to ...
30315 * sysdeps/x86_64/tst-audit7.c: ... here.
30316 * elf/tst-auditmod3a.c: Move to ...
30317 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30318 * elf/tst-auditmod3b.c: Move to ...
30319 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30320 * elf/tst-auditmod4a.c: Move to ...
30321 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30322 * elf/tst-auditmod4b.c: Move to ...
30323 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30324 * elf/tst-auditmod5a.c: Move to ...
30325 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30326 * elf/tst-auditmod5b.c: Move to ...
30327 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30328 * elf/tst-auditmod6a.c: Move to ...
30329 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30330 * elf/tst-auditmod6b.c: Move to ...
30331 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30332 * elf/tst-auditmod6c.c: Move to ...
30333 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30334 * elf/tst-auditmod7a.c: Move to ...
30335 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30336 * elf/tst-auditmod7b.c: Move to ...
30337 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30338
1ef74943
PP
303392013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30340
30341 [BZ #15366]
30342 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30343 define unconditionally.
30344 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30345 define unconditionally.
30346 (INT8_C, INT16_C, etc.): Likewise.
30347
93fd48c5
MR
303482013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30349
ae9552cf
MR
30350 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30351 __ehdr_start with hidden visibility.
30352
93fd48c5
MR
30353 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30354
418601aa
CD
303552013-04-24 Carlos O'Donell <carlos@redhat.com>
30356
30357 * math/libm-test.inc (cos_test): Use accurate hex constants.
30358 (sincost_test): Likewise.
30359
2f38fbfe
JM
303602013-04-24 Joseph Myers <joseph@codesourcery.com>
30361
5e221800
JM
30362 * math/libm-test.inc (catan_test): Add more tests.
30363 (catanh_test): Likewise.
30364
77f143fd
JM
30365 * math/s_catanf.c (__catanf): Use suffixed floating-point
30366 constants.
30367 * math/s_catanhf.c (__catanhf): Likewise.
30368 * math/s_catanhl.c (__catanhl): Likewise.
30369 * math/s_catanl.c (__catanl): Likewise.
30370
2f38fbfe
JM
30371 [BZ #15394]
30372 * math/s_catan.c (__catan): Calculate imaginary part of result
30373 with log1p not log unless computing log of number close to 0.
30374 * math/s_catanf.c (__catanf): Likewise.
30375 * math/s_catanl.c (__catanl): Likewise.
30376 * math/s_catanh.c (__catanh): Calculate real part of result with
30377 log1p not log unless computing log of number close to 0.
30378 * math/s_catanhf.c (__catanhf): Likewise.
30379 * math/s_catanhl.c (__catanhl): Likewise.
30380 * math/libm-test.inc (catan_test): Add more tests.
30381 (catanh_test): Likewise.
30382 * sysdeps/i386/fpu/libm-test-ulps: Update.
30383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30384
45d69176
SP
303852013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30386
30387 * benchtests/Makefile: Mention files in which fast and slow
30388 paths of math functions are implemented.
30389
87f51853
RM
303902013-04-23 Roland McGrath <roland@hack.frob.com>
30391
30392 * sysdeps/posix/timespec_get.c: New file.
30393
3c026539
AZ
303942013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30395
30396 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30397 POWER.
30398 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30399 for POWER.
30400 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30401 powerpc/power5/fpu folders.
30402 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30403 * benchtests/Makefile: Add modf testcase.
30404 * benchtests/bench-modf.c: New file: Benchmark test for mo
30405
ff491d14
SP
304062013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30407
30408 [BZ #14888]
30409 * time/Makefile (tests): Add tst-strptime-whitespace.
30410 * time/strptime_l.c (get_number): Use ISSPACE.
30411 (__strptime_internal): Likewise.
30412 * time/tst-strptime-whitespace.c: New test case.
30413
7ed3f4e8
AS
304142013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30415
30416 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30417 member.
30418 (_nss_files_init): Set it here.
30419
5c95f7b6
HC
304202013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30421
30422 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30423 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30424 unsigned.
30425
d34c9158
JBG
304262013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30427
30428 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30429
2169712d
SP
304302013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30431
30432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30433 size just once.
30434
29c5de99
DM
304352013-04-21 David S. Miller <davem@davemloft.net>
30436
30437 * po/ru.po: Update Russion translation from translation project.
30438
ccdad15d
AC
304392013-04-17 Adam Conrad <adconrad@0c3.net>
30440
30441 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30442 and setfsgid.
30443
0f122b8d
CD
304442013-04-17 Carlos O'Donell <carlos@redhat.com>
30445
5c5b07da 30446 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30447 * configure: Regenerate.
5c5b07da 30448 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30449 Add example to error message.
30450 * sysdeps/i386/configure: Regenerate.
30451
037714dd
SP
304522013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30453
30454 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30455 slowtan.
30456 * benchtests/cos-inputs: New file.
30457 * benchtests/slowcos-inputs: New file.
30458 * benchtests/slowcos.c: New file.
30459 * benchtests/slowtan-inputs: New file.
30460 * benchtests/slowtan.c: New file.
30461 * benchtests/tan-inputs: New file.
30462
e913141d
RM
304632013-04-16 Roland McGrath <roland@hack.frob.com>
30464
30465 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30466 considered kosher.
30467
a2964074
SP
304682013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30469
4856bcd2
SP
30470 * benchtests/Makefile: Include cppflags-iterator.mk to add
30471 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30472
a2964074
SP
30473 * Makefile.in (bench-clean): New target.
30474 * benchtests/Makefile (bench-clean): Likewise.
30475
9fbf9aca
DH
304762013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30477
30478 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30479
207d1e2a
TS
304802013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30481
30482 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30483
306dfba9
AS
304842013-04-15 Andreas Schwab <schwab@suse.de>
30485
30486 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30488 * nscd/pwdcache.c (cache_addpw): Likewise.
30489 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30490 more than recsize.
30491
206a6699
SP
304922013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30493
30494 * benchtests/Makefile (bench): Write all output to
30495 bench-out.tmp together.
30496
0582f6b3
AS
304972013-04-15 Andreas Schwab <schwab@suse.de>
30498
30499 * nscd/nscd.c (main): Don't fork again after closing files.
30500
acb4325f
SP
305012013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30502
5cb26d0a
SP
30503 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30504
acb4325f
SP
30505 * benchtests/Rules (bench-deps): Collect dependencies into a
30506 single variable. Add Makefile to dependencies.
30507 ($(objpfx)bench-%.c): Depend on bench-deps.
30508
47792506
RM
305092013-04-12 Roland McGrath <roland@hack.frob.com>
30510 Xavier Roche <roche+kml2@exalead.com>
30511
30512 [BZ #15361]
30513 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30514 just that it's a file descriptor.
30515 * manual/llio.texi (Synchronizing AIO Operations): Update description
30516 for EBADF error from aio_fsync.
30517
8fc1bee5
SP
305182013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30519
30520 * Rules (bench): Move target definition...
30521 * benchtests/Makefile: ... here.
30522
aba5e333
CD
305232013-04-11 Carlos O'Donell <carlos@redhat.com>
30524
30525 * math/libm-test.inc (cos_test): Fix PI/2 test.
30526 (sincos_test): Likewise.
30527 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30528 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30529
273cdee8
AS
305302013-04-11 Andreas Schwab <schwab@suse.de>
30531
6ecec3b6
AS
30532 [BZ #13988]
30533 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30534 accept exponent character only when digits were seen.
30535 * stdio-common/Makefile (tests): Add bug26.
30536 * stdio-common/bug26.c: New file.
30537
273cdee8
AS
30538 [BZ #14293]
30539 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30540 non-freeable.
30541
8da491f5
SP
305422013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30543
01dc6df9
SP
30544 * Makeconfig (rtld-prefix): Define built linker prefix.
30545 * Rules (run-bench): Use it.
30546 * math/Makefile (run-regen-ulps): Likewise.
30547
8da491f5
SP
30548 * Rules (bench): Remove eval.
30549
abe7f530
SP
305502013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30551 Roland McGrath <roland@hack.frob.com>
30552 Ondrej Bilka <neleai@seznam.cz>
30553
30554 [BZ #15346]
30555 * time/getdate.c: Include ctype.h and alloca.h.
30556 (__getdate_r): Trim leading and trailing spaces of input.
30557 * time/tst-getdate.c (tests): Add tests with leading and
30558 trailing spaces.
30559
61c23e62
RM
305602013-04-08 Roland McGrath <roland@hack.frob.com>
30561
30562 [BZ #14280]
30563 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30564 when computing value.
30565
7208a313
CD
305662013-04-06 Carlos O'Donell <carlos@redhat.com>
30567
085b2d41
CD
30568 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30569 Use testrun.sh to run libm tests.
30570
7208a313
CD
30571 [BZ #15309]
30572 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30573
872c0acd
MM
305742013-04-06 Marko Myllynen <myllynen@redhat.com>
30575
30576 [BZ #15264]
30577 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30578
26510bdd
CD
305792013-04-06 Carlos O'Donell <carlos@redhat.com>
30580
30581 * Makefile.in (regen-ulps): New target.
30582 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30583 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30584 [ifneq (no,$(PERL)] (regen-ulps): New target.
30585 [ifeq (no,$(PERL)] (regen-ulps): New target.
30586 * math/libm-test.inc (ulps_file_name): Define.
30587 (output_dir): New variable.
30588 (options): Add "output-dir" option.
30589 (parse_opt): Handle 'o' case.
30590 (main): If output_dir is non-NULL use it as a prefix
30591 otherwise use "".
30592 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30593
a01f19c8
CD
305942013-04-06 Carlos O'Donell <carlos@redhat.com>
30595
30596 [BZ #10060, #10062]
30597 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30598 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30599 fail configure if __sync_val_compare_and_swap is not inlined.
30600 * sysdeps/i386/configure: Regenerate.
30601 * configure.in: Build for i686 when configured for i386.
30602 * configure: Regenerate.
30603 * README: Remove i386 reference.
30604
b7a329a5
CD
306052013-04-06 Carlos O'Donell <carlos@redhat.com>
30606
30607 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30609
bf0f50df
TS
306102013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30611
ee091edf
TS
30612 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30613 (lmsnanval): New variables.
30614 (F): Add conversion tests.
30615 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30616 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30617
a8b792d6
TS
30618 * stdio-common/tstdiomisc.c (F): Properly collect individual
30619 tests' results.
30620
a1cbf437
TS
30621 [BZ #14686, #15336]
30622 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30623 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30624 Instead, use input NaN values or generate a qNaN by arithmetic
30625 operation. Also fix bugs to comply with the standard.
30626 * math/libm-test.inc (remainder_test): Add more tests.
30627
8b43a0c9
TS
30628 [BZ #15335, #15342]
30629 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30631 input NaN values or generate a qNaN by arithmetic operation.
30632
d91da4ce
TS
30633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30634 unreachable code.
30635
bf0f50df
TS
30636 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30637 definitions.
30638
05e166c8
JM
306392013-04-03 Joseph Myers <joseph@codesourcery.com>
30640
30641 [BZ #14478]
30642 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30643 underflowed result.
30644 * math/s_cexpf.c (__cexpf): Likewise.
30645 * math/s_cexpl.c (__cexpl): Likewise.
30646 * math/libm-test.inc (cexp_test): Add more tests.
30647
1cef1b19
AS
306482013-04-03 Andreas Schwab <schwab@suse.de>
30649
30650 [BZ #15330]
30651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30652 order arrays from heap if bigger than alloca cutoff.
30653
74d87055
TS
306542013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30655
30656 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30657 (SNAN_TESTS_double): Refer to GCC PR56831.
30658 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30659 GCC PR56828.
30660
d755bba4
SP
306612013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30662
90d5d5bb
SP
30663 * Rules (bench): Move bench.out after the run is complete.
30664
73e0cd5d
SP
30665 * Rules (bench): Echo currently running benchmark.
30666
64aabd4b
SP
30667 * benchtests/Makefile (bench): Add atan and slowatan.
30668 * benchtests/atan-inputs: New file.
30669 * benchtests/slowatan-inputs: New file.
30670 * benchtests/slowatan.c: New file.
30671
c871eccd
SP
30672 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30674 its value.
30675
d755bba4
SP
30676 [BZ #15305]
30677 * sysdeps/unix/sysv/linux/kernel-features.h
30678 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30679 __ASSUME_XFS_RESTRICTED_CHOWN.
30680 * sysdeps/unix/sysv/linux/pathconf.c
30681 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30682 Save and restore errno.
30683
52ce4860
JM
306842013-04-02 Joseph Myers <joseph@codesourcery.com>
30685
30686 [BZ #15327]
30687 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30688 arguments using __kernel_casinh.
30689 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30690 arguments using __kernel_casinhf.
30691 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30692 arguments using __kernel_casinhl.
30693 * math/libm-test.inc (cacosh_test): Add more tests.
30694 * sysdeps/i386/fpu/libm-test-ulps: Update.
30695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30696
81f311c2
SP
306972013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30698
e7906a47
SP
30699 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30701
92e3664b
SP
30702 * bench/Makefile (bench): Add sin and slowsin.
30703 * benchtests/sin-inputs: New file.
30704 * benchtests/slowsin-inputs: New file.
30705 * benchtests/slowsin.c: New file.
30706
81f311c2
SP
30707 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30708 (bench): Add slowexp and slowpow.
30709 (exp-ITER): Increase iterations.
30710 (pow-ITER): Likewise.
30711 * benchtests/exp-inputs: Change input.
30712 * benchtests/pow-inputs: Likewise.
30713 * benchtests/slowexp-inputs: New file.
30714 * benchtests/slowexp.c: New file.
30715 * benchtests/slowpow-inputs: New file.
30716 * benchtests/slowpow.c: New file.
30717
ab0f1aa9
AZ
307182013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30719
30720 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30721 instructions.
30722 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30723 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30724 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30725 * benchtests/Makefile: Add rint benchtest.
30726 * benchtests/rint-inputs: Input for rint benchtest.
30727
57267616
TS
307282013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30729
30730 * Versions.def (libm): Add GLIBC_2.18.
30731 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30732 hidden libm prototypes.
30733 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30734 * math/Makefile (libm-calls): Add s_issignaling.
30735 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30736 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30737 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30738 declaration.
30739 * math/math.h [__USE_GNU] (issignaling): New macro.
30740 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30741 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30742 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30743 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30746 * manual/arith.texi (issignaling): New section.
30747 * manual/libm-err-tab.pl (@all_functions): Update comment.
30748 * math/gen-libm-test.pl (parse_args): Apply special handling for
30749 issignaling.
30750 * math/libm-test.inc (print_float, issignaling_test): New
30751 functions.
30752 (check_float_internal): Add issignaling checks.
30753 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30754 default definition.
30755 * sysdeps/powerpc/math-tests.h: New file.
30756 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30757 tests.
30758 * math/test-snan.c (TEST_FUNC): Likewise.
30759
6142896d
DM
307602013-03-30 David S. Miller <davem@davemloft.net>
30761
30762 * po/de.po: Update from translation team.
30763
ccc8cadf
JM
307642013-03-30 Joseph Myers <joseph@codesourcery.com>
30765
30766 [BZ #10357]
30767 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30768 imaginary part less than 1.0 and real part less than 0.5
30769 specially.
30770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30772 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30773 (cacos_test): Add more tests.
30774 (casin_test): Likewise.
30775 (casinh_test): Likewise.
30776 * sysdeps/i386/fpu/libm-test-ulps: Update.
30777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30778
0f6a8d4b
SP
307792013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30780
0d1029de
SP
30781 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30782 ONE with its value.
30783
c2d94018
SP
30784 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30785 (__pow_mp): Replace ONE and MONE with their values.
30786 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30788 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30789 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30790 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30791 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30792
27ec37f1
SP
30793 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30794
a64d7e0e
SP
30795 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30796 (__pow_mp): Replace ZERO and MZERO with their values.
30797 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30798 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30799 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30801 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30802 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30803 (__sqr): Likewise.
30804
d26dd3eb
SP
30805 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30806
0f6a8d4b
SP
30807 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30808
e57b0c61
RM
308092013-03-28 Roland McGrath <roland@hack.frob.com>
30810
30811 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30812 Declare with __attribute__ ((weak)).
30813 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30814 Call __call_tls_dtors only if it's not NULL.
30815
356b3480
RM
308162013-03-28 Roland McGrath <roland@hack.frob.com>
30817
288f7d79
RM
30818 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30819 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30820 magic __ehdr_start linker symbol if it's defined.
30821 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30822 them up here if it was already done.
30823
dc0a0263
RM
30824 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30825 (_dl_aux_init): Use const in cast when setting it.
30826 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30827 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30828 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30829
3d3436ae
RM
30830 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30831 Declare them here.
30832 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30833 * csu/libc-tls.c: Nor here.
30834 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30835
356b3480
RM
30836 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30837 (__libc_message): Never call vsyslog.
30838
b0f1246a
AM
308392013-03-28 Alan Modra <amodra@gmail.com>
30840
30841 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30842 Define as empty.
30843 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30844 Likewise.
30845
fbbe2b9a
AZ
308462013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30847
30848 [BZ #15214]
30849 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30850 underflow.
30851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30852
1728ab37
SP
308532013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30854
7a86be6e
SP
30855 [BZ #15304]
30856 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30857 Don't add gid passed as argument.
30858
1728ab37
SP
30859 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30860
3a7182a1
JM
308612013-03-27 Joseph Myers <joseph@codesourcery.com>
30862
30863 [BZ #15307]
30864 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30865 imaginary part between 1.0 and 1.5 and real part less than 0.5
30866 specially.
30867 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30868 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30869 * math/libm-test.inc (cacos_test): Add more tests.
30870 (casin_test): Likewise.
30871 (casinh_test): Likewise.
30872 * sysdeps/i386/fpu/libm-test-ulps: Update.
30873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30874
6f2e90e7
SP
308752013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30876
5739f705
SP
30877 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30878 constants.
30879 (norm): Likewise.
30880 (denorm): Likewise.
30881 (__dbl_mp): Likewise.
30882 (add_magnitudes): Likewise.
30883 (sub_magnitudes): Likewise.
30884 (__add): Likewise.
30885 (__sub): Likewise.
30886 (__mul): Likewise.
30887 (__sqr): Likewise.
30888 (__inv): Likewise.
30889 (__dvd): Likewise.
30890
e375e83d
SP
30891 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30892 commented code.
30893 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30894 (__dubcos): Likewise.
30895 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30896 (__ieee754_acos): Likewise.
30897 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30898 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30899 (__exp1): Likewise.
30900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30902 (log1): Likewise.
30903 (my_log2): Likewise.
30904 (checkint): Likewise.
30905 * sysdeps/ieee754/dbl-64/e_remainder.c
30906 (__ieee754_remainder): Likewise.
30907 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30909 (bsloww): Likewise.
30910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30911
6f2e90e7
SP
30912 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30913 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30914 MANTISSA_STORE_T to store computations on mantissa. Use
30915 macros for rounding and division.
30916 (denorm): Likewise.
30917 (__dbl_mp): Likewise.
30918 (add_magnitudes): Likewise.
30919 (sub_magnitudes): Likewise.
30920 (__mul): Likewise.
30921 (__sqr): Likewise.
30922 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30923 powers of two in terms of TWOPOW macro.
30924 (mp_no): Make type of mantissa as MANTISSA_T.
30925 [!RADIXI]: Define RADIXI.
30926 [!TWO52]: Define TWO52.
30927 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30928
fce14d4e
AZ
309292013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30930
30931 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30932 llroundl symbol when building for PPC32.
30933
9ad027fb
MW
309342013-03-24 Mark H Weaver <mhw@netris.org>
30935
30936 * manual/arith.texi (Normalization Functions): Fix prototypes for
30937 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30938
e42a38dd
AZ
309392013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30940
30941 [BZ #13889]
30942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30943 high value to check if expl overflow.
30944 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30945 to check for underflow and overflow.
30946 * math/libm-test.inc: Add exp test.
30947
2e0fb521
DL
309482013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30949
30950 [BZ #11120]
30951 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30952 with NOT_IN_libc.
30953
b5784d95
AZ
309542013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30955
30956 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30957 symbol.
30958
5aa4a1a1
TS
309592013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30960
bdef0be7
TS
30961 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30962 wrap blocks consisting of several statements.
30963
5aa4a1a1
TS
30964 * sysdeps/generic/math-tests.h: New file.
30965 * sysdeps/i386/fpu/math-tests.h: Likewise.
30966 * math/test-snan.c: Include it.
30967 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30968
98c48fe5
JM
309692013-03-21 Joseph Myers <joseph@codesourcery.com>
30970
30971 [BZ #15285]
30972 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30973 (__ieee754_j0l): Do not improve calculations using cos of twice
30974 input for inputs above LDBL_MAX / 2.0L.
30975 (__ieee754_y0l): Likewise.
30976 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30977 (__ieee754_j1l): Do not improve calculations using cos of twice
30978 input for inputs above LDBL_MAX / 2.0L.
30979 (__ieee754_y1l): Likewise.
30980 * math/libm-test.inc (j0_test): Add another test.
30981 (j1_test): Likewise.
30982 (y0_test): Likewise.
30983 (y1_test): Likewise.
30984 * sysdeps/i386/fpu/libm-test-ulps: Update.
30985
3775a8bc
SP
309862013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30987
30988 * Rules ($(objpfx)bench-%.c): Include code from a C source
30989 file.
30990
0a1b2ae6
JM
309912013-03-21 Joseph Myers <joseph@codesourcery.com>
30992
30993 [BZ #15287]
30994 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30995 imaginary part 1.0 and real part less than 0.5 specially.
30996 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30997 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30998 * math/libm-test.inc (cacos_test): Add more tests.
30999 (casin_test): Likewise.
31000 (casinh_test): Likewise.
31001 * sysdeps/i386/fpu/libm-test-ulps: Update.
31002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31003
b33d4ce4
SP
310042013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31005
31006 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31007 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31008
bef0b507
JM
310092013-03-20 Joseph Myers <joseph@codesourcery.com>
31010
31011 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31012 * config.make.in (config-cflags-sse4): Remove variable.
31013 (config-cflags-avx): Likewise.
31014 (config-cflags-sse2avx): Likewise.
31015 (config-cflags-novzeroupper): Likewise.
31016 (config-asflags-i686): Likewise.
31017 (have-mfma4): Likewise.
31018 (have-as-vis3): Likewise.
31019 (MIG): Likewise.
31020 * configure.in (MIG): Do not AC_SUBST.
31021 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31022 (libc_cv_cc_sse4): Do not AC_SUBST.
31023 (libc_cv_cc_avx): Likewise.
31024 (libc_cv_cc_sse2avx): Likewise.
31025 (libc_cv_cc_novzeroupper): Likewise.
31026 (libc_cv_cc_fma4): Likewise.
31027 (libc_cv_as_i686): Likewise.
31028 (libc_cv_sparc_as_vis3): Likewise.
31029 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31030 LIBC_CONFIG_VAR.
31031 (config-asflags-i686): Likewise.
31032 (config-cflags-avx): Likewise.
31033 (config-cflags-sse2avx): Likewise.
31034 (have-mfma4): Likewise.
31035 (config-cflags-novzeroupper): Likewise.
31036 * sysdeps/mach/configure.in (MIG): Likewise.
31037 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31038 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31039 LIBC_CONFIG_VAR.
31040 (config-cflags-avx): Likewise.
31041 (config-cflags-sse2avx): Likewise.
31042 (have-mfma4): Likewise.
31043 (config-cflags-novzeroupper): Likewise.
31044 * configure: Regenerated.
31045 * sysdeps/i386/configure: Likewise.
31046 * sysdeps/mach/configure: Likewise.
31047 * sysdeps/sparc/configure: Likewise.
31048 * sysdeps/x86_64/configure: Likewise.
31049
912cc4b3
RM
310502013-03-20 Roland McGrath <roland@hack.frob.com>
31051
31052 [BZ #14812]
31053 * locale/programs/localedef.c (options): Put N_ translation marker
31054 on argument names, not just descriptions.
31055
04eed2b0
MS
310562013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31057
31058 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31059
a065ceff
OB
310602013-03-20 Ondřej Bílka <neleai@seznam.cz>
31061
9bb2a810 31062 [BZ #14176]
a065ceff
OB
31063 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31064
a600e5ce
RM
310652013-03-19 Roland McGrath <roland@hack.frob.com>
31066
31067 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31068 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31069 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31070 [!BEFORE_ABORT] (before_abort): New function.
31071 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31072 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31073 (writev_for_fatal): New function.
31074 (WRITEV_FOR_FATAL): New macro; call that.
31075 (backtrace_and_maps): New function.
31076 (BEFORE_ABORT): New macro; call that.
31077 (struct str_list): Type removed.
31078 (__libc_message, __libc_fatal): Functions removed.
31079 Include <sysdeps/posix/libc_fatal.c> instead.
31080
6b18bea6
JM
310812013-03-19 Joseph Myers <joseph@codesourcery.com>
31082
31083 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31084 constants.
31085 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31086 double constants.
31087
aaa8cb4b
AS
310882013-03-19 Andreas Schwab <schwab@suse.de>
31089
44673770
AS
31090 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31091 * sysdeps/gnu/configure: Regenerate.
31092
aaa8cb4b
AS
31093 * configure.in: Substitute libc_cv_rtlddir.
31094 * configure: Regenerate.
31095 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31096 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31097 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31098 * elf/Makefile (install-others, CFLAGS-interp.c)
31099 (ldso_install, common-ldd-rewrite): Likewise.
31100 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31101 $(inst_slibdir)/$(rtld-installed-name).
31102 * scripts/rellns-sh: Add -p option.
31103 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31104 for source.
31105
d3cfc668
SP
311062013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31107
31108 * manual/nptl.texi: Renamed to ...
31109 * manual/threads.texi: ... this.
31110 * manual/Makefile (chapters): Update.
31111
0e2b9cdd
RM
311122013-03-18 Roland McGrath <roland@hack.frob.com>
31113
31114 [BZ #14812]
31115 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31116 on argument names, not just descriptions.
0e2b9cdd
RM
31117 * malloc/memusagestat.c (options): Likewise.
31118 * nss/getent.c (options): Likewise.
63270c24
RM
31119
311202013-03-18 Benno Schulenberg <bensberg@justemail.net>
31121
31122 [BZ #14812]
31123 * iconv/iconv_prog.c (options): Put N_ translation marker
31124 on argument names, not just descriptions.
31125 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 31126
b2e1393c
OB
311272013-03-18 Ondrej Bilka <neleai@seznam.cz>
31128
31129 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31130 implementation which is faster on all x86_64 architectures.
31131 Tested on AMD, Intel Nehalem, SNB, IVB.
31132 * sysdeps/x86_64/strnlen.S: Likewise.
31133
31134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31135 Remove all multiarch strlen and strnlen versions.
31136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31137 Remove strlen and strnlen related parts.
31138
31139 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31140 Inline strlen part.
31141 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31142
31143 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31144 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31145 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31146 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31147 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31148 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31149
ec4ff04d
CD
311502013-03-17 Carlos O'Donell <carlos@redhat.com>
31151
31152 * manual/memory.texi (Malloc Tunable Parameters):
31153 Sort parameters alphabetically. Add comments for missing entries.
31154
cd18e90a
DM
311552013-03-17 David S. Miller <davem@davemloft.net>
31156
31157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31158
2a185d32
JM
311592013-03-16 Joseph Myers <joseph@codesourcery.com>
31160
d2f9799e
JM
31161 [BZ #15283]
31162 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31163 for arguments at most half maximum finite value.
31164 * math/libm-test.inc (j0_test): Add more tests.
31165 (j1_test): Likewise.
31166 (y0_test): Likewise.
31167 (y1_test): Likewise.
31168 * sysdeps/i386/fpu/libm-test-ulps: Update.
31169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31170
2a185d32
JM
31171 [BZ #14155]
31172 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31173 1 / x and functions P and Q for arguments above 0x1p256L.
31174 (__ieee754_y0l): Likewise.
31175 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31176 (__ieee754_y1l): Likewise.
31177 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31178 (j1_test): Likewise.
31179 (y0_test): Likewise.
31180 (y1_test): Likewise.
31181
6cbec759
TS
311822013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31183
31184 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31185 variable.
31186
bc16e260
RM
311872013-03-15 Roland McGrath <roland@hack.frob.com>
31188
aefc9b8c
RM
31189 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31190 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31191 zero since it's initialized to EXEC_PAGESIZE.
31192
bc16e260
RM
31193 * sysdeps/unix/sysv/linux/ldsodefs.h
31194 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31195 * sysdeps/generic/ldsodefs.h: ... here.
31196
a57da955
TS
311972013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31198
af00a34d
TS
31199 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31200
495ded2c
TS
31201 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31202 math/test-snan.c.
31203 * math/test-snan.c: Renamed from
31204 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31205 * math/Makefile (tests): Add test-snan.
31206 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31207 test-powerpc-snan.
31208
777b0332
TS
31209 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31210 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31211 functions.
31212 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31213 __builtin_nan family of functions.
31214 * math/libm-test.inc (initialize): Initialize qnan_value with
31215 __builtin_nan family of functions.
31216 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31217 Remove variables.
31218 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31219 Remove functions.
31220 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31221 storage class. Initialize qNaN_var and sNaN_var with
31222 __builtin_nan and __builtin_nans families of functions,
31223 respectively.
31224
64d063b8
TS
31225 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31226 (sqrt_test): Remove duplicate test with qNaN input.
31227 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31228 (round_test, signbit_test, significand_test): Note missing +/-Inf
31229 as well as qNaN tests.
31230
67e971f1
TS
31231 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31232 qNaN_var. Fix a few strings, too.
31233 * math/libm-test.inc (nan_value): Rename to qnan_value.
31234 * math/gen-libm-test.pl (%beautify): Adjust to that.
31235 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31236 * math/test-misc.c (main): Likewise.
31237 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31238 to __qnan_bytes, and __qnan_union, respectively.
31239 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31240 Likewise.
31241 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31242 and lqnanval, respectively.
31243 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31244 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31245 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31246 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31247
64487e12
TS
31248 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31249 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31250 doubles.
31251
e015e27b
TS
31252 * math/test-misc.c (main): Fix copy'n'pastos.
31253 * misc/tst-efgcvt.c (special): Likewise.
31254
a57da955
TS
31255 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31256 Remove declarations.
31257
1e380345
SP
312582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31259
31260 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31261 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31262 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31263 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31264
ef26eece
AZ
312652013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31266
31267 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31268 macro to return vdso values correctly in IFUNC implementations.
31269 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31270 Optimization by using IFUNC.
31271
8cfdb7e0
SP
312722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31273 Richard Henderson <rth@redhat.com>
31274 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31275
31276 * Makefile.in (bench): New target.
31277 * NEWS: Mention the benchmark framework.
31278 * Rules (bench): Likewise.
31279 (binaries-bench): Generate binaries for functions to
31280 benchmark.
31281 * benchtests/Makefile: New makefile for benchmark tests.
31282 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31283 programs.
31284 * benchtests/exp-inputs: New input file for EXP function.
31285 * benchtests/pow-inputs: New input file for POW function.
31286 * scripts/bench.pl: New script to generate source files for
31287 benchmark programs.
31288
bcda9880
SP
312892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31290
d22ca8cd
SP
31291 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31292 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31293 computations on mantissa. Use macros for rounding and
31294 division.
31295 (denorm): Likewise.
31296 (__dbl_mp): Likewise.
31297 (add_magnitudes): Likewise.
31298 (sub_magnitudes): Likewise.
31299 (__mul): Likewise.
31300 (__sqr): Likewise.
31301 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31302 powers of two in terms of TWOPOW macro.
31303 (mp_no): Make type of mantissa as MANTISSA_T.
31304 [!RADIXI]: Define RADIXI.
31305 [!TWO52]: Define TWO52.
31306 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31307
bcda9880
SP
31308 * manual/nptl.texi (cindex): Modify threads to pthreads.
31309
06d5adfb
JM
313102013-03-15 Joseph Myers <joseph@codesourcery.com>
31311
31312 * sysdeps/x86_64/preconfigure: Regenerated.
31313
41c7328e
JM
313142013-03-14 Joseph Myers <joseph@codesourcery.com>
31315
31316 [BZ #14155]
31317 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31318 0x1p28 and above.
31319 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31320 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31321 0x1p28 and above.
31322 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31323 * math/libm-test.inc (j0_test): Do not allow one spurious
31324 underflow exception.
31325 (y1_test): Likewise.
31326
e25cfa60
SP
313272013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31328
0409959c
SP
31329 * manual/Makefile (chapters): Add nptl.
31330 * manual/debug.texi (Debugging Support): Add link to Threads
31331 chapter.
31332 * manual/nptl.texi: New file.
31333
e25cfa60
SP
31334 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31335
58a1335e
PB
313362013-03-14 Petr Baudis <pasky@ucw.cz>
31337
31338 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31339 for non-NULL pointer before the memory validity test. Pointed
31340 out by Holger Brunck <holger.brunck@keymile.com>.
31341
9dc7c64f
AS
313422013-03-13 Andreas Schwab <schwab@suse.de>
31343
31344 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31345 instead of .os.
31346
54206aa6
JM
313472013-03-13 Joseph Myers <joseph@codesourcery.com>
31348
31349 * timezone/zic.c: Update from tzcode 2013b.
31350
e98cdb38
CD
313512013-03-12 Carlos O'Donell <carlos@redhat.com>
31352
31353 * manual/install.texi (Configuring and compiling):
31354 Mention i686 and i586.
31355 * INSTALL: Regenerate.
31356
9967e003
RM
313572013-03-12 Roland McGrath <roland@hack.frob.com>
31358
31359 * sysdeps/init_array/elf-init.c: New file.
31360 * csu/elf-init.c
31361 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31362 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31363
31364 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31365 __gmon_start__ as global, but as static with a .preinit_array pointer.
31366 * sysdeps/init_array/gmon-start.c: New file. Use that.
31367 * sysdeps/init_array/crti.S: New file, empty except for comments.
31368 * sysdeps/init_array/crtn.S: Likewise.
31369
e6b5a293 313702013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31371
31372 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31373 definining bcopy.
80f844c9
OB
31374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31375 Remove Prefer_SSE_for_memop.
31376 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31377 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31378 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31380 memset-x86-64.
80f844c9 31381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31382 Remove bzero, memset ifunc support.
80f844c9
OB
31383 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31384 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31385 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31386 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31387
fb6b0fcb
AS
313882013-03-11 Andreas Schwab <schwab@suse.de>
31389
31390 [BZ #15234]
31391 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31392 by SHLIB_COMPAT.
31393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31394 (GLIBC_2.16): Remove pthread_atfork.
31395
3e6bd4b1
PP
313962013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31397
31398 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31399 (ptestcases.h): Likewise.
31400
222d7f00
RM
314012013-03-08 Roland McGrath <roland@hack.frob.com>
31402
31403 * Makeconfig ($(common-objpfx)config.status): Depend on
31404 sysdeps/*/preconfigure{,.in} too.
31405
1ba4f030
JM
314062013-03-08 Joseph Myers <joseph@codesourcery.com>
31407
a222d91a
JM
31408 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31409 (__free_hook): Use void * instead of __malloc_ptr_t.
31410 (__malloc_hook): Likewise.
31411 (__realloc_hook): Likewise.
31412 (__memalign_hook): Likewise.
31413 (__after_morecore_hook): Likewise.
31414 * malloc/arena.c (save_malloc_hook): Likewise.
31415 (save_free_hook): Likewise.
31416 * malloc/hooks.c (malloc_hook_ini): Likewise.
31417 (realloc_hook_ini): Likewise.
31418 (memalign_hook_ini): Likewise.
31419 * malloc/malloc.c (malloc_hook_ini): Likewise.
31420 (realloc_hook_ini): Likewise.
31421 (memalign_hook_ini): Likewise.
31422 (__free_hook): Likewise.
31423 (__malloc_hook): Likewise.
31424 (__realloc_hook): Likewise.
31425 (__memalign_hook): Likewise.
31426 (__libc_malloc): Likewise.
31427 (__libc_free): Likewise.
31428 (__libc_realloc): Likewise.
31429 (__libc_memalign): Likewise.
31430 (__libc_valloc): Likewise.
31431 (__libc_pvalloc): Likewise.
31432 (__libc_calloc): Likewise.
31433 (__posix_memalign): Likewise.
31434 * malloc/morecore.c (__sbrk): Likewise.
31435 (__default_morecore): Likewise.
31436
5cc45e10
JM
31437 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31438
dd54b864
JM
31439 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31440 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31441 __malloc_ptrdiff_t.
31442
1ba4f030
JM
31443 * malloc/malloc.h (__malloc_size_t): Remove macro.
31444 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31445 __malloc_size_t.
31446 (old_memalign_hook): Likewise.
31447 (old_realloc_hook): Likewise.
31448 (struct hdr): Likewise.
31449 (flood): Likewise.
31450 (mallochook): Likewise.
31451 (memalignhook): Likewise.
31452 (reallochook): Likewise.
31453 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31454 (tr_old_realloc_hook): Likewise.
31455 (tr_old_memalign_hook): Likewise.
31456 (tr_mallochook): Likewise.
31457 (tr_reallochook): Likewise.
31458 (tr_memalignhook): Likewise.
31459
edf66e57
AZ
314602013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31461
31462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31463 default_ldbl_pack and using as default implementation.
31464 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31465 implementation.
31466 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31467 redundant definition.
31468 (ldbl_insert_mantissa): Likewise.
31469 (ldbl_canonicalize): Likewise.
31470 (ldbl_nearbyint): Likewise.
31471 (ldbl_pack): Rename to ldbl_pack_ppc.
31472 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31473 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31474 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31475
6d9145d8
SP
314762013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31477
31478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31479 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31480 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31481 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31483 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31484 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31485 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31486
4dd4e157
AJ
314872013-03-07 Andreas Jaeger <aj@suse.de>
31488
31489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31490 bits/mman-linux.h.
31491
adbb8027
SP
314922013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31493
ce544b5b
SP
31494 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31495 Include mpa.h and declare __MPEXP.
31496 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31497 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31498 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31499 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31500 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31501 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31502 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31503
4cc149fd
SP
31504 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31505 (__slowpow): Use long double EXPL and LOGL functions to
31506 compute POW.
31507 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31508 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31509 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31510 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31511 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31512 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31513
e6ebd4a7
SP
31514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31515 intermediate variable to calculate exponent.
31516 (__sqr): Likewise.
31517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31518 Likewise.
31519 (__sqr): Likewise.
31520
82a9811d
SP
31521 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31522 [!NO__SQR]: Define __sqr.
31523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31524 and NO__SQR. Remove all code except __mul and __sqr. Include
31525 sysdeps/ieee754/dbl-64/mpa.c.
31526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31527
adbb8027
SP
31528 [BZ #12723]
31529 * posix/Makefile (tests): Add tst-pathconf.
31530 * posix/tst-pathconf.c: New test case.
31531 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31532 _PC_PIPE_BUF.
31533 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31534
39120df9
PF
315352013-03-06 Patsy Franklin <pfrankli@redhat.com>
31536
31537 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31538
67525cb8
AJ
315392013-03-06 Andreas Jaeger <aj@suse.de>
31540
664a9ce4
AJ
31541 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31542 definition via __MAP_ANONYMOUS.
31543
8e39047d
AJ
31544 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31545 it's not part of Linux headers.
31546
67525cb8
AJ
31547 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31548 (MAP_HUGE_MASK): Define.
31549
31550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31551 Define.
31552 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31554 Define.
31555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31556 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31557 Define.
31558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31559 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31560 Define.
31561 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31562
31563 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31564 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31565 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31566 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31567 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31568 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31569
31570 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31571 Handle f2fs.
31572
31573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31574 Handle f2fs and efivarfs.
31575
31576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31577 f2fs.
31578
31579 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31580 (EFIVARFS_MAGIC): Add.
31581 (F2FS_LINK_MAX): Add.
31582
e1b42695
PP
315832013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31584
31585 * stdio-common/vfprintf.c: Replace __builtin_expect with
31586 __glibc_unlikely.
31587
2d67d91a
JM
315882013-03-06 Joseph Myers <joseph@codesourcery.com>
31589
31590 [BZ #13550]
31591 * sysdeps/generic/bp-sym.h: Remove file.
31592 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31593 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31594 <bp-sym.h> and <bp-asm.h>.
31595 (__longjmp): Don't use BP_SYM.
31596 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31597 and <bp-asm.h>.
31598 (memcpy): Don't use BP_SYM.
31599 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31600 <bp-sym.h> and <bp-asm.h>.
31601 (memcpy): Don't use BP_SYM.
31602 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31603 <bp-asm.h>.
31604 (memcpy): Don't use BP_SYM.
31605 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31606 <bp-asm.h>.
31607 (memset): Don't use BP_SYM.
31608 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31609 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31610 (__bzero): Don't use BP_SYM.
31611 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31612 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31613 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31614 <bp-sym.h> and <bp-asm.h>.
31615 (memcmp): Don't use BP_SYM. Remove comment about bounded
31616 pointers.
31617 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31618 <bp-sym.h> and <bp-asm.h>.
31619 (memcpy): Don't use BP_SYM.
31620 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31621 <bp-sym.h> and <bp-asm.h>.
31622 (memset): Don't use BP_SYM.
31623 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31624 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31625 (__bzero): Don't use BP_SYM.
31626 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31627 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31628 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31629 <bp-sym.h> and <bp-asm.h>.
31630 (strncmp): Don't use BP_SYM. Remove comment about bounded
31631 pointers.
31632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31633 <bp-sym.h> and <bp-asm.h>.
31634 (memcpy): Don't use BP_SYM.
31635 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31636 <bp-sym.h> and <bp-asm.h>.
31637 (memset): Don't use BP_SYM.
31638 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31639 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31640 (__bzero): Don't use BP_SYM.
31641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31643 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31644 <bp-sym.h> and <bp-asm.h>.
31645 (__memchr): Don't use BP_SYM.
31646 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31647 <bp-sym.h> and <bp-asm.h>.
31648 (memcmp): Don't use BP_SYM. Remove comment about bounded
31649 pointers.
31650 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31651 <bp-sym.h> and <bp-asm.h>.
31652 (memcpy): Don't use BP_SYM.
31653 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31654 <bp-sym.h> and <bp-asm.h>.
31655 (__mempcpy): Don't use BP_SYM.
31656 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31657 <bp-sym.h> and <bp-asm.h>.
31658 (__memrchr): Don't use BP_SYM.
31659 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31660 <bp-sym.h> and <bp-asm.h>.
31661 (memset): Don't use BP_SYM.
31662 (__bzero): Likewise.
31663 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31664 <bp-sym.h> and <bp-asm.h>.
31665 (__rawmemchr): Don't use BP_SYM.
31666 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31667 <bp-sym.h> and <bp-asm.h>.
31668 (__STRCMP): Don't use BP_SYM.
31669 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31670 <bp-sym.h> and <bp-asm.h>.
31671 (strchr): Don't use BP_SYM.
31672 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31673 <bp-sym.h> and <bp-asm.h>.
31674 (__strchrnul): Don't use BP_SYM.
31675 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31676 <bp-sym.h> and <bp-asm.h>.
31677 (strlen): Don't use BP_SYM.
31678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31679 <bp-sym.h> and <bp-asm.h>.
31680 (strncmp): Don't use BP_SYM. Remove comment about bounded
31681 pointers.
31682 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31683 <bp-sym.h> and <bp-asm.h>.
31684 (__strnlen): Don't use BP_SYM.
31685 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31686 <bp-sym.h> and <bp-asm.h>.
31687 (__GI__setjmp): Don't use BP_SYM.
31688 (_setjmp): Likewise.
31689 (__sigsetjmp): Likewise.
31690 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31691 (L(start_addresses)): Don't use BP_SYM.
31692 (_start): Likewise.
31693 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31694 <bp-asm.h>.
31695 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31696 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31697 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31698 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31699 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31700 <bp-asm.h>.
31701 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31702 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31703 about bounded pointers.
31704 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31705 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31706 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31707 <bp-asm.h>.
31708 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31709 about bounded pointers. Remove GKM FIXME comments.
31710 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31711 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31712 <bp-asm.h>.
31713 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31714 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31715 Remove GKM FIXME comments.
31716 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31717 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31718 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31719 <bp-asm.h>.
31720 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31721 about bounded pointers. Remove GKM FIXME comment.
31722 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31723 and <bp-asm.h>.
31724 (strncmp): Don't use BP_SYM. Remove comment about bounded
31725 pointers.
31726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31727 <bp-sym.h> and <bp-asm.h>.
31728 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31730 <bp-sym.h> and <bp-asm.h>.
31731 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31732 comment.
31733
cdcf361f
PP
317342013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31735
31736 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31737 call free(NULL).
31738
3c4a2b15
DM
317392013-03-05 David S. Miller <davem@davemloft.net>
31740
31741 * po/es.po: Update from translation team.
31742
cdcf361f 317432013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31744
31745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31746 <bits/mman-linux.h>.
31747 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31748 is fine.
31749 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31750 <bits/mman-linux.h> to end of file.
31751 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31752 is fine.
31753 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31754 <bits/mman-linux.h> to end of file.
31755 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31756 is fine.
31757 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31758 <bits/mman-linux.h> to end of file.
31759
31760 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31761 (MCL_CURRENT, MCL_FUTURE): Define here.
31762
5f67c04f
AK
317632013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31764
8a4473cc 31765 [BZ #15232]
5f67c04f
AK
31766 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31767 attribute_hidden.
31768 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31769
c3e94a95
AK
317702013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31771
31772 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31773 fourth parameter needed for rt_sigprocmask syscall.
31774 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31775 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31776 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31777 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31778 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31779 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31780
cfb6382a
JM
317812013-03-04 Joseph Myers <joseph@codesourcery.com>
31782
31783 [BZ #13550]
31784 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31785 comment about bounded pointers.
31786 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31787 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31788
539d8e01
AJ
317892013-03-04 Andreas Jaeger <aj@suse.de>
31790
31791 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31792 common definitions.
31793
31794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31795 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31796 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31798 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31800
2e167a70 318012013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31802
31803 [BZ #15055]
31804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31805 __ieee754_sqrl instead of __sqrl.
31806
68508633
JM
318072013-03-01 Joseph Myers <joseph@codesourcery.com>
31808
31809 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31810 * sysdeps/powerpc/fpu_control.h: ... here.
31811 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31812 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31813 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31814 * sysdeps/powerpc/bits/mathinline.h: ... here.
31815
7775448e
RM
318162013-03-01 Roland McGrath <roland@hack.frob.com>
31817
31818 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31819 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31820 to just [NEED_DL_SYSINFO_DSO].
31821 * elf/dl-support.c: Likewise.
31822 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31823 * elf/rtld.c (dl_main): Likewise.
31824 * elf/setup-vdso.h (setup_vdso): Likewise.
31825 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31826 * sysdeps/unix/sysv/linux/dl-sysdep.c
31827 (_dl_discover_osversion): Likewise.
31828
4e9b5995
CD
318292013-03-01 Carlos O'Donell <carlos@redhat.com>
31830
31831 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31832 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31833
e23872c8
SP
318342013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31835
e5c74c63
SP
31836 * NEWS: Mention libm performance improvements and non-x86 PI
31837 futex support.
31838
e23872c8
SP
31839 * csu/libc-start.c (__pthread_initialize_minimal): Change
31840 function arguments.
31841 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31842
b5510883
JM
318432013-02-28 Joseph Myers <joseph@codesourcery.com>
31844
31845 [BZ #13550]
31846 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31847 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31848 <bp-sym.h> and <bp-asm.h>.
31849 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31851 and <bp-asm.h>.
31852 (memcpy): Don't use BP_SYM.
31853 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31854 <bp-asm.h>.
31855 (__mpn_add_n): Don't use BP_SYM.
31856 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31857 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31858 and <bp-asm.h>.
31859 (__mpn_addmul_1): Don't use BP_SYM.
31860 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31861 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31862 <bp-sym.h>.
31863 (_setjmp): Don't use BP_SYM.
31864 (__novmx_setjmp): Likewise.
31865 (__GI__setjmp): Likewise.
31866 (__vmx_setjmp): Likewise.
31867 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31868 <bp-sym.h>.
31869 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31870 (__bzero): Don't use BP_SYM.
31871 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31872 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31873 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31874 <bp-sym.h> and <bp-asm.h>.
31875 (memcpy): Don't use BP_SYM.
31876 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31877 <bp-sym.h> and <bp-asm.h>.
31878 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31879 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31880 <bp-sym.h> and <bp-asm.h>.
31881 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31882 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31883 <bp-asm.h>.
31884 (__mpn_lshift): Don't use BP_SYM.
31885 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31886 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31887 <bp-asm.h>.
31888 (memset): Don't use BP_SYM.
31889 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31890 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31891 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31892 <bp-asm.h>.
31893 (__mpn_mul_1): Don't use BP_SYM.
31894 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31895 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31896 <bp-sym.h> and <bp-asm.h>.
31897 (memcmp): Don't use BP_SYM.
31898 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31899 <bp-sym.h> and <bp-asm.h>.
31900 (memcpy): Don't use BP_SYM.
31901 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31902 <bp-sym.h> and <bp-asm.h>.
31903 (memset): Don't use BP_SYM.
31904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31905 <bp-sym.h> and <bp-asm.h>.
31906 (strncmp): Don't use BP_SYM.
31907 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31908 <bp-sym.h> and <bp-asm.h>.
31909 (memcpy): Don't use BP_SYM.
31910 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31911 <bp-sym.h> and <bp-asm.h>.
31912 (memset): Don't use BP_SYM.
31913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31914 <bp-sym.h> and <bp-asm.h>.
31915 (__memchr): Don't use BP_SYM.
31916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31917 <bp-sym.h> and <bp-asm.h>.
31918 (memcmp): Don't use BP_SYM.
31919 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31920 <bp-sym.h> and <bp-asm.h>.
31921 (memcpy): Don't use BP_SYM.
31922 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31923 <bp-sym.h> and <bp-asm.h>.
31924 (__mempcpy): Don't use BP_SYM.
31925 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31926 <bp-sym.h> and <bp-asm.h>.
31927 (__memrchr): Don't use BP_SYM.
31928 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31929 <bp-sym.h> and <bp-asm.h>.
31930 (memset): Don't use BP_SYM.
31931 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31932 <bp-sym.h> and <bp-asm.h>.
31933 (__rawmemchr): Don't use BP_SYM.
31934 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31935 <bp-sym.h> and <bp-asm.h>.
31936 (__STRCMP): Don't use BP_SYM.
31937 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31938 <bp-sym.h> and <bp-asm.h>.
31939 (strchr): Don't use BP_SYM.
31940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31941 <bp-sym.h> and <bp-asm.h>.
31942 (__strchrnul): Don't use BP_SYM.
31943 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31944 <bp-sym.h> and <bp-asm.h>.
31945 (strlen): Don't use BP_SYM.
31946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31947 <bp-sym.h> and <bp-asm.h>.
31948 (strncmp): Don't use BP_SYM.
31949 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31950 <bp-sym.h> and <bp-asm.h>.
31951 (__strnlen): Don't use BP_SYM.
31952 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31953 <bp-asm.h>.
31954 (__mpn_rshift): Don't use BP_SYM.
31955 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31956 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31957 <bp-sym.h> and <bp-asm.h>.
31958 (__sigsetjmp): Don't use BP_SYM.
31959 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31960 (L(start_addresses)): Don't use BP_SYM.
31961 (_start): Likewise.
31962 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31963 <bp-asm.h>.
31964 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31965 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31966 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31967 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31968 <bp-asm.h>.
31969 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31970 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31971 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31972 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31973 <bp-asm.h>.
31974 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31975 comments.
31976 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31977 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31978 <bp-asm.h>.
31979 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31980 FIXME comments.
31981 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31982 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31983 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31984 <bp-asm.h>.
31985 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31986 comment.
31987 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31988 and <bp-asm.h>.
31989 (strncmp): Don't use BP_SYM,
31990 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31991 <bp-asm.h>.
31992 (__mpn_sub_n): Don't use BP_SYM.
31993 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31994 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31995 and <bp-asm.h>.
31996 (__mpn_submul_1): Don't use BP_SYM.
31997 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31999 <bp-sym.h> and <bp-asm.h>.
32000 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32002 <bp-sym.h> and <bp-asm.h>.
32003 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32004 comment.
32005
8d19fe64
SP
320062013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32007
32008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32009 Use ZK to minimize writes to Z.
32010 (sub_magnitudes): Simplify code a bit.
32011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32012 Use ZK to minimize writes to Z.
32013 (sub_magnitudes): Simplify code a bit.
32014
85bd816a
RM
320152013-02-27 Roland McGrath <roland@hack.frob.com>
32016
32017 * csu/gmon-start.c: Add special exception to license text.
32018
b5977bf2
RH
320192013-02-27 Richard Henderson <rth@redhat.com>
32020
32021 * scripts/config.guess: Update from config.git.
32022 * scripts/config.sub: Likewise.
32023
11d6e2f2
SP
320242013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32025
09c14ed2
SP
32026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32027
a688864e
SP
32028 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32029
6295157a
SP
32030 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32031
b8de2202
SP
32032 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32033
11d6e2f2
SP
32034 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32035
7e80ddb8
RM
320362013-02-26 Roland McGrath <roland@hack.frob.com>
32037
32038 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32039 [$(build-shared = yes].
7e80ddb8 32040
7da6d9ed
SP
320412013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32042
45f05884
SP
32043 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32044 (__mul): Reduce iterations for calculating mantissa.
32045
2236d359
SP
32046 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32047 MPTWO.
32048 (__mpranred): Likewise.
32049
7da6d9ed
SP
32050 [BZ #15160]
32051 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32052 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32053
b7688c42
PE
320542013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32055
32056 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32057 Define __attribute__.
32058
53a5c423
SP
320592013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32060
32061 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32062 unused.
32063 * posix/regex_internal.h (__attribute): Remove.
32064 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32065 (re_string_context_at): Likewise.
32066 (bitset_not): Use __attribute__ and mark function as possibly
32067 unused.
32068 (bitset_merge): Likewise.
32069 (bitset_mask): Likewise.
32070 (re_string_char_size_at): Likewise.
32071 (re_string_wchar_at): Likewise.
32072 (re_string_elem_size_at): Likewise.
32073
60f5a8b5
SP
320742013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32075
2a983a2e
SP
32076 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32077 code.
32078 (cc32): Likewise.
32079
e69804d1
SP
32080 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32081 (__acr): Likewise.
32082 (__cpy): Likewise.
32083 (norm): Likewise.
32084 (denorm): Likewise.
32085 (__dbl_mp): Likewise.
32086 (add_magnitudes): Likewise.
32087 (sub_magnitudes): Likewise.
32088 (__mul): Likewise.
32089 (__inv): Likewise.
32090
2f22a1e8
SP
32091 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32092 style.
32093
8930ddc7
SP
32094 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32095 style.
32096
dc60cb11
SP
32097 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32098 code.
32099
60f5a8b5
SP
32100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32101 up changes with default code.
32102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32103 Likewise.
32104
b4d1fd33
AM
321052013-02-24 Allan McRae <allan@archlinux.org>
32106
faf6f8bc
AM
32107 * manual/socket.texi (The Internet Namespace): Order menu items
32108 to match that in the file.
32109
b4d1fd33
AM
32110 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32111 node listing of the info page menu.
32112
2366713d
JM
321132013-02-21 Joseph Myers <joseph@codesourcery.com>
32114
32115 [BZ #13550]
32116 * sysdeps/i386/bp-asm.h: Remove file.
32117 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32118 (PARMS): Do not use macros from bp-asm.h.
32119 (S1): Likewise.
32120 (S2): Likewise.
32121 (SIZE): Likewise.
32122 (__mpn_add_n): Do not use BP_SYM
32123 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32124 "bp-asm.h".
32125 (PARMS): Do not use macros from bp-asm.h.
32126 (S1): Likewise.
32127 (SIZE): Likewise.
32128 (__mpn_addmul_1): Do not use BP_SYM
32129 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32130 "bp-asm.h".
32131 (PARMS): Do not use macros from bp-asm.h.
32132 (SIGMSK): Likewise.
32133 (_setjmp): Likewise. Do not use BP_SYM.
32134 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32135 "bp-asm.h".
32136 (PARMS): Do not use macros from bp-asm.h.
32137 (SIGMSK): Likewise.
32138 (setjmp): Likewise. Do not use BP_SYM.
32139 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32140 "bp-asm.h".
32141 (PARMS): Do not use macros from bp-asm.h.
32142 (__frexp): Do not use BP_SYM.
32143 (frexp): Likewise.
32144 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32145 "bp-asm.h".
32146 (PARMS): Do not use macros from bp-asm.h.
32147 (__frexpf): Do not use BP_SYM.
32148 (frexpf): Likewise.
32149 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32150 "bp-asm.h".
32151 (PARMS): Do not use macros from bp-asm.h.
32152 (__frexpl): Do not use BP_SYM.
32153 (frexpl): Likewise.
32154 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32155 "bp-asm.h".
32156 (PARMS): Do not use macros from bp-asm.h.
32157 (__remquo): Do not use BP_SYM.
32158 (remquo): Likewise.
32159 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32160 "bp-asm.h".
32161 (PARMS): Do not use macros from bp-asm.h.
32162 (__remquof): Do not use BP_SYM.
32163 (remquof): Likewise.
32164 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32165 "bp-asm.h".
32166 (PARMS): Do not use macros from bp-asm.h.
32167 (__remquol): Do not use BP_SYM.
32168 (remquol): Likewise.
32169 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32170 "bp-asm.h".
32171 (PARMS): Do not use macros from bp-asm.h.
32172 (DEST): Likewise.
32173 (SRC): Likewise.
32174 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32175 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32176 "bp-asm.h".
32177 (PARMS): Do not use macros from bp-asm.h.
32178 (strlen): Do not use BP_SYM.
32179 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32180 "bp-asm.h".
32181 (PARMS): Do not use macros from bp-asm.h.
32182 (S1): Likewise.
32183 (S2): Likewise.
32184 (SIZE): Likewise.
32185 (__mpn_add_n): Do not use BP_SYM.
32186 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32187 "bp-asm.h".
32188 (PARMS): Do not use macros from bp-asm.h.
32189 (S1): Likewise.
32190 (SIZE): Likewise.
32191 (__mpn_addmul_1): Do not use BP_SYM.
32192 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32193 weak_alias.
32194 (bzero): Likewise.
32195 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32196 "bp-asm.h".
32197 (PARMS): Do not use macros from bp-asm.h.
32198 (S): Likewise.
32199 (SIZE): Likewise.
32200 (__mpn_lshift): Do not use BP_SYM.
32201 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32202 "bp-asm.h".
32203 (PARMS): Do not use macros from bp-asm.h.
32204 (DEST): Likewise.
32205 (SRC): Likewise.
32206 (LEN): Likewise.
32207 (memcpy): Likewise. Do not use BP_SYM.
32208 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32209 libc_hidden_def and weak_alias.
32210 (mempcpy): Do not use BP_SYM in weak_alias.
32211 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32212 "bp-asm.h".
32213 (PARMS): Do not use macros from bp-asm.h.
32214 (DEST): Likewise.
32215 (LEN): Likewise.
32216 [!BZERO_P] (CHR): Likewise.
32217 (memset): Likewise. Do not use BP_SYM.
32218 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32219 "bp-asm.h".
32220 (PARMS): Do not use macros from bp-asm.h.
32221 (S1): Likewise.
32222 (SIZE): Likewise.
32223 (__mpn_mul_1): Do not use BP_SYM.
32224 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32225 "bp-asm.h".
32226 (PARMS): Do not use macros from bp-asm.h.
32227 (S): Likewise.
32228 (SIZE): Likewise.
32229 (__mpn_rshift): Do not use BP_SYM.
32230 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32231 "bp-asm.h".
32232 (PARMS): Do not use macros from bp-asm.h.
32233 (STR): Likewise.
32234 (CHR): Likewise.
32235 (strchr): Likewise. Do not use BP_SYM.
32236 (index): Do not use BP_SYM in weak_alias.
32237 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32238 "bp-asm.h".
32239 (PARMS): Do not use macros from bp-asm.h.
32240 (DEST): Likewise.
32241 (SRC): Likewise.
32242 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32243 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32244 "bp-asm.h".
32245 (PARMS): Do not use macros from bp-asm.h.
32246 (strlen): Do not use BP_SYM.
32247 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32248 "bp-asm.h".
32249 (PARMS): Do not use macros from bp-asm.h.
32250 (S1): Likewise.
32251 (S2): Likewise.
32252 (SIZE): Likewise.
32253 (__mpn_sub_n): Do not use BP_SYM.
32254 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32255 "bp-asm.h".
32256 (PARMS): Do not use macros from bp-asm.h.
32257 (S1): Likewise.
32258 (SIZE): Likewise.
32259 (__mpn_submul_1): Do not use BP_SYM.
32260 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32261 "bp-asm.h".
32262 (PARMS): Do not use macros from bp-asm.h.
32263 (S1): Likewise.
32264 (S2): Likewise.
32265 (SIZE): Likewise.
32266 (__mpn_add_n): Do not use BP_SYM.
32267 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32268 weak_alias.
32269 (bzero): Likewise.
32270 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32271 "bp-asm.h".
32272 (PARMS): Do not use macros from bp-asm.h.
32273 (BLK2): Likewise.
32274 (LEN): Likewise.
32275 (memcmp): Do not use BP_SYM.
32276 (bcmp): Do not use BP_SYM in weak_alias.
32277 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32278 "bp-asm.h".
32279 (PARMS): Do not use macros from bp-asm.h.
32280 (DEST): Likewise.
32281 (SRC): Likewise.
32282 (LEN): Likewise.
32283 (memcpy): Likewise. Do not use BP_SYM.
32284 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32285 "bp-asm.h".
32286 (PARMS): Do not use macros from bp-asm.h.
32287 (DEST): Likewise.
32288 (SRC): Likewise.
32289 (LEN): Likewise.
32290 (memmove): Likewise. Do not use BP_SYM.
32291 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32292 "bp-asm.h".
32293 (PARMS): Do not use macros from bp-asm.h.
32294 (DEST): Likewise.
32295 (SRC): Likewise.
32296 (LEN): Likewise.
32297 (__mempcpy): Likewise. Do not use BP_SYM.
32298 (mempcpy): Do not use BP_SYM in weak_alias.
32299 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32300 "bp-asm.h".
32301 (PARMS): Do not use macros from bp-asm.h.
32302 (DEST): Likewise.
32303 (LEN): Likewise.
32304 [!BZERO_P] (CHR): Likewise.
32305 (memset): Likewise. Do not use BP_SYM.
32306 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32307 "bp-asm.h".
32308 (PARMS): Do not use macros from bp-asm.h.
32309 (STR2): Likewise.
32310 (strcmp): Do not use BP_SYM.
32311 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32312 "bp-asm.h".
32313 (PARMS): Do not use macros from bp-asm.h.
32314 (STR): Likewise.
32315 (DELIM): Likewise.
32316 [USE_AS_STRTOK_R] (SAVE): Likewise.
32317 (FUNCTION): Likewise. Do not use BP_SYM.
32318 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32319 aliases.
32320 (strtok_r): Likewise.
32321 (__GI___strtok_r): Likewise.
32322 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32323 (PARMS): Do not use macros from bp-asm.h.
32324 (S): Likewise.
32325 (SIZE): Likewise.
32326 (__mpn_lshift): Do not use BP_SYM.
32327 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32328 (PARMS): Do not use macros from bp-asm.h.
32329 (STR): Likewise.
32330 (CHR): Likewise.
32331 (__memchr): Do not use BP_SYM.
32332 (memchr): Do not use BP_SYM in weak_alias.
32333 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32334 (PARMS): Do not use macros from bp-asm.h.
32335 (BLK2): Likewise.
32336 (LEN): Likewise.
32337 (memcmp): Do not use BP_SYM.
32338 (bcmp): Do not use BP_SYM in weak_alias.
32339 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32340 (PARMS): Do not use macros from bp-asm.h.
32341 (S1): Likewise.
32342 (SIZE): Likewise.
32343 (__mpn_mul_1): Do not use BP_SYM.
32344 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32345 "bp-asm.h".
32346 (PARMS): Do not use macros from bp-asm.h.
32347 (STR): Likewise.
32348 (CHR): Likewise.
32349 (__rawmemchr): Do not use BP_SYM.
32350 (rawmemchr): Do not use BP_SYM in weak_alias.
32351 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32352 (PARMS): Do not use macros from bp-asm.h.
32353 (S): Likewise.
32354 (SIZE): Likewise.
32355 (__mpn_rshift): Do not use BP_SYM.
32356 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32357 (PARMS): Do not use macros from bp-asm.h.
32358 (SIGMSK): Likewise.
32359 (__sigsetjmp): Likewise. Do not use BP_SYM.
32360 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32361 (_start): Do not use BP_SYM.
32362 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32363 (PARMS): Do not use macros from bp-asm.h.
32364 (DEST): Likewise.
32365 (SRC): Likewise.
32366 (__stpcpy): Likewise. Do not use BP_SYM.
32367 (stpcpy): Do not use BP_SYM in weak_alias.
32368 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32369 "bp-asm.h".
32370 (PARMS): Do not use macros from bp-asm.h.
32371 (DEST): Likewise.
32372 (SRC): Likewise.
32373 (LEN): Likewise.
32374 (__stpncpy): Likewise. Do not use BP_SYM.
32375 (stpncpy): Do not use BP_SYM in weak_alias.
32376 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32377 (PARMS): Do not use macros from bp-asm.h.
32378 (STR): Likewise.
32379 (CHR): Likewise.
32380 (strchr): Likewise. Do not use BP_SYM.
32381 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32382 "bp-asm.h".
32383 (PARMS): Do not use macros from bp-asm.h.
32384 (STR): Likewise.
32385 (CHR): Likewise.
32386 (__strchrnul): Likewise. Do not use BP_SYM.
32387 (strchrnul): Do not use BP_SYM in weak_alias.
32388 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32389 "bp-asm.h".
32390 (PARMS): Do not use macros from bp-asm.h.
32391 (STOP): Likewise.
32392 (strcspn): Do not use BP_SYM.
32393 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32394 "bp-asm.h".
32395 (PARMS): Do not use macros from bp-asm.h.
32396 (STR): Likewise.
32397 (STOP): Likewise.
32398 (strpbrk): Likewise. Do not use BP_SYM.
32399 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32400 "bp-asm.h".
32401 (PARMS): Do not use macros from bp-asm.h.
32402 (STR): Likewise.
32403 (CHR): Likewise.
32404 (strrchr): Likewise. Do not use BP_SYM.
32405 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32406 (PARMS): Do not use macros from bp-asm.h.
32407 (SKIP): Likewise.
32408 (strspn): Do not use BP_SYM.
32409 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32410 (PARMS): Do not use macros from bp-asm.h.
32411 (STR): Likewise.
32412 (DELIM): Likewise.
32413 (SAVE): Likewise.
32414 (FUNCTION): Likewise. Do not use BP_SYM.
32415 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32416 aliases.
32417 (strtok_r): Likewise.
32418 (__GI___strtok_r): Likewise.
32419 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32420 (PARMS): Do not use macros from bp-asm.h.
32421 (S1): Likewise.
32422 (S2): Likewise.
32423 (SIZE): Likewise.
32424 (__mpn_sub_n): Do not use BP_SYM.
32425 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32426 "bp-asm.h".
32427 (PARMS): Do not use macros from bp-asm.h.
32428 (S1): Likewise.
32429 (SIZE): Likewise.
32430 (__mpn_submul_1): Do not use BP_SYM.
32431 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32432 <bp-sym.h>.
32433 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32434 and <bp-asm.h>.
32435 (PARMS): Do not use macros from bp-asm.h.
32436 (FLAGS): Likewise.
32437 (PTID): Likewise.
32438 (TLS): Likewise.
32439 (CTID): Likewise.
32440 (__clone): Do not use BP_SYM.
32441 (clone): Do not use BP_SYM in weak_alias.
32442 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32443 and <bp-asm.h>.
32444 (PARMS): Do not use macros from bp-asm.h.
32445 (LEN): Likewise.
32446 (__mmap64): Do not use BP_SYM.
32447 (mmap64): Do not use BP_SYM in weak_alias.
32448 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32449 <bp-sym.h> and <bp-asm.h>.
32450 (PARMS): Do not use macros from bp-asm.h.
32451 (__posix_fadvise64_l64): Do not use BP_SYM.
32452 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32453 (PARMS): Do not use macros from bp-asm.h.
32454 (NSOPS): Likewise.
32455 (semtimedop): Do not use BP_SYM.
32456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32457 and <bp-asm.h>.
32458
582a3cff
AM
324592013-02-21 Allan McRae <allan@archlinux.org>
32460
32461 * manual/message.texi (Charset conversion in gettext):
32462 Move @end statement to beginning of line.
32463
bab8a695
SP
324642013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32465
80945231
SP
32466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32467 static.
32468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32469 Likewise.
32470
bab8a695
SP
32471 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32472 (denorm): Likewise.
32473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32475
e21d7aa7
AK
324762013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32477
32478 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32479 tail-call to the resolved function if pltexit isn't needed.
32480
4c7a4263
SP
324812013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32482
32483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32484 or Y being zero as being unlikely.
32485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32486 Likewise.
32487
41f49342
CD
324882013-02-20 Carlos O'Donell <carlos@redhat.com>
32489
32490 * manual/nss.texi (System Databases and Name Service Switch):
32491 Remove frobnicate @pxref.
32492
50022a93
TS
324932013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32494
32495 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32496 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32497
08cbd996
PM
324982013-02-20 Petr Machata <pmachata@redhat.com>
32499
32500 * elf/elf.h (R_ARM_TARGET1): New macro.
32501 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32502 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32503 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32504 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32505 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32506 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32507 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32508 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32509 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32510 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32511 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32512 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32513 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32514 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32515 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32516 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32517 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32518 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32519 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32520 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32521 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32522 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32523 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32524 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32525 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32526 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32527 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32528 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32529 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32530 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32531 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32532 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32533 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32534 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32535 (R_ARM_THM_GOT_BREL12): Likewise.
32536 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32537 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32538 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32539 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32540 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32541 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32542 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32543 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32544 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32545
c7b275d6
TS
325462013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32547
32548 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32549 __attribute_used__ to __attribute__ ((unused)).
32550
20cd7fb3
SP
325512013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32552
32553 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32554 powerpc mpa.c.
32555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32556 comment formatting.
32557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32558
92945b52
JM
325592013-02-19 Joseph Myers <joseph@codesourcery.com>
32560
32561 [BZ #13550]
32562 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32563 Remove macro.
32564 (ENTER): Remove both macro definitions.
32565 (LEAVE): Likewise.
32566 (CHECK_BOUNDS_LOW): Likewise.
32567 (CHECK_BOUNDS_HIGH): Likewise.
32568 (CHECK_BOUNDS_BOTH): Likewise.
32569 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32570 (RETURN_BOUNDED_POINTER): Likewise.
32571 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32572 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32573 (POP_ERRNO_LOCATION_RETURN): Likewise.
32574 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32575 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32576 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32577 macros.
32578 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32579 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32580 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32581 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32582 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32583 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32584 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32585 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32586 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32587 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32588 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32589 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32590 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32591 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32592 removed macros.
32593 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32594 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32595 macros.
32596 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32597 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32598 * sysdeps/i386/i586/memset.S (memset): Likewise.
32599 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32600 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32601 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32602 macros.
32603 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32604 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32605 Change uses of L(2) to L(out).
32606 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32607 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32608 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32609 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32610 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32611 removed macros.
32612 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32613 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32614 macros.
32615 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32616 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32617 (RETURN): Do not use macro LEAVE.
32618 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32619 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32620 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32621 * sysdeps/i386/i686/memset.S (memset): Likewise.
32622 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32623 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32624 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32625 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32626 Likewise.
32627 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32628 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32629 L(1_2) and L(1_3) into L(1).
32630 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32631 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32632 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32633 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32634 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32635 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32636 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32637 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32638 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32639 macros.
32640 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32641 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32642 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32643 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32644 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32645 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32646 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32647 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32648 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32649 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32650 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32651 * sysdeps/i386/strspn.S (strspn): Likewise.
32652 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32653 conditional code.
32654 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32655 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32656 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32657 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32658 L(1_3) into L(1_1).
32659 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32660 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32661 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32662 macros.
32663 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32664
2389741a
JJ
326652013-02-19 Jakub Jelinek <jakub@redhat.com>
32666
32667 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32668 macro.
32669
2016b3cd
SP
326702013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32671
e4f22324
SP
32672 * math/atest-exp.c (exp_mpn): Remove ROUND.
32673 * math/atest-exp2.c (exp_mpn): Likewise.
32674 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32675
2016b3cd
SP
32676 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32677 * stdlib/tst-tls-atexit-lib.c: Likewise.
32678 * stdlib/tst-tls-atexit.c: Likewise.
32679
4be9b544
MF
326802013-02-18 Mike Frysinger <vapier@gentoo.org>
32681
32682 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32683 and __attribute_alloc_size__.
32684
2f62b9ee
MF
326852013-02-18 Mike Frysinger <vapier@gentoo.org>
32686
32687 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32688 __attribute_alloc_size__.
32689 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32690 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32691
6ff444c4
MF
326922013-02-18 Mike Frysinger <vapier@gentoo.org>
32693
32694 * include/programs/xmalloc.h: New file.
32695 * catgets/gencat.c: Include it.
32696 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32697 * elf/pldd.c: Likewise.
32698 * iconv/iconv_charmap.c: Likewise.
32699 * iconv/iconvconfig.c: Likewise.
32700 * iconv/strtab.c: Likewise.
32701 * locale/programs/locale.c: Likewise.
32702 * locale/programs/localedef.h: Likewise.
32703 * locale/programs/simple-hash.c: Likewise.
32704 * nscd/nscd.h: Likewise.
32705 * nss/makedb.c: Likewise.
32706 * sysdeps/generic/ldconfig.h: Likewise.
32707
be179c8a
SP
327082013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32709
ba384f6e
SP
32710 * Versions.def: Add GLIBC_2.18.
32711 * include/link.h (struct link_map): New member l_tls_dtor_count.
32712 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32713 (__call_tls_dtors): Likewise.
32714 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32715 __cxa_thread_atexit_impl.
32716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32717 Likewise.
32718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32719 Likewise.
32720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32721 Likewise.
32722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32723 Likewise.
32724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32726 Likewise.
32727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32728 Likewise.
32729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32731 Likewise.
32732 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32733 (tests): Add test case tst-tls-atexit.
32734 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32735 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32736 (GLIBC_PRIVATE): Add __call_tls_dtors.
32737 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32738 for libstdc++.
32739 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32740 * stdlib/tst-tls-atexit.c: New test case.
32741 * stdlib/tst-tls-atexit-lib.c: New test case.
32742
ffaa74cf 32743 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32744
be179c8a
SP
32745 * elf/Versions (ld): Add _dl_find_dso_for_object.
32746 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32747 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32748 (dl_open_worker): Use _dl_find_dso_for_object.
32749 * elf/dl-sym.c (do_sym): Likewise.
32750 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32751
f78b5caa
AK
327522013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32753
32754 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32755 Syntactic changes only.
32756 (_dl_runtime_profile): Do a tail-call to the resolved function.
32757
29691210
JM
327582013-02-17 Joseph Myers <joseph@codesourcery.com>
32759
32760 [BZ #13550]
32761 * sysdeps/x86_64/bp-asm.h: Remove file.
32762 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32763 <bp-sym.h> and <bp-asm.h>.
32764 (__clone): Do not use BP_SYM.
32765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32766 <bp-sym.h> and <bp-asm.h>.
32767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32768 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32769 "bp-asm.h".
32770 (_setjmp): Do not use BP_SYM.
32771 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32772 "bp-asm.h".
32773 (setjmp): Do not use BP_SYM.
32774 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32775 libc_hidden_def.
32776 (mempcpy): Do not use BP_SYM in weak_alias.
32777 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32778 "bp-asm.h".
32779 (strchr): Do not use BP_SYM.
32780 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32781 "bp-asm.h".
32782 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32783 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32784 (_start): Do not use BP_SYM.
32785 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32786 "bp-asm.h".
32787 (strcat): Do not use BP_SYM.
32788 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32789 "bp-asm.h".
32790 (STRCMP): Do not use BP_SYM.
32791 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32792 "bp-asm.h".
32793 (STRCPY): Do not use BP_SYM.
32794 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32795 "bp-asm.h".
32796 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32797 "bp-asm.h".
32798 (FUNCTION): Do not use BP_SYM.
32799 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32800 weak_alias.
32801 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32802
f238fd19
AJ
328032013-02-17 Andreas Jaeger <aj@suse.de>
32804
32805 * time/Versions: Sort entries.
32806 * string/Versions: Likewise.
32807 * resolv/Versions: Likewise.
32808 * posix/Versions: Likewise.
32809 * iconv/Versions: Likewise.
32810 * elf/Versions: Likewise.
32811 * wcsmbs/Versions: Likewise.
32812
bd07f23c 328132013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32814
22af19f9
SP
32815 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32816 loop termination condition.
32817
4709fe76
SP
32818 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32819 variable to calculate EZ.
32820 (__sqr): Likewise.
2d0e0f29
SP
32821
32822 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32823 the lower precision input.
32824
daaa7713
JM
328252013-02-15 Joseph Myers <joseph@codesourcery.com>
32826
32827 [BZ #13550]
32828 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32829 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32830 (run-via-rtld-prefix): Do not handle %-bp tests.
32831 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32832 (all-object-suffixes): Remove .ob.
32833 (bppfx): Remove variable.
32834 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32835 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32836 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32837 [$(build-bounded) = yes] (libtype.ob): Likewise.
32838 * Makerules (elide-routines.ob): Remove variable.
32839 (do-tests-clean): Do not handle *-bp.out.
32840 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32841 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32842 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32843 (tests): Do not include $(tests-bp.out).
32844 (xtests): Do not include $(xtests-bp.out).
32845 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32846 [$(build-bounded) = yes] ($(addprefix
32847 $(objpfx),$(binaries-bounded))): Remove rule.
32848 ($(objpfx)%-bp.out): Remove rule.
32849 * config.make.in (build-bounded): Remove variable.
32850 * crypt/Makefile [$(build-bounded) = yes]
32851 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32852 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32853 append to variable.
32854 [$(build-bounded) = yes] (install-lib): Likewise.
32855 [$(build-bounded) = yes] (generated): Likewise.
32856 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32857 Remove rule.
32858 * intl/Makefile [$(build-bounded) = yes]
32859 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32860 * math/Makefile [$(build-bounded) = yes]
32861 ($(tests:%=$(objpfx)%-bp): Likewise.
32862 * misc/Makefile [$(build-bounded) = yes]
32863 ($(objpfx)tst-tsearch-bp): Likewise.
32864 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32865 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32866 Remove dependency.
32867 * string/Makefile (o-objects.ob): Remove variable.
32868 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32869 (CFLAGS-.ob): Remove variable.
32870 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32871 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32872 both definitions of variable.
32873 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32874 (ASFLAGS-.ob): Remove variable.
32875
e97ed6dd
JM
328762013-02-14 Joseph Myers <joseph@codesourcery.com>
32877
2bdd4ca6
JM
32878 [BZ #13550]
32879 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32880 Remove __BOUNDED_POINTERS__ from condition.
32881 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32882 * string/bits/string2.h [!__NO_STRING_INLINES &&
32883 !__BOUNDED_POINTERS__]: Likewise.
32884 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32885 Likewise.
32886 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32887 Remove conditional code.
32888 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32889 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32890 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32891 condition.
32892
e97ed6dd
JM
32893 [BZ #13550]
32894 * csu/libc-start.c: Do not include <bp-sym.h>.
32895 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32896 * elf/dl-open.c: Do not include <bp-sym.h>.
32897 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32898 * math/fegetenv.c: Do not include <bp-sym.h>.
32899 (fegetenv): Do not use BP_SYM in versioned symbols.
32900 * nptl/sysdeps/pthread/bits/libc-lockP.h
32901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32902 <bp-sym.h>.
32903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32904 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32906 (__pthread_mutex_destroy): Likewise.
32907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32908 (__pthread_mutex_lock): Likewise.
32909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32910 (__pthread_mutex_trylock): Likewise.
32911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32912 (__pthread_mutex_unlock): Likewise.
32913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32914 (__pthread_mutexattr_init): Likewise.
32915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32916 (__pthread_mutexattr_destroy): Likewise.
32917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32918 (__pthread_mutexattr_settype): Likewise.
32919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32920 (__pthread_rwlock_init): Likewise.
32921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32922 (__pthread_rwlock_destroy): Likewise.
32923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32924 (__pthread_rwlock_rdlock): Likewise.
32925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32926 (__pthread_rwlock_tryrdlock): Likewise.
32927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32928 (__pthread_rwlock_wrlock): Likewise.
32929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32930 (__pthread_rwlock_trywrlock): Likewise.
32931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32932 (__pthread_rwlock_unlock): Likewise.
32933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32934 (__pthread_key_create): Likewise.
32935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32936 (__pthread_setspecific): Likewise.
32937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32938 (__pthread_getspecific): Likewise.
32939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32940 Likewise.
32941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32942 (_pthread_cleanup_push_defer): Likewise.
32943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32944 (_pthread_cleanup_pop_restore): Likewise.
32945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32946 (pthread_setcancelstate): Likewise.
32947 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32948 <bp-sym.h>.
32949 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32950 (memchr): Do not use BP_SYM in weak_alias.
32951 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32952 (fegetenv): Do not use BP_SYM in versioned symbols.
32953 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32954 (fesetenv): Do not use BP_SYM in versioned symbols.
32955 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32956 (feupdateenv): Do not use BP_SYM in versioned symbols.
32957 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32958 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32959 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32960 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32961 (open64): Do not use BP_SYM in weak_alias.
32962 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32963 (fegetenv): Do not use BP_SYM in versioned symbols.
32964 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32965 (fesetenv): Do not use BP_SYM in versioned symbols.
32966 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32967 (feupdateenv): Do not use BP_SYM in versioned symbols.
32968 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32969 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32970 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32971 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32972 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32973 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32975 <bp-sym.h>.
32976 (__libc_start_main): Do not use BP_SYM.
32977
d6752ccd
SP
329782013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32979
cb57ce60
SP
32980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32981 redundant return line.
32982 (norm): Likewise.
32983 (denorm): Likewise.
32984 (dbl_mp): Likewise.
32985 (sub_magnitudes): Likewise.
32986 (__add): Likewise.
32987 (__sub): Likewise.
32988 (__mul): Likewise.
32989 (__inv): Likewise.
32990 (__dvd): Likewise.
32991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32992 (norm): Likewise.
32993 (denorm): Likewise.
32994 (dbl_mp): Likewise.
32995 (sub_magnitudes): Likewise.
32996 (__add): Likewise.
32997 (__sub): Likewise.
32998 (__mul): Likewise.
32999 (__inv): Likewise.
33000 (__dvd): Likewise.
33001
f414520d
SP
33002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33003 instead of __mul.
33004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33005 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33006 (cc32): Likewise.
33007
d6752ccd
SP
33008 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33009 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33011 of __mul for squares.
33012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33013 function
33014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33015 Likewise.
33016 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33018
70d9946a
JM
330192013-02-13 Joseph Myers <joseph@codesourcery.com>
33020
33021 [BZ #13550]
33022 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33023 code.
33024 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33025 prototype or function definition. Rename ubp_* variables and
33026 parameters. Remove argv definitions conditional on
33027 [__BOUNDED_POINTERS__].
33028 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33029 * elf/dl-runtime.c (_dl_fixup): Likewise.
33030 * include/set-hooks.h (RUN_HOOK): Likewise.
33031 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33032 definition.
33033 * string/strcpy.c (strcpy): Do not use __unbounded.
33034 * sysdeps/generic/frame.h (struct layout): Likewise.
33035 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33036 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33037 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33038 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33039 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33040 (__backtrace): Likewise.
33041 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33042 use __ptrvalue.
33043 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33044 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33045 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33046 Likewise.
33047 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33048 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33049 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33050 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33051 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33052 Do not use __unbounded.
33053 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33054 Rename __unboundedrlimits parameter to rlimits in prototype.
33055 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33056 Do not use __unbounded.
33057 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33058 not use __ptrvalue.
33059 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33060 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33061 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33062 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33063 __ptrvalue or __unbounded.
33064 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33065 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33066 use __unbounded.
33067 (__new_msgctl): Do not use __ptrvalue.
33068 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33069 __unbounded.
33070 (__libc_msgrcv): Do not use __ptrvalue.
33071 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33072 startup_info): Do not use __unbounded.
33073 (__libc_start_main): Likewise. Rename ubp_* variables and
33074 parameters. Remove argv definitions conditional on
33075 [__BOUNDED_POINTERS__].
33076 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33077 __ptrvalue.
33078 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33079 use __unbounded.
33080 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33081 or __ptrvalue.
33082 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33083 use __unbounded.
33084 (__new_shmctl): Do not use __ptrvalue.
33085 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33086 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33087 Likewise.
33088 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33089 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33090 (__libc_sigaction): Likewise.
33091 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33093 Likewise.
33094 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33095
cc7834d6
OB
330962013-02-13 Ondřej Bílka <neleai@seznam.cz>
33097
ffb1ec7b 33098 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
33099
33100 * string/mempcpy.c: Implement by calling memcpy.
33101
bdf02814
SP
331022013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33103
c2af38aa
SP
33104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33105
4e92d59e
SP
33106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33107 evaluation.
33108
909279a5
SP
33109 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33110 values in the mantissa.
33111
bdf02814
SP
33112 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33113 minimize writes to Z.
33114 (sub_magnitudes): Simplify code a bit.
33115
cd525923
RM
331162013-02-12 Roland McGrath <roland@hack.frob.com>
33117
33118 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33119 from the message. The linker prefixes all warnings with that already.
33120
7e2f0d2d
AS
331212013-02-12 Andreas Schwab <schwab@suse.de>
33122
a445af0b
AS
33123 [BZ #15078]
33124 * posix/regexec.c (extend_buffers): Add parameter min_len.
33125 (check_matching): Pass minimum needed length.
33126 (clean_state_log_if_needed): Likewise.
33127 (get_subexp): Likewise.
33128 * posix/Makefile (tests): Add bug-regex34.
33129 (bug-regex34-ENV): Define.
33130 * posix/bug-regex34.c: New file.
33131
7e2f0d2d
AS
33132 [BZ #11561]
33133 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33134 elements compare against the byte sequence of it, not its name.
33135 * posix/Makefile (tests): Add bug-regex35.
33136 (bug-regex35-ENV): Define.
33137 * posix/bug-regex35.c: New file.
33138
a175b684
TV
331392013-02-11 Tom de Vries <tom@codesourcery.com>
33140
33141 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33142 comment.
33143 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33144 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33145 (CHECK_EOL): Add undef.
33146
310998fe 331472013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
33148
33149 * bits/stdlib-bsearch.h: New file.
33150 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 33151 * stdlib/stdlib.h: Likewise.
41eda41d 33152
8ded91fb
RM
331532013-02-11 Roland McGrath <roland@hack.frob.com>
33154
33155 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33156 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33157 declaration.
33158 * manual/search.texi (Array Search Function): Add missing const in
33159 lfind prototype.
33160 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33161 declaration to use rlim_t.
33162 (Basic Scheduling Functions): Remove erroneous const from
33163 sched_getparam prototype. Remove erroneous * from
33164 sched_get_priority_max and sched_get_priority_min prototypes.
33165 (Resource Usage): Fix summary @comment on vtimes to refer to
33166 sys/vtimes.h rather than vtimes.h.
33167 Add missing *s in vtimes prototype.
33168 (Limits on Resources): Fix ulimit prototype to return long int.
33169 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33170 prototypes to use long int rather than double.
33171 (BSD Random): Fix initstate and setstate to use char *, not void *.
33172 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33173 prototype to make second argument 'struct aiocb64 *const[]'.
33174 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33175 (Status of AIO Operations): Remove erroneous const in aio_return and
33176 aio_return64 prototypes.
33177 (Synchronizing I/O): Fix sync prototype to return void.
33178 * manual/startup.texi (Suboptions): Remove an erroneous const in
33179 getsubopt prototype.
33180 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33181 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33182 use size_t rather than int.
33183 (Scanning All Users): Likewise for getpwent_r.
33184 (Setting Groups): Add missing const to setgroups prototype.
33185 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33186 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33187 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33188 'const void *' rather than 'const char *'.
33189 (Host Address Functions): Likewise for inet_ntop.
33190 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33191 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33192 ssize_t for return value.
33193 (Sending Data): Likewise for send, sendto, sendmsg.
33194 (Socket Option Functions): Add a missing const in setsockopt prototype.
33195 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33196 use wchar_t for the argument.
33197 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33198 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33199 take no arguments.
33200 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33201 double/float/long double for second argument.
33202 Fix return types of significand, significandf, significandl.
33203 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33204 argument in fchmod prototype.
33205 (File Owner): Use uid_t and gid_t in fchown prototype.
33206 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33207 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33208 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33209 use 'const struct dirent **' as argument types to CMP function pointer
33210 argument.
33211 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33212 (File Times): Fix summary magic @comment for struct utimbuf and utime
33213 to refer to utime.h, not time.h.
33214 * manual/string.texi (Argz Functions): Add missing const in
33215 argz_extract and argz_next prototypes.
33216 (Finding Tokens in a String): Likewise for basename.
33217 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33218 (Copying and Concatenation): Fix typo in wmemmove prototype.
33219 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33220 (Signal Stack): Remove erroneous const in sigstack prototype.
33221 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33222 prototype.
33223 (Simple Calendar Time): Likewise for stime.
33224 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33225 prototype.
33226 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33227 say sys/sysctl.h instead.
33228 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33229 and vsyslog prototypes.
33230
fe77fe6d
TV
332312013-02-11 Tom de Vries <tom@codesourcery.com>
33232
33233 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33234 Remove.
33235
3a09b620
RM
332362013-02-11 Roland McGrath <roland@hack.frob.com>
33237
33238 * misc/sys/mman.h: Fix typo in mremap comment.
33239
550a0b89
RM
332402013-02-08 Roland McGrath <roland@hack.frob.com>
33241
33242 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33243 the '\0' terminator.
33244
a2da1673
JM
332452013-02-08 Joseph Myers <joseph@codesourcery.com>
33246
33247 [BZ #13550]
33248 * debug/segfault.c: Don't include <bp-checks.h>.
33249 * sysdeps/generic/bp-checks.h: Remove file.
33250 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33251 (__GETDENTS): Don't use CHECK_N.
33252 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33253 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33254 (__getgroups): Don't use CHECK_N.
33255 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33256 (setgroups): Don't use CHECK_N.
33257 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33258 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33259 (__libc_msgrcv): Don't use CHECK_N.
33260 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33261 (__libc_msgsnd): Don't use CHECK_N.
33262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33263 <bp-checks.h>.
33264 (__libc_pread): Don't use CHECK_N.
33265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33266 include <bp-checks.h>.
33267 (__libc_pread64): Don't use CHECK_N.
33268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33269 include <bp-checks.h>.
33270 (__libc_pwrite): Don't use CHECK_N.
33271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33272 include <bp-checks.h>.
33273 (__libc_pwrite64): Don't use CHECK_N.
33274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33275 <bp-checks.h>.
33276 (__libc_pread): Don't use CHECK_N.
33277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33278 include <bp-checks.h>.
33279 (__libc_pread64): Don't use CHECK_N.
33280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33281 include <bp-checks.h>.
33282 (__libc_pwrite): Don't use CHECK_N.
33283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33284 include <bp-checks.h>.
33285 (__libc_pwrite64): Don't use CHECK_N.
33286 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33287 (do_pread): Don't use CHECK_N.
33288 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33289 (do_pread64): Don't use CHECK_N.
33290 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33291 (do_pwrite): Don't use CHECK_N.
33292 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33293 (do_pwrite64): Don't use CHECK_N.
33294 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33295 (__libc_readv): Don't use CHECK_N.
33296 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33297 (semop): Don't use CHECK_N.
33298 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33299 <bp-checks.h>.
33300 (semtimedop): Don't use CHECK_N.
33301 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33302 (__libc_pread): Don't use CHECK_N.
33303 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33304 <bp-checks.h>.
33305 (__libc_pread64): Don't use CHECK_N.
33306 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33307 <bp-checks.h>.
33308 (__libc_pwrite): Don't use CHECK_N.
33309 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33310 <bp-checks.h>.
33311 (__libc_pwrite64): Don't use CHECK_N.
33312 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33313 <bp-checks.h>.
33314 (__libc_msgrcv): Don't use CHECK_N.
33315 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33316 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33317 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33318 (__libc_writev): Don't use CHECK_N.
33319
b84660a8
RM
333202013-02-08 Roland McGrath <roland@hack.frob.com>
33321
7f3e75f8
RM
33322 * string/strcpy.c: Removed unused variable.
33323
b84660a8
RM
33324 * Makeconfig (+sysdep-includes): Define with := rather than =.
33325 Use an existing include/ subdir of each sysdeps dir before it.
33326
471514d3
CD
333272013-02-08 Carlos O'Donell <carlos@redhat.com>
33328
33329 * nscd/connection.c (register_traced_file): Comment function.
33330 [HAVE_INOTIFY] (union __inev): Define.
33331 [HAVE_INOTIFY] (inotify_check_files): New function.
33332 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33333 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33334 clear_db_cache.
33335 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33336
b2d3c3be
CD
333372013-02-08 Carlos O'Donell <carlos@redhat.com>
33338
33339 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33340 loaded if not already and that a failure is permanent.
33341
b39949d2
CD
333422013-02-08 Carlos O'Donell <carlos@redhat.com>
33343
ddacd1db 33344 [BZ #15006]
b39949d2
CD
33345 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33346 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33347
b2c9eff4
JM
333482013-02-08 Joseph Myers <joseph@codesourcery.com>
33349
f3aae3f3
JM
33350 [BZ #13550]
33351 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33352 (CHECK_1_NULL_OK): Likewise.
33353 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33354 (__fxstat): Do not use CHECK_1.
33355 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33356 <bp-checks.h>.
33357 (___fxstat64): Do not use CHECK_1.
33358 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33359 <bp-checks.h>.
33360 (__fxstatat): Do not use CHECK_1.
33361 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33362 <bp-checks.h>.
33363 (__fxstatat64): Do not use CHECK_1.
33364 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33365 <bp-checks.h>.
33366 (__fxstat): Do not use CHECK_1.
33367 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33368 <bp-checks.h>.
33369 (__fxstatat): Do not use CHECK_1.
33370 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33371 <bp-checks.h>.
33372 (__getresgid): Do not use CHECK_1.
33373 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33374 <bp-checks.h>.
33375 (__getresuid): Do not use CHECK_1.
33376 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33377 <bp-checks.h>.
33378 (__lxstat): Do not use CHECK_1.
33379 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33380 <bp-checks.h>.
33381 (__old_msgctl): Do not use CHECK_1.
33382 (__new_msgctl): Likewise.
33383 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33384 <bp-checks.h>.
33385 (__new_setrlimit): Do not use CHECK_1.
33386 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33387 <bp-checks.h>.
33388 (__old_shmctl): Do not use CHECK_1.
33389 (__new_shmctl): Likewise.
33390 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33391 <bp-checks.h>.
33392 (__xstat): Do not use CHECK_1.
33393 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33394 (__lxstat): Do not use CHECK_1.
33395 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33396 <bp-checks.h>.
33397 (___lxstat64): Do not use CHECK_1.
33398 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33399 (__old_msgctl): Do not use CHECK_1.
33400 (__new_msgctl): Likewise.
33401 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33402 <bp-checks.h>.
33403 (__gettimeofday): Do not use CHECK_1.
33404 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33405 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33406 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33407 <bp-checks.h>.
33408 (__gettimeofday): Do not use CHECK_1.
33409 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33410 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33411 (__new_shmctl): Do not use CHECK_1.
33412 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33413 <bp-checks.h>.
33414 (do_sigtimedwait): Do not use CHECK_1.
33415 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33416 <bp-checks.h>.
33417 (do_sigwaitinfo): Do not use CHECK_1.
33418 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33419 <bp-checks.h>.
33420 (msgctl): Do not use CHECK_1.
33421 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33422 <bp-checks.h>.
33423 (shmctl): Do not use CHECK_1.
33424 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33425 (ustat): Do not use CHECK_1.
33426 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33427 <bp-checks.h>.
33428 (__fxstat): Do not use CHECK_1.
33429 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33430 <bp-checks.h>.
33431 (__fxstatat): Do not use CHECK_1.
33432 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33433 <bp-checks.h>.
33434 (__lxstat): Do not use CHECK_1.
33435 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33436 <bp-checks.h>.
33437 (__xstat): Do not use CHECK_1.
33438 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33439 (__xstat): Do not use CHECK_1.
33440 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33441 (___xstat64): Do not use CHECK_1.
33442
b2c9eff4
JM
33443 [BZ #13550]
33444 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33445 definitions.
33446 (CHECK_BOUNDS_HIGH): Likewise.
33447 * string/strcpy.c: Do not include <bp-checks.h>.
33448 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33449
f1d70dad
RM
334502013-02-07 Roland McGrath <roland@hack.frob.com>
33451
33452 * nscd/nscd-client.h (__nscd_drop_map_ref):
33453 Add __attribute__ ((unused)).
33454 * nis/nss-nisplus.h (niserr2nss): Likewise.
33455
33456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33457 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33458
33459 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33460 Remove inline keyword.
33461 * include/rounding-mode.h (round_away): Likewise.
33462 * libio/wfileops.c (adjust_wide_data): Likewise.
33463 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33464 (__m128i_strloadu_tolower): Likewise.
33465 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33466 (__m128i_strloadu_tolower): Likewise.
33467 * time/mktime.c (ydhms_diff): Likewise.
33468 * locale/elem-hash.h (elem_hash): Likewise.
33469 * locale/setlocale.c (setdata): Likewise.
33470 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33471 (re_string_wchar_at): Likewise.
33472 (bitset_not, bitset_merge, bitset_mask): Likewise.
33473 [!(__GNUC__ > 3)] (inline): Remove macro.
33474 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33475 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33476 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33477 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33478 * string/memcmp.c (memcmp_bytes): Likewise.
33479 * locale/programs/locarchive.c (compute_hashval): Likewise.
33480 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33481 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33482 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33483 * nss/getent.c (print_rpc, print_protocols): Likewise.
33484 (print_passwd, print_group, print_aliases): Likewise.
33485 * nis/nss-nisplus.h (niserr2nss): Likewise.
33486 * nscd/connections.c (restart_p): Likewise.
33487 Change return type to bool.
33488
eab55bfb
RM
334892013-02-05 Roland McGrath <roland@hack.frob.com>
33490
7bd642f5
RM
33491 * Makeconfig (all-Depend-files): Add existing
33492 $(sorted-subdirs:=/Depend) files.
33493 (all-subdirs): Remove nss.
33494 * sysdeps/unix/inet/Subdirs: Add it here instead.
33495 * hesiod/Depend: New file.
33496
573c29b2
RM
33497 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33498 instead of calling alloca.
33499
b2e25af0
RM
33500 * io/lseek.c (__lseek): Rename to __libc_lseek.
33501 Define __lseek as an alias.
33502
eab55bfb
RM
33503 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33504
9a0d1941
CD
335052013-02-04 Carlos O'Donell <carlos@redhat.com>
33506
33507 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33508 else clause and remove check for non-standard endianness.
33509
b83bbec4
DM
335102013-02-04 David S. Miller <davem@davemloft.net>
33511
33512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33513
6277fdab
JM
335142013-02-04 Joseph Myers <joseph@codesourcery.com>
33515
33516 [BZ #13550]
33517 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33518 (__ubp_memchr): Remove prototype.
33519 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33520 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33521 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33522 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33523 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33524 Remove alias.
33525 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33526 (__ubp_memchr): Likewise.
33527 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33528 (__ubp_memchr): Likewise.
33529 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33530 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33531 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33532 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33533 CHECK_STRING.
33534 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33535 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33536 (__getcwd): Do not use CHECK_STRING.
33537 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33538 <bp-checks.h>.
33539 (__real_chown): Do not use CHECK_STRING.
33540 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33541 <bp-checks.h>.
33542 (fchownat): Do not use CHECK_STRING.
33543 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33544 CHECK_STRING.
33545 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33546 <bp-checks.h>.
33547 (__lchown): Do not use CHECK_STRING.
33548 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33549 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33550 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33551 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33553 include <bp-checks.h>.
33554 (truncate64): Do not use CHECK_STRING.
33555 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33556 <bp-checks.h>.
33557 (__real_chown): Do not use CHECK_STRING.
33558 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33559 <bp-checks.h>.
33560 (__lchown): Do not use CHECK_STRING.
33561 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33562 <bp-checks.h>.
33563 (__chown): Do not use CHECK_STRING.
33564 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33565 <bp-checks.h>.
33566 (truncate64): Do not use CHECK_STRING.
33567 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33568 Likewise.
33569 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33570 (__xmknod): Do not use CHECK_STRING.
33571 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33572 <bp-checks.h>.
33573 (__xmknodat): Do not use CHECK_STRING.
33574 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33575 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33576
903ae060
AS
335772013-02-04 Andreas Schwab <schwab@suse.de>
33578
33579 [BZ #14142]
33580 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33581 * include/netdb.h: Likewise for h_errno.
33582 * elf/tst-stackguard1.c: Include <tls.h>.
33583
542f9466
JK
335842013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33585
33586 * elf/link.h (struct link_map): Extend the l_addr comment.
33587 * include/link.h (struct link_map): Likewise.
33588
e782a927
JM
335892013-02-01 Joseph Myers <joseph@codesourcery.com>
33590
33591 [BZ #13550]
33592 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33593 (BOUNDED_1): Remove macro.
33594 * debug/backtrace.c: Don't include <bp-checks.h>.
33595 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33596 (__backtrace): Likewise.
33597 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33598 <bp-checks.h>.
33599 (__backtrace): Don't use BOUNDED_1.
33600 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33601 <bp-checks.h>.
33602 (__backtrace): Don't use BOUNDED_1.
33603 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33604 (__backtrace): Don't use BOUNDED_1.
33605 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33606 (shmat): Don't use BOUNDED_N.
33607
8cf28c5e
JM
336082013-01-31 Joseph Myers <joseph@codesourcery.com>
33609
3a7ac8a0
JM
33610 [BZ #13550]
33611 * sysdeps/generic/bp-start.h: Remove file.
33612 * csu/libc-start.c: Don't include <bp-start.h>.
33613 (LIBC_START_MAIN): Set up __environ directly instead of using
33614 INIT_ARGV_and_ENVIRON.
33615 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33616 <bp-start.h>.
33617
f3499f95
JM
33618 [BZ #13550]
33619 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33620 definitions.
33621 (CHECK_FCNTL): Likewise.
33622 (CHECK_N_PAGES): Likewise.
33623
32a45bea
JM
33624 [BZ #13550]
33625 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33626 definitions.
33627 (CHECK_SIGSET_NULL_OK): Likewise.
33628 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33629 <bp-checks.h>.
33630 (sigpending): Don't use CHECK_SIGSET.
33631 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33632 <bp-checks.h>.
33633 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33634 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33635 <bp-checks.h>.
33636 (do_sigsuspend): Don't use CHECK_SIGSET.
33637 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33638 use CHECK_SIGSET.
33639 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33640 (do_sigwait): Don't use CHECK_SIGSET.
33641 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33642 use CHECK_SIGSET.
33643 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33644 include <bp-checks.h>.
33645 (sigpending): Don't use CHECK_SIGSET.
33646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33647 include <bp-checks.h>.
33648 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33649 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33650 <bp-checks.h>.
33651 (sigpending): Don't use CHECK_SIGSET.
33652 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33653 <bp-checks.h>.
33654 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33655
2e8a5c8c
JM
33656 [BZ #13550]
33657 * sysdeps/generic/bp-semctl.h: Remove file.
33658 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33659 <bp-checks.h> and <bp-semctl.h>.
33660 (__old_semctl): Don't use CHECK_SEMCTL.
33661 (__new_semctl): Likewise.
33662 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33663 and <bp-semctl.h>.
33664 (__old_semctl): Don't use CHECK_SEMCTL.
33665 (__new_semctl): Likewise.
33666 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33667 <bp-checks.h> and <bp-semctl.h>.
33668 (__old_semctl): Don't use CHECK_SEMCTL.
33669 (__new_semctl): Likewise.
33670 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33671 <bp-checks.h> and <bp-semctl.h>.
33672 (semctl): Don't use CHECK_SEMCTL.
33673
c2d54929
JM
33674 [BZ #13550]
33675 * Makerules (elide-bp-thunks): Remove variable.
33676 (elide-routines.oS): Don't use $(elide-bp-thunks).
33677 (elide-routines.os): Likewise.
33678 (elide-routines.o): Likewise.
33679 (elide-routines.op): Likewise.
33680 (elide-routines.og): Likewise.
33681 (objects): Don't use $(bp-thunks).
33682 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33683 include.
33684 (common-generated): Do not add s-proto-bp.d.
33685 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33686 (int): Likewise.
33687 (typ): Likewise.
33688 Do not generate makefile rules for bounded-pointer thunks.
33689 * sysdeps/generic/bp-thunks.h: Remove file.
33690 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33691 * sysdeps/unix/s-proto-bp.S: Likewise.
33692
8cf28c5e
JM
33693 [BZ #15062]
33694 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33695 parts of result separately when argument is not close to line from
33696 -i to i and one part of argument is small.
33697 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33698 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33699 * math/libm-test.inc (cacos_test): Add more tests.
33700 (casin_test): Likewise.
33701 (casinh_test): Likewise.
33702 * sysdeps/i386/fpu/libm-test-ulps: Update.
33703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33704
c4e33b8d
DM
337052013-01-31 David S. Miller <davem@davemloft.net>
33706
33707 * po/de.po: Update from translation team.
33708
3b60b421
MK
337092013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33710
33711 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33712
bb931195
TS
337132013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33714
b5a5da23
TS
33715 * configure.in (_AC_PROG_CC_C89): New definition.
33716 * configure: Regenerate.
33717
bb931195
TS
33718 * configure.in (AC_PROG_CPP): New definition.
33719 * configure: Regenerate.
33720
8c53a12c
JM
337212013-01-23 Joseph Myers <joseph@codesourcery.com>
33722
33723 * debug/tst-backtrace.h: New file.
33724 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33725 (ret): Remove variable.
33726 (x): Likewise.
33727 (FAIL): Remove macro.
33728 (NO_INLINE): Likewise.
33729 (fn1): Use match function instead of strstr.
33730 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33731 (ret): Remove variable.
33732 (x): Likewise.
33733 (FAIL): Remove macro.
33734 (NO_INLINE): Likewise.
33735 (fn): Use match function instead of strstr.
33736 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33737 (ret): Remove variable.
33738 (x): Likewise.
33739 (FAIL): Remove macro.
33740 (NO_INLINE): Likewise.
33741 (handle_signal): Use match function instead of strstr.
33742 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33743 (ret): Remove variable.
33744 (x): Likewise.
33745 (FAIL): Remove macro.
33746 (NO_INLINE): Likewise.
33747 (handle_signal): Use match function instead of strstr.
33748
4858fa2a
RM
337492013-01-23 Roland McGrath <roland@hack.frob.com>
33750
33751 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33752
bae8e7f5
DM
337532013-01-23 David S. Miller <davem@davemloft.net>
33754
33755 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33756 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33757 argument of CAS if possible.
33758 * sysdeps/sparc/sparc64/bits/atomic.h
33759 (__arch_compare_and_exchange_val_32_acq): Likewise.
33760 (__arch_compare_and_exchange_val_64_acq): Likewise.
33761
9cbbc4ae
PT
337622013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33763
33764 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33765 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33766 Include <limits.h>.
67b3f58c 33767 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33768
5655a0b5
AC
337692013-01-23 Adam Conrad <adconrad@0c3.net>
33770
33771 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33772 (LDFLAGS-tst-array5): Likewise.
33773
052aff95
JM
337742013-01-23 Joseph Myers <joseph@codesourcery.com>
33775
33776 [BZ #15036]
33777 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33778 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33779 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33780 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33781
7c1e01aa
DM
337822013-01-21 David S. Miller <davem@davemloft.net>
33783
33784 * sysdeps/sparc/backtrace.c: New file.
33785 * sysdeps/sparc/sparc32/backtrace.h: New file.
33786 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33787 * sysdeps/sparc/sparc64/backtrace.h: New file.
33788 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33789 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33790 -funwind-tables.
33791
ab087e0a
AS
337922013-01-21 Andreas Schwab <schwab@suse.de>
33793
33794 [BZ #15020]
33795 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33796 closed its stdout.
33797
ed689c2f
AS
337982013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33799
33800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33801 "mpa2.h".
33802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33803
31d470ac
JM
338042013-01-18 Joseph Myers <joseph@codesourcery.com>
33805 Mark Mitchell <mark@codesourcery.com>
33806 Tom de Vries <tom@codesourcery.com>
33807 Paul Pluzhnikov <ppluzhnikov@google.com>
33808
33809 * debug/tst-backtrace2.c: New file.
33810 * debug/tst-backtrace3.c: Likewise.
33811 * debug/tst-backtrace4.c: Likewise.
33812 * debug/tst-backtrace5.c: Likewise.
33813 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33814 (CFLAGS-tst-backtrace3.c): Likewise.
33815 (CFLAGS-tst-backtrace4.c): Likewise.
33816 (CFLAGS-tst-backtrace5.c): Likewise.
33817 (LDFLAGS-tst-backtrace2): Likewise.
33818 (LDFLAGS-tst-backtrace3): Likewise.
33819 (LDFLAGS-tst-backtrace4): Likewise.
33820 (LDFLAGS-tst-backtrace5): Likewise.
33821 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33822 tst-backtrace4 and tst-backtrace5.
33823
90567f30 338242013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33825 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33826
33827 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33828 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33829 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33830 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33832 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33833 "+r" and remove output regs list as redundant. Add explicit inline
33834 asm to specify register of return val to work around compiler codegen
33835 bug. Remove (int) cast on return value. Add return type parameter to
33836 use in macro so that this macro does not truncate return value for
33837 64-bit values.
33838 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33839 pass to INTERNAL_VSYSCALL_NCS.
33840 (INLINE_VSYSCALL): Add 'long int' as return type to
33841 INTERNAL_VSYSCALL_NCS macro invocation.
33842 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33843 INTERNAL_VSYSCALL_NCS macro invocation.
33844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33845
d3b9ea61
SP
338462013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33847
0b57daeb
SP
33848 [BZ #14496]
33849 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33850 Fix application of SIMD FP exception mask.
33851
caa99d06
SP
33852 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33853 mp_no from a power of two.
33854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33855 __mpexp_twomm1. Use __pow_mp.
33856
d3b9ea61
SP
33857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33858 multiplication.
33859
1dbaee3c
DM
338602013-01-17 David S. Miller <davem@davemloft.net>
33861
33862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33863
728d7b43
JM
338642013-01-17 Joseph Myers <joseph@codesourcery.com>
33865
33866 [BZ #15023]
33867 * include/complex.h: Condition contents on [!_COMPLEX_H].
33868 (__kernel_casinhf): New prototype.
33869 (__kernel_casinh): Likewise.
33870 (__kernel_casinhl): Likewise.
33871 * math/Makefile (libm_calls): Add k_casinh.
33872 * math/k_casinh.c: New file.
33873 * math/k_casinhf.c: Likewise.
33874 * math/k_casinhl.c: Likewise.
33875 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33876 finite nonzero arguments.
33877 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33878 finite nonzero arguments.
33879 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33880 finite nonzero arguments.
33881 * math/s_casinh.c: Do not include <float.h>.
33882 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33883 * math/s_casinhf.c: Do not include <float.h>.
33884 (__casinhf): Move code for finite nonzero arguments to
33885 k_casinhf.c.
33886 * math/s_casinhl.c: Do not include <float.h>.
33887 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33888 redefine.
33889 (__casinhl): Move code for finite nonzero arguments to
33890 k_casinhl.c.
33891 * math/libm-test.inc (cacos_test): Add more tests.
33892 * sysdeps/i386/fpu/libm-test-ulps: Update.
33893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33894
2a26ef3a
PT
338952013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33896
33897 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33898 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33899 [!HAVE_MREMAP]: Remove [defined linux] case.
33900 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33901
a897655d
SP
339022013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33903
33904 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33905
881ebe89 339062013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33907
33908 * elf/elf.h (R_386_SIZE32): New relocation.
33909 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33910 R_386_SIZE32.
33911 (elf_machine_rela): Likewise.
33912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33913 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33914
59981e9b
JM
339152013-01-17 Joseph Myers <joseph@codesourcery.com>
33916
33917 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33918 (FP_FAST_FMA): Do not define.
33919 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33920 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33921 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33922 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33923 !_SOFT_FLOAT]: Likewise.
33924 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33925 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33926 value.
33927 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33928 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33929 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33930 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33931 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33932 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33933 file.
33934
cfa8054f
AS
339352013-01-16 Andreas Schwab <schwab@suse.de>
33936
33937 [BZ #14327]
33938 * include/stdlib.h (__mktemp): Add declaration.
33939 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33940 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33941
dd930cc5
SP
339422013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33943
881ebe89
SP
33944 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33945 definitions.
33946 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33947 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33948 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33949 definitions here.
33950 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33951 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33952 definitions.
33953 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33954 and ONE.
33955 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33956 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33958 definitions.
33959 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33960 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33961 definitions.
33962 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33963
dd930cc5
SP
33964 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33965
c19a9f89
DM
339662013-01-15 David S. Miller <davem@davemloft.net>
33967
1aa61767
DM
33968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33969 trunc{,f} to libm-sysdep_routes.
33970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33972 file.
33973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33975 file.
33976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33977 file.
33978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33980 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33981 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33982 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33983 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33984 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33985 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33986
c42d5e98
DM
33987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33988 nearbyint{,f} to libm-sysdep_routes.
33989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33991 New file.
33992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33993 file.
33994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33995 New file.
33996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33997 file.
33998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34001 file.
34002 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34004 file.
34005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34006 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34007 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34008
c19a9f89
DM
34009 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34010 libc_feholdexcept and libc_fesetenv.
34011
357679d2
MF
340122013-01-15 Mike Frysinger <vapier@gentoo.org>
34013
34014 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34015
65a82e3d
DM
340162013-01-14 David S. Miller <davem@davemloft.net>
34017
8b954ab9
DM
34018 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34019 (SPARC_ASM_VIS2_IFUNC): Likewise.
34020 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34022 use of 'siam' instruction.
34023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34024 Likewise.
34025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34026 Likewise.
34027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34028 Likewise.
34029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34034 file.
34035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34036 file.
34037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34038 file.
34039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34040 file.
34041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34046 new VIS2 routines.
34047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34050 Likewise.
34051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34056 routines to libm-sysdep_routines.
34057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34058
65a82e3d
DM
34059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34060 fdim/fdimf to libm-sysdep_routines.
34061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34062 file.
34063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34065 file.
34066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34069 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34070 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34071 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34072 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34073
e34ab705
SP
340742013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34075
2a91b573
SP
34076 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34077 to optimize copies.
34078
1066a534
SP
34079 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34082
e34ab705
SP
34083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34084 local variable MPTWO.
34085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34086 Likewise.
34087
aba5e596
MF
340882013-01-13 Mike Frysinger <vapier@gentoo.org>
34089
34090 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34091 GLOB_NOESCAPE.
34092
e557e9e5
MF
340932013-01-13 Mike Frysinger <vapier@gentoo.org>
34094
34095 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34096
0428cec9
MF
340972013-01-13 Mike Frysinger <vapier@gentoo.org>
34098
34099 * manual/pattern.texi (glob_t): Document gl_flags.
34100 (glob64_t): Likewise.
34101
8794a964
DM
341022013-01-11 David S. Miller <davem@davemloft.net>
34103
66438c3f
RM
34104 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34105 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34106 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
34107 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34108 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34109 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34110 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34111 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34112 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34113 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34114 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34115 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34116 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34117
4ae4244d
DM
34118 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34119 sparc V9 rather than using V8 code.
34120 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34121 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34122
8794a964
DM
34123 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34124 Move to...
34125 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34126 Here.
34127
6270516e
RM
341282013-01-11 Roland McGrath <roland@hack.frob.com>
34129
34130 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34131 not in the main loop.
34132 * configure: Regenerated.
34133
6a57d931
JM
341342013-01-11 Joseph Myers <joseph@codesourcery.com>
34135
34136 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34137 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34138 to just #else.
34139 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34140 [!__GLIBC_HAVE_LONG_LONG] case.
34141 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34142 condition to just #else.
34143 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34144 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34145 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34146 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34147 unconditional.
34148 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34149 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34150 #elif condition to just #else.
34151 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34152 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34153 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34154 #elif condition to just #else.
34155
0e8529e9
SE
341562013-01-11 Steve Ellcey <sellcey@mips.com>
34157
34158 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34159 (EF_MIPS_ARCH_64): Fix value.
34160 (EF_MIPS_ARCH_32R2): New.
34161 (EF_MIPS_ARCH_64R2): New.
34162
740b3dbe
L
341632013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34164
34165 * Makeconfig (+link-pie-before-libc): New.
34166 (+link-pie-after-libc): Likewise.
34167 (+link-pie-tests): Likewise.
34168 (+link-pie): Rewritten.
34169 (link-before-libc): Remove $(config-LDFLAGS).
34170 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34171 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34172 (config-LDFLAGS): Renamed to ...
34173 (rtld-LDFLAGS): This.
34174 (rtld-tests-LDFLAGS): New macro.
34175 (link-libc-rpath-link): Likewise.
34176 (link-libc-tests-rpath-link): Likewise.
34177 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34178 (link-libc): Prepand $(link-libc-rpath-link).
34179 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34180 (test-program-prefix): New macro.
34181 (test-via-rtld-prefix): Likewise.
34182 (test-program-cmd): Likewise.
34183 (host-test-program-cmd): Likewise.
34184 * Makefile ($(common-objpfx)testrun.sh): Replace
34185 $(run-program-prefix) with $(test-program-prefix).
34186 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34187 $(rtld-LDFLAGS).
34188 ($(common-objpfx)shlib.lds): Likewise.
34189 (build-module-helper): Likewise.
34190 ($(common-objpfx)format.lds): Likewise.
34191 * Rules (binaries-pie-tests): New.
34192 (binaries-pie-notests): Likewise.
34193 (binaries-pie): Rewritten.
34194 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34195 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34196 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34197 (make-test-out): Replace $(host-built-program-cmd) with
34198 $(host-test-program-cmd).
34199 * config.make.in (build-hardcoded-path-in-tests): New variable.
34200 * configure.in (--enable-hardcoded-path-in-tests): New configure
34201 option.
34202 (hardcoded_path_in_tests): New AC_SUBST.
34203 * configure: Regenerated.
34204 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34205 $(built-program-cmd) with $(test-program-cmd).
34206 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34207 (test_program_cmd): This.
34208 * elf/Makefile ($(objpfx)order.out): Run test with
34209 $(test-program-prefix).
34210 ($(objpfx)order2.out): Likewise.
34211 ($(objpfx)tst-initorder.out): Likewise.
34212 ($(objpfx)tst-initorder2.out): Likewise.
34213 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34214 $(test-program-cmd).
34215 ($(objpfx)tst-array1-static.out): Likewise.
34216 ($(objpfx)tst-array2.out): Likewise.
34217 ($(objpfx)tst-array3.out): Likewise.
34218 ($(objpfx)tst-array4.out): Likewise.
34219 ($(objpfx)tst-array5.out): Likewise.
34220 ($(objpfx)tst-array5-static.out): Likewise.
34221 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34222 $(test-program-cmd).
34223 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34224 $(run-program-prefix) with $(test-program-prefix).
34225 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34226 (test_program_prefix): This.
34227 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34228 $(run-program-prefix) with $(test-program-prefix).
34229 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34230 (test_program_prefix): This.
34231 * iconvdata/tst-tables.sh: Likewise.
34232 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34233 $(run-program-prefix) with $(test-program-prefix).
34234 ($(objpfx)tst-translit.out): Likewise.
34235 ($(objpfx)tst-gettext2.out): Likewise.
34236 ($(objpfx)tst-gettext4.out): Likewise.
34237 ($(objpfx)tst-gettext6.out): Likewise.
34238 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34239 (test_program_prefix): This.
34240 * intl/tst-gettext2.sh: Likewise.
34241 * intl/tst-gettext4.sh Likewise.
34242 * intl/tst-gettext6.sh: Likewise.
34243 * intl/tst-translit.sh: Likewise.
34244 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34245 with $(test-program-cmd).
34246 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34247 $(run-program-prefix) with $(test-program-prefix).
34248 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34249 (test_program_prefix): This.
34250 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34251 $(run-program-prefix) with $(test-program-prefix).
34252 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34253 (test_program_prefix): This.
34254 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34255 * posix/Makefile ($(objpfx)globtest.out): Replace
34256 $(run-via-rtld-prefix) and $(test-wrapper) with
34257 $(test-program-prefix) and $(test-via-rtld-prefix).
34258 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34259 $(test-program-prefix).
34260 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34261 $(host-test-program-cmd).
34262 (tst-spawn-ARGS): Likewise.
34263 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34264 $(test-program-prefix).
34265 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34266 (test_via_rtld_prefix): This.
34267 (test_wrapper): Renamed to ...
34268 (test_program_prefix): This.
34269 (run_program_prefix): Replaced by test_program_prefix.
34270 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34271 (test_program_prefix): This.
34272 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34273 with $(host-test-program-cmd).
34274 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34275 $(run-program-prefix) with $(test-program-prefix).
34276 ($(objpfx)tst-printf.out): Likewise.
34277 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34278 $(test-program-cmd).
34279 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34280 (test_program_prefix): This.
34281 * stdio-common/tst-unbputc.sh: Likewise.
34282 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34283 $(run-program-prefix) with $(test-program-prefix).
34284 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34285 (test_program_prefix): This.
34286 * string/Makefile ($(objpfx)tst-svc.out): Replace
34287 $(built-program-cmd) with $(test-program-cmd).
34288
c6fe55cf
AJ
342892013-01-11 Andreas Jaeger <aj@suse.de>
34290
34291 [BZ #15003]
34292 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34293 value. Sync with Linux 3.7.
34294
9e6919c8
DM
342952013-01-10 David S. Miller <davem@davemloft.net>
34296
34297 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34298 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34299 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34300
1c9f1a02
RM
343012013-01-10 Roland McGrath <roland@hack.frob.com>
34302
34303 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34304 never set.
34305 * configure: Regenerated.
34306
b9de2dde
DM
343072013-01-10 David S. Miller <davem@davemloft.net>
34308
34309 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34310 sparc V9 rather than using V8 code.
34311 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34312 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34313
e7f68ef4
RM
343142013-01-10 Roland McGrath <roland@hack.frob.com>
34315
34316 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34317 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34318 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34319 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34320 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34321 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34322 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34323 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34324 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34325 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34326 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34327 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34328 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34329 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34330 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34331 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34332 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34333 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34334 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34335 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34336 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34337 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34338 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34339 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34340 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34341 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34342 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34343
5a47cc9c
DM
343442013-01-10 David S. Miller <davem@davemloft.net>
34345
34346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34347
4cf8f209
L
343482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34349
34350 * posix/Makefile (tests-static): New variable.
34351 (tests): Add $(tests-static).
34352 (tst-exec-static-ARGS): New variable.
34353 (tst-spawn-static-ARGS): Likewise.
34354 * posix/tst-exec-static.c: New file.
34355 * posix/tst-spawn-static.c: Likewise.
34356 * posix/tst-exec.c: Support run directly.
34357 * posix/tst-spawn.c: Likewise.
34358
fed0faa1
JM
343592013-01-10 Joseph Myers <joseph@codesourcery.com>
34360
828beb13
JM
34361 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34362 long.
34363 * math/bits/mathcalls.h (llrint): Likewise.
34364 (llround): Likewise.
34365 * stdlib/stdlib.h (struct drand48_data): Likewise.
34366 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34367 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34368 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34369 Likewise.
34370 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34371 Likewise.
34372 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34373 (elf_greg_t): Likewise.
34374 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34375 (__jmp_buf): Likewise.
34376 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34377 definitions.
34378 (llrint): Likewise, for all definitions.
34379 (llrintl): Likewise.
34380
fed0faa1
JM
34381 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34382 Remove [__GNUC__] condition.
34383 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34384 condition to just [__USE_ISOC99].
34385 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34386
1a20cb20
L
343872013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34388
34389 [BZ #14200]
34390 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34391 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34392 defined.
34393 (_POSIX_V6_ILP32_OFF32): Likewise.
34394 (_XBS5_ILP32_OFF32): Likewise.
34395 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34396 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34397
751b85f7
SP
343982013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34399
7490eb81
SP
34400 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34401
751b85f7
SP
34402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34403 doubles __mpexp_twomm1. Adjust usage.
34404 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34405 Remove.
34406
988197f0
AS
344072013-01-10 Andreas Schwab <schwab@suse.de>
34408
34409 [BZ #14964]
34410 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34411 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34412
e83d7298
DM
344132013-01-09 David S. Miller <davem@davemloft.net>
34414
034ed64b 34415 [BZ #15003]
57f41c40
AS
34416 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34417 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34418 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34419 (TCP_FASTOPEN): Define.
e83d7298
DM
34420 (tcp_repair_opt): New structure.
34421 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34422 enum values.
57f41c40
AS
34423 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34424 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34425 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34426 (tcp_cookie_transactions): New structure.
34427
d5e0b9bd
AB
344282013-01-09 Anton Blanchard <anton@samba.org>
34429
34430 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34431 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34433 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34434
0c07e3ea
JM
344352013-01-09 Joseph Myers <joseph@codesourcery.com>
34436
34437 * include/features.h (__USE_ANSI): Remove.
34438
232f7002
RM
344392013-01-09 Roland McGrath <roland@hack.frob.com>
34440
ad98e30c
RM
34441 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34442
232f7002
RM
34443 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34444
950c99ca
SP
344452013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34446
b5792741
SP
34447 * sysdeps/s390/fpu/libm-test-ulps: Update.
34448
47cf2278
SP
34449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34450
950c99ca
SP
34451 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34452 (__acr): Likewise.
34453 (__cpy): Likewise.
34454 (norm): Likewise.
34455 (denorm): Likewise.
34456 (__mp_dbl): Likewise.
34457 (__dbl_mp): Likewise.
34458 (add_magnitudes): Likewise.
34459 (sub_magnitudes): Likewise.
34460 (__add): Likewise.
34461 (__sub): Likewise.
34462 (__mul): Likewise.
34463 (__inv): Likewise.
34464 (__dvd): Likewise.
34465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34466 (__acr): Likewise.
34467 (__cpy): Likewise.
34468 (norm): Likewise.
34469 (denorm): Likewise.
34470 (__mp_dbl): Likewise.
34471 (__dbl_mp): Likewise.
34472 (add_magnitudes): Likewise.
34473 (sub_magnitudes): Likewise.
34474 (__add): Likewise.
34475 (__sub): Likewise.
34476 (__mul): Likewise.
34477 (__inv): Likewise.
34478 (__dvd): Likewise.
34479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34480 (__acr): Likewise.
34481 (__cpy): Likewise.
34482 (norm): Likewise.
34483 (denorm): Likewise.
34484 (__mp_dbl): Likewise.
34485 (__dbl_mp): Likewise.
34486 (add_magnitudes): Likewise.
34487 (sub_magnitudes): Likewise.
34488 (__add): Likewise.
34489 (__sub): Likewise.
34490 (__mul): Likewise.
34491 (__inv): Likewise.
34492 (__dvd): Likewise.
34493
eede9df9
JM
344942013-01-08 Joseph Myers <joseph@codesourcery.com>
34495
34496 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34497 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34498 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34499 2 && __USE_EXTERN_INLINES]: Likewise.
34500
c40ea3d9
AJ
345012013-01-08 Andreas Jaeger <aj@suse.de>
34502
34503 [BZ# 14985]
34504 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34505 Remove.
34506 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34507 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34508
2ccdea26
AB
345092013-01-07 Anton Blanchard <anton@samba.org>
34510
34511 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34512 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34513 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34514 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34515 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34516 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34517 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34518 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34520 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34521 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34522 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34523 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34526 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34527 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34529 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34530 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34531 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34532 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34533 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34534 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34535 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34536 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34537 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34538 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34540 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34541 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34543 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34544 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34545 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34546 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34547 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34550 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34551 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34553 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34554
a9708fed
JM
345552013-01-07 Joseph Myers <joseph@codesourcery.com>
34556
375607b9
JM
34557 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34558 (__MALLOC_PMT): Likewise.
34559 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34560 [__GNUC__], only on [_LIBC].
34561 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34562 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34563 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34564 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34565 forward declaration.
34566 (realloc_hook_ini): Likewise.
34567 (memalign_hook_ini): Likewise.
34568 (__libc_memalign): Do not use __MALLOC_PMT in variable
34569 declaration.
34570 (__libc_valloc): Likewise.
34571 (__libc_pvalloc): Likewise.
34572 (__libc_calloc): Likewise.
34573 (__posix_memalign): Likewise.
34574
a9708fed
JM
34575 [BZ #14996]
34576 * math/s_casinh.c: Include <float.h>.
34577 (__casinh): Do not do computation with squaring and square root
34578 for large arguments.
34579 * math/s_casinhf.c: Include <float.h>.
34580 (__casinhf): Do not do computation with squaring and square root
34581 for large arguments.
34582 * math/s_casinhl.c: Include <float.h>.
34583 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34584 (__casinhl): Do not do computation with squaring and square root
34585 for large arguments.
34586 * math/libm-test.inc (casin_test): Add more tests.
34587 (casinh_test): Likewise.
34588 * sysdeps/i386/fpu/libm-test-ulps: Update.
34589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34590
afec409a
L
345912013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34592
34593 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34594 (__x86_64_raw_data_cache_size): Likewise.
34595 (__x86_64_data_cache_size_half): Likewise.
34596 (__x86_64_raw_data_cache_size_half): Likewise.
34597 (__x86_64_shared_cache_size): Likewise.
34598 (__x86_64_raw_shared_cache_size): Likewise.
34599 (__x86_64_shared_cache_size_half): Likewise.
34600 (__x86_64_raw_shared_cache_size_half): Likewise.
34601 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34602 to ...
34603 (__x86_data_cache_size): This.
34604 (__x86_64_raw_data_cache_size): Renamed to ...
34605 (__x86_raw_data_cache_size): This.
34606 (__x86_64_data_cache_size_half): Renamed to ...
34607 (__x86_data_cache_size_half): This.
34608 (__x86_64_raw_data_cache_size_half): Renamed to ...
34609 (__x86_raw_data_cache_size_half): This.
34610 (__x86_64_shared_cache_size): Renamed to ...
34611 (__x86_shared_cache_size): This.
34612 (__x86_64_raw_shared_cache_size): Renamed to ...
34613 (__x86_raw_shared_cache_size): This.
34614 (__x86_64_shared_cache_size_half): Renamed to ...
34615 (__x86_shared_cache_size_half): This.
34616 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34617 (__x86_raw_shared_cache_size_half): This.
34618 * sysdeps/x86_64/memcpy.S: Updated.
34619 * sysdeps/x86_64/memset.S: Likewise.
34620 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34623
0b3986d0
DM
346242013-01-04 David S. Miller <davem@davemloft.net>
34625
34626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34627
e47686e9
AS
346282013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34629
d643bac1
AS
34630 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34631 1 to avoid redefinition warning.
34632 (__USE_GNU): Don't define.
34633 (init_signaling_nan): Protoize.
34634
e47686e9
AS
34635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34636
b18decba
SP
346372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34638
fffb407f
SP
34639 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34641 (__cpymn): Likewise.
34642 (norm): Remove commented code.
34643 (denorm): Likewise.
34644 (__mp_dbl): Likewise.
34645 (__inv): Likewise.
34646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34647 (__cpymn): Likewise.
34648 (norm): Remove commented code.
34649 (denorm): Likewise.
34650 (__mp_dbl): Likewise.
34651 (__inv): Likewise.
34652
b18decba
SP
34653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34654 mp_no value for 1.0 and 2.0.
34655 (norm): Use RADIXI instead of radixi.d.
34656 (denorm): Likewise.
34657 (__mul): Use 0.0 instead of zero.d.
34658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34659 mp_no value for 1.0 and 2.0.
34660 (norm): Use RADIXI instead of radixi.d.
34661 (denorm): Likewise.
34662 (__mul): Use 0.0 instead of zero.d.
34663
cdc1c96f
JM
346642013-01-04 Joseph Myers <joseph@codesourcery.com>
34665
34666 [BZ #14994]
34667 * math/s_casinh.c (__casinh): Reduce finite argument to first
34668 quadrant then set signs of results at the end.
34669 * math/s_casinhf.c (__casinhf): Likewise.
34670 * math/s_casinhl.c (__casinhl): Likewise.
34671 * math/libm-test.inc (casin_test): Add more tests.
34672 (casinh_test): Likewise.
34673 * sysdeps/i386/fpu/libm-test-ulps: Update.
34674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34675
302913e1
SP
346762013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34677
6420d207
SP
34678 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34679
a9e48ab4
SP
34680 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34681
b7837264
SP
34682 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34683 declarations.
34684 (denorm): Likewise.
34685 (__mp_dbl): Likewise.
34686 (__inv): Likewise.
34687
f8af25d2
SP
34688 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34689 and adjust the header comment.
34690
302913e1
SP
34691 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34692 variable name from declaration.
34693
5d7dd1ca
L
346942013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34695
34696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34697 Initialize COMMON_CPUID_INDEX_7 element.
34698 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34699 (CPUID_RTM): Likewise.
34700 (HAS_RTM): Likewise.
34701 (COMMON_CPUID_INDEX_7): New enum.
34702
2f5f40f4
AS
347032013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34704
34705 [BZ #14981]
34706 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34707 size is zero, record memory as freed.
34708
4056f4a0
AJ
347092013-01-03 Andreas Jaeger <aj@suse.de>
34710
34711 * po/ia.po: Add new Interlingua translation.
34712
ab15736f 347132012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34714
34715 * locale/programs/localedef.c: Fix description of '--posix' flag.
34716
568035b7
JM
347172013-01-02 Joseph Myers <joseph@codesourcery.com>
34718
e6898b8d
JM
34719 * NEWS: Update dates in second copyright notice.
34720 * README: Update copyright dates in example.
34721 * manual/libc.texinfo: Update copyright dates.
34722 * scripts/test-installation.pl: Update copyright date in --version
34723 output.
34724
0e2f9562
JM
34725 * hurd/ctty-input.c: Fix copyright notice formatting.
34726 * hurd/ctty-output.c: Likewise.
34727 * hurd/dtable.c: Likewise.
34728 * hurd/hurd-raise.c: Likewise.
34729 * hurd/hurdprio.c: Likewise.
34730 * hurd/msgportdemux.c: Likewise.
34731 * misc/sys/file.h: Likewise.
34732 * misc/sys/ioctl.h: Likewise.
34733 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34734 * sysdeps/mach/hurd/chdir.c: Likewise.
34735 * sysdeps/mach/hurd/fchdir.c: Likewise.
34736 * sysdeps/mach/hurd/rename.c: Likewise.
34737 * sysdeps/mach/hurd/rmdir.c: Likewise.
34738 * sysdeps/mach/hurd/seekdir.c: Likewise.
34739 * sysdeps/mach/hurd/setsid.c: Likewise.
34740 * sysdeps/posix/wait3.c: Likewise.
34741
568035b7
JM
34742 * All files with FSF copyright notices: Update copyright dates
34743 using scripts/update-copyrights.
34744 * intl/plural.c: Regenerated.
34745 * locale/programs/charmap-kw.h: Likewise.
34746 * locale/programs/locfile-kw.h: Likewise.
34747
da08f647
SP
347482013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34749
0f5477af
SP
34750 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34751 four values.
34752
44e0d4c2
SP
34753 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34754 calculation loop and add branch prediction.
34755
4d55b4e5
SP
34756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34757 check access beyond bounds of m1np.
34758
da08f647
SP
34759 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34760 MPTWO.
34761 (__inv): Remove local variable MPTWO to use the global
34762 constant.
34763 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34765 variable MPTWO.
34766 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34767 MP3HALFS static const.
34768
8e051029
DM
347692013-01-01 David S. Miller <davem@davemloft.net>
34770
34771 * po/ca.po: Update from translation team.
34772
f4cf5f2d
JM
347732013-01-01 Joseph Myers <joseph@codesourcery.com>
34774
34775 * scripts/update-copyrights: New file.
34776 * Makeconfig: Reformat copyright notice.
34777 * ctype/ctype.h: Likewise.
34778 * debug/swprintf_chk.c: Likewise.
34779 * elf/dl-cache.c: Likewise.
34780 * elf/dl-debug.c: Likewise.
34781 * elf/dl-object.c: Likewise.
34782 * grp/initgroups.c: Likewise.
34783 * hurd/Makefile: Likewise.
34784 * hurd/hurd/signal.h: Likewise.
34785 * hurd/hurdfault.c: Likewise.
34786 * hurd/hurdioctl.c: Likewise.
34787 * hurd/hurdlookup.c: Likewise.
34788 * hurd/intr-msg.c: Likewise.
34789 * iconv/gconv_open.c: Likewise.
34790 * libio/swprintf.c: Likewise.
34791 * locale/lc-ctype.c: Likewise.
34792 * locale/nl_langinfo.c: Likewise.
34793 * mach/Machrules: Likewise.
34794 * mach/Makefile: Likewise.
34795 * malloc/obstack.h: Likewise.
34796 * manual/Makefile: Likewise.
34797 * manual/tsort.awk: Likewise.
34798 * misc/bits/stab.def: Likewise.
34799 * nis/nis_print_group_entry.c: Likewise.
34800 * nis/nis_table.c: Likewise.
34801 * nis/nss_compat/compat-pwd.c: Likewise.
34802 * nis/nss_compat/compat-spwd.c: Likewise.
34803 * po/Makefile: Likewise.
34804 * posix/fnmatch.c: Likewise.
34805 * posix/regex.h: Likewise.
34806 * resolv/Makefile: Likewise.
34807 * resolv/nss_dns/dns-network.c: Likewise.
34808 * resolv/res_hconf.c: Likewise.
34809 * scripts/gen-sorted.awk: Likewise.
34810 * soft-fp/soft-fp.h: Likewise.
34811 * stdio-common/printf.h: Likewise.
34812 * stdlib/monetary.h: Likewise.
34813 * stdlib/random.c: Likewise.
34814 * stdlib/random_r.c: Likewise.
34815 * sysdeps/generic/Makefile: Likewise.
34816 * sysdeps/gnu/Makefile: Likewise.
34817 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34827 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34828 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34829 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34830 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34831 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34833 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34835 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34837 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34838 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34839 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34840 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34841 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34842 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34845 * sysdeps/mach/hurd/errnos.awk: Likewise.
34846 * sysdeps/mach/hurd/fork.c: Likewise.
34847 * sysdeps/mach/hurd/getcwd.c: Likewise.
34848 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34849 * sysdeps/mach/hurd/mmap.c: Likewise.
34850 * sysdeps/mach/hurd/utimes.c: Likewise.
34851 * sysdeps/mach/hurd/xmknod.c: Likewise.
34852 * sysdeps/posix/profil.c: Likewise.
34853 * sysdeps/posix/readdir_r.c: Likewise.
34854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34855 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34856 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34857 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34859 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34860 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34861 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34863 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34864 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34865 * sysdeps/pthread/lio_listio.c: Likewise.
34866 * sysdeps/sparc/dl-procinfo.h: Likewise.
34867 * sysdeps/unix/i386/sysdep.S: Likewise.
34868 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34869 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34870 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34871 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34873 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34874 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34875 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34876 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34877 * sysdeps/wordsize-32/divdi3.c: Likewise.
34878 * time/sys/time.h: Likewise.
34879 * wcsmbs/Makefile: Likewise.
34880
0549fbba
DM
348812013-01-01 David S. Miller <davem@davemloft.net>
34882
a141f1a7
DM
34883 * po/fr.po: Update from translation team.
34884
0549fbba
DM
34885 * catgets/gencat.c: Update copyright year.
34886 * csu/version.c: Likewise.
34887 * debug/catchsegv.sh: Likewise.
34888 * debug/pcprofiledump.c: Likewise.
34889 * debug/xtrace.sh: Likewise.
34890 * elf/ldconfig.c: Likewise.
34891 * elf/ldd.bash.in: Likewise.
34892 * elf/pldd.c: Likewise.
34893 * elf/sotruss.ksh: Likewise.
34894 * elf/sprof.c: Likewise.
34895 * iconv/iconv_prog.c: Likewise.
34896 * iconv/iconvconfig.c: Likewise.
34897 * locale/programs/locale.c: Likewise.
34898 * locale/programs/localedef.c: Likewise.
34899 * login/programs/pt_chown.c: Likewise.
34900 * malloc/memusage.sh: Likewise.
34901 * malloc/memusagestat.c: Likewise.
34902 * malloc/mtrace.pl: Likewise.
34903 * nscd/nscd.c: Likewise.
34904 * nss/getent.c: Likewise.
34905 * nss/makedb.c: Likewise.
34906 * posix/getconf.c: Likewise.
34907
18ea052c
SP
349082012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34909
34910 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34911 numbers.
34912
9c89fca6
MF
349132012-12-30 Mike Frysinger <vapier@gentoo.org>
34914
34915 * math/bits/mathcalls.h (modf): Use __nonnull.
34916
085ec079
SP
349172012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34918
34919 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34920 (split): Use macro CN instead of the bare value.
34921 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34922 could be used.
34923 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34924 instead of the bare value.
34925 (power1): Likewise.
34926
6d9f97e1
SP
349272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34928
d63f73be
SP
34929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34930 __ATAN_TWOM.
34931 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34932
6d9f97e1
SP
34933 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34934 their values.
34935 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34937 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34938 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34939
4c4febf5
AJ
349402012-12-28 Andreas Jaeger <aj@suse.de>
34941
af5843ef
AJ
34942 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34943 values are from Linux 3.7.
34944
4c4febf5
AJ
34945 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34946 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34947
99136f82
SP
349482012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34949
2f216c3c 34950 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34951 TRUE case.
34952
99136f82
SP
34953 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34954 (norm): Likewise.
34955 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34956 variables with preprocessor constants.
34957 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34958 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34959 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34960
7fffbdff
BH
349612012-12-27 Bruno Haible <bruno@clisp.org>
34962
34963 [BZ #14317]
34964 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34965 only if needed.
34966
b76eb5f0
SP
349672012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34968
31a7fe5c
SP
34969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34970 and use variable directly.
34971 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34972
b76eb5f0
SP
34973 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34974 MPONE.
34975 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34977 variable MPONE.
34978 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34980 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34981 include directive. Remove local variable MPONE.
34982 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34983 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34984 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34985
2c8bfe7d
DM
349862012-12-25 David S. Miller <davem@davemloft.net>
34987
34988 * version.h (RELEASE): Set to "development".
34989 (VERSION): Set to "2.17.90".
34990 * NEWS: Add 2.18 section.
34991
147d03b0
DM
349922012-12-21 David S. Miller <davem@davemloft.net>
34993
34994 * po/hr.po: Update from translation team.
34995
a8ebb2b9
AK
349962012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34997
34998 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34999
95b4f1b6
SE
350002012-12-19 Steve Ellcey <sellcey@mips.com>
35001
b2d94007 35002 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 35003
cedb2a90
MS
350042012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35005
35006 * manual/contrib.texi (Contributors): Spelling correction.
35007
bbf527d6
DM
350082012-12-15 David S. Miller <davem@davemloft.net>
35009
35010 * po/ru.po: Update from translation team.
35011
bc38c906
DM
350122012-12-13 David S. Miller <davem@davemloft.net>
35013
85429b1a
DM
35014 * NEWS: Mention IFUNC testsuite enhancements.
35015
d283e353
DM
35016 * po/pl.po: Update from translation team.
35017 * po/bg.po: Likewise.
35018
bc38c906
DM
35019 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35020 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35021
a181b0d7
DM
350222012-12-11 David S. Miller <davem@davemloft.net>
35023
4641d57e
DM
35024 * po/sv.po: Update from translation team.
35025
f7bc6495
DM
35026 * po/vi.po: Update from translation team.
35027
6fc9048f
DM
35028 * po/cs.po: Update from translation team.
35029
a181b0d7
DM
35030 * po/de.po: Update from translation team.
35031 * po/eo.po: Likewise.
35032 * po/nl.po: Likewise.
35033
f70bfe80
SP
350342012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35035
3c8b4190
SP
35036 [BZ #14246]
35037 * manual/argp.texi (Argp Helper Functions): Move node to follow
35038 Argp Parsing State.
35039
f70bfe80
SP
35040 [BZ #14872]
35041 * manual/conf.texi (Limits on File System Capacity): Mention if
35042 terminating null is included in the max size.
35043
188f0adf
AJ
350442012-12-10 Andreas Jaeger <aj@suse.de>
35045
35046 * po/cs.po: Update from translation team.
35047
56e7d3ad
SP
350482012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35049
35050 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35051 void pointer and cast to uintptr_t.
35052 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35053 path.
35054 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35055 * sysdeps/s390/s390-64/memset.S: Likewise.
35056
76f2d2ea 350572012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
35058
35059 [BZ #14833]
35060 * menual/message.texi (Message Translation): Fix typos.
35061 (Helper programs for gettext): Likewise.
35062
67cbf9a2
AS
350632012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35064
35065 [BZ #14898]
35066 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35067 Change to -1.
35068
682d0e9a
DM
350692012-12-07 David S. Miller <davem@davemloft.net>
35070
35071 * po/libc.pot: Update.
35072
573cd484
RH
350732012-12-07 Richard Henderson <rth@redhat.com>
35074
7e9da188 35075 [BZ #10114]
573cd484
RH
35076 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35077 normal/normal case to before the switch.
35078 (_FP_DIV): Likewise.
35079
e933a943
MF
350802012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35081 Mike Frysinger <vapier@gentoo.org>
35082
35083 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35084 check for __NR_fadvise64_64.
35085
82123268
CM
350862012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35087
35088 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35089 0, not just to plain "0" as a statement.
35090 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35091 with cw.
35092
d9814526
JM
350932012-12-06 Joseph Myers <joseph@codesourcery.com>
35094
35095 * NEWS: Use sourceware.org in Bugzilla URL.
35096
7728c574
SP
350972012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35098
f16946dd
SP
35099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35100 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35101
5704bbcb
SP
35102 * stdio-common/tst-put-error.c (do_test): Add newline to the
35103 padded test to ensure flush.
35104
17aa0516
JL
351052012-12-05 Jeff Law <law@redhat.com>
35106
35107 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35108
363313b5
JM
351092012-12-05 Joseph Myers <joseph@codesourcery.com>
35110
effbd42a
JM
35111 * README: Don't refer to ports add-on as distributed separately.
35112 Mention AArch64 in list of systems supported in the ports add-on.
35113
87600365
JM
35114 * LICENSES: Add more non-FSF copyright and license notices.
35115
a0d7066a
JM
35116 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35117 ((unused)).
35118
66ca5a5b
JM
35119 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35120
363313b5
JM
35121 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35122 10000 as width of padded output.
35123
b37984ad
JM
351242012-12-04 Joseph Myers <joseph@codesourcery.com>
35125
9003570a
JM
35126 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35127
b37984ad
JM
35128 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35129 variable LX with __attribute__ ((unused)).
35130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35131 Likewise.
35132 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35134 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35135 with __attribute__ ((unused)).
35136
c8df52ec
DM
351372012-12-04 David S. Miller <davem@abraco.davemloft.net>
35138
35139 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35140
b3b099af
JM
351412012-12-04 Joseph Myers <joseph@codesourcery.com>
35142
c33aa6e3
JM
35143 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35144 (CFLAGS-nldbl-acos.c): New variable.
35145 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35146 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35147 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35148 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35149 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35150 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35151 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35152 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35153 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35154 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35155 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35156 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35157 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35158 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35159 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35160 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35161 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35162 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35163 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35164 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35165 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35166 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35167 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35168 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35169 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35170 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35171 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35172 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35173 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35174 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35175 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35176 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35177 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35178 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35179 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35180 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35181 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35182 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35183 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35184 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35185 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35186 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35187 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35188 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35189 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35190 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35191 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35192 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35193 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35194 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35195 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35196 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35197 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35198 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35199 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35200 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35201 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35202 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35203 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35204 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35205 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35206 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35207 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35208 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35209 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35210 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35211 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35212 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35213 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35214 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35215 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35216 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35217 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35218 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35219 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35220 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35221 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35222 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35223 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35224 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35225 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35226 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35227 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35228 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35229 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35230 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35231 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35232 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35233 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35234 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35235 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35236 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35237 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35238 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35239 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35240 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35241 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35242
20f0018d
JM
35243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35244 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35245
b3b099af
JM
35246 [BZ #14914]
35247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35248 whole low double instead of just low 47 bits when splitting values
35249 into two parts.
35250
029264d1
AM
352512012-12-03 Allan McRae <allan@archlinux.org>
35252
35253 * manual/stdio.texi (Predefined Printf Handlers): Remove
35254 @hsep and @vsep usage.
35255
c9d6789e
MF
352562012-12-03 Mike Frysinger <vapier@gentoo.org>
35257
35258 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35259 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35260
4b7634a5
JL
352612012-12-03 Jeff Law <law@redhat.com>
35262
35263 * time/sys/time.h (settimeofday): Do not mark TV argument
35264 as __nonnull.
35265
eb6cbd24
MF
352662012-12-01 Mike Frysinger <vapier@gentoo.org>
35267
35268 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35269 when currently writing and seek to current position when not.
35270 * libio/Makefile (tests): Remove bug-fclose1.
35271 * libio/bug-fclose1.c: Delete.
35272
f638872a
JM
352732012-12-01 Joseph Myers <joseph@codesourcery.com>
35274
35275 * manual/arith.texi (feenableexcept): Fix typo.
35276 (fedisableexcept): Likewise.
35277
48085d14
RM
352782012-11-30 Roland McGrath <roland@hack.frob.com>
35279
35280 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35281 second, differently-typed declaration, rather than a cast.
35282
1a538b9f
SP
352832012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35284
35285 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35286 * include/rpc/svc.h: ... here.
35287
d07f2ff1 352882012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35289
35290 [BZ #13013]
35291 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35292 depending n and resplen2 to catch cases where answer
35293 equals answerp2.
35294
c93ec1f0
CD
352952012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35296
35297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35298 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35299
37db69de
MF
353002012-11-29 Mike Frysinger <vapier@gentoo.org>
35301
35302 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35303
e10c4e4f
RM
353042012-11-29 Roland McGrath <roland@hack.frob.com>
35305
35306 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35307
2af1b328
JL
353082012-11-28 Jeff Law <law@redhat.com>
35309
35310 [BZ #13761]
35311 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35312 dataset_temporary. Track alloca usage into alloca_used.
35313 If dataset is large allocate and release it via malloc/free.
35314
111db5b1
FW
353152012-06-04 Florian Weimer <fweimer@redhat.com>
35316
f06cc227 35317 [BZ #14197]
111db5b1
FW
35318 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35319
dd694abd
DM
353202012-11-28 David S. Miller <davem@davemloft.net>
35321
35322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35323
9984dd01
JM
353242012-11-28 Joseph Myers <joseph@codesourcery.com>
35325
35326 [BZ #14803]
35327 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35328 of pi/2 rounded to nearest to 64 bits.
35329 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35330 nearest to 64 bits.
35331 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35332 bits.
35333
14bc93a9
JL
353342012-11-28 Jeff Law <law@redhat.com>
35335 Martin Osvald <mosvald@redhat.com>
35336
35337 [BZ #14889]
35338 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35339 * sunrpc/svc.c: Include time.h.
35340 (__svc_accept_failed): New function.
35341 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35342 any reason other than EINTR, call __svc_accept_failed.
35343 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35344 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35345
e3c6aa3a
AS
353462012-11-28 Andreas Schwab <schwab@suse.de>
35347
35348 * scripts/abilist.awk: Also handle indirect functions in .opd
35349 section.
35350
1bead169
JM
353512012-11-28 Joseph Myers <joseph@codesourcery.com>
35352
35353 [BZ #13881]
35354 * sysdeps/x86/fpu/powl_helper.c: New file.
35355 * sysdeps/x86/fpu/Makefile: Likewise.
35356 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35357 (p3): New object.
35358 (__ieee754_powl): Use __powl_helper for finite arguments except
35359 integer exponents below 8.
35360 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35361 (p3): New object.
35362 (__ieee754_powl): Use __powl_helper for finite arguments except
35363 integer exponents below 8.
35364 * math/libm-test.inc (pow_test): Add more tests and enable some
35365 previously disabled tests.
35366 * sysdeps/i386/fpu/libm-test-ulps: Update.
35367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35368
0817d63d
SP
353692012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35370 Carlos O'Donell <carlos_odonell@mentor.com>
35371
35372 * nss/makedb.c (is_prime): Assert that input is odd and greater
35373 than 4. Note that fact in a comment too.
35374 (next_prime): Add 4 to input.
35375
de2fd463
SP
353762012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35377
35378 [BZ #11741]
35379 * libio/Makefile (tests): Add test case tst-fwrite-error.
35380 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35381 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35382 * libio/tst-fwrite-error.c: New test case.
35383
c515fb51
L
353842012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35385
35386 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35387 before casting to void *.
35388 * include/libc-internal.h (__pointer_type): New macro.
35389 (__integer_if_pointer_type_sub): Likewise.
35390 (__integer_if_pointer_type): Likewise.
35391 (cast_to_integer): Likewise.
35392 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35393 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35394 before casting to atomic64_t.
35395 (atomic_exchange_acq): Likewise.
35396 (__arch_exchange_and_add_body): Likewise.
35397 (__arch_add_body): Likewise.
35398 (atomic_add_negative): Likewise.
35399 (atomic_add_zero): Likewise.
35400
4cf77aa9
JM
354012012-11-26 Joseph Myers <joseph@codesourcery.com>
35402
35403 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35404 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35405 (add_fdes): Likewise.
35406 (linear_search_fdes): Likewise.
35407 (binary_search_unencoded_fdes): Likewise.
35408
d260b3b4
AS
354092012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35410
35411 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35412
67060746
AC
354132012-11-24 Adam Conrad <adconrad@0c3.net>
35414
35415 * configure.in: Autodetect C++ header directories.
35416 * configure: Regenerated.
35417
800938a1
MF
354182012-11-23 Mike Frysinger <vapier@gentoo.org>
35419
35420 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35421
4e6e34e6
AS
354222012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35423
35424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35425
7c7feb47
JM
354262012-11-22 Joseph Myers <joseph@codesourcery.com>
35427
7184dcdf
JM
35428 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35429 LDBL_MANT_DIG == 106]: Disable some tests.
35430 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35431 Likewise.
35432 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35433 Likewise.
35434
0a42601f
JM
35435 [BZ #14871]
35436 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35437 input for small inputs. Return +/- pi/2 for large inputs.
35438 * math/libm-test.inc (atan_test): Add more tests.
35439
79c9b9fe
JM
35440 * sysdeps/generic/unwind-dw2-fde-glibc.c
35441 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35442 __attribute__ ((unused)).
35443
c60d3bf2
JM
35444 [BZ #14645]
35445 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35446 x * y if x and y are nonzero and z is zero.
35447
ef1e0867
JM
35448 [BZ #14811]
35449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35450 nonzero exponents with absolute value below 0x1p-117 to +/-
35451 0x1p-117.
35452
1468ded3
JM
35453 [BZ #14869]
35454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35455 up arguments below 2**-450, not just those below 2**-500.
35456 * math/libm-test.inc (hypot_test): Add another test.
35457
8e27e3cc
JM
35458 [BZ #14868]
35459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35460 Return a+b for ratio over 2**120, not 2**60.
35461 * math/libm-test.inc (hypot_test): Add another test.
35462
c9c0279b
JM
35463 * math/libm-test.inc (clog_test): Use
35464 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35465 (clog10_test): Likewise.
35466
7c7feb47
JM
35467 [BZ #6778]
35468 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35469
fff1530e
AS
354702012-11-22 Andreas Schwab <schwab@suse.de>
35471
35472 * sysdeps/i386/fpu/libm-test-ulps: Update.
35473
94558d30
PT
354742012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35475
35476 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35477 printf output with newline.
35478
7e1be741
L
354792012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35480
6bfea974
L
35481 [BZ #14865]
35482 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35483 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35484 -z nodlopen, -z initfirst and -z execstack support.
35485 * configure: Regenerated.
35486
7e1be741
L
35487 * elf/elf.h (DF_1_NODIRECT): New macro.
35488 (DF_1_IGNMULDEF): Likewise.
35489 (DF_1_NOKSYMS): Likewise.
35490 (DF_1_NOHDR): Likewise.
35491 (DF_1_EDITED): Likewise.
35492 (DF_1_NORELOC): Likewise.
35493 (DF_1_SYMINTPOSE): Likewise.
35494 (DF_1_GLOBAUDIT): Likewise.
35495 (DF_1_SINGLETON): Likewise.
35496 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35497 DT_1_SUPPORTED_MASK bits.
35498 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35499
105ce2ce
CD
355002012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35501
35502 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35503
123be9de
TS
355042012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35505
d072f3f7
TS
35506 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35507 macro.
35508
123be9de
TS
35509 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35510 (sendmmsg): Move declarations...
35511 * socket/sys/socket.h: ... here.
35512 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35513 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35514 include it from...
35515 * socket/recvmmsg.c: ... this new file.
35516 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35517 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35518 definition of __sendmmsg hidden.
35519 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35520 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35521 Move ENOSYS stub into and include it from...
35522 * socket/sendmmsg.c: ... this new file.
35523 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35524 (sysdep_routines): Move recvmmsg and sendmmsg...
35525 * socket/Makefile (routines): ... here.
35526 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35527 (GLIBC_PRIVATE): Add __sendmmsg.
35528 * include/sys/socket.h (__sendmmsg): Add declarations.
35529 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35530 sendmmsg.
35531
cf9a5d18
JM
355322012-11-20 Joseph Myers <joseph@codesourcery.com>
35533
35534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35535 variable I1 with __attribute__ ((unused)).
35536 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35537
ecd4caf9
JM
355382012-11-19 Joseph Myers <joseph@codesourcery.com>
35539
be14d48f
JM
35540 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35541 DUMMY variables with __attribute__ ((unused)).
35542
ecd4caf9
JM
35543 * bits/byteswap.h: Include <bits/types.h>.
35544 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35545
986cab95
PT
355462012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35547
35548 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35549 string_t. Do not manually set errno.
35550 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35551 length with __strnlen. Make sure to both set errno and return it on
35552 failure.
35553
6d33cc9d
DM
355542012-11-19 David S. Miller <davem@davemloft.net>
35555
35556 With help from Joseph Myers.
35557 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35558 very large arguments properly.
35559 * math/libm-test.inc (atan_test): New tests.
35560 (atan2_test): New tests.
35561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35563
ee663277
JM
355642012-11-19 Joseph Myers <joseph@codesourcery.com>
35565
877f2d8e
JM
35566 [BZ #14856]
35567 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35568 Define to 3.
35569
116fc08a
JM
35570 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35571 [POSIX] (EADDRNOTAVAIL): Likewise.
35572 [POSIX] (EAFNOSUPPORT): Likewise.
35573 [POSIX] (EALREADY): Likewise.
35574 [POSIX] (ECONNABORTED): Likewise.
35575 [POSIX] (ECONNREFUSED): Likewise.
35576 [POSIX] (ECONNRESET): Likewise.
35577 [POSIX] (EDESTADDRREQ): Likewise.
35578 [POSIX] (EDQUOT): Likewise.
35579 [POSIX] (EHOSTUNREACH): Likewise.
35580 [POSIX] (EIDRM): Likewise.
35581 [POSIX] (EISCONN): Likewise.
35582 [POSIX] (ELOOP): Likewise.
35583 [POSIX] (EMULTIHOP): Likewise.
35584 [POSIX] (ENETDOWN): Likewise.
35585 [POSIX] (ENETUNREACH): Likewise.
35586 [POSIX] (ENOBUFS): Likewise.
35587 [POSIX] (ENODATA): Likewise.
35588 [POSIX] (ENOLINK): Likewise.
35589 [POSIX] (ENOMSG): Likewise.
35590 [POSIX] (ENOPROTOOPT): Likewise.
35591 [POSIX] (ENOSR): Likewise.
35592 [POSIX] (ENOSTR): Likewise.
35593 [POSIX] (ENOTCONN): Likewise.
35594 [POSIX] (ENOTSOCK): Likewise.
35595 [POSIX] (EOPNOTSUPP): Likewise.
35596 [POSIX] (EOVERFLOW): Likewise.
35597 [POSIX] (EPROTO): Likewise.
35598 [POSIX] (EPROTONOSUPPORT): Likewise.
35599 [POSIX] (EPROTOTYPE): Likewise.
35600 [POSIX] (ESTALE): Likewise.
35601 [POSIX] (ETIME): Likewise.
35602 [POSIX] (ETXTBSY): Likewise.
35603 [POSIX] (EWOULDBLOCK): Likewise.
35604 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35605 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35606 [POSIX] (SEEK_CUR): Likewise.
35607 [POSIX] (SEEK_END): Likewise.
35608 [POSIX || UNIX98] (mode_t): Do not require.
35609 [POSIX] (off_t): Likewise.
35610 [POSIX] (pid_t): Likewise.
35611 [POSIX] (sys/stat.h): Do not allow header.
35612 [POSIX] (unistd.h): Likewise.
35613 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35614 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35615 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35616 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35617 require.
35618 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35619 sigevent): Specify elements.
35620 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35621 entry.
35622 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35623 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35624
a483863f
JM
35625 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35626 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35627 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35628 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35629 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35630 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35631 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35632 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35633 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35634 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35635 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35636 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35637 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35638 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35639 Likewise.
35640 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35641 Likewise.
35642 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35643 Likewise.
35644 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35645 Likewise.
35646 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35647 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35648 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35649 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35650 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35651 Specify lower bound on value.
35652 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35653 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35654 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35655 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35656 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35657 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35658 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35659 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35660 value.
35661 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35662 as optional.
35663 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35664 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35665 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35666 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35667 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35668 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35669 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35670 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35671 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35672 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35673 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35674 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35675 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35676 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35677 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35678 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35679 entry.
35680 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35681 optional.
35682 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35683 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35684 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35685 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35686 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35687 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35688 Likewise.
35689 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35690 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35691 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35692 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35693 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35694 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35695 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35696 as optional.
35697 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35698 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35699 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35700 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35701 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35702 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35703 specify as optional.
35704 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35705 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35706 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35707 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35708 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35709 [XPG3] (NL_LANGMAX): Likewise.
35710 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35711 [POSIX || XPG3] (NL_NMAX): Likewise.
35712 [POSIX || XPG3] (NL_SETMAX): Likewise.
35713 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35714 [XPG3] (NZERO): Likewise.
35715 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35716 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35717 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35718 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35719 (REG_ERANGE): Expect.
35720 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35721 optional-constant.
35722 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35723 Use (void) in prototype.
35724 [POSIX] (*_t): Allow.
35725 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35726 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35727 (WRDE_BADVAL): Expect.
35728
5ba924e3
JM
35729 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35730 expect.
35731 [XPG3 || XPG4] (O_RSYNC): Likewise.
35732 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35733 Likewise.
35734 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35735 [XPG3 || XPG4] (sigqueue): Likewise.
35736 [XPG3 || XPG4] (sigtimedwait): Likewise.
35737 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35738 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35739 [XPG3 || XPG4] (vsnprintf): Likewise.
35740 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35741 Likewise.
35742 [XPG3 || XPG4] (blksize_t): Likewise.
35743 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35744 Likewise.
35745 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35746 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35747 [XPG3 || XPG4] (struct itimerspec): Likewise.
35748 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35749 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35750 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35751 [XPG3 || XPG4] (clockid_t): Likewise.
35752 [XPG3 || XPG4] (timer_t): Likewise.
35753 [XPG3 || XPG4] (clock_getres): Likewise.
35754 [XPG3 || XPG4] (clock_gettime): Likewise.
35755 [XPG3 || XPG4] (clock_settime): Likewise.
35756 [XPG3 || XPG4] (nanosleep): Likewise.
35757 [XPG3 || XPG4] (timer_create): Likewise.
35758 [XPG3 || XPG4] (timer_delete): Likewise.
35759 [XPG3 || XPG4] (timer_gettime): Likewise.
35760 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35761 [XPG3 || XPG4] (timer_settime): Likewise.
35762 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35763 [XPG3 || XPG4] (getlogin_r): Likewise.
35764 [XPG3 || XPG4] (pread): Likewise.
35765 [XPG3 || XPG4] (pthread_atfork): Likewise.
35766 [XPG3 || XPG4] (pwrite): Likewise.
35767
ee663277
JM
35768 [BZ #14835]
35769 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35770 <bits/siginfo.h>.
35771
942caa16
PT
357722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35773
e19af380
PT
35774 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35775 finalizing MALLSTREAM.
35776
942caa16
PT
35777 * sysdeps/mach/hurd/syncfs.c: New file.
35778
cfde9b46
SP
357792012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35780
35781 [BZ #14719]
35782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35783 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35784 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35785 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35786 (_nss_dns_gethostbyname4_r): Likewise.
35787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35788 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35789
f6da27e5
PH
357902012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35791
35792 [BZ #13763]
35793 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35794
6665d4a2
SM
357952012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35796
1f51ee92
SM
35797 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35798 * elf/cache.c (print_entry): Print ",AArch64" for
35799 FLAG_AARCH64_LIB64
35800
6665d4a2
SM
35801 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35802 * elf/cache.c (print_entry): Print ",hard-float" for
35803 FLAG_ARM_LIBHF.
35804
05b227bd
DM
358052012-11-18 David S. Miller <davem@davemloft.net>
35806
35807 With help from Joseph Myers.
35808 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35809 cutoff to 2**-13.
35810 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35811 cutoff to 2**-25.
35812 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35813 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35814 small.
35815 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35816 * math/libm-test.inc (y0_test): New tests.
35817 (y1_test): New tests.
35818 * sysdeps/i386/fpu/libm-test-ulps: Update.
35819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35821
786b0b67
AS
358222012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35823
35824 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35825 64-bit targets.
35826 * configure: Regenerated.
35827
8e18b86d
DM
358282012-11-17 David S. Miller <davem@davemloft.net>
35829
35830 [BZ #14811]
35831 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35832 nonzero exponents with absolute value below 0x1p-128 to +/-
35833 0x1p-128.
35834
531f1ae0
JM
358352012-11-17 Joseph Myers <joseph@codesourcery.com>
35836
12df29e2
JM
35837 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35838
150dc1a0
JM
35839 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35840
531f1ae0
JM
35841 * posix/getconf-speclist.c: New file.
35842 * posix/posix-envs.def: Likewise.
35843 * posix/confstr.c (START_ENV_GROUP): New macro.
35844 (END_ENV_GROUP): Likewise.
35845 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35846 (KNOWN_PRESENT_ENV_STRING): Likewise.
35847 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35848 (UNKNOWN_ENVIRONMENT): Likewise.
35849 (confstr): Include posix-envs.def instead of handling
35850 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35851 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35852 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35853 (END_ENV_GROUP): Likewise.
35854 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35855 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35856 (UNKNOWN_ENVIRONMENT): Likewise.
35857 (__sysconf): Include posix-envs.def instead of handling associated
35858 cases directly here.
35859 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35860 preprocessing getconf-speclist.c rather than running getconf or
35861 generating empty file.
35862
a93f9cbc
PT
358632012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35864
35865 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35866
d64d9f87
AL
358672012-11-16 Andrej Lajovic <natrij@gmail.com>
35868
35869 [BZ #14672]
35870 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35871
447885eb
DM
358722012-11-16 David S. Miller <davem@davemloft.net>
35873
35874 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35875 smaller than LDBL_EPSILON/2.0L, just return xm1.
35876
bcbf9830
L
358772012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35878
35879 * elf/tst-array1.c (init): Set constructor priority to 1000.
35880 (fini): Set destructor priority to 1000.
35881 * elf/tst-array2dep.c: Likewise.
35882
2b766585
SP
358832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35884
35885 [BZ #11741]
35886 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35887 (_IO_new_file_xsputn): Also return EOF if none of the input
35888 data was written when overflow failed.
35889 * libio/iopadn.c (_IO_padn): Likewise.
35890 * libio/iowpadn.c (_IO_wpadn): Likewise.
35891 * stdio-common/tst-put-error.c: Add copyright notice.
35892 (do_test): Add case for printing padded string.
35893 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35894 _IO_padn returned error.
35895 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35896 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35897 return EOF.
35898
b1848fde
SP
358992012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35900
35901 * libio/libioP.h: Add comment note that the references to C++
35902 bits are now obsolete.
35903
2fd89785
MS
359042012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35905
35906 * math/libm-test.inc (check_complex): Use asprintf.
35907
e3ea5409
JM
359082012-11-14 Joseph Myers <joseph@codesourcery.com>
35909
35910 * debug/pcprofiledump.c (print_version): Update copyright year.
35911 * malloc/memusagestat.c (print_version): Likewise.
35912
2e64d265
L
359132012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35914
35915 [BZ #14831]
35916 * elf/Makefile (tests): Add tst-audit8.
35917 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35918 ($(objpfx)tst-audit8.out): New target.
35919 (tst-audit8-ENV): New variable.
35920 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35921 audit if l_reloc_result is NULL.
35922 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35923 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35924 * elf/tst-audit8.c: New file.
35925
c485e4d2
MS
359262012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35927
35928 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35929 * misc/Makefile (CFLAGS-select.c): Define.
35930 * posix/Makefile (CFLAGS-pause.c): Define.
35931
3a0d900a
DM
359322012-11-13 David S. Miller <davem@davemloft.net>
35933
35934 * crypt/Makefile: Move test targets after toplevel Rules
35935 inclusion. Grab any necessary sysdep routines when linking.
35936 * crypt/md5.c (md5_process_block): Remove define, we will always
35937 name it __md5_process_block.
35938 (md5_finish_ctx): Update md5_process_block call.
35939 (md5_stream): Likewise.
35940 (md5_process_bytes): Likewise.
35941 (md5_process_block): Rename to __md5_process_block and move to ...
35942 * crypt/md5-block.c: ... here.
35943 * crypt/sha256.c (sha256_process_block): Move to ...
35944 * crypt/sha256-block.c: ... here.
35945 * crypt/sha512.c (sha512_process_block): Move to ...
35946 * crypt/sha512-block.c: ... here.
35947 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35948 path.
35949 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35950 * sysdeps/sparc/sparc64/multiarch/Makefile
35951 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35952 crypt subdir.
35953 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35955 multiarch changes.
35956 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35957 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35958 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35959 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35960 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35961 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35962 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35963 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35965 file.
35966 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35968 file.
35969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35970
8ca89318
JM
359712012-11-13 Joseph Myers <joseph@codesourcery.com>
35972
e27d476a
JM
35973 * timezone/tzselect.ksh: Update from tzcode git revision
35974 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35975 * timezone/zdump.c: Likewise.
35976 * timezone/zic.c: Likewise.
35977 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35978 in TZVERSION setting, not $(PKGVERSION).
35979 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35980 REPORT_BUGS_TO settings.
35981
8ca89318
JM
35982 [BZ #14838]
35983 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35984 macro.
35985
47594329
MS
359862012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35987
35988 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35989 detection to immediately after _FP_ROUND().
35990 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35991 bits are 0.
35992
640ac3f1
DM
359932012-11-11 David S. Miller <davem@davemloft.net>
35994
35995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35996 inttypes.h
35997 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35998 __close rather than their public counterparts.
35999
3d2577bb
JM
360002012-11-10 Joseph Myers <joseph@codesourcery.com>
36001
36002 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36003 file.
36004 [UNIX98] (sem_timedwait): Do not expect.
36005 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36006 [XPG4 || UNIX98] (sockatmark): Do not expect.
36007 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36008 (clock_getcpuclockid): Do not expect.
36009 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36010 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36011 Do not expect.
36012 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36013 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36014 [UNIX98] (vwscanf): Likewise.
36015 [UNIX98] (vswscanf): Likewise.
36016
fb1ae1ee
JM
360172012-11-09 Joseph Myers <joseph@codesourcery.com>
36018
9ec6f8bd
JM
36019 * timezone/version.h: Remove file.
36020 * timezone/README: Do not refer to version.h.
36021 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36022 $(objpfx)version.h.
36023 ($(objpfx)zdump.o): Likewise.
c3f81911 36024 ($(objpfx)version.h): New target.
9ec6f8bd 36025
0aa8f8a1
JM
36026 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36027 2012i.
36028 * timezone/README: Don't mention modification to tzselect.ksh.
36029 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36030 work on unmodified tzselect.ksh. Substitute version numbers in
36031 tzselect.ksh.
36032
4e87147f
JM
36033 * Makefile (format-me): Remove.
36034 (INSTALL): Adjust indentation. Use commands directly instead of
36035 using $(format-me).
36036
8b748aed
JM
36037 * aclocal.m4 (ACX_PKGVERSION): New macro.
36038 (ACX_BUGURL): Likewise.
36039 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36040 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36041 (REPORT_BUGS_TO): Likewise.
36042 * configure: Regenerated.
36043 * config.h.in (PKGVERSION): New macro.
36044 (REPORT_BUGS_TO): Likewise.
36045 * config.make.in (PKGVERSION): New variable.
36046 (PKGVERSION_TEXI): Likewise.
36047 (REPORT_BUGS_TO): Likewise.
36048 (REPORT_BUGS_TEXI): Likewise.
36049 * Makefile (format-me): Use -I$(common-objpfx)manual.
36050 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36051 ($(common-objpfx)manual/%): New target.
36052 (manual/%): Remove target.
36053 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36054 (print_version): Use PKGVERSION.
36055 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36056 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36057 and REPORT_BUGS_TO.
36058 ($(objpfx)xtrace): Likewise.
36059 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36060 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36061 (print_version): Use PKGVERSION.
36062 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36063 (do_version): Use PKGVERSION.
36064 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36065 REPORT_BUGS_TO.
36066 (common-ldd-rewrite): Likewise.
36067 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36068 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36069 (print_version): Use PKGVERSION.
36070 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36071 * elf/pldd.c (argp_program_bug_address): Remove variable.
36072 (more_help): New function.
36073 (argp): Use more_help.
36074 (print_version): Use PKGVERSION.
36075 * elf/sln.c (main): Use PKGVERSION.
36076 (usage): Use REPORT_BUGS_TO.
36077 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36078 (top level): Use PKGVERSION.
36079 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36080 (print_version): Use PKGVERSION.
36081 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36082 (print_version): Use PKGVERSION.
36083 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36084 (print_version): Use PKGVERSION.
36085 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36086 (print_version): Use PKGVERSION.
36087 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36088 (print_version): Use PKGVERSION.
36089 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36090 (print_version): Use PKGVERSION.
36091 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36092 and BUGURL.
36093 ($(objpfx)memusage): Likewise.
36094 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36095 (do_version): Use PKGVERSION.
36096 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36097 (print_version): Use PKGVERSION.
36098 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36099 ($PKGVERSION): New variable.
36100 ($REPORT_BUGS_TO): Likewise.
36101 (usage): Use $REPORT_BUGS_TO.
36102 (top level): Use $PKGVERSION.
36103 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36104 ($(objpfx)pkgvers.texi): New rule.
36105 ($(objpfx)stamp-pkgvers): Likewise.
36106 * manual/install.texi: Include pkgvers.texi.
36107 (--with-pkgversion): Document new configure option.
36108 (--with-bugurl): Likewise.
36109 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36110 than necessarily for this particular distribution. Use
36111 REPORT_BUGS_TO for where to report bugs.
36112 * INSTALL: Regenerated.
36113 * manual/libc.texinfo: Include pkgvers.texi.
36114 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36115 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36116 (print_version): Use PKGVERSION.
36117 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36118 (print_version): Use PKGVERSION.
36119 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36120 (print_version): Use PKGVERSION.
36121 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36122 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36123 macro.
36124 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36125 (print_version): Use PKGVERSION.
36126 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36127 (print_version): Use PKGVERSION.
36128 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36129 and PKGVERSION.
36130
92e4b6a9
JM
36131 * timezone/checktab.awk: Update from tzcode 2012i.
36132 * timezone/ialloc.c: Likewise.
36133 * timezone/private.h: Likewise.
36134 * timezone/scheck.c: Likewise.
36135 * timezone/tzfile.h: Likewise.
36136 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36137 (TZVERSION): Hardcode tzcode version number.
36138 * timezone/zdump.c: Update from tzcode 2012i.
36139 * timezone/zic.c: Likewise.
36140 * timezone/version.h: New file.
36141 * timezone/README: Describe version.h. Update upstream location.
36142
9bde902c
JM
36143 [BZ #14824]
36144 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36145 (mktemp): Enable declaration.
36146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36150 Likewise.
36151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36152 Likewise.
36153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36154 Likewise.
36155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36156 Likewise.
36157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36158 Likewise.
36159 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36160 Likewise.
36161
fb1ae1ee
JM
36162 [BZ #14821]
36163 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36164 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36165 for copies of such integer values.
36166 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36167 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36168
2c1adbcb
AJ
361692012-11-09 Andreas Jaeger <aj@suse.de>
36170
36171 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36172 definitions and declarations that are provided by
36173 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36174
d0f8457e
AK
361752012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36176
3a235abb 36177 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
36178 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36179 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36180 definition.
36181
57241e26
MS
361822012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36183
36184 * elf/elf.h: Update comment before AArch64 relocations.
36185
60e8270d
DM
361862012-11-07 David S. Miller <davem@davemloft.net>
36187
36188 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36189 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36190 (__start_context): Declare.
36191 (__makecontext_ret): Delete.
36192 (__makecontext): Hook up __start_context instead of
36193 __makecontext_ret.
36194 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36195 (sysdep_routines): Add __start_context when in stdlib.
36196
0fbb0fbc
JM
361972012-11-07 Joseph Myers <joseph@codesourcery.com>
36198
36199 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36200 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36201 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36202 hardcoded "nm".
36203 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36204 (READELF): New variable. Use it instead of hardcoded "readelf".
36205
eb48db7e
L
362062012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36207
36208 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36209 * sysdeps/x86/Makefile: Here.
36210 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36211 * sysdeps/x86/tst-xmmymm.sh: This.
36212
05bcf62a
JM
362132012-11-07 Joseph Myers <joseph@codesourcery.com>
36214
c4b6cf53
JM
36215 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36216 expectations.
36217 [UNIX98] (pthread_barrier_t): Do not expect.
36218 [UNIX98] (pthread_barrierattr_t): Likewise.
36219 [UNIX98] (pthread_spinlock_t): Likewise.
36220 [UNIX98] (pthread_barrier_destroy): Likewise.
36221 [UNIX98] (pthread_barrier_init): Likewise.
36222 [UNIX98] (pthread_barrier_wait): Likewise.
36223 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36224 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36225 [UNIX98] (pthread_barrierattr_init): Likewise.
36226 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36227 [UNIX98] (pthread_getcpuclockid): Likewise.
36228 [UNIX98] (pthread_mutex_timedlock): Likewise.
36229 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36230 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36231 [UNIX98] (pthread_sigmask): Likewise.
36232 [UNIX98] (pthread_spin_destroy): Likewise.
36233 [UNIX98] (pthread_spin_init): Likewise.
36234 [UNIX98] (pthread_spin_lock): Likewise.
36235 [UNIX98] (pthread_spin_trylock): Likewise.
36236 [UNIX98] (pthread_spin_unlock): Likewise.
36237 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36238 Do not expect.
36239 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36240 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36241 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36242 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36243 [XPG3 || XPG4] (pthread_key_t): Likewise.
36244 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36245 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36246 [XPG3 || XPG4] (pthread_once_t): Likewise.
36247 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36248 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36249 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36250 [XPG3 || XPG4] (pthread_t): Likewise.
36251
cbe6e120
JM
36252 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36253 not expect.
36254 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36255
1b126443
JM
36256 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36257 Change function return type to int.
36258
b961a573
JM
36259 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36260 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36261 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36262 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36263 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36264 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36265 [!POSIX] (posix_madvise): Likewise.
36266 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36267 && !UNIX98].
36268 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36269 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36270 (mode_t): Likewise.
36271 (posix_mem_offset): Likewise.
36272 (posix_typed_mem_get_info): Likewise.
36273 (posix_typed_mem_open): Likewise.
36274
9e188909
JM
36275 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36276 Change condition to [XOPEN2K8].
36277
05bcf62a
JM
36278 * conform/conformtest.pl: Preprocess allow-header data with -x c
36279 instead of from stdin.
36280 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36281 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36282 [C99-based standards] (cerfc): Likewise.
36283 [C99-based standards] (cexp2): Likewise.
36284 [C99-based standards] (cexpm1): Likewise.
36285 [C99-based standards] (clog10): Likewise.
36286 [C99-based standards] (clog1p): Likewise.
36287 [C99-based standards] (clog2): Likewise.
36288 [C99-based standards] (clgamma): Likewise.
36289 [C99-based standards] (ctgamma): Likewise.
36290 [C99-based standards] (cerff): Likewise.
36291 [C99-based standards] (cerfcf): Likewise.
36292 [C99-based standards] (cexp2f): Likewise.
36293 [C99-based standards] (cexpm1f): Likewise.
36294 [C99-based standards] (clog10f): Likewise.
36295 [C99-based standards] (clog1pf): Likewise.
36296 [C99-based standards] (clog2f): Likewise.
36297 [C99-based standards] (clgammaf): Likewise.
36298 [C99-based standards] (ctgammaf): Likewise.
36299 [C99-based standards] (cerfl): Likewise.
36300 [C99-based standards] (cerfcl): Likewise.
36301 [C99-based standards] (cexp2l): Likewise.
36302 [C99-based standards] (cexpm1l): Likewise.
36303 [C99-based standards] (clog10l): Likewise.
36304 [C99-based standards] (clog1pl): Likewise.
36305 [C99-based standards] (clog2l): Likewise.
36306 [C99-based standards] (clgammal): Likewise.
36307 [C99-based standards] (ctgammal): Likewise.
36308 * conform/data/inttypes.h-data [C99-based standards]: Include
36309 stdint.h-data. Remove all expectations for stdint.h contents.
36310 [C99-based standards] (PRI*): Do not allow.
36311 [C99-based standards] (SCN*): Likewise.
36312 [C99-based standards] (*_t): Likewise.
36313 [C99-based-standards] (PRId8): Expect macro.
36314 [C99-based-standards] (PRIi8): Likewise.
36315 [C99-based-standards] (PRIo8): Likewise.
36316 [C99-based-standards] (PRIu8): Likewise.
36317 [C99-based-standards] (PRIx8): Likewise.
36318 [C99-based-standards] (PRIX8): Likewise.
36319 [C99-based-standards] (SCNd8): Likewise.
36320 [C99-based-standards] (SCNi8): Likewise.
36321 [C99-based-standards] (SCNo8): Likewise.
36322 [C99-based-standards] (SCNu8): Likewise.
36323 [C99-based-standards] (SCNx8): Likewise.
36324 [C99-based-standards] (PRIdLEAST8): Likewise.
36325 [C99-based-standards] (PRIiLEAST8): Likewise.
36326 [C99-based-standards] (PRIoLEAST8): Likewise.
36327 [C99-based-standards] (PRIuLEAST8): Likewise.
36328 [C99-based-standards] (PRIxLEAST8): Likewise.
36329 [C99-based-standards] (PRIXLEAST8): Likewise.
36330 [C99-based-standards] (SCNdLEAST8): Likewise.
36331 [C99-based-standards] (SCNiLEAST8): Likewise.
36332 [C99-based-standards] (SCNoLEAST8): Likewise.
36333 [C99-based-standards] (SCNuLEAST8): Likewise.
36334 [C99-based-standards] (SCNxLEAST8): Likewise.
36335 [C99-based-standards] (PRIdFAST8): Likewise.
36336 [C99-based-standards] (PRIiFAST8): Likewise.
36337 [C99-based-standards] (PRIoFAST8): Likewise.
36338 [C99-based-standards] (PRIuFAST8): Likewise.
36339 [C99-based-standards] (PRIxFAST8): Likewise.
36340 [C99-based-standards] (PRIXFAST8): Likewise.
36341 [C99-based-standards] (SCNdFAST8): Likewise.
36342 [C99-based-standards] (SCNiFAST8): Likewise.
36343 [C99-based-standards] (SCNoFAST8): Likewise.
36344 [C99-based-standards] (SCNuFAST8): Likewise.
36345 [C99-based-standards] (SCNxFAST8): Likewise.
36346 [C99-based-standards] (PRId16): Likewise.
36347 [C99-based-standards] (PRIi16): Likewise.
36348 [C99-based-standards] (PRIo16): Likewise.
36349 [C99-based-standards] (PRIu16): Likewise.
36350 [C99-based-standards] (PRIx16): Likewise.
36351 [C99-based-standards] (PRIX16): Likewise.
36352 [C99-based-standards] (SCNd16): Likewise.
36353 [C99-based-standards] (SCNi16): Likewise.
36354 [C99-based-standards] (SCNo16): Likewise.
36355 [C99-based-standards] (SCNu16): Likewise.
36356 [C99-based-standards] (SCNx16): Likewise.
36357 [C99-based-standards] (PRIdLEAST16): Likewise.
36358 [C99-based-standards] (PRIiLEAST16): Likewise.
36359 [C99-based-standards] (PRIoLEAST16): Likewise.
36360 [C99-based-standards] (PRIuLEAST16): Likewise.
36361 [C99-based-standards] (PRIxLEAST16): Likewise.
36362 [C99-based-standards] (PRIXLEAST16): Likewise.
36363 [C99-based-standards] (SCNdLEAST16): Likewise.
36364 [C99-based-standards] (SCNiLEAST16): Likewise.
36365 [C99-based-standards] (SCNoLEAST16): Likewise.
36366 [C99-based-standards] (SCNuLEAST16): Likewise.
36367 [C99-based-standards] (SCNxLEAST16): Likewise.
36368 [C99-based-standards] (PRIdFAST16): Likewise.
36369 [C99-based-standards] (PRIiFAST16): Likewise.
36370 [C99-based-standards] (PRIoFAST16): Likewise.
36371 [C99-based-standards] (PRIuFAST16): Likewise.
36372 [C99-based-standards] (PRIxFAST16): Likewise.
36373 [C99-based-standards] (PRIXFAST16): Likewise.
36374 [C99-based-standards] (SCNdFAST16): Likewise.
36375 [C99-based-standards] (SCNiFAST16): Likewise.
36376 [C99-based-standards] (SCNoFAST16): Likewise.
36377 [C99-based-standards] (SCNuFAST16): Likewise.
36378 [C99-based-standards] (SCNxFAST16): Likewise.
36379 [C99-based-standards] (PRId32): Likewise.
36380 [C99-based-standards] (PRIi32): Likewise.
36381 [C99-based-standards] (PRIo32): Likewise.
36382 [C99-based-standards] (PRIu32): Likewise.
36383 [C99-based-standards] (PRIx32): Likewise.
36384 [C99-based-standards] (PRIX32): Likewise.
36385 [C99-based-standards] (SCNd32): Likewise.
36386 [C99-based-standards] (SCNi32): Likewise.
36387 [C99-based-standards] (SCNo32): Likewise.
36388 [C99-based-standards] (SCNu32): Likewise.
36389 [C99-based-standards] (SCNx32): Likewise.
36390 [C99-based-standards] (PRIdLEAST32): Likewise.
36391 [C99-based-standards] (PRIiLEAST32): Likewise.
36392 [C99-based-standards] (PRIoLEAST32): Likewise.
36393 [C99-based-standards] (PRIuLEAST32): Likewise.
36394 [C99-based-standards] (PRIxLEAST32): Likewise.
36395 [C99-based-standards] (PRIXLEAST32): Likewise.
36396 [C99-based-standards] (SCNdLEAST32): Likewise.
36397 [C99-based-standards] (SCNiLEAST32): Likewise.
36398 [C99-based-standards] (SCNoLEAST32): Likewise.
36399 [C99-based-standards] (SCNuLEAST32): Likewise.
36400 [C99-based-standards] (SCNxLEAST32): Likewise.
36401 [C99-based-standards] (PRIdFAST32): Likewise.
36402 [C99-based-standards] (PRIiFAST32): Likewise.
36403 [C99-based-standards] (PRIoFAST32): Likewise.
36404 [C99-based-standards] (PRIuFAST32): Likewise.
36405 [C99-based-standards] (PRIxFAST32): Likewise.
36406 [C99-based-standards] (PRIXFAST32): Likewise.
36407 [C99-based-standards] (SCNdFAST32): Likewise.
36408 [C99-based-standards] (SCNiFAST32): Likewise.
36409 [C99-based-standards] (SCNoFAST32): Likewise.
36410 [C99-based-standards] (SCNuFAST32): Likewise.
36411 [C99-based-standards] (SCNxFAST32): Likewise.
36412 [C99-based-standards] (PRId64): Likewise.
36413 [C99-based-standards] (PRIi64): Likewise.
36414 [C99-based-standards] (PRIo64): Likewise.
36415 [C99-based-standards] (PRIu64): Likewise.
36416 [C99-based-standards] (PRIx64): Likewise.
36417 [C99-based-standards] (PRIX64): Likewise.
36418 [C99-based-standards] (SCNd64): Likewise.
36419 [C99-based-standards] (SCNi64): Likewise.
36420 [C99-based-standards] (SCNo64): Likewise.
36421 [C99-based-standards] (SCNu64): Likewise.
36422 [C99-based-standards] (SCNx64): Likewise.
36423 [C99-based-standards] (PRIdLEAST64): Likewise.
36424 [C99-based-standards] (PRIiLEAST64): Likewise.
36425 [C99-based-standards] (PRIoLEAST64): Likewise.
36426 [C99-based-standards] (PRIuLEAST64): Likewise.
36427 [C99-based-standards] (PRIxLEAST64): Likewise.
36428 [C99-based-standards] (PRIXLEAST64): Likewise.
36429 [C99-based-standards] (SCNdLEAST64): Likewise.
36430 [C99-based-standards] (SCNiLEAST64): Likewise.
36431 [C99-based-standards] (SCNoLEAST64): Likewise.
36432 [C99-based-standards] (SCNuLEAST64): Likewise.
36433 [C99-based-standards] (SCNxLEAST64): Likewise.
36434 [C99-based-standards] (PRIdFAST64): Likewise.
36435 [C99-based-standards] (PRIiFAST64): Likewise.
36436 [C99-based-standards] (PRIoFAST64): Likewise.
36437 [C99-based-standards] (PRIuFAST64): Likewise.
36438 [C99-based-standards] (PRIxFAST64): Likewise.
36439 [C99-based-standards] (PRIXFAST64): Likewise.
36440 [C99-based-standards] (SCNdFAST64): Likewise.
36441 [C99-based-standards] (SCNiFAST64): Likewise.
36442 [C99-based-standards] (SCNoFAST64): Likewise.
36443 [C99-based-standards] (SCNuFAST64): Likewise.
36444 [C99-based-standards] (SCNxFAST64): Likewise.
36445 [C99-based-standards] (PRIdMAX): Likewise.
36446 [C99-based-standards] (PRIiMAX): Likewise.
36447 [C99-based-standards] (PRIoMAX): Likewise.
36448 [C99-based-standards] (PRIuMAX): Likewise.
36449 [C99-based-standards] (PRIxMAX): Likewise.
36450 [C99-based-standards] (PRIXMAX): Likewise.
36451 [C99-based-standards] (SCNdMAX): Likewise.
36452 [C99-based-standards] (SCNiMAX): Likewise.
36453 [C99-based-standards] (SCNoMAX): Likewise.
36454 [C99-based-standards] (SCNuMAX): Likewise.
36455 [C99-based-standards] (SCNxMAX): Likewise.
36456 [C99-based-standards] (PRIdPTR): Likewise.
36457 [C99-based-standards] (PRIiPTR): Likewise.
36458 [C99-based-standards] (PRIoPTR): Likewise.
36459 [C99-based-standards] (PRIuPTR): Likewise.
36460 [C99-based-standards] (PRIxPTR): Likewise.
36461 [C99-based-standards] (PRIXPTR): Likewise.
36462 [C99-based-standards] (SCNdPTR): Likewise.
36463 [C99-based-standards] (SCNiPTR): Likewise.
36464 [C99-based-standards] (SCNoPTR): Likewise.
36465 [C99-based-standards] (SCNuPTR): Likewise.
36466 [C99-based-standards] (SCNxPTR): Likewise.
36467 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36468 allow.
36469 * conform/data/stdint.h-data: Update comments to clarify
36470 requirements.
36471 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36472 type.
36473 [C99-based standards] (INT8_MAX): Likewise.
36474 [C99-based standards] (INT16_MIN): Likewise.
36475 [C99-based standards] (INT16_MAX): Likewise.
36476 [C99-based standards] (INT32_MIN): Likewise.
36477 [C99-based standards] (INT32_MAX): Likewise.
36478 [C99-based standards] (INT64_MIN): Likewise.
36479 [C99-based standards] (INT64_MAX): Likewise.
36480 [C99-based standards] (UINT8_MAX): Likewise.
36481 [C99-based standards] (UINT16_MAX): Likewise.
36482 [C99-based standards] (UINT32_MAX): Likewise.
36483 [C99-based standards] (UINT64_MAX): Likewise.
36484 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36485 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36486 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36487 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36488 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36489 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36490 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36491 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36492 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36493 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36494 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36495 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36496 [C99-based standards] (INT_FAST8_MIN): Likewise.
36497 [C99-based standards] (INT_FAST8_MAX): Likewise.
36498 [C99-based standards] (INT_FAST16_MIN): Likewise.
36499 [C99-based standards] (INT_FAST16_MAX): Likewise.
36500 [C99-based standards] (INT_FAST32_MIN): Likewise.
36501 [C99-based standards] (INT_FAST32_MAX): Likewise.
36502 [C99-based standards] (INT_FAST64_MIN): Likewise.
36503 [C99-based standards] (INT_FAST64_MAX): Likewise.
36504 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36505 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36506 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36507 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36508 [C99-based standards] (INTPTR_MIN): Likewise.
36509 [C99-based standards] (INTPTR_MAX): Likewise.
36510 [C99-based standards] (UINTPTR_MAX): Likewise.
36511 [C99-based standards] (INTMAX_MIN): Likewise.
36512 [C99-based standards] (INTMAX_MAX): Likewise.
36513 [C99-based standards] (UINTMAX_MAX): Likewise.
36514 [C99-based standards] (PTRDIFF_MIN): Likewise.
36515 [C99-based standards] (PTRDIFF_MAX): Likewise.
36516 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36517 [C99-based standards] (SIZE_MAX): Likewise.
36518 [C99-based standards] (WCHAR_MAX): Likewise.
36519 [C99-based standards] (WINT_MAX): Likewise.
36520 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36521 constraint on value.
36522 [C99-based standards] (WCHAR_MIN): Likewise.
36523 [C99-based standards] (WINT_MIN): Likewise.
36524 [C99-based standards] (*_t): Allow.
36525 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36526 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36527 Include math.h-data and complex.h-data. Remove all expectations
36528 of math.h and complex.h contents.
36529 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36530 at end of line.
36531 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36532 (struct tm): Expect tag.
36533 [C99-based-standards] (wcstof): Expect function.
36534 [C99-based-standards] (wcstold): Likewise.
36535 [C99-based-standards] (wcstoll): Likewise.
36536 [C99-based-standards] (wcstoull): Likewise.
36537 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36538 macro-int-constant. Specify type.
36539 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36540 constraint on value.
36541 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36542 Specify type.
36543 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36544 Specify value.
36545 [ISO C standards]: Do not allow headers.
36546 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36547 wcs[abcdefghijklmnopqrstuvwxyz]*.
36548 [ISO C standards] (*_t): Do not allow.
36549 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36550 Expect function.
36551 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36552 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36553 Specify type.
36554 [ISO C standards]: Do not allow headers.
36555 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36556 is[abcdefghijklmnopqrstuvwxyz]*.
36557 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36558 to[abcdefghijklmnopqrstuvwxyz]*.
36559 [ISO C standards] (*_t): Do not allow.
36560 * conform/data/stdalign.h-data: New file.
36561 * conform/data/stdbool.h-data: Likewise.
36562 * conform/data/stdnoreturn.h-data: Likewise.
36563
7514feb8
RM
365642012-11-07 Roland McGrath <roland@hack.frob.com>
36565
36566 [BZ #14815]
36567 * manual/filesys.texi (Directory Entries): Typo fix.
36568 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36569
19b2ecfc
MS
365702012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36571
36572 * elf/elf.h (EM_AARCH64): New macro.
36573 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36574 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36575 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36576 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36577 (R_AARCH64_TLSDESC): Likewise.
36578 (NT_ARM_TLS): Likewise.
36579 (NT_ARM_HW_BREAK): Likewise.
36580 (NT_ARM_HW_WATCH): Likewise.
36581
60e235ee
JM
365822012-11-07 Joseph Myers <joseph@codesourcery.com>
36583
36584 [BZ #14811]
36585 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36586 (__ieee754_powl): Saturate nonzero exponents with absolute value
36587 below 0x1p-79 to +/- 0x1p-79.
36588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36589 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36590 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36591 nonzero exponents with absolute value below 0x1p-32 to +/-
36592 0x1p-32.
36593 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36594 (__ieee754_powl): Saturate nonzero exponents with absolute value
36595 below 0x1p-79 to +/- 0x1p-79.
36596 * math/libm-test.inc (pow_test): Add more tests.
36597
0ab234b7
AK
365982012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36599
36600 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36601 _dl_s390_cap_flags with kernel. Increase string length.
36602 (_dl_s390_platforms): Add z196 and zEC12.
36603
45832f74
JM
366042012-11-07 Joseph Myers <joseph@codesourcery.com>
36605
36606 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36607 Change XOPEN21K to XOPEN2K.
36608
19218757
MK
366092012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36610
36611 * string/memmove.c: Use memcpy when possible.
36612
c5f45721
AJ
366132012-11-06 Andreas Jaeger <aj@suse.de>
36614
36615 * po/eo.po: Update from translation team.
36616
82477c28
JM
366172012-11-06 Joseph Myers <joseph@codesourcery.com>
36618
36619 [BZ #14793]
36620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36621 exponent and small x and y exponents, scale x or y up. Increase
36622 by 2 the exponent used in scaling up.
36623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36625 * math/libm-test.inc (fma_test): Add more tests.
36626 (fma_test_towardzero): Likewise.
36627 (fma_test_downward): Likewise.
36628 (fma_test_upward): Likewise.
36629
99252c8c
JM
366302012-11-05 Joseph Myers <joseph@codesourcery.com>
36631
acfa885f
JM
36632 [BZ #14805]
36633 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36634 fenv_t *.
36635
99252c8c
JM
36636 [BZ #14801]
36637 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36638 namespace for names of struct fields.
36639 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36640 fenv_t fields.
36641 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36642 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36643
d6d98dea
ST
366442012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36645
36646 [BZ #3665]
36647 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36648
e10bb107
TS
366492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36650
36651 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36652 PTR_DEMANGLE.
36653
36654 [BZ #5246]
36655 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36656 PTR_DEMANGLE.
36657
a0c2940d
JM
366582012-11-04 Joseph Myers <joseph@codesourcery.com>
36659
36660 [BZ #14797]
36661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36662 definitely overflow as x * y not x * y + z.
36663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36665 * math/libm-test.inc (fma_test): Add more tests.
36666 (fma_test_towardzero): Likewise.
36667 (fma_test_downward): Likewise.
36668 (fma_test_upward): Likewise.
36669
b830319d
TS
366702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36671
36672 [BZ #157]
36673
36674 * include/stub-tag.h: Remove file.
36675 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36676 '#include' of it.
36677 * manual/maint.texi (Porting): Don't reference it.
36678 * Makerules ($(objpfx)stubs): Likewise.
36679 * dirent/closedir.c: Don't include <stub-tag.h>.
36680 * dirent/dirfd.c: Likewise.
36681 * dirent/fdopendir.c: Likewise.
36682 * dirent/getdents.c: Likewise.
36683 * dirent/getdents64.c: Likewise.
36684 * dirent/opendir.c: Likewise.
36685 * dirent/readdir.c: Likewise.
36686 * dirent/readdir64.c: Likewise.
36687 * dirent/readdir64_r.c: Likewise.
36688 * dirent/readdir_r.c: Likewise.
36689 * dirent/rewinddir.c: Likewise.
36690 * dirent/seekdir.c: Likewise.
36691 * dirent/telldir.c: Likewise.
36692 * gmon/profil.c: Likewise.
36693 * grp/setgroups.c: Likewise.
36694 * inet/if_index.c: Likewise.
36695 * io/access.c: Likewise.
36696 * io/chdir.c: Likewise.
36697 * io/chmod.c: Likewise.
36698 * io/chown.c: Likewise.
36699 * io/close.c: Likewise.
36700 * io/dup.c: Likewise.
36701 * io/dup2.c: Likewise.
36702 * io/dup3.c: Likewise.
36703 * io/euidaccess.c: Likewise.
36704 * io/faccessat.c: Likewise.
36705 * io/fchdir.c: Likewise.
36706 * io/fchmod.c: Likewise.
36707 * io/fchmodat.c: Likewise.
36708 * io/fchown.c: Likewise.
36709 * io/fchownat.c: Likewise.
36710 * io/fcntl.c: Likewise.
36711 * io/flock.c: Likewise.
36712 * io/fstatfs.c: Likewise.
36713 * io/fstatfs64.c: Likewise.
36714 * io/fstatvfs.c: Likewise.
36715 * io/fstatvfs64.c: Likewise.
36716 * io/futimens.c: Likewise.
36717 * io/fxstat.c: Likewise.
36718 * io/fxstat64.c: Likewise.
36719 * io/fxstatat.c: Likewise.
36720 * io/fxstatat64.c: Likewise.
36721 * io/getcwd.c: Likewise.
36722 * io/isatty.c: Likewise.
36723 * io/lchmod.c: Likewise.
36724 * io/lchown.c: Likewise.
36725 * io/link.c: Likewise.
36726 * io/linkat.c: Likewise.
36727 * io/lseek.c: Likewise.
36728 * io/lseek64.c: Likewise.
36729 * io/lxstat64.c: Likewise.
36730 * io/mkdir.c: Likewise.
36731 * io/mkdirat.c: Likewise.
36732 * io/mkfifo.c: Likewise.
36733 * io/mkfifoat.c: Likewise.
36734 * io/open.c: Likewise.
36735 * io/open64.c: Likewise.
36736 * io/openat.c: Likewise.
36737 * io/openat64.c: Likewise.
36738 * io/pipe.c: Likewise.
36739 * io/pipe2.c: Likewise.
36740 * io/poll.c: Likewise.
36741 * io/posix_fadvise.c: Likewise.
36742 * io/posix_fadvise64.c: Likewise.
36743 * io/posix_fallocate.c: Likewise.
36744 * io/posix_fallocate64.c: Likewise.
36745 * io/read.c: Likewise.
36746 * io/readlink.c: Likewise.
36747 * io/readlinkat.c: Likewise.
36748 * io/rmdir.c: Likewise.
36749 * io/sendfile.c: Likewise.
36750 * io/sendfile64.c: Likewise.
36751 * io/statfs.c: Likewise.
36752 * io/statfs64.c: Likewise.
36753 * io/statvfs.c: Likewise.
36754 * io/statvfs64.c: Likewise.
36755 * io/symlink.c: Likewise.
36756 * io/symlinkat.c: Likewise.
36757 * io/ttyname.c: Likewise.
36758 * io/ttyname_r.c: Likewise.
36759 * io/umask.c: Likewise.
36760 * io/unlink.c: Likewise.
36761 * io/unlinkat.c: Likewise.
36762 * io/utime.c: Likewise.
36763 * io/utimensat.c: Likewise.
36764 * io/write.c: Likewise.
36765 * io/xmknod.c: Likewise.
36766 * io/xmknodat.c: Likewise.
36767 * io/xstat.c: Likewise.
36768 * io/xstat64.c: Likewise.
36769 * login/getpt.c: Likewise.
36770 * login/grantpt.c: Likewise.
36771 * login/unlockpt.c: Likewise.
36772 * math/e_acoshl.c: Likewise.
36773 * math/e_acosl.c: Likewise.
36774 * math/e_asinl.c: Likewise.
36775 * math/e_atan2l.c: Likewise.
36776 * math/e_atanhl.c: Likewise.
36777 * math/e_coshl.c: Likewise.
36778 * math/e_expl.c: Likewise.
36779 * math/e_fmodl.c: Likewise.
36780 * math/e_gammal_r.c: Likewise.
36781 * math/e_hypotl.c: Likewise.
36782 * math/e_j0l.c: Likewise.
36783 * math/e_j1l.c: Likewise.
36784 * math/e_jnl.c: Likewise.
36785 * math/e_lgammal_r.c: Likewise.
36786 * math/e_log10l.c: Likewise.
36787 * math/e_log2l.c: Likewise.
36788 * math/e_logl.c: Likewise.
36789 * math/e_powl.c: Likewise.
36790 * math/e_rem_pio2l.c: Likewise.
36791 * math/e_sinhl.c: Likewise.
36792 * math/e_sqrtl.c: Likewise.
36793 * math/fclrexcpt.c: Likewise.
36794 * math/fedisblxcpt.c: Likewise.
36795 * math/feenablxcpt.c: Likewise.
36796 * math/fegetenv.c: Likewise.
36797 * math/fegetexcept.c: Likewise.
36798 * math/fegetround.c: Likewise.
36799 * math/feholdexcpt.c: Likewise.
36800 * math/fesetenv.c: Likewise.
36801 * math/fesetround.c: Likewise.
36802 * math/feupdateenv.c: Likewise.
36803 * math/fgetexcptflg.c: Likewise.
36804 * math/fraiseexcpt.c: Likewise.
36805 * math/fsetexcptflg.c: Likewise.
36806 * math/ftestexcept.c: Likewise.
36807 * math/k_cosl.c: Likewise.
36808 * math/k_rem_pio2l.c: Likewise.
36809 * math/k_sinl.c: Likewise.
36810 * math/k_tanl.c: Likewise.
36811 * math/s_asinhl.c: Likewise.
36812 * math/s_atanl.c: Likewise.
36813 * math/s_cbrtl.c: Likewise.
36814 * math/s_erfl.c: Likewise.
36815 * math/s_expm1l.c: Likewise.
36816 * math/s_log1pl.c: Likewise.
36817 * math/s_tanhl.c: Likewise.
36818 * misc/acct.c: Likewise.
36819 * misc/brk.c: Likewise.
36820 * misc/chflags.c: Likewise.
36821 * misc/chroot.c: Likewise.
36822 * misc/fchflags.c: Likewise.
36823 * misc/fgetxattr.c: Likewise.
36824 * misc/flistxattr.c: Likewise.
36825 * misc/fremovexattr.c: Likewise.
36826 * misc/fsetxattr.c: Likewise.
36827 * misc/fsync.c: Likewise.
36828 * misc/ftruncate.c: Likewise.
36829 * misc/futimes.c: Likewise.
36830 * misc/futimesat.c: Likewise.
36831 * misc/getdomain.c: Likewise.
36832 * misc/getdtsz.c: Likewise.
36833 * misc/gethostid.c: Likewise.
36834 * misc/gethostname.c: Likewise.
36835 * misc/getloadavg.c: Likewise.
36836 * misc/getpagesize.c: Likewise.
36837 * misc/getsysstats.c: Likewise.
36838 * misc/getxattr.c: Likewise.
36839 * misc/gtty.c: Likewise.
36840 * misc/ioctl.c: Likewise.
36841 * misc/lgetxattr.c: Likewise.
36842 * misc/listxattr.c: Likewise.
36843 * misc/llistxattr.c: Likewise.
36844 * misc/lremovexattr.c: Likewise.
36845 * misc/lsetxattr.c: Likewise.
36846 * misc/lutimes.c: Likewise.
36847 * misc/madvise.c: Likewise.
36848 * misc/mincore.c: Likewise.
36849 * misc/mlock.c: Likewise.
36850 * misc/mlockall.c: Likewise.
36851 * misc/mmap.c: Likewise.
36852 * misc/mprotect.c: Likewise.
36853 * misc/msync.c: Likewise.
36854 * misc/munlock.c: Likewise.
36855 * misc/munlockall.c: Likewise.
36856 * misc/munmap.c: Likewise.
36857 * misc/preadv.c: Likewise.
36858 * misc/preadv64.c: Likewise.
36859 * misc/ptrace.c: Likewise.
36860 * misc/pwritev.c: Likewise.
36861 * misc/pwritev64.c: Likewise.
36862 * misc/readv.c: Likewise.
36863 * misc/reboot.c: Likewise.
36864 * misc/remap_file_pages.c: Likewise.
36865 * misc/removexattr.c: Likewise.
36866 * misc/revoke.c: Likewise.
36867 * misc/select.c: Likewise.
36868 * misc/setdomain.c: Likewise.
36869 * misc/setegid.c: Likewise.
36870 * misc/seteuid.c: Likewise.
36871 * misc/sethostid.c: Likewise.
36872 * misc/sethostname.c: Likewise.
36873 * misc/setregid.c: Likewise.
36874 * misc/setreuid.c: Likewise.
36875 * misc/setxattr.c: Likewise.
36876 * misc/sstk.c: Likewise.
36877 * misc/stty.c: Likewise.
36878 * misc/swapoff.c: Likewise.
36879 * misc/swapon.c: Likewise.
36880 * misc/sync.c: Likewise.
36881 * misc/syncfs.c: Likewise.
36882 * misc/syscall.c: Likewise.
36883 * misc/truncate.c: Likewise.
36884 * misc/ualarm.c: Likewise.
36885 * misc/usleep.c: Likewise.
36886 * misc/ustat.c: Likewise.
36887 * misc/utimes.c: Likewise.
36888 * misc/vhangup.c: Likewise.
36889 * misc/writev.c: Likewise.
36890 * posix/_exit.c: Likewise.
36891 * posix/alarm.c: Likewise.
36892 * posix/execve.c: Likewise.
36893 * posix/fexecve.c: Likewise.
36894 * posix/fork.c: Likewise.
36895 * posix/fpathconf.c: Likewise.
36896 * posix/getaddrinfo.c: Likewise.
36897 * posix/getegid.c: Likewise.
36898 * posix/geteuid.c: Likewise.
36899 * posix/getgid.c: Likewise.
36900 * posix/getgroups.c: Likewise.
36901 * posix/getlogin.c: Likewise.
36902 * posix/getlogin_r.c: Likewise.
36903 * posix/getpgid.c: Likewise.
36904 * posix/getpid.c: Likewise.
36905 * posix/getppid.c: Likewise.
36906 * posix/getresgid.c: Likewise.
36907 * posix/getresuid.c: Likewise.
36908 * posix/getsid.c: Likewise.
36909 * posix/getuid.c: Likewise.
36910 * posix/glob64.c: Likewise.
36911 * posix/nanosleep.c: Likewise.
36912 * posix/pathconf.c: Likewise.
36913 * posix/pause.c: Likewise.
36914 * posix/posix_madvise.c: Likewise.
36915 * posix/pread.c: Likewise.
36916 * posix/pread64.c: Likewise.
36917 * posix/pwrite.c: Likewise.
36918 * posix/pwrite64.c: Likewise.
36919 * posix/sched_getaffinity.c: Likewise.
36920 * posix/sched_getp.c: Likewise.
36921 * posix/sched_gets.c: Likewise.
36922 * posix/sched_primax.c: Likewise.
36923 * posix/sched_primin.c: Likewise.
36924 * posix/sched_rr_gi.c: Likewise.
36925 * posix/sched_setaffinity.c: Likewise.
36926 * posix/sched_setp.c: Likewise.
36927 * posix/sched_sets.c: Likewise.
36928 * posix/sched_yield.c: Likewise.
36929 * posix/setgid.c: Likewise.
36930 * posix/setlogin.c: Likewise.
36931 * posix/setpgid.c: Likewise.
36932 * posix/setresgid.c: Likewise.
36933 * posix/setresuid.c: Likewise.
36934 * posix/setsid.c: Likewise.
36935 * posix/setuid.c: Likewise.
36936 * posix/sleep.c: Likewise.
36937 * posix/spawni.c: Likewise.
36938 * posix/sysconf.c: Likewise.
36939 * posix/times.c: Likewise.
36940 * posix/wait.c: Likewise.
36941 * posix/wait3.c: Likewise.
36942 * posix/wait4.c: Likewise.
36943 * posix/waitpid.c: Likewise.
36944 * resolv/gai_sigqueue.c: Likewise.
36945 * resource/getpriority.c: Likewise.
36946 * resource/getrlimit.c: Likewise.
36947 * resource/getrusage.c: Likewise.
36948 * resource/nice.c: Likewise.
36949 * resource/setpriority.c: Likewise.
36950 * resource/setrlimit.c: Likewise.
36951 * resource/ulimit.c: Likewise.
36952 * rt/aio_cancel.c: Likewise.
36953 * rt/aio_fsync.c: Likewise.
36954 * rt/aio_read.c: Likewise.
36955 * rt/aio_sigqueue.c: Likewise.
36956 * rt/aio_suspend.c: Likewise.
36957 * rt/aio_write.c: Likewise.
36958 * rt/clock_getres.c: Likewise.
36959 * rt/clock_gettime.c: Likewise.
36960 * rt/clock_nanosleep.c: Likewise.
36961 * rt/clock_settime.c: Likewise.
36962 * rt/lio_listio.c: Likewise.
36963 * rt/mq_close.c: Likewise.
36964 * rt/mq_getattr.c: Likewise.
36965 * rt/mq_notify.c: Likewise.
36966 * rt/mq_open.c: Likewise.
36967 * rt/mq_receive.c: Likewise.
36968 * rt/mq_send.c: Likewise.
36969 * rt/mq_setattr.c: Likewise.
36970 * rt/mq_timedreceive.c: Likewise.
36971 * rt/mq_timedsend.c: Likewise.
36972 * rt/mq_unlink.c: Likewise.
36973 * rt/shm_open.c: Likewise.
36974 * rt/shm_unlink.c: Likewise.
36975 * rt/timer_create.c: Likewise.
36976 * rt/timer_delete.c: Likewise.
36977 * rt/timer_getoverr.c: Likewise.
36978 * rt/timer_gettime.c: Likewise.
36979 * rt/timer_settime.c: Likewise.
36980 * setjmp/__longjmp.c: Likewise.
36981 * setjmp/setjmp.c: Likewise.
36982 * signal/kill.c: Likewise.
36983 * signal/killpg.c: Likewise.
36984 * signal/raise.c: Likewise.
36985 * signal/sigaction.c: Likewise.
36986 * signal/sigaltstack.c: Likewise.
36987 * signal/sigblock.c: Likewise.
36988 * signal/sigignore.c: Likewise.
36989 * signal/sigintr.c: Likewise.
36990 * signal/signal.c: Likewise.
36991 * signal/sigpause.c: Likewise.
36992 * signal/sigpending.c: Likewise.
36993 * signal/sigqueue.c: Likewise.
36994 * signal/sigreturn.c: Likewise.
36995 * signal/sigset.c: Likewise.
36996 * signal/sigsetmask.c: Likewise.
36997 * signal/sigstack.c: Likewise.
36998 * signal/sigsuspend.c: Likewise.
36999 * signal/sigtimedwait.c: Likewise.
37000 * signal/sigvec.c: Likewise.
37001 * signal/sigwait.c: Likewise.
37002 * signal/sigwaitinfo.c: Likewise.
37003 * signal/sysv_signal.c: Likewise.
37004 * socket/accept.c: Likewise.
37005 * socket/accept4.c: Likewise.
37006 * socket/bind.c: Likewise.
37007 * socket/connect.c: Likewise.
37008 * socket/getpeername.c: Likewise.
37009 * socket/getsockname.c: Likewise.
37010 * socket/getsockopt.c: Likewise.
37011 * socket/isfdtype.c: Likewise.
37012 * socket/listen.c: Likewise.
37013 * socket/recv.c: Likewise.
37014 * socket/recvfrom.c: Likewise.
37015 * socket/recvmsg.c: Likewise.
37016 * socket/send.c: Likewise.
37017 * socket/sendmsg.c: Likewise.
37018 * socket/sendto.c: Likewise.
37019 * socket/setsockopt.c: Likewise.
37020 * socket/shutdown.c: Likewise.
37021 * socket/sockatmark.c: Likewise.
37022 * socket/socket.c: Likewise.
37023 * socket/socketpair.c: Likewise.
37024 * stdio-common/ctermid.c: Likewise.
37025 * stdio-common/cuserid.c: Likewise.
37026 * stdio-common/remove.c: Likewise.
37027 * stdio-common/rename.c: Likewise.
37028 * stdio-common/renameat.c: Likewise.
37029 * stdio-common/tempname.c: Likewise.
37030 * stdlib/getcontext.c: Likewise.
37031 * stdlib/makecontext.c: Likewise.
37032 * stdlib/setcontext.c: Likewise.
37033 * stdlib/swapcontext.c: Likewise.
37034 * stdlib/system.c: Likewise.
37035 * streams/fattach.c: Likewise.
37036 * streams/fdetach.c: Likewise.
37037 * streams/getmsg.c: Likewise.
37038 * streams/getpmsg.c: Likewise.
37039 * streams/putmsg.c: Likewise.
37040 * streams/putpmsg.c: Likewise.
37041 * sysdeps/unix/bsd/getpt.c: Likewise.
37042 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37043 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37044 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37046 Likewise.
37047 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37048 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37049 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37050 * sysvipc/msgctl.c: Likewise.
37051 * sysvipc/msgget.c: Likewise.
37052 * sysvipc/msgrcv.c: Likewise.
37053 * sysvipc/msgsnd.c: Likewise.
37054 * sysvipc/semctl.c: Likewise.
37055 * sysvipc/semget.c: Likewise.
37056 * sysvipc/semop.c: Likewise.
37057 * sysvipc/semtimedop.c: Likewise.
37058 * sysvipc/shmat.c: Likewise.
37059 * sysvipc/shmctl.c: Likewise.
37060 * sysvipc/shmdt.c: Likewise.
37061 * sysvipc/shmget.c: Likewise.
37062 * termios/tcdrain.c: Likewise.
37063 * termios/tcflow.c: Likewise.
37064 * termios/tcflush.c: Likewise.
37065 * termios/tcgetattr.c: Likewise.
37066 * termios/tcgetpgrp.c: Likewise.
37067 * termios/tcsendbrk.c: Likewise.
37068 * termios/tcsetattr.c: Likewise.
37069 * termios/tcsetpgrp.c: Likewise.
37070 * time/adjtime.c: Likewise.
37071 * time/clock.c: Likewise.
37072 * time/getitimer.c: Likewise.
37073 * time/gettimeofday.c: Likewise.
37074 * time/setitimer.c: Likewise.
37075 * time/settimeofday.c: Likewise.
37076 * time/stime.c: Likewise.
37077 * time/time.c: Likewise.
37078
370792012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 37080
a20492cf
PT
37081 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37082 /usr/old/bin.
37083
72e182e3
PT
37084 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37085 instead of spaces.
37086 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37087
fbeafede
JM
370882012-11-03 Joseph Myers <joseph@codesourcery.com>
37089
5b5b04d6
JM
37090 [BZ #14796]
37091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37092 FE_TONEAREST before applying Dekker multiplication and Knuth
37093 addition. Clear inexact exceptions and check for exact zero
37094 results afterwards.
37095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37096 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37097 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37098 * math/libm-test.inc (fma_test): Add more tests.
37099 (fma_test_towardzero): Likewise.
37100 (fma_test_downward): Likewise.
37101 (fma_test_upward): Likewise.
37102 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37103 function.
37104 (libc_fesetround): New macro.
37105 (libc_fesetroundf): Likewise.
37106 (libc_fesetroundl): Likewise.
37107 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37108 function.
37109 (libc_fesetround_387): Likewise.
37110 (libc_fesetroundf): New macro.
37111 (libc_fesetround): Likewise.
37112 (libc_fesetroundl): Likewise.
37113 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37114 function.
37115 (libc_fesetroundf): New macro.
37116 (libc_fesetround): Likewise.
37117 (libc_fesetroundl): Likewise.
37118 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37119 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37120 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37121 libm_hidden_ver.
37122 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37123 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37124 libm_hidden_def.
37125 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37126 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37127 libm_hidden_ver.
37128 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37129 libm_hidden_def.
37130
fbeafede
JM
37131 [BZ #3439]
37132 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37133 integer constant usable in #if and use that to give value to enum
37134 constant.
37135 (FE_DIVBYZERO): Likewise.
37136 (FE_UNDERFLOW): Likewise.
37137 (FE_OVERFLOW): Likewise.
37138 (FE_INVALID): Likewise.
37139 (FE_INVALID_SNAN): Likewise.
37140 (FE_INVALID_ISI): Likewise.
37141 (FE_INVALID_IDI): Likewise.
37142 (FE_INVALID_ZDZ): Likewise.
37143 (FE_INVALID_IMZ): Likewise.
37144 (FE_INVALID_COMPARE): Likewise.
37145 (FE_INVALID_SOFTWARE): Likewise.
37146 (FE_INVALID_SQRT): Likewise.
37147 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37148 (FE_TONEAREST): Likewise.
37149 (FE_TOWARDZERO): Likewise.
37150 (FE_UPWARD): Likewise.
37151 (FE_DOWNWARD): Likewise.
37152 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37153 (FE_DIVBYZERO): Likewise.
37154 (FE_OVERFLOW): Likewise.
37155 (FE_UNDERFLOW): Likewise.
37156 (FE_INEXACT): Likewise.
37157 (FE_TONEAREST): Likewise.
37158 (FE_DOWNWARD): Likewise.
37159 (FE_UPWARD): Likewise.
37160 (FE_TOWARDZERO): Likewise.
37161 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37162 (FE_UNDERFLOW): Likewise.
37163 (FE_OVERFLOW): Likewise.
37164 (FE_DIVBYZERO): Likewise.
37165 (FE_INVALID): Likewise.
37166 (FE_TONEAREST): Likewise.
37167 (FE_TOWARDZERO): Likewise.
37168 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37169 (FE_OVERFLOW): Likewise.
37170 (FE_UNDERFLOW): Likewise.
37171 (FE_DIVBYZERO): Likewise.
37172 (FE_INEXACT): Likewise.
37173 (FE_TONEAREST): Likewise.
37174 (FE_TOWARDZERO): Likewise.
37175 (FE_UPWARD): Likewise.
37176 (FE_DOWNWARD): Likewise.
37177 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37178 (FE_DIVBYZERO): Likewise.
37179 (FE_OVERFLOW): Likewise.
37180 (FE_UNDERFLOW): Likewise.
37181 (FE_INEXACT): Likewise.
37182 (FE_TONEAREST): Likewise.
37183 (FE_DOWNWARD): Likewise.
37184 (FE_UPWARD): Likewise.
37185 (FE_TOWARDZERO): Likewise.
37186
105ca950
CM
371872012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37188
37189 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37190
a542b389
AS
371912012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37192
37193 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37194 commands. Quote $PWD.
37195 (blacklist_exports): Don't use remove_newlines. Replace "declare
37196 -x" by "export".
37197 (remove_newlines): Remove.
37198
f62c8abc
L
371992012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37200
37201 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37202 * stdlib/stdlib.h (atof): Moved to ...
37203 * include/bits/stdlib-float.h: Here. New file.
37204 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37205 * stdlib/bits/stdlib-float.h: New file.
37206 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37207 -mno-sse -mno-mmx.
37208 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37209 <xmmintrin.h>.
37210
0155d5b2
JM
372112012-11-02 Joseph Myers <joseph@codesourcery.com>
37212
a68d0680
JM
37213 * conform/conformtest.pl (@headers): Add fenv.h.
37214 * conform/data/fenv.h-data: New file.
37215 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37216 include of <math/fenv.h>.
37217
caf7f573
JM
37218 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37219 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37220 && !UNIX98]. Enables tests for XOPEN2K8.
37221 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37222 POSIX2008]: Likewise.
37223
6c073ad6
JM
37224 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37225 (struct rusage): Do not expect type or its members.
37226
0155d5b2
JM
37227 [BZ #3439]
37228 * math/math.h (FP_NAN): Define macro to integer constant usable in
37229 #if and use that to give value to enum constant.
37230 (FP_INFINITE): Likewise.
37231 (FP_ZERO): Likewise.
37232 (FP_SUBNORMAL): Likewise.
37233 (FP_NORMAL): Likewise.
37234
b5dcacb4
AS
372352012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37236
37237 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37238 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37239 arguments.
37240
f7934be8
RM
372412012-11-02 Roland McGrath <roland@hack.frob.com>
37242
37243 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37244 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37245 autoconf-time if not.
37246 * configure.in: Remove AC_PREREQ.
37247
d7d08bde
TMQMF
372482012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37249
37250 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37251 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37252 of the internal implementation.
37253
dcdae19a
JM
372542012-11-02 Joseph Myers <joseph@codesourcery.com>
37255
37256 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37257 except include of <misc/sys/syslog.h>.
37258
d6cffd3e
AS
372592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37260
37261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37262 function returns with a NULL context exit with zero.
37263
b3563932
TMQMF
372642012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37265
37266 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37267
b288a93d
L
372682012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37269
37270 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37271 (run_program_cmd): This.
37272 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37273 (tst_langinfo): New variable. Use it.
37274
a2421a68
SAS
372752012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37276
37277 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37278 floating point opcodes.
37279
6f796e1b
TS
372802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37281
7402596b
TS
37282 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37283 variable.
37284
d0d4f868
TS
37285 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37286
6f796e1b
TS
37287 * sysdeps/mach/hurd/powerpc: Remove directory.
37288 * sysdeps/mach/powerpc: Likewise.
37289
4da224a2
AS
372902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37291
37292 * scripts/check-local-headers.sh: Ignore c++ headers.
37293
341dd673
TS
372942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37295
37296 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37297 __libc_cleanup_region_start argument.
37298
473611b2
JM
372992012-11-01 Joseph Myers <joseph@codesourcery.com>
37300
37301 [BZ #14784]
37302 [BZ #14785]
37303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37304 x * y using scaling, not as x * y + z.
37305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37307 * math/libm-test.inc (fma_test): Add more tests.
37308 (fma_test_towardzero): Likewise.
37309 (fma_test_downward): Likewise.
37310 (fma_test_upward): Likewise.
37311
4078da3d
TS
373122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37313
37314 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37315
903252aa
JM
373162012-10-31 Joseph Myers <joseph@codesourcery.com>
37317
37318 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37319 New variable.
37320
cbc818d0
TS
373212012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37322
37323 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37324
5a03cb1e
AS
373252012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37326
37327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37328 Fix sort order.
37329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37330 Likewise.
37331
90aff2ff
TMQMF
373322012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37333
37334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37335 Fix the order of the list for glibc 2.17.
37336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37337 Likewise.
37338
1818fcb7
AS
373392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37340
37341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37342
ef82f4da
JM
373432012-10-31 Joseph Myers <joseph@codesourcery.com>
37344
16a0e2ec
JM
37345 [BZ #14610]
37346 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37347 for low part of x being zero before using __atanl (y).
37348 * math/libm-test.inc (atan2_test): Add another test.
37349
0eb69512
JM
37350 * manual/install.texi (Configuring and compiling): Document
37351 general use of test-wrapper and test-wrapper-env.
37352 * INSTALL: Regenerated.
37353
ef82f4da
JM
37354 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37355 (__fma): Do not extract and scale down low bits on after-rounding
37356 systems when result rounded to normal precision would have normal
37357 exponent.
37358 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37359 (__fmal): Do not extract and scale down low bits on after-rounding
37360 systems when result rounded to normal precision would have normal
37361 exponent.
37362 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37363 (__fmal): Do not extract and scale down low bits on after-rounding
37364 systems when result rounded to normal precision would have normal
37365 exponent.
37366 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37367 macro.
37368 (fma_test): Add more tests.
37369 (fma_test_towardzero): Likewise.
37370 (fma_test_downward): Likewise.
37371 (fma_test_upward): Likewise.
37372
954ef0d9
L
373732012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37374
37375 * sysdeps/i386/tininess.h: Renamed to ...
37376 * sysdeps/x86/tininess.h: This.
37377 * sysdeps/x86_64/tininess.h: Removed.
37378
df61ffb2
JM
373792012-10-30 Joseph Myers <joseph@codesourcery.com>
37380
37381 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37382 input. Use $(build-program-cmd).
37383 ($(objpfx)tst-array1-static.out): Likewise.
37384 ($(objpfx)tst-array2.out): Likewise.
37385 ($(objpfx)tst-array3.out): Likewise.
37386 ($(objpfx)tst-array4.out): Likewise.
37387 ($(objpfx)tst-array5.out): Likewise.
37388 ($(objpfx)tst-array5-static.out): Likewise.
37389
01767843
CM
373902012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37391
47cc1490
CM
37392 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37393 if defined.
37394
01767843
CM
37395 * nss/nsswitch.h (nss_interface_function): Provide new
37396 macro for use with NSS functions.
37397 * grp/initgroups.c: Use new macro.
37398 * nss/getXXbyYY.c: Likewise.
37399 * nss/getXXbyYY_r.c: Likewise.
37400 * nss/getXXent.c: Likewise.
37401 * nss/getXXent_r.c: Likewise.
37402 * sysdeps/posix/getaddrinfo.c: Likewise.
37403
8321aa97
AJ
374042012-10-30 Andreas Jaeger <aj@suse.de>
37405
37406 * po/ru.po: Update Russion translation from translation project.
37407
2a27fd6d
JM
374082012-10-30 Joseph Myers <joseph@codesourcery.com>
37409
8627a232
JM
37410 [BZ #14152]
37411 [BZ #14783]
37412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37413 result and shift together with sticky bit instead of replicating
37414 round-to-nearest rounding.
37415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37416 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37417 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37418 missing underflow exceptions.
37419 (fma_test_towardzero): Add more tests.
37420 (fma_test_downward): Likewise.
37421 (fma_test_upward): Likewise.
37422
2a27fd6d
JM
37423 [BZ #14047]
37424 * sysdeps/generic/tininess.h: New file.
37425 * sysdeps/i386/tininess.h: Likewise.
37426 * sysdeps/sh/tininess.h: Likewise.
37427 * sysdeps/x86_64/tininess.h: Likewise.
37428 * stdlib/tst-strtod-underflow.c: Likewise.
37429 * stdlib/tst-tininess.c: Likewise.
37430 * stdlib/strtod_l.c: Include <tininess.h>.
37431 (round_and_return): Do not set errno for exact underflow cases.
37432 Force an underflow exception when setting errno for underflow.
37433 Determine underflow based on rounding to normal precision if
37434 TININESS_AFTER_ROUNDING.
37435 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37436 ERANGE for exact underflow cases.
37437 * stdlib/Makefile (tests): Add tst-tininess and
37438 tst-strtod-underflow.
37439 ($(objpfx)tst-tininess): Use $(link-libm).
37440 ($(objpfx)tst-strtod-underflow): Likewise.
37441
e7170363
AJ
374422012-10-30 Andreas Jaeger <aj@suse.de>
37443
e5088dc6
AJ
37444 [BZ#14767]
37445 * elf/Makefile (tests): Remove conditional for have-initfini-array
37446 since this is now always required and the variable does not exist
37447 anymore.
37448 (tests-static): Likewise.
37449 (modules-names): Likewise.
37450
e7170363 37451 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37452
37453 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37454 merged with constructor/destructor.
37455 (init_array): Likewise.
37456 * elf/tst-array2dep.c (fini_array): Likewise.
37457 (init_array): Likewise.
37458
60457d8a
MF
374592012-10-29 Mike Frysinger <vapier@gentoo.org>
37460
37461 * manual/message.texi: Delete @cartouche tags.
37462
8bece752
PT
374632012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37464
94ce799f
PT
37465 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37466 EOPNOTSUPP.
37467 * sysdeps/mach/hurd/fsync.c: Likewise.
37468
8bece752
PT
37469 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37470 [_POSIX_REALTIME_SIGNALS]: Change condition to
37471 [_POSIX_REALTIME_SIGNALS > 0].
37472
86ebe6b1
AJ
374732012-10-27 Andreas Jaeger <aj@suse.de>
37474
37475 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37476 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37478 [__WORDSIZE != 64]: Likewise.
37479
54399c08
L
374802012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37481
37482 * iconvdata/tst-table.sh: Remove ${SHELL}.
37483 * iconvdata/tst-tables.sh: Likewise.
37484
e2211bed
DM
374852012-10-25 David S. Miller <davem@davemloft.net>
37486
37487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37488 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37489 of strtoull.
37490
f303f97c
DM
37491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37492 ifunc-impl-list.c
37493 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37494 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37495 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37496 file.
37497
1e9d84cd
RM
374982012-10-25 Roland McGrath <roland@hack.frob.com>
37499
37500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37501 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37502 __getdirentries.
37503
df381762
JM
375042012-10-25 Joseph Myers <joseph@codesourcery.com>
37505 Jim Blandy <jimb@codesourcery.com>
37506
37507 * scripts/cross-test-ssh.sh: New file.
37508 * manual/install.texi (Configuring and compiling): Document use of
37509 cross-test-ssh.sh.
37510 * INSTALL: Regenerated.
37511
bff64913
PT
375122012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37513
37514 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37515 EOPNOTSUPP.
37516
25fe8932
JM
375172012-10-25 Joseph Myers <joseph@codesourcery.com>
37518
37519 * Makeconfig (run-program-prefix): Fix comment.
37520
cc1290d0
JM
375212012-10-24 Joseph Myers <joseph@codesourcery.com>
37522 Jim Blandy <jimb@codesourcery.com>
37523
37524 * Makeconfig (test-wrapper): New variable,
37525 (test-wrapper-env): Likewise.
37526 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37527 (run-built-tests): Define to yes.
37528 (run-program-prefix): Use $(test-wrapper).
37529 (built-program-cmd): Likewise.
37530 * Rules (make-test-out): Use $(test-wrapper-env) and
37531 $(host-built-program-cmd).
37532 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37533 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37534 tst-pathopt.sh.
37535 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37536 $(test-wrapper-env) to tst-rtld-load-self.sh.
37537 ($(objpfx)order2.out): Use $(test-wrapper).
37538 ($(objpfx)tst-initorder.out): Likewise.
37539 ($(objpfx)tst-initorder2.out): Likewise.
37540 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37541 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37542 (test_wrapper_env): New variable. Use it to run ld.so.
37543 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37544 Use it to run ld.so.
37545 (test_wrapper_env): Likewise.
37546 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37547 $(test-wrapper) to run-iconv-test.sh.
37548 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37549 (ICONV): Use $test_wrapper.
37550 * posix/Makefile ($(objpfx)globtest.out): Pass
37551 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37552 globtest.sh, not $(run-program-prefix).
37553 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37554 (test_wrapper): Likewise.
37555 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37556 set together with run_via_rtld_prefix.
37557 (run_program_prefix): Define in terms of test_wrapper and
37558 run_via_rtld_prefix.
37559
6e6249d0
RM
375602012-10-24 Roland McGrath <roland@hack.frob.com>
37561
37562 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37563 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37564 Targets removed.
37565
37566 [BZ #14743]
37567 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37568 Declare __clock_getres, __clock_gettime, __clock_settime,
37569 __clock_nanosleep, and __clock_getcpuclockid.
37570 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37571 Remove librt_hidden_def (clock_gettime).
37572 * sysdeps/unix/clock_gettime.c: Likewise.
37573 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37574 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37575 * rt/clock_getres.c: Define __clock_getres as an alias.
37576 * sysdeps/posix/clock_getres.c: Likewise.
37577 * rt/clock_settime.c: Define __clock_settime as an alias.
37578 * sysdeps/unix/clock_settime.c: Likewise.
37579 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37580 * sysdeps/unix/clock_nanosleep.c: Likewise.
37581 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37582 * rt/clock-compat.c: New file.
37583 * rt/Makefile (librt-routines): Add clock-compat and move
37584 $(clock-routines) to ...
37585 (routines): ... here, new variable.
37586 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37587 Don't add get_clockfreq here.
37588 * rt/Versions (libc: GLIBC_2.17): New version set.
37589 Add clock_* symbols here.
37590 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37592 (GLIBC_2.17): Add clock_* symbols.
37593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37597 Likewise.
37598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37599 Likewise.
37600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37604 * NEWS: Mention the move.
37605
37606 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37607 Use __open, __read, __close rather than their public counterparts.
37608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37609 (__get_clockfreq_via_cpuinfo): Likewise.
37610 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37611 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37612
37613 * config.h.in (HAVE_IFUNC): New #undef.
37614 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37615 was successful.
37616 * configure: Regenerated.
37617
0cae3f4b
MF
376182012-10-24 Mike Frysinger <vapier@gentoo.org>
37619
37620 * configure.in: Move READELF check to start of file.
37621 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37622 libc_cv_asm_gnu_indirect_function in the process.
37623 * configure: Regenerated.
37624
8175a253
MF
376252012-10-24 Mike Frysinger <vapier@gentoo.org>
37626
37627 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37628 send the output to /dev/null.
37629 (libc_cv_cc_with_libunwind): Likewise.
37630 (libc_cv_as_noexecstack): Likewise.
37631 * configure: Regenerate.
37632
0708a7d1
JM
376332012-10-24 Joseph Myers <joseph@codesourcery.com>
37634
10b40d85
JM
37635 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37636
0708a7d1
JM
37637 * posix/globtest.sh (TMPDIR): Do not set.
37638 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37639 (testout): Likewise.
37640
9fddec1a
AJ
376412012-10-24 Andreas Jaeger <aj@suse.de>
37642
3a8db22f
AJ
37643 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37644 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37645 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37646 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37647 posix_fadvise64, posix_fallocate64.
37648
9fddec1a
AJ
37649 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37650 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37651 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37652 Likewise.
37653 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37654 Likewise.
37655 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37656
37657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37658 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37659 <bits/fcntl-linux.h>.
37660 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37661
37662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37663 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37664 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37665 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37666 [__WORDSIZE != 64]: Likewise.
37667
ebfd1bbd
JM
376682012-10-23 Joseph Myers <joseph@codesourcery.com>
37669
03ac099f
JM
37670 * Makeconfig (run-built-tests): New variable.
37671 * Rules [$(cross-compiling) = yes]: Change condition to
37672 [$(run-built-tests) = no].
37673 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37674 to [$(run-built-tests) = yes].
37675 * elf/Makefile [$(cross-compiling) = no]: Likewise
37676 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37677 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37678 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37679 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37680 * io/Makefile [$(cross-compiling) = no]: Likewise.
37681 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37682 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37683 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37684 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37685 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37686 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37687 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37688 * string/Makefile [$(cross-compiling) = no]: Likewise.
37689
ebfd1bbd
JM
37690 * posix/Makefile ($(objpfx)globtest.out): Pass
37691 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37692 $(rtld-installed-name).
37693 * posix/globtest.sh (elf_objpfx): Remove variable.
37694 (rtld_installed_name): Likewise.
37695 (library_path): Likewise.
37696 (run_program_prefix): New variable. Use for running globtest
37697 binary.
37698
166bca24
JB
376992012-10-23 Jim Blandy <jimb@codesourcery.com>
37700 Joseph Myers <joseph@codesourcery.com>
37701
37702 * Makeconfig (host-built-program-cmd): New variable.
37703 * elf/Makefile (tst-stackguard1-ARGS): Use
37704 $(host-built-program-cmd).
37705 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37706 (tst-spawn-ARGS): Likewise.
37707 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37708
88866099
JM
377092012-10-23 Joseph Myers <joseph@codesourcery.com>
37710 Jim Blandy <jimb@codesourcery.com>
37711
37712 * Makeconfig (run-via-rtld-prefix): New variable.
37713 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37714 (built-program-cmd): Likewise.
37715
b4b4c296
AJ
377162012-10-22 Andreas Jaeger <aj@suse.de>
37717
37718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37719 __O_RSYNC if it exists, otherwise to O_SYNC.
37720
6fb54a22
JB
377212012-10-22 Jim Blandy <jimb@codesourcery.com>
37722 Joseph Myers <joseph@codesourcery.com>
37723
37724 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37725 /dev/null.
37726 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37727 from /dev/null
37728 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37729 /dev/null.
37730
481b90b9
AJ
377312012-10-22 Andreas Jaeger <aj@suse.de>
37732
2a0e2669
AJ
37733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37734 Define always.
37735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37736
76e38f9a
AJ
37737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37738 bits/fcntl-linux.h.
37739
7cd37b43
AJ
37740 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37741 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37742
481b90b9
AJ
37743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37744 to __O_LARGEFILE.
37745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37746 to __O_LARGEFILE.
37747
aba75984
JB
377482012-10-21 Jim Blandy <jimb@codesourcery.com>
37749 Joseph Myers <joseph@codesourcery.com>
37750
37751 * config.make.in (NM): New variable.
37752
88d4247f
AJ
377532012-10-21 Andreas Jaeger <aj@suse.de>
37754
37755 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37756 definitions and declarations that are provided by
37757 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37758
f2eed205
L
377592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37760
37761 [BZ #14683]
37762 * elf/Makefile (tests-static): Add tst-leaks1-static.
37763 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37764 ($(objpfx)tst-leaks1-static): New rule.
37765 ($(objpfx)tst-leaks1-static-mem): Likewise.
37766 (tst-leaks1-static-ENV): New macro.
37767 * elf/dl-open.c (dl_open_worker): Check the main application
37768 only if SHARED is defined.
37769 * elf/tst-leaks1-static.c: New file.
37770
335e6931
AJ
377712012-10-20 Andreas Jaeger <aj@suse.de>
37772
37773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37774 generic values for Linux.
37775 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37776 and declarations that are provided by <bits/fcntl-linux.h> and
37777 include <bits/fcntl-linux.h>.
37778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37779 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37780
ac5c94d3
RM
377812012-10-20 Roland McGrath <roland@hack.frob.com>
37782
37783 * io/fcntl.h: Move include of <bits/types.h> to the top and
37784 include it unconditionally.
37785
de54b33a
L
377862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37787
228cfb01
L
37788 * wcsmbs/Makefile (tests-ifunc): New variable.
37789 (tests): Add $(tests-ifunc).
37790 * wcsmbs/test-wcschr-ifunc.c: New file.
37791 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37792 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37793 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37794 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37795 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37796
69f07e5f
L
37797 * string/Makefile (tests-ifunc): New variable.
37798 (tests): Add $(tests-ifunc).
37799 * string/test-memccpy.c (TEST_NAME): New macro.
37800 * string/test-memchr.c (TEST_NAME): Likewise.
37801 * string/test-memcmp.c (TEST_NAME): Likewise.
37802 * string/test-memcpy.c (TEST_NAME): Likewise.
37803 * string/test-memmem.c (TEST_NAME): Likewise.
37804 * string/test-memmove.c (TEST_NAME): Likewise.
37805 * string/test-memset.c (TEST_NAME): Likewise.
37806 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37807 * string/test-stpcpy.c (TEST_NAME): Likewise.
37808 * string/test-stpncpy.c (TEST_NAME): Likewise.
37809 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37810 * string/test-strcasestr.c (TEST_NAME): Likewise.
37811 * string/test-strcat.c (TEST_NAME): Likewise.
37812 * string/test-strchr.c (TEST_NAME): Likewise.
37813 * string/test-strcmp.c(TEST_NAME): Likewise.
37814 * string/test-strcpy.c (TEST_NAME): Likewise.
37815 * string/test-strcspn.c (TEST_NAME): Likewise.
37816 * string/test-strlen.c (TEST_NAME): Likewise.
37817 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37818 * string/test-strncmp.c (TEST_NAME): Likewise.
37819 * string/test-strncpy.c (TEST_NAME): Likewise.
37820 * string/test-strnlen.c (TEST_NAME): Likewise.
37821 * string/test-strpbrk.c (TEST_NAME): Likewise.
37822 * string/test-strrchr.c (TEST_NAME): Likewise.
37823 * string/test-strspn.c (TEST_NAME): Likewise.
37824 * string/test-strstr.c (TEST_NAME): Likewise.
37825 * string/test-bcopy-ifunc.c: New file.
37826 * string/test-bzero-ifunc.c: Likewise.
37827 * string/test-memccpy-ifunc.c: Likewise.
37828 * string/test-memchr-ifunc.c: Likewise.
37829 * string/test-memcmp-ifunc.c: Likewise.
37830 * string/test-memcpy-ifunc.c: Likewise.
37831 * string/test-memmem-ifunc.c: Likewise.
37832 * string/test-memmove-ifunc.c: Likewise.
37833 * string/test-mempcpy-ifunc.c: Likewise.
37834 * string/test-memset-ifunc.c: Likewise.
37835 * string/test-rawmemchr-ifunc.c: Likewise.
37836 * string/test-stpcpy-ifunc.c: Likewise.
37837 * string/test-stpncpy-ifunc.c: Likewise.
37838 * string/test-strcasecmp-ifunc.c: Likewise.
37839 * string/test-strcasestr-ifunc.c: Likewise.
37840 * string/test-strcat-ifunc.c: Likewise.
37841 * string/test-strchr-ifunc.c: Likewise.
37842 * string/test-strchrnul-ifunc.c: Likewise.
37843 * string/test-strcmp-ifunc.c: Likewise.
37844 * string/test-strcpy-ifunc.c: Likewise.
37845 * string/test-strcspn-ifunc.c: Likewise.
37846 * string/test-strlen-ifunc.c: Likewise.
37847 * string/test-strncasecmp-ifunc.c: Likewise.
37848 * string/test-strncat-ifunc.c: Likewise.
37849 * string/test-strncmp-ifunc.c: Likewise.
37850 * string/test-strncpy-ifunc.c: Likewise.
37851 * string/test-strnlen-ifunc.c: Likewise.
37852 * string/test-strpbrk-ifunc.c: Likewise.
37853 * string/test-strrchr-ifunc.c: Likewise.
37854 * string/test-strspn-ifunc.c: Likewise.
37855 * string/test-strstr-ifunc.c: Likewise.
37856
de54b33a
L
37857 * debug/Makefile (tests-ifunc): New variable.
37858 (tests): Add $(tests-ifunc).
37859 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37860 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37861 * debug/test-stpcpy_chk-ifunc.c: New file.
37862 * debug/test-strcpy_chk-ifunc.c: Likewise.
37863
88481c16
SP
378642012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37865
37866 [BZ #13601]
37867 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37868 header is not read in.
37869
135948bd
JM
378702012-10-19 Joseph Myers <joseph@codesourcery.com>
37871
89f1c388
JM
37872 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37873 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37874 directly. Pass built executable to script as
37875 $(built-program-cmd).
37876 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37877 $testprogram without using LD_LIBRARY_PATH and $ldso.
37878
e40a0d21
JM
37879 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37880 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37881 $(rtld-installed-name).
37882 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37883 (rtld_installed_name): Likewise.
37884 (library_path): Likewise.
37885 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37886 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37887 $(run-program-prefix) to tst-tables.sh.
37888 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37889 it to run tst-table-from and tst-table-to.
37890 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37891 Pass it to tst-table.sh.
37892 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37893 $(run-program-prefix) to tst-gettext.sh.
37894 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37895 tst-translit.sh.
37896 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37897 tst-gettext2.sh.
37898 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37899 to run tst-gettext.
37900 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37901 to run tst-gettext2.
37902 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37903 to run tst-translit.
37904 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37905 $(run-program-prefix) to tst-mtrace.sh.
37906 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37907 to run tst-mtrace.
37908 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37909 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37910 $(rtld-installed-name).
37911 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37912 (rtld_installed_name): Likewise.
37913 (run_program_prefix): New variable. Use it to run wordexp-test.
37914
728e272a
JM
37915 * Makeconfig (ARCH): Remove all definitions.
37916 (machine): Likewise.
37917 [ARCH]: Remove conditional code.
37918 [!objdir]: Give error.
37919 [!objdir] (objpfx): Remove.
37920 [!objdir] (common-objpfx): Likewise.
37921 [!objdir] (common-objdir): Likewise.
37922 * configure.in (config_makefile): Remove. Hardcode Makefile in
37923 AC_CONFIG_FILES call.
37924 * configure: Regenerated.
37925
d528cdcf
JM
37926 [BZ #13888]
37927 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37928 or TMPDIR.
37929 (testout): Likewise.
37930
135948bd
JM
37931 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37932 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37933 $(rtld-installed-name).
37934 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37935 (rtld_installed_name): Likwise.
37936 (runit): Remove function.
37937 (run_getconf): New variable, Use it for running getconf binary.
37938
38c78296
L
379392012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37940
37941 [BZ #14716]
37942 * string/test-memmem.c (check_result): New function.
37943 (do_one_test): Use it.
37944 (check1): New function.
37945 (test_main): Use it.
37946
d077f65f
MT
379472012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37948
37949 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37950
ced52c71
JM
379512012-10-18 Joseph Myers <joseph@codesourcery.com>
37952
37953 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37954 (_G_LSEEK64): Likewise.
37955 (_G_MMAP64): Likewise.
37956 (_G_FSTAT64): Likewise.
37957 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37958 (_G_LSEEK64): Likewise.
37959 (_G_MMAP64): Likewise.
37960 (_G_FSTAT64): Likewise.
37961 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37962 unconditional. Call __mmap64 directly.
37963 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37964 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37965 __lseek64 directly.
37966 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37967 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37968 __mmap64 directly.
37969 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37970 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37971 __lseek64 directly.
37972 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37973 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37974 __lseek64 directly.
37975 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37976 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37977 __lseek64 directly.
37978 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37979 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37980 __fxstat64 directly.
37981 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37982 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37983 unconditional.
37984 (freopen64) [!_G_OPEN64]: Remove conditional code.
37985 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37986 unconditional.
37987 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37988 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37989 unconditional.
37990 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37991 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37992 unconditional.
37993 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37994 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37995 unconditional.
37996 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37997 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37998 unconditional.
37999 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38000 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38001 unconditional.
38002 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38003 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38004 unconditional.
38005 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38006
b741de23
SP
380072012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38008
38009 [BZ #12140]
38010 * manual/memory.texi (Malloc Tunable Parameters): Add note
38011 about free list pointers overwriting some perturb bytes.
38012 Wording suggested by Roland McGrath.
38013
f9b9d9c9
JM
380142012-10-17 Joseph Myers <joseph@codesourcery.com>
38015
38016 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38017 (lgamma_test): Likewise.
38018 (tgamma_test): Likewise.
38019
172a631a
FW
380202012-10-16 Florian Weimer <fweimer@redhat.com>
38021
38022 [BZ #14700]
38023 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38024 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38025
e9f37252
MK
380262012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38027
38028 * NEWS: Mention BZ #14716.
38029 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38030 when removing AVAILABLE1_USES_J macro.
38031
d394eb74
L
380322012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38033
38034 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38035 (__bswap_64): __uint64_t for unsigned 64-bit int.
38036
ca38dc17
AS
380372012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38038
38039 * include/string.h (memmem): Declare libc hidden alias.
38040 * string/memmem.c (memmem): Define libc hidden alias.
38041 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38042 __read, __close instead of open, read, close.
38043
9a387d1f
L
380442012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38045
ac49ecaf
L
38046 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38047 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38048 global and hidden.
38049 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38050 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38051 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38052 Likewise.
38053 (__rawmemchr_sse2): Likewise.
38054 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38055 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38056 (__strchr_sse2): Likewise.
38057 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38058 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38059 (__strcasecmp_sse2): Likewise.
38060 (__strncasecmp_sse2): Likewise.
38061 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38062 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38063 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38064 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38065 (__strrchr_sse2): Likewise.
38066 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38067 ifunc-impl-list.c.
38068 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38069 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38070 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38071 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38072 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38073 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38074 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38075 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38076 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38077 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38078 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38079 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38080 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38081 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38082 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38083 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38084 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38085 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38086 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38087 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38088 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38089 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38090 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38091 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38092 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38093 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38094 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38095 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38096 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38097 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38098
b090e8ea
L
38099 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38100 global and hidden.
38101 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38102 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38103 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38104 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38105 Likewise.
38106 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38107 Likewise.
38108 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38109 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38110 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38111 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38112 ifunc-impl-list.c.
38113 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38114 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38115 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38116 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38117 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38118 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38119 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38120 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38121 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38122 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38123 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38124 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38125 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38126 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38127 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38128 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38129 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38130 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38131 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38132 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38133 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38134 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38135 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38136 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38137 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38138 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38139 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38140 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38141 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38142 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38143 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38144 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38145 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38146 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38147 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38148 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38149 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38150 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38151 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38152 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38153 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38154
11dd4af6
L
38155 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38156 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38157 * include/ifunc-impl-list.h: New file.
38158 * misc/ifunc-impl-list.c: Likewise.
38159 * misc/Makefile (routines): Add ifunc-impl-list.
38160 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38161 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
38162 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38163 TEST_NAME]: New variables.
11dd4af6
L
38164 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38165 are defined.
38166 (test_init): Call __libc_ifunc_impl_list to initialize
38167 func_list if TEST_IFUNC and TEST_NAME are defined.
38168
9a387d1f
L
38169 * string/Makefile (strop-tests): Add bcopy and bzero.
38170 * string/test-bcopy.c: New file.
38171 * string/test-bzero.c: Likewise.
38172 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38173 defined.
38174 * string/test-memset.c: Support bzero test if TEST_BZERO is
38175 defined.
38176 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38177 __libc_memmove.
38178 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38179 __libc_memset.
38180 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38181 of memset.
38182
472371b9
JM
381832012-10-10 Joseph Myers <joseph@codesourcery.com>
38184
1e4a9536
JM
38185 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38186 * configure: Regenerated.
38187
d173d12e
JM
38188 * Makeconfig (+link-static-before-libc): Don't include
38189 $(link-static-libc).
38190
472371b9
JM
38191 * libio/libio.h (_IO_pos_t): Remove.
38192
89a3ad0b
AO
381932012-10-10 Alexandre Oliva <aoliva@redhat.com>
38194
38195 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38196 McGrath.
38197
e7451425
AO
381982012-10-10 Alexandre Oliva <aoliva@redhat.com>
38199
38200 * crypt/crypt-entry.c: Include fips-private.h.
38201 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38202 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38203 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38204 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38205
4ba74a35
AO
382062012-10-10 Alexandre Oliva <aoliva@redhat.com>
38207
38208 * crypt/crypt-private.h: Include stdbool.h.
38209 (_ufc_setup_salt_r): Return bool.
38210 * crypt/crypt-entry.c: Include errno.h.
38211 (__crypt_r): Return NULL with EINVAL for bad salt.
38212 * crypt/crypt_util.c (bad_for_salt): New.
38213 (_ufc_setup_salt_r): Check that salt is long enough and within
38214 the specified alphabet.
38215 * crypt/badsalttest.c: New file.
38216 * crypt/Makefile (tests): Add it.
38217 ($(objpfx)badsalttest): New.
38218
f96f1242
MK
382192012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38220
38221 * NEWS: Add entry for BZ #14602.
38222
0e8e0c1c
JM
382232012-10-09 Joseph Myers <joseph@codesourcery.com>
38224
38225 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38226 type-generic.
38227 * math/libm-test.inc: Update comment listing what functions and
38228 macros are tested.
38229 (isgreater_test): New function.
38230 (isgreaterequal_test): Likewise.
38231 (isless_test): Likewise.
38232 (islessequal_test): Likewise.
38233 (islessgreater_test): Likewise.
38234 (isunordered_test): Likewise.
38235 (main): Call the new functions.
38236
273edc5e
RM
382372012-10-09 Roland McGrath <roland@hack.frob.com>
38238
b8493de0
RM
38239 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38240 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38241 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38242 * sysdeps/i386/configure: Regenerated.
38243 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38244 * sysdeps/mach/configure: Regenerated.
38245 * sysdeps/mach/hurd/configure: Regenerated.
38246 * sysdeps/powerpc/configure: Regenerated.
38247 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38248 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38249 * sysdeps/s390/s390-32/configure: Regenerated.
38250 * sysdeps/s390/s390-64/configure: Regenerated.
38251 * sysdeps/sh/configure: Regenerated.
38252 * sysdeps/sparc/configure: Regenerated.
38253 * sysdeps/unix/sysv/linux/configure: Regenerated.
38254 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38255 * sysdeps/x86_64/configure: Regenerated.
38256
273edc5e
RM
38257 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38258 defined. Don't check if MAP is NULL.
38259
c8450f70
JM
382602012-10-09 Joseph Myers <joseph@codesourcery.com>
38261
38262 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38263 (_G_stat64): Likewise.
38264 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38265 (_G_stat64): Likewise.
38266 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38267 instead of struct _G_stat64.
38268 * libio/fileops.c (mmap_remap_check): Likewise.
38269 (decide_maybe_mmap): Likewise.
38270 (_IO_new_file_seekoff): Likewise.
38271 (_IO_file_stat): Likewise.
38272 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38273 _G_off64_t.
38274 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38275 instead of struct _G_stat64.
38276 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38277
57e605ba
MK
382782012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38279
38280 [BZ #14602]
38281 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38282 Replace with ...
38283 (CHECK_EOL): New macro.
38284 (two_way_short_needle): Check beginning of haystack for EOL. Use
38285 CHECK_EOL.
38286 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38287 Replace with CHECK_EOL.
38288 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38289 Replace with CHECK_EOL.
38290
ef1bb361
JM
382912012-10-08 Joseph Myers <joseph@codesourcery.com>
38292
38293 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38294 type-generic.
38295 * math/libm-test.inc: Update comment listing what functions and
38296 macros are tested.
38297 (finite_test): New function.
38298 (isinf_test): Likewise.
38299 (isnan_test): Likewise.
38300 (fpclassify_test): Test subnormal input.
38301 (isfinite_test): Likewise.
38302 (isnormal_test): Likewise.
38303 (main): Call the new functions.
38304
55f11534
JN
383052012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38306
38307 [BZ #14660]
38308 * Makerules (%.dynsym): Force C locale when running
38309 $(OBJDUMP) --dynamic-syms.
38310
1ab29350
AS
383112012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38312
38313 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38314 <stdint.h>.
38315
f1ecb7ef
DM
383162012-10-06 David S. Miller <davem@davemloft.net>
38317
38318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38319 upper 32-bits of the length value in %o2 since we use branch-on-register
38320 tests which consider the entire 64-bit register.
38321
5d41d91a
L
383222012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38323
38324 * string/test-strstr.c (check2): Add a test for page boundary.
38325
3baddb72
DM
383262012-10-05 David S. Miller <davem@davemloft.net>
38327
38328 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38329 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38330 file.
38331 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38332 sysdep_routines.
38333 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38334 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38335 and bzero when HWCAP_SPARC_CRYPTO is present.
38336
9cee5585
L
383372012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38338
d7e0dab9
L
38339 [BZ #14602]
38340 * string/test-strstr.c (check2): New function.
38341 (test_main): Call check2.
38342
03759f47
L
38343 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38344 and bug-strchr1.
38345 * string/bug-strcasestr1.c (do_test): Moved to ...
38346 * string/test-strcasestr.c (check1): Here. New function.
38347 (do_one_test): Break out result checking code into ...
38348 (check_result): This. New function.
38349 (do_one_test): Call check_result.
38350 (test_main): Call check1.
38351 * string/bug-strchr1.c (do_test): Moved to ...
38352 * string/test-strchr.c (check1): Here. New function.
38353 (do_one_test): Break out result checking code into ...
38354 (check_result): This. New function.
38355 (do_one_test): Call check_result.
38356 (test_main): Call check1.
38357 * string/bug-strstr1.c (main): Moved to ...
046f153e 38358 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38359 (do_one_test): Break out result checking code into ...
38360 (check_result): This. New function.
38361 (do_one_test): Call check_result.
38362 (test_main): Call check1.
38363 * string/bug-strcasestr1.c: Removed.
38364 * string/bug-strchr1.c: Likewise.
38365 * string/bug-strstr1.c: Likewise.
38366
53cea63e
L
38367 * elf/Makefile (dl-routines): Add hwcaps.
38368 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38369 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38370 (_dl_important_hwcaps): Moved to ...
38371 * elf/dl-hwcaps.c: Here. New file.
38372 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38373
9cee5585 38374 [BZ #14557]
bb859b06
L
38375 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38376 if IS_IN_rtld isn't defined.
38377
9cee5585
L
38378 * elf/dl-support.c (_dl_sysinfo_map): New.
38379 Include "get-dynamic-info.h" and "setup-vdso.h".
38380 (_dl_non_dynamic_init): Call setup_vdso.
38381 * elf/dynamic-link.h: Don't include <assert.h>.
38382 (elf_get_dynamic_info): Moved to ...
38383 * elf/get-dynamic-info.h: Here. New file.
38384 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38385 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38386 * elf/setup-vdso.h: Here. New file.
38387 * elf/rtld.c: Include "setup-vdso.h".
38388 (dl_main): Call setup_vdso.
38389
23c31b76
JM
383902012-10-05 Joseph Myers <joseph@codesourcery.com>
38391
28234b07
JM
38392 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38393 creal in comment listing functions tested. List finite, isinf,
38394 isnan, isless, islessequal, isgreater, isgreaterequal,
38395 islessgreater, isunordered, lgamma_r and pow10 as functions and
38396 macros not tested. Mention which functions not tested are aliases
38397 for other functions. Fix typo. Note that signs of NaNs are not
38398 tested.
38399
23c31b76
JM
38400 * scripts/config.guess: Update from config.git.
38401 * scripts/config.sub: Likewise.
38402
9043e228
RM
384032012-10-04 Roland McGrath <roland@hack.frob.com>
38404
38405 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38406 * misc/madvise.c (madvise): Renamed to __madvise.
38407 Make madvise a weak alias.
38408 * include/sys/mman.h: Declare __madvise.
38409 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38410 * sysdeps/unix/syscalls.list
38411 (madvise): Make __madvise the strong name, and madvise a weak alias.
38412 * sysdeps/unix/sysv/linux/syscalls.list
38413 (madvise, mmap): Remove redundant entries.
38414 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38415 * malloc/malloc.c (mtrim): Likewise.
38416 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38417
f57f8055
RM
384182012-10-03 Roland McGrath <roland@hack.frob.com>
38419
38420 * sysdeps/mach/hurd/dl-cache.c: File removed.
38421 * config.h.in (USE_LDCONFIG): New #undef.
38422 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38423 * configure: Regenerated.
38424 * elf/Makefile (dl-routines): Add dl-cache only under
38425 [$(use-ldconfig) = yes].
38426 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38427 cache on [USE_LDCONFIG].
38428 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38429 [USE_LDCONFIG].
38430 * elf/rtld.c (dl_main): Likewise.
38431
5bb0c10a
PT
384322012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38433
38434 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38435 _SC_LEVEL4_CACHE_LINESIZE.
38436
010188c6
RM
384372012-10-03 Roland McGrath <roland@hack.frob.com>
38438
38439 * sysdeps/unix/bsd/confstr.h: File removed.
38440
b6c5ec07
AO
384412012-10-02 Alexandre Oliva <aoliva@redhat.com>
38442
38443 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38444 sys/sdt-config.h.
38445
408223d4
RM
384462012-10-02 Roland McGrath <roland@hack.frob.com>
38447
38448 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38449 Make 'mapoff' field ElfW(Off) rather than off_t.
38450
bb9510dc
DL
384512012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38452
fc997c6e
DL
38453 * nscd/Makefile: Remove nscd-cflags and all its users.
38454 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38455 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38456
bb9510dc
DL
38457 [BZ #10631]
38458 * malloc.c (malloc_printerr): Clarify error message.
38459
05699367
L
384602012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38461
38462 [BZ #14648]
38463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38464 Set bit_FMA_Usable if FMA is supported.
38465 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38466 macro.
38467 (bit_FMA4_Usable): Updated.
38468 (index_FMA_Usable): New macro.
38469 (CPUID_FMA): Likewise
38470 (HAS_FMA): Defined with bit_FMA_Usable.
38471
51367701
RM
384722012-10-01 Roland McGrath <roland@hack.frob.com>
38473
38474 * bits/types.h (__swblk_t): Type removed.
38475 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38476 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38478 (__SWBLK_T_TYPE): Likewise.
38479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38480 (__SWBLK_T_TYPE): Likewise.
38481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38482 (__SWBLK_T_TYPE): Likewise.
38483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38484 (__SWBLK_T_TYPE): Likewise.
38485
4d57bf63 384862012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38487 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38488
38489 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38490 (xdr_mapname): Use YPMAXMAP as maxsize.
38491 (xdr_peername): Use YPMAXPEER as maxsize.
38492 (xdr_keydat): Use YPAXRECORD as maxsize.
38493 (xdr_valdat): Use YPMAXRECORD as maxsize.
38494
93c65d43
RM
384952012-10-01 Roland McGrath <roland@hack.frob.com>
38496
497a03d6
RM
38497 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38498
93c65d43
RM
38499 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38500 * csu/init-first.c: ... here.
38501 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38502 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38503 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38504 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38505 * sysdeps/i386/init-first.c: File removed.
38506 * sysdeps/sh/init-first.c: File removed.
38507
bec749fd
JM
385082012-10-01 Joseph Myers <joseph@codesourcery.com>
38509
38510 [BZ #14645]
38511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38512 if x * y might underflow to zero and z is zero.
38513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38515 * math/libm-test.inc (min_subnorm_value): New variable.
38516 (fma_test): Add more tests.
38517 (fma_test_towardzero): Likewise.
38518 (fma_test_downward): Likewise
38519 (fma_test_upward): Likewise.
38520 (initialize): Set min_subnorm_value.
38521
8ec5b013
JM
385222012-09-29 Joseph Myers <joseph@codesourcery.com>
38523
38524 [BZ #14638]
38525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38526 0 + 0.
38527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38528 mode for addition resulting in exact zero.
38529 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38531 exact 0 + 0.
38532 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38534 * math/libm-test.inc (fma_test): Add more tests.
38535 (fma_test_towardzero): New function.
38536 (fma_test_downward): Likewise.
38537 (fma_test_upward): Likewise.
38538 (main): Call the new functions.
38539
b1fa802e
DM
385402012-09-28 David S. Miller <davem@davemloft.net>
38541
38542 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38543
d3b9fd9e
RM
385442012-09-28 Roland McGrath <roland@hack.frob.com>
38545
ea4d37b3
RM
38546 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38547 instead of SIGALRM.
38548
ac51c949
RM
38549 * sysdeps/gnu/_G_config.h: Moved to ...
38550 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38551 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38552 * sysdeps/generic/_G_config.h: ... here.
38553
28c195f7
RM
38554 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38555
848917f9
RM
38556 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38557
6bacf05b
RM
38558 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38559 Conditionalize target on [libnss_test1.so-version].
38560
91363dbb
RM
38561 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38562
cc87f7d8
RM
38563 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38564 (elfobjdir): Move out of conditionals.
38565
b1c608fe
RM
38566 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38567 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38568 (__nss_lookup_function): Conditionalize label remove_from_tree on
38569 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38570
1d9a6d96
DM
385712012-09-28 David S. Miller <davem@davemloft.net>
38572
38573 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38574 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38575 file.
38576 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38577 sysdep_routines.
38578 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38580 when HWCAP_SPARC_CRYPTO is present.
38581
72581615
PT
385822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38583
38584 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38585
715a900c
JL
385862012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38587
38588 [BZ #6530]
38589 * stdio-common/vfprintf.c (process_string_arg): Revert
38590 2000-07-22 change.
38591
385922011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38593
38594 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38595 for testcase.
38596 * stdio-common/tst-sprintf.c: Include <locale.h>
38597 (main): Test sprintf's handling of incomplete multibyte
38598 characters.
38599
9bac1d86
L
386002012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38601
38602 * elf/dl-runtime.c (VERSYMIDX): Removed.
38603 * elf/dl-version.c (VERSYMIDX): Likewise.
38604 * elf/do-rel.h (VERSYMIDX): Likewise.
38605 (VALIDX): Likewise.
38606 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38607 * elf/rtld.c (VALIDX): Likewise.
38608 (ADDRIDX): Likewise.
9bac1d86
L
38609 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38610 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38611 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38612 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38613 (VALIDX): Likewise.
38614 (ADDRIDX): Likewise.
9bac1d86 38615
b31606c0
PT
386162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38617
38618 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38619
11541177
JL
386202012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38621
38622 [BZ #11438]
38623 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38624 to global scope.
38625 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38626 addresses are in the same scope as 192.0.2/24.
38627 * posix/gai.conf: Document new scope table defaults.
38628
adb26fae
SP
386292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38630
38631 [BZ #5298]
38632 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38633 for ftell. Compute offsets from write pointers instead.
38634 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38635
4573c6b0
SP
386362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38637
38638 [BZ #14543]
38639 * libio/Makefile (tests): New test case tst-fseek.
38640 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38641 combination works in wide mode.
38642 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38643 state when the external buffer state changes.
38644
aa9bbfe6
DM
386452012-09-27 David S. Miller <davem@davemloft.net>
38646
38647 [BZ #14376]
38648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38649 pass reloc->r_addend in as the 'high' argument to
38650 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38651
784421e7
DM
38652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38653
c39bc8b8
PT
386542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38655
38656 * rt/tst-aio2.c: Include <pthread.h>.
38657 * rt/tst-aio3.c: Likewise.
38658
1ccc2399
SE
386592012-09-27 Steve Ellcey <sellcey@mips.com>
38660
38661 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38662
31ed4153
L
386632012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38664
25f5f885
L
38665 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38666 contents on [SHARED].
31ed4153 38667
b7bfe116
MP
386682012-09-26 Marek Polacek <polacek@redhat.com>
38669
38670 [BZ #14530]
38671 [BZ #13741]
38672 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38673 for C++ and GCC <4.3 as well as for non GCC compilers.
38674
43c4edba
MT
386752012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38676
38677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38678
6a1bf82f
RM
386792012-09-25 Roland McGrath <roland@hack.frob.com>
38680
38681 * Makefile.in (all, install): Declare with .PHONY.
38682 Reported by Michael Hope <michael.hope@linaro.org>.
38683
8ad11b9a
TMQMF
386842012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38685
38686 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38687 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38688 system header.
38689 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38690 Likewise.
38691 (sydep_routines): Add the new and the internal functions.
38692 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38693 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38695 (GLIBC_2.17): Add the new function.
38696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38697 (GLIBC_2.17): Likewise.
38698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38699 (GLIBC_2.17): Likewise.
38700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38701 (GLIBC_2.17): Likewise.
38702 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38703
7e2fca8d
AM
387042012-09-25 Alan Modra <amodra@gmail.com>
38705
38706 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38707 Add release barrier before setting once_control to say
38708 initialisation is done. Add hints on lwarx. Use macro in
38709 place of isync.
38710 (clear_once_control): Add release barrier.
38711
b87c4b24
JM
387122012-09-25 Joseph Myers <joseph@codesourcery.com>
38713
d032e0d2
JM
38714 [BZ #13629]
38715 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38716 specially.
38717 * math/s_clog10.c (__clog10): Likewise.
38718 * math/s_clog10f.c (__clog10f): Likewise.
38719 * math/s_clog10l.c (__clog10l): Likewise.
38720 * math/s_clogf.c (__clogf): Likewise.
38721 * math/s_clogl.c (__clogl): Likewise.
38722 * math/Makefile (libm-calls): Add x2y2m1.
38723 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38724 (__x2y2m1): Likewise.
38725 (__x2y2m1l): Likewise.
38726 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38727 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38728 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38729 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38730 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38731 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38732 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38733 * sysdeps/i386/fpu/libm-test-ulps: Update.
38734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38735
b87c4b24
JM
38736 [BZ #14621]
38737 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38738 int as type of variable DEPTH.
38739 (glob): Use size_t instead of int as type of variables NEWCOUNT
38740 and OLD_PATHC.
38741
6d3bf199
LD
387422012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38743
22bf5c17
LD
38744 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38745 Add s_sincosf-sse2.
38746 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38747 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38748 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38749 macros for using routine as __sincosf_ia32.
38750 Use macro for function declaration and weak_alias.
38751 * sysdeps/i386/fpu/libm-test-ulps: Update.
38752
38753 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38755
38756 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38757 subnormal argument.
38758 * math/s_cexpf.c (__cexpf): Likewise.
38759 * math/s_csinf.c (__csinf): Likewise.
38760 * math/s_csinhf.c (__csinhf): Likewise.
38761 * math/s_ctanf.c (__ctanf): Likewise.
38762 * math/s_ctanhf.c (__ctanhf): Likewise.
38763 * math/s_ccosh.c (__ccoshf): Likewise.
38764 * math/s_cexp.c (__cexpl): Likewise.
38765 * math/s_csin.c (__csin): Likewise.
38766 * math/s_csinh.c (__csinh): Likewise.
38767 * math/s_ctan.c (__ctan): Likewise.
38768 * math/s_ctanh.c (ctanh): Likewise.
38769 * math/s_ccoshl.c (__ccoshl): Likewise.
38770 * math/s_cexpl.c (__cexpl): Likewise.
38771 * math/s_csinl.c (__csinl): Likewise.
38772 * math/s_csinhl.c (__csinhl): Likewise.
38773 * math/s_ctanl.c (__ctanl): Likewise.
38774 * math/s_ctanhl.c (__ctanhl): Likewise.
38775
203e5603
JM
387762012-09-25 Joseph Myers <joseph@codesourcery.com>
38777
38778 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38779 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38780 (_IO_off_t): Define to __off_t, not _G_off_t.
38781 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38782 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38783 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38784 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38785 type of __dummy and __dummy2 fields.
38786 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38787 (_G_ssize_t): Likewise.
38788 (_G_off_t): Likewise.
38789 (_G_pid_t): Likewise.
38790 (_G_uid_t): Likewise.
38791 (_G_wchar_t): Likewise.
38792 (_G_wint_t): Likewise.
38793 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38794 (_G_ssize_t): Likewise.
38795 (_G_off_t): Likewise.
38796 (_G_pid_t): Likewise.
38797 (_G_uid_t): Likewise.
38798 (_G_wchar_t): Likewise.
38799 (_G_wint_t): Likewise.
38800 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38801 (_G_ssize_t): Likewise.
38802 (_G_off_t): Likewise.
38803 (_G_pid_t): Likewise.
38804 (_G_uid_t): Likewise.
38805 (_G_wchar_t): Likewise.
38806 (_G_wint_t): Likewise.
38807
9fab36eb
SP
388082012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38809
38810 * malloc/arena.c: Include malloc-sysdep.h.
38811 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38812 is sufficient to shrink the heap or an unmap is needed.
38813 * sysdeps/generic/malloc-sysdep.h: New file. Define
38814 new function check_may_shrink_heap.
38815 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38816 new function check_may_shrink_heap.
38817
2b4f00d1
SP
388182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38819
38820 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38821 comments.
38822
9a9028b1
DL
388232012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38824
57c69bef
DL
38825 * catgets/test-gencat.sh: Add "set -e".
38826 * elf/tst-pathopt.sh: Likewise.
38827 * grp/tst_fgetgrent.sh: Likewise.
38828 * iconvdata/run-iconv-test.sh: Likewise.
38829 * intl/tst-gettext.sh: Likewise.
38830 * intl/tst-gettext2.sh: Likewise.
38831 * intl/tst-gettext4.sh: Likewise.
38832 * intl/tst-gettext6.sh: Likewise.
38833 * intl/tst-translit.sh: Likewise.
38834 * io/ftwtest-sh: Likewise.
38835 * libio/test-freopen.sh: Likewise.
38836 * malloc/tst-mtrace.sh: Likewise.
38837 * posix/globtest.sh: Likewise.
38838 * posix/tst-getconf.sh: Likewise.
38839 * posix/wordexp-tst.sh: Likewise.
38840 * stdio-common/tst-printf.sh: Likewise.
38841 * stdio-common/tst-unbputc.sh: Likewise.
38842 * stdlib/tst-fmtmsg.sh: Likewise.
38843 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38844 * catgets/Makefile: Do not specify -e option when running
38845 testsuite shell scripts.
38846 * elf/Makefile: Likewise.
38847 * grp/Makefile: Likewise.
38848 * iconvdata/Makefile: Likewise.
38849 * intl/Makefile: Likewise.
38850 * io/Makefile: Likewise.
38851 * libio/Makefile: Likewise.
38852 * malloc/Makefile: Likewise.
38853 * posix/Makefile: Likewise.
38854 * stdio-common/Makefile: Likewise.
38855 * stdlib/Makefile: Likewise.
38856 * sysdeps/x86_64/Makefile: Likewise.
38857
9a9028b1
DL
38858 * io/ftwtest-sh: Add copyright header.
38859 * posix/globtest.sh: Likewise.
38860 * posix/tst-getconf.sh: Likewise.
38861 * posix/wordexp-tst.sh: Likewise.
38862 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38863
ced6f16e
L
388642012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38865
94b32c39
L
38866 [BZ #13679]
38867 * Makeconfig (+link): Defined as $(+link-static) if
38868 $(build-shared) isn't yes.
38869 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38870 isn't yes.
38871 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38872
189e935b
L
38873 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38874
ced6f16e
L
38875 [BZ #14562]
38876 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38877 new chunk size with MALLOC_ALIGN_MASK.
38878
a9f8e53a
JM
388792012-09-24 Joseph Myers <joseph@codesourcery.com>
38880
38881 [BZ #5044]
38882 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38883 <rounding-mode.h>.
38884 (__printf_fphex): Determine rounding using get_rounding_mode and
38885 round_away.
38886 * stdio-common/tst-printf-round.c (struct hex_test): New
38887 structure.
38888 (hex_tests): New variable.
38889 (test_hex_in_one_mode): New function.
38890 (do_test): Also run tests for hex float output.
38891
43153109
JM
388922012-09-21 Joseph Myers <joseph@codesourcery.com>
38893
38894 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38895 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38896 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38897 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38898 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38899 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38900 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38901 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38902
8a26625d
JM
389032012-09-20 Joseph Myers <joseph@codesourcery.com>
38904
38905 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38906 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38907 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38908 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38909
f3fd569c
DL
389102012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38911
38912 [BZ #14579]
38913 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38914 mode only.
38915 * elf/tst-rtld-load-self.sh: New test.
38916 * elf/Makefile: Run it.
38917
63bbedd4
JM
389182012-09-18 Joseph Myers <joseph@codesourcery.com>
38919
38920 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38921 (tst-writev-ENV): Remove.
38922 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38923
626f8b6a
CM
389242012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38925
38926 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38927
b7aaa4d6
JM
389282012-09-17 Joseph Myers <joseph@codesourcery.com>
38929
38930 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38931 unconditional.
38932 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38933 Likewise.
38934 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38935 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38936 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38937 Likewise.
38938
65513990
L
389392012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38940
38941 [BZ #14587]
38942 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38943 * config.make.in (have-cpp-asm-debuginfo): Removed.
38944 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38945 * configure: Regenerated.
38946
784761be
JM
389472012-09-14 Joseph Myers <joseph@codesourcery.com>
38948
38949 [BZ #5044]
38950 * stdio-common/printf_fp.c: Include <stdbool.h> and
38951 <rounding-mode.h>.
38952 (___printf_fp): Determine rounding using get_rounding_mode and
38953 round_away.
38954 * stdio-common/tst-printf-round.c: New file.
38955 * stdio-common/Makefile (tests): Add tst-printf-round.
38956 (link-libm): New variable.
38957 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38958
9503345f
L
389592012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38960
38961 [BZ #14576]
38962 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38963 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38964 Likewise.
38965 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38966 Likewise.
38967
ad35fc00
JM
389682012-09-13 Joseph Myers <joseph@codesourcery.com>
38969
38970 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38971 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38972 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38973 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38974
6c9b0f68
JM
389752012-09-12 Joseph Myers <joseph@codesourcery.com>
38976
38977 [BZ #14518]
38978 * include/rounding-mode.h: New file.
38979 * sysdeps/generic/get-rounding-mode.h: Likewise.
38980 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38981 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38982 (MAX_VALUE): New macro.
38983 (MIN_VALUE): Likewise.
38984 (overflow_value): New function.
38985 (underflow_value): Likewise.
38986 (round_and_return): Use overflow_value and underflow_value to
38987 determine return values in overflow and underflow cases. Use
38988 round_away to determine rounding depending on rounding mode.
38989 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38990 determine return values in overflow and underflow cases.
38991 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38992 (struct test_results): New structure.
38993 (struct test): Use struct test_results to store expected results
38994 for all rounding modes.
38995 (TEST): Include expected results for all rounding modes.
38996 (test_in_one_mode): New function.
38997 (do_test): Use test_in_one_mode to compute and check results.
38998 Check results for all rounding modes.
38999 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39000 $(link-libm).
39001
19fcedd5
AM
390022012-12-09 Allan McRae <allan@archlinux.org>
39003
1e9d84cd 39004 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 39005
8bbfd2f1
JM
390062012-09-11 Joseph Myers <joseph@codesourcery.com>
39007
39008 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39009 (_G_int32_t): Likewise.
39010 (_G_uint16_t): Likewise.
39011 (_G_uint32_t): Likewise.
39012 (_G_HAVE_BOOL): Likewise.
39013 (_G_HAVE_ATEXIT): Likewise.
39014 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39015 (_G_HAVE_IO_FILE_OPEN): Likewise.
39016 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39017 (_G_int32_t): Likewise.
39018 (_G_uint16_t): Likewise.
39019 (_G_uint32_t): Likewise.
39020 (_G_HAVE_BOOL): Likewise.
39021 (_G_HAVE_ATEXIT): Likewise.
39022 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39023 (_G_HAVE_IO_FILE_OPEN): Likewise.
39024 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39025 (_G_int32_t): Likewise.
39026 (_G_uint16_t): Likewise.
39027 (_G_uint32_t): Likewise.
39028 (_G_HAVE_BOOL): Likewise.
39029 (_G_HAVE_ATEXIT): Likewise.
39030 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39031 (_G_HAVE_IO_FILE_OPEN): Likewise.
39032
b1dc5912
L
390332012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39034
39035 * csu/libc-tls.c: Update copyright years.
39036
0e886ef9
JM
390372012-09-10 Joseph Myers <joseph@codesourcery.com>
39038
28361c5e
JM
39039 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39040 [!_G_USING_THUNKS]: Remove conditional code.
39041 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39042 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39043
0e886ef9
JM
39044 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39045 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39046 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39047 (_G_VTABLE_LABEL_PREFIX): Likewise.
39048 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39049 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39050 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39051 (_G_VTABLE_LABEL_PREFIX): Likewise.
39052 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39053 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39054 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39055 (_G_VTABLE_LABEL_PREFIX): Likewise.
39056 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39057
bcba7aa2
L
390582012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39059
39060 * libio/Makefile: Include ../Makeconfig before tests.
39061 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39062 only if $(build-shared) is yes.
39063
06585ee8
L
39064 * iconv/gconv_db.c: Update copyright years.
39065
80ccd52c
LD
390662012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39067
39068 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39069 unwind info if defined PIC. Fix special cases description.
39070 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39071
39072 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39073 DP_HI_MASK entry.
39074 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39075
691bc9c1
L
390762012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39077
3d9b46b3
L
39078 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39079
de2139a9
L
39080 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39081 is NULL.
39082
5ca78dd0
L
39083 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39084 (LDLIBS-tst-chk4): This.
39085 (LDFLAGS-tst-chk5): Renamed to ...
39086 (LDLIBS-tst-chk5): This.
39087 (LDFLAGS-tst-chk6): Renamed to ...
39088 (LDLIBS-tst-chk6): This.
39089 (LDFLAGS-tst-lfschk4): Renamed to ...
39090 (LDLIBS-tst-lfschk4): This.
39091 (LDFLAGS-tst-lfschk5): Renamed to ...
39092 (LDLIBS-tst-lfschk5): This.
39093 (LDFLAGS-tst-lfschk6): Renamed to ...
39094 (LDLIBS-tst-lfschk6): This.
39095
691bc9c1
L
39096 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39097 on $(common-objpfx)soversions.mk.
39098
65cafb1c
JM
390992012-09-07 Joseph Myers <joseph@codesourcery.com>
39100
39101 [BZ #10014]
39102 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39103 example host name.
39104
c78ab094
SP
391052012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39106
39107 * malloc/arena.c (arena_get_retry): New function that gets
39108 another arena for the caller to try its request on.
39109 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39110 current arena cannot fulfill the request.
39111 (__libc_memalign): Likewise.
39112 (__libc_memalign): Likewise.
39113 (__libc_pvalloc): Likewise.
39114 (__libc_calloc): Likewise.
39115
01f49f59
JT
391162012-09-05 John Tobey <john.tobey@gmail.com>
39117
39118 [BZ #13542]
39119 * manual/arith.texi (Operations on Complex): Fix description
39120 of carg branch cut.
39121
4c23fed5
JM
391222012-09-06 Joseph Myers <joseph@codesourcery.com>
39123
1d3c8572
JM
39124 [BZ #10014]
39125 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39126 host name.
39127
4c23fed5
JM
39128 [BZ #10038]
39129 * manual/memory.texi (Memory): Make order of menu items match
39130 order of sections.
39131
04570aaa
L
391322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39133
39134 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39135 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39136 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39137
b80af2f4
L
391382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39139
39140 * csu/libc-tls.c (static_dtv): Renamed to ...
39141 (_dl_static_dtv): This. Make it global.
39142 (_dl_initial_dtv): Removed.
39143 (__libc_setup_tls): Updated.
39144 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39145 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39146 DL_INITIAL_DTV.
39147
2abe9f15
PM
391482012-09-06 Petr Machata <pmachata@redhat.com>
39149
39150 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39151 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39152 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39153 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39154
0948c3af
L
391552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39156
39157 [BZ #14545]
39158 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39159 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39160 freeing dtv[-1].
39161
a5055ad1
L
391622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39163
39164 [BZ #14544]
39165 * Makeconfig (link-static-before-libc): Replace $(+prector)
39166 with $(+prectorT).
39167 (link-static-after-libc): Replace $(+postctor) with
39168 $(+postctorT).
39169 (link-bounded): Replace $(+prector)/$(+postctor) with
39170 $(+prectorT)/$(+postctorT).
39171 (+prectorT): New macro.
39172 (+postctorT): Likewise.
39173
ed8c2ecd
JM
391742012-09-06 Joseph Myers <joseph@codesourcery.com>
39175
39176 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39177 (round_str): Handle values above the maximum for IBM long double
39178 as inexact.
39179 * stdlib/tst-strtod-round.c (tests): Regenerated.
39180
14c996c8
AK
391812012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39182
39183 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39184 assembler flag.
39185 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39186 zarch_nohighgprs around the zarch optimized routines.
39187 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39188 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39190 for zarch.
39191
430d6ce6
DM
391922012-09-05 David S. Miller <davem@davemloft.net>
39193
39194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39195
57f41c40
AS
39196 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39197 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
39198 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39199 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39200 entries.
39201
24d4e01b
AO
392022012-09-05 Alexandre Oliva <aoliva@redhat.com>
39203
39204 * malloc/arena.c: Fold copyright years.
39205 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39206
61d58174
AO
392072012-09-05 Alexandre Oliva <aoliva@redhat.com>
39208
39209 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39210
20196a5e
AO
392112012-09-05 Alexandre Oliva <aoliva@redhat.com>
39212
39213 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39214
5c447383
AO
392152012-09-05 Alexandre Oliva <aoliva@redhat.com>
39216
39217 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39218 change internal state upon failure.
39219
fad64255
AO
392202012-09-05 Alexandre Oliva <aoliva@redhat.com>
39221
39222 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39223 * malloc/memusage.c (mmap): Likewise.
39224 (mmap64, mremap): Likewise. Adjust name in comment.
39225
1ffb8c90
SP
392262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39227
39228 * libio/fileops.c: Fix typos in comments.
39229 * libio/oldfileops.c: Likewise.
39230 * libio/wfileops.c: Likewise.
39231
6ef9cc37
SP
392322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39233
39234 [BZ #1349]
39235 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39236 (tst-malloc-usable-ENV): Set environment for test case.
39237 * malloc/hooks.c (malloc_check_get_size): New function to get
39238 requested size.
39239 * malloc/malloc.c (musable): Use malloc_check_get_size.
39240 * malloc/tst-malloc-usable.c: New test case.
39241
4d038ae3
AS
392422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39243
39244 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39245
c4e85184
AM
392462012-09-05 Allan McRae <allan@archlinux.org>
39247
b9dafc56 39248 [BZ #13966]
c4e85184
AM
39249 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39250 determine header location.
39251 * configure: Regenerated.
39252
e1343020
AS
392532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39254
39255 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39256 float format.
39257 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39258 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39259 format.
e1343020
AS
39260 (test): Regenerate.
39261
0a9f1987
DM
392622012-09-04 David S. Miller <davem@davemloft.net>
39263
39264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39267
29237804
FW
392682012-09-04 Florian Weimer <fweimer@redhat.com>
39269
39270 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39271 failures.
39272
edb3cb88
FW
39273 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39274
60160d83
JM
392752012-09-04 Joseph Myers <joseph@codesourcery.com>
39276
39277 [BZ #9914]
39278 * libio/iogetdelim.c: Include <limits.h>.
39279 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39280 + len + 1 would overflow.
39281
bcd6c8dc
AJ
392822012-09-03 Andreas Jaeger <aj@suse.de>
39283
39284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39285 * sysdeps/i386/fpu/libm-test-ulps: Update.
39286
4ffffbd2
LD
392872012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39288
39289 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39290 Add s_sinf-sse2, s_conf-sse2.
39291
39292 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39293 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39294 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39295 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39296
39297 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39298 for using routine as __sinf_ia32.
39299 Use macro for function declaration and weak_alias.
39300 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39301 for using routine as __cosf_ia32.
39302 Use macro for function declaration and weak_alias.
39303
39304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39305 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39306
39307 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39308 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39310
39311 * math/libm-test.inc (cos_test): Add more test cases.
39312 (sin_test): Likewise.
39313 (sincos_test): Likewise.
39314
511fa286
AK
393152012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39316
39317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39318 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39319 hidden.
39320 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39321
5f30cfec
L
393222012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39323
39324 [BZ #14538]
39325 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39326 first element of the GOT.
39327 (elf_machine_load_address): Return the difference between
39328 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39329
0786794f
AM
393302012-09-01 Allan McRae <allan@archlinux.org>
39331
5f30cfec
L
39332 [BZ #13412]
39333 * configure.in (AWK): Require gawk version 3.0 or later.
39334 * configure: Regenerated.
0786794f 39335
26889eac
JM
393362012-09-01 Joseph Myers <joseph@codesourcery.com>
39337
39338 * sysdeps/unix/sysv/linux/kernel-features.h
39339 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39340 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39341 [__NR_clock_getres]: Make code unconditional.
39342 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39343 (clock_getcpuclockid): Remove code left unreachable by removal of
39344 conditionals.
39345 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39346 code unconditional.
39347 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39348 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39349 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39350 Make code unconditional.
39351 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39352 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39353 * sysdeps/unix/sysv/linux/clock_settime.c
39354 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39355 conditional code.
39356 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39358
d22e28b0
L
393592012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39360
39361 [BZ #14476]
39362 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39363 scripts/test-installation.pl.
39364
39365 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39366 and $ld_so_version if it is set.
39367
050af9c4
SP
393682012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39369
39370 [BZ #14516]
39371 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39372 failure if reading from procfs failed.
39373 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39374
ad845c0b
JM
393752012-08-27 Joseph Myers <joseph@codesourcery.com>
39376
39377 * sysdeps/unix/sysv/linux/kernel-features.h
39378 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39379 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39380 Remove conditional code.
39381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39382 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39383 Remove conditional code.
39384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39385 * sysdeps/unix/sysv/linux/i386/fxstat.c
39386 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39388 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39389 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39391 * sysdeps/unix/sysv/linux/i386/lxstat.c
39392 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39394 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39395 Remove conditional code.
39396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39397 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39398 Remove conditional code.
39399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39400 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39401 <kernel-features.h>.
39402 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39403 Remove.
39404 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39405 Remove conditional code.
39406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39407 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39408 Remove conditional.
39409
5dbf56af
MF
394102012-08-27 Mike Frysinger <vapier@gentoo.org>
39411
39412 [BZ #5400]
39413 * NEWS: Add fixed bug number.
39414
d6e70f43
JM
394152012-08-27 Joseph Myers <joseph@codesourcery.com>
39416
7efb4737
JM
39417 [BZ #14519]
39418 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39419 underflowing exponent in case of negative sign.
39420 * stdlib/tst-strtod-round-data: Add more tests.
39421 * stdlib/tst-strtod-round.c (tests): Regenerated.
39422
af92131a
JM
39423 [BZ #3479]
39424 * stdlib/strtod_l.c (NDIG): Remove.
39425 (HEXNDIG): Likewise.
39426 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39427 smallest representable value.
39428 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39429 lie within an exact representation of 1/2 ulp of the result.
39430 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39431 unconditionally.
39432 (TENS_P9_IDX): Define unconditionally.
39433 (TENS_P9_SIZE): Likewise.
39434 (TENS_P10_IDX): Likewise.
39435 (TENS_P10_SIZE): Likewise.
39436 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39437 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39438 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39439 entries for 10^2^13 and 10^2^14.
39440 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39441 (TENS_P13_IDX): Define.
39442 (TENS_P13_SIZE): Likewise.
39443 (TENS_P14_IDX): Likewise.
39444 (TENS_P14_SIZE): Likewise.
39445 (_fpioconst_pow10): Change array size to
39446 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39447 unconditional.
39448 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39449 1024]: Add entries for 10^2^13 and 10^2^14.
39450 [LAST_POW10 > _LAST_POW10]: Remove #error.
39451 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39452 (_fpioconst_pow10): Change array size to
39453 FPIOCONST_POW10_ARRAY_SIZE.
39454 * stdlib/gen-fpioconst.c: New file.
39455 * stdlib/gen-tst-strtod-round.c: Likewise.
39456 * stdlib/tst-strtod-round-data: Likewise.
39457 * stdlib/tst-strtod-round.c: Likewise.
39458 * stdlib/Makefile (tests): Add tst-strtod-round.
39459
d6e70f43
JM
39460 [BZ #14459]
39461 * stdlib/strtod_l.c: Include <stdint.h>.
39462 (NDEBUG): Do not define.
39463 (round_and_return): Change EXPONENT parameter to type intmax_t.
39464 Rearrange calculations to avoid internal overflow possibilities.
39465 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39466 Rearrange calculations to avoid internal overflow possibilities.
39467 Assert that number fits inside MPNSIZE limbs.
39468 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39469 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39470 calculations and add assertions to avoid internal overflow
39471 possibilities. Add casts to avoid signed/unsigned operations.
39472 * stdlib/tst-strtod-overflow.c: New file.
39473 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39474
1f529f7d
MP
394752012-08-25 Marek Polacek <polacek@redhat.com>
39476
39477 * time/time.h: Fix some typos in comments.
39478
59a629f1
RM
394792012-08-23 Roland McGrath <roland@hack.frob.com>
39480
39481 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39482 * posix/tst-rfc3484-2.c: Likewise.
39483 * posix/tst-rfc3484-3.c: Likewise.
39484
d3bafbc9
SM
394852012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39486
39487 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39488 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39489
4efcc022
JM
394902012-08-23 Joseph Myers <joseph@codesourcery.com>
39491
39492 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39493 #include of fxstatat64.c.
39494
3cc3ef96
RM
394952012-08-22 Roland McGrath <roland@hack.frob.com>
39496
f04e2132
RM
39497 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39498 * shadow/getspent_r.c: Likewise.
39499 * shadow/getspnam.c: Likewise.
39500 * shadow/getspnam_r.c: Likewise.
39501 * gshadow/getsgent.c: Likewise.
39502 * gshadow/getsgent_r.c: Likewise.
39503 * gshadow/getsgnam.c: Likewise.
39504 * gshadow/getsgnam_r.c: Likewise.
39505 * inet/getnetbyad.c: Likewise.
39506 * inet/getnetbyad_r.c: Likewise.
39507 * inet/getnetbynm.c: Likewise.
39508 * inet/getnetbynm_r.c: Likewise.
39509 * inet/getnetent.c: Likewise.
39510 * inet/getnetent_r.c: Likewise.
39511 * inet/getproto.c: Likewise.
39512 * inet/getproto_r.c: Likewise.
39513 * inet/getprtent.c: Likewise.
39514 * inet/getprtent_r.c: Likewise.
39515 * inet/getprtname.c: Likewise.
39516 * inet/getprtname_r.c: Likewise.
39517 * inet/getrpcbyname.c: Likewise.
39518 * inet/getrpcbyname_r.c: Likewise.
39519 * inet/getrpcbynumber.c: Likewise.
39520 * inet/getrpcbynumber_r.c: Likewise.
39521 * inet/getrpcent.c: Likewise.
39522 * inet/getrpcent_r.c: Likewise.
39523 * inet/getaliasent.c: Likewise.
39524 * inet/getaliasent_r.c: Likewise.
39525 * inet/getaliasname.c: Likewise.
39526 * inet/getaliasname_r.c: Likewise.
39527 * nscd/getgrgid_r.c: Likewise.
39528 * nscd/getgrnam_r.c: Likewise.
39529 * nscd/gethstbyad_r.c: Likewise.
39530 * nscd/gethstbynm3_r.c: Likewise.
39531 * nscd/getpwnam_r.c: Likewise.
39532 * nscd/getpwuid_r.c: Likewise.
39533 * nscd/getsrvbynm_r.c: Likewise.
39534 * nscd/getsrvbypt_r.c: Likewise.
39535 * nscd/gai.c: Likewise.
39536
c53d909c
RM
39537 * configure.in (build_nscd): New substituted variable, set
39538 by --disable-build-nscd and defaults to $use_nscd.
39539 * configure: Regenerated.
39540 * config.make.in (build-nscd): New substituted variable.
39541 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39542 Change conditional to require [$(build-nscd) = yes] as well.
39543 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39544
3cc3ef96
RM
39545 [BZ# 13696]
39546 * configure.in (use_nscd): New substituted variable, set by
39547 --disable-nscd. If enabled, define USE_NSCD.
39548 * configure: Regenerated.
39549 * config.h.in: Add USE_NSCD.
39550 * config.make.in (use-nscd): New substituted variable.
39551 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39552 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39553 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39554 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39555 (CFLAGS-getgrnam_r.c): Likewise.
39556 (CFLAGS-initgroups.c): Likewise.
39557 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39558 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39559 Variables removed.
39560 * inet/getnetgrent_r.c
39561 (nscd_setnetgrent): New function, broken out of ...
39562 (setnetgrent): ... here. Call it.
39563 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39564 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39565 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39566 * nscd/Makefile (routines, aux): Move definitions after include of
39567 Makeconfig. Conditionalize on [$(use-nscd) != no].
39568 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39569 Conditionalize on [USE_NSCD].
39570 (is_nscd, nscd_init_cb): Likewise.
39571 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39572 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39573 * nss/nss_db/db-init.c: Likewise.
39574 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39575 [USE_NSCD].
39576 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39577 (make_request): Use it.
39578 (cache_valid_p): New function.
39579 (__check_pf): Use it.
39580 * NEWS: Add item for --disable-nscd.
39581
07e51550
DL
395822012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39583
39584 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39585 to support sed >= 4.2.1-20-ga9bf076.
39586 * configure: Regenerated.
39587
35a5b08b
RM
395882012-08-22 Roland McGrath <roland@hack.frob.com>
39589
39590 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39591 Conditionalize whole body on [IREL].
39592
8479f23a
JL
395932012-08-22 Jeff Law <law@redhat.com>
39594
39595 [BZ #14505]
39596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39597 if the family is PF_UNSPEC.
39598
48da0b21
MF
395992012-08-22 Mike Frysinger <vapier@gentoo.org>
39600
39601 * Makerules (lib-version): Rename from V.
39602 (install-lib-nosubdir): Change V to lib-version.
39603
15d0da8c
WS
396042012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39605
39606 [BZ #14252]
39607 * powerpc32/power6/wcschr.c: New file.
39608 * powerpc32/power6/wcscpy.c: New file.
39609 * powerpc32/power6/wcsrchr.c: New file.
39610 * powerpc64/power6/wcschr.c: New file.
39611 * powerpc64/power6/wcscpy.c: New file.
39612 * powerpc64/power6/wcsrchr.c: New file.
39613
bcca0895
MK
396142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39615
39616 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39617 (two_way_short_needle): Use it.
5a4aaa33
RM
39618 * string/strstr.c (AVAILABLE1_USES_J): Define.
39619 * string/strcasestr.c: Likewise.
99677e57
MK
39620
39621 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39622 array references.
39623 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39624
400726de
MK
39625 [BZ #11607]
39626 * NEWS: Add an entry.
39627 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39628 define their defaults.
39629 (two_way_short_needle): Detect end-of-string on-the-fly.
39630 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39631 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39632 * string/bug-strcasestr1.c: New test.
39633 * string/Makefile: Run it.
39634
20a71f2c
MK
396352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39636
39637 [BZ #11607]
39638 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39639 the first character.
39640
21ad0558
RM
396412012-08-21 Roland McGrath <roland@hack.frob.com>
39642
39643 * csu/elf-init.c (__libc_csu_irel): Function removed.
39644 * csu/libc-start.c (apply_irel): New function.
39645 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39646
0e1d9911
JM
396472012-08-21 Joseph Myers <joseph@codesourcery.com>
39648
39649 * sysdeps/unix/sysv/linux/kernel-features.h
39650 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39651 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39652 <kernel-features.h>.
39653 [__NR_fadvise64_64]: Make code unconditional.
39654 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39655 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39656 !__NR_fadvise64_64)]: Likewise.
39657 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39658 !__NR_fadvise64_64))]: Likewise.
39659 [__NR_fadvise64]: Make code unconditional.
39660 [!__NR_fadvise64]: Remove conditional code.
39661 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39662 <kernel-features.h>.
39663 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39664 unconditional.
39665 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39666 conditional code.
39667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39668 not include <kernel-features.h>.
39669 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39670 unconditional.
39671 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39672 conditional code.
39673 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39674 include <kernel-features.h>.
39675 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39676 unconditional.
39677 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39678 conditional code.
39679
14a50c9d
WS
396802012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39681
39682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39683 slight instruction rearrangements per scrollpipe analysis.
39684 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39685
c0f4faf0
RM
396862012-08-20 Roland McGrath <roland@hack.frob.com>
39687
696da859
RM
39688 * manual/syslog.texi (syslog; vsyslog, closelog):
39689 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39690 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39691
c0f4faf0
RM
39692 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39693 DSOCAPS to match condition on defining it.
39694
348363b2
JM
396952012-08-20 Joseph Myers <joseph@codesourcery.com>
39696
a35cbf28
JM
39697 * sysdeps/unix/sysv/linux/kernel-features.h
39698 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39700 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39701 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39703 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39704 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39706 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39707 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39708
445f7ecd
JM
39709 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39710 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39711
348363b2
JM
39712 * sysdeps/unix/sysv/linux/kernel-features.h
39713 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39714 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39715 unconditional.
39716 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39717 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39718 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39719 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39720 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39721 Make code unconditional.
39722 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39723 (__mmap64) [!__NR_mmap2]: Likewise.
39724 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39725 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39726 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39727 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39728 [__NR_mmap2]: Make code unconditional.
39729 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39730 (__mmap64) [!__NR_mmap2]: Likewise.
39731
bc5bc0e5
AK
397322012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39733
39734 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39735
88d506de
AJ
397362012-08-18 Andreas Jaeger <aj@suse.de>
39737
39738 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39739
493387d2
MF
397402012-08-18 Mike Frysinger <vapier@gentoo.org>
39741
39742 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39743 * include/unistd.h (__have_sock_cloexec): Likewise.
39744 (__have_pipe2): Likewise.
39745 (__have_dup3): Likewise.
39746
a277af22
MF
397472012-08-18 Mike Frysinger <vapier@gentoo.org>
39748
39749 [BZ #9685]
39750 * include/unistd.h (__have_pipe2): Change define into an extern int.
39751 (__have_dup3): Likewise.
39752 * socket/have_sock_cloexec.c: Include fcntl.h.
39753 (__have_pipe2): New variable.
39754 (__have_dup3): Likewise.
39755
fdab8fd3
MF
397562012-08-17 Mike Frysinger <vapier@gentoo.org>
39757
39758 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39759
31035e80
MP
397602012-08-17 Marek Polacek <polacek@redhat.com>
39761
39762 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39763 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39764
3bd9e993
RM
397652012-08-17 Roland McGrath <roland@hack.frob.com>
39766
c91c505f
RM
39767 * configure.in: Add AC_SUBST for sysheaders.
39768 * configure: Regenerated.
39769 * config.make.in (sysheaders): New substituted variable.
39770
7c6f9d53
RM
39771 * sysdeps/unix/mkfifo.c: Moved ...
39772 * sysdeps/posix/mkfifo.c: ... here.
39773 * sysdeps/unix/mkfifoat.c: Moved ...
39774 * sysdeps/posix/mkfifoat.c: ... here.
39775
39776 * sysdeps/unix/utime.c: Moved ...
39777 * sysdeps/posix/utime.c: ... here.
39778
39779 * sysdeps/unix/time.c: Moved ...
39780 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39781 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39782 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39783
39784 * sysdeps/unix/nice.c: Moved ...
39785 * sysdeps/posix/nice.c: ... here.
39786
39787 * sysdeps/unix/alarm.c: Moved ...
39788 * sysdeps/posix/alarm.c: ... here.
39789
3bd9e993
RM
39790 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39791
d1f09384
JL
397922012-08-17 Jeff Law <law@redhat.com>
39793
39794 * intl/Makefile (codeset_mo): New variable.
39795 ($(codeset_mo)): New target.
39796 (tst-codeset.out): Depend on that. Remove explicit rule.
39797 (tst-gettext3.out, tst-gettext5.out): Likewise.
39798 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39799 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39800 * intl/tst-codeset.sh: Remove.
39801 * intl/tst-gettext3.sh: Likewise.
39802 * intl/tst-gettext5.sh: Likewise.
39803
2ae1ae5c
RM
398042012-08-17 Roland McGrath <roland@hack.frob.com>
39805
c31fdb83
RM
39806 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39807 * sysdeps/unix/syscalls.list: ... here.
39808
a0844057
RM
39809 * sysdeps/posix/getaddrinfo.c
39810 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39811 (gaiconf_init, gaiconf_reload): Use them.
39812 [!_STATBUF_ST_NSEC]
39813 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39814 Define using time_t rather than struct timespec.
39815
750c1f2a
RM
39816 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39817 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39818 Macros removed.
39819 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39820 [!NO_THREADS].
39821 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39822 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39823 Likewise.
39824
2ae1ae5c
RM
39825 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39826 __libc_cleanup_push argument.
39827
e66a42f5
RM
39828 * bits/param.h: New file.
39829 * misc/sys/param.h: New file.
39830 * include/sys/param.h: New file.
39831 * misc/Makefile (headers): Add bits/param.h.
39832 * sysdeps/generic/sys/param.h: File removed.
39833 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39834 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39835 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39836 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39837
b7c08a66
RM
39838 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39839 last change.
39840
b2e1c562
RM
39841 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39842 [_IO_MTSAFE_IO].
39843 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39844 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39845 New macros.
39846
c75ccd4c
RM
39847 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39848 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39849 rather than -D_IO_MTSAFE_IO conditionally.
39850 * stdio-common/Makefile (CPPFLAGS): Likewise.
39851 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39852 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39853 Use $(libio-mtsafe).
39854 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39855 of -D_IO_MTSAFE_IO.
39856 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39857 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39858 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39859 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39860 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39861 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39862 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39863 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39864 (CFLAGS-fread_u_chk.c): Likewise.
39865 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39866 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39867 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39868 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39869 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39870 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39871 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39872 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39873 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39874
39875 * libio/Makefile: Test [$(libc-reentrant) = yes]
39876 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39877
39878 * Makeconfig
39879 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39880 * sysdeps/pthread/configure: File removed.
39881 * sysdeps/pthread/Makeconfig: New file.
39882 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39883 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39884
d9195db8
GB
398852012-08-16 Gary Benson <gbenson@redhat.com>
39886
39887 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39888 unmapping the first object in a namespace.
39889
86466cd9
RM
398902012-08-16 Roland McGrath <roland@hack.frob.com>
39891
39892 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39893 (__internal_setnetgrent): ... this. Add internal_function to
39894 definition. Add libc_hidden_def.
39895 (setnetgrent): Update caller.
39896 (internal_endnetgrent): Renamed to ...
39897 (__internal_endnetgrent): ... this. Add internal_function to
39898 definition. Add libc_hidden_def.
39899 (endnetgrent): Update caller.
39900 (internal_getnetgrent_r): Renamed to ...
39901 (__internal_getnetgrent_r): ... this. Add internal_function to
39902 definition. Add libc_hidden_def.
39903 (__getnetgrent_r): Update caller.
39904 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39905
c3c8283c
JM
399062012-08-16 Joseph Myers <joseph@codesourcery.com>
39907
39908 * stdlib/longlong.h: Update from GCC.
39909
db1ee0a8
RM
399102012-08-16 Roland McGrath <roland@hack.frob.com>
39911
39912 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39913 on _QL, which is set by umul_ppmm but never used.
39914 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39915 variables, which are set by GMP macros but never used.
39916 * stdio-common/_itowa.c (_itowa): Likewise.
39917 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39918 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39919
30f69637
CD
399202012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39921
39922 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39923 struct La_sh_regs is not constant.
39924 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39925 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39926 and struct La_sparc64_regs are not constant.
39927
93a78ac4
JM
399282012-08-16 Joseph Myers <joseph@codesourcery.com>
39929
39930 * sysdeps/unix/sysv/linux/kernel-features.h
39931 (__ASSUME_POSIX_TIMERS): Remove.
39932 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39933 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39934 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39935 Make code unconditional.
39936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39937 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39938 Make code unconditional.
39939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39940 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39941 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39943 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39944 Make code unconditional.
39945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39946 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39947 (__libc_missing_posix_timers): Remove.
39948
dd924cd7
RM
399492012-08-15 Roland McGrath <roland@hack.frob.com>
39950
4b4f2771
RM
39951 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39952 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39953
601c888b
RM
39954 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39955
176790a7
RM
39956 * elf/dl-sym.c: Include <stdlib.h>.
39957
329bc018
RM
39958 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39959 constants, which avoids warnings in 32-bit builds.
39960
e04e272d
RM
39961 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39962 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39963
952bf94a
RM
39964 * misc/lseek.c: File moved to ...
39965 * io/lseek.c: ... here.
39966
7c99b50a
RM
39967 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39968
dd924cd7
RM
39969 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39970 shifting LEN more than 31 bits at once.
39971
b3f479a8
LD
399722012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39973
39974 [BZ #14195]
8c4ae0d4
RM
39975 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39976 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39977 * string/test-strncasecmp.c (check1): Renamed to...
39978 (bz12205): ...this.
39979 (bz14195): Add new testcase for two empty input strings and N > 0.
39980 (test_main): Call new testcase, adapt for renamed function.
39981
9c55864e
AJ
399822012-08-15 Andreas Jaeger <aj@suse.de>
39983
39984 [BZ #14090]
39985 * crypt/md5test2.c: New test, based on test supplied by Serge
39986 Belyshev <belyshev@depni.sinp.msu.ru>.
39987 * crypt/Makefile (xtests): Add md5test-giant..
39988 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39989
02dcb6c5
PE
399902012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39991
39992 [BZ #14090]
39993 * crypt/md5.c (md5_process_block): Don't assume the buffer
39994 length is less than 2**32.
39995 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39996 length is less than 2**64.
39997
a3f95dcc
RM
399982012-08-15 Roland McGrath <roland@hack.frob.com>
39999
be75d758
RM
40000 * string/str-two-way.h: Include <sys/param.h>.
40001 (MAX): Macro removed.
40002
7312ca90
RM
40003 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40004 Move #define and #undef of memmove to just before and after
40005 including <string.h>.
40006
9a0a5486
RM
40007 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40008 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40009 and after including <string.h>. Move declarations of
40010 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40011 to before #include "string/memmove.c".
40012
67cc348d
RM
40013 * include/dirent.h: Declare __getdirentries.
40014
a3f95dcc
RM
40015 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40016 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40017
ca98e171
MF
400182012-08-14 Mike Frysinger <vapier@gentoo.org>
40019
40020 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40021 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40022 * sysdeps/i386/configure: Regenerated.
40023 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40024 STABS_CURRENT_FILE, and STABS_FUN.
40025 (END): Remove call to STABS_FUN_END.
40026 (STABS_CURRENT_FILE1): Delete.
40027 (STABS_CURRENT_FILE): Likewise.
40028 (STABS_FUN): Likewise.
40029 (STABS_FUN_END): Likewise.
40030 (STABS_FUN2): Likewise.
40031 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40032 * sysdeps/x86_64/configure: Regenerated.
40033
5908bf46
RM
400342012-08-14 Roland McGrath <roland@hack.frob.com>
40035
40036 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 40037 * elf/dl-lookup.c: Likewise.
5908bf46 40038
f2c05b9e
JM
400392012-08-14 Joseph Myers <joseph@codesourcery.com>
40040
40041 * sysdeps/unix/sysv/linux/kernel-features.h
40042 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40043 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40044 unconditionally.
40045 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40046 unconditionally.
40047 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40048 condition on __ASSUME_CLONE_THREAD_FLAGS.
40049
e11f5155
AJ
400502012-08-14 Andreas Jaeger <aj@suse.de>
40051
40052 * sysdeps/i386/fpu/libm-test-ulps: Update.
40053
51a9ba86
MK
400542012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40055
2fdd4f78
AJ
40056 * include/atomic.h (atomic_exchange_and_add): Split into ...
40057 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40058 New atomic macros.
51a9ba86 40059
ba6cba9e
MT
400602012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40061
40062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40063
42443a47
JL
400642012-08-13 Jeff Law <law@redhat.com>
40065
40066 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40067 null byte in the output string.
40068
121dce05
JM
400692012-08-10 Joseph Myers <joseph@codesourcery.com>
40070
40071 * sysdeps/unix/sysv/linux/kernel-features.h
40072 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40073 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40074 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40075 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40076 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40077 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40078 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40079
bf51f568
JL
400802012-08-09 Jeff Law <law@redhat.com>
40081
40082 [BZ #13939]
40083 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40084 When avoid_arena is set, don't retry in the that arena. Pick the
40085 next one, whatever it might be.
40086 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40087 (arena_lock): Pass in new parameter to arena_get2.
40088 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40089 arena_get2.
40090 (__libc_malloc): Unify retrying after main arena failure with
40091 __libc_memalign version.
40092 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40093
f85fa270
L
400942012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40095
40096 [BZ #14166]
40097 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40098 to __redirect_strstr.
40099 (__strstr_sse42): Use typeof __redirect_strstr.
40100 (__strstr_ia32): Likewise.
40101 (__libc_strstr): New prototype.
40102 (strstr): Renamed to ...
40103 (__libc_strstr): This.
40104 (strstr): New strong alias of __libc_strstr.
40105 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40106 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40107 __redirect_time.
40108 Include <time.h>.
40109 (__libc_time): New prototype.
40110 (time_ifunc): Replace time with __libc_time.
40111 (time): New strong alias and hidden definition of __libc_time.
40112 (__GI_time): Remove strong alias.
40113 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40114 Include <stddef.h>.
40115 (memmove): Redefined to __redirect_memmove.
40116 (__memmove_sse2): Use typeof __redirect_memmove.
40117 (__memmove_ssse3): Likewise.
40118 (__memmove_ssse3_back): Likewise.
40119 (__libc_memmove): New prototype.
40120 (memmove): Renamed to ...
40121 (__libc_memmove): This.
40122 (memmove): New strong alias of __libc_memmove.
40123
33b4a91e
MS
401242012-08-08 Mark Salter <msalter@redhat.com>
40125
40126 * elf/elf.h
40127 (R_MN10300_TLS_GD): Define.
40128 (R_MN10300_TLS_LD): Likewise.
40129 (R_MN10300_TLS_LDO): Likewise.
40130 (R_MN10300_TLS_GOTIE): Likewise.
40131 (R_MN10300_TLS_IE): Likewise.
40132 (R_MN10300_TLS_LE): Likewise.
40133 (R_MN10300_TLS_DTPMOD): Likewise.
40134 (R_MN10300_TLS_DTPOFF): Likewise.
40135 (R_MN10300_TLS_TPOFF): Likewise.
40136 (R_MN10300_SYM_DIFF): Likewise.
40137 (R_MN10300_ALIGN): Likewise.
40138 (R_MN10300_NUM): Update.
40139
b36137f1
JM
401402012-08-08 Joseph Myers <joseph@codesourcery.com>
40141
40142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40143 Remove.
40144
cdd915fd
RM
401452012-08-08 Roland McGrath <roland@hack.frob.com>
40146
a2433aac
RM
40147 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40148
cdd915fd
RM
40149 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40150 sysdeps/unix -> sysdeps/posix move.
40151 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40152
bf9b740a
AM
401532012-08-07 Allan McRae <allan@archlinux.org>
40154
40155 [BZ #14303]
40156 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40157 (SUNOS_CPP): Likewise.
40158 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40159 not found.
40160 (open_input): Call CPP using execvp.
40161
93df14ee
JM
401622012-08-07 Joseph Myers <joseph@codesourcery.com>
40163
40164 * sysdeps/unix/sysv/linux/kernel-features.h
40165 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40166 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40167 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40168 (__ASSUME_WAITID_SYSCALL): Likewise.
40169 * sysdeps/unix/sysv/linux/dl-execstack.c
40170 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40171 code unconditional.
40172 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40173 conditional code.
40174 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40175 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40176 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40177 code.
40178 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40179 unconditional.
40180 [__ASSUME_WAITID_SYSCALL]: Likewise.
40181 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40182
d34689de
RM
401832012-08-07 Roland McGrath <roland@hack.frob.com>
40184
a281decc
RM
40185 * sysdeps/unix/closedir.c: Renamed to ...
40186 * sysdeps/posix/closedir.c: ... here.
40187 * sysdeps/unix/dirfd.c: Renamed to ...
40188 * sysdeps/posix/dirfd.c: ... here.
40189 * sysdeps/unix/dirstream.h: Renamed to ...
40190 * sysdeps/posix/dirstream.h: ... here.
40191 * sysdeps/unix/fdopendir.c: Renamed to ...
40192 * sysdeps/posix/fdopendir.c: ... here.
40193 * sysdeps/unix/opendir.c: Renamed to ...
40194 * sysdeps/posix/opendir.c: ... here.
40195 * sysdeps/unix/readdir.c: Renamed to ...
40196 * sysdeps/posix/readdir.c: ... here.
40197 * sysdeps/unix/readdir_r.c: Renamed to ...
40198 * sysdeps/posix/readdir_r.c: ... here.
40199 * sysdeps/unix/rewinddir.c: Renamed to ...
40200 * sysdeps/posix/rewinddir.c: ... here.
40201 * sysdeps/unix/seekdir.c: Renamed to ...
40202 * sysdeps/posix/seekdir.c: ... here.
40203 * sysdeps/unix/telldir.c: Renamed to ...
40204 * sysdeps/posix/telldir.c: ... here.
40205 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40206 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40207 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40208 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40209
22895b47
RM
40210 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40211 * bits/fcntl.h: ... here.
40212
707a53b6
RM
40213 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40214 not 0.
40215 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40216 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40217 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40218 (struct flock): Move l_start, l_len to the beginning.
40219 Use __pid_t for l_pid.
40220 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40221 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40222 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40223 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40224 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40225 [__USE_LARGEFILE64] (struct flock64): New type.
40226 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40227
f0bd3e25
RM
40228 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40229 * bits/dirent.h: ... here.
40230
d34689de
RM
40231 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40232 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40233
6dad2c06
JM
402342012-08-07 Joseph Myers <joseph@codesourcery.com>
40235
40236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40237 Change from 2.6.0 to 2.6.16.
40238 * sysdeps/unix/sysv/linux/configure: Regenerated.
40239 * sysdeps/unix/sysv/linux/kernel-features.h
40240 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40241 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40242 version.
40243 (__ASSUME_UTIMES): Likewise.
40244 (__ASSUME_CLONE_STOPPED): Remove.
40245 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40246 architectures, not kernel version.
40247 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40248 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40249 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40250 (__ASSUME_WAITID_SYSCALL): Likewise.
40251 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40252 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40253 * README: State 2.6.16 as minimum Linux kernel version. Do not
40254 refer to older versions.
40255
03af9520
RM
402562012-08-06 Roland McGrath <roland@hack.frob.com>
40257
8e49df1d
RM
40258 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40259 Define alphasort64 as an alias.
40260 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40261 Define versionsort64 as an alias.
40262 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40263 Define scandir64 as an alias.
40264 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40265 Define scandirat64 as an alias.
40266 * dirent/alphasort64.c (alphasort64):
40267 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40268 * dirent/versionsort64.c: Likewise.
40269 * dirent/scandir64.c: Likewise.
40270 * dirent/scandirat64.c: Likewise.
40271 * sysdeps/wordsize-64/alphasort.c: File removed.
40272 * sysdeps/wordsize-64/alphasort64.c: File removed.
40273 * sysdeps/wordsize-64/scandir.c: File removed.
40274 * sysdeps/wordsize-64/scandir64.c: File removed.
40275 * sysdeps/wordsize-64/scandirat.c: File removed.
40276 * sysdeps/wordsize-64/scandirat64.c: File removed.
40277 * sysdeps/wordsize-64/versionsort.c: File removed.
40278 * sysdeps/wordsize-64/versionsort64.c: File removed.
40279 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40280 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40281 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40282 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40283 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40284 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40287
40288 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40290 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40292 [defined __arch64__ || defined __sparcv9]
40293 (__INO_T_MATCHES_INO64_T): New macro.
40294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40295 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40296 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40297 * sysdeps/unix/sysv/linux/bits/dirent.h
40298 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40299 (_DIRENT_MATCHES_DIRENT64): New macro.
40300
03af9520
RM
40301 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40302 Define lockf64 as an alias.
40303 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40304 Define fseeko64 as an alias.
40305 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40306 Define ftello64 as an alias.
40307 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40308 Define _IO_fgetpos64 and fgetpos64 as aliases.
40309 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40310 Define _IO_fsetpos64 and fsetpos64 as aliases.
40311 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40312 Conditionalize body on this.
40313 * libio/fseeko64.c: Likewise.
40314 * libio/ftello64.c: Likewise.
40315 * libio/iofgetpos64.c: Likewise.
40316 * libio/iofsetpos64.c: Likewise.
40317 * sysdeps/wordsize-64/lockf.c: File removed.
40318 * sysdeps/wordsize-64/lockf64.c: File removed.
40319 * sysdeps/wordsize-64/fseeko.c: File removed.
40320 * sysdeps/wordsize-64/fseeko64.c: File removed.
40321 * sysdeps/wordsize-64/ftello.c: File removed.
40322 * sysdeps/wordsize-64/ftello64.c: File removed.
40323 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40324 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40325 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40326 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40327 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40328 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40329 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40330 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40331 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40332 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40333 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40335 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40336 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40337
40338 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40340 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40342 [defined __arch64__ || defined __sparcv9]
40343 (__OFF_T_MATCHES_OFF64_T): New macro.
40344 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40345 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40347 (__OFF_T_MATCHES_OFF64_T): New macro.
40348
c5757acd
L
403492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40350
40351 * stdlib/secure-getenv.c (__secure_getenv): Replace
40352 GLIBC_2_16 with GLIBC_2_17.
40353
3a31811e
L
403542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40355
40356 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40357 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40358
faa2bccb
DM
403592012-08-03 David S. Miller <davem@davemloft.net>
40360
40361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40362
85fe1997
JM
403632012-08-03 Joseph Myers <joseph@codesourcery.com>
40364
40365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40366 Remove.
40367 (__ASSUME_CORRECT_SI_PID): Likewise.
40368 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40369 (__ASSUME_TMPFS_NAME): Likewise.
40370 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40371 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40372 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40373 (HAVE_AUX_SECURE): Make definition unconditional.
40374 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40375 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40376
4f75b7a0
RM
403772012-08-03 Roland McGrath <roland@hack.frob.com>
40378
40379 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40380 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40381 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40383 __eloop_threshold instead of SYMLOOP_MAX.
40384
40385 * sysdeps/generic/eloop-threshold.h: New file.
40386 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40387 of MAXSYMLINKS.
40388 * elf/chroot_canon.c (chroot_canon): Likewise.
40389
7aab07e4
JM
403902012-08-03 Joseph Myers <joseph@codesourcery.com>
40391
40392 [BZ #13717]
40393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40394 Change to 2.6.0 everywhere.
40395 * sysdeps/unix/sysv/linux/configure: Regenerated.
40396 * sysdeps/unix/sysv/linux/kernel-features.h
40397 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40398 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40399 kernel versions.
40400 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40401 (__ASSUME_FUTEX_REQUEUE): Remove.
40402 (__ASSUME_STATFS64): Define unconditionally.
40403 (__ASSUME_AT_SECURE): Likewise.
40404 (__ASSUME_CORRECT_SI_PID): Likewise.
40405 (__ASSUME_TGKILL): Define without depending on kernel version for
40406 i386.
40407 (__ASSUME_UTIMES): Likewise.
40408 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40409 kernel version.
40410 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40411 (__ASSUME_TMPFS_NAME): Likewise.
40412 * README: Update reference to Linux kernel versions.
40413
b67e9372
MP
404142012-08-02 Marek Polacek <polacek@redhat.com>
40415
1f529f7d 40416 [BZ# 14150]
b67e9372
MP
40417 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40418 libc_cv_asm_type_prefix with %.
40419 * configure: Regenerated.
d2441631
RM
40420 * include/libc-symbols.h: Remove comment about
40421 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40422 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40423 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40424 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40425 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40426 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40427 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40428 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40429 * elf/tst-unique2mod1.c: Likewise.
40430 * elf/tst-unique1mod2.c: Likewise.
40431 * elf/tst-unique1mod1.c: Likewise.
40432 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40433 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40434 Replace ASM_TYPE_DIRECTIVE with .type.
40435 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40436 * sysdeps/i386/sysdep.h: Likewise.
40437 * sysdeps/x86_64/sysdep.h: Likewise.
40438 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40440 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40441 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40442 * sysdeps/powerpc/powerpc32/sysdep.h:
40443 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40444 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40445 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40446 * sysdeps/i386/fpu/e_powf.S: Likewise.
40447 * sysdeps/i386/fpu/e_expl.S: Likewise.
40448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40449 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40450 * sysdeps/i386/fpu/e_pow.S: Likewise.
40451 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40452 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40453 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40454 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40455 * sysdeps/i386/fpu/e_log2.S: Likewise.
40456 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40457 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40458 * sysdeps/i386/fpu/e_powl.S: Likewise.
40459 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40460 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40461 * sysdeps/i386/fpu/e_logl.S: Likewise.
40462 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40463 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40464 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40465 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40466 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40467 * sysdeps/i386/fpu/e_log.S: Likewise.
40468 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40469 * sysdeps/i386/fpu/e_logf.S: Likewise.
40470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40471 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40472 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40473 * sysdeps/i386/fpu/e_log10.S: Likewise.
40474 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40476 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40477 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40480 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40481 * sysdeps/i386/i686/strtok.S: Likewise.
40482 * sysdeps/i386/i386-mcount.S: Likewise.
40483 * sysdeps/i386/strtok.S: Likewise.
40484 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40486 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40487 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40488 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40489 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40490 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40491 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40492 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40493 * sysdeps/x86_64/_mcount.S: Likewise.
40494 * sysdeps/x86_64/strtok.S: Likewise.
40495 * sysdeps/sh/_mcount.S: Likewise.
40496
2747bf9a
RM
404972012-08-01 Roland McGrath <roland@hack.frob.com>
40498
40499 * libio/iofopen.c: Include <fcntl.h>.
40500 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40501 (_IO_fopen64, fopen64): Define as aliases.
40502 * libio/iofopen64.c: Include <fcntl.h>.
40503 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40504 Conditionalize body on this.
40505 * sysdeps/wordsize-64/iofopen.c: File removed.
40506 * sysdeps/wordsize-64/iofopen64.c: File removed.
40507
3fb791b8
MP
405082012-08-01 Marek Polacek <polacek@redhat.com>
40509
40510 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40511 Use dlfcn directly instead of a variable.
40512 (binfmt-subdir): Do not define.
40513 (dlfcn): Likewise.
40514
a9f1039f
JM
405152012-08-01 Joseph Myers <joseph@codesourcery.com>
40516
23bddc06
JM
40517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40518 Remove all definitions.
40519 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40520 <kernel-features.h>.
40521 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40522 (miss_F_GETOWN_EX): Remove all definitions.
40523 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40524 macro definition.
40525 [!__ASSUME_FCNTL64]: Remove conditional code.
40526 [__ASSUME_FCNTL64]: Make code unconditional.
40527 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40528 <kernel-features.h>.
40529 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40530 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40531 (lockf64) [__NR_fcntl64]: Make code unconditional.
40532 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40533
a9f1039f
JM
40534 * sysdeps/unix/sysv/linux/kernel-features.h
40535 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40536 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40537 Make code unconditional.
40538 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40539 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40541 [__NR_vfork]: Make code unconditional.
40542 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40543 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40545 [__NR_vfork]: Make code unconditional.
40546 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40547 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40548
09c0ee5f
RM
405492012-08-01 Roland McGrath <roland@hack.frob.com>
40550
48aec5b9
RM
40551 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40552 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40553
cd97c966
RM
40554 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40555 Define mkstemp64 as an alias.
3f55550c
RM
40556 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40557 Define mkstemps64 as an alias.
cd97c966
RM
40558 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40559 Define mkostemp64 as an alias.
b8625cfc
RM
40560 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40561 Define mkostemps64 as an alias.
cd97c966
RM
40562 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40563 Conditionalize body on this.
40564 * misc/mkostemp64.c: Likewise.
b8625cfc 40565 * misc/mkostemps64.c: Likewise.
3f55550c 40566 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40567 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40568 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40569 * sysdeps/wordsize-64/mkostemp.c: File removed.
40570 * sysdeps/wordsize-64/mkstemp.c: File removed.
40571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40572 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40573 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40575
09c0ee5f
RM
40576 [BZ #14138]
40577 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40578 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40579 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40580 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40581
40582 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40583 compat_symbol macros from <shlib-compat.h> rather than the underlying
40584 default_symbol_version and symbol_version macros, so that DEFAULT
40585 lines in shlib-versions are respected.
40586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40587
7e66ee51
FW
405882012-08-01 Florian Weimer <fweimer@redhat.com>
40589
40590 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40591 Declare with warn_unused_result.
40592 (setgid, setregid, setegid, setresgid): Likewise.
40593 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40594 Likewise.
40595 * WUR-REPORT: Remove set*id functions.
40596
d2a54255
PT
405972012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40598
40599 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40600
7ecdb005
RM
406012012-07-31 Roland McGrath <roland@hack.frob.com>
40602
b4180a5e 40603 [BZ #10191]
789bd351
RM
40604 * include/sys/socket.h (__libc_accept, __libc_accept4):
40605 Add attribute_hidden.
40606 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40607
40ce302d
RM
40608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40609 use of PTR_MANGLE.
40610 * inet/getnetgrent_r.c (setup): Likewise.
40611
7ecdb005
RM
40612 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40613
e2eabb2c
DM
406142012-07-31 David S. Miller <davem@davemloft.net>
40615
40616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40617
d0419dbf
JM
406182012-07-31 Joseph Myers <joseph@codesourcery.com>
40619
40620 [BZ #13629]
40621 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40622 value between 1.0 and 2.0 and smaller part has absolute value less
40623 than 1.0.
40624 * math/s_clog10.c (__clog10): Likewise.
40625 * math/s_clog10f.c (__clog10f): Likewise.
40626 * math/s_clog10l.c (__clog10l): Likewise.
40627 * math/s_clogf.c (__clogf): Likewise.
40628 * math/s_clogl.c (__clogl): Likewise.
40629 * math/libm-test.inc (clog_test): Add more tests.
40630 (clog10_test): Likewise.
40631 * sysdeps/i386/fpu/libm-test-ulps: Update.
40632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40633
2bc13872
FW
406342012-07-31 Florian Weimer <fweimer@redhat.com>
40635
40636 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40637 Exit with zero in case no suitable GID is found, and write a
40638 message to standard error.
40639
bea9b193
RM
406402012-07-30 Roland McGrath <roland@hack.frob.com>
40641
40642 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40643 rather than to 1.
40644 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40645 (MAXPATHLEN): Removed.
40646 (NOGROUP, NODEV): New macros.
40647 (setbit, clrbit, isset, isclr): New macros.
40648 (howmany, roundup, powerof2): New macros.
40649 (DEV_BSIZE): New macro.
40650
40651 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40652 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40653
40654 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40655 definition on [!__NO_LONG_DOUBLE_MATH].
40656
40657 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40658 PTR_MANGLE and PTR_DEMANGLE.
40659
40660 * socket/accept4.c (accept4): Rename to __libc_accept4.
40661 Define accept4 as a weak alias.
40662
40663 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40664 on [_DIRENT_HAVE_D_TYPE].
40665 * io/ftw.c (ftw_dir): Likewise.
40666
40667 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40668
40669 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40670
40671 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40672 Use the BSD numbers rather than the arbitrary ones we had.
40673 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40674 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40675 (SIGXCPU, SIGXFSZ): New macros.
40676 (_NSIG): Now 32.
40677
40678 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40679 initializer on [_LIBC_REENTRANT].
40680
40681 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40682 definitions inside [_POSIX_MAPPED_FILES].
40683
40684 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40685
40686 * dirent/opendir.c: Include <fcntl.h>.
40687
40688 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40689 (__libc_getspecific): Likewise.
40690 (__libc_key_create): Likewise.
40691
40692 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40693 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40694 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40695 (tmpfile64): Define as alias.
40696 * sysdeps/wordsize-64/tmpfile.c: File removed.
40697 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40699 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40700
40701 * stdio-common/vfscanf.c: Include <stdbool.h>.
40702 * nss/makedb.c: Likewise.
40703 * stdio-common/_i18n_number.h: Likewise.
40704 * argp/argp-help.c: Likewise.
40705 * posix/wordexp.c: Likewise.
40706 * sysdeps/posix/spawni.c: Likewise.
40707 * nss/nss_files/files-initgroups.c: Likewise.
40708 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40709 * nss/nss_files/files-initgroups.c: Likewise.
40710 * nss/nss_db/db-netgrp.c: Likewise.
40711 * nss/nss_db/db-initgroups.c: Likewise.
40712 * io/fchmodat.c: Include <sys/stat.h>.
40713
40714 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40715 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40716
40717 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40718 [HAVE_MMAP].
40719
40720 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40721 Add multiple inclusion protection.
40722
e5abc686
DM
407232012-07-27 David S. Miller <davem@davemloft.net>
40724
40725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40726
815e6fa3
GB
407272012-07-27 Gary Benson <gbenson@redhat.com>
40728
40729 [BZ #14298]
40730 * elf/rtld.c: Include <stap-probe.h>.
40731 (dl_main): Added static probes "init_start" and "init_complete".
40732 * elf/dl-load.c: Include <stap-probe.h>.
40733 (lose): Take new parameter "nsid".
40734 Added static probe "map_failed".
40735 (_dl_map_object_from_fd): Pass namespace id to lose.
40736 Added static probe "map_start".
40737 (open_verify): Pass namespace id to lose.
40738 * elf/dl-open.c: Include <stap-probe.h>.
40739 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40740 and "reloc_complete".
40741 * elf/dl-close.c: Include <stap-probe.h>.
40742 (_dl_close_worker): Added static probes "unmap_start" and
40743 "unmap_complete".
40744 * elf/rtld-debugger-interface.txt: New file documenting the above.
40745
9f98c16c
RM
407462012-07-26 Roland McGrath <roland@hack.frob.com>
40747
40748 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40749 rather than a string variable.
40750 * sunrpc/rpc_main.c (h_output): Likewise.
40751 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40752
f3c22df3
PT
407532012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40754
40755 * inet/check_native.c: New file.
40756
3129cfc6
JM
407572012-07-26 Joseph Myers <joseph@codesourcery.com>
40758
da865e95
JM
40759 [BZ #13629]
40760 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40761 if larger part has absolute value 1.0.
40762 * math/s_clog10.c (__clog10): Likewise.
40763 * math/s_clog10f.c (__clog10f): Likewise.
40764 * math/s_clog10l.c (__clog10l): Likewise.
40765 * math/s_clogf.c (__clogf): Likewise.
40766 * math/s_clogl.c (__clogl): Likewise.
40767 * math/libm-test.inc (clog_test): Add more tests.
40768 (clog10_test): Likewise.
40769 * sysdeps/i386/fpu/libm-test-ulps: Update.
40770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40771
3129cfc6
JM
40772 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40773 (pltexit): Likewise.
40774 (La_regs): Likewise.
40775 (La_retval): Likewise.
40776 (int_retval): Likewise.
40777 Update #error for removed macros to refer only to definitions in
40778 tst-audit.h.
40779 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40780 macro.
40781 (pltexit): Likewise.
40782 (La_regs): Likewise.
40783 (La_retval): Likewise.
40784 (int_retval): Likewise.
40785 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40786 macro.
40787 (pltexit): Likewise.
40788 (La_regs): Likewise.
40789 (La_retval): Likewise.
40790 (int_retval): Likewise.
40791 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40792 macro.
40793 (pltexit): Likewise.
40794 (La_regs): Likewise.
40795 (La_retval): Likewise.
40796 (int_retval): Likewise.
40797 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40798 macro.
40799 (pltexit): Likewise.
40800 (La_regs): Likewise.
40801 (La_retval): Likewise.
40802 (int_retval): Likewise.
40803 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40804 macro.
40805 (pltexit): Likewise.
40806 (La_regs): Likewise.
40807 (La_retval): Likewise.
40808 (int_retval): Likewise.
40809 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40810 macro.
40811 (pltexit): Likewise.
40812 (La_regs): Likewise.
40813 (La_retval): Likewise.
40814 (int_retval): Likewise.
40815 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40816 macro definitions in tst-audit.h.
40817 * sysdeps/i386/tst-audit.h: New file.
40818 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40819 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40820 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40821 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40822 * sysdeps/sh/tst-audit.h: Likewise.
40823 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40824 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40825 * sysdeps/x86_64/tst-audit.h: Likewise.
40826
bfc07087
AJ
408272012-07-26 Andreas Jaeger <aj@suse.de>
40828
b1b2aaf8
AJ
40829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40830 ptrace.
40831
40832 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40833 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40834 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40835 PTRACE_O_MASK.
40836 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40837 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40838 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40839
bfc07087
AJ
40840 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40841 value.
40842
40843 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40844 _sigsys.
40845 (si_call_addr, si_syscall, si_arch): Define new macro.
40846 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40847 _sigsys.
40848 (si_call_addr, si_syscall, si_arch): Define new marcro.
40849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40850 _sigsys.
40851 (si_call_addr, si_syscall, si_arch): Define new macro.
40852 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40853 _sigsys.
40854 (si_call_addr, si_syscall, si_arch): Define new macro.
40855
89b4b02f
JM
408562012-07-25 Joseph Myers <joseph@codesourcery.com>
40857
40858 [BZ #13717]
40859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40860 Change to 2.4.21 where previously 2.4.1.
40861 * sysdeps/unix/sysv/linux/configure: Regenerated.
40862 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40863 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40864 Linux kernel version.
40865 (__ASSUME_STD_AUXV): Remove.
40866 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40867 kernel version.
40868 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40869 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40870 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40871 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40872 (__ASSUME_NETLINK_SUPPORT): Likewise.
40873 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40874 (__no_netlink_support): Remove conditional definition.
40875 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40876 Remove.
40877 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40878 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40879 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40880 (if_nameindex_ioctl): Remove.
40881 (if_nameindex_netlink): Do not handle __no_netlink_support.
40882 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40883 code.
40884 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40885 Remove conditional code.
40886 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40887 code.
40888 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40889 unconditional.
40890 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40891 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40892 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40893 Remove.
40894 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40895 [!__ASSUME_STD_AUXV]: Remove conditional code.
40896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40897 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40898 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40900 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40901 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40902 code.
40903 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40905 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40906 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40907 conditional code.
40908 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40910 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40911 code.
40912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40913 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40914 conditional code.
40915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40916 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40917 code unconditional.
40918 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40919 conditional code.
40920 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40921 unconditional.
40922 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40923 conditional code.
40924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40925 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40926 unconditional.
40927 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40928 conditional code.
40929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40930 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40931 code unconditional.
40932 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40933 conditional code.
40934 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40935 unconditional.
40936 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40937 conditional code.
40938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40939 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40940 code unconditional.
40941 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40942 conditional code.
40943 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40944 unconditional.
40945 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40946 conditional code.
40947
842a39cd
AS
409482012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40949
40950 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40951 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40952 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40953 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40954 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40955 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40956 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40957 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40958 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40959 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40960 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40961 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40962 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40963 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40964 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40965 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40966 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40967 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40968 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40970 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40971 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40973
84b3fd84
FW
409742012-07-25 Florian Weimer <fweimer@redhat.com>
40975
40976 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40977 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40978 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40979 Introduce __libc_secure_getenv.
0c7936d5
FW
40980 * stdlib/Versions (2.17): Add secure_getenv
40981 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40982 * stdlib/secure-getenv.c: Rename __secure_getenv to
40983 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40984 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40985 * stdlib/tst-secure-getenv.c: New.
40986 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40987 * manual/startup.texi (Environment Access): Document
40988 secure_getenv.
84b3fd84
FW
40989 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40990 __libc_secure_getenv.
40991 * inet/ruserpass.c (ruserpass): Likewise.
40992 * malloc/mtrace.c (mtrace): Likewise.
40993 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40994 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40995 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40996 * sysdeps/posix/tempname.c: Likewise. Evaluate
40997 HAVE_SECURE_GETENV.
40998 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40999 __secure_getenv to __libc_secure_getenv.
84b3fd84 41000 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
41001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41002 Likewise.
41003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41004 Likewise.
41005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 41012
56e49b71
JM
410132012-07-25 Joseph Myers <joseph@codesourcery.com>
41014
41015 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41016 (struct La_i86_retval): Likewise.
41017 (struct La_x86_64_regs): Likewise.
41018 (struct La_x86_64_retval): Likewise.
41019 (struct La_x32_regs): Likewise.
41020 (struct La_x32_retval): Likewise.
41021 (struct La_ppc32_regs): Likewise.
41022 (struct La_ppc32_retval): Likewise.
41023 (struct La_ppc64_regs): Likewise.
41024 (struct La_ppc64_retval): Likewise.
41025 (struct La_sh_regs): Likewise.
41026 (struct La_sh_retval): Likewise.
41027 (struct La_s390_32_regs): Likewise.
41028 (struct La_s390_32_retval): Likewise.
41029 (struct La_s390_64_regs): Likewise.
41030 (struct La_s390_64_retval): Likewise.
41031 (struct La_sparc32_regs): Likewise.
41032 (struct La_sparc32_retval): Likewise.
41033 (struct La_sparc64_regs): Likewise.
41034 (struct La_sparc64_retval): Likewise.
41035 (struct audit_ifaces): Remove architecture-specific pltenter and
41036 pltexit members.
41037 * sysdeps/i386/ldsodefs.h: New file.
41038 * sysdeps/powerpc/ldsodefs.h: Likewise.
41039 * sysdeps/s390/ldsodefs.h: Likewise.
41040 * sysdeps/sh/ldsodefs.h: Likewise.
41041 * sysdeps/sparc/ldsodefs.h: Likewise.
41042 * sysdeps/x86_64/ldsodefs.h: Likewise.
41043
354691b7
MP
410442012-07-25 Marek Polacek <polacek@redhat.com>
41045
41046 [BZ #6808]
41047 * math/libm-test.inc (yn_test): Add another test.
41048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41049 to ERANGE when the result is +-Inf.
41050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41051 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41052 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41053 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41054
bf9e2071
JM
410552012-07-24 Joseph Myers <joseph@codesourcery.com>
41056
41057 * conform/data/time.h-data (NULL): Use macro-constant. Require
41058 equal to 0.
41059 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41060 clock_t.
41061 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41062
57633811
TS
410632012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41064
41065 * configure.in <sysdeps resolving>: Correct printing
41066 Implies_before.
41067 * configure: Regenerate.
41068
c23c33b0
TS
410692012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41070
41071 * math/w_ilogb.c: Include <limits.h>.
41072 * math/w_ilogbl.c: Likewise.
41073
b5982523
JM
410742012-07-20 Joseph Myers <joseph@codesourcery.com>
41075
41076 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41077 va_copy. Document allowing for unavailable va_copy only as
41078 pre-C99 compatibility.
41079 * manual/string.texi (Copying and Concatenation): Use va_copy
41080 instead of __va_copy in concat example.
41081
ac4ea442
PT
410822012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41083
41084 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41085 (__sendto): Use create_address_port. Initialize APORT and deallocate
41086 it if not null.
41087
f98eafbd
PT
41088 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41089 with O_NOLINK passed to __file_name_lookup.
41090
898c7aab
PT
41091 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41092 with O_NOLINK passed to __file_name_lookup.
41093
0ced335a
PT
41094 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41095 negative N or less than NGIDS.
41096
b3404dbd
PT
41097 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41098 type to string_t. Set ERANGE as errno and return it if NAME is not big
41099 enough. Use memcpy instead of strncpy.
41100
0f48659e
JM
411012012-07-20 Joseph Myers <joseph@codesourcery.com>
41102
41103 * elf/Makefile (check-data): Remove.
41104 (localplt.data): New vpath directive.
41105 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41106 instead of $(check-data).
41107 * scripts/data/localplt-generic.data: Move to ...
41108 * sysdeps/generic/localplt.data: ... here.
41109 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41110 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41111 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41113 ... here.
41114 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41116 ... here.
41117 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41119 ... here.
41120 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41122 ... here.
41123 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41125 ... here.
41126 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41128 ... here.
41129
d37cbdaa
AZ
411302012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41131
41132 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41133 PPC32 and PPC64 files.
41134 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41135 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41136
46f85fc2
AK
411372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41138
41139 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41140 __makecontext_ret to ...
41141 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41142 ... here and call exit if uc_link is NULL. New file.
41143 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41144 __makecontext_ret.S.
41145 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41146 __makecontext_ret to ...
41147 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41148 ... here and call exit if uc_link is NULL. New file.
41149 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41150 __makecontext_ret.S.
41151
08f43f9b
AK
411522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41153
41154 * elf/elf.h (R_390_IRELATIVE): New definition.
41155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41156 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41157 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41158 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41159 (elf_machine_lazy_rel): Likewise.
41160 * sysdeps/s390/dl-irel.h: New file.
41161 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41162 * sysdeps/s390/s390-64/memset.S: New asm code.
41163 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41164 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41166 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41167 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41168 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41169 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41170 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41171 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41172 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41173 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41174 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41175 * sysdeps/s390/s390-32/memset.S: New asm code.
41176 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41177
3b05db33
MP
411782012-07-17 Marek Polacek <polacek@redhat.com>
41179
41180 [BZ #14349]
41181 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41182 * sysdeps/s390/s390-64/configure.in: Likewise.
41183 * sysdeps/sparc/configure.in: Likewise.
41184 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41185 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41186 * sysdeps/i386/configure.in: Likewise.
41187 * sysdeps/x86_64/configure.in: Likewise.
41188 * sysdeps/sh/configure.in: Likewise.
41189 * sysdeps/s390/s390-32/configure: Regenerated.
41190 * sysdeps/s390/s390-64/configure: Likewise.
41191 * sysdeps/x86_64/configure: Likewise.
41192 * sysdeps/sh/configure: Likewise.
41193 * sysdeps/powerpc/powerpc64/configure: Likewise.
41194 * sysdeps/powerpc/powerpc32/configure: Likewise.
41195 * sysdeps/sparc/configure: Likwise.
41196 * sysdeps/i386/configure: Likewise.
41197
a66877c6
MP
41198 * elf/dl-open.c: Comment fixes.
41199
cfc82fd8
JM
412002012-07-17 Joseph Myers <joseph@codesourcery.com>
41201
bd29910a
JM
41202 * Makefile [CXX] (check-data): Remove.
41203 [CXX] (c++-types.data): New vpath directive.
41204 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41205 vpath. Do not allow for C++ type data being missing.
41206 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41207 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41208 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41209 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41210 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41211 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41212 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41214 ... here.
41215 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41217 ... here.
41218 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41220 ... here.
41221 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41223 ... here.
41224 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41226 ... here.
41227 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41229 ... here.
41230 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41232 ... here.
41233 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41235
cfc82fd8
JM
41236 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41237 definitions to architecture-specific files.
41238 (TLS_IE): Likewise.
41239 (TLS_LD): Likewise.
41240 (TLS_GD): Likewise.
41241 * sysdeps/i386/tls-macros.h: New file.
41242 * sysdeps/powerpc/tls-macros.h: Likewise.
41243 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41244 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41245 * sysdeps/sh/tls-macros.h: Likewise.
41246 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41247 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41248 * sysdeps/x86_64/tls-macros.h: Likewise.
41249
f7db3170
TS
412502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41251
07cbfc23
TS
41252 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41253 zero value for regular exit case.
41254
f7db3170
TS
41255 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41256 (__start_context): Preserve zero value for regular exit case.
41257
dc97c227
TS
412582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41259 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41260
41261 * manual/setjmp.texi (setcontext): Clarify normal process
41262 termination when uc_link is the null pointer.
41263 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41264 exit call.
41265
d0cd7d02
AS
412662012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41267
41268 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41269 preprocessor. Test for each exception mask separately.
41270
dd318934
AJ
412712012-07-16 Andreas Jaeger <aj@suse.de>
41272
41273 * po/ru.po: Update from translation team.
41274
8048311a
JM
412752012-07-15 Joseph Myers <joseph@codesourcery.com>
41276
41277 * conform/data/string.h-data (NULL): Use macro-constant. Require
41278 equal to 0.
41279 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41280 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41281 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41282 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41284
b637d46e
AJ
412852012-07-13 Andreas Jaeger <aj@suse.de>
41286
41287 * po/fr.po: Update from translation team.
41288
541428fe
MP
412892012-07-12 Marek Polacek <polacek@redhat.com>
41290
41291 [BZ #14173]
41292 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41293 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41294 loop condition.
41295
ec332e94
JM
412962012-07-12 Joseph Myers <joseph@codesourcery.com>
41297
41298 [BZ #13717]
41299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41300 Change to 2.4.1 where previously 2.4.0.
41301 * sysdeps/unix/sysv/linux/configure: Regenerated.
41302 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41303 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41304 version.
41305 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41306 (__ASSUME_AT_CLKTCK): Remove.
41307 (__ASSUME_AT_PAGESIZE): Likewise.
41308 (__ASSUME_AT_XID): Likewise.
41309 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41310 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41311 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41312 unconditionally.
41313 (HAVE_AUX_PAGESIZE): Likewise.
41314 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41315 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41316 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41317
7b6e99be
JB
413182012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41319
41320 [BZ #14307]
41321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41322 the temporary buffer used to invoke __gethostbyname2_r,
41323 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41324 host_data / struct gaih_addrtuple.
41325 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41326 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41327 header file nss/nsswitch.h.
41328 * nss/nsswitch.h (global scope): Add definition of implementation
41329 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41330 resolv/nss_dns/dns-host.c).
41331
608404eb
AJ
413322012-07-11 Andreas Jaeger <aj@suse.de>
41333
41334 * po/fr.po: Update from translation team.
41335
71220aca
AJ
41336 * po/sv.po: Update from translation team
41337 * po/fr.po: Another update from translation team.
41338
28cfe843
AZ
413392012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41340
41341 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41342 for subnormals or multiply small sinh result by itself.
41343 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41345
6b90f981
DM
413462012-07-11 David S. Miller <davem@davemloft.net>
41347
41348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41349
c6825772
AS
413502012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41351
41352 [BZ #14347]
41353 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41354 (INTERNAL_MARK): Shift it here.
41355
7b8e0d49
MP
413562012-07-10 Marek Polacek <polacek@redhat.com>
41357
41358 [BZ #14151]
41359 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41360 libc_cv_asm_global_directive with .globl.
41361 * configure: Regenerated.
41362 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41363 with .globl.
41364 * sysdeps/i386/configure: Regenerated.
41365 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41366 with .globl.
41367 * sysdeps/x86_64/configure: Regenerated.
41368 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41369 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41370 * elf/tst-unique2mod2.c: Likewise.
41371 * elf/tst-unique2mod1.c: Likewise.
41372 * elf/tst-unique1mod2.c: Likewise.
41373 * elf/tst-unique1mod1.c: Likewise.
41374 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41375 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41376 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41377 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41378 * sysdeps/mach/sysdep.h: Likewise.
41379 * sysdeps/i386/sysdep.h: Likewise.
41380 * sysdeps/i386/i386-mcount.S: Likewise.
41381 * sysdeps/x86_64/_mcount.S: Likewise.
41382 * sysdeps/x86_64/sysdep.h: Likewise.
41383 * sysdeps/sh/_mcount.S: Likewise.
41384 * sysdeps/sh/sysdep.h: Likewise.
41385 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41386 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41387 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41388 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41389 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41390 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41391 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41392 * locale/localeinfo.h: Likewise.
41393 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41394 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41395
6c55cda3
RM
413962012-07-09 Roland McGrath <roland@hack.frob.com>
41397
41398 [BZ #14336]
41399 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41400 system".
41401 * manual/message.texi (The Uniforum approach): Likewise.
41402 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41403 (glibc iconv Implementation): Likewise.
41404
638a572e
JM
414052012-07-09 Joseph Myers <joseph@codesourcery.com>
41406
41407 [BZ #14337]
41408 * math/s_clog.c (__clog): Avoid scaling a value down where that
41409 could result in underflow.
41410 * math/s_clog10.c (__clog10): Likewise.
41411 * math/s_clog10f.c (__clog10f): Likewise.
41412 * math/s_clog10l.c (__clog10l): Likewise.
41413 * math/s_clogf.c (__clogf): Likewise.
41414 * math/s_clogl.c (__clogl): Likewise.
41415 * math/libm-test.inc (clog_test): Add more tests.
41416 (clog10_test): Likewise.
41417 * sysdeps/i386/fpu/libm-test-ulps: Update.
41418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41419
261f4859
AS
414202012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41421
0abaf3e4
AS
41422 [BZ #14283]
41423 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41424 by 7 not 8 to examine high bit of fractional part.
41425
261f4859
AS
41426 [BZ #14042]
41427 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41428 for call to __mcount_internal.
41429 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41430 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41431 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41432
f17ac40d
JM
414332012-07-06 Joseph Myers <joseph@codesourcery.com>
41434
9ad63c23
JM
41435 [BZ #14154]
41436 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41437 approximation for values within 0x1p-13f of an odd multiple of
41438 pi/4.
41439 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41440 exception. Add more tests.
41441 * sysdeps/i386/fpu/libm-test-ulps: Update.
41442
f17ac40d
JM
41443 [BZ #6778]
41444 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41445 inputs and return -1 for them. Do not check for +Inf in case not
41446 reachable for +Inf.
41447 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41448 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41449 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41450 and return -1 for them. Do not check for +Inf in case not
41451 reachable for +Inf.
41452 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41453 define.
41454 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41455 and return -1 for them. Do not check for +Inf in case not
41456 reachable for +Inf.
41457 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41458 spurious underflow.
41459 * sysdeps/i386/fpu/libm-test-ulps: Update.
41460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41461
fb21f89b
MF
414622012-07-06 Mike Frysinger <vapier@gentoo.org>
41463
41464 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41465
cdfe2c5e
JM
414662012-07-05 Joseph Myers <joseph@codesourcery.com>
41467
41468 [BZ #14157]
41469 [BZ #14331]
41470 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41471 could result in spurious underflow. Scale down values above
41472 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41473 * math/s_csqrtf.c (__csqrtf): Likewise.
41474 * math/s_csqrtl.c (__csqrtl): Likewise.
41475 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41476 spurious underflow.
41477 * sysdeps/i386/fpu/libm-test-ulps: Update.
41478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41479
70d35b67
AS
414802012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41481
704bc459
AS
41482 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41483 xopen-msg.sed.
41484 * catgets/xopen-msg.awk: New file.
41485 * catgets/xopen-msg.sed: Removed.
41486
70d35b67
AS
41487 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41488 po2text.sed.
41489 * intl/po2test.awk: New file.
41490 * intl/po2test.sed: Removed.
41491
ca61cf32
JM
414922012-07-04 Joseph Myers <joseph@codesourcery.com>
41493
41494 [BZ #14328]
41495 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41496 or multiply small sinh result by itself.
41497 * math/s_ctanf.c (__ctanf): Likewise.
41498 * math/s_ctanh.c (__ctanh): Likewise.
41499 * math/s_ctanhf.c (__ctanhf): Likewise.
41500 * math/s_ctanhl.c (__ctanhl): Likewise.
41501 * math/s_ctanl.c (__ctanl): Likewise.
41502 * math/libm-test.inc (ctan_test_tonearest): New function.
41503 (ctan_test_towardzero): Likewise.
41504 (ctan_test_downward): Likewise.
41505 (ctan_test_upward): Likewise.
41506 (ctanh_test_tonearest): Likewise.
41507 (ctanh_test_towardzero): Likewise.
41508 (ctanh_test_downward): Likewise.
41509 (ctanh_test_upward): Likewise.
41510 (main): Call these new functions.
41511 * sysdeps/i386/fpu/libm-test-ulps: Update.
41512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41513
ca48a46a
MF
415142012-07-03 Mike Frysinger <vapier@gentoo.org>
41515
41516 * .gitignore: Delete /ports entry.
41517
9d63d37d
AJ
415182012-07-03 Andreas Jaeger <aj@suse.de>
41519
41520 * po/bg.po: Update from translation team.
41521 * po/cs.po: Likewise.
41522 * po/de.po: Likewise.
41523 * po/hr.po: Likewise.
41524 * po/nl.pl: Likewise.
41525 * po/pl.po: Likewise.
41526 * po/vi.po: Likewise.
41527
370ca3d2
JM
415282012-07-03 Joseph Myers <joseph@codesourcery.com>
41529
95f5a9a8
JM
41530 * Makeconfig [!+link] (+link-before-libc): New variable.
41531 [!+link] (+link-after-libc): Likewise.
41532 [!+link] (+link-tests): Likewise.
41533 [!+link] (+link): Define in terms of $(+link-before-libc) and
41534 $(+link-after-libc).
41535 [!+link-static] (+link-static-before-libc): New variable.
41536 [!+link-static] (+link-static-after-libc): Likewise.
41537 [!+link-static] (+link-static-tests): Likewise.
41538 [!+link-static] (+link-static): Define in terms of
41539 $(+link-static-before-libc) and $(+link-static-after-libc).
41540 [build-shared] (link-libc-before-gnulib): New variable.
41541 [build-shared] (link-libc-tests): Likewise.
41542 [build-shared] (link-libc): Define in terms of
41543 $(link-libc-before-gnulib).
41544 [!build-shared] (link-libc-tests): New variable.
41545 (link-libc-static-tests): New variable.
41546 [!gnulib] (gnulib-arch): New variable.
41547 [!gnulib] (gnulib-tests): Likewise.
41548 [!gnulib] (static-gnulib-arch): Likewise.
41549 [!gnulib] (static-gnulib-tests): Likewise.
41550 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41551 Define with "=" instead of ":=".
41552 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41553 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41554 * Rules (binaries-all-notests): New variable.
41555 (binaries-all-tests): Likewise.
41556 (binaries-static-notests): Likewise.
41557 (binaries-static-tests): Likewise.
41558 (binaries-all): Define using $(binaries-all-notests) and
41559 $(binaries-all-tests).
41560 (binaries-static): Define using $(binaries-static-notests) and
41561 $(binaries-static-tests).
41562 (binaries-shared-tests): New variable.
41563 (binaries-shared-notests): Likewise.
41564 (binaries-shared): Remove variable.
41565 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41566 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41567 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41568 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41569 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41570 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41571 * elf/Makefile (sln-modules): New variable.
41572 (extra-objs): Add $(sln-modules:=.o).
41573 (ldconfig-modules): Add static-stubs.
41574 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41575 * elf/static-stubs.c: New file.
41576
7a845b2c
JM
41577 [BZ #14283]
41578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41579 by 7 not 8 to examine high bit of fractional part. Use volatile
41580 variables when splitting into final array of floats if
41581 __FLT_EVAL_METHOD__ != 0.
41582 * math/libm-test.inc (cos_test): Add another test.
41583 (sin_test): Likewise.
41584 * sysdeps/i386/fpu/libm-test-ulps: Update.
41585
e2283f38
JM
41586 [BZ #14273]
41587 * math/libm-test.inc (cosh_test): Add more tests.
41588
370ca3d2
JM
41589 * version.h (RELEASE): Set to "development".
41590 (VERSION): Set to "2.16.90".
41591
ee9247c3
CD
415922012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41593
41594 * NEWS: Update copyright. Remove last-updated date.
41595 Mention math library bug fixes and timezone data changes.
41596 * README: Mention GNU/Hurd, x32, and HPPA support status.
41597
4648c381
TS
415982012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41599
41600 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41601
aac78a43
AJ
416022012-06-27 Andreas Jaeger <aj@suse.de>
41603
41604 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41605
ed3dbfad
AJ
416062012-06-25 Andreas Jaeger <aj@suse.de>
41607
41608 * sysdeps/s390/fpu/libm-test-ulps: Update.
41609
4d0ee855
AS
416102012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41611 Thomas Schwinge <thomas@codesourcery.com>
41612
41613 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41614 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41616 fanotify_mark.
41617
af1bce34
TS
416182012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41619
a9fa33ba
TS
41620 * sysdeps/mach/start.c: Remove file.
41621 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41622 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41623 * sysdeps/sh/init-first.c: Likewise.
41624
58f902b8
TS
41625 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41626 registers for frame unwinding purposes, add CFI directives.
41627 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41629 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41630 Likewise.
41631
1518f58b
TS
41632 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41633 __fortify_fail returning.
41634 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41635
db9b5059
TS
41636 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41637 sysdeps/sh/____longjmp_chk.S.
41638 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41639 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41640 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41641 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41642
967705fe
TS
41643 * sysdeps/sh/abort-instr.h: New file.
41644 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41645 process in case exit returns.
41646
a9def8c4
TS
41647 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41648 initialize the GOT register before use.
41649
2a649725
TS
41650 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41651 calculation of ARGC > 4.
41652
af1bce34
TS
41653 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41654 meaningful names to some local labels.
41655
d230f50a
KK
416562012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41657 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41658
41659 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41660 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41661 (__arch_compare_and_exchange_val_16_acq): Likewise.
41662 (__arch_compare_and_exchange_val_32_acq): Likewise.
41663 (atomic_exchange_and_add): Fix gUSA sequence.
41664 (atomic_add): Likewise.
41665 (atomic_add_negative): Likewise.
41666 (atomic_add_zero): Likewise.
41667 (atomic_bit_test_set): Likewise.
41668
0479b305
AS
416692012-06-22 Andreas Schwab <schwab@redhat.com>
41670
41671 [BZ #13579]
41672 * include/link.h (struct link_map): Add l_free_initfini.
41673 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41674 l_initfini.
41675 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41676 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41677 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41678 set.
41679
0e3933b9
CD
416802012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41681
41682 * configure.in: Use AC_LANG_SOURCE.
41683 * configure: Regenerate.
41684
4248b1b1
RM
416852012-06-22 Roland McGrath <roland@hack.frob.com>
41686
41687 * configure.in (libc_cv_localstatedir): New substituted variable.
41688 * configure: Regenerated.
41689 * config.make.in (localstatedir): New variable, substituted from
41690 libc_cv_localstatedir.
41691 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41692 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41693 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41694 * sysdeps/gnu/configure: Regenerated.
41695
006dd861
JL
416962012-06-21 Jeff Law <law@redhat.com>
41697
41698 [BZ #14277]
41699 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41700 free. Simplify list management for _LIBC case.
41701
79662d42
JM
417022012-06-21 Joseph Myers <joseph@codesourcery.com>
41703
b7abb4bf
JM
41704 [BZ #14273]
41705 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41706 Clear sign bit of 64-bit integer value before comparing against
41707 overflow value.
41708
79662d42
JM
41709 * sysdeps/mach/configure: Regenerated.
41710
1f150908
L
417112012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41712
41713 [BZ #14278]
41714 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41715
28363bbf
JL
417162012-06-21 Jeff Law <law@redhat.com>
41717
41718 [BZ #13882]
41719 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41720 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41721 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41722 * elf/dl-open.c (dl_open_worker): Likewise.
41723
09615db4
CD
417242012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41725
41726 * scripts/list-sources.sh: Scan PORTS for translations.
41727 * po/libc.pot: Regenerated.
41728
2174c6dd
AJ
417292012-06-21 Andreas Jaeger <aj@suse.de>
41730
41731 [BZ #12194]
41732 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41733 warning.
41734 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41735 * bits/byteswap-16.h (__bswap_16): Likewise.
41736 * bits/byteswap.h (__bswap_constant_16): Likewise.
41737
3ee947b1
L
417382012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41739
41740 [BZ #14117]
a2f34833
L
41741 * sysdeps/i386/fpu_control.h: Removed.
41742 * sysdeps/x86_64/fpu_control.h: Moved to ...
41743 * sysdeps/x86/fpu_control.h: Here.
41744
3ee947b1
L
41745 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41746 (_FPU_SETCW): Likewise.
41747
ed1825f8
L
417482012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41749
25f1282a
L
41750 [BZ #14117]
41751 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41752 * sysdeps/x86/fpu/bits/mathinline.h: This.
41753 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41754
ed1825f8
L
41755 [BZ #14050]
41756 [BZ #14117]
41757 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41758 functions if __x86_64__ is defined.
41759
36d54b74
CLT
417602012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41761
41762 * string/endian.h: Add !__ASSEMBLER__ condition for including
41763 conversion interfaces.
41764
10285c21
JM
417652012-06-15 Joseph Myers <joseph@codesourcery.com>
41766
41767 [BZ #14241]
41768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41769 of ABS(x) in calculating zero to negative powers other than odd
41770 integers.
41771 * math/libm-test.inc (pow_test): Add more tests.
41772
06c5abbd
AJ
417732012-06-15 Andreas Jaeger <aj@suse.de>
41774
41775 * manual/contrib.texi (Contributors): Update entry of Liubov
41776 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41777 Machado Filho.
41778
a3aeac40
CH
417792012-06-15 Cyril Hrubis <metan@ucw.cz>
41780
41781 * string/string.h: Add __wur to GNU version of strerror_r.
41782
49bdf4c1
L
417832012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41784
41785 [BZ #14229]
41786 * string/Makefile (tests): Add tst-strtok_r.
41787 * string/tst-strtok_r.c: New file.
41788 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41789 RAX_LP/RDX_LP on SAVE_PTR.
41790
834f9b8d
RM
417912012-06-14 Roland McGrath <roland@hack.frob.com>
41792
41793 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41794
75fa1921
JM
417952012-06-14 Joseph Myers <joseph@codesourcery.com>
41796
41797 * libm_test.inc (csqrt_test): Allow more spurious underflow
41798 exceptions.
41799 (j0_test): Likewise.
41800 (j1_test): Likewise.
41801 (y0_test): Likewise.
41802 (y1_test): Likewise.
41803
771766df
CD
418042012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41805
41806 * po/Makefile (libc.pot): Use UTF-8 charset.
41807
ceb9e56b
PP
418082012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41809
41810 [BZ #14210]
41811 Suppress sign-conversion warning from FD_SET.
41812 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41813 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41814 not unsigned long int.
41815 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41816
ddb28975
L
418172012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41818
41819 [BZ #14050]
41820 [BZ #14117]
41821 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41822 __extern_always_inline instead of __extern_inline.
41823 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41824 (__signbit): Likewise.
41825 (__signbitl): Support C++ namespace.
41826 (lrintf): New inline function.
41827 (lrint): Likewise.
41828 (llrintf): Likewise.
41829 (llrint): Likewise.
41830 (fmaxf): Likewise.
41831 (fmax): Likewise.
41832 (fminf): Likewise.
41833 (fmin): Likewise.
41834 (rint): Likewise.
41835 (rintf): Likewise.
41836 (ceil): Likewise.
41837 (ceilf): Likewise.
41838 (floor): Likewise.
41839 (floorf): Likewise.
41840 (nearbyint): Likewise.
41841 (nearbyintf): Likewise.
41842
d7b4fb26
TS
418432012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41844
41845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41846 non-default versions.
41847
eb55f5c2
RM
418482012-06-11 Roland McGrath <roland@hack.frob.com>
41849
41850 [BZ #14218]
41851 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41852
366af02c
TS
418532012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41854
99ff6e5c
TS
41855 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41856 (FE_UPWARD, FE_DOWNWARD): Don't define.
41857 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41859
366af02c
TS
41860 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41861 reading it.
41862 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41863 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41864
793ea851
KK
418652012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41866
41867 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41869 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41870 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41871
a728a38f
L
418722012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41873
41874 [BZ #14117]
c08010c7
L
41875 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41876 * sysdeps/i386/fpu/Implies: New file.
41877 * sysdeps/x86_64/fpu/Implies: Likewise.
41878 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41879 * sysdeps/x86/fpu/bits/fenv.h: This.
41880
a728a38f
L
41881 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41882 __SSE_MATH__.
41883
6e230d11
SP
418842012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41885
41886 [BZ #14134]
41887 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41888 character 0xffff that matches the last element of the
41889 conversion table.
41890
1b671feb
AZ
418912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41892
41893 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41894 fmodl commit.
41895
6043738b
AZ
418962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41897
41898 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41899 values higher than 25.6283.
41900
34ae0b32
AZ
419012012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41902
41903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41904 subnormal exponent extraction and add some __builtin_expect.
41905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41906 Fix for subnormal mantissa calculation.
41907
1214ec8f
MF
419082012-06-04 Mike Frysinger <vapier@gentoo.org>
41909
41910 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41911 cpu2 is -1 and errno is not ENOSYS.
41912
f3d1f93c
L
419132012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41914
41915 [BZ #14117]
0e4a3cd7
L
41916 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41917 * sysdeps/x86/bits/string.h: This.
41918 * sysdeps/x86_64/bits/string.h: Removed.
41919
6704c645
L
41920 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41921 if not compiling for x86-64, but compiling for >= i486.
41922
48495318
L
41923 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41924 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41925
14adcbfc
L
41926 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41927 New macro from Linux kernel 3.4.0.
41928 (FP_XSTATE_MAGIC2): Likewise.
41929 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41930 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41931 (struct _fpx_sw_bytes): New struct.
41932 (struct _xsave_hdr): Likewise.
41933 (struct _ymmh_state): Likewise.
41934 (struct _xstate): Likewise.
41935
68e408ab
L
41936 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41937 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41938 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41939 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41940 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41941 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41942
f3d1f93c
L
41943 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41944 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41945 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41946 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41947 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41948 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41949
d9dc34cd
TMQMF
419502012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41951
41952 [BZ #13743]
41953 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41954 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41955 (sysdep_headers): Include sys/platform/ppc.h.
41956 * sysdeps/powerpc/test-gettimebase.c: Test for
41957 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41958 * manual/Makefile (appendices): Include platform.texi.
41959 * manual/contrib.texi (Contributors): Update @node pointers.
41960 * manual/maint.texi (Maintenance): Likewise.
41961 (Platform): New node.
41962 * manual/platform.texi: New file. Document the new features.
41963
4af3879c
SP
419642012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41965 Jakub Jelinek <jakub@redhat.com>
41966
41967 [BZ #14188]
41968 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41969 where __builtin_expect is unavailable.
41970
2fd6ff13
DM
419712012-06-03 David S. Miller <davem@davemloft.net>
41972
41973 * stdlib/longlong.h: Updated from GCC.
41974
173f7220
AS
419752012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41976
41977 [BZ #14042]
41978 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41979 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41980 __mcount_internal.
41981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41982 (GLIBC_2.16): Likewise.
41983
f34a1c6f
L
419842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41985
41986 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41987
88a4576f
JM
419882012-06-01 Joseph Myers <joseph@codesourcery.com>
41989
ea32bcdd
JM
41990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41991 (default-abi): New variable.
41992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41993 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41994 variable.
41995 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41996 Likewise.
41997 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41998 Likewise.
41999 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42000 Likewise.
42001
88a4576f
JM
42002 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42003 definition. Document in comment.
42004
402fe938
DM
420052012-06-01 David S. Miller <davem@davemloft.net>
42006
42007 * stdlib/longlong.h: Updated from GCC.
42008
3553723f
L
420092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42010
42011 [BZ #14117]
3bd872c4
L
42012 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42013 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42014 sys/debugreg.h sys/io.h here.
42015 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42016 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42017 sys/io.h.
42018 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42019 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42020 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42021 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42022 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42023 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42024
3553723f
L
42025 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42026 Define only if __x86_64__ is defined.
42027
4842e4fe
JM
420282012-06-01 Joseph Myers <joseph@codesourcery.com>
42029
c5bfe3d5
JM
42030 [BZ #14048]
42031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42032 Use int64_t for variable i.
42033 * math/libm-test.inc (fmod_test): Add more tests.
42034
4842e4fe
JM
42035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42036 z computation is not scheduled after fetestexcept.
42037 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42038 Use math_force_eval instead of asm to ensure calculation scheduled
42039 before exception test.
42040 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42041 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42042
efb73488
AJ
420432012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42044
42045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42046 computation is not scheduled after fetestexcept.
42047
29bcce7c
L
420482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42049
42050 [BZ #14117]
42051 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42052 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42053
73a68f94
AZ
420542012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42055
42056 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42057 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42058
67b6df78
L
420592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42060
edf2933a 42061 [BZ #14117]
ebc64a18
L
42062 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42063 <bits/wordsize.h>.
42064 (__WCHAR_MIN): Support __WORDSIZE == 64.
42065 (__WCHAR_MAX): Likewise.
42066
edf2933a
L
42067 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42068 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42069
57c6cf40
L
42070 [BZ #14183]
42071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42072 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42073
67b6df78 42074 [BZ #14117]
8eb6281e
L
42075 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42076 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42077
aac639f4
L
42078 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42079 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42080
67b6df78
L
42081 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42082 Defined to 1 if __x86_64__ isn't defined.
42083 (_STAT_VER_LINUX_OLD): New.
42084 (st_atime): Remove duplicate.
42085 (st_mtime): Likewise.
42086 (st_ctime): Likewise.
42087
1c2cfe81
DM
420882012-05-31 David S. Miller <davem@davemloft.net>
42089
42090 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42091 entries.
42092
5be8418c
AS
420932012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42094
e7725326
AS
42095 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42096 gen-libm-test.pl.
42097
5be8418c
AS
42098 [BZ #14132]
42099 * elf/dl-reloc.c: Include <_itoa.h>.
42100 (_dl_reloc_bad_type): Remove use of INTUSE.
42101 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42102 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42103 * stdio-common/psiginfo.c (psiginfo): Likewise.
42104 * stdio-common/psignal.c (psignal): Likewise.
42105 * string/strsignal.c (strsignal): Likewise.
42106 * include/signal.h (_sys_siglist): Declare hidden proto.
42107 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42108 INTVARDEF with libc_hidden_data_def.
42109 * stdio-common/itoa-udigits.c: Likewise.
42110 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42111 (_itoa_lower_digits_internal): Remove declaration.
42112 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42113 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42114 (_sys_sigabbrev_internal): Remove aliases.
42115 (_sys_siglist): Define hidden alias.
42116
507352f1
MT
421172012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42118
42119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42120 bits/sysctl.h.
42121
42bbb1c3
L
421222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42123
42124 [BZ #14117]
6bd784b6
L
42125 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42126 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42127
8bca20f0
L
42128 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42129 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42130 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42131 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42132 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42133 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42134
f9e890a9
L
42135 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42136 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42137 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42138
471101a1
L
42139 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42140 with __addr.
42141 (insw): Likewise.
42142 (insl): Likewise.
42143 (outsb): Likewise.
42144 (outsw): Likewise.
42145 (outsl): Likewise.
42146
6451c862
L
42147 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42148 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42149 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42150
a254b8c9
L
42151 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42152 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42153 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42154 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42155 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42156 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42157
b8dfdd92
L
42158 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42159 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42160
578cd270
L
42161 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42162 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42163
de662f5f
L
42164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42166 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42167
25653439
L
42168 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42169 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42170 to ...
42171 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42172
6bad24a0
L
42173 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42174 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42175 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42176
42bbb1c3
L
42177 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42178 for x86-64.
42179 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42180
2d10d547
JM
421812012-05-31 Joseph Myers <joseph@codesourcery.com>
42182
42183 * math/math.h (M_El): Use two more decimal places.
42184 (M_LOG2El): Likewise.
42185 (M_LOG10El): Likewise.
42186 (M_LN2l): Likewise.
42187 (M_LN10l): Likewise.
42188 (M_PIl): Likewise.
42189 (M_PI_2l): Likewise.
42190 (M_PI_4l): Likewise.
42191 (M_1_PIl): Likewise.
42192 (M_2_PIl): Likewise.
42193 (M_2_SQRTPIl): Likewise.
42194 (M_SQRT2l): Likewise.
42195 (M_SQRT1_2l): Likewise.
42196
f230c29b
DM
421972012-05-31 David S. Miller <davem@davemloft.net>
42198
42199 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42200 values between float registers.
42201 * sysdeps/sparc/sparc64/memset.S: Likewise.
42202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42203
fed806c3
MF
422042012-05-31 Mike Frysinger <vapier@gentoo.org>
42205
42206 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42207 -D_FORTIFY_SOURCE=1.
42208 (CPPFLAGS-tst-longjmp_chk.c): Define.
42209 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42210 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42211 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42212 CFLAGS-tst-wchar-h.c.
42213
30917259
MP
422142012-05-31 Marek Polacek <polacek@redhat.com>
42215
42216 [BZ #14132]
42217 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42218 __endmntent_internal): Remove declaration.
42219 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42220 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42221 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42222
1c58d5dc
DM
422232012-05-30 David S. Miller <davem@davemloft.net>
42224
42225 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42226 (___Q_simulate_exceptions): Use real FP ops rather than writing
42227 into the %fsr.
42228 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42229 Likewise.
42230
7dc00e0d
L
422312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42232
42233 [BZ #14117]
0bd53985
L
42234 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42235 * sysdeps/x86/bits/xtitypes.h: This.
42236
3a257e66
L
42237 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42238 * sysdeps/x86/bits/wordsize.h: This.
42239
62f62904
L
42240 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42241 * sysdeps/x86/bits/huge_vall.h: This.
42242
404fe9d9
L
42243 * sysdeps/i386/bits/select.h: Removed.
42244 * sysdeps/x86_64/bits/select.h: Renamed to ...
42245 * sysdeps/x86/bits/select.h: This.
42246
d48d0446
L
42247 * sysdeps/i386/bits/setjmp.h: Removed.
42248 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42249 * sysdeps/x86/bits/setjmp.h: This.
42250
7dc00e0d
L
42251 * sysdeps/i386/bits/mathdef.h: Removed.
42252 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42253 * sysdeps/x86/bits/mathdef.h: This.
42254
03277f8f
AS
422552012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42256
42257 [BZ #14132]
42258 * include/sys/socket.h (__connect_internal)
42259 (__libc_sa_len_internal): Remove declaration.
42260 (__connect, __libc_sa_len): Declare hidden_proto.
42261 (SA_LEN): Remove use of INTUSE.
42262 * socket/connect.c: Add libc_hidden_def.
42263 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42264 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42265 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42266 alias.
42267 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42268 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42269 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42270 of adding _internal alias.
42271
13764867
L
422722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42273
42274 [BZ #14117]
6bd97696
L
42275 * sysdeps/i386/bits/link.h: Removed.
42276 * sysdeps/i386/bits/linkmap.h: Likewise.
42277 * sysdeps/x86_64/bits/link.h: Renamed to ...
42278 * sysdeps/x86/bits/link.h: This.
42279 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42280 * sysdeps/x86/bits/linkmap.h: This.
42281
f726f0bb
L
42282 * sysdeps/i386/bits/endian.h: Removed.
42283 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42284 * sysdeps/x86/bits/endian.h: This.
42285
13764867
L
42286 * sysdeps/i386/bits/byteswap.h: Removed.
42287 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42288 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42289 * sysdeps/x86/bits/byteswap.h: This.
42290 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42291 * sysdeps/x86/bits/byteswap-16.h: This.
42292 * sysdeps/i386/Implies: Add x86.
42293 * sysdeps/x86_64/Implies: Likewise.
42294
ae251b0b
DM
422952012-05-30 David S. Miller <davem@davemloft.net>
42296
42297 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42298 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42299 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42300 (FP_TRAPPING_EXCEPTIONS): Define.
42301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42302 (FP_TRAPPING_EXCEPTIONS): Define.
42303 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42304 subnormals only when inexact has been signalled or underflow
42305 exceptions are enabled.
42306 (_FP_PACK_CANONICAL): Likewise.
42307
d5c90867
L
423082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42309
42310 [BZ #14183]
42311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42312 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42313
63f1549e
RH
423142012-05-30 Richard Henderson <rth@twiddle.net>
42315
8d8f2279
RH
42316 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42317 with #ifndef NOT_IN_libc.
42318
63f1549e
RH
42319 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42320 marked to avoid plt entry.
42321
0ab0291b
L
423222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42323
42324 [BZ #14112]
42325 * Makeconfig (default-abi): New macro.
42326 (abi-includes): Likewise.
42327 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42328 $(abi-$(default-abi)-lib-soname) for soname if defined.
42329 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42330 abi-variants.
42331 * Makefile (installed-stubs): Likewise.
42332 * include/stubs-biarch.h: Removed.
42333 * scripts/lib-names.awk: Only handle one library at a time.
42334 * scripts/soversions.awk: Remove WORDSIZE support.
42335 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42336 entries.
42337 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42338 Removed.
42339 (syscall-list-default-condition): Likewise.
42340 (syscall-list-default-condition): Likewise.
42341 (syscall-list-includes): Likewise.
42342 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42343 syscall-list-* with abi-*. Handle undefined abi-variants.
42344 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42345 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42346 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42347 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42348 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42349 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42350 Removed.
42351 (syscall-list-32-options): Likewise.
42352 (syscall-list-32-condition): Likewise.
42353 (syscall-list-64-options): Likewise.
42354 (syscall-list-64-condition): Likewise.
42355 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42356 macro.
42357 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42358 Renamed to ...
42359 (abi-*): This.
42360 (abi-64-ld-soname): New macro.
42361 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42362 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42363 Renamed to ...
42364 (abi-*): This.
42365 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42366 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42367
4da0431d
JM
423682012-05-30 Joseph Myers <joseph@codesourcery.com>
42369
3a85279c
JM
42370 * sysdeps/unix/sysv/linux/kernel-features.h
42371 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42372 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42373 include <kernel-features.h>.
42374 [!__NR_ftruncate64]: Remove conditional code.
42375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42376 [__NR_ftruncate64]: Make code unconditional.
42377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42378 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42379 include <kernel-features.h>.
42380 [!__NR_ftruncate64]: Remove conditional code.
42381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42382 [__NR_ftruncate64]: Make code unconditional.
42383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42385 include <kernel-features.h>.
42386 [!__NR_ftruncate64]: Remove conditional code.
42387 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42388 [__NR_ftruncate64]: Make code unconditional.
42389 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42391 include <kernel-features.h>.
42392 [!__NR_ftruncate64]: Remove conditional code.
42393 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42394 [__NR_ftruncate64]: Make code unconditional.
42395 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42396
4da0431d
JM
42397 * configure.in (libc_cv_fpie): Weaken to a compile test using
42398 LIBC_TRY_CC_OPTION.
42399 * configure: Regenerated.
42400
11ef492c
AK
424012012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42402
42403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42407 Refreshed.
42408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42414 Refreshed.
42415
d66ef399
DM
424162012-05-27 David S. Miller <davem@davemloft.net>
42417
42418 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42419 (___Q_zero): New.
42420 (__Q_simulate_exceptions): Return void. Change to simulate
42421 exceptions by writing into the %fsr.
42422 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42423 (__Qp_handle_exceptions): Likewise.
42424 (numbers): Delete.
42425 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42426 __Qp_handle_exceptions.
42427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42428 __Qp_handle_exceptions.
42429 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42430 as unused and give dummy FP_RND_NEAREST initializer.
42431 (FP_INHIBIT_RESULTS): Define.
42432 (___Q_simulate_exceptions): Update declaration.
42433 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42434 formatting.
42435 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42436 as unused and give dummy FP_RND_NEAREST initializer.
42437 (__Qp_handle_exceptions): Update declaration.
42438 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42439 formatting.
42440
04fb54b5
TS
424412012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42442
42443 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42444 the temporary FPU control word.
42445 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42446 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42447 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42448 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42449 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42450 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42451 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42452 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42453 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42454 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42455 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42456
3f99608f
KK
424572012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42458
42459 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42460 fields.
42461
65a4de4e
CLT
424622012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42463
42464 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42465 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42466 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42467 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42468 Likewise.
42469 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42470 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42471 Likewise.
42472
15749d40
UD
424732012-05-27 Ulrich Drepper <drepper@gmail.com>
42474
42475 * po/h.po: Update from translation team.
42476
25dbcb27
AS
424772012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42478
3d3f8e55
AS
42479 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42480
25dbcb27
AS
42481 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42482 handling of denormals.
42483 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42484 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42485 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42486 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42490 Likewise.
42491
7ad47a80 424922012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42493
42494 [BZ #14152]
42495 * math/libm-test.inc (fma_test): Don't always expect underflow
42496 exception.
42497
9c6ea9fa
SP
424982012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42499
42500 [BZ #12416]
42501 * elf/tst-execstack.c: Include stackinfo.h.
42502 (do_test): Adjust test case to ensure that pthread_getattr_np
42503 behaviour remains the same after marking stack executable.
42504
a8239222
JM
425052012-05-25 Joseph Myers <joseph@codesourcery.com>
42506
42507 * sysdeps/unix/sysv/linux/kernel-features.h
42508 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42509 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42510 kernel-features.h.
42511 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42512 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42513 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42514 kernel-features.h.
42515 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42516 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42517
918b5606
L
425182012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42519
42520 * configure.in: Define the default includes to being none.
42521 * configure: Regenerated.
42522
3a097cc7
RM
425232012-05-25 Roland McGrath <roland@hack.frob.com>
42524
8422c9a5
RM
42525 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42526 * sysdeps/x86_64/setjmp.S: Likewise.
42527 * sysdeps/i386/bsd-setjmp.S: Likewise.
42528 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42529 * sysdeps/i386/setjmp.S: Likewise.
42530 * sysdeps/i386/__longjmp.S: Likewise.
42531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42532 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42533
3a097cc7
RM
42534 * include/stap-probe.h: New file.
42535 * configure.in: Handle --enable-systemtap.
42536 * configure: Regenerated.
42537 * config.h.in (USE_STAP_PROBE): New #undef.
42538 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42539 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42540 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42541
21708942
JM
425422012-05-25 Joseph Myers <joseph@codesourcery.com>
42543
42544 [BZ #13717]
42545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42546 to 2.4.0 where earlier.
42547 * sysdeps/unix/sysv/linux/configure: Regenerated.
42548 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
42557 [__ASSUME_32BITUIDS]: Make code unconditional.
42558 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42559 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42560 <kernel-features.h>.
42561 [__ASSUME_32BITUIDS]: Make code unconditional.
42562 [!__ASSUME_32BITUIDS]: Remove conditional code.
42563 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42564 <kernel-features.h>.
42565 [__ASSUME_32BITUIDS]: Make code unconditional.
42566 [!__ASSUME_32BITUIDS]: Remove conditional code.
42567 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42568 <kernel-features.h>.
42569 [__ASSUME_32BITUIDS]: Make code unconditional.
42570 [!__ASSUME_32BITUIDS]: Remove conditional code.
42571 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42572 <kernel-features.h>.
42573 [__ASSUME_32BITUIDS]: Make code unconditional.
42574 [!__ASSUME_32BITUIDS]: Remove conditional code.
42575 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42576 <kernel-features.h>.
42577 [__ASSUME_32BITUIDS]: Make code unconditional.
42578 [!__ASSUME_32BITUIDS]: Remove conditional code.
42579 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42580 <kernel-features.h>.
42581 [__ASSUME_32BITUIDS]: Make code unconditional.
42582 [!__ASSUME_32BITUIDS]: Remove conditional code.
42583 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42584 <kernel-features.h>.
42585 [__ASSUME_32BITUIDS]: Make code unconditional.
42586 [!__ASSUME_32BITUIDS]: Remove conditional code.
42587 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42588 <kernel-features.h>.
42589 [__ASSUME_32BITUIDS]: Make code unconditional.
42590 [!__ASSUME_32BITUIDS]: Remove conditional code.
42591 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42592 <kernel-features.h>.
42593 [__ASSUME_32BITUIDS]: Make code unconditional.
42594 [!__ASSUME_32BITUIDS]: Remove conditional code.
42595 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42596 <kernel-features.h>.
42597 [__ASSUME_32BITUIDS]: Make code unconditional.
42598 [!__ASSUME_32BITUIDS]: Remove conditional code.
42599 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42600 <kernel-features.h>.
42601 [__NR_setresgid] (__setresgid): Do not declare.
42602 [__ASSUME_32BITUIDS]: Make code unconditional.
42603 [!__ASSUME_32BITUIDS]: Remove conditional code.
42604 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42605 <kernel-features.h>.
42606 [__NR_setresuid] (__setresuid): Do not declare.
42607 [__ASSUME_32BITUIDS]: Make code unconditional.
42608 [!__ASSUME_32BITUIDS]: Remove conditional code.
42609 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42610 <kernel-features.h>.
42611 [__ASSUME_32BITUIDS]: Make code unconditional.
42612 [!__ASSUME_32BITUIDS]: Remove conditional code.
42613 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42614 <kernel-features.h>.
42615 [__ASSUME_32BITUIDS]: Make code unconditional.
42616 [!__ASSUME_32BITUIDS]: Remove conditional code.
42617 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42618 <kernel-features.h>.
42619 [__ASSUME_32BITUIDS]: Make code unconditional.
42620 [!__ASSUME_32BITUIDS]: Remove conditional code.
42621 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42622 <kernel-features.h>.
42623 [__ASSUME_32BITUIDS]: Make code unconditional.
42624 [!__ASSUME_32BITUIDS]: Remove conditional code.
42625 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42626 <kernel-features.h>.
42627 [__ASSUME_32BITUIDS]: Make code unconditional.
42628 [!__ASSUME_32BITUIDS]: Remove conditional code.
42629 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42630 <kernel-features.h>.
42631 [__ASSUME_32BITUIDS]: Make code unconditional.
42632 [!__ASSUME_32BITUIDS]: Remove conditional code.
42633 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42634 <kernel-features.h>.
42635 [__ASSUME_32BITUIDS]: Make code unconditional.
42636 [!__ASSUME_32BITUIDS]: Remove conditional code.
42637 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42638 <kernel-features.h>.
42639 [__ASSUME_32BITUIDS]: Make code unconditional.
42640 [!__ASSUME_32BITUIDS]: Remove conditional code.
42641 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42642 <kernel-features.h>.
42643 [__ASSUME_32BITUIDS]: Make code unconditional.
42644 [!__ASSUME_32BITUIDS]: Remove conditional code.
42645 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42646 <kernel-features.h>.
42647 [__ASSUME_32BITUIDS]: Make code unconditional.
42648 [!__ASSUME_32BITUIDS]: Remove conditional code.
42649 * sysdeps/unix/sysv/linux/kernel-features.h
42650 (__ASSUME_SETRESUID_SYSCALL): Remove.
42651 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42652 (__ASSUME_32BITUIDS): Likewise.
42653 (__ASSUME_LDT_WORKS): Likewise.
42654 (__ASSUME_O_DIRECTORY): Likewise.
42655 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42656 architecture but not kernel version.
42657 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42658 (__ASSUME_MMAP2_SYSCALL): Likewise.
42659 (__ASSUME_STAT64_SYSCALL): Likewise.
42660 (__ASSUME_IPC64): Likewise.
42661 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42662 <kernel-features.h>.
42663 [__ASSUME_32BITUIDS]: Make code unconditional.
42664 [!__ASSUME_32BITUIDS]: Remove conditional code.
42665 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42666 <kernel-features.h>.
42667 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42668 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42669 132096]: Remove conditional code.
42670 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42671 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42672 <kernel-features.h>.
42673 [__ASSUME_32BITUIDS]: Make code unconditional.
42674 [!__ASSUME_32BITUIDS]: Remove conditional code.
42675 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42676 <kernel-features.h>.
42677 [__ASSUME_32BITUIDS]: Make code unconditional.
42678 [!__ASSUME_32BITUIDS]: Remove conditional code.
42679 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42680 <kernel-features.h>.
42681 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42682 unconditional.
42683 (__setresgid): Do not declare.
42684 [__ASSUME_32BITUIDS]: Make code unconditional.
42685 [!__ASSUME_32BITUIDS]: Remove conditional code.
42686 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42687 <kernel-features.h>.
42688 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42689 unconditional.
42690 (__setresuid): Do not declare.
42691 [__ASSUME_32BITUIDS]: Make code unconditional.
42692 [!__ASSUME_32BITUIDS]: Remove conditional code.
42693 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42694 <kernel-features.h>.
42695 [__ASSUME_32BITUIDS]: Make code unconditional.
42696 [!__ASSUME_32BITUIDS]: Remove conditional code.
42697 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42698 <kernel-features.h>.
42699 [__ASSUME_32BITUIDS]: Make code unconditional.
42700 [!__ASSUME_32BITUIDS]: Remove conditional code.
42701
a386f1cc
RH
427022012-05-25 Richard Henderson <rth@twiddle.net>
42703
42704 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42705 dl_hwcap to ifunc resolver.
42706 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42707 elf_ifunc_invoke.
42708 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42709 dl_hwcap to ifunc resolver.
42710 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42711
b6550497
JM
427122012-05-24 Joseph Myers <joseph@codesourcery.com>
42713
42714 [BZ #14153]
42715 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42716 for |x| <= 2**-26, not 2**-57.
42717 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42718 exception.
42719
b0bc23a1
JL
427202012-05-24 Jeff Law <law@redhat.com>
42721
42722 * stdio-common/Makefile (tests): Add bug25.
42723 * stdio-common/bug25.c: New test.
42724
347c92e9
L
427252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42726
42727 [BZ #13576]
42728 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42729 multiple of MALLOC_ALIGNMENT in size.
42730 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42731
6bcc8b3f
JM
427322012-05-24 Joseph Myers <joseph@codesourcery.com>
42733
42734 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42735 Require >= 256.
42736 (FILENAME_MAX): Use macro-int-constant.
42737 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42738 (_IOFBF): Use macro-int-constant.
42739 (_IOLBF): Likewise.
42740 (_IONBF): Likewise.
42741 (SEEK_CUR): Likewise.
42742 (SEEK_END): Likewise.
42743 (SEEK_SET): Likewise.
42744 (TMP_MAX): Likewise.
42745 (EOF): Use macro-int-constant. Require < 0.
42746 (NULL): Use macro-constant. Require == 0.
42747 (stdin): Require type to be FILE *.
42748 (stdout): Likewise.
42749 (stderr): Likewise.
42750 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42751 macro-int-constant.
42752 (EXIT_SUCCESS): Likewise.
42753 (NULL): Use macro-constant. Require == 0.
42754 (RAND_MAX): Use macro-int-constant.
42755 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42756 [C99-based standards] (strtof): Require function.
42757 [C99-based standards] (strtold): Likewise.
42758 [C99-based standards] (strtoll): Likewise.
42759 [C99-based standards] (strtoull): Likewise.
42760 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42761 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42762 [ISO || ISO99 || ISO11] (math.h): Likewise.
42763 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42764 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42766
d18ea0c5
AS
427672012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42768
42769 [BZ #14132]
56d25bb8
AS
42770 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42771 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42772 * intl/dgettext.c (DCGETTEXT): Likewise.
42773 * intl/gettext.c (DCGETTEXT): Likewise.
42774 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42775 * posix/regex_internal.h (gettext): Likewise.
42776 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42777 Remove declaration.
42778 * include/argz.h (__argz_count_internal)
42779 (__argz_stringify_internal): Remove declaration.
42780 (__argz_count, __argz_stringify): Declare hidden proto.
42781 * intl/dcgettext.c: Remove use of INTDEF.
42782 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42783 * string/argz-stringify.c: Likewise.
42784 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42785 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42786 Declare hidden proto.
d18ea0c5
AS
42787 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42788 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42789 Declare hidden proto.
42790 * include/stdio.h (__asprintf_internal): Don't declare.
42791 (__asprintf): Don't define as macro. Declare hidden proto.
42792 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42793 (__fsetlocking): Declare hidden proto.
42794 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42795 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42796 hidden proto.
42797 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42798 (_IO_setlinebuf): Remove use of INTUSE.
42799 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42800 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42801 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42802 Remove declaration.
42803 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42804 (_IO_do_flush): Remove use of INTUSE.
42805 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42806 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42807 (_IO_adjust_column, _IO_least_wmarker)
42808 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42809 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42810 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42811 (_IO_default_doallocate, _IO_wdefault_doallocate)
42812 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42813 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42814 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42815 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42816 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42817 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42818 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42819 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42820 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42821 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42822 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42823 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42824 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42825 proto.
42826 (_IO_flush_all_internal, _IO_adjust_column_internal)
42827 (_IO_default_uflow_internal, _IO_default_finish_internal)
42828 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42829 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42830 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42831 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42832 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42833 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42834 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42835 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42836 (_IO_file_close_internal, _IO_file_close_it_internal)
42837 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42838 (_IO_file_init_internal, _IO_file_attach_internal)
42839 (_IO_file_fopen_internal, _IO_file_read_internal)
42840 (_IO_file_sync_internal, _IO_file_seek_internal)
42841 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42842 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42843 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42844 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42845 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42846 (_IO_list_all_internal, _IO_link_in_internal)
42847 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42848 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42849 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42850 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42851 (_IO_do_write_internal, _IO_padn_internal)
42852 (_IO_getline_info_internal, _IO_getline_internal)
42853 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42854 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42855 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42856 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42857 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42858 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42859 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42860 with libc_hidden_ver, remove use of INTUSE.
42861 * libio/genops.c: Likewise.
42862 * libio/freopen.c: Likewise.
42863 * libio/freopen64.c: Likewise.
42864 * libio/iofclose.c: Likewise.
42865 * libio/iofdopen.c: Likewise.
42866 * libio/iofflush.c: Likewise.
42867 * libio/iofflush_u.c: Likewise.
42868 * libio/iofgets.c: Likewise.
42869 * libio/iofgets_u.c: Likewise.
42870 * libio/iofopen.c: Likewise.
42871 * libio/iofopncook.c: Likewise.
42872 * libio/iofread.c: Likewise.
42873 * libio/iofread_u.c: Likewise.
42874 * libio/ioftell.c: Likewise.
42875 * libio/iofwrite.c: Likewise.
42876 * libio/iogetline.c: Likewise.
42877 * libio/iogets.c: Likewise.
42878 * libio/iogetwline.c: Likewise.
42879 * libio/iopadn.c: Likewise.
42880 * libio/iopopen.c: Likewise.
42881 * libio/ioseekoff.c: Likewise.
42882 * libio/ioseekpos.c: Likewise.
42883 * libio/iosetbuffer.c: Likewise.
42884 * libio/iosetvbuf.c: Likewise.
42885 * libio/ioungetc.c: Likewise.
42886 * libio/ioungetwc.c: Likewise.
42887 * libio/iovdprintf.c: Likewise.
42888 * libio/iovsprintf.c: Likewise.
42889 * libio/iovsscanf.c: Likewise.
42890 * libio/memstream.c: Likewise.
42891 * libio/obprintf.c: Likewise.
42892 * libio/oldfileops.c: Likewise.
42893 * libio/oldiofclose.c: Likewise.
42894 * libio/oldiofdopen.c: Likewise.
42895 * libio/oldiofopen.c: Likewise.
42896 * libio/oldiopopen.c: Likewise.
42897 * libio/oldstdfiles.c: Likewise.
42898 * libio/putc.c: Likewise.
42899 * libio/setbuf.c: Likewise.
42900 * libio/setlinebuf.c: Likewise.
42901 * libio/stdfiles.c: Likewise.
42902 * libio/strops.c: Likewise.
42903 * libio/vasprintf.c: Likewise.
42904 * libio/vscanf.c: Likewise.
42905 * libio/vsnprintf.c: Likewise.
42906 * libio/vswprintf.c: Likewise.
42907 * libio/wfiledoalloc.c: Likewise.
42908 * libio/wfileops.c: Likewise.
42909 * libio/wgenops.c: Likewise.
42910 * libio/wmemstream.c: Likewise.
42911 * libio/wstrops.c: Likewise.
42912 * libio/__fpurge.c: Likewise.
42913 * libio/__fsetlocking.c: Likewise.
42914 * assert/assert.c: Likewise.
42915 * debug/fgets_chk.c: Likewise.
42916 * debug/fgets_u_chk.c: Likewise.
42917 * debug/fread_chk.c: Likewise.
42918 * debug/fread_u_chk.c: Likewise.
42919 * debug/gets_chk.c: Likewise.
42920 * debug/obprintf_chk.c: Likewise.
42921 * debug/vasprintf_chk.c: Likewise.
42922 * debug/vdprintf_chk.c: Likewise.
42923 * debug/vsnprintf_chk.c: Likewise.
42924 * debug/vsprintf_chk.c: Likewise.
42925 * malloc/mtrace.c: Likewise.
42926 * misc/error.c: Likewise.
42927 * misc/syslog.c: Likewise.
42928 * stdio-common/asprintf.c: Likewise.
42929 * stdio-common/fxprintf.c: Likewise.
42930 * stdio-common/getw.c: Likewise.
42931 * stdio-common/isoc99_fscanf.c: Likewise.
42932 * stdio-common/isoc99_scanf.c: Likewise.
42933 * stdio-common/isoc99_vfscanf.c: Likewise.
42934 * stdio-common/isoc99_vscanf.c: Likewise.
42935 * stdio-common/isoc99_vsscanf.c: Likewise.
42936 * stdio-common/printf-prs.c: Likewise.
42937 * stdio-common/printf_fp.c: Likewise.
42938 * stdio-common/printf_fphex.c: Likewise.
42939 * stdio-common/printf_size.c: Likewise.
42940 * stdio-common/putw.c: Likewise.
42941 * stdio-common/scanf.c: Likewise.
42942 * stdio-common/sprintf.c: Likewise.
42943 * stdio-common/tmpfile.c: Likewise.
42944 * stdio-common/vfprintf.c: Likewise.
42945 * stdio-common/vfscanf.c: Likewise.
42946 * stdlib/strfmon_l.c: Likewise.
42947 * sunrpc/openchild.c: Likewise.
42948 * sunrpc/xdr_stdio.c: Likewise.
42949 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42950 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42951
d6c33fda
RM
429522012-05-24 Roland McGrath <roland@hack.frob.com>
42953
c1487492
RM
42954 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42955
42956 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42957 in the third column, to generate for the shared library an IFUNC
42958 that uses _dl_vdso_vsym.
42959 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42960 * Makeconfig (object-suffixes-noshared): New variable.
42961
42962 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42963 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42964 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42965 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42966
d6c33fda
RM
42967 [BZ #14132]
42968 * include/sys/time.h (__gettimeofday): Remove macro.
42969 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42970 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42971 Remove INTDEF.
42972 (__gettimeofday): Add libc_hidden_def.
42973 (gettimeofday): Add libc_hidden_weak.
42974 * sysdeps/mach/gettimeofday.c: Likewise.
42975 * sysdeps/posix/gettimeofday.c: Likewise.
42976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42977 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42979 (__gettimeofday_internal): Remove strong_alias.
42980 (__gettimeofday): Add libc_hidden_def.
42981 (gettimeofday): Add libc_hidden_weak.
42982 * sysdeps/unix/syscalls.list (gettimeofday):
42983 Remove __gettimeofday_internal alias.
42984
b5a2bbe6
L
429852012-05-24 Daniel Jacobowitz <drow@false.org>
42986 H.J. Lu <hongjiu.lu@intel.com>
42987
42988 [BZ #12495]
42989 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42990 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42991 (largebin_index_32_big): New.
42992 (largebin_index): Use it for 16-byte alignment.
42993 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42994 correction with front_misalign.
42995
cfba4fda
L
429962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42997
7f907421
L
42998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43000 Likewise.
43001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43002 Likewise.
43003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43004 Likewise.
43005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43006 Likewise.
43007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43008 Likewise.
43009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43010 Likewise.
43011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43012 Likewise.
43013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43014 Likewise.
43015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43016 Likewise.
43017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43018 Likewise.
43019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43020 Likewise.
43021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43022 Likewise.
43023
cfba4fda
L
43024 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43025 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43026
80bad0cc
JM
430272012-05-24 Joseph Myers <joseph@codesourcery.com>
43028
7a25eb06
JM
43029 [BZ #10846]
43030 [BZ #14036]
43031 * math/libm-test.inc (exp_test): Add test from bug 14036.
43032 (pow_test): Add test from bug 10846.
43033
795405f9
JM
43034 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43035 and other flags.
43036 (special_function): Do not include flags in test name.
43037 (parse_args): Likewise.
43038 * sysdeps/i386/fpu/libm-test-ulps: Update.
43039 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43040 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43041 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43043
80bad0cc
JM
43044 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43045 exceptions.
43046 * math/libm-test.inc ("Philosophy"): Update comment about
43047 exception testing.
43048 (UNDERFLOW_EXCEPTION): New macro.
43049 (UNDERFLOW_EXCEPTION_OK): Likewise.
43050 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43051 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43052 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43053 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43054 (INVALID_EXCEPTION_OK): Update value.
43055 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43056 (OVERFLOW_EXCEPTION_OK): Likewise.
43057 (IGNORE_ZERO_INF_SIGN): Likewise.
43058 (test_exceptions): Handle underflow exceptions.
43059 (acos_test): Update for underflow exception expectations.
43060 (cexp_test): Likewise.
43061 (clog_test): Likewise.
43062 (clog10_test): Likewise.
43063 (csqrt_test): Likewise.
43064 (ctan_test): Likewise.
43065 (ctanh_test): Likewise.
43066 (exp_test): Likewise.
43067 (exp10_test): Likewise.
43068 (exp2_test): Likewise.
43069 (expm1_test): Likewise.
43070 (fma_test): Likewise.
43071 (j0_test): Likewise.
43072 (jn_test): Likewise.
43073 (nexttoward_test): Likewise.
43074 (pow_test): Likewise.
43075 (scalbn_test): Likewise.
43076 (scalbln_test): Likewise.
43077 (tan_test): Likewise.
43078 (y1_test): Likewise.
43079 * sysdeps/i386/fpu/libm-test-ulps: Update.
43080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43081
9e0e3d0b
DM
430822012-05-23 David S. Miller <davem@davemloft.net>
43083
43084 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43085 (__libc_sigaction): Remove unused local variables.
43086
ccd0a08f
L
430872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43088
43089 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43090
62bdf9a6
PE
430912012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43092
f8591f80
PE
43093 mktime: avoid signed integer overflow
43094 * time/mktime.c (__mktime_internal): Do not mishandle the case
43095 where diff == INT_MIN.
43096
94c7d826
PE
43097 mktime: simplify computation of average
43098 * time/mktime.c (ranged_convert): Use new time_t_avg function
43099 instead of rolling our own (probably-slower) code.
43100
ce73d683
PE
43101 mktime: do not assume signed right shift propagates sign bit
43102 * time/mktime.c (isdst_differ): New static function.
43103 (__mktime_internal): No need to normalize tm_isdst now.
43104 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43105 tm_isdst values.
43106
72a22e59
PE
43107 mktime: merge another wrapv change from gnulib
43108 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43109 from some compilers.
43110
68605433
PE
43111 mktime: remove incorrect attempt at unusual arithmetics
43112 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43113 The code didn't really work on such machines anyway.
43114 (TYPE_MINIMUM): Assume two's complement.
43115 (twos_complement_arithmetic): Verify that long_int and time_t
43116 are two's complement (or unsigned, in the latter case).
43117
03cf7fe3
PE
43118 mktime: check signed shifts on long_int and time_t, too
43119 * time/mktime.c (SHR): Check that shifts work as desired
43120 on the types long_int and time_t too, as SHR is used on
43121 such types.
43122
f04dfbc2
PE
43123 mktime: do not assume 'long' is wide enough
43124 * time/mktime.c (verify): Move decl up.
43125 (long_int): New type.
43126 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43127 to remove assumption in the code that 'long' is wide enough to
43128 store year values. This assumption is not true on x32 and on
43129 some non-glibc platforms.
43130
62bdf9a6
PE
43131 mktime: merge wrapv change from gnulib
43132 * time/mktime.c (WRAPV): New macro.
43133 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43134 (guess_time_tm, __mktime_internal): Do not assume that signed
43135 integer overflow wraps around; modern compilers generate code
43136 where this assumption is no longer valid.
43137
5e292e4f
L
431382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43139
43140 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43141 Replace "jmp L(pseudo_end)" with "ret".
43142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43143 Likewise.
43144
8caf8c87
AJ
431452012-05-23 Andreas Jaeger <aj@suse.de>
43146
43147 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43148 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43149
1a09dc56
AJ
431502012-05-23 Andreas Jaeger <aj@suse.de>
43151 Maximilian Attems <max@stro.at>
43152
43153 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43154 New macros.
43155
1c87aba0
L
431562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43157
43158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43159 code so that pseudo_end is just ret and the stack pointer is
43160 correct also for static library in error case.
43161
40e45bd5
JM
431622012-05-23 Joseph Myers <joseph@codesourcery.com>
43163
c2670533
JM
43164 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43165 move to syscalls.list.
43166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43170
40e45bd5
JM
43171 * manual/install.texi (Running make install): Do not mention Linux
43172 kernel version for which pt_chown is not needed.
43173 (Linux): Do not mention problems with nscd with 2.0 kernels.
43174 * INSTALL: Regenerated.
43175
be08eda5
AJ
431762012-05-23 Andreas Jaeger <aj@suse.de>
43177
43178 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43179 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43180 macro.
43181 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43183 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43185 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43189 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43191 * sysdeps/unix/sysv/linux/bits/in.h
43192 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43193
a6a056bb
RM
431942012-05-22 Roland McGrath <roland@hack.frob.com>
43195
43196 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43197 (PREPARE_VERSION): Just use assert instead, it will be elided
43198 under [NDEBUG] anyway.
43199
c9009328
L
432002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43201
43202 * sysdeps/unix/sysv/linux/Makefile: Include
43203 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 43204 (sysdep_routines): Remove sysctl.
c9009328
L
43205 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43206 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43207 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43208 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43209 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43210
73338355
AJ
432112012-05-22 Andreas Jaeger <aj@suse.de>
43212
43213 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43214 that pseudo_end is just ret and the stack pointer is correct also
43215 for static library in error case.
43216
d44638b0
PP
432172012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43218
43219 [BZ #14122]
43220 * nss/nsswitch.c (defconfig_entries): New variable.
43221 (__nss_database_lookup): Don't leak defconfig entries.
43222 (nss_parse_service_list): Don't leak on error paths.
43223 (free_database_entries): New function.
43224 (free_defconfig): New function.
43225 (free_mem): Move common code to free_database_entries.
43226
31a39bd8
L
432272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43228
da0331a8
L
43229 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43230 Add arch_prctl.
43231 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43232
31a39bd8
L
43233 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43234 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43236 New macro.
43237 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43238 (INTERNAL_SYSCALL_TYPES): Likewise.
43239 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43240 (LOAD_REGS_TYPES_[1-6]): Likewise.
43241 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43242 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43243
45470df3
AZ
432442012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43245
43246 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43247 copysignl for GLIBC_2_0.
43248 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43249 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43251 logbl for GLIBC_2_0.
43252 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43253 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43254
98a61bcb
L
432552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43256
a4f6e481
L
43257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43258 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43259
f63d5db6
L
43260 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43261 Use "neg %eax".
43262
98a61bcb
L
43263 * time/mktime.c: Update copyright years.
43264
95770f14
PE
432652012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43266
6226efbd
PE
43267 mktime: merge comment-quoting-style change from gnulib
43268 * time/mktime.c: Quote 'like this' in comments.
43269 The GNU coding standards suggest that we no longer quote `like this',
43270 as "`" and "'" are typically rendered asymmetrically nowadays.
43271 The typical gnulib style is to quote 'like this' when quoting
43272 code, and "like this" when quoting English.
43273
b99e4f78
PE
43274 * time/mktime.c (compile-command): Add "-I.".
43275
643e01e6
PE
43276 mktime: merge mktime-internal.h change from gnulib
43277 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43278
2554247d
PE
43279 mktime: merge time_r change from gnulib
43280 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43281
826dd0ab
PE
43282 mktime: merge DEBUG change from gnulib
43283 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43284 case system <time.h> has a #define.
43285
bd83aabe
PE
43286 mktime: merge <sys/types.h> change from gnulib
43287 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43288 since <time.t> is now guaranteed to define time_t.
43289
95770f14
PE
43290 mktime: merge HAVE_CONFIG_H change from gnulib
43291 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43292
5e1a27a9
L
432932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43294
0e44a77e
L
43295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43296 Use "neg %eax".
43297
5e1a27a9
L
43298 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43299 __rlim_t cast.
43300 (struct rusage): Use anonymous union to pad each field to
43301 __syscall_slong_t.
43302
46259bec
DM
433032012-05-21 David S. Miller <davem@davemloft.net>
43304
43305 * Makefules (o-iterator): Remove .s cases.
43306 (compile-command.s): Delete.
43307 (COMPILE.s): Delete.
43308 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43309
59f0c22e
JM
433102012-05-21 Joseph Myers <joseph@codesourcery.com>
43311
43312 * configure.in (libc_cv_predef_stack_protector): Only consider
43313 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43314 * configure: Regenerated.
43315
20c07380
L
433162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43317
bbb3154b
L
43318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43319 New macro. Use R*LP on int and pointer.
43320 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43321 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43322 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43323 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43324
20c07380
L
43325 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43326 [__WORDSIZE_TIME64_COMPAT32] instead of
43327 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43328 (struct utmp): Likewise.
43329 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43330 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43331 Renamed to ...
43332 (__WORDSIZE_TIME64_COMPAT32): This.
43333 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43334 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43335 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43336 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43337 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43338 (__WORDSIZE_TIME64_COMPAT32): New macro.
43339
d8d1017e
AJ
433402012-05-21 Andreas Jaeger <aj@suse.de>
43341
43342 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43343 only if [SHARED]. Add prototype for __wcschr_ia32.
43344
6c7fb145
RM
433452012-05-21 Roland McGrath <roland@hack.frob.com>
43346
43347 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43348 of %rbp unmolested in the jmp_buf while mangling the low bits.
43349 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43350 unmolested high bits of %rbp while demangling the low bits.
43351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43352
66274218
AJ
433532012-05-21 Andreas Jaeger <aj@suse.de>
43354
07c58f8f
AJ
43355 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43356 * sunrpc/svc_simple.c: Use it for registerrpc.
43357 * sunrpc/xcrypt.c: Use it for passwd2des.
43358
66274218
AJ
43359 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43360
61f65140
L
433612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43362
43363 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43364 Don't define if [__SYSCALL_WORDSIZE != 32].
43365 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43366 New macro.
43367
5fefb436
AJ
433682012-05-21 Bruno Haible <bruno@clisp.org>
43369 Andreas Jaeger <aj@suse.de>
43370
43371 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43372 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43373 inptr and inend for must_buffer_ch.
43374 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43375 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43376 * stdio-common/Makefile (tests): Remove bug15.
43377 (bug15-ENV): Remove macro.
43378 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43379 anymore.
43380
d8e272ab
AJ
433812012-05-19 Andreas Jaeger <aj@suse.de>
43382 Roland McGrath <roland@hack.frob.com>
43383
43384 * manual/contrib.texi: Completely rewritten. It contains now an
43385 alphabetical list of contributors and their contributions.
43386
4a56a162
RH
433872012-05-21 Richard Henderson <rth@twiddle.net>
43388
43389 * misc/getauxval.c (__getauxval): Use unsigned long int.
43390 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43391 (getauxval): Use unsigned long int.
43392
d024d23c
L
433932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43394
43395 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43396
cbc00a03
RM
433972012-05-21 Roland McGrath <roland@hack.frob.com>
43398
43399 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43400 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43401 __alignof__ (long double).
43402
478143fa
AZ
434032012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43404
43405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43406
c7683a6d
RH
434072012-05-20 Richard Henderson <rth@twiddle.net>
43408
43409 * misc/getauxval.c: New file.
43410 * misc/sys/auxv.h: New file.
43411 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43412 (routines): Add getauxval.
43413 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43414 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43415 * elf/dl-sysdep.c (_dl_auxv): Remove.
43416 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43417 * elf/dl-support.c (_dl_auxv): New variable.
43418 (_dl_aux_init): Initialize it.
43419 * manual/startup.texi (Auxiliary Vector): New node.
43420 * sysdeps/generic/bits/hwcap.h: New file.
43421 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43422 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43423 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43424 * sysdeps/sparc/sysdep.h: ... here. Include it.
43425 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43426 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43428 Update.
c7683a6d
RH
43429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43432 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43437
a6f1845d
AZ
434382012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43439
43440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43441
cbcbe830
DM
434422012-05-19 David S. Miller <davem@davemloft.net>
43443
43444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43445
e0b16cc2
JM
434462012-05-19 Joseph Myers <joseph@codesourcery.com>
43447
43448 [BZ #14123]
43449 * math/s_ccosh.c: Include <float.h>
43450 (__ccosh): Avoid internal overflow calculating sinh and cosh
43451 values before multiplying by sin and cos values.
43452 * math/s_ccoshf.c: Likewise.
43453 * math/s_ccoshl.c: Likewise.
43454 * math/s_csin.c: Likewise.
43455 * math/s_csinf.c: Likewise.
43456 * math/s_csinl.c: Likewise.
43457 * math/s_csinh.c: Likewise.
43458 * math/s_csinhf.c: Likewise.
43459 * math/s_csinhl.c: Likewise.
43460 * math/libm-test.inc (ccos_test): Add more tests.
43461 (ccosh_test): Likewise.
43462 (csin_test): Likewise.
43463 (csinh_test): Likewise.
43464 * sysdeps/i386/fpu/libm-test-ulps: Update.
43465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43466
6ad13e08
L
434672012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43468
f66f0ce8
L
43469 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43470 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43471
6ad13e08
L
43472 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43473
b1d072a7
JM
434742012-05-19 Joseph Myers <joseph@codesourcery.com>
43475
43476 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43477 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43478 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43479 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43480 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43481 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43482 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43483 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43484 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43485 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43486 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43487 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43488 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43489 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43490 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43491 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43492 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43493 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43494 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43495 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43496 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43497 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43498 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43499 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43500 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43501 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43502 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43503 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43504 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43505 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43506 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43507
9eae47cb
AJ
435082012-05-18 Andreas Jaeger <aj@suse.de>
43509
43510 * csu/.gitignore: Delete.
43511
bb07f69f
L
435122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43513
43514 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43515 (timex): Use __syscall_slong_t.
43516
e6bdb741
AJ
435172012-05-18 Andreas Jaeger <aj@suse.de>
43518 Carlos O'Donell <carlos_odonell@mentor.com>
43519
43520 * manual/install.texi (Configuring and compiling): Update
43521 description about files modified in the source directory.
d6c33fda 43522 * INSTALL: Regenerated.
e6bdb741 43523
1b74487e
L
435242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43525
43526 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43527 value. Use "or" to set return value to -1.
43528 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43529 negate return value.
43530
a88b64b9
TMQMF
435312012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43532
57f41c40
AS
43533 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43534 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43535 failure if the compiler has Graphite support disabled.
43536 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43537 Likewise.
57f41c40
AS
43538 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43539 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43541 Likewise.
43542
3707636e
L
435432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43544
610b8622
L
43545 * sysdeps/x86_64/x32/_itoa.h: New file.
43546
7cd195df
L
43547 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43548 getdents system call only if kernel and user dirents have the
43549 same d_ino and d_off.
43550
94b07d20
L
43551 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43552 LLONG_MAX != LONG_MAX.
43553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43554 (_fitoa_word): Likewise.
43555
18298070
L
43556 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43557 years.
43558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43559 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43560 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43561
553c7ea4
L
43562 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43563 include <bits/wordsize.h>. Check __x86_64__ instead of
43564 __WORDSIZE.
43565 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43566 if __x86_64__ is defined. Use anonymous union on fpstate.
43567
3707636e
L
43568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43569 anonymous union.
43570
b53ef01a
AS
435712012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43572
37fb1dc0
AS
43573 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43574 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43575 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43576 Refer to _rtld_local_ro instead of _rtld_global_ro.
43577 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43578 Likewise.
43579 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43580 Likewise.
43581 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43582 Likewise.
43583 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43584 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43585 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43586
b53ef01a
AS
43587 * sysdeps/powerpc/powerpc32/dl-machine.c
43588 (__elf_machine_runtime_setup) [PROF]: Don't reference
43589 _dl_prof_resolve.
43590
7a185db2
AJ
435912012-05-18 Andreas Jaeger <aj@suse.de>
43592
43593 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43594 function only available for GCCs before 3.4 since GCC 3.4
43595 introduced a builtin.
43596 (lrint): Likewise.
43597 (llrintf): Likewise.
43598 (llrint): Likewise.
43599 (fmaxf): Likewise.
43600 (fmax): Likewise.
43601 (fminf): Likewise.
43602 (fmin): Likewise.
43603 (rint): Likewise.
43604 (rintf): Likewise.
43605 (nearbyint): Likewise.
43606 (nearbyintf): Likewise.
43607 (ceil): Likewise.
43608 (ceilf): Likewise.
43609 (floor): Likewise.
43610 (floorf): Likewise.
43611
3e5aef87
L
436122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43613
428bd707
L
43614 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43615 on both fields and cast pointer to __syscall_ulong_t.
43616
3e5aef87
L
43617 * bits/types.h (__fsword_t): New type.
43618 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43619 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43621 (__FSWORD_T_TYPE): Likewise.
43622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43623 (__FSWORD_T_TYPE): Likewise.
43624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43625 (__FSWORD_T_TYPE): Likewise.
43626 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43627 (__FSWORD_T_TYPE): Likewise.
43628 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43629 __SWORD_TYPE with __fsword_t.
43630 (statfs64): Likewise.
43631
1ba7c3dc
DM
436322012-05-17 David S. Miller <davem@davemloft.net>
43633
43634 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43635
59910343
AJ
436362012-05-17 Andreas Jaeger <aj@suse.de>
43637
43638 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43639 warning.
43640
2e4c1e9e
L
436412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43642
43643 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43644
de7f5ce7
AJ
436452012-05-17 Andreas Jaeger <aj@suse.de>
43646
43647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43648 when it is used.
43649
286abc3d
CM
436502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43651
43652 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43653
477cc68e
L
436542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43655
43656 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43657 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43658
1a0994f5
CD
436592012-05-17 Andreas Jaeger <aj@suse.de>
43660 Carlos O'Donell <carlos_odonell@mentor.com>
43661
43662 [BZ #14059]
43663 * sysdeps/x86_64/multiarch/init-arch.h
43664 (bit_YMM_Usable): Rename to...
43665 (bit_AVX_Usable): ... this.
43666 (bit_FMA4_Usable): New macro.
43667 (bit_XMM_state): New macro.
43668 (bit_YMM_state): New macro.
43669 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43670 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43671 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43672 (CPUID_OSXSAVE): New macro.
43673 (CPUID_AVX): New macro.
43674 (CPUID_FMA4): New macro.
43675 (index_YMM_Usable): Rename to...
43676 (index_AVX_Usable): ... this.
43677 (HAS_AVX): Use HAS_ARCH_FEATURE.
43678 (HAS_FMA4): Likewise.
43679 (HAS_YMM_USABLE): Remove.
43680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43681 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43682 are present.
43683 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43684 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43685 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43686 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43687 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43688
0af797de
CM
436892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43690
43691 * math/libm-test.c: Support platforms without multiple rounding modes.
43692 * math/bug-nextafter.c: Support platforms without FP exceptions.
43693 * math/bug-nexttoward.c: Likewise.
43694 * math/test-fenv.c: Likewise.
43695 * math/test-misc.c: Likewise.
43696 * stdlib/bug-getcontext.c: Likewise.
43697
e39745ff
AJ
436982012-05-17 Andreas Jaeger <aj@suse.de>
43699
43700 * manual/examples/search.c (critter_cmp): Change signature to
43701 avoid warnings.
43702 * manual/string.texi (Collation Functions): Likewise.
43703
48970aba
L
437042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43705
43706 * bits/types.h: Fold copyright years.
43707 * bits/typesizes.h: Likewise.
43708 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43710 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43712 * time/time.h: Likewise.
43713
bedee953
PP
437142012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43715
43716 [BZ #208]
43717 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43718 in instead of returning them. Return void.
43719 (__libc_mallinfo): Accumulate over all arenas.
43720 (__malloc_stats): Adjust for change in int_mallinfo interface.
43721
61653dfb
RM
437222012-05-16 Roland McGrath <roland@hack.frob.com>
43723
30b99d79
RM
43724 [BZ #10375]
43725 * configure.in (NM): Add AC_CHECK_TOOL for it.
43726 (libc_extra_cflags): New substituted variable.
43727 Check for -fstack-protector being used implicitly.
43728 * configure: Regenerated.
43729 * config.make.in (config-extra-cflags): New variable,
43730 gets @libc_extra_cflags@.
43731 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43732
61653dfb
RM
43733 [BZ #10375]
43734 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43735 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43736 * configure: Regenerated.
43737 * config.make.in (CPPUNDEFS): New substituted variable.
43738 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43739 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43740 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43741
661768bb
L
437422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43743
43744 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43745 (mq_attr): Use __syscall_slong_t.
43746
d4261567
L
437472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43748
43749 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43750 Check __x86_64__ instead of __WORDSIZE.
43751 (_STAT_VER_LINUX): Likewise.
43752 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43753 __syscall_ulong_t and __syscall_slong_t.
43754 (stat64): Likewise.
43755
cf3ff365
L
437562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43757
43758 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43759
76cf3e4d
L
437602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43761
43762 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43763
a637753a
L
437642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43765
43766 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43767 __syscall_ulong_t.
43768
d5e05119
L
43769 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43770 include <bits/wordsize.h>. Check __x86_64__ instead of
43771 __WORDSIZE.
43772 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43773 defined.
43774 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43775
f62ee380
L
43776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43777 include <bits/wordsize.h>. Check __x86_64__ instead of
43778 __WORDSIZE.
43779 (user_regs_struct): Use "__extension__ unsigned long long"
43780 instead of "unsigned long" if __x86_64__ is defined.
43781 (user): Likewise. Pad after pointer field if __ILP32__ is
43782 defined.
43783
4e124ced
JM
437842012-05-16 Joseph Myers <joseph@codesourcery.com>
43785
6a3951a0
JM
43786 * configure.in (makeinfo): Require version 4.5 or later. Allow
43787 versions 5 to 9.
43788 * configure: Regenerated.
43789 * manual/install.texi (texinfo): Increase version requirement to
43790 4.5 or later.
43791 * INSTALL: Regenerated.
43792
4e124ced
JM
43793 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43794
953ca31a
L
437952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43796
43797 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43798
617aca05
L
43799 * sysdeps/x86_64/x32/ffs.c: New file.
43800
5762f7ae
L
43801 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43802 __syscall_ulong_t.
43803 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43804 defined. Use __syscall_ulong_t.
43805 (shminfo): Use __syscall_ulong_t.
43806 (shm_info): Likewise.
43807
a26b6856
L
43808 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43809 __syscall_ulong_t.
43810
cb2b9ef7
L
43811 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43812 <bits/wordsize.h>.
43813 (msgqnum_t): Use __syscall_ulong_t.
43814 (msglen_t): Likewise.
43815 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43816 __syscall_ulong_t.
43817
34683bb0
L
43818 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43819 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43820
84a68786
L
43821 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43822
48baa5f1
L
43823 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43824 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43825
180be88b
L
43826 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43827 __syscall_slong_t.
43828
5e90c8ad
L
43829 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43830 include <bits/wordsize.h>. Check __x86_64__ instead of
43831 __WORDSIZE.
43832
23dfb58b
L
43833 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43834 "unsigned long long int" if __x86_64__ is defined.
43835 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43836
ce5d54b0
L
43837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43838 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43839 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43840
13dc9eac
L
43841 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43842 <stdint.h>.
43843 (GET_PC): Cast to uintptr_t first.
43844 (GET_FRAME): Likewise.
43845 (GET_STACK): Likewise.
43846
a7895d15
L
43847 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43848 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43849 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43850 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43851 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43852 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43853 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43854 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43855 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43856 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43857 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43862 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43863 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43865 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43866 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43867 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43868 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43869 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43870 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43871 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43872 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43873 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43874 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43875 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43876
656416c9
AS
438772012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43878
5bd66283
AS
43879 * Makerules (+depfiles): Also collect depfiles from .oS in
43880 $(extra-objs).
43881 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43882 .oS, $(libnldbl-routines)).
43883
656416c9
AS
43884 * Makerules (native-compile-mkdep-flags): Define.
43885 * sunrpc/Makefile (extra-objs): Add $(addprefix
43886 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43887 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43888 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43889 calling $(make-target-directory).
43890
a46f2169
L
438912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43892
43893 * bits/types.h (__snseconds_t): Removed.
43894 * time/time.h (struct timespec): Replace __snseconds_t with
43895 __syscall_slong_t.
43896 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43897 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43898 Likewise.
43899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43900 (__SNSECONDS_T_TYPE): Likewise.
43901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43902 (__SNSECONDS_T_TYPE): Likewise.
43903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43904 (__SNSECONDS_T_TYPE): Likewise.
43905
6af6528b
L
439062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43907
43908 * sysdeps/mach/hurd/bits/typesizes.h
43909 (__SYSCALL_SLONG_TYPE): New macro.
43910 (__SYSCALL_ULONG_TYPE): Likewise.
43911
de986b56
L
439122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43913
43914 * bits/types.h (__syscall_slong_t): New type.
43915 (__syscall_ulong_t): Likewise.
43916
43917 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43918 (__SYSCALL_ULONG_TYPE): Likewise.
43919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43920 (__SYSCALL_SLONG_TYPE): Likewise.
43921 (__SYSCALL_ULONG_TYPE): Likewise.
43922 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43923 (__SYSCALL_SLONG_TYPE): Likewise.
43924 (__SYSCALL_ULONG_TYPE): Likewise.
43925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43926 (__SYSCALL_SLONG_TYPE): Likewise.
43927 (__SYSCALL_ULONG_TYPE): Likewise.
43928
85736dc7
L
439292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43930
43931 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43932 Add sigaltstack-offsets.sym.
43933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43934 <sigaltstack-offsets.h>.
43935 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43936 longjmp_msg pointer.
43937 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43938 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43939 signal stack.
43940 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43941
cc03b296
JM
439422012-05-15 Joseph Myers <joseph@codesourcery.com>
43943
a9538892
JM
43944 * elf/stackguard-macros.h: Remove file.
43945 * sysdeps/generic/stackguard-macros.h: New file.
43946 * sysdeps/i386/stackguard-macros.h: Likewise.
43947 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43948 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43949 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43950 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43951 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43952 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43953 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43954 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43955 <elf/stackguard-macros.h>.
43956
cc03b296
JM
43957 [BZ #14109]
43958 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43959 __aligned__ in attribute.
43960 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43961 (gregset_t): Likewise.
43962
93171016
L
439632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43964
43965 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43966 * sysdeps/x86_64/64/Implies-after: Here. New file.
43967 * sysdeps/x86_64/x32/Implies-after: New file.
43968
d86813a0
L
439692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43970
43971 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43972 and access return value for _dl_profile_fixup. Use R10_LP to
43973 load frame size.
43974
2953ec75
L
439752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43976
43977 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43978
3b550e9e
L
439792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43980
43981 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43982 * sysdeps/x86_64/x32/sysdep.h: New file.
43983
eda41706
L
439842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43985
43986 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43987 * sysdeps/x86_64/setjmp.S: Likewise.
43988
9ea01d93
AZ
439892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43990
43991 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43992 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43993 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43994 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43995 remove unused global constant.
43996
02a91938
CM
439972012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43998
43999 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44000 include of <not-cancel.h>.
44001
6540185f
RM
440022012-05-15 Roland McGrath <roland@hack.frob.com>
44003
44004 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44005
509072a0
AJ
440062012-05-15 Jeff Law <law@redhat.com>
44007 Andreas Jaeger <aj@suse.de>
44008
44009 [BZ #13594]
44010 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44011 out from...
44012 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44013 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44014 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44015 code changing __hst_map_handle.map.
44016
ba75122d
RM
440172012-05-15 Roland McGrath <roland@hack.frob.com>
44018
44019 * configure.in (sysnames): Look for Implies-before and Implies-after
44020 files.
44021 * configure: Regenerated.
44022
890d8bd8
L
440232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44024
44025 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44026 8-byte data alignment with LP_SIZE alignment.
44027
f6ee6623
L
440282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44029
44030 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44031 into R10_LP.
44032
ea2626f6
L
440332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44034
44035 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44036
085f715e
L
440372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44038
44039 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44040 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44041 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44042 Likewise.
44043 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44044
be8498fc
L
440452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44046
44047 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44048 (stackinfo_sub_sp): Likewise.
44049
70bc83b9
L
440502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44051
44052 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44053 RAX_LP.
44054
9bc0b730
L
440552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44056
44057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44058 into R*_LP.
44059
6d2850e7
L
440602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44061
44062 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44063 sizes into R*_LP.
44064
3cb84561
L
440652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44066
44067 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44068
54e2ed81
L
440692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44070
44071 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44072 into R11_LP and load __x86_64_shared_cache_size_half into
44073 R8_LP.
44074
8a17f349
L
440752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44076
44077 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44078 R8_LP.
44079
777b1eea
AZ
440802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44081
44082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44083 logb for POWER7.
44084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44085 logbf for POWER7.
44086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44087 logbl for POWER7.
44088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44089 powerpc32/power7/fpu/s_logb.c via #include.
44090 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44091 powerpc32/power7/fpu/s_logbf.c via #include.
44092 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44093 powerpc32/power7/fpu/s_logbl.c via #include.
44094
d20d4ac2
JM
440952012-05-15 Joseph Myers <joseph@codesourcery.com>
44096
44097 * README.libm: Remove file.
44098
6cdef1ab
L
440992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44100
44101 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44102 count for x32. Use R*_LP and omit operand-size suffix.
44103
0b254d8f
L
441042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44105
44106 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44107 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44108 * sysdeps/x86_64/x32/shlib-versions: New file.
44109
ceb809dc
RM
441102012-05-14 Roland McGrath <roland@hack.frob.com>
44111
44112 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44113 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44114 Use _dl_fatal_printf instead.
44115
37f1abd4
JM
441162012-05-14 Joseph Myers <joseph@codesourcery.com>
44117
44118 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44119 set if not set by the user. Do not allow for being unset.
44120 * sysdeps/unix/sysv/linux/configure: Regenerated.
44121
11de3a33
L
441222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44123
44124 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44125 the `q' suffix from lea and replace .quad with ASM_ADDR.
44126
e02f153a
L
441272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44128
44129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44130 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44131 instead of $17.
44132 (PTR_DEMANGLE): Likewise.
44133
520ae0fd
L
441342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44135
44136 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44137 (LP_OP): Likewise.
44138 (ASM_ADDR): Likewise.
44139 (RAX_LP): Likewise.
44140 (RBP_LP): Likewise.
44141 (RBX_LP): Likewise.
44142 (RCX_LP): Likewise.
44143 (RDI_LP): Likewise.
44144 (RSI_LP): Likewise.
44145 (RSP_LP): Likewise.
44146 (R8_LP): Likewise.
44147 (R9_LP): Likewise.
44148 (R10_LP): Likewise.
44149 (R10_LP): Likewise.
44150 (R11_LP): Likewise.
44151 (R12_LP): Likewise.
44152 (R13_LP): Likewise.
44153 (R14_LP): Likewise.
44154 (R15_LP): Likewise.
44155
b985be81
L
441562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44157
44158 * sysdeps/x86_64/x32/dl-machine.h: New file.
44159
6a4888ff
AJ
441602012-05-14 Andreas Jaeger <aj@suse.de>
44161
44162 * manual/Makefile (subdir): Remove export of subdir.
44163 (all): Remove target.
44164 (.PHONY): Remove all from list.
44165 (mkinstalldirs): Remove.
44166 (.PHONY): Remove installdirs from list.
44167 ($(inst_infodir)/libc.info): Use make-target-directory.
44168 (installdirs): Remove.
44169 (subdir_%): Remove.
44170 (glibc-targets): Remove.
44171 (lib): Remove.
44172 (stubs): Remove.
44173 ($(objpfx)stubs ../po/manual.pot): Remove.
44174 ($(objpfx)stamp%): Remove.
44175 (make-target-directory): Remove.
44176 (subdir_install): Remove.
44177 (routines): Remove.
44178 (aux): Remove.
44179 (sources): Remove.
44180 (objects): Remove.
44181 (headers): Remove.
44182
44183 [BZ #13750]
44184 * manual/.gitignore: Remove, it's not needed anymore.
44185 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44186 all files in it.
44187 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44188 directory.
44189 (texis): Renamed to $(objpfx)texis.
44190 (texis-path): New, contains path to generated files.
44191 (chapters.%): Use texis-path for complete path, add extra argument
44192 libc-texinfo.sh.
44193 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44194 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44195 (summary,texi, stamp-summary): Use complete path of
44196 files. Generate files in build dir.
44197 (dir-add.texi): Build in build dir.
44198 (libm-err.texi,stamp-libm-err): Likewise.
44199 (version.texi, stamp-version): Likewise.
44200 (.%c.texi): Likewise.
44201 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44202 (mostlyclean): Remove target.
44203 (realclean): Remove target.
44204 (generated): Add new variable with contents from mostlyclean and
44205 realclean, remove entries duplicated in common-mostlyclean, add
44206 stamp-libm-err and stamp-version.
44207 (generated-dirs): Add libc directory.
44208 ($(inst_infodir)/libc.info): Install files from build dir.
44209
44210 * manual/install.texi (Configuring and compiling): Adjust since
44211 the info files are not part of the tar ball anymore.
44212
7ac77294
AJ
442132012-05-14 Andreas Jaeger <aj@suse.de>
44214
44215 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44216 variable.
44217
ffb7875d
JM
442182012-05-14 Joseph Myers <joseph@codesourcery.com>
44219
44220 [BZ #13717]
44221 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44222 to 2.2.0 where earlier.
44223 * sysdeps/unix/sysv/linux/configure: Regenerated.
44224 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44225 Remove conditional code.
44226 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44227 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44228 Remove conditional code.
44229 [!__NR_lchown]: Likewise.
44230 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44231 [__NR_lchown]: Likewise.
44232 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44233 comment referencing __ASSUME_LCHOWN_SYSCALL.
44234 * sysdeps/unix/sysv/linux/i386/sigaction.c
44235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44237 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44238 Remove conditional code.
44239 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44240 (__protocol_available): Remove #if 0 code.
44241 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44242 conditional code.
44243 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44244 * sysdeps/unix/sysv/linux/kernel-features.h
44245 (__ASSUME_GETCWD_SYSCALL): Don't define.
44246 (__ASSUME_REALTIME_SIGNALS): Likewise.
44247 (__ASSUME_PREAD_SYSCALL): Likewise.
44248 (__ASSUME_PWRITE_SYSCALL): Likewise.
44249 (__ASSUME_POLL_SYSCALL): Likewise.
44250 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44251 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44252 non-SPARC.
44253 (__ASSUME_SIOCGIFNAME): Don't define.
44254 (__ASSUME_MSG_NOSIGNAL): Likewise.
44255 (__ASSUME_SENDFILE): Define unconditionally.
44256 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44257 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44258 conditional code.
44259 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44260 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44261 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44262 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44263 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44264 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44265 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44279 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44285 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44290 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44291 Remove conditional code.
44292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44293 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44294 Remove conditional code.
44295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44296 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44297 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44298 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44299 Remove conditional code.
44300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44301 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44302 Remove conditional code.
44303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44304 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44305 Remove conditional code.
44306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44307 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44308 Remove conditional code.
44309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44310 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44311 Remove conditional code.
44312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44313 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44316 * sysdeps/unix/sysv/linux/sigaction.c
44317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44319 * sysdeps/unix/sysv/linux/sigpending.c
44320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44322 * sysdeps/unix/sysv/linux/sigprocmask.c
44323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44325 * sysdeps/unix/sysv/linux/sigsuspend.c
44326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44328 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44329 (__libc_missing_rt_sigs): Remove.
44330 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44331 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44332 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44333 Remove conditional code.
44334 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44335 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44336 return 1.
44337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44338 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44339 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44340 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44341
1bfb7291
AJ
443422012-05-14 Andreas Jaeger <aj@suse.de>
44343
caae5a81
AJ
44344 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44345 it's not used in glibc.
44346 (__coshm1): Likewise.
44347 (__acosh1p): Likewise.
44348 (__sgn): Likewise.
44349
1bfb7291
AJ
44350 * manual/string.texi (Copying and Concatenation): Add missing
44351 variable in concat example.
44352 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44353
c044d724
L
443542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44355
144c5467 44356 [BZ #14103]
c044d724
L
44357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44358 __builtin_clzl with __builtin_clzll.
44359
2523c62b
L
443602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44361
44362 [BZ #14104]
44363 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44364 libc_freeres_ptr.
44365
d7bb4c42
LD
443662012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44367
44368 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44369 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44370 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44371 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44372
9dc4e1fb
MF
443732012-05-14 Mike Frysinger <vapier@gentoo.org>
44374
44375 * NEWS: Update ia64 info.
44376
c7df0112
AS
443772012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44378
44379 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44380 used as bcopy.
44381
dc70356c
TS
443822012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44383
44384 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44385 * sysdeps/unix/syscalls.list (dup3): Likewise.
44386 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44387 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44388
9fb1a21f
L
443892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44390
44391 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44392 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44393
4822a2a5
L
443942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44395
44396 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44397 thread pointer.
44398 (TLS_IE): Use mov/add instead of movq/addq to load thread
44399 pointer.
44400 (TLS_GD_PREFIX): New.
44401 (TLS_GD): Use it.
44402
842b81d6
DM
444032012-05-11 David S. Miller <davem@davemloft.net>
44404
44405 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44406 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44407 (_FPU_SETCW): Likewise.
44408
1cf463cd
L
444092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44410
44411 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44412 is 32-byte aligned.
44413
60cc4a18
AS
444142012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44415
44416 [BZ #11837]
44417 * iconvdata/gb18030.c: Update tables.
44418 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44419 characters specially.
44420 (BODY for TO_LOOP): Add encoding of missing ranges.
44421
febb44a4
TS
444222012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44423
44424 [BZ #13673]
44425 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44426 * sysdeps/mach/hurd/dup3.c: Likewise.
44427 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44428 * sysdeps/powerpc/memmove.c:: Likewise.
44429
0a10fb9e
L
444302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44431
44432 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44433 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44434
df8a552f
L
444352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44436
44437 * elf/elf.h (R_X86_64_RELATIVE64): New.
44438 (R_X86_64_NUM): Updated.
44439 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44440 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44441 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44442 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44443 tst-quad1pie tst-quad2pie
44444 (modules-names): Add tst-quadmod1 tst-quadmod2.
44445 ($(objpfx)tst-quad1): New dependency.
44446 ($(objpfx)tst-quad2): Likewise.
44447 ($(objpfx)tst-quad1pie): Likewise.
44448 ($(objpfx)tst-quad2pie): Likewise.
44449 * sysdeps/x86_64/tst-quad1.c: New file.
44450 * sysdeps/x86_64/tst-quad1pie.c: New file.
44451 * sysdeps/x86_64/tst-quad2.c: Likewise.
44452 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44453 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44454 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44455 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44456 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44457
f34d6f84
ST
444582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44459
f42d41d1
ST
44460 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44461 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44462 * streams/stropts.h (t_scalar_t): Define type.
44463
3c3571fc
ST
44464 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44465 (_PATH_PRESERVE): Set to "/var/lib".
44466 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44467
61f06bd3
ST
44468 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44469 instead of int.
44470
918d4d71
ST
44471 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44472 if __dir_mkfile succeeded.
44473
f34d6f84
ST
44474 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44475 checking for _hurd_dtablesize. Unlock it right after having
44476 finished _hurd_dtable allocation.
44477
10589b4a
TS
444782012-05-10 Thomas Schwinge <thomas@schwinge.name>
44479
674cdbc7
TS
44480 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44481 * sysdeps/mach/hurd/configure: Regenerated.
44482 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44483 special-casing to...
44484 * sysdeps/gnu/configure.in: ... this new file.
44485 * sysdeps/unix/sysv/linux/configure: Regenerated.
44486 * sysdeps/gnu/configure: New generated file.
44487
8e41b99f
TS
44488 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44489 for Linux: use nsec instead of usec, as well as:
44490 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44491 members of type struct timespec.
44492 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44493 New macros.
44494 (struct stat64): Likewise.
44495 (_STATBUF_ST_NSEC): New macro.
44496 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44497
10589b4a
TS
44498 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44499 __strtoul_internal rather than strtoul.
44500
63643c85
PT
445012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44502
44503 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44504 and reject them.
44505
3faebe6a
ST
445062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44507
44508 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44509 which preserves existing values.
44510 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44511
c6474b07
PT
445122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44513
44514 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44515 TIMEOUT values. Return EINVAL for NFDS values either negative or
44516 greater than FD_SETSIZE.
44517
1043890b
ST
445182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44519
44520 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44521 allocated, call __vm_protect to finish enabling the existing space, and
44522 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44523 allocate the remainder.
44524
37ed8b9b
PT
445252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44526
44527 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44528 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44529
db653660
ST
445302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44531
37ed8b9b
PT
44532 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44533 sysdeps/mach/hurd/readlink.c.
b29d4053 44534
db653660
ST
44535 * posix/tst-sysconf.c (posix_options): Only use
44536 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44537 _POSIX_SYNCHRONIZED_IO when they are defined
44538 * sysdeps/mach/hurd/bits/posix_opt.h:
44539 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44540 (_XOPEN_REALTIME): Undefine macro.
44541 (_XOPEN_REALTIME_THREADS): Undefine macro.
44542 (_XOPEN_SHM): Undefine macro.
44543 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44544 macro to -1.
44545 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44546 macro to -1.
44547 (_POSIX_ASYNC_IO): Undefine macro.
44548 (_POSIX_PRIORITIZED_IO): Undefine macro.
44549 (_POSIX_SPIN_LOCKS): Define macro to -1.
44550
ee16e894
ST
44551 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44552 SA_NODEFER, SA_RESETHAND.
44553 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44554 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44555 F_DUPFD_CLOEXEC.
44556
6103ae3b
TS
445572012-05-10 Thomas Schwinge <thomas@schwinge.name>
44558
44559 * elf/Makefile (pldd-modules): Define unconditionally.
44560
80b4e5f3
TS
445612012-05-10 Thomas Schwinge <thomas@schwinge.name>
44562
44563 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44564
edadcbd6
ST
445652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44566
44567 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44568 Return ENOENT when name is empty.
44569 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44570
80694780
TS
445712012-05-10 Thomas Schwinge <thomas@schwinge.name>
44572
1792c087
TS
44573 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44574
80694780
TS
44575 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44576
6b645f0d
ST
445772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44578
80694780
TS
44579 Fix mlock in all cases except non-readable pages.
44580 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44581 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44582
6b645f0d
ST
44583 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44584 (__mkdir): When path is `/', just fail with EEXIST.
44585 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44586
e468f8a3
TS
445872012-05-10 Thomas Schwinge <thomas@schwinge.name>
44588
44589 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44590 <sys/uio.h> (for writev).
44591 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44592 and <sys/param.h> (for MIN).
44593
a4186cff
PT
445942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44595
44596 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44597 REQUESTED_TIME. Properly set the remaining time and return EINTR
44598 if interrupted.
44599
510bbf14
TS
446002012-05-10 Thomas Schwinge <thomas@schwinge.name>
44601
44602 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44603 Depend on against $(link-rpcuserlibs).
44604
5d5722e8
ST
446052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44606
a4186cff
PT
44607 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44608 (__libc_stack_end): Do not use attribute_relro.
44609 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44610 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44611 to libthread-provided value.
a4186cff
PT
44612 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44613 attribute_relro.
5d5722e8 44614
37233df9
TS
446152012-05-10 Thomas Schwinge <thomas@schwinge.name>
44616
be971a2b
TS
44617 [BZ #3748]
44618 * bits/libc-lock.h (__libc_once_get): New macro.
44619 * sysdeps/mach/bits/libc-lock.h: Likewise.
44620 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44621 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44622 instead of using implementation details.
44623
37233df9
TS
44624 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44625 * libio/freopen.c: Likewise.
44626 * libio/freopen64.c: Likewise.
44627 * misc/syslog.c: Likewise.
44628 * nscd/connections.c: Likewise.
44629 * nscd/netgroupcache.c: Likewise.
44630 * sysdeps/posix/getcwd.c: Likewise.
44631
38de94a5
RM
446322012-05-10 Roland McGrath <roland@hack.frob.com>
44633
44634 * math/w_ilogbf.c: Add #include <limits.h>.
44635
67530489
ST
446362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44637
a4186cff 44638 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44639 path instead of returning without unlocking.
44640
67530489
ST
44641 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44642 immediate-write ioctls.
44643 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44644
5aa3a74a
TS
446452012-05-10 Thomas Schwinge <thomas@schwinge.name>
44646
18bad2ae
TS
44647 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44648 __builtin_frame_address instead of making assumptions about the
44649 location of the return address relative to DATA. Force early load of
44650 the return address.
44651 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44652 __builtin_frame_address.
44653
5aa3a74a
TS
44654 dup3 for GNU Hurd.
44655 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44656 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44657 implement dup3 and do some further code clean-ups.
44658 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44659 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44660
ecd0de9a
ST
446612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44662
cd9fa985
ST
44663 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44664
a4186cff
PT
44665 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44666 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44667 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44668 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44669 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44670 d->port.lock.
802ca5a5 44671
a4186cff
PT
44672 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44673 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44674 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44675
bcf55240
TS
446762012-05-10 Thomas Schwinge <thomas@schwinge.name>
44677
6960eb42
TS
44678 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44679 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44680 definitions.
44681
eb43375f
TS
44682 accept4 for GNU Hurd.
44683 * include/sys/socket.h (__libc_accept4): New prototype.
44684 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44685 to implement __libc_accept4.
44686 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44687 __libc_accept4.
44688 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44689
bcf55240
TS
44690 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44691 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44692 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44693 signal-defines.sym.
44694
6178c55b
ST
446952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44696
a4186cff 44697 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44698
6f080c2f
TS
446992012-05-10 Thomas Schwinge <thomas@schwinge.name>
44700
44701 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44702 assertion on O_CLOEXEC flag.
44703 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44704 * hurd/intern-fd.c: Likewise.
44705 * hurd/port2fd.c: Likewise.
44706
bcfe3a54
ST
447072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44708
44709 [BZ #3906]
44710 * bits/in.h (IPV6_PKTINFO): Define new macro.
44711 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44712
89c9aa49
AZ
447132012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44714
44715 [BZ #13954]
44716 [BZ #13955]
44717 [BZ #13956]
44718 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44720 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44721 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44723 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44724 * math/libm-test.inc (logb_test) : Additional logb tests.
44725
021db4be
AJ
447262012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44727 Andreas Jaeger <aj@suse.de>
44728
44729 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44730 * configure: Regenerated.
44731 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44732 * config.make.in (link-obsolete-rpc): New substituted variable.
44733 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44734 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44735 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44736 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44737 so that libc.a contains the symbols.
44738 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44739 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44740 * sunrpc/auth_none.c: Likewise.
44741 * sunrpc/auth_unix.c: Likewise.
44742 * sunrpc/authdes_prot.c: Likewise.
44743 * sunrpc/authuxprot.c: Likewise.
44744 * sunrpc/clnt_gen.c: Likewise.
44745 * sunrpc/clnt_perr.c: Likewise.
44746 * sunrpc/clnt_raw.c: Likewise.
44747 * sunrpc/clnt_simp.c: Likewise.
44748 * sunrpc/clnt_tcp.c: Likewise.
44749 * sunrpc/clnt_udp.c: Likewise.
44750 * sunrpc/clnt_unix.c: Likewise.
44751 * sunrpc/des_crypt.c: Likewise.
44752 * sunrpc/des_soft.c: Likewise.
44753 * sunrpc/get_myaddr.c: Likewise.
44754 * sunrpc/key_call.c: Likewise.
44755 * sunrpc/key_prot.c: Likewise.
44756 * sunrpc/netname.c: Likewise.
44757 * sunrpc/pm_getmaps.c: Likewise.
44758 * sunrpc/pm_getport.c: Likewise.
44759 * sunrpc/pmap_clnt.c: Likewise.
44760 * sunrpc/pmap_prot.c: Likewise.
44761 * sunrpc/pmap_prot2.c: Likewise.
44762 * sunrpc/pmap_rmt.c: Likewise.
44763 * sunrpc/publickey.c: Likewise.
44764 * sunrpc/rpc_cmsg.c: Likewise.
44765 * sunrpc/rpc_common.c: Likewise.
44766 * sunrpc/rpc_dtable.c: Likewise.
44767 * sunrpc/rpc_prot.c: Likewise.
44768 * sunrpc/rpc_thread.c: Likewise.
44769 * sunrpc/rtime.c: Likewise.
44770 * sunrpc/svc.c: Likewise.
44771 * sunrpc/svc_auth.c: Likewise.
44772 * sunrpc/svc_raw.c: Likewise.
44773 * sunrpc/svc_run.c: Likewise.
44774 * sunrpc/svc_tcp.c: Likewise.
44775 * sunrpc/svc_udp.c: Likewise.
44776 * sunrpc/svc_unix.c: Likewise.
44777 * sunrpc/svcauth_des.c: Likewise.
44778 * sunrpc/xcrypt.c: Likewise.
44779 * sunrpc/xdr.c: Likewise.
44780 * sunrpc/xdr_array.c: Likewise.
44781 * sunrpc/xdr_float.c: Likewise.
44782 * sunrpc/xdr_intXX_t.c: Likewise.
44783 * sunrpc/xdr_mem.c: Likewise.
44784 * sunrpc/xdr_rec.c: Likewise.
44785 * sunrpc/xdr_ref.c: Likewise.
44786 * sunrpc/xdr_sizeof.c: Likewise.
44787 * sunrpc/xdr_stdio.c: Likewise.
44788
b5c086a2
RM
447892012-05-10 Roland McGrath <roland@hack.frob.com>
44790
44791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44792 change. Update copyright years.
44793
6d74dd09
JM
447942012-05-10 Joseph Myers <joseph@codesourcery.com>
44795
44796 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44797
28e72501
MK
447982012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44799 Joseph Myers <joseph@codesourcery.com>
44800 Paul Pluzhnikov <ppluzhnikov@google.com>
44801
44802 [BZ #14012]
44803 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44804 requiring rpcgen.
44805 [cross-compiling] (extra-libs): Likewise.
44806 [cross-compiling] (extra-libs-others): Likewise.
44807 [cross-compiling] (librpcsvc-routines): Likewise.
44808 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44809 [cross-compiling] (omit-deps): Likewise.
44810 (sunrpc-CPPFLAGS): New variable.
44811 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44812 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44813 (cross-rpcgen-objs): New variable.
44814 (extra-objs): Append $(cross-rpcgen-objs).
44815 ($(cross-rpcgen-objs)): New rule.
44816 ($(objpfx)cross-rpcgen): Likewise.
44817 (rpcgen-cmd): Define to use $(built-program-file). Expand
44818 comment.
44819 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44820 ($(objpfx)x%.stmp): Likewise.
44821 * sunrpc/proto.h [IS_IN_build] (_): Define.
44822 [IS_IN_build] (_libc_intl_domainname): Likewise.
44823
c8c59454
L
448242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44825
44826 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44827 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44828 and R_X86_64_TPOFF64.
44829
6f27cd16
JM
448302012-05-10 Joseph Myers <joseph@codesourcery.com>
44831
44832 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44833 sysdeps/unix/sysv/syscalls.list.
44834 (stime): Likewise.
44835 (utime): Likewise.
44836 * sysdeps/unix/sysv/syscalls.list: Remove file.
44837
02467e1c
PE
448382012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44839
44840 [BZ #3440]
44841 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44842 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44843 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44844 (__LC_IDENTIFICATION): Make these macros useful in #if
44845 expressions, as required by C99.
44846
da392631
AS
448472012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44848
44849 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44850 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44851 after this.
44852
8115f29b
L
448532012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44854
44855 * stdlib/longlong.h: Updated from GCC.
44856
bdd74070
AJ
448572012-05-09 Andreas Jaeger <aj@suse.de>
44858
edfe0dbe
AJ
44859 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44860 default is first entry.
44861 (run_mode): Set type.
44862 (main): Remove informal message about syslog.
44863 (options): Fix typo.
44864
bcfe3a54
ST
44865 [BZ #14053]
44866 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44867 to asm.
bcfe3a54
ST
44868 (lrint): Likewise.
44869 (llrintf): Likewise.
44870 (llrint): Likewise.
44871 (rint): Likewise.
44872 (rintf): Likewise.
44873 (nearbyint): Likewise.
44874 (nearbyintf): Likewise.
bdd74070 44875
91d8d69e
AJ
448762012-05-09 Andreas Jaeger <aj@suse.de>
44877 Pedro Alves <palves@redhat.com>
44878
44879 * nscd/nscd.c (run_mode): Use enum.
44880 (main): Cleanup coding style issue.
44881
bb90b80b
AJ
448822012-05-09 Alexandre Oliva <aoliva@redhat.com>
44883 Andreas Jaeger <aj@suse.de>
44884
bcfe3a54
ST
44885 * nscd/nscd.c (go_background): Replaced with...
44886 (run_mode): ... this.
bb90b80b 44887 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44888 (options): Add -F --foreground.
44889 (main): Implement it.
44890 (parse_opt): Parse it.
bb90b80b 44891
1a4b75a1
AJ
448922012-05-09 Andreas Jaeger <aj@suse.de>
44893
44894 [BZ #14083]
44895 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44896 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44897 -Wconversion warning.
44898 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44899 Likewise.
44900
b1cc2472
JM
449012012-05-09 Joseph Myers <joseph@codesourcery.com>
44902
44903 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44904 == 0.
44905 (LC_ALL): Use macro-int-constant.
44906 (LC_COLLATE): Likewise.
44907 (LC_CTYPE): Likewise.
44908 (LC_MESSAGES): Likewise.
44909 (LC_MONETARY): Likewise.
44910 (LC_NUMERIC): Likewise.
44911 (LC_TIME): Likewise.
44912 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44913 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44915 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44916 Specify type.
44917 [C99-based standards] (float_t): Expect type.
44918 [C99-based standards] (double_t): Expect type.
44919 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44920 type.
44921 [C99-based standards] (HUGE_VALL): Likewise.
44922 [C99-based standards] (INFINITY): Likewise.
44923 [C99-based standards] (NAN): Likewise.
44924 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44925 [C99-based standards] (FP_NAN): Likewise.
44926 [C99-based standards] (FP_NORMAL): Likewise.
44927 [C99-based standards] (FP_SUBNORMAL): Likewise.
44928 [C99-based standards] (FP_ZERO): Likewise.
44929 [C99-based standards] (FP_FAST_FMA): Use
44930 optional-macro-int-constant. Specify type. Require == 1.
44931 [C99-based standards] (FP_FAST_FMAF): Likewise.
44932 [C99-based standards] (FP_FAST_FMAL): Likewise.
44933 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44934 [C99-based standards] (FP_ILOGBNAN): Likewise.
44935 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44936 Specify type.
44937 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44938 [C99-based standards] (math_errhandling): Specify type.
44939 [ISO99 || ISO11] (signgam): Do not allow.
44940 [non-C99-based standards] (copysignf): Do not allow.
44941 [non-C99-based standards] (exp2f): Likewise.
44942 [non-C99-based standards] (log2f): Likewise.
44943 [non-C99-based standards] (modff): Allow.
44944 [non-C99-based standards] (erff): Do not allow.
44945 [non-C99-based standards] (erfcf): Likewise.
44946 [non-C99-based standards] (gammaf): Likewise.
44947 [non-C99-based standards] (hypotf): Likewise.
44948 [non-C99-based standards] (j0f): Likewise.
44949 [non-C99-based standards] (j1f): Likewise.
44950 [non-C99-based standards] (jnf): Likewise.
44951 [non-C99-based standards] (lgammaf): Likewise.
44952 [non-C99-based standards] (tgammaf): Likewise.
44953 [non-C99-based standards] (y0f): Likewise.
44954 [non-C99-based standards] (y1f): Likewise.
44955 [non-C99-based standards] (ynf): Likewise.
44956 [non-C99-based standards] (isnanf): Likewise.
44957 [non-C99-based standards] (acoshf): Likewise.
44958 [non-C99-based standards] (asinhf): Likewise.
44959 [non-C99-based standards] (atanhf): Likewise.
44960 [non-C99-based standards] (cbrtf): Likewise.
44961 [non-C99-based standards] (expm1f): Likewise.
44962 [non-C99-based standards] (ilogbf): Likewise.
44963 [non-C99-based standards] (log1pf): Likewise.
44964 [non-C99-based standards] (logbf): Likewise.
44965 [non-C99-based standards] (nextafterf): Likewise.
44966 [non-C99-based standards] (remainderf): Likewise.
44967 [non-C99-based standards] (rintf): Likewise.
44968 [non-C99-based standards] (scalbf): Likewise.
44969 [non-C99-based standards] (copysignl): Likewise.
44970 [non-C99-based standards] (exp2l): Likewise.
44971 [non-C99-based standards] (log2l): Likewise.
44972 [non-C99-based standards] (modfl): Allow.
44973 [non-C99-based standards] (erfl): Do not allow.
44974 [non-C99-based standards] (erfcl): Likewise.
44975 [non-C99-based standards] (gammal): Likewise.
44976 [non-C99-based standards] (hypotl): Likewise.
44977 [non-C99-based standards] (j0l): Likewise.
44978 [non-C99-based standards] (j1l): Likewise.
44979 [non-C99-based standards] (jnl): Likewise.
44980 [non-C99-based standards] (lgammal): Likewise.
44981 [non-C99-based standards] (tgammal): Likewise.
44982 [non-C99-based standards] (y0l): Likewise.
44983 [non-C99-based standards] (y1l): Likewise.
44984 [non-C99-based standards] (ynl): Likewise.
44985 [non-C99-based standards] (isnanl): Likewise.
44986 [non-C99-based standards] (acoshl): Likewise.
44987 [non-C99-based standards] (asinhl): Likewise.
44988 [non-C99-based standards] (atanhl): Likewise.
44989 [non-C99-based standards] (cbrtl): Likewise.
44990 [non-C99-based standards] (expm1l): Likewise.
44991 [non-C99-based standards] (ilogbl): Likewise.
44992 [non-C99-based standards] (log1pl): Likewise.
44993 [non-C99-based standards] (logbl): Likewise.
44994 [non-C99-based standards] (nextafterl): Likewise.
44995 [non-C99-based standards] (remainderl): Likewise.
44996 [non-C99-based standards] (rintl): Likewise.
44997 [non-C99-based standards] (scalbl): Likewise.
44998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44999 [non-C99-based standards] (FP_*): Do not allow.
45000 [C99-based standards] (FP_*): Change to
45001 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45002 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45003 allow.
45004 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45005 (SIG_ERR): Likewise.
45006 [X/Open-based standards] (SIG_HOLD): Likewise.
45007 (SIG_IGN): Likewise.
45008 (SIGABRT): Use macro-int-constant. Specify type. Require
45009 positive value.
45010 (SIGFPE): Likewise.
45011 (SIGILL): Likewise.
45012 (SIGINT): Likewise.
45013 (SIGSEGV): Likewise.
45014 (SIGTER): Likewise.
45015 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45016 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45017 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45018 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45019 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45020 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45021 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45022 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45023 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45024 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45025 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45026 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45027 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45028 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45029 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45030 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45031 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45032 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45033 [X/Open-based standards] (SIGTRAP): Likewise.
45034 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45035 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45036 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45037 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45038 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45039 allow.
45040
b9f1922d
IW
450412012-05-08 Ian Wienand <ianw@vmware.com>
45042
45043 [BZ #14080]
45044 * time/tzset.c (__tzset_parse_tz): Update default rules for
45045 daylight time changes in the Energy Policy Act of 2005.
45046
1db86e88
AJ
450472012-05-09 Andreas Jaeger <aj@suse.de>
45048
45049 [BZ #13983]
45050 * elf/ldconfig.c (parse_conf): Change string to make clear that
45051 ldconfig only issued a warning if ld.so.conf does not exist.
45052
dee4a4e3
DM
450532012-05-08 David S. Miller <davem@davemloft.net>
45054
ee0db190
DM
45055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45056 movxtod instead of popping the value on the stack.
45057
dee4a4e3
DM
45058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45059
6a43ec98
CD
450602012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45061
45062 * config.h.in: Add HAVE_ARM_PCS_VFP.
45063
05c2c961
RMG
450642012-05-08 Roland Mc Grath <roland@hack.frob.com>
45065
bcfe3a54
ST
45066 [BZ #13979]
45067 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45068 checking but the checks are disabled for any reason.
05c2c961 45069
4b30f61a
L
450702012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45071
45072 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45073 and ELF64_R_TYPE with ELFW(R_TYPE).
45074
eee2bc67
JM
450752012-05-08 Joseph Myers <joseph@codesourcery.com>
45076
7ea5391a
JM
45077 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45078 (ulimit): Likewise.
45079
eee2bc67
JM
45080 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45081 (settimeofday): Likewise.
45082
abb66a67
MF
450832012-05-08 Mike Frysinger <vapier@gentoo.org>
45084
45085 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45086 a struct th_u2 inside the union, and move tu_block/tu_code into
45087 a new th_u3 union of tu_block/tu_code inside of that. Move
45088 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45089 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45090 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45091 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45092 (th_stuff): Change to th_u1.tu_stuff.
45093 (th_data): Define.
45094 (th_msg): Change to th_u1.th_u2.tu_data.
45095
7f18b530
DM
450962012-05-07 David S. Miller <davem@davemloft.net>
45097
05760585
DM
45098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45099
7f18b530
DM
45100 [BZ #14074]
45101 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45102 (SETUP_PIC_REG): Use it.
45103 (SETUP_PIC_REG_LEAF): Use it.
45104
495fd99f
JM
451052012-05-07 Joseph Myers <joseph@codesourcery.com>
45106
45107 [BZ #13885]
45108 [BZ #13923]
45109 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45110 USE_AS_EXPM1L.
45111 (EXPL_FINITE): Likewise.
45112 (FLDLOG): Likewise.
45113 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45114 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45115 e_expl.S.
45116 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45117 USE_AS_EXPM1L.
45118 (EXPL_FINITE): Likewise.
45119 (FLDLOG): Likewise.
45120 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45121 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45122 e_expl.S.
45123 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45124 test of -max_value argument for long double.
45125 * sysdeps/i386/fpu/libm-test-ulps: Update.
45126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45127
6693d694
DM
451282012-05-06 David S. Miller <davem@davemloft.net>
45129
45130 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45131 quad soft-float symbols whose references which are compiler
45132 generated.
45133 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45134
6c23e11c
JM
451352012-05-06 Joseph Myers <joseph@codesourcery.com>
45136
d8b82cad
JM
45137 [BZ #13884]
45138 [BZ #13914]
45139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45140 USE_AS_EXP10L.
45141 (EXPL_FINITE): Likewise.
45142 (FLDLOG): Likewise.
45143 (c0): Likewise.
45144 (c1): Likewise.
45145 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45146 Adjust comments for base varying.
45147 (__expl_finite): Change alias to EXPL_FINITE.
45148 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45149 e_expl.S.
45150 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45151 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45152 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45153 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45154 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45155 USE_AS_EXP10L.
45156 (EXPL_FINITE): Likewise.
45157 (FLDLOG): Likewise.
45158 (c0): Likewise.
45159 (c1): Likewise.
45160 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45161 Adjust comments for base varying.
45162 (__expl_finite): Change alias to EXPL_FINITE.
45163 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45164 tests for bugs.
45165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45166
6c23e11c
JM
45167 [BZ #14064]
45168 * math/libm-test.inc (check_float_internal): Correct ulp
45169 calculation for subnormal expected results.
45170
29ba805c
AJ
451712012-05-06 Andreas Jaeger <aj@suse.de>
45172
45173 * Makeconfig (+math-flags): New, set to -frounding-math.
45174 (+cflags): Add +math-flags so that all of glibc gets compiled with
45175 it.
45176
45177 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45178
7b17aeda
JM
451792012-05-05 Joseph Myers <joseph@codesourcery.com>
45180
5779f134
JM
45181 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45182 Disable one test.
45183
41498f4d
JM
45184 [BZ #13787]
45185 [BZ #13922]
45186 [BZ #14036]
45187 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45188 (__ieee754_expl): Allow for and saturate large arguments.
45189 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45190 (u_threshold): Likewise.
45191 (__exp): Call __ieee754_exp before checking for overflow and
45192 underflow.
45193 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45194 (u_threshold): Likewise.
45195 (__expf): Call __ieee754_expf before checking for overflow and
45196 underflow.
45197 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45198 (u_threshold): Likewise.
45199 (__expl): Call __ieee754_expl before checking for overflow and
45200 underflow.
45201 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45202 (__ieee754_expl): Allow for and saturate large arguments.
45203 * math/libm-test.inc (exp_test): Add another test. Do not allow
45204 missing overflow exception on overflow.
45205 (expm1_test): Do not allow missing overflow exception on overflow.
45206
6698b8bf
JM
45207 * sysdeps/i386/fpu/e_expl.c: Move to ...
45208 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45209 rather than using inline asm.
45210 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45211 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45212 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45213
7b17aeda
JM
45214 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45215 (nice): Likewise.
45216 (poll): Likewise.
45217 (signal): Likewise.
45218 (time): Likewise.
45219 (times): Likewise.
45220
f7c85819
JM
452212012-05-04 Joseph Myers <joseph@codesourcery.com>
45222
45223 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45224 sysdeps/unix/common/syscalls.list.
45225 (fchmod): Likewise.
45226 (fchown): Likewise.
45227 (ftruncate): Likewise.
45228 (getrusage): Likewise.
45229 (gettimeofday): Likewise.
45230 (setpgid): Likewise.
45231 (setregid): Likewise.
45232 (setreuid): Likewise.
45233 (sigaction): Likewise.
45234 (truncate): Likewise.
45235 (vhangup): Likewise.
45236 * sysdeps/unix/common/syscalls.list: Remove file.
45237 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45238 * sysdeps/unix/sysv/linux/Implies: Likewise.
45239
336270d0
L
452402012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45241
45242 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45244 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45245 Moved to ...
45246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45247 Here.
45248 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45249 to ...
45250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45251 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45252 to ...
45253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45254 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45255 to ...
45256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45257 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45258 to ...
45259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45260 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45261 to ...
45262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45263 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45264 to ...
45265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45266 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45267 to ...
45268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45269 Here.
45270 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45271 to ...
45272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45273 Here.
45274 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45275 to ...
45276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45277 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45278 Moved to ...
45279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45280 Here.
45281 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45282 to ...
45283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45284
d128e450
JM
452852012-05-04 Joseph Myers <joseph@codesourcery.com>
45286
fa8ee516
JM
45287 * sysdeps/unix/common/bits/dirent.h: Remove file.
45288 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45289
d128e450
JM
45290 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45291 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45292 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45293 * sysdeps/unix/bsd/isatty.c: Likewise.
45294 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45295 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45296 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45297
ff8faaf0 452982012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45299
62881be4 45300 [BZ #13563]
31dc8730
AZ
45301 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45302 long double comparison inaccuracies.
45303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45305
6fef930c
AS
453062012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45307
45308 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45310
8f203e6c
JM
453112012-05-04 Joseph Myers <joseph@codesourcery.com>
45312
45313 [BZ #14049]
45314 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45315 nonzero digits before rounding a hex value.
45316 * stdlib/tst-strtod.c (tests): Add another test.
45317
5197d9c2
AK
453182012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45319
45320 * sysdeps/s390/fpu/libm-test-ulps: Update.
45321
f0c1dedf
AJ
453222012-05-03 Andreas Jaeger <aj@suse.de>
45323
45324 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45325 does not get optimized out.
45326 (malloc_opt_barrier): New.
45327
a65ef2ae 453282012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45329 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45330
2b942cb7 45331 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45332 intermediate file deletion.
2b942cb7 45333 (generated): Add .symlist files.
a65ef2ae 45334
54b71e02
JM
453352012-05-03 Joseph Myers <joseph@codesourcery.com>
45336
45337 [BZ #13775]
45338 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45339 Redirect under this condition.
45340 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45341 [__USE_GNU] (__dprintf_chk): Not under this condition.
45342 [__USE_GNU] (__vdprintf_chk): Likewise.
45343 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45344 under this condition.
45345 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45346 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45347 [__USE_XOPEN2K8] (vdprintf): Likewise.
45348 [__USE_GNU] (__dprintf_chk): Not under this condition.
45349 [__USE_GNU] (__vdprintf_chk): Likewise.
45350 [__USE_GNU] (dprintf): Likewise.
45351 [__USE_GNU] (vdprintf): Likewise.
45352
d3dfcc41
RM
453532012-05-03 Roland McGrath <roland@hack.frob.com>
45354
45355 * elf/Makefile (common-generated): Set this instead of generated for
45356 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45357 $(all-built-dso)-derived lists.
45358
7ac30cc5
AJ
453592012-05-03 Andreas Jaeger <aj@suse.de>
45360
0c51e550
AJ
45361 * sysdeps/i386/fpu/libm-test-ulps: Update.
45362
7ac30cc5
AJ
45363 * FAQ: Removed.
45364 * FAQ.in: Likewise.
45365 * scripts/gen-FAQ.pl: Likewise.
45366 * manual/install.texi (Installation): Point to online location of
45367 FAQ.
45368 * Makefile (files-for-dist): Remove FAQ.
45369 (FAQ): Remove.
45370
d4c2917f
AM
453712012-05-02 Allan McRae <allan@archlinux.org>
45372
45373 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45374 (LDFLAGS-reldepmod5.so): Likewise.
45375 (LDFLAGS-reldep6mod1.so): Likewise.
45376 (LDFLAGS-reldep6mod4.so): Likewise.
45377 (LDFLAGS-reldep8mod3.so): Likewise.
45378 (LDFLAGS-unload4mod1.so): Likewise.
45379 (LDFLAGS-unload4mod2.so): Likewise.
45380 (LDFLAGS-tst-initorder): Likewise.
45381 (LDFLAGS-tst-initordera2.so): Likewise.
45382 (LDFLAGS-tst-initordera3.so): Likewise.
45383 (LDFLAGS-tst-initordera4.so): Likewise.
45384 (LDFLAGS-tst-initorderb2.so): Likewise.
45385 (LDFLAGS-noload): Likewise.
45386 (LDFLAGS-next): Likewise.
45387 (LDFLAGS-order2mod1.so): Likewise.
45388 (LDFLAGS-order2mod2.so): Likewise.
45389 (LDFLAGS-tst-initorder2): Likewise.
45390 (LDFLAGS-tst-initorder2a.so): Likewise.
45391 (LDFLAGS-tst-initorder2b.so): Likewise.
45392 (LDFLAGS-tst-initorder2c.so): Likewise.
45393 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45394
d77f993f
DM
453952012-05-02 David S. Miller <davem@davemloft.net>
45396
45397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45398
171a70b4
PP
453992012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45400
45401 [BZ #14055]
45402 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45403
0be196ad
AJ
454042012-05-02 Andreas Jaeger <aj@suse.de>
45405
45406 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45407 since we manipulate rounding mode.
45408 (CPPFLAGS-test-idouble.c): Likewise.
45409 (CPPFLAGS-test-ifloat.c): Likewise.
45410 (CFLAGS-test-ldouble.c): Likewise.
45411 (CFLAGS-test-double.c): Likewise.
45412 (CFLAGS-test-float.c): Likewise.
45413 (CFLAGS-test-misc.c): Likewise.
45414 (CFLAGS-test-test-fenv.c): Likewise.
45415
4f9d04aa
AZ
454162012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45417
2b942cb7
RM
45418 [BZ #2550]
45419 [BZ #2570]
45420 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45421 comparisons to determine direction to adjust input.
4f9d04aa 45422
82a79e7d
RM
454232012-05-01 Roland McGrath <roland@hack.frob.com>
45424
f5a01ca9
RM
45425 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45426 output to the target.
45427
90fe4186
RM
45428 * scripts/localplt.awk: New file.
45429 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45430 (check-localplt-CFLAGS): Variable removed.
45431 ($(all-built-dso:=.jmprel)): New static pattern rule.
45432 (generated): Add those targets.
45433 (localplt-built-dso): New variable.
45434 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45435
45436 * elf/check-localplt.c: File removed.
45437
82397ed6
RM
45438 * scripts/check-execstack.awk: New file.
45439 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45440 (check-execstack-CFLAGS): Variable removed.
45441 ($(objpfx)check-execstack.h): Target removed.
45442 ($(objpfx)execstack-default): New target.
45443 (generated): Add that instead of check-execstack.h.
45444 ($(all-built-dso:=.phdr)): New static pattern rule.
45445 (generated): Add those targets.
45446 * elf/check-execstack.c: File removed.
45447
82a79e7d
RM
45448 * scripts/check-textrel.awk: New file.
45449 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45450 (check-textrel-CFLAGS): Variable removed.
45451 (all-built-dso): Use := to define.o
45452 ($(all-built-dso:=.dyn)): New static pattern rule.
45453 (generated): Add those targets.
45454 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45455 * config.make.in (READELF): New substituted variable.
45456 * elf/check-textrel.c: File removed.
45457
62fde54f 454582012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45459
615605c9
JM
45460 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45461 allow.
45462 * conform/data/ctype.h-data [C99-based standards] (isblank):
45463 Expect function.
45464 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45465 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45467 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45468 Specify type. Require positive value.
45469 (EILSEQ): Likewise.
45470 (ERANGE): Likewise.
45471 [ISO || POSIX] (EILSEQ): Do not expect.
45472 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45473 Specify type. Require positive value.
45474 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45475 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45476 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45477 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45478 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45479 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45480 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45481 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45482 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45483 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45484 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45485 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45486 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45487 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45488 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45489 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45490 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45491 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45492 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45493 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45494 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45495 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45496 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45497 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45498 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45499 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45500 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45501 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45502 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45503 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45504 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45505 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45506 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45507 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45508 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45509 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45510 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45511 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45512 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45513 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45514 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45515 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45516 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45517 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45518 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45519 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45520 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45521 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45522 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45523 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45524 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45525 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45526 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45527 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45528 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45529 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45530 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45531 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45532 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45533 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45534 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45535 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45536 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45537 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45538 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45539 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45540 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45541 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45542 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45543 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45544 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45545 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45546 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45547 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45548 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45549 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45550 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45551 Require >= 2.
45552 (FLT_ROUNDS): Expect as macro, not constant.
45553 (FLT_MANT_DIG): Use macro-int-constant.
45554 (DBL_MANT_DIG): Likewise.
45555 (LDBL_MANT_DIG): Likewise.
45556 (FLT_DIG): Likewise.
45557 (DBL_DIG): Likewise.
45558 (LDBL_DIG): Likewise.
45559 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45560 (DBL_MIN_EXP): Likewise.
45561 (LDBL_MIN_EXP): Likewise.
45562 (FLT_MAX_EXP): Use macro-int-constant.
45563 (DBL_MAX_EXP): Likewise.
45564 (LDBL_MAX_EXP): Likewise.
45565 (FLT_MAX_10_EXP): Likewise.
45566 (DBL_MAX_10_EXP): Likewise.
45567 (LDBL_MAX_10_EXP): Likewise.
45568 (FLT_MAX): Use macro-constant.
45569 (DBL_MAX): Likewise.
45570 (LDBL_MAX): Likewise.
45571 (FLT_EPSILON): Use macro-constant. Give upper bound.
45572 (DBL_EPSILON): Likewise.
45573 (LDBL_EPSILON): Likewise.
45574 (FLT_MIN): Likewise.
45575 (DBL_MIN): Likewise.
45576 (LDBL_MIN): Likewise.
45577 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45578 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45579 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45580 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45581 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45582 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45583 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45584 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45585 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45586 [ISO11] (FLT_TRUE_MIN): Likewise.
45587 [ISO11] (LDBL_TRUE_MIN): Likewise.
45588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45589 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45590 (SCHAR_MIN): Use macro-int-constant. Specify type.
45591 (SCHAR_MAX): Likewise.
45592 (UCHAR_MAX): Likewise.
45593 (CHAR_MIN): Likewise.
45594 (CHAR_MAX): Likewise.
45595 (MB_LEN_MAX): Use macro-int-constant.
45596 (SHRT_MIN): Use macro-int-constant. Specify type.
45597 (SHRT_MAX): Likewise.
45598 (USHRT_MAX): Likewise.
45599 (INT_MAX): Likewise.
45600 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45601 bound negative.
45602 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45603 bound with "U".
45604 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45605 bound with "L".
45606 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45607 bound negative. Suffix upper bound with "L".
45608 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45609 bound with "UL".
45610 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45611 Specify type.
45612 [C99-based standards] (LLONG_MAX): Likewise.
45613 [C99-based standards] (ULLONG_MAX): Likewise.
45614 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45615 == 0.
45616 [ISO11] (max_align_t): Require type.
45617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45618
c9140a62
JM
45619 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45620 from $CFLAGS, without defining away __attribute__ calls.
45621 (checknamespace): Use $CFLAGS_namespace.
45622
9af0bf29
JM
45623 * conform/conformtest.pl (@keywords): Only include C99 keywords
45624 for standards based on C99 or C11.
45625
343222a2
JM
45626 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45627 Disable tests.
45628 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45629 UNIX98]: Likewise.
45630
661f8cf0
JM
45631 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45632 usability of symbols in #if.
45633
ee74b9cb
JM
45634 * conform/conformtest.pl: If macro or constant types start
45635 "promoted:", expect the symbol to be of the following type
45636 promoted by the integer promotions.
62fde54f 45637
aafc49b3
JM
45638 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45639 in one place. Also handle "macro-constant".
45640
fefdf574
JM
45641 * conform/conformtest.pl: Only accept expected macro values with
45642 "==". Parse all "macro" lines in one place.
45643 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45644
f2d922fe
JM
45645 * conform/conformtest.pl: Handle braced types on "constant" lines
45646 instead of handling "typed-constant".
45647 * conform/data/signal.h-data: Use "constant" instead of
45648 "typed-constant".
45649
d22956c9
JM
45650 * conform/conformtest.pl: Handle "optional-" at start of lines in
45651 one place rather than duplicating several cases. Handle each
45652 format of "macro" line with initial "optional-".
45653
028e2e38
JM
45654 * conform/conformtest.pl: Only accept expected constant or
45655 optional-constant values with "==". Parse all "constant" lines in
45656 one place. Parse all "optional-constant" lines in one place.
45657 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45658 * conform/data/fmtmsg.h-data: Likewise.
45659 * conform/data/netinet/in.h-data: Likewise.
45660 * conform/data/tar.h-data: Likewise.
45661 * conform/data/limits.h-data: Use "==" form on "constant" and
45662 "optional-constant" lines.
45663
1b8f2850
JM
45664 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45665 Use -std=c99 for XOPEN2K.
45666 (@knownproblems): Remove.
45667 (newtoken): Don't check %isknown.
45668
a05a144b
JM
45669 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45670 Do not expect macro.
45671 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45672 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45673 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45674 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45675 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45676 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45677 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45678 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45679 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45680 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45681 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45682 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45683 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45684 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45685 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45686 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45687 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45688 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45689 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45690 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45691 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45692 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45693 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45694 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45695 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45696 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45697 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45698 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45699 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45700 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45701 [XPG3] (acosh): Likewise.
45702 [XPG3] (asinh): Likewise.
45703 [XPG3] (atanh): Likewise.
45704 [XPG3] (cbrt): Likewise.
45705 [XPG3] (expm1): Likewise.
45706 [XPG3] (ilogb): Likewise.
45707 [XPG3] (log1p): Likewise.
45708 [XPG3] (logb): Likewise.
45709 [XPG3] (nextafter): Likewise.
45710 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45711 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45712 [XPG3] (remainder): Likewise.
45713 [XPG3] (rint): Likewise.
45714 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45715 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45716 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45717 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45718 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45719 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45720 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45721 [UNIX98 || XOPEN2K] (scalb): Expect.
45722 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45723 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45724 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45725 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45726 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45727 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45728 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45729 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45730 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45731 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45732 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45733 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45734 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45735 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45736 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45737 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45738 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45739 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45740 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45741 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45742 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45743 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45744 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45745 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45746 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45747 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45748 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45749 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45750 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45751 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45752 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45753 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45754 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45755 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45756 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45757 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45758 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45759 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45760 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45761 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45762 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45763 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45764 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45765 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45766 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45767 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45768 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45769 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45770 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45771 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45772 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45773 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45774 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45775 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45776 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45777 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45778 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45779 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45780 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45781 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45782 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45783 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45784 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45785 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45786 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45787 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45788 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45789 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45790 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45791 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45792 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45793 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45794 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45795 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45796 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45797 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45798 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45799 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45800 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45801 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45802 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45803 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45804 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45805 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45806 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45807 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45808 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45809 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45810 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45811 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45812 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45813 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45814 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45815 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45816 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45817 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45818 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45819 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45820 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45821 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45822 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45823 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45824 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45825 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45826 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45827 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45828 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45829 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45830 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45831 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45832 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45833 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45834 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45835 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45836 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45837 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45838 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45839 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45840 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45841 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45842 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45843 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45844 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45845 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45846 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45847 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45848 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45849 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45850 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45851 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45852 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45853 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45854 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45855 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45856 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45857 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45858 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45859
73c5ebe3
JM
45860 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45861 _XOPEN_SOURCE_EXTENDED for XPG4.
45862
39c33b6c
JM
45863 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45864
62fde54f
JM
45865 * Makeconfig (localtime): Remove variable.
45866 (inst_localtime-file): Likewise.
45867
0741d64c
AS
458682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45869
45870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45871 Update.
45872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45873 Update.
45874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45875 Update.
45876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45877 Update.
45878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45879 Update.
45880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45881 Update.
45882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45883 Update.
45884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45885 Update.
45886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45887 Update.
45888
7cb029ee
JM
458892012-05-01 Joseph Myers <joseph@codesourcery.com>
45890
45891 [BZ #2550]
45892 [BZ #2570]
45893 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45894 comparisons to determine direction to adjust input.
45895 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45896 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45897 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45898 Likewise.
45899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45900 Likewise.
45901 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45902 Likewise.
45903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45905 Likewise.
45906 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45907 Likewise.
45908 * math/libm-test.inc (nexttoward_test): Add more tests.
45909
412bd966
AS
459102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45911
45912 [BZ #14040]
45913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45914 in version GLIBC_2.1, not GLIBC_2.0.
45915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45916 Likewise.
45917
9568c0c2
JM
459182012-04-30 Joseph Myers <joseph@codesourcery.com>
45919
adfbc8ac
JM
45920 [BZ #13942]
45921 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45922 (1 - x) * (1 + x).
45923 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45924 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45925 * math/libm-test.inc (acos_test): Add more tests.
45926 (asin_test): Likewise.
45927 * sysdeps/i386/fpu/libm-test-ulps: Update.
45928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45929
5ba3cc69
JM
45930 [BZ #14034]
45931 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45932 of square root.
45933 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45934 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45935 * math/libm-test.inc (acos_test_tonearest): New function.
45936 (acos_test_towardzero): Likewise.
45937 (acos_test_downward): Likewise.
45938 (acos_test_upward): Likewise.
45939 (asin_test_tonearest): Likewise.
45940 (asin_test_towardzero): Likewise.
45941 (asin_test_downward): Likewise.
45942 (asin_test_upward): Likewise.
45943 (main): Call the new functions.
45944 * sysdeps/i386/fpu/libm-test-ulps: Update.
45945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45946
9568c0c2
JM
45947 [BZ #13884]
45948 [BZ #13924]
45949 * math/e_exp10.c: Include <float.h>.
45950 (__ieee754_exp10): Handle underflow here rather than multiplying
45951 large negative argument by M_LN10.
45952 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45953 of __ieee754_expf.
45954 * math/e_exp10l.c: Include <float.h>.
45955 (__ieee754_exp10l): Handle underflow here rather than multiplying
45956 large negative argument by M_LN10l.
45957 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45958 spurious overflow exception on underflow.
45959
5ac3ea17
MP
459602012-04-29 Marek Polacek <polacek@redhat.com>
45961
45962 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45963 (__fortify_function): New macro.
45964 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45965 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45966 __extern_always_inline.
45967 * libio/bits/stdio2.h: Likewise.
45968 * libio/bits/stdio.h: Likewise.
45969 * string/string.h: Likewise.
45970 * string/bits/string3.h: Likewise.
45971 * include/stdio.h: Likewise.
45972 * stdlib/bits/stdlib.h: Likewise.
45973 * stdlib/stdlib.h: Likewise.
45974 * rt/bits/mqueue2.h: Likewise.
45975 * rt/mqueue.h: Likewise.
45976 * posix/bits/unistd.h: Likewise.
45977 * posix/unistd.h: Likewise.
45978 * io/bits/poll2.h: Likewise.
45979 * io/bits/fcntl2.h: Likewise.
45980 * io/fcntl.h: Likewise.
45981 * io/sys/poll.h: Likewise.
45982 * misc/bits/syslog.h: Likewise.
45983 * misc/bits/syslog-ldbl.h: Likewise.
45984 * misc/sys/syslog.h: Likewise.
45985 * socket/bits/socket2.h: Likewise.
45986 * socket/sys/socket.h: Likewise.
45987 * debug/tst-chk1.c: Likewise.
45988 * wcsmbs/bits/wchar2.h: Likewise.
45989 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45990 * wcsmbs/wchar.h: Likewise.
45991
ecf0ebfb
AJ
459922012-04-29 Andreas Jaeger <aj@suse.de>
45993
45994 * Makerules (tests): Remove enable-check-abi protection.
45995 (check-abi-warn): Remove.
45996 (check-abi-%): Remove check-abi-warn usage.
45997
45998 * configure.in: Remove check-abi configure option.
45999 * configure: Regenerated.
46000 * config.make.in (enable-check-abi): Remove.
46001
6d5c57fa
AS
460022012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46003
24c5d07e 46004 [BZ #14033]
ded5180a
AS
46005 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46006 double functions to double *_finite functions.
46007
7e0d315d
AS
46008 [BZ #13941]
46009 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46010 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46011 LDBL_MIN_EXP.
46012 * stdio-common/Makefile (tests): Add tst-sprintf3.
46013 * stdio-common/tst-sprintf3.c: New file.
46014
6d5c57fa
AS
46015 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46016 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46017
0749ff8b
JM
460182012-04-28 Joseph Myers <joseph@codesourcery.com>
46019
46020 * conform/conformtest.pl: Remove duplicate typed-constant
46021 handling.
46022
8dbd5d7b
DM
460232012-04-28 David S. Miller <davem@davemloft.net>
46024
46025 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46026 (check-abi-%): Remove AWK script prerequisite and explicit
46027 abilist directory.
46028 (check-abi): Rewrite to just diff the symlist with the abilist.
46029 (config-tls, config-abi-config): Delete, no longer used.
46030 (update-abi-%): Remove AWK script and explicit abilist directory.
46031 (update-abi): Rewrite to simply compare and conditionally copy the
46032 symlist and the sysdep abilist file. Remove update-abi-config
46033 checks.
46034 * abilist/ld.abilist: Remove.
46035 * abilist/libBrokenLocale.abilist: Remove.
46036 * abilist/libanl.abilist: Remove.
46037 * abilist/libcrypt.abilist: Remove.
46038 * abilist/libdl.abilist: Remove.
46039 * abilist/librt.abilist: Remove.
46040 * abilist/libthread_db.abilist: Remove.
46041 * abilist/libutil.abilist: Remove.
46042 * scripts/extract-abilist.awk: Remove.
46043 * scripts/merge-abilist.awk: Remove.
46044 * sysdeps/generic/libcidn.abilist: New file.
46045 * sysdeps/generic/libnss_compat.abilist: New file.
46046 * sysdeps/generic/libnss_db.abilist: New file.
46047 * sysdeps/generic/libnss_dns.abilist: New file.
46048 * sysdeps/generic/libnss_files.abilist: New file.
46049 * sysdeps/generic/libnss_hesiod.abilist: New file.
46050 * sysdeps/generic/libnss_nis.abilist: New file.
46051 * sysdeps/generic/libnss_nisplus.abilist: New file.
46052 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46053 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46054 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46055 file.
46056 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46057 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46058 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46059 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46060 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46061 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46062 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46063 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46064 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46065 file.
46066 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46067 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46068 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46069 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46070 file.
46071 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46072 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46073 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46074 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46075 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46076 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46077 file.
46078 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46079 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46080 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46081 file.
46082 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46084 New file.
46085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46086 New file.
46087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46088 New file.
46089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46090 New file.
46091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46092 New file.
46093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46094 New file.
46095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46096 New file.
46097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46098 New file.
46099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46100 New file.
46101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46102 New file.
46103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46104 New file.
46105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46106 New file.
46107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46108 New file.
46109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46110 file.
46111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46112 New file.
46113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46114 New file.
46115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46116 file.
46117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46118 New file.
46119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46120 New file.
46121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46122 file.
46123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46124 New file.
46125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46126 New file.
46127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46128 New file.
46129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46130 New file.
46131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46132 New file.
46133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46134 New file.
46135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46137 file.
46138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46139 New file.
46140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46141 file.
46142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46143 file.
46144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46145 file.
46146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46147 file.
46148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46149 file.
46150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46151 New file.
46152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46153 file.
46154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46155 file.
46156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46157 New file.
46158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46159 file.
46160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46162 file.
46163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46164 New file.
46165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46166 file.
46167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46168 file.
46169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46170 file.
46171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46172 file.
46173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46174 file.
46175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46176 New file.
46177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46178 file.
46179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46180 file.
46181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46182 New file.
46183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46184 file.
46185 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46186 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46187 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46188 file.
46189 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46190 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46191 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46192 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46193 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46194 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46195 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46196 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46197 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46198 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46201 file.
46202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46203 New file.
46204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46205 file.
46206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46207 file.
46208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46209 file.
46210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46211 file.
46212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46213 file.
46214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46215 New file.
46216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46217 New file.
46218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46219 file.
46220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46221 New file.
46222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46223 file.
46224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46226 file.
46227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46228 New file.
46229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46230 file.
46231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46232 file.
46233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46234 file.
46235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46236 file.
46237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46238 file.
46239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46240 New file.
46241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46242 New file.
46243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46244 file.
46245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46246 New file.
46247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46248 file.
46249
41d73a1b
JM
462502012-04-28 Joseph Myers <joseph@codesourcery.com>
46251
46252 * conform/conformtest.pl: Fix typo in handling typed-constant from
46253 allow-header.
46254
28aeeda4
JM
462552012-04-27 Joseph Myers <joseph@codesourcery.com>
46256
adae8f5e
JM
46257 * README: Cut down references to pre-2.6 Linux kernels and
46258 Linuxthreads. Update lists of configurations in libc and ports
46259 and sort alphabetically. Say "or newer" with Linux kernel version
46260 requirements.
46261
28aeeda4
JM
46262 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46263
a462cb63
RA
462642012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46265
46266 [BZ #887]
46267 * math/libm-test.inc (logb_test_downward): New test to expose
46268 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46269 rounding mode.
46270
6ad3493e
JM
462712012-04-27 Joseph Myers <joseph@codesourcery.com>
46272
46273 [BZ #14027]
46274 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46275 to be done.
46276 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46277 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46278
2ce4f015
JM
462792012-04-26 Joseph Myers <joseph@codesourcery.com>
46280
5aeb141a
JM
46281 * sysdeps/unix/i386/brk.S: Remove file.
46282 * sysdeps/unix/i386/dl-brk.S: Likewise.
46283 * sysdeps/unix/i386/pipe.S: Likewise.
46284 * sysdeps/unix/i386/sigreturn.S: Likewise.
46285 * sysdeps/unix/i386/syscall.S: Likewise.
46286 * sysdeps/unix/i386/vfork.S: Likewise.
46287 * sysdeps/unix/i386/wait.S: Likewise.
46288
7143acae
JM
46289 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46290 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46291
2ce4f015
JM
46292 * configure.in (arm*-none*): Do not allow without
46293 --enable-hacker-mode.
46294 (netbsd*): Remove case setting base_os.
46295 (386bsd*): Likewise.
46296 (freebsd*): Likewise.
46297 (bsdi*): Likewise.
46298 (osf*): Likewise.
46299 (sunos*): Likewise.
46300 (ultrix*): Likewise.
46301 (newsos*): Likewise.
46302 (dynix*): Likewise.
46303 (*bsd*): Likewise.
46304 (sysv*): Likewise.
46305 (isc*): Likewise.
46306 (esix*): Likewise.
46307 (sco*): Likewise.
46308 (minix*): Likewise.
46309 (irix4*): Likewise.
46310 (irix6*): Likewise.
46311 (solaris[2-9]*): Likewise.
46312 (none): Likewise.
46313 * configure: Regenerated.
46314
0ac229c8
AZ
463152012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46316
46317 [BZ #11521]
46318 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46319 overflow or cancellation in calculating denominator.
46320 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46321 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46322 down expression to avoid unexpected rounding in newer GCCs.
46323 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46324
33f244f4
DM
463252012-04-26 David S. Miller <davem@davemloft.net>
46326
46327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46328 long-double compat symbols.
46329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46342
cfa1f3e8
DM
463432012-04-25 David S. Miller <davem@davemloft.net>
46344
46345 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46346 HWCAP_* values only after the memory barriers have been defined.
46347 (atomic_full_barrier): Define.
46348 (atomic_read_barrier): Define.
46349 (atomic_write_barrier): Define.
46350
6e236b92
SP
463512012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46352
46353 * shlib-versions: Add libgcc_s version information.
46354 * sysdeps/generic/libgcc_s.h: Remove.
46355 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46356 libgcc_s.h.
46357 * sysdeps/gnu/unwind-resume.c: Likewise.
46358 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46359
aab39a09
DM
463602012-04-25 David S. Miller <davem@davemloft.net>
46361
46362 * sysdeps/unix/sparc/brk.S: Delete.
46363 * sysdeps/unix/sparc/dl-brk.S: Delete.
46364 * sysdeps/unix/sparc/pipe.S: Delete.
46365 * sysdeps/unix/sparc/sysdep.S: Delete.
46366 * sysdeps/unix/sparc/sysdep.h: Delete.
46367 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46368 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46369 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46370 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46371 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46372 (JUMPTARGET): Remove.
46373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46374 sysdeps/unix/sparc/sysdep.h
46375 (ENTRY, END): Remove.
46376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46377
a3cc4f48
JM
463782012-04-25 Joseph Myers <joseph@codesourcery.com>
46379
2ed8cda2
JM
46380 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46381 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46382 -DIS_IN_build.
46383
35d76d59
JM
46384 * timezone/README: Update upstream location and email address for
46385 tzcode and tzdata.
46386 * timezone/zdump.c: Update from tzcode 2012b.
46387 * timezone/zic.c: Likewise.
46388
a3cc4f48
JM
46389 * configure.in (libc_cv_as_needed): Remove test.
46390 * configure: Regenerated.
46391 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46392 conditional definition.
46393 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46394 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46395 * config.make.in (have-as-needed): Remove variable.
46396
ceab42c3
SP
463972012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46398 Paul Pluzhnikov <ppluzhnikov@google.com>
46399
46400 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46401 strings correctly.
46402
3ce2865f
CLT
464032012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46404
46405 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46406 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46407 * sysdeps/sh/strlen.S: Likewise.
46408
f37e0d68
JM
464092012-04-24 Joseph Myers <joseph@codesourcery.com>
46410
ae186e9a
JM
46411 * sysdeps/unix/fork.S: Remove file.
46412 * sysdeps/unix/i386/fork.S: Likewise.
46413 * sysdeps/unix/sparc/fork.S: Likewise.
46414
b96914af
JM
46415 * sysdeps/unix/system.c: Remove file.
46416 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46417
f37e0d68
JM
46418 * sysdeps/unix/getegid.S: Remove file.
46419 * sysdeps/unix/geteuid.S: Likewise.
46420
87ef29ca
RM
464212012-04-24 Roland McGrath <roland@hack.frob.com>
46422
83bcd236
RM
46423 * scripts/check-localplt.awk: New file.
46424 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46425 of diff.
46426 * scripts/data/localplt-generic.data: Add a comment.
46427
87ef29ca
RM
46428 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46429 NODE when __dir_mkfile failed.
46430 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46431 Reported by Ludovic Courtès <ludo@gnu.org>.
46432
e5a6e567
AJ
464332012-04-24 Andreas Jaeger <aj@suse.de>
46434
46435 * Makerules (common-clean): Also remove gen-as-const-headers
46436 files.
46437
c1820385
JM
464382012-04-24 Joseph Myers <joseph@codesourcery.com>
46439
46440 * Makerules (native-compile): Do not change working directory for
46441 build. Use $(OUTPUT_OPTION) in command.
46442 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46443
94e02fc4
AZ
464442012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46445
46446 [BZ #13886]
46447 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46448 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46449 * math/libm-test.inc (floor_test): Add more tests.
46450 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46451
3a533ca3
JM
464522012-04-24 Joseph Myers <joseph@codesourcery.com>
46453
940ab4b3
JM
46454 * sysdeps/unix/getdents.c: Remove file.
46455 * sysdeps/unix/sysv/getdents.c: Likewise.
46456 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46457
90e037bd
JM
46458 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46459 sysdeps/unix/mman/syscalls.list.
46460 (mmap): Likewise.
46461 (mprotect): Likewise.
46462 (msync): Likewise.
46463 (munmap): Likewise.
46464 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46465 * sysdeps/unix/mman/syscalls.list: Remove.
46466 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46467
3a533ca3
JM
46468 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46469 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46470 * configure: Regenerated.
46471 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46472 $(libgcc_s_suffix).
46473 * config.make.in (libgcc_s_suffix): Remove variable.
46474
1ad743de
JM
464752012-04-23 Joseph Myers <joseph@codesourcery.com>
46476
4ad451e2
JM
46477 * sysdeps/unix/sysv/gethostname.c: Move to ...
46478 * sysdeps/posix/gethostname.c: ... here.
46479
5e37ce39
JM
46480 * sysdeps/unix/execve.S: Remove file.
46481
1ad743de
JM
46482 * sysdeps/unix/_exit.S: Remove file.
46483
4e681b5b
AJ
464842012-04-23 Andreas Jaeger <aj@suse.de>
46485
46486 [BZ #13739]
46487 * manual/Makefile: Remove make dist support, there's no
46488 need for a stand-alone documentation tar ball.
46489 (TEXI2DVI): Define always, it's not in Makeconfig.
46490 (dist): Removed.
46491 (tar-it): Removed.
46492 (edition): Removed.
46493 (glibc-doc-$(edition).tar): Removed
46494 (%.Z): Removed.
46495 (%.gz): Removed.
46496 (%.uu): Removed.
46497 (ETAGS): Remove, it's in Makeconfig.
46498 (move-if-change): Remove, it's in Makeconfig.
46499
38686a03 465002012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46501
46502 [BZ #13970]
46503 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46504 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46505 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46506 (strtod_l, strtof_l, strtold_l): Remove __wur.
46507 It is not necessarily an error to ignore strtol's return value.
46508 One can reliably look at the stored endptr to decide whether
46509 the number had valid syntax.
46510
7c0616fa
AJ
465112012-04-21 Andreas Jaeger <aj@suse.de>
46512
803cb6b7 46513 [BZ #13739]
7c0616fa
AJ
46514 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46515
b0fe253f
JM
465162012-04-21 Joseph Myers <joseph@codesourcery.com>
46517
46518 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46519 * sysdeps/unix/sysv/Versions: Remove file.
46520
8280f22d
MT
465212012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46522
46523 [BZ #13927]
46524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46525
75ce411f 465262012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46527
46528 [BZ #7064]
46529 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46530 version from __vm86.
46531
097d59fa
JM
465322012-04-20 Joseph Myers <joseph@codesourcery.com>
46533
a90f3bcb
JM
46534 * sysdeps/unix/common/lxstat.c: Remove file.
46535 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46536
edc7ea78
JM
46537 * sysdeps/unix/sysv/Makefile: Remove file.
46538
cb78c221
JM
46539 * sysdeps/unix/sysv/direct.h: Remove file.
46540
efa6a45f
JM
46541 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46542 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46543 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46544 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46545 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46546 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46547 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46548
9c9f2d0c
JM
46549 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46550
4541c83b
JM
46551 * sysdeps/unix/xmknod.c: Remove file.
46552 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46553
f5d153a0
JM
46554 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46555
aa746595
JM
46556 * sysdeps/unix/sysv/i386/time.S: Remove file.
46557
cce5905e
JM
46558 * sysdeps/unix/fxstat.c: Remove file.
46559 * sysdeps/unix/xstat.c: Likewise.
46560 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46561
37fa3841
JM
46562 * sysdeps/unix/sysv/sigaction.c: Remove file.
46563
ff1962a3
JM
46564 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46565 (sysdep_headers): Remove variable.
46566 [termio.h not in sysdep_headers] (generated): Likewise.
46567 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46568 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46569 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46570 * sysdeps/unix/sysv/tcflow.c: Likewise.
46571 * sysdeps/unix/sysv/tcflush.c: Likewise.
46572 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46573 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46574 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46575 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46576 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46577
e7740d31
JM
46578 * sysdeps/unix/siglist.c: Remove file.
46579
ee06f18b
JM
46580 * sysdeps/unix/getppid.S: Remove file.
46581
097d59fa
JM
46582 * sysdeps/unix/mkdir.c: Remove file.
46583 * sysdeps/unix/rmdir.c: Likewise.
46584
ff3d51ec
AS
465852012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46586
46587 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46588 ERR_MAX value.
46589 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46590 errlist-compat value.
46591
50f81fd7
DM
465922012-04-18 David S. Miller <davem@davemloft.net>
46593
46594 * sysdeps/generic/memcopy.h (reg_char): Delete.
46595 * debug/strcat_chk.c: Use char, not reg_char.
46596 * debug/strcpy_chk.c: Likewise.
46597 * debug/strncat_chk.c: Likewise.
46598 * debug/strncpy_chk.c: Likewise.
46599 * string/memchr.c: Likewise.
46600 * string/memrchr.c: Likewise.
46601 * string/rawmemchr.c: Likewise.
46602 * string/strcat.c: Likewise.
46603 * string/strchr.c: Likewise.
46604 * string/strchrnul.c: Likewise.
46605 * string/strcmp.c: Likewise.
46606 * string/strcpy.c: Likewise.
46607 * string/strncat.c: Likewise.
46608 * string/strncmp.c: Likewise.
46609 * string/strncpy.c: Likewise.
46610
8ff41c46
WS
466112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46612
46613 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46614 __builtin_memcopy is called when src and dest ranges are known to not
46615 overlap.
46616
6b652f46
WS
466172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46618
46619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46620 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46621 fwd_align_merge macro call.
46622 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46623 bwd_align_merge macro call.
46624 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46625
b282631e
WS
466262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46627
46628 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46629 bwd_align_merge macros.
46630 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46631 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46632 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46633
95aa737c
DM
466342012-04-18 David S. Miller <davem@davemloft.net>
46635
46636 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46637
7a99a614
AJ
466382012-04-18 Andreas Jaeger <aj@suse.de>
46639
46640 [BZ# 6794]
46641 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46642 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46643 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46644
46645 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46646 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46647 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46648
46649 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46650 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46651 Adjust for changed ldbl-128 files.
46652
46653 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46654 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46656
e5270c23
DM
466572012-04-17 David S. Miller <davem@davemloft.net>
46658
46659 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46660
fb5e92c9
AS
466612012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46662
46663 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46664 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46665 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46666 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46667 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46668 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46669
76da7265
AZ
466702012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46671
46672 [BZ #6794]
46673 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46674 * math/libm-test.inc: Add ilogb errno and exception tests.
46675 * math/w_ilogb.c: New file: ilogb wrapper.
46676 * math/w_ilogbf.c: New file: ilogbf wrapper.
46677 * math/w_ilogbl.c: New file: ilogbl wrapper.
46678 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46679 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46680 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46681 exception being thrown with 0.0 as argument.
46682 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46683 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46684 exception being thrown with 0.0 as argument.
46685 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46686 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46687 exception being thrown with 0.0 as argument.
46688 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46689 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46690 exception being thrown with 0.0 as argument.
46691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46692 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46694 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46695 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46697 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46698 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46699 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46700
0396e69d
PB
467012012-04-17 Petr Baudis <pasky@ucw.cz>
46702
46703 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46704 with altivec.
46705
750b5926
MP
467062012-04-16 Marek Polacek <polacek@redhat.com>
46707
46708 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46709
751728a1
MP
467102012-04-16 Marek Polacek <polacek@redhat.com>
46711
46712 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46713 operands of fdivp instruction.
46714
34a27407
L
467152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46716
46717 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46718 * elf/tst-auditmod3b.c: Likewise.
46719 * elf/tst-auditmod4b.c: Likewise.
46720 * elf/tst-auditmod5b.c: Likewise.
46721 * elf/tst-auditmod6b.c: Likewise.
46722 * elf/tst-auditmod6c.c: Likewise.
46723 * elf/tst-auditmod7b.c: Likewise.
46724 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46725 * sysdeps/x86_64/preconfigure.in: Likewise.
46726 * sysdeps/x86_64/preconfigure: Regenerated.
46727
7e73e17d
L
467282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46729
46730 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46731 __ILP32__.
46732
c7a6ab72
AB
467332012-04-13 Antoine Balestrat <merkil33@gmail.com>
46734
46735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46736 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46737
a9e8e0e0
CL
467382012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46739
46740 [BZ #13973]
46741 * locale/iso-639.def: Fix gl language name. Spotted by
46742 Yaron Shahrabani.
46743
ec98af7d
RM
467442012-04-12 Roland McGrath <roland@hack.frob.com>
46745
46746 [BZ #2074]
46747 * libio/libio.h (__io_write_fn): Update comment.
46748
247c3ede
PB
467492012-04-12 Petr Baudis <pasky@ucw.cz>
46750
46751 [BZ #2074]
46752 * stdio.texi (Hook Functions): The user provided writer function
46753 is not allowed to return -1.
46754
55939d6d
DM
467552012-04-11 David S. Miller <davem@davemloft.net>
46756
46757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46758
90020f5a
MF
467592012-04-11 Mike Frysinger <vapier@gentoo.org>
46760
46761 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46762 Add a leading slash to rtkaio.
46763
288f9098
JM
467642012-04-11 Jim Meyering <meyering@redhat.com>
46765
90020f5a
MF
46766 [BZ #11959]
46767 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46768 It is not necessarily an error to ignore fwrite's return
46769 value. One can reliably use ferror to test for errors after
46770 the fact.
288f9098 46771
4be2b570
L
467722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46773
46774 * bits/types.h (__snseconds_t): New type.
46775 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46776
46777 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46779 (__SNSECONDS_T_TYPE): Likewise.
46780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46781 (__SNSECONDS_T_TYPE): Likewise.
46782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46783 (__SNSECONDS_T_TYPE): Likewise.
46784
288f9098 467852012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46786
46787 [BZ #2636]
46788 * manual/time.texi (Processor Time): Return type of times is
46789 elapsed real time since an arbitrary point in the past.
46790 (CPU Time): Move CLK_TCK from here...
46791 (Processor Time): ...to here. Correct description.
46792 * manual/conf.texi (Constants for Sysconf): Correct description of
46793 _SC_CLK_TCK.
46794
d7dd4413
DM
467952012-04-10 David S. Miller <davem@davemloft.net>
46796
46797 [BZ #13967]
46798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46799 where the is a gap between DT_REL(A) and DT_JMPREL.
46800
b46068fc
L
468012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46802
46803 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46804 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46805 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46806
73d65cc3
SP
468072012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46808
46809 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46810 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46811 (dl_main): Handle --inhibit-cache.
46812 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46813 _dl_inhibit_cache.
46814 * elf/dl-load.c (_dl_map_object): Use it.
46815 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46816
bcc8d661
JM
468172012-04-09 Joseph Myers <joseph@codesourcery.com>
46818
8f9a2fae
JM
46819 [BZ #13872]
46820 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46821 (__ieee754_powl): Saturate large exponents rather than testing for
46822 overflow of y*log2(x).
46823 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46824 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46825 exceptions.
46826
bcc8d661
JM
46827 [BZ #11521]
46828 * math/s_ctan.c: Include <float.h>.
46829 (__ctan): Avoid internal overflow or cancellation in calculating
46830 denominator.
46831 * math/s_ctanf.c: Likewise.
46832 * math/s_ctanl.c: Likewise.
46833 * math/s_ctanh.c: Likewise.
46834 * math/s_ctanhf.c: Likewise.
46835 * math/s_ctanhl.c: Likewise.
46836 * math/libm-test.inc (ctan_test): Add more tests.
46837 (ctanh_test): Likewise.
46838 * sysdeps/i386/fpu/libm-test-ulps: Update.
46839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46840
823fbbb4
AJ
468412012-04-09 Andreas Jaeger <aj@suse.de>
46842
03879793
AJ
46843 [BZ #6894]
46844 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46845 is an optional BSD extension.
46846
823fbbb4
AJ
46847 [BZ #10254]
46848 * manual/stdio.texi (Opening Streams): Document additional fopen
46849 parameters.
46850
8de131cb
RM
468512012-04-09 Roland McGrath <roland@hack.frob.com>
46852
46853 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46854 %eax without telling the compiler.
46855
c0ed9d7d
CD
468562012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46857
46858 [BZ # 13963]
46859 * manual/install.texi: Use sourceware.org.
46860
c483f6b4
JM
468612012-04-09 Joseph Myers <joseph@codesourcery.com>
46862
d7dd9453
JM
46863 [BZ #13873]
46864 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46865 (__ieee754_pow): Generate overflow and underflow using huge*huge
46866 and tiny*tiny rather than just returning constant infinity or zero
46867 for large exponents.
46868 * math/libm-test.inc (pow_test): Require overflow exceptions for
46869 applicable cases of large exponents.
46870
c483f6b4
JM
46871 [BZ #706]
46872 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46873 (__ieee754_pow): Use iterative multiplication algorithm only for
46874 integer exponents with absolute value below 1024. Check for odd
46875 integer exponents when using algorithm for real exponents.
46876 * math/libm-test.inc (pow_test): Add more tests.
46877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46878
d2de7579
JM
468792012-04-08 Joseph Myers <joseph@codesourcery.com>
46880
46881 [BZ #13705]
46882 * math/libm-test.inc (exp_test): Do not allow overflow exception
46883 on underflow test.
46884
f77f1232
AJ
468852012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46886
46887 [BZ #13705]
46888 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46889 instead of __kernel_standard_f.
46890
3884932b
MF
468912012-04-08 Mike Frysinger <vapier@gentoo.org>
46892
46893 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46894 * sysdeps/x86_64/memset_chk.S: Likewise.
46895
54472e9c
AJ
468962012-04-08 Andreas Jaeger <aj@suse.de>
46897
6ab0fbfc
AJ
46898 [BZ #10153]
46899 * manual/startup.texi (Environment Access): Describe return value
46900 for putenv and setenv.
46901
61efba8c
AJ
46902 [BZ #6895]
46903 * manual/filesys.texi (Directory Entries): Add description for
46904 DT_LNK.
46905
95c3f29a
AJ
46906 [BZ #6890]
46907 * manual/filesys.texi (Directory Entries): Clarify that it's file
46908 system not operating system in the description of DT_UNKNOWN.
46909
54472e9c
AJ
46910 [BZ #6578]
46911 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46912
624254b1
SC
469132012-04-08 Stephen Compall <s11@member.fsf.org>
46914
46915 [BZ #6649]
46916 * manual/llio.texi (Opening and Closing Files): Add cross
46917 reference to explain mode argument.
46918
1e4920e0
MF
469192012-04-07 Mike Frysinger <vapier@gentoo.org>
46920
46921 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46922 * sysdeps/x86_64/memset_chk.S: Likewise.
46923
5ed848f3
DM
469242012-04-07 David S. Miller <davem@davemloft.net>
46925
46926 * elf/elf.h (R_SPARC_WDISP10): Define.
46927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46928 R_SPARC_SIZE32.
46929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46930 R_SPARC_SIZE64 and R_SPARC_H34.
46931
96154cd8
CD
469322012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46933
46934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46935 conditions and remove no longer applicable assertion.
46936
9904dc47
L
469372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46938
46939 * bits/byteswap.h: Include <features.h>.
46940 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46941 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46942
f8887d0a
L
469432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46944
46945 * bits/byteswap.h (__bswap_16): Removed.
46946 Include <bits/byteswap-16.h> to get __bswap_16.
46947 * sysdeps/i386/bits/byteswap.h: Likewise.
46948 * sysdeps/s390/bits/byteswap.h: Likewise.
46949 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46950 * bits/byteswap-16.h: New file.
46951 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46952 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46953 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46954 * string/Makefile (headers): Add bits/byteswap-16.h.
46955
62470f60
PP
469562012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46957
46958 [BZ #13895]
46959 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46960 extra indirection.
46961 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46962 * nss/tst-nss-static.c: New.
46963
4dad7bab
RM
469642012-04-06 Robert Millan <rmh@gnu.org>
46965
46966 [BZ #6486]
46967 * manual/llio.texi (File Position Primitive): lseek
46968 refers to WHENCE when it really means OFFSET.
46969
e9142a17
AJ
469702012-04-06 Andreas Jaeger <aj@suse.de>
46971
2c040eff
AJ
46972 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46973 strncmp declarations.
46974
e9142a17
AJ
46975 * abilist/libc.abilist: Add __poll and __ppoll.
46976
ff9f1c5f
DM
469772012-04-05 David S. Miller <davem@davemloft.net>
46978
dcd2ae90
DM
46979 * scripts/check-local-headers.sh: Accept a host triplet in the
46980 path matched by the exclude regexp.
46981
993eb054
DM
46982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46983 definition.
46984 * sysdeps/powerpc/powerpc32/dl-machine.h
46985 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46986 * sysdeps/s390/s390-32/dl-machine.h
46987 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46988 * sysdeps/sparc/sparc32/dl-machine.h
46989 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46990 * sysdeps/sparc/sparc64/dl-machine.h
46991 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46992
ff9f1c5f
DM
46993 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46994 lazy binding.
48e2e132 46995 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46996 undefined symbol errors.
46997
48e2e132 46998 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46999 DT_NEEDED entries.
47000
e80d6f94
MM
470012012-04-05 Michael Matz <matz@suse.de>
47002
47003 [BZ #13592]
47004 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47005
349fa79f
AJ
470062012-04-05 Andreas Jaeger <aj@suse.de>
47007
47008 [BZ #13908]
47009 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47010 comment.
47011
f402708f
KK
470122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47013
47014 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47015 which ROUND is no valid rounding mode.
47016
2ecccfc9
KK
470172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47018
47019 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47020 read again.
47021 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47022
8a53f50f
KK
470232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47024
47025 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47026 an exception using FPU order intentionally.
47027
470282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47029
47030 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47031 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47032 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47033 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47034
d653abb7
SJ
470352012-04-05 Simon Josefsson <simon@josefsson.org>
47036
47037 [BZ #12340]
47038 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47039 EINVAL when BUFLEN is too smal.
47040
c3b1bf7d
TS
470412012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47042
47043 [BZ #13553]
47044 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47045 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47046
b1aa60f3
AJ
470472012-04-03 Andreas Jaeger <aj@suse.de>
47048
c3b1bf7d 47049 [BZ #13938]
67f60a26
AJ
47050 * manual/setjmp.texi (System V contexts): Fix sentence.
47051
b1aa60f3
AJ
47052 [BZ #13926]
47053 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47054 New macro for this case.
47055 [!__GNUC__] (__bswap_64): New inline function for this case.
47056 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47057 * bits/byteswap.h: Likewise.
47058 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47059 ull, guard with __GLIBC_HAVE_LONG_LONG.
47060
47061 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47062 __GLIBC_HAVE_LONG_LONG.
47063
47064 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47065 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47066
39c59c35
TMQMF
470672012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47068
47069 [BZ #13691]
47070 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47071 inptr and inend, rather than using last_ch.
47072
135ffda8
DM
470732012-04-02 David S. Miller <davem@davemloft.net>
47074
47075 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47076 * stdio-common/printf-parse.h (read_int): Change return type to
47077 'int', return -1 on INT_MAX overflow.
47078 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47079 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47080 overflows INT_MAX. Check for overflow of in-format-string precision
47081 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47082 SIZE_MAX not INT_MAX for integer overflow test.
47083 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47084 skip the construct in the format string but do not record anything.
47085 * stdio-common/bug22.c: Adjust to test both width/prevision
47086 INT_MAX overflow as well as total length INT_MAX overflow. Check
47087 explicitly for proper errno values.
47088
228c019e
TS
470892012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47090
302cadd3
TS
47091 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47092 CHAR_MAX.
47093 * string/test-strcmp.c [! WIDE]: Likewise.
47094 * time/tst-mktime2.c: Likewise for INT_MAX.
47095 * string/test-string.h: #include <sys/param.h> for MIN.
47096
228c019e
TS
47097 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47098 * sysdeps/i386/init-first.c (init): Likewise.
47099 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47100 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47101 * sysdeps/sh/init-first.c (init): Likewise.
47102
cfa633f5
UD
471032012-04-01 Ulrich Drepper <drepper@gmail.com>
47104
47105 * po/ru.po: Update from translation team.
d1635ef8 47106 * po/vi.po: Likewise.
cfa633f5 47107
6cd0a5ea
SP
471082012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47109
47110 * resolv/nss_dns/dns-host.c: Merge copyright years.
47111
4b43400f
LD
471122012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47113
47114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47115 Optimize memcpy with prefetch if
47116 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47117 src, dst pointers have unequal 16 byte alignments.
47118
48c41d04
SP
471192012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47120
47121 [BZ #13928]
47122 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47123 from a CNAME entry and return the minimum ttl for the query.
47124 (gaih_getanswer_slice): Likewise.
47125
b8dc394d
JL
471262012-03-30 Jeff Law <law@redhat.com>
47127
47128 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47129 due to long keys.
47130 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47131 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47132
2f5a5ed0
JL
47133 * resolv/nss_dns/dns-host.c: Update copyright year.
47134
1d39e359
UD
471352012-03-30 Ulrich Drepper <drepper@gmail.com>
47136
c030f70c 47137 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 47138 requests to save a system call. Fix check that all bytes are sent.
c030f70c 47139
1d39e359
UD
47140 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47141 comments for sendmmsg.
47142
471432012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
47144
47145 [BZ #13691]
47146 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47147 with only 1 character between 0x0041 and 0x01b0.
47148 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47149 * wcsmbs/tst-mbsnrtowcs.c: New file.
47150
20fde227
DM
471512012-03-29 David S. Miller <davem@davemloft.net>
47152
47153 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47154 small copies by hand.
47155
984a4237
JL
471562012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47157
47158 [BZ #13761]
57f41c40
AS
47159 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47160 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47161 group memberships.
984a4237 47162
18c9d62b
DM
471632012-03-28 David S. Miller <davem@davemloft.net>
47164
88d85d4f
DM
47165 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47166 that branches into memcpy.
47167 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47169 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47170 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47172 bits.
47173 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47174 implementation too.
47175 * sysdeps/sparc/mempcpy.S: New file.
47176
e5aa83e1
DM
47177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47178 the IFUNC routine in the libc case.
47179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47180
88570753
DM
47181 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47182 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47183 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47184 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47185 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47186 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47187 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47188 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47189
249d7567
DM
47190 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47191 loop to 256 bytes instead of 64 bytes and fix test signedness.
47192
18c9d62b
DM
47193 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47194 * sysdeps/sparc/sparc32/Makefile: rather than here...
47195 * sysdeps/sparc/sparc64/Makefile: and here.
47196
05f3d1f6
UD
471972012-03-28 Ulrich Drepper <drepper@gmail.com>
47198
47199 * malloc/mallocbug.c: Avoid warnings about unused variables.
47200
86ae07a8
JL
472012012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47202
47203 [BZ #13760]
47204 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47205 in the right place. Discard and retry query if response is
47206 larger than input buffer size.
47207
41bf21a1
JM
472082012-03-28 Joseph Myers <joseph@codesourcery.com>
47209
d6270972
JM
47210 [BZ #369]
47211 [BZ #2678]
47212 [BZ #3866]
47213 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47214 x for large integer exponent.
47215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47216 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47217 sign of result as needed afterwards.
47218 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47219 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47220 result for underflowing pow the same as for overflow.
47221 (__kernel_standard_l): Handle powl overflow and underflow here
47222 rather than calling __kernel_standard.
47223 * math/libm-test.inc (pow_test): Add more tests.
47224
414fca03 47225 [BZ #3868]
41bf21a1
JM
47226 [BZ #13879]
47227 [BZ #13910]
47228 [BZ #13911]
47229 [BZ #13912]
47230 [BZ #13913]
47231 [BZ #13915]
47232 [BZ #13916]
47233 [BZ #13917]
47234 [BZ #13918]
47235 [BZ #13919]
47236 [BZ #13920]
47237 [BZ #13921]
47238 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47239 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47240 (__kernel_standard_l): New function.
47241 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47242 __kernel_standard.
47243 * math/w_acosl.c (__acosl): Likewise.
47244 * math/w_asinl.c (__asinl): Likewise.
47245 * math/w_atan2l.c (__atan2l): Likewise.
47246 * math/w_atanhl.c (__atanhl): Likewise.
47247 * math/w_coshl.c (__coshl): Likewise.
47248 * math/w_exp10l.c (__exp10l): Likewise.
47249 * math/w_exp2l.c (__exp2l): Likewise.
47250 * math/w_fmodl.c (__fmodl): Likewise.
47251 * math/w_hypotl.c (__hypotl): Likewise.
47252 * math/w_j0l.c (__j0l, __y0l): Likewise.
47253 * math/w_j1l.c (__j1l, __y1l): Likewise.
47254 * math/w_jnl.c (__jnl, __ynl): Likewise.
47255 * math/w_lgammal.c (__lgammal): Likewise.
47256 * math/w_log10l.c (__log10l): Likewise.
47257 * math/w_log2l.c (__log2l): Likewise.
47258 * math/w_logl.c (__logl): Likewise.
47259 * math/w_powl.c (__powl): Likewise.
47260 * math/w_remainderl.c (__remainderl): Likewise.
47261 * math/w_scalbl.c (sysv_scalbl): Likewise.
47262 * math/w_sinhl.c (__sinhl): Likewise.
47263 * math/w_sqrtl.c (__sqrtl): Likewise.
47264 * math/w_tgammal.c (__tgammal): Likewise.
47265 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47266 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47267 * math/libm-test.inc (acos_test): Add more tests.
47268 (acosh_test): Likewise.
47269 (asin_test): Likewise.
47270 (atanh_test): Likewise.
47271 (exp_test): Likewise.
47272 (exp10_test): Likewise.
47273 (exp2_test): Likewise.
47274 (expm1_test): Likewise.
47275 (lgamma_test): Likewise.
47276 (log_test): Likewise.
47277 (log10_test): Likewise.
47278 (log1p_test): Likewise.
47279 (log2_test): Likewise.
47280 (pow_test): Do not allow some spurious overflow exceptions.
47281 (sqrt_test): Add more tests.
47282 (tgamma_test): Likewise.
47283 (y0_test): Likewise.
47284 (y1_test): Likewise.
47285 (yn_test): Likewise.
47286
dd62fda6
AB
472872012-03-27 Anton Blanchard <anton@samba.org>
47288
47289 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47290 MAP_HUGETLB.
47291 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47292 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47293 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47294
1e3cdfda
AJ
472952012-03-27 David S. Miller <davem@davemloft.net>
47296
b855ab85
DM
47297 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47298
1e3cdfda
AJ
47299 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47300 have-as-vis3 check.
47301
473022012-03-27 Andreas Jaeger <aj@suse.de>
47303
47304 * sysdeps/x86_64/elf/configure.in: Moved to ...
47305 * sysdeps/x86_64/configure.in: ... here.
47306 * sysdeps/x86_64/elf/start.S: Moved to ...
47307 * sysdeps/x86_64/start.S: ... here.
47308 * sysdeps/x86_64/elf/configure: Delete.
47309
47310 * sysdeps/x86_64/configure.in: Merge contents from
47311 sysdeps/i386/configure.in (without i686 check).
47312
47313 * sysdeps/i386/elf/Versions: Merge into ...
47314 * sysdeps/i386/Versions: ... this.
47315 * sysdeps/i386/elf/Versions: Delete file.
47316 * sysdeps/i386/elf/start.S: Moved to ...
47317 * sysdeps/i386/start.S: ...here.
47318 * sysdeps/i386/elf/configure.in: Merge into...
47319 * sysdeps/i386/configure.in: ...here.
47320 * sysdeps/i386/elf/configure.in: Delete file.
47321 * sysdeps/i386/elf/configure: Delete file.
47322
47323 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47324 * debug/backtracesyms.c: ... here.
47325 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47326 * debug/backtracesymsfd.c: ... here.
47327 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47328 * sysdeps/generic/ifunc-sel.h: ... here.
47329
47330 * sysdeps/unix/i386/start.c: Delete file.
47331 * sysdeps/unix/sparc/start.c: Delete file.
47332 * sysdeps/unix/start.c: Delete file.
47333
47334 * sysdeps/sh/elf/configure.in: Moved to ...
47335 * sysdeps/sh/configure.in: ... here.
47336 * sysdeps/sh/elf/start.S: Moved to ...
47337 * sysdeps/sh/start.S: ... here.
47338 * sysdeps/sh/elf/configure: Delete file.
47339
47340 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47341 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47342 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47343 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47344 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47345 * sysdeps/powerpc/powerpc64/start.S: here.
47346 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47347 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47348 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47349 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47350 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47351
47352 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47353 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47354 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47355 * sysdeps/powerpc/powerpc32/start.S: ... here.
47356 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47357 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47358 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47359
47360 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47361 * sysdeps/powerpc/ifunc-sel.h: ... here.
47362 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47363 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47364
47365 * sysdeps/sparc/elf/configure.in: Moved to ...
47366 * sysdeps/sparc/configure.in: ... here.
47367 * sysdeps/sparc/elf/configure: Delete file.
47368 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47369 * sysdeps/sparc/sparc32/start.S: ... here.
47370 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47371 * sysdeps/sparc/sparc64/start.S: ... here.
47372 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47373 * sysdeps/sparc/sparc32/Makefile: ... this.
47374 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47375 * sysdeps/sparc/sparc64/Makefile: ... this.
47376
47377 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47378 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47379 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47380 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47381 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47382 * sysdeps/s390/s390-32/setjmp.S: ... here.
47383 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47384 * sysdeps/s390/s390-32/configure.in: ... here.
47385 * sysdeps/s390/s390-32/elf/configure: Delete file.
47386 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47387 * sysdeps/s390/s390-32/start.S: ... here.
47388
47389 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47390 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47391 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47392 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47393 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47394 * sysdeps/s390/s390-64/setjmp.S: ... here.
47395 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47396 * sysdeps/s390/s390-64/configure.in: ... here
47397 * sysdeps/s390/s390-64/elf/configure: Delete file.
47398 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47399 * sysdeps/s390/s390-64/start.S: ... here.
47400 * sysdeps/s390/s390-64/elf/configure: Delete.
47401
47402 * configure.in: Remove support for elf directories in sysdeps.
47403
47404 * configure: Regenerated.
47405 * sysdeps/i386/configure: Regenerated.
47406 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47407 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47408 * sysdeps/s390/s390-32/configure: Regenerated.
47409 * sysdeps/s390/s390-64/configure: Regenerated.
47410 * sysdeps/sh/configure: Regenerated.
47411 * sysdeps/sparc/configure: Regenerated.
47412 * sysdeps/x86_64/configure: Regenerated.
47413
a3f61311
AS
474142012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47415
c876e002
AS
47416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47417
a3f61311
AS
47418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47419 denormal result into account.
47420
ac4c54f0
RM
474212012-03-25 Roland McGrath <roland@hack.frob.com>
47422
47423 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47424 Reported by Allan McRae <allan@archlinux.org>.
47425
6a9b9c02
JL
474262012-03-23 Jeff Law <law@redhat.com>
47427
47428 * nss/getnssent.c (__nss_getent): Fix typo.
47429
4c42a0c1
DM
474302012-03-23 David S. Miller <davem@davemloft.net>
47431
47432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47433
1532c7ac
L
474342012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47435
47436 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47437 to pad to uint64_t for each field.
47438 (dl_tls_index): Replace unsigned long with uint64_t.
47439
3ff42526
PP
474402012-03-23 Daniel Jacobowitz <dmj@google.com>
47441 Paul Pluzhnikov <ppluzhnikov@google.com>
47442
47443 [BZ #6528]
47444 * grp/Makefile (otherlibs): Don't set it.
47445 * inet/Makefile (otherlibs): Likewise.
47446 * login/Makefile (otherlibs): Likewise.
47447 * nscd/Makefile (otherlibs): Likewise.
47448 * posix/Makefile (otherlibs): Likewise.
47449 * pwd/Makefile (otherlibs): Likewise.
47450 * rt/Makefile (otherlibs): Likewise.
47451 * sunrpc/Makefile (otherlibs): Likewise.
47452 * nss/Makefile (otherlibs): Likewise.
47453 Add libnss_files to routines and static-only-routines.
47454 ($(objpfx)getent): Remove rule.
47455 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47456 static-only-routines.
47457
7c69cd14
JM
474582012-03-22 Joseph Myers <joseph@codesourcery.com>
47459
47460 [BZ #13892]
47461 * math/s_cexp.c: Include <float.h>.
47462 (__cexp): Handle exp result overflowing not necessarily
47463 overflowing both real and imaginary parts of result.
47464 * math/s_cexpf.c: Likewise.
47465 * math/s_cexpl.c: Likewise.
47466 * math/libm-test.inc (cexp_test): Add more tests.
47467 * sysdeps/i386/fpu/libm-test-ulps: Update.
47468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47469
81b035fe
L
474702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47471
47472 * include/link.h (ELFW): New macro.
47473 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47474 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47475
1da7940c
L
474762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47477
47478 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47479 with uint64_t.
47480
b749dbb9
L
474812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47482
47483 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47484 declaration.
47485 (struct La_x32_retval): Likewise.
47486
2ff87f3f
L
474872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47488
47489 * sysdeps/x86_64/preconfigure.in: New file.
47490 * sysdeps/x86_64/preconfigure: New generated file.
47491
c0df8e69
JM
474922012-03-22 Joseph Myers <joseph@codesourcery.com>
47493
48e44791
JM
47494 [BZ #13824]
47495 * math/e_exp2l.c: Include <float.h>.
47496 (__ieee754_exp2l): Handle overflow and underflow cases
47497 separately. Only pass fractional part of argument to
47498 __ieee754_expl.
47499 * math/libm-test.inc (exp2_test): Add more tests.
47500
c0df8e69
JM
47501 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47502 negating x to take absolute value.
47503 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47504 Likewise.
47505 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47506 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47507 Likewise.
47508 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47509 computing low part if x was negated.
47510 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47511
c8e43ba7
L
475122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47513
47514 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47515 la_x32_gnu_pltexit.
47516 (pltexit): Cast int_retval to ptrdiff_t.
47517 * elf/tst-auditmod3b.c: Likewise.
47518 * elf/tst-auditmod4b.c: Likewise.
47519 * elf/tst-auditmod5b.c: Likewise.
47520 * elf/tst-auditmod6b.c: Likewise.
47521 * elf/tst-auditmod6c.c: Likewise.
47522 * elf/tst-auditmod7b.c: Likewise.
47523
47524 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47525 and x32_gnu_pltexit.
47526
47527 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47528 __ELF_NATIVE_CLASS.
47529 (La_x32_regs): New macro.
47530 (La_x32_retval): Likewise.
47531 (la_x32_gnu_pltenter): New function prototype.
47532 (la_x32_gnu_pltexit): Likewise.
47533
7998fa78
AS
475342012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47535
dcb33988
AS
47536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47537 exponent.
47538
233fc563
AS
47539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47540
7998fa78
AS
47541 * configure.in (libc_cv_cc_nofma): Check for option to disable
47542 generation of FMA instructions.
47543 * configure: Regenerate.
47544 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47545 * sysdeps/ieee754/dbl-64/Makefile: New file.
47546 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47547 Remove brandred-fma4.
47548 (CFLAGS-brandred-fma4.c): Remove.
47549 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47550 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47551 define.
47552 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47553 define.
47554
8e95c99a
L
475552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47556
47557 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47558 LLONG_MAX != LONG_MAX.
47559 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47560 (_fitoa_word): Likewise.
47561 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47562 LLONG_MAX != LONG_MAX.
47563 * stdio-common/_itowa.h: Include <_itoa.h>.
47564 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47565 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47566 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47567 only if not defined.
47568 (_ITOA_WORD_TYPE): Likewise.
47569 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47570 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47571
6f4db457
DM
475722012-03-21 David S. Miller <davem@davemloft.net>
47573
47574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47575
7785fe5a
L
475762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47577
47578 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47579 of x86_64 when setting libc_cv_slibdir, libdir and
47580 libc_cv_localedir.
47581 * sysdeps/unix/sysv/linux/configure: Regenerated.
47582
4535cd55
JM
475832012-03-21 Joseph Myers <joseph@codesourcery.com>
47584
47585 * manual/lang.texi (Old Varargs): Remove section.
47586 (How Variadic): Update menu.
47587 (va_start): Do not mention varargs.h.
47588
17228132
TS
475892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47590 Joseph Myers <joseph@codesourcery.com>
47591
47592 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47593 link test.
47594 * configure: Regenerated.
47595
8149f976
TS
475962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47597
05f3d1f6
UD
47598 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47599 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47600 conformtest.pl
8149f976 47601
1a4ac776
JM
476022012-03-21 Joseph Myers <joseph@codesourcery.com>
47603
be22ce65
JM
47604 * NOTES: Remove.
47605 * Makefile (files-for-dist): Remove NOTES.
47606 (NOTES): Remove rule.
47607 * README: Don't refer to NOTES.
47608 * manual/creature.texi: Don't include macros.texi.
47609 * manual/intro.texi (creature.texi): Remove comment referring to
47610 NOTES.
47611
40b601fb
JM
47612 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47613 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47614 * configure: Regenerated.
47615 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47616 LIBC_TRY_CC_OPTION.
47617 (libc_cv_as_i686): Likewise.
47618 (libc_cv_cc_avx): Likewise.
47619 (libc_cv_cc_sse2avx): Likewise.
47620 (libc_cv_cc_fma4): Likewise.
47621 (libc_cv_cc_novzeroupper): Likewise.
47622 * sysdeps/i386/configure: Regenerated.
47623
1a4ac776
JM
47624 [BZ #13883]
47625 * sysdeps/i386/fpu/s_cexp.S: Remove.
47626 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47627 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47628 * math/libm-test.inc (cexp_test): Add more tests.
47629 * sysdeps/i386/fpu/libm-test-ulps: Update.
47630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47631
a458e7fe
AM
476322012-03-21 Allan McRae <allan@archlinux.org>
47633
47634 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47635
0cb7efc5
JM
476362012-03-21 Joseph Myers <joseph@codesourcery.com>
47637
47638 [BZ #13871]
47639 * math/w_exp2.c: Do not include <float.h>.
47640 (o_threshold, u_threshold): Remove.
47641 (__exp2): Calculate result before checking finiteness and calling
47642 __kernel_standard.
47643 * math/w_exp2f.c: Likewise.
47644 * math/w_exp2l.c: Likewise.
47645 * math/libm-test.inc (exp2_test): Require overflow exception for
47646 1e6 input.
2460d3aa
JM
47647
47648 [BZ #3866]
47649 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47650 range of signed 64-bit integers before using fistpll. Remove
47651 checks for whether integers fit in mantissa bits.
47652 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47653 the range of signed 32-bit integers before using fistpl. Remove
47654 checks for whether integers fit in mantissa bits.
47655 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47656 (__ieee754_powl): Test for y outside the range of signed 64-bit
47657 integers before using fistpll. Reduce 64-bit values to 63-bit
47658 ones as needed.
47659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47660 divide-by-zero is raised for zero to large negative powers.
47661 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47662 (__ieee754_powl): Test for y outside the range of signed 64-bit
47663 integers before using fistpll. Reduce 64-bit values to 63-bit
47664 ones as needed.
47665 * math/libm-test.inc (pow_test): Add more tests.
47666
eb96ffb0
L
476672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47668
47669 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47670 <stdio-common/_itoa.h>.
47671 * debug/segfault.c: Likewise.
47672 * elf/dl-cache.c: Likewise.
47673 * elf/dl-minimal.c: Likewise.
47674 * elf/dl-misc.c: Likewise.
47675 * elf/dl-sysdep.c: Likewise.
47676 * elf/dl-version.c: Likewise.
47677 * elf/rtld.c: Likewise.
47678 * hurd/hurdsock.c: Likewise.
47679 * hurd/lookup-retry.c: Likewise.
47680 * malloc/malloc.c: Likewise.
47681 * malloc/mtrace.c: Likewise.
47682 * nscd/nscd_getgr_r.c: Likewise.
47683 * nscd/nscd_getpw_r.c: Likewise.
47684 * nscd/nscd_getserv_r.c: Likewise.
47685 * posix/getopt_init.c: Likewise.
47686 * posix/wordexp.c: Likewise.
47687 * stdio-common/_itoa.c: Likewise.
47688 * stdio-common/printf_fphex.c: Likewise.
47689 * stdio-common/vfprintf.c: Likewise.
47690 * string/_strerror.c: Likewise.
47691 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47692 * sysdeps/i386/i686/hp-timing.h: Likewise.
47693 * sysdeps/mach/_strerror.c: Likewise.
47694 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47695 * sysdeps/mach/hurd/sethostid.c: Likewise.
47696 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47697 * sysdeps/mach/xpg-strerror.c: Likewise.
47698 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47699 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47700 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47701 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47702 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47703 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47704 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47705 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47706 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47707 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47708 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47709 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47710 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47711 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47712 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47713 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47714 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47715 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47716 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47717 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47718 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47719
47720 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47721
47722 * stdio-common/_itoa.h: Moved to ...
47723 * sysdeps/generic/_itoa.h: Here.
47724
47725 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47726
47727 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47728 instead of "_itoa.h" and "_itowa.h".
47729 * stdio-common/vfprintf.: Likewise.
47730
d1af992d
L
477312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47732
47733 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47734 <bits/wordsize.h>.
47735 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47736 (__signbit): Likwise.
47737 (llrintf): Likwise.
47738 (llrint): Likwise.
47739
114883e0
L
477402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47741
47742 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47743 __WORDSIZE != 64.
47744
c135cc1b
JM
477452012-03-20 Joseph Myers <joseph@codesourcery.com>
47746
47747 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47748 OVERFLOW_EXCEPTION_OK.
47749 * math/libm-test.inc ("Philosophy"): Update comment about
47750 exception testing.
47751 (OVERFLOW_EXCEPTION): Define.
47752 (OVERFLOW_EXCEPTION_OK): Likewise.
47753 (INVALID_EXCEPTION_OK): Renumber.
47754 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47755 (IGNORE_ZERO_INF_SIGN): Likewise.
47756 (test_exceptions): Handle FE_OVERFLOW.
47757 (exp10_test): Expect overflow exceptions.
47758 (exp2_test): Likewise.
47759 (expm1_test): Likewise.
47760 (nextafter_test): Likewise.
47761 (pow_test): Likewise.
47762 (scalbn_test): Likewise.
47763 (scalbln_test): Likewise.
47764
95443d88
L
477652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47766
47767 * sysdeps/x86_64/bits/atomic.h
47768 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47769 64bit integer.
47770 (atomic_exchange_acq): Likewise.
47771 (__arch_exchange_and_add_body): Likewise.
47772 (__arch_add_body): Likewise.
47773 (atomic_add_negative): Likewise.
47774 (atomic_add_zero): Likewise.
47775
490df6c4
L
477762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47777
c2722551 47778 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47779 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47780
5e52b189
L
477812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47782
47783 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47784 Check __x86_64__ instead of __WORDSIZE.
47785
a9879d4c
L
477862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47787
47788 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47789
5df98260
DM
477902012-03-19 David S. Miller <davem@davemloft.net>
47791
e1497744
DM
47792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47793
5df98260
DM
47794 * sysdeps/sparc/fpu/fenv_private.h: New file.
47795 * sysdeps/sparc/fpu/math_private.h: Use it.
47796 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47797 Remove.
57f41c40 47798 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47799 (libc_feholdexcept_setroundl): Remove.
47800 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47801 Remove.
47802 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47803 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47804
b4c35121
L
478052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47806
47807 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47808 int64_t instead of long int.
47809 (INSERT_WORDS64): Likwise.
47810
56965fd7
L
478112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47812
47813 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47814 _Unwind_GetCFA return to _Unwind_Ptr first.
47815
83d1aec8
JM
478162012-03-19 Joseph Myers <joseph@codesourcery.com>
47817
1897ad44
JM
47818 [BZ #13629]
47819 * math/s_clog.c: Include <float.h>.
47820 (__clog): Scale large or subnormal inputs.
47821 * math/s_clogf.c: Likewise.
47822 * math/s_clogl.c: Likewise.
47823 * math/s_clog10.c: Include <float.h>.
47824 (M_LOG10_2): Define.
47825 (__clog10): Scale large or subnormal inputs.
47826 * math/s_clog10f.c: Likewise.
47827 * math/s_clog10l.c: Likewise.
47828 * math/libm-test.inc (clog_test): Add more tests.
47829 (clog10_test): Likewise.
47830 * sysdeps/i386/fpu/libm-test-ulps: Update.
47831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47832
7726d6a9
JM
47833 [BZ #11451]
47834 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47835 x and y.
47836 * math/libm-test.inc (atan2_test): Add another test.
47837
83d1aec8
JM
47838 * Makerules (common-objdir-compile): Remove.
47839 * sysdeps/unix/Makefile (config-generated): Do not add
47840 $(unix-generated) to variable.
47841 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47842 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47843 Remove rule.
47844 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47845 Likewise.
47846 [generic bits/local_lim.h] (before-compile): Do not append to
47847 variable.
47848 [generic bits/local_lim.h] (common-generated): Likewise.
47849 [generic sys/param.h] (before-compile): Do not append to variable.
47850 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47851 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47852 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47853 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47854 include.
47855 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47856 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47857 [generic sys/param.h] ($(addprefix
47858 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47859 [generic sys/param.h] (common-generated): Do not append to
47860 variable.
47861 [generic sys/param.h] (sysdep_headers): Likewise.
47862 [generic bits/errno.h] (before-compile): Do not append to
47863 variable.
47864 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47865 rule.
47866 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47867 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47868 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47869 [generic bits/errno.h] (common-generated): Do not append to
47870 variable.
47871 [generic bits/ioctls.h] (before-compile): Do not append to
47872 variable.
47873 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47874 rule.
47875 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47876 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47877 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47878 rule.
47879 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47880 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47881 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47882 [generic bits/ioctls.h] (common-generated): Do not append to
47883 variable.
47884 [generic sys/syscall.h] (syscall.h): Remove variable.
47885 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47886 rule.
47887 [generic sys/syscall.h] (before-compile): Do not append to
47888 variable.
47889 [generic sys/syscall.h] (common-generated): Likewise.
47890 * sysdeps/unix/errnos-tmpl.c: Remove file.
47891 * sysdeps/unix/errnos.awk: Likewise.
47892 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47893 * sysdeps/unix/ioctls.awk: Likewise.
47894 * sysdeps/unix/mk-local_lim.c: Likewise.
47895 * sysdeps/unix/snarf-ioctls: Likewise.
47896
4851a949
RH
478972012-03-19 Richard Henderson <rth@twiddle.net>
47898
bd37f2ee
RH
47899 * sysdeps/i386/fpu/fenv_private.h: New file.
47900 * sysdeps/i386/fpu/math_private.h: Use it.
47901 (math_opt_barrier, math_force_eval): Remove.
47902 (libc_feholdexcept_setround_53bit): Remove.
47903 (libc_feupdateenv_53bit): Remove.
47904 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47905 (math_opt_barrier, math_force_eval): Remove.
47906 (libc_feholdexcept): Remove.
47907 (libc_feholdexcept_setround): Remove.
47908 (libc_fetestexcept, libc_fesetenv): Remove.
47909 (libc_feupdateenv_test): Remove.
47910 (libc_feupdateenv, libc_feholdsetround): Remove.
47911 (libc_feresetround): Remove.
47912
d0adc922
RH
47913 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47914 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47915
0fe0f1f8
RH
47916 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47917 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47918 (libc_feupdateenv_testl): New.
47919 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47920 (libc_feupdateenv_testf): New.
47921 (libc_feupdateenv): Use libc_feupdateenv_test.
47922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47923 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47924
eb92c487
RH
47925 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47926 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47927 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47928 (libc_feresetround_noex): New.
47929 (libc_feresetround_noexf): New.
47930 (libc_feresetround_noexl): New.
47931 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47932 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47933 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47934 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47935 SET_RESTORE_ROUND.
47936 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47938 (__cos): Likewise.
47939 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47940 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47941 SET_RESTORE_ROUND_NOEX.
47942 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47943 SET_RESTORE_ROUND_NOEXF.
47944 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47945 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47946 (libc_feholdsetroundf): New.
47947 (libc_feresetround, libc_feresetroundf): New.
47948
7d2e8012
RH
47949 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47950 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47951 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47952
b4dabbb4
RH
47953 * sysdeps/generic/math_private.h: Include <fenv.h>.
47954 (default_libc_feholdexcept): New.
47955 (default_libc_feholdexcept_setround): New.
47956 (default_libc_fesetenv, default_libc_feupdateenv): New.
47957 (libc_feholdexcept): Only define if undefined.
47958 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47959 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47960 (libc_feholdexcept_setroundl): Likewise.
47961 (libc_feholdexcept_setround_53bit): Likewise.
47962 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47963 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47964 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47965 (libc_feupdateenv_53bit): Likewise.
47966 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47967 (libc_feholdexcept): Convert from macro to inline function.
47968 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47969 (libc_fesetenv, libc_feupdateenv): Likewise.
47970
4851a949
RH
47971 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47972 not previously defined.
47973 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47974 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47975 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47976 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47977 * sysdeps/ieee754/flt-32/math_private.h: New file.
47978 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47979 math_private.h below SET_FLOAT_WORD.
47980 (__isnan, __isinf_ns, __finite): Remove.
47981 (__isnanf, __isinf_nsf, __finitef): Remove.
47982
e79d442e
AS
479832012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47984
47985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47986
90b80344
DM
479872012-03-17 David S. Miller <davem@davemloft.net>
47988
47989 [BZ #6471]
47990 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47991 for 2.16.
47992
edc21804
DM
479932012-03-16 David S. Miller <davem@davemloft.net>
47994
77e927af
DM
47995 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47996 warnings.
47997
374976dd
DM
47998 [BZ #6471]
47999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48000 properly.
48001 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48002 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48003 sysdep_routines when subdir is sysvipc.
48004 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48005 __getshmlba helper.
48006
edc21804
DM
48007 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48008
473c3ef3
L
480092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48010
48011 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48012 [__LP64__].
48013
eb0f39b6
L
480142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48015
48016 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48017 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48018 (__lround): Renamed to ...
48019 (__llround): This. Replace long int with long long int.
48020 Define lround functions as aliases of llround functions.
48021 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48022
6b6cd74b
L
480232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48024
48025 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48026 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48027 adresses to uintptr_t. Replace "long int" and "unsigned long
48028 int" with "greg_t" on va_arg.
48029
f1a77b01
L
480302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48031
48032 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48033 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48034
48035 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48036 Move e_machine check before EI_CLASS check. Handle x32
48037 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48038 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48039 SKIP_EM_IA_64 and include
48040 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48041
48042 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48043 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48044 (add_system_dir): New macro.
48045
48046 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48047 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48048
11b90b9f
JM
480492012-03-16 Joseph Myers <joseph@codesourcery.com>
48050
c36e1d23
JM
48051 [BZ #2551]
48052 [BZ #2552]
48053 [BZ #2553]
48054 [BZ #2554]
48055 [BZ #2562]
48056 [BZ #2563]
48057 [BZ #2565]
48058 [BZ #2566]
48059 [BZ #2576]
48060 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48061 (y0): Likewise.
48062 * math/w_j0f.c (j0f): Likewise.
48063 (y0f): Likewise.
48064 * math/w_j0l.c (__j0l): Likewise.
48065 (__y0l): Likewise.
48066 * math/w_j1.c (j1): Likewise.
48067 (y1): Likewise.
48068 * math/w_j1f.c (j1f): Likewise.
48069 (y1f): Likewise.
48070 * math/w_j1l.c (__j1l): Likewise.
48071 (__y1l): Likewise.
48072 * math/w_jn.c (jn): Likewise.
48073 (yn): Likewise.
48074 * math/w_jnf.c (jnf): Likewise.
48075 (ynf): Likewise.
48076 * math/w_jnl.c (__jnl): Likewise.
48077 (__ynl): Likewise.
48078 * math/libm-test.inc (j0_test): Add more tests.
48079 (j1_test): Likewise.
48080 (jn_test): Likewise. Add trailing semicolon to existing test.
48081 (y0_test): Likewise.
48082 (y1_test): Likewise.
48083 * sysdeps/i386/fpu/libm-test-ulps: Update.
48084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48085
11b90b9f
JM
48086 [BZ #13851]
48087 [BZ #13854]
48088 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48089 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48090 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48092 (__tanl): Set errno for infinite argument.
48093 * sysdeps/i386/fpu/mptan.c: Remove.
48094 * sysdeps/i386/fpu/s_tan.S: Likewise.
48095 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48096 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48097 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48098 * math/libm-test.inc (tan_test): Add more tests and enable more
48099 tests for double and long double.
48100 * sysdeps/i386/fpu/libm-test-ulps: Update.
48101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48102
6a1bd2a1
JK
481032012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48104
48105 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48106 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48107
10a803e0
RM
481082012-03-16 Roland McGrath <roland@hack.frob.com>
48109
48110 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48111 * configure.in: Use it for both main tree and add-ons.
48112 * configure: Regenerated.
48113
f196c7f7
L
481142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48115
48116 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48117
8848d99d
JM
481182012-03-16 Joseph Myers <joseph@codesourcery.com>
48119
96cbe7f4
JM
48120 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48121 in comment.
48122
8848d99d
JM
48123 [BZ #13851]
48124 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48125 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48126 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48127 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48128 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48129 infinite argument.
48130 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48132 != 0 for prec == 2.
48133 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48134 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48135 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48136 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48137 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48138 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48139 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48140 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48141 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48142 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48143 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48144 * math/libm-test.inc (cos_test): Add more tests and enable more
48145 tests for long double.
48146 (sin_test): Likewise.
48147 (sincos_test): Likewise.
48148 * sysdeps/i386/fpu/libm-test-ulps: Update.
48149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48150
dd7f4703
DM
481512012-03-16 David S. Miller <davem@davemloft.net>
48152
48153 * sysdeps/sparc/fpu/math_private.h: New file.
48154
006f1daa
DM
481552012-03-15 David S. Miller <davem@davemloft.net>
48156
c0c83bc8
DM
48157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48158 file.
e6a62e18 48159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
48160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48161 file.
e6a62e18
DM
48162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48168 sysdep routines.
48169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48170
88cb87d9
DM
48171 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48172 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48173
006f1daa 48174 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
48175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48176 sparc-ifunc.h
006f1daa 48177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
48178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48179 Likewise.
48180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48181 Likewise.
006f1daa
DM
48182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
48185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48186 Likewise.
006f1daa
DM
48187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
48191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48192 Likewise.
48193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48194 Likewise.
006f1daa
DM
48195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48219
11e0098e
AS
482202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48221
48222 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48223 scaling.
48224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48225
e85b09d0
AJ
482262012-03-15 Andreas Jaeger <aj@suse.de>
48227
48228 [BZ #13852]
48229 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48230 ieee754/flt-32 implementation for sin, cos and sincos.
48231 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48232 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48233 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48234 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48235 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48236 ieee754/flt-32 implementation for tan.
48237
48238 * math/libm-test.inc (cos_test): Enable some large input tests for
48239 float as well
48240 (sin_test): Likewise.
48241 (sincos_test): Likewise.
48242 (tan_test): Add tests for large input.
48243
48244 * sysdeps/i386/fpu/libm-test-ulps: Update.
48245
81c64153
AJ
482462012-03-15 Andreas Jaeger <aj@suse.de>
48247
48248 [BZ #13658]
48249 * math/libm-test.inc (cos_test): Add more test cases.
48250 (sin_test): Likewise.
48251 (sincos_test): Likewise.
48252
7bbfa5c6
AJ
482532012-03-15 Andreas Jaeger <aj@suse.de>
48254
48255 [BZ #13837]
48256 * math/libm-test.inc (cos_test): Add a test case for large input
48257 value.
48258 (sin_test): Likewise.
48259 (sincos_test): Likewise.
48260
57f41c40
AS
482612012-03-15 Andreas Jaeger <aj@suse.de>
48262 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48263
48264 [BZ #13658]
0671f479 48265 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48266 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48267 * sysdeps/i386/fpu/branred.c: Likewise.
48268 * sysdeps/i386/fpu/dosincos.c: Likewise.
48269 * sysdeps/i386/fpu/mpa.c: Likewise.
48270 * sysdeps/i386/fpu/s_cos.S: Likewise.
48271 * sysdeps/i386/fpu/s_sin.S: Likewise.
48272 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48273 * sysdeps/i386/fpu/sincos32.c: Likewise.
48274
48275 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48276 Define.
48277 (libc_feupdateenv_53bit): Define.
48278 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48279 Define.
48280 (libc_feupdateenv_53bit): Define.
48281
48282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48283 53 bit (without extend i386 double precision).
48284
48285 * math/libm-test.inc (sincos_test): Add tests for large input.
48286 (sin): Likewise.
48287 (cos): Likewise.
48288
48289 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48290
9cad04ea
AS
482912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48292
48293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48294
f7062b9a
DM
482952012-03-15 David S. Miller <davem@davemloft.net>
48296
48297 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48298 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48299 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48300 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48313 file.
f7062b9a 48314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48316 file.
f7062b9a 48317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48319 file.
f7062b9a 48320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48322 file.
f7062b9a
DM
48323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48325 fmin/fmax sysdep routines.
48326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48327
7bd951ff
DM
483282012-03-14 David S. Miller <davem@davemloft.net>
48329
559398ab
DM
48330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48336 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48359 routines.
48360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48361 file.
559398ab 48362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48364 file.
559398ab 48365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48367 file.
559398ab 48368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48370 file.
559398ab 48371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48373 file.
559398ab 48374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48376 file.
48377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48378 file.
48379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48380 file.
48381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48382 file.
48383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48384 New file.
48385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48386 file.
48387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48388 file.
559398ab 48389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48391 file.
559398ab 48392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48394 file.
559398ab 48395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48397 file.
559398ab 48398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48400 VIS3 routines.
559398ab
DM
48401
48402 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48403 New file.
48404
5a1c1e32
DM
48405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48406
eae47a36
DM
48407 * sysdeps/sparc/configure.in: New file.
48408 * sysdeps/sparc/configure: Generate.
48409 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48410 * configure: Regenerate.
48411 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48412 * config.make.in (have-as-vis3): New.
48413 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48414 available use -Av9d instead of -Av9a.
48415 * sysdeps/sparc/sparc64/Makefile: Likewise.
48416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48418 New file.
48419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48420 file.
48421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48422 New file.
48423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48424 file.
eae47a36
DM
48425 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48430
c0c83bc8
DM
48431 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48432 fzeros/fnegs to load 0x80000000 into a float register instead of
48433 using the stack.
7bd951ff
DM
48434 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48435
bd951ccb
JM
484362012-03-14 Joseph Myers <joseph@codesourcery.com>
48437
48438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48439 bits/syscall.h.
48440 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48441 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48442 ($(inst_includedir)/bits/syscall.h): Remove rule.
48443 ($(objpfx)bits/syscall.d): Include instead of
48444 $(objpfx)syscall-list.d.
48445 (generated): Change syscall-list.h and syscall-list.d to
48446 bits/syscall.h and bits/syscall.d.
48447
bb4e6db2
RM
484482012-03-14 Roland McGrath <roland@hack.frob.com>
48449
48450 [BZ #13846]
48451 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48452
aa4a2ae1
JM
484532012-03-14 Joseph Myers <joseph@codesourcery.com>
48454
e456826d
JM
48455 [BZ #13841]
48456 * math/s_csqrt.c: Include <float.h>.
48457 (__csqrt): Scale large or subnormal inputs.
48458 * math/s_csqrtf.c: Likewise.
48459 * math/s_csqrtl.c: Likewise.
48460 * math/libm-test.inc (csqrt_test): Add more tests.
48461 * sysdeps/i386/fpu/libm-test-ulps: Update.
48462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48463
aa4a2ae1
JM
48464 [BZ #13840]
48465 * math/libm-test.inc (hypot_test): Add more tests.
48466
7c10fd35
DM
484672012-03-13 David S. Miller <davem@davemloft.net>
48468
48469 [BZ #13840]
48470 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48471 double-precision for the calculation instead of scaling.
48472
f453b98b
JM
484732012-03-13 Joseph Myers <joseph@codesourcery.com>
48474
48475 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48476 manipulate bits before adding and subtracting TWO52[sx].
48477 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48478 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48479 Likewise.
48480 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48481
09a3453f
DM
484822012-03-13 David S. Miller <davem@davemloft.net>
48483
8e59da90
DM
48484 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48485 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48487 rtld-global-offsets.h
48488 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48489
2a8ab7f2
DM
48490 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48491 large parameters.
48492
10f62770
DM
48493 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48494
5f0bdb18
DM
48495 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48496 'err' in the ifdef scope in which it is actually used.
48497
09a3453f
DM
48498 * nss/nss_db/db-init.c: Include string.h
48499
b4b2eb5e
DM
485002012-03-12 David S. Miller <davem@davemloft.net>
48501
98bb2f1c
DM
48502 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48503 masking out of the most significant byte of random value used.
48504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48505 Fix coding style in previous change.
48506
b4b2eb5e
DM
48507 * sysdeps/unix/sysv/linux/kernel-features.h
48508 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48509 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48510 expression.
48511 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48512 later.
48513
6e226b09
DM
485142012-03-11 David S. Miller <davem@davemloft.net>
48515
a1bcbd40
DM
48516 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48517 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48518 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48519 for 'resultvar' otherwise things get truncated on 64-bit.
48520
cb9d6174
DM
48521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48522 Fix masking out of the most significant byte of random value used.
48523
6e226b09
DM
48524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48525
058c132d
AS
485262012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48527
48528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48529
2d2cd515
DM
485302012-03-09 David S. Miller <davem@davemloft.net>
48531
48532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48533 variables with appropriate CPP guards.
57f41c40
AS
48534 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48535 from the frame pointer, not the stack pointer. Correct layout
48536 comments. Fix test on resulting framesize and the management of
48537 the outregs buffer for pltexit. Preserve floating point return
48538 values across _dl_call_pltexit call.
2d2cd515
DM
48539 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48540 framesize and the management of the outregs buffer for pltexit.
48541 Preserve floating point return values across _dl_call_pltexit
48542 call.
57f41c40
AS
48543 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48544 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48545 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48546 (print_exit): Fix format string for return register value.
48547
9a07f9d0
JM
485482012-03-10 Joseph Myers <joseph@codesourcery.com>
48549
48550 * sunrpc/Makefile (others): Add rpcgen.
48551 ($(objpfx)rpcgen): Remove special build rule and dependency on
48552 libc.
48553 * sunrpc/rpcgen.c: New file.
48554
547b5e30
PE
485552012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48556
c524201a
PE
48557 [BZ #13673]
48558 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48559 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48560 * sysdeps/i386/crti.S: Likewise.
48561 * sysdeps/i386/crtn.S: Likewise.
48562 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48563 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48564 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48565 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48566 * sysdeps/sh/crti.S: Likewise.
48567 * sysdeps/sh/crtn.S: Likewise.
48568 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48569
7b6235f2
PE
48570 [BZ #13673]
48571 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48572 with URL.
48573 * locale/programs/locfile-kw.gperf: Likewise.
48574 * locale/programs/charmap-kw.h: Regenerated.
48575 * locale/programs/locfile-kw.h: Likewise.
48576
547b5e30
PE
48577 [BZ #13673]
48578 * intl/plural.y: Replace FSF snail mail address with URL.
48579 * intl/plural.c: Regenerated.
48580
5f0a5dae
RH
485812012-03-09 Richard Henderson <rth@twiddle.net>
48582
48583 * include/math_private.h: Remove file.
48584 * math/math_private.h: Move file ...
48585 * sysdeps/generic/math_private.h: ... here.
48586
b8c03620
RH
48587 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48588 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48589 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48590
4e234f5d 48591 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48592 and <math_private.h>.
48593 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48594 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48595 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48596 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48597 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48599 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48601 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48604 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48605 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48606 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48607 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48608 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48609 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48610 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48611 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48612 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48617 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48618 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48619 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48623 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48625 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48626 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48627 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48629 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48630 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48631 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48633 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48634 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48635 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48636 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48637 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48638 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48639 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48640 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48641 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48642 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48643 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48644 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48645 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48646 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48647 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48648 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48650 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48651 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48652 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48653 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48654 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48656 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48657 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48658 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48659 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48660 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48661 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48662 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48663 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48664 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48665 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48666 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48667 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48672 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48673 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48674 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48675 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48676 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48677 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48680 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48681 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48682 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48683 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48684 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48686 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48687 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48688 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48689 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48690 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48691 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48692 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48693 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48694 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48695 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48696 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48697 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48698 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48699 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48700 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48701 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48702 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48703 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48704 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48705 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48706 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48707 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48708 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48709 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48710 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48711 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48712 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48713 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48714 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48715 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48716 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48717 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48718 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48719 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48720 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48721 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48722 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48723 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48724 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48725 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48726 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48727 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48728 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48729 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48730 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48731 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48732 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48733 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48734 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48735 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48736 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48737 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48738 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48739 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48740 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48741 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48742 * sysdeps/ieee754/k_standard.c: Likewise.
48743 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48744 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48745 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48746 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48747 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48748 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48749 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48750 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48751 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48752 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48753 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48756 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48757 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48758 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48759 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48760 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48761 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48762 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48763 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48764 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48765 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48766 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48767 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48768 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48769 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48771 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48772 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48773 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48774 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48775 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48776 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48777 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48778 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48779 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48780 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48781 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48782 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48783 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48784 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48785 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48786 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48789 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48790 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48791 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48792 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48793 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48794 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48795 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48796 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48799 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48800 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48801 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48802 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48803 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48804 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48805 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48806 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48807 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48809 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48810 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48811 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48813 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48815 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48816 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48817 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48819 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48820 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48821 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48822 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48823 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48825 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48826 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48827 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48828 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48829 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48831 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48832 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48833 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48834 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48835 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48836 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48837 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48838 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48840 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48841 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48842 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48844 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48846 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48847 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48848 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48849 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48850 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48851 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48852 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48853 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48854 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48855 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48856 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48857 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48858 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48859 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48860 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48861 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48862 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48863 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48864 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48865 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48866 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48867 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48868 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48869 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48870 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48871 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48872 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48873 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48874 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48875 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48876 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48877 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48878 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48879 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48880 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48881 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48882 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48883 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48884 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48885 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48886 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48887 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48888 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48889 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48890 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48891 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48892 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48893 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48894 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48895 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48896 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48897 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48898 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48899 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48900 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48901 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48902 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48903 * sysdeps/ieee754/s_lib_version.c: Likewise.
48904 * sysdeps/ieee754/s_matherr.c: Likewise.
48905 * sysdeps/ieee754/s_signgam.c: Likewise.
48906 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48907 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48908 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48909 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48910 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48911 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48912 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48913 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48914 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48915 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48916 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48917 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48918 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48919 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48920 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48921 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48922 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48923 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48924 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48926 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48927
1991fa03
JM
489282012-03-09 Joseph Myers <joseph@codesourcery.com>
48929
48930 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48931 * sunrpc/rpc_main.c: Likewise.
48932 * sunrpc/rpc_svcout.c: Likewise.
48933
60d6f5a6
DM
489342012-03-09 David S. Miller <davem@davemloft.net>
48935
48936 * include/math_private.h: New file.
48937
4962050e
JM
489382012-03-09 Joseph Myers <joseph@codesourcery.com>
48939
02a6f887
JM
48940 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48941 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48942 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48943 from <bits/socket_type.h>.
48944 (enum __socket_type): Don't define here.
48945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48947 bits/socket_type.h.
48948
c6e013c1
JM
48949 [BZ #13566]
48950 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48951 checking __USE_GNU.
48952
4962050e
JM
48953 * Makerules ($(inst_includedir)/%.h): New rule.
48954 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48955 (install-others): Remove variable setting.
48956 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48957
38842f45
RH
489582012-03-08 Richard Henderson <rth@twiddle.net>
48959
67bb6da6
RH
48960 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48961 from macro to inline function; merge with the
48962 !__LIBC_INTERNAL_MATH_INLINES version.
48963 (__ieee754_sqrtf): Likewise.
48964
15194b4b
RH
48965 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48966 to inline function.
48967 (__rintf, __floor, __floorf): Likewise.
48968
64e21ede
RH
48969 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48970 macro to inline function.
48971 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48972
38842f45
RH
48973 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48974 not <math/math_private.h>.
48975
c64bf5fe
DM
489762012-03-08 David S. Miller <davem@davemloft.net>
48977
48978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48979 copyright year.
48980 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48981
82d86f28
TS
489822012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48983
48984 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48985 normalization.
48986 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48987 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48988
aea5d727
UD
489892012-03-08 Ulrich Drepper <drepper@gmail.com>
48990
48991 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48992 be defined individually, they must be defined as a block. Define
48993 S for printing a string instead of hidint the different by using a
48994 macro for adding the 'l'.
48995 * stdio-common/tst-fphex-wide.c: Adjust.
48996
70bca0a3
MP
489972012-03-07 Marek Polacek <polacek@redhat.com>
48998
48999 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49000
65b81130
MP
490012012-03-08 Marek Polacek <polacek@redhat.com>
49002
49003 [BZ #13806]
49004 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49005 * stdio-common/tst-fphex.c: Define a few macros to make the
49006 test reusable. Use them.
49007 * stdio-common/tst-fphex-wide.c: New file.
49008
07037eeb
JM
490092012-03-08 Joseph Myers <joseph@codesourcery.com>
49010
a7a93d50
JM
49011 [BZ #6911]
49012 * manual/macros.texi (gnusystems): New macro.
49013 (nongnusystems): Likewise.
49014 (gnulinuxhurdsystems): Likewise.
49015 (gnuhurdsystems): Likewise..
49016 (gnulinuxsystems): Likewise.
49017 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49018 variants of the GNU system, not "GNU system".
49019 * manual/conf.texi: Likewise.
49020 * manual/errno.texi: Likewise. Update example of errno macro
49021 expansion.
49022 * manual/filesys.texi: Likewise.
49023 (getumask): Document as specific to GNU/Hurd.
49024 * manual/install.texi: Likewise. Reword some references to
49025 GNU/Linux.
49026 * manual/intro.texi: Likewise.
49027 * manual/io.texi: Likewise.
49028 (File Name Portability): Detail which constraints are inapplicable
49029 to all GNU systems and which are only inapplicable to GNU/Hurd.
49030 * manual/job.texi: Likewise.
49031 * manual/llio.texi: Likewise.
49032 (O_NOCTTY): Document as present on GNU/Linux.
49033 * manual/maint.texi: Likewise.
49034 * manual/memory.texi: Likewise.
49035 * manual/pattern.texi: Likewise.
49036 * manual/pipe.texi: Likewise.
49037 * manual/process.texi: Likewise.
49038 * manual/resource.texi: Likewise.
49039 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49040 child on GNU/Hurd.
49041 * manual/setjmp.texi: Likewise.
49042 * manual/signal.texi: Likewise.
49043 * manual/startup.texi: Likewise.
49044 * manual/stdio.texi: Likewise.
49045 * manual/terminal.texi: Likewise.
49046 (ONLCR): Document as POSIX.
49047 (OXTABS): Document availability on GNU/Linux as XTABS.
49048 (ONOEOT): Document availability separately from other bits.
49049 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49050 * manual/time.texi: Likewise.
49051 * manual/users.texi: Likewise.
49052 * INSTALL: Regenerated.
49053 * sysdeps/gnu/errlist.c: Regenerated.
49054
07037eeb
JM
49055 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49056 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49057 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49058 puts.
49059 * configure: Regenerated.
49060
d1d3431a
JM
490612012-03-07 Joseph Myers <joseph@codesourcery.com>
49062
af6a1e37
JM
49063 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49064 default includes instead of AC_HEADER_CHECK.
49065 * sysdeps/i386/configure: Regenerated.
49066
d1d3431a
JM
49067 [BZ #10716]
49068 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49069 * math/s_cacoshf.c (__cacoshf): Likewise.
49070 * math/s_cacoshl.c (__cacoshl): Likewise.
49071 * math/s_casinh.c (__casinh): Set signs of result from argument.
49072 * math/s_casinhf.c (__casinhf): Likewise.
49073 * math/s_casinhl.c (__casinhl): Likewise.
49074 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49075 (casinh_test): Add more tests.
49076 * sysdeps/i386/fpu/libm-test-ulps: Update.
49077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49078
482ff4da
UD
490792012-03-07 Ulrich Drepper <drepper@gmail.com>
49080
872fda05
UD
49081 * po/zh_TW.po: Update from translation team.
49082
a4300c7a
UD
49083 * login/Makefile (distribute): Remove variable.
49084 * catgets/Makefile: Likewise.
49085 * mach/Makefile: Likewise.
49086 * malloc/Makefile: Likewise.
49087 * misc/Makefile: Likewise.
49088 * iconv/Makefile: Likewise.
49089 * nscd/Makefile: Likewise.
49090 * hurd/Makefile: Likewise.
49091 * manual/Makefile: Likewise.
49092 * locale/Makefile: Likewise.
49093 * intl/Makefile: Likewise.
49094 * conform/Makefile: Likewise.
49095 * nss/Makefile: Likewise.
49096 * time/Makefile: Likewise.
49097 * soft-fp/Makefile: Likewise.
49098 * dirent/Makefile: Likewise.
49099 * gmon/Makefile: Likewise.
49100 * po/Makefile: Likewise.
49101 * rt/Makefile: Likewise.
49102 * socket/Makefile: Likewise.
49103 * math/Makefile: Likewise.
49104 * signal/Makefile: Likewise.
49105 * debug/Makefile: Likewise.
49106 * elf/Makefile: Likewise.
49107 * timezone/Makefile: Likewise.
49108 * stdlib/Makefile: Likewise.
49109 * iconvdata/Makefile: Likewise.
49110 * sunrpc/Makefile: Likewise.
49111 * io/Makefile: Likewise.
49112 * argp/Makefile: Likewise.
49113 * inet/Makefile: Likewise.
49114 * hesiod/Makefile: Likewise.
49115 * grp/Makefile: Likewise.
49116 * csu/Makefile: Likewise.
49117 * wctype/Makefile: Likewise.
49118 * crypt/Makefile: Likewise.
49119 * libio/Makefile: Likewise.
49120 * string/Makefile: Likewise.
49121 * nis/Makefile: Likewise.
49122 * resolv/Makefile: Likewise.
49123 * stdio-common/Makefile: Likewise.
49124 * wcsmbs/Makefile: Likewise.
49125 * dlfcn/Makefile: Likewise.
49126 * posix/Makefile: Likewise.
49127
3b7c4e74 49128 [BZ #6959]
482ff4da
UD
49129 * timezone/Makefile: Don't install timezone files, just the programs
49130 and scripts.
49131
f72ed77d
UD
491322012-03-06 Ulrich Drepper <drepper@gmail.com>
49133
a000466f
UD
49134 * nss/databases.def: Add missing gshadow entry.
49135
f72ed77d
UD
49136 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49137
a53b7a4e
MP
491382012-03-06 Marek Polacek <polacek@redhat.com>
49139
49140 [BZ #13726]
49141 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49142 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49143 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49144 * stdio-common/tst-long-dbl-fphex.c: New file.
49145
e9258400
DM
491462012-03-06 David S. Miller <davem@davemloft.net>
49147
49148 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49149 (set_obp_int): New function.
49150 (get_obp_int): New function.
49151 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
49152 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49153 Avoid unused variable warnings on 'val' and use builtin_expect.
49154 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49155 __builtin_expect.
e9258400
DM
49156 (INLINE_CLONE_SYSCALL): Likewise.
49157
3bd2c723
DM
491582012-03-05 David S. Miller <davem@davemloft.net>
49159
49160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49161
bbb78d03
AS
491622012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49163
884c5db4
AS
49164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49165
bbb78d03
AS
49166 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49167 only for |x| >= 40.
49168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49169
1c9f702a 491702012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
49171
49172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49173 Replace gettimeofday with __vdso_gettimeofday.
49174
7be16f82
RM
49175 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49176 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49177 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
49178
49179 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49180 time with __vdso_time.
49181
ed58a00f
JM
491822012-03-05 Joseph Myers <joseph@codesourcery.com>
49183
49184 * manual/lang.texi (size_t): Note types to which size_t may be
49185 equivalent with the GNU C Library, but do not describe when
49186 differences between them are significant.
49187
30ee4ced
AJ
491882012-03-05 Andreas Jaeger <aj@suse.de>
49189
49190 * sysdeps/i386/fpu/libm-test-ulps: Update.
49191
b7cd39e8
JM
491922012-03-05 Joseph Myers <joseph@codesourcery.com>
49193
49194 [BZ #3976]
49195 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49196 (__ieee754_pow): Save and restore rounding mode and use
49197 round-to-nearest for main computations.
49198 * math/libm-test.inc (pow_test_tonearest): New function.
49199 (pow_test_towardzero): Likewise.
49200 (pow_test_downward): Likewise.
49201 (pow_test_upward): Likewise.
49202 (main): Call the new functions.
49203 * sysdeps/i386/fpu/libm-test-ulps: Update.
49204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
49205
49206 [BZ #3976]
49207 * math/libm-test.inc (cosh_test_tonearest): New function.
49208 (cosh_test_towardzero): Likewise.
49209 (cosh_test_downward): Likewise.
49210 (cosh_test_upward): Likewise.
49211 (sinh_test_tonearest): Likewise.
49212 (sinh_test_towardzero): Likewise.
49213 (sinh_test_downward): Likewise.
49214 (sinh_test_upward): Likewise.
49215 (main): Call the new functions.
49216 * sysdeps/i386/fpu/libm-test-ulps: Update.
49217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49218
6c6a98c9
TV
492192012-03-05 Tom de Vries <tom@codesourcery.com>
49220
49221 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49222 default stack guard is set in last bytes.
49223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49224
21bb2d2e 492252012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49226
21bb2d2e 49227 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49228
21bb2d2e
AJ
49229 [BZ #13656]
49230 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49231 possibly allocate from heap instead of stack.
49232 * stdio-common/bug-vfprintf-nargs.c: New file.
49233 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49234
c6922934
AS
492352012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49236
49237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49238
bc957d53
MP
492392012-03-03 Marek Polacek <polacek@redhat.com>
49240
49241 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49242 * math/math_private.h: Likewise.
49243 * stdlib/tst-strtod.c: Likewise.
49244 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49245 * sysdeps/x86_64/bits/atomic.h: Likewise.
49246
6358490d
DM
492472012-03-02 David S. Miller <davem@davemloft.net>
49248
49249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49253 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49254 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49255 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49256 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49257
01ae168d
RM
492582012-03-02 Roland McGrath <roland@hack.frob.com>
49259
d9a17c07
RM
49260 [BZ #13792]
49261 * manual/examples/README: New file, says the example source files
49262 can be used under GPL>=2.
49263 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49264 line containing just "*/".
49265 * manual/examples/add.c: Add copyright header (GPL>=2).
49266 * manual/examples/argp-ex1.c: Likewise.
49267 * manual/examples/argp-ex2.c: Likewise.
49268 * manual/examples/argp-ex3.c: Likewise.
49269 * manual/examples/argp-ex4.c: Likewise.
49270 * manual/examples/atexit.c: Likewise.
49271 * manual/examples/db.c: Likewise.
49272 * manual/examples/dir.c: Likewise.
49273 * manual/examples/dir2.c: Likewise.
49274 * manual/examples/execinfo.c: Likewise.
49275 * manual/examples/filecli.c: Likewise.
49276 * manual/examples/filesrv.c: Likewise.
49277 * manual/examples/fmtmsgexpl.c: Likewise.
49278 * manual/examples/genpass.c: Likewise.
49279 * manual/examples/inetcli.c: Likewise.
49280 * manual/examples/inetsrv.c: Likewise.
49281 * manual/examples/isockad.c: Likewise.
49282 * manual/examples/longopt.c: Likewise.
49283 * manual/examples/memopen.c: Likewise.
49284 * manual/examples/memstrm.c: Likewise.
49285 * manual/examples/mkfsock.c: Likewise.
49286 * manual/examples/mkisock.c: Likewise.
49287 * manual/examples/mygetpass.c: Likewise.
49288 * manual/examples/pipe.c: Likewise.
49289 * manual/examples/popen.c: Likewise.
49290 * manual/examples/rprintf.c: Likewise.
49291 * manual/examples/search.c: Likewise.
49292 * manual/examples/select.c: Likewise.
49293 * manual/examples/setjmp.c: Likewise.
49294 * manual/examples/sigh1.c: Likewise.
49295 * manual/examples/sigusr.c: Likewise.
49296 * manual/examples/stpcpy.c: Likewise.
49297 * manual/examples/strdupa.c: Likewise.
49298 * manual/examples/strftim.c: Likewise.
49299 * manual/examples/strncat.c: Likewise.
49300 * manual/examples/subopt.c: Likewise.
49301 * manual/examples/swapcontext.c: Likewise.
49302 * manual/examples/termios.c: Likewise.
49303 * manual/examples/testopt.c: Likewise.
49304 * manual/examples/testpass.c: Likewise.
49305 * manual/examples/timeval_subtract.c: Likewise.
49306
01ae168d
RM
49307 [BZ #13792]
49308 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49309 function to ...
49310 * manual/timeval_subtract.c.texi: ... here, new file.
49311
49efa33d
DM
493122012-03-02 David S. Miller <davem@davemloft.net>
49313
49314 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49315
28afd92d
JM
493162012-03-02 Joseph Myers <joseph@codesourcery.com>
49317
804360ed
JM
49318 [BZ #3976]
49319 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49320 (__sin): Save and restore rounding mode and use round-to-nearest
49321 for all computations.
49322 (__cos): Save and restore rounding mode and use round-to-nearest
49323 for all computations.
49324 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49325 <fenv.h>.
49326 (tan): Save and restore rounding mode and use round-to-nearest for
49327 all computations.
49328 * math/libm-test.inc (cos_test_tonearest): New function.
49329 (cos_test_towardzero): Likewise.
49330 (cos_test_downward): Likewise.
49331 (cos_test_upward): Likewise.
49332 (sin_test_tonearest): Likewise.
49333 (sin_test_towardzero): Likewise.
49334 (sin_test_downward): Likewise.
49335 (sin_test_upward): Likewise.
49336 (tan_test_tonearest): Likewise.
49337 (tan_test_towardzero): Likewise.
49338 (tan_test_downward): Likewise.
49339 (tan_test_upward): Likewise.
49340 (main): Call the new functions.
49341 * sysdeps/i386/fpu/libm-test-ulps: Update.
49342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49343
a6d06d7b
JM
49344 [BZ #10135]
49345 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49346 small n, then large n, before computing and testing k+n.
49347 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49349 Likewise.
49350 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49351 Likewise.
49352 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49353 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49354 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49355 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49358 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49359 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49360 * math/libm-test.inc (scalbn_test): Add more tests.
49361 (scalbln_test): Likewise.
49362
07e12bb3
JM
49363 * manual/filesys.texi (mode_t): Describe constraints on size and
49364 signedness, not exact equivalence to a particular type.
49365 (ino_t): Likewise.
49366 (ino64_t): Likewise.
49367 (dev_t): Likewise.
49368 (nlink_t): Likewise.
49369 (blkcnt_t): Likewise.
49370 (blkcnt64_t): Likewise.
49371 * manual/llio.texi (off_t): Likewise.
49372
28afd92d
JM
49373 [BZ #3976]
49374 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49375 (__ieee754_exp): Save and restore rounding mode and use
49376 round-to-nearest for all computations.
49377 * math/libm-test.inc (exp_test_tonearest): New function.
49378 (exp_test_towardzero): Likewise.
49379 (exp_test_downward): Likewise.
49380 (exp_test_upward): Likewise.
49381 (main): Call the new functions.
49382 * sysdeps/i386/fpu/libm-test-ulps: Update.
49383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49384
b1eeb65d
CD
493852012-03-01 Chris Demetriou <cgd@google.com>
49386
49387 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49388 have predictable order.
49389
53362a4b
DM
493902012-03-01 David S. Miller <davem@davemloft.net>
49391
3c969083
DM
49392 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49393
759707de
DM
49394 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49395 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49396 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49397 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49398
dfdb8ff2
DM
49399 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49400 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49401 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49403 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49404 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49405 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49406 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49407 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49408
ead89f96
DM
49409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49410
7f66bd07
DM
49411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49412 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49413 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49414
53362a4b
DM
49415 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49416 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49417 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49418 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49419 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49421 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49422 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49423 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49424 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49425 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49428 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49429 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49430 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49431 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49432 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49433 * sysdeps/sparc/elf/configure: Regenerated.
49434
7b1902cb
JM
494352012-03-01 Joseph Myers <joseph@codesourcery.com>
49436
bec039bc
JM
49437 * configure.in (AS, LD): Require binutils 2.20 or later.
49438 * configure: Regenerated.
49439 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49440 as required minimum version.
49441 * INSTALL: Regenerated.
49442
7b1902cb
JM
49443 [BZ #2541]
49444 [BZ #4108]
49445 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49446 before squaring exponent.
49447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49448 bottom long double and 27 bits of top long double before squaring
49449 exponent.
49450 * math/libm-test.inc (erfc_test): Add more tests.
49451 * sysdeps/i386/fpu/libm-test-ulps: Update.
49452 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49454
f775c276
KT
494552012-03-01 Kai Tietz <ktietz@redhat.com>
49456
49457 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49458 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49459 containing bit-fields.
49460 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49461 * soft-fp/single.h (_FP_UNION_S): Likewise.
49462 * soft-fp/double.h (_FP_UNION_D): Likewise.
49463
5b8a4d4a
JM
494642012-02-29 Joseph Myers <joseph@codesourcery.com>
49465
0bab47b6
JM
49466 [BZ #13786]
49467 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49468 not include ../strcmp.S.
49469 [USE_AS_STRNCASECMP_L]: Likewise.
49470 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49471 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49472 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49473 (__strncasecmp_l_ia32): Define as alias to
49474 __strncasecmp_l_nonascii.
49475
0fcad3e2
JM
49476 [BZ #5794]
49477 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49478 * sysdeps/i386/fpu/libm-test-ulps: Update.
49479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49480
5b8a4d4a
JM
49481 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49483
8fdceb2e
JL
494842012-02-29 Jeff Law <law@redhat.com>
49485
49486 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49487 out of bounds read.
49488
1f393a11
MP
494892012-02-29 Marek Polacek <polacek@redhat.com>
49490
49491 [BZ #13706]
49492 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49493 * elf/Makefile: Add rules to run tst-unused-dep.out.
49494
8847f037
DM
494952012-02-28 David S. Miller <davem@davemloft.net>
49496
49497 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49498 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49501 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49502 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49503
169d7f11
JM
495042012-02-29 Joseph Myers <joseph@codesourcery.com>
49505
49506 * math/libm-test.inc (llround_test): Move one test from
49507 lround_test. Use TEST_f_L in moved test.
49508 (lround_test): Move misplaced test to llround_test. Add testcase
49509 from bug 2561.
49510
39adf059
UD
495112012-02-28 Ulrich Drepper <drepper@gmail.com>
49512
49513 * sysdeps/x86_64/fpu/e_expf.S: New file.
49514 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49515
71b5d1c5
SB
495162012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49517
49518 [BZ #13637]
49519 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49520 of remain_len that may cause incomplete multi-byte character and
49521 false match.
49522 * posix/bug-regex33.c: New file.
49523 * posix/Makefile (tests): Add bug-regex33.
49524
1f77f049
JM
495252012-02-28 Joseph Myers <joseph@codesourcery.com>
49526
49527 * manual/macros.texi: New file.
49528 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49529 * manual/libc.texinfo: Include macros.texi.
49530 * manual/creatute.texi: Likewise.
49531 * manual/install.texi: Likewise.
49532 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49533 @glibcadj{} in references to the GNU C Library.
49534 * manual/charset.texi: Likewise.
49535 * manual/conf.texi: Likewise.
49536 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49537 when not using those macros.
49538 * manual/creature.texi: Likewise.
49539 * manual/crypt.texi: Likewise.
49540 * manual/errno.texi: Likewise.
49541 * manual/filesys.texi: Likewise.
49542 * manual/header.texi: Likewise.
49543 * manual/install.texi: Likewise.
49544 * manual/intro.texi: Likewise.
49545 * manual/io.texi: Likewise.
49546 * manual/job.texi: Likewise.
49547 * manual/lang.texi: Likewise.
49548 * manual/libc.texiinfo: Likewise.
49549 * manual/llio.texi: Likewise.
49550 * manual/locale.texi: Likewise.
49551 * manual/maint.texi: Likewise.
49552 * manual/math.texi: Likewise.
49553 * manual/memory.texi: Likewise.
49554 * manual/message.texi: Likewise.
49555 * manual/nss.texi: Likewise.
49556 * manual/pattern.texi: Likewise.
49557 * manual/process.texi: Likewise.
49558 * manual/resource.texi: Likewise.
49559 * manual/search.texi: Likewise.
49560 * manual/setjmp.texi: Likewise.
49561 * manual/signal.texi: Likewise.
49562 * manual/socket.texi: Likewise.
49563 * manual/startup.texi: Likewise.
49564 * manual/stdio.texi: Likewise.
49565 * manual/string.texi: Likewise.
49566 * manual/sysinfo.texi: Likewise.
49567 * manual/syslog.texi: Likewise.
49568 * manual/terminal.texi: Likewise.
49569 * manual/time.texi: Likewise.
49570 * manual/users.texi: Likewise.
49571 * INSTALL: Regenerated.
49572 * NOTES: Regenerated.
d40c5d54 49573 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49574
450bf206
AS
495752012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49576
49577 * include/dirent.h: Include <dirstream.h> before
49578 <dirent/dirent.h>.
49579
741a235b
DM
495802012-02-28 David S. Miller <davem@davemloft.net>
49581
49582 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49583 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49584 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49585 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49586
d6b5aa58
DM
495872012-02-27 David S. Miller <davem@davemloft.net>
49588
1aff59a3
DM
49589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49591 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49592 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49593
d6b5aa58
DM
49594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49595 frame pointer instead of stack pointer relative arg slot.
49596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49597 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49598 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49599
433f48bf
CD
496002012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49601
49602 [BZ #3992]
49603 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49604
d674b76d
DM
496052012-02-27 David S. Miller <davem@davemloft.net>
49606
49607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49611 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49612 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49613 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49614 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49615
0e7727f7
JM
496162012-02-27 Joseph Myers <joseph@codesourcery.com>
49617
49618 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49619 later. Allow versions 5-9.
43be4ca2 49620 * configure: Regenerated.
0e7727f7
JM
49621 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49622 required minimum version and 4.6 as recommended version. Do not
49623 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49624 * INSTALL: Regenerated.
0e7727f7 49625
a78bc654
DM
496262012-02-27 David S. Miller <davem@davemloft.net>
49627
428d5830
DM
49628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49632 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49633 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49634 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49635 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49636
a78bc654
DM
49637 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49638 manipulate bits before adding and subtracting TWO112[sx].
49639 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49640
4579f81c
RM
496412012-02-27 Roland McGrath <roland@hack.frob.com>
49642
36c8acb4
RM
49643 [BZ #13775]
49644 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49645 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49646 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49647 being in POSIX, because they are in 1003.1-2008.
49648
84ad622b
RM
49649 * rt/tst-aio.c: Include <fcntl.h>.
49650 * rt/tst-aio7.c: Likewise.
49651 * rt/tst-aio64.c: Likewise.
49652
4579f81c
RM
49653 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49654
abd923db
JM
496552012-02-27 Joseph Myers <joseph@codesourcery.com>
49656
49657 * manual/install.texi (--with-headers): Describe headers as
49658 interface headers, not private headers.
49659 (Specific advice for GNU/Linux systems): Describe use of headers
49660 from "make headers_install", not private headers from older
49661 kernels.
43be4ca2 49662 * INSTALL: Regenerated.
abd923db
JM
49663 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49664 Change to 2.6.19.
49665 * sysdeps/unix/sysv/linux/configure: Regenerated.
49666
6664049b
JM
49667 * manual/llio.texi (fclean): Remove documentation.
49668
bb8b6697
JM
49669 * manual/Makefile (libc-texi-generated): New variable. Include
49670 version.texi.
49671 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49672 $(libc-texi-generated), not duplicated list of files.
49673 (version.texi, stamp-version): New rules.
49674 (realclean): Remove $(libc-texi-generated), not individual files
49675 from that list. Do not remove dir-add.texinfo.
49676 * manual/libc.texinfo: Comment out uses of edition numbers and
49677 references to printed manual. Remove last-updated dates.
49678 (EDITION): Comment out.
49679 (ISBN): Likewise.
49680 (VERSION, UPDATED): Remove.
49681 (version.texi): Include.
49682
12e5c3b9
AS
496832012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49684
49685 * sysdeps/posix/spawni.c: Include <signal.h>.
49686 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49687 * sysdeps/pthread/aio_fsync.c: Likewise.
49688
4efeffc1 496892012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49690
ba63ba08
UD
49691 * conform/Makefile (tests): Run only when not cross-compiling and
49692 when fast-check is not defined.
49693
d94a4670
UD
49694 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49695 * conform/data/limits.h-data: Fixes for POSIX2008.
49696 * conform/run-conformtest.sh: Run all tests.
49697 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49698 headers.
49699 * include/bits/dlfcn.h: Likewise.
49700 * include/langinfo.h: Likewise.
49701 * include/monetary.h: Likewise.
49702 * include/sys/poll.h: Likewise.
49703
49704 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49705 for __USE_GNU.
49706 * posix/spawn.h: Define __need_sigset_t.
49707 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49708 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49709 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49710 to get sigevent_t only.
49711 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49712 only for __USE_GNU.
49713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49714 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49715 process_vm_writev only for __USE_GNU.
49716 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49717
49718 * conform/Makefile: For now ignore errors from run-conformtest.
49719 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49720 POSIX to avoid namespace pollution. Don't prepend headers.
49721 * conform/data/aio.h-data: Fixes for POSIX testing.
49722 * conform/data/fcntl.h-data: Likewise.
49723 * conform/data/glob.h-data: Likewise.
49724 * conform/data/grp.h-data: Likewise.
49725 * conform/data/pthread.h-data: Likewise.
49726 * conform/data/pwd.h-data: Likewise.
49727 * conform/data/signal.h-data: Likewise.
49728 * conform/data/spawn.h-data: Likewise.
49729 * conform/data/stdio.h-data: Likewise.
49730 * conform/data/stdlib.h-data: Likewise.
49731 * conform/data/stropts.h-data: Likewise.
49732 * conform/data/sys/mman.h-data: Likewise.
49733 * conform/data/sys/stat.h-data: Likewise.
49734 * conform/data/sys/types.h-data: Likewise.
49735 * conform/data/sys/wait.h-data: Likewise.
49736 * conform/data/time.h-data: Likewise.
49737 * conform/data/unistd.h-data: Likewise.
49738 * conform/data/utime.h-data: Likewise.
49739
49740 * io/sys/stat.h: fchmod was always in POSIX.
49741 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49742 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49743 * rt/aio.h: Define __need_timespec before including <time.h>.
49744 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49745 struct. Add forward declaration of pthread_attr_t and use it in
49746 sigevent.
49747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49749 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49750 always remove CLK_TCK definition.
49751
c20105c3
AS
497522012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49753
49754 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49755
7a270350
UD
497562012-02-25 Ulrich Drepper <drepper@gmail.com>
49757
31341567
UD
49758 * conform/run-conformtest.sh: New file.
49759 * conform/Makefile: Run run-conformtest for tests.
49760 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49761 support.
49762
49763 * conform/data/uchar.h-data: New file.
49764 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49765 * conform/data/arpa/inet.h-data: Likewise.
49766 * conform/data/assert.h-data: Likewise.
49767 * conform/data/complex.h-data: Likewise.
49768 * conform/data/cpio.h-data: Likewise.
49769 * conform/data/ctype.h-data: Likewise.
49770 * conform/data/dirent.h-data: Likewise.
49771 * conform/data/dlfcn.h-data: Likewise.
49772 * conform/data/errno.h-data: Likewise.
49773 * conform/data/fcntl.h-data: Likewise.
49774 * conform/data/float.h-data: Likewise.
49775 * conform/data/fmtmsg.h-data: Likewise.
49776 * conform/data/fnmatch.h-data: Likewise.
49777 * conform/data/ftw.h-data: Likewise.
49778 * conform/data/glob.h-data: Likewise.
49779 * conform/data/grp.h-data: Likewise.
49780 * conform/data/iconv.h-data: Likewise.
49781 * conform/data/inttypes.h-data: Likewise.
49782 * conform/data/langinfo.h-data: Likewise.
49783 * conform/data/libgen.h-data: Likewise.
49784 * conform/data/limits.h-data: Likewise.
49785 * conform/data/locale.h-data: Likewise.
49786 * conform/data/math.h-data: Likewise.
49787 * conform/data/monetary.h-data: Likewise.
49788 * conform/data/mqueue.h-data: Likewise.
49789 * conform/data/ndbm.h-data: Likewise.
49790 * conform/data/net/if.h-data: Likewise.
49791 * conform/data/netdb.h-data: Likewise.
49792 * conform/data/netinet/in.h-data: Likewise.
49793 * conform/data/nl_types.h-data: Likewise.
49794 * conform/data/poll.h-data: Likewise.
49795 * conform/data/pthread.h-data: Likewise.
49796 * conform/data/pwd.h-data: Likewise.
49797 * conform/data/regex.h-data: Likewise.
49798 * conform/data/sched.h-data: Likewise.
49799 * conform/data/search.h-data: Likewise.
49800 * conform/data/semaphore.h-data: Likewise.
49801 * conform/data/setjmp.h-data: Likewise.
49802 * conform/data/signal.h-data: Likewise.
49803 * conform/data/spawn.h-data: Likewise.
49804 * conform/data/stdarg.h-data: Likewise.
49805 * conform/data/stdio.h-data: Likewise.
49806 * conform/data/stdlib.h-data: Likewise.
49807 * conform/data/string.h-data: Likewise.
49808 * conform/data/strings.h-data: Likewise.
49809 * conform/data/stropts.h-data: Likewise.
49810 * conform/data/sys/ipc.h-data: Likewise.
49811 * conform/data/sys/mman.h-data: Likewise.
49812 * conform/data/sys/msg.h-data: Likewise.
49813 * conform/data/sys/resource.h-data: Likewise.
49814 * conform/data/sys/select.h-data: Likewise.
49815 * conform/data/sys/sem.h-data: Likewise.
49816 * conform/data/sys/shm.h-data: Likewise.
49817 * conform/data/sys/socket.h-data: Likewise.
49818 * conform/data/sys/stat.h-data: Likewise.
49819 * conform/data/sys/statvfs.h-data: Likewise.
49820 * conform/data/sys/time.h-data: Likewise.
49821 * conform/data/sys/timeb.h-data: Likewise.
49822 * conform/data/sys/times.h-data: Likewise.
49823 * conform/data/sys/types.h-data: Likewise.
49824 * conform/data/sys/uio.h-data: Likewise.
49825 * conform/data/sys/un.h-data: Likewise.
49826 * conform/data/sys/utsname.h-data: Likewise.
49827 * conform/data/sys/wait.h-data: Likewise.
49828 * conform/data/syslog.h-data: Likewise.
49829 * conform/data/tar.h-data: Likewise.
49830 * conform/data/termios.h-data: Likewise.
49831 * conform/data/utime.h-data: Likewise.
49832 * conform/data/utmpx.h-data: Likewise.
49833 * conform/data/varargs.h-data: Likewise.
49834 * conform/data/wchar.h-data: Likewise.
49835 * conform/data/wctype.h-data: Likewise.
49836 * conform/data/wordexp.h-data: Likewise.
49837
49838 * include/stropts.h: New file.
49839 * include/uchar.h: New file.
49840 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49841 * include/assert.h: Likewise.
49842 * include/ctype.h: Likewise.
49843 * include/dirent.h: Likewise.
49844 * include/dlfcn.h: Likewise.
49845 * include/fcntl.h: Likewise.
49846 * include/fnmatch.h: Likewise.
49847 * include/glob.h: Likewise.
49848 * include/grp.h: Likewise.
49849 * include/libio.h: Likewise.
49850 * include/locale.h: Likewise.
49851 * include/math.h: Likewise.
49852 * include/net/if.h: Likewise.
49853 * include/netdb.h: Likewise.
49854 * include/netinet/in.h: Likewise.
49855 * include/pthread.h: Likewise.
49856 * include/pwd.h: Likewise.
49857 * include/regex.h: Likewise.
49858 * include/sched.h: Likewise.
49859 * include/search.h: Likewise.
49860 * include/setjmp.h: Likewise.
49861 * include/signal.h: Likewise.
49862 * include/stdio.h: Likewise.
49863 * include/stdlib.h: Likewise.
49864 * include/string.h: Likewise.
49865 * include/sys/cdefs.h: Likewise.
49866 * include/sys/mman.h: Likewise.
49867 * include/sys/msg.h: Likewise.
49868 * include/sys/resource.h: Likewise.
49869 * include/sys/select.h: Likewise.
49870 * include/sys/socket.h: Likewise.
49871 * include/sys/stat.h: Likewise.
49872 * include/sys/statvfs.h: Likewise.
49873 * include/sys/time.h: Likewise.
49874 * include/sys/times.h: Likewise.
49875 * include/sys/uio.h: Likewise.
49876 * include/sys/utsname.h: Likewise.
49877 * include/sys/wait.h: Likewise.
49878 * include/termios.h: Likewise.
49879 * include/time.h: Likewise.
49880 * include/ulimit.h: Likewise.
49881 * include/unistd.h: Likewise.
49882 * include/utime.h: Likewise.
49883 * include/wchar.h: Likewise.
49884 * include/wctype.h: Likewise.
49885 * include/wordexp.h: Likewise.
49886
49887 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49888
7a270350
UD
49889 * time/time.h: TIME_UTC must be a macro.
49890 Make timespec_get available for ISO C11 only as well.
49891
7724defc
UD
498922012-02-24 Ulrich Drepper <drepper@gmail.com>
49893
49894 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49895 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49896
6b1d1d46
JM
498972012-02-24 Joseph Myers <joseph@codesourcery.com>
49898
49899 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49900
0f8bbd69
JM
499012012-02-24 Joseph Myers <joseph@codesourcery.com>
49902
49903 * manual/texinfo.tex: Update to version 2012-01-19.16.
49904
66ab80bc
JM
499052012-02-24 Joseph Myers <joseph@codesourcery.com>
49906
49907 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49908
74981cc5
RM
499092012-02-24 Roland McGrath <roland@hack.frob.com>
49910
ee968201
RM
49911 [BZ #13738]
49912 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49913 * manual/fdl-1.3.texi: New file.
49914 * manual/fdl-1.1.texi: File removed.
49915
74981cc5
RM
49916 [BZ #13738]
49917 * manual/libc.texinfo (FDL_VERSION): New @set.
49918 Use it for mention of FDL in cover text.
49919 (Documentation License): Use it in @include file name.
49920
7bb764bc
JM
499212012-02-22 Joseph Myers <joseph@codesourcery.com>
49922 Roland McGrath <roland@hack.frob.com>
49923
49924 [BZ #5461]
57f41c40
AS
49925 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49926 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49927 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49928 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49929 name.
49930 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49931
6cbeae47
JM
499322012-02-22 Joseph Myers <joseph@codesourcery.com>
49933
49934 [BZ #2547]
49935 [BZ #11365]
49936 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49937 manipulate bits before adding and subtracting TWO23[sx].
49938 * math/libm-test.inc (nearbyint_test): Add more tests.
49939
fe45ce09
JM
499402012-02-22 Joseph Myers <joseph@codesourcery.com>
49941
49942 [BZ #2548]
49943 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49944 bits before adding and subtracting TWO23[sx].
49945 * math/libm-test.inc (rint_test): Add more tests.
49946 (rint_test_tonearest): Likewise.
49947 (rint_test_towardzero): Likewise.
49948 (rint_test_downward): Likewise.
49949 (rint_test_upward: Likewise.
49950
ff3b3d82
JM
499512012-02-22 Joseph Myers <joseph@codesourcery.com>
49952
49953 [BZ #10110]
49954 * include/stdc-predef.h: New file. Extracted from features.h.
49955 * include/features.h: Include stdc-predef.h.
49956 * Makefile (headers): Add stdc-predef.h.
49957 * CONFORMANCE (Compiler limitations): Update.
49958
ef0aab35
JM
499592012-02-22 Joseph Myers <joseph@codesourcery.com>
49960
49961 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49962
58639409
DM
499632012-02-21 David S. Miller <davem@davemloft.net>
49964
49965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49966 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49967
c0e70b25
DM
499682012-02-20 David S. Miller <davem@davemloft.net>
49969
49970 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49971 using a normal save/restore sequence, rather than allocating a
49972 dummy stack frame just to store a frame pointer and restore.
49973 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49974
fb06851d
JM
499752012-02-21 Joseph Myers <joseph@codesourcery.com>
49976
49977 * manual/install.texi: Fix stray word in line-wrapped comment.
49978
7a8b71c3
DM
499792012-02-20 David S. Miller <davem@davemloft.net>
49980
d510c123
DM
49981 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49982 both binutils and gcc support GOTDATA.
49983
0722d7c2
DM
49984 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49985 "rd %pc" in the PIC register setup sequences.
49986
3d2b3019
DM
49987 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49988 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49989 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49990 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49991 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49993 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49994 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49996 (SYSCALL_ERROR_HANDLER): Likewise.
49997 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49998 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50000 (SYSCALL_ERROR_HANDLER): Likewise.
50001
c80098a9
DM
50002 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50003 (HAVE_GCC_GOTDATA): New.
50004 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50005 relocation support in both binutils and gcc.
50006 * sysdeps/sparc/elf/configure: Regenerate.
50007
3a2545a0
DM
50008 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50009 * sysdeps/sparc/sparc32/elf/configure: Delete.
50010 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50011 * sysdeps/sparc/sparc64/elf/configure: Delete.
50012 * sysdeps/sparc/elf/configure.in: New file.
50013 * sysdeps/sparc/elf/configure: Generate.
50014
7a8b71c3
DM
50015 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50016 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50017 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50018 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50019 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50020
f1e86fca
JM
500212012-02-21 Joseph Myers <joseph@codesourcery.com>
50022
50023 * manual/install.texi: Do not mention specific glibc version
50024 numbers.
50025 * manual/libc.texinfo (VERSION, UPDATED): Update.
50026 (@copying): Use @copyright{} and range of years.
50027
0e7dfaef
JM
500282012-02-21 Joseph Myers <joseph@codesourcery.com>
50029
50030 [BZ #13695]
50031 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50032 [crti.S not in sysdirs] (generated): Do not append.
50033 [crti.S not in sysdirs] (omit-deps): Likewise.
50034 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50035 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50036 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50037 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50038 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50039 Likewise.
50040 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50041 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50042 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50043 * csu/defs.awk: Remove file.
50044 * sysdeps/generic/initfini.c: Likewise.
50045 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50046 variable.
50047 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50048 Likewise.
50049
599af3ca
JM
500502012-02-20 Joseph Myers <joseph@codesourcery.com>
50051
50052 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50053 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50054 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50055 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50057 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50058 <bits/epoll.h>.
50059 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50060 (__EPOLL_PACKED): Define to empty if not defined by
50061 <bits/epoll.h>.
50062 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50064 bits/epoll.h.
50065
0e499750
JM
500662012-02-20 Joseph Myers <joseph@codesourcery.com>
50067
50068 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50069 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50070 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50071 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50072 <bits/timerfd.h>.
50073 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50075 bits/timerfd.h.
50076
5ad91f6e
JM
500772012-02-20 Joseph Myers <joseph@codesourcery.com>
50078
50079 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50080 in C locale.
50081 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50082 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50083 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50085
06b99b02
AJ
500862012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50087
50088 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50089 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50090
7638c0fd
AS
500912012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50092
50093 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50094 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50095 defined.
50096 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50097 Likewise.
50098 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50099 entry for 2.16.
50100
92221550
AJ
501012012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50102
50103 * math/w_acos.c: Use non-signaling floating-point comparisons.
50104 * math/w_acosf.c: Likewise.
50105 * math/w_acosh.c: Likewise.
50106 * math/w_acoshf.c: Likewise.
50107 * math/w_acoshl.c: Likewise.
50108 * math/w_acosl.c: Likewise.
50109 * math/w_asin.c: Likewise.
50110 * math/w_asinf.c: Likewise.
50111 * math/w_asinl.c: Likewise.
50112 * math/w_atanh.c: Likewise.
50113 * math/w_atanhf.c: Likewise.
50114 * math/w_atanhl.c: Likewise.
50115 * math/w_exp2.c: Likewise.
50116 * math/w_exp2f.c: Likewise.
50117 * math/w_exp2l.c: Likewise.
50118 * math/w_j0.c: Likewise.
50119 * math/w_j0f.c: Likewise.
50120 * math/w_j0l.c: Likewise.
50121 * math/w_j1.c: Likewise.
50122 * math/w_j1f.c: Likewise.
50123 * math/w_j1l.c: Likewise.
50124 * math/w_jn.c: Likewise.
50125 * math/w_jnf.c: Likewise.
50126 * math/w_log.c: Likewise.
50127 * math/w_log10.c: Likewise.
50128 * math/w_log10f.c: Likewise.
50129 * math/w_log10l.c: Likewise.
50130 * math/w_log2.c: Likewise.
50131 * math/w_log2f.c: Likewise.
50132 * math/w_log2l.c: Likewise.
50133 * math/w_logf.c: Likewise.
50134 * math/w_logl.c: Likewise.
50135 * math/w_sqrt.c: Likewise.
50136 * math/w_sqrtf.c: Likewise.
50137 * math/w_sqrtl.c: Likewise.
50138 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50139 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50140 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50141 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50142 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50143
ebaf36eb
JM
501442012-02-19 Joseph Myers <joseph@codesourcery.com>
50145
50146 [BZ #9739]
50147 * manual/string.texi (strnlen): Use correct parameter name in
50148 equivalent expression.
50149
71c254a6
JM
501502012-02-19 Joseph Myers <joseph@codesourcery.com>
50151
50152 [BZ #11174]
50153 * manual/users.texi (seteuid): Consistently use neweuid for
50154 argument name.
50155
16d2c631
JM
501562012-02-19 Joseph Myers <joseph@codesourcery.com>
50157
50158 [BZ #13704]
50159 * manual/nss.texi (Services in the NSS configuration): Correct
50160 list of services in example configuration file.
50161
cd837b09
NB
501622012-02-19 Nick Bowler <nbowler@draconx.ca>
50163
50164 [BZ #11322]
50165 * manual/arith.texi: Remove statements about negative zero
50166 behaving identically to zero.
50167
02c4bbad
JM
501682012-02-18 Joseph Myers <joseph@codesourcery.com>
50169
50170 [BZ #5993]
50171 * manual/install.texi: Do not document upgrading from libc5.
50172
366842e7
JM
501732012-02-18 Joseph Myers <joseph@codesourcery.com>
50174
50175 [BZ #4596]
50176 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50177
dd54084d
DM
501782012-02-18 David S. Miller <davem@davemloft.net>
50179
50180 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50181 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50182 %o7 across the call.
50183 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50184 instead.
50185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50186 SETUP_PIC_REG_LEAF.
50187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50188 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50189 * sysdeps/sparc/crtn.S: Likewise.
50190
2bcc53a3
UD
501912012-02-17 Ulrich Drepper <drepper@gmail.com>
50192
50193 * aout/Makefile: Remove.
50194
09c093b5
RK
501952012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50196
50197 [BZ #13058]
50198 * manual/examples/argp-ex1.c (main): Format definition in GNU
50199 style.
50200 * manual/examples/argp-ex2.c (main): Likewise.
50201 * manual/examples/argp-ex3.c (main): Likewise.
50202 * manual/examples/argp-ex4.c (main): Likewise.
50203 * manual/examples/longopt.c (main): Use new-style prototype
50204 definition.
50205 * manual/examples/strncat.c (main): Specify return type and use
50206 (void) for arguments.
50207 * manual/examples/subopt.c (main): Use char **argv argument.
50208
2ee633a2
JM
502092012-02-17 Joseph Myers <joseph@codesourcery.com>
50210
50211 [BZ #5077]
50212 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50213 rounding modes.
50214
0520adde
FB
502152012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50216
50217 [BZ #6907]
50218 * manual/string.texi (strchr): Change when strchrnul is
50219 recommended.
50220
3f4081cd
DGM
502212012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50222
50223 [BZ #174]
50224 * manual/locale.texi (setlocale): Document LOCPATH.
50225
d1b10e78
JM
502262012-02-17 Joseph Myers <joseph@codesourcery.com>
50227
50228 [BZ #10210]
50229 * manual/process.texi (execle): Move @dots{} before last argument.
50230
79c6869c
PB
502312012-02-17 Paul Bolle <pebolle@tiscali.nl>
50232
50233 [BZ #12047]
50234 * manual/charset.texi (Generic Charset Conversion): Fix typo
50235 (LC_TYPE -> LC_CTYPE).
50236
cc6e48bc
NB
502372012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50238
50239 [BZ #5805]
50240 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50241 (scalbnf): Likewise.
50242 (scalbnl): Likewise.
50243 (scalbln): Likewise.
50244 (scalblnf): Likewise.
50245 (scalblnl): Likewise.
50246 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50247 (vwarnx): Likewise.
50248 (verr): Likewise.
50249 (verrx): Likewise.
50250 * manual/filesys.texi (telldir): Use braces around return type.
50251 * manual/llio.texi (mmap): Add space after comma.
50252 (mmap64): Likewise.
50253 * manual/math.texi (jn): Use @var{} on parameter names.
50254 (jnf): Likewise.
50255 (jnl): Likewise.
50256 (yn): Likewise.
50257 (ynf): Likewise.
50258 (ynl): Likewise.
50259 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50260 line.
50261 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50262 "...".
50263 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50264 (sched_get_priority_max): Likewise.
50265 * manual/signal.texi (sigvec): Add space after comma.
50266 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50267 names.
50268 (if_indextoname): Likewise.
50269 (if_freenameindex): Likewise.
50270 (sendto): Use ',' instead of '.' in prototype.
50271 * manual/startup.texi (syscall): Use @dots{} instead of literal
50272 "...".
50273 * manual/stdio.texi (__fpending): Separate initial words of
50274 paragraph from @deftypefun line.
50275 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50276 "...".
50277 (vsyslog): Use @var{} on parameter names.
50278 * manual/terminal.texi (stty): Use @var{} on parameter names.
50279 * manual/users.texi (getutmp): Use @var{} on parameter names.
50280 (getutmpx): Likewise.
50281
5b23062f
JM
502822012-02-17 Joseph Myers <joseph@codesourcery.com>
50283
50284 [BZ #6884]
50285 * manual/stdio.texi (fopen): Fix typos in description of
50286 ",ccs=STRING".
50287
8dee4833
AJ
502882012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50289
50290 [BZ #4026]
50291 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50292 get clock_id definition.
50293
9078ce93
TS
502942012-02-17 Thomas Schwinge <thomas@schwinge.name>
50295
50296 [BZ #4822]
50297 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50298 (madvise): Cast every argument to void on its own.
50299
3835c55f
JM
503002012-02-17 Joseph Myers <joseph@codesourcery.com>
50301
50302 [BZ #9902]
50303 * manual/startup.texi (Exit Status): Fix typo.
50304
35c47e37
JM
503052012-02-17 Joseph Myers <joseph@codesourcery.com>
50306
50307 [BZ #10140]
50308 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50309 * manual/examples/argp-ex2.c: Likewise.
50310 * manual/examples/argp-ex3.c: Likewise.
50311
e3b69ca7
RH
503122012-02-16 Richard Henderson <rth@redhat.com>
50313
50314 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50315 * sysdeps/s390/s390-32/initfini.c: Remove.
50316 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50317 * sysdeps/s390/s390-64/initfini.c: Remove.
50318
df83af67
KK
503192012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50320
50321 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50322 compiler output for sysdeps/generic/initfini.c.
50323 * sysdeps/sh/elf/initfini.c: Remove file.
50324
f63f3380
DM
503252012-02-16 David S. Miller <davem@davemloft.net>
50326
fb59b3a4
DM
50327 [BZ #11494]
50328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50329
f63f3380
DM
50330 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50331 * sysdeps/sparc/crti.S: New file.
50332 * sysdeps/sparc/crtn.S: New file.
50333 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50334 * sysdeps/sparc/sparc64/Makefile: Likewise.
50335
df6a4a4a
MF
503362012-02-15 Mike Frysinger <vapier@gentoo.org>
50337
6dd8f3dc 50338 [BZ #3335]
df6a4a4a
MF
50339 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50340
1cac7236
RM
503412012-02-15 Roland McGrath <roland@hack.frob.com>
50342
d2c736f8
RM
50343 [BZ #4822]
50344 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50345
1cac7236
RM
50346 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50347 (write, read, close): Likewise.
50348 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50349
8e475601
JM
503502012-02-15 Joseph Myers <joseph@codesourcery.com>
50351
50352 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50353 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50354 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50355 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50356 <bits/signalfd.h>.
50357 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50359 bits/signalfd.h.
50360
ed656b40
MP
503612012-02-14 Marek Polacek <polacek@redhat.com>
50362
50363 * sysdeps/x86_64/crti.S: New file.
50364 * sysdeps/x86_64/crtn.S: New file.
50365 * sysdeps/x86_64/elf/initfini.c: Remove file.
50366
2a979d3a
JM
503672012-02-13 Joseph Myers <joseph@codesourcery.com>
50368
50369 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50370 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50371 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50372 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50373 <bits/inotify.h>.
50374 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50376 bits/inotify.h.
50377
2a418ac3
JM
503782012-02-13 Joseph Myers <joseph@codesourcery.com>
50379
50380 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50381 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50382 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50383 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50384 <bits/eventfd.h>.
50385 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50387 bits/eventfd.h.
50388
fb779be7
TS
503892012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50390
e19e83c5
RM
50391 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50392 __feraiseexcept instead of feraiseexcept.
7c35ffed 50393
fb779be7
TS
50394 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50395 nanosleep invocations.
50396 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50397 strings, and add error checking for a nanosleep invocations.
50398
59ba27a6
PE
503992012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50400
50401 Replace FSF snail mail address with URLs, as per GNU coding standards.
50402 Most of the snail mail addresses were wrong anyway, and omitting
50403 them makes the source code easier to maintain. Almost all of the
50404 changes are to license notices and to locale LC_IDENTIFICATION
50405 addresses, except for this one:
50406 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50407 not its snail mail address.
50408
57b957eb
RH
504092012-02-09 Richard Henderson <rth@twiddle.net>
50410
af850b1c
RH
50411 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50412 of kernel-features.h.
50413
57b957eb
RH
50414 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50415
6b73181a
MP
504162012-02-08 Marek Polacek <polacek@redhat.com>
50417
50418 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50419 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50420 * sysdeps/gnu/_G_config.h: Likewise.
50421 * sysdeps/generic/_G_config.h: Likewise.
50422
26ecc33a
AS
504232012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50424
6c6dbc63
AS
50425 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50426 tests.
50427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50428
e216c012
AS
50429 * sysdeps/powerpc/powerpc32/crti.S: New file.
50430 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50431 * sysdeps/powerpc/powerpc64/crti.S: New file.
50432 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50433
26ecc33a
AS
50434 * Makeconfig (have-initfini): Don't set.
50435 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50436 * configure.in (nopic_initfini): Don't substitute.
50437 * config.h.in (HAVE_INITFINI): Don't #undef.
50438 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50439 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50440
3add8e13
JM
504412012-02-08 Joseph Myers <joseph@codesourcery.com>
50442
50443 Support crti.S and crtn.S provided directly by architectures.
50444 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50445 [crti.S in sysdirs] (omit-deps): Likewise.
50446 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50447 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50448 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50449 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50450 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50451 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50452 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50453 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50454 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50455 compiler output for sysdeps/generic/initfini.c.
50456 * sysdeps/i386/elf/Makefile: Remove file.
50457 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50458
a22f12b4
MP
504592012-02-07 Marek Polacek <polacek@redhat.com>
50460
50461 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50462 * sysdeps/gnu/_G_config.h: Likewise.
50463 * sysdeps/mach/hurd/_G_config.h: Likewise.
50464
148cf100
MP
504652012-02-07 Marek Polacek <polacek@redhat.com>
50466
50467 * math/Makefile (tests): Add tst-CMPLX2.
50468 * math/tst-CMPLX2.c: New file.
50469
cfdc0dd7
AS
504702012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50471
84ba42c4
AS
50472 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50473
cfdc0dd7
AS
50474 * math/libm-test.inc (jn_test): Add missing L suffix.
50475
622c86f4
MP
504762012-02-06 Marek Polacek <polacek@redhat.com>
50477
50478 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50479 * sysdeps/i386/fpu/e_powf.S: Likewise.
50480 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50481 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50482 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50483 * sysdeps/i386/fpu/e_pow.S: Likewise.
50484 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50485 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50486 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50487 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50488 * sysdeps/i386/fpu/e_log2.S: Likewise.
50489 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50490 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50491 * sysdeps/i386/fpu/e_powl.S: Likewise.
50492 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50493 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50494 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50495 * sysdeps/i386/fpu/e_logl.S: Likewise.
50496 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50497 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50498 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50499 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50500 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50501 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50502 * sysdeps/i386/fpu/e_log.S: Likewise.
50503 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50504 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50505 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50506 * sysdeps/i386/fpu/e_logf.S: Likewise.
50507 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50508 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50509 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50510 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50511 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50512 * sysdeps/i386/fpu/e_log10.S: Likewise.
50513 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50514 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50515 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50516 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50517 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50518 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50519 * sysdeps/i386/asm-syntax.h: Likewise.
50520 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50521 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50522 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50523 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50524 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50525 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50526 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50527 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50529 * sysdeps/powerpc/sysdep.h: Likewise.
50530 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50531 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50532
d4a54ac6
JM
505332012-02-06 Joseph Myers <joseph@codesourcery.com>
50534
50535 [BZ #411]
50536 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50537
314054ea
JM
505382012-02-06 Joseph Myers <joseph@codesourcery.com>
50539
50540 * sysdeps/i386/sysdep.h: Include <features.h>.
50541 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50542 version.
50543
d8e0ca50
JM
505442012-02-05 Joseph Myers <joseph@codesourcery.com>
50545
50546 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50547 Define.
50548 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50549 LOAD_PIC_REG_STR.
50550
b1da7dd9
JM
505512012-02-03 Joseph Myers <joseph@codesourcery.com>
50552
50553 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50554 (SETUP_PIC_REG): Use GET_PC_THUNK.
50555 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50556 macro.
50557
9a1d9254
JM
505582012-02-03 Joseph Myers <joseph@codesourcery.com>
50559
50560 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50561 for non-PIC compilation.
50562 (SETUP_PIC_REG): Add .p2align directive.
50563 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50564 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50565 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50566 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50567 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50568 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50569 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50570 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50571 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50572 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50573 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50574 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50575 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50576 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50577 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50578 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50579 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50580 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50581 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50582 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50583 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50584 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50585 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50586 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50589 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50590 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50591 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50592 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50593 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50594 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50595 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50596 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50597 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50598 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50599 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50600 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50601 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50602 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50603 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50604
65dc3b75
JM
506052012-02-03 Joseph Myers <joseph@codesourcery.com>
50606
50607 * math/tst-CMPLX.c: Include <stdio.h>.
50608
d55bf177
JM
506092012-01-31 Joseph Myers <joseph@codesourcery.com>
50610
50611 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50612 float.
50613 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50614 * sysdeps/sparc/bits/mathdef.h: Likewise.
50615
69db4f8f
MP
506162012-01-31 Marek Polacek <polacek@redhat.com>
50617
50618 * libio/libio.h: Don't define _PARAMS.
50619 * locale/programs/config.h: Don't define PARAMS.
50620 * stdlib/strtol_l.c: Likewise.
50621 (__strtol_l): Remove PARAMS from the prototype.
50622
41b81892
UD
506232012-01-31 Ulrich Drepper <drepper@gmail.com>
50624
3b49edc0
UD
50625 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50626 names. Just use the correct names. Remove unnecessary wrapper
50627 functions.
50628 * malloc/arena.c: Likewise.
50629 * malloc/hooks.c: Likewise.
50630
41b81892
UD
50631 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50632 ARENA_TEST says not to. Simplify test for creation of a new arena.
50633 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50634
27a25b6e
UD
506352012-01-30 Ulrich Drepper <drepper@gmail.com>
50636
50637 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50638 into tail calls.
50639 (update_get_addr): New function.
50640 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50641 GET_ADDR_MODULE parameter.
50642
c8a89e7d
JM
506432012-01-30 Joseph Myers <joseph@codesourcery.com>
50644
50645 * crypt/cert.c: Remove __STDC__ conditionals.
50646 * crypt/crypt-entry.c: Likewise.
50647 * crypt/crypt_util.c: Likewise.
50648 * libio/filedoalloc.c: Likewise.
50649 * libio/fileops.c: Likewise.
50650 * libio/genops.c: Likewise.
50651 * libio/iofclose.c: Likewise.
50652 * libio/iofdopen.c: Likewise.
50653 * libio/iofopen.c: Likewise.
50654 * libio/iofopen64.c: Likewise.
50655 * libio/iogetdelim.c: Likewise.
50656 * libio/iopopen.c: Likewise.
50657 * libio/obprintf.c: Likewise.
50658 * libio/oldfileops.c: Likewise.
50659 * libio/oldiofclose.c: Likewise.
50660 * libio/oldiofdopen.c: Likewise.
50661 * libio/oldiofopen.c: Likewise.
50662 * libio/oldiopopen.c: Likewise.
50663 * libio/wfiledoalloc.c: Likewise.
50664 * libio/wgenops.c: Likewise.
50665 * locale/programs/xmalloc.c: Likewise.
50666 * misc/syslog.c: Likewise.
50667 * stdio-common/xbug.c: Likewise.
50668 * string/memchr.c: Likewise.
50669 * string/memcmp.c: Likewise.
50670 * string/memrchr.c: Likewise.
50671 * string/rawmemchr.c: Likewise.
50672 * sysdeps/posix/getcwd.c: Likewise.
50673 * time/strftime_l.c: Likewise.
50674
3b100462
JM
506752012-01-30 Joseph Myers <joseph@codesourcery.com>
50676
50677 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50678 * config.make.in (config-cflags-sse2avx): Define.
50679 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50680 Fix typo.
50681
607998af
CM
506822012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50683
50684 * scripts/config.guess: Update from upstream config git repository.
50685 * scripts/config.sub: Likewise.
50686
3601428f
CM
506872012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50688
3ac8b282
CM
50689 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50690 (EM_NUM): Update.
50691 (R_TILEPRO_*, R_TILEGX_*): New macros.
50692
e034841e
CM
50693 * scripts/firstversions.awk: Fix bug in version range handling.
50694
540d7568
CM
50695 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50696
3601428f
CM
50697 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50698
463de862
CM
50699 * include/sys/epoll.h: New file.
50700 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50701 libc_hidden_def.
50702
73139a76
UD
507032012-01-28 Ulrich Drepper <drepper@gmail.com>
50704
96bc5b45
UD
50705 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50706 Avoid unnecessary __WORDSIZE == 64 test.
50707 (fmaxf): Use VEX format if possible.
50708 (fmax): Likewise.
50709 (fminf): Likewise.
50710 (fmin): Likewise.
50711
56f6f6a2
UD
50712 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50713 * math/math_private.h: Remove libc_fegetround* and
50714 libc_fesetround*.
50715 * sysdeps/i386/configure.in: Check for -msse2avx.
50716 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50717 also if SSE2AVX is defined.
50718 Remove libc_fegetround* and libc_fesetround*.
50719 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50720 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50721 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50722 of HAS_YMM_USABLE.
50723 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50724 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50725 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50726 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50728
73139a76
UD
50729 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50730
d73f93a4
AZ
507312012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50732
50733 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50734 size is not set.
50735 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50736
6ee65ed6
UD
507372012-01-27 Ulrich Drepper <drepper@gmail.com>
50738
50739 [BZ #13618]
50740 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50741 relocation.
50742 * Makeconfig (libm): Define.
50743 * elf/Makefile: Add rules to build and run tst-relsort1.
50744 * elf/tst-relsort1.c: New file.
50745 * elf/tst-relsort1mod1.c: New file.
50746 * elf/tst-relsort1mod2.c: New file.
50747
8db21882
JM
507482012-01-27 Joseph Myers <joseph@codesourcery.com>
50749
50750 * math/s_ldexp.c: Remove __STDC__ conditionals.
50751 * math/s_ldexpf.c: Likewise.
50752 * math/s_ldexpl.c: Likewise.
50753 * math/s_nextafter.c: Likewise.
50754 * math/s_nexttowardf.c: Likewise.
50755 * math/s_significand.c: Likewise.
50756 * math/s_significandf.c: Likewise.
50757 * math/s_significandl.c: Likewise.
50758 * math/w_jnl.c: Likewise.
50759 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50760 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50761 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50762 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50763 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50765 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50766 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50767 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50768 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50769 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50770 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50771 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50772 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50773 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50774 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50775 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50776 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50778 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50779 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50780 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50781 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50782 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50783 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50784 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50785 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50786 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50787 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50788 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50789 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50790 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50791 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50792 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50793 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50794 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50795 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50796 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50797 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50798 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50799 * sysdeps/ieee754/k_standard.c: Likewise.
50800 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50801 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50802 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50803 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50804 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50805 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50806 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50807 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50808 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50809 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50810 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50811 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50812 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50813 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50814 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50816 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50818 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50819 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50820 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50821 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50822 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50823 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50824 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50825 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50827 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50828 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50829 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50830 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50831 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50832 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50833 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50835 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50836 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50837 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50838 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50839 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50840 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50842 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50843 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50844 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50845 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50846 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50848 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50849 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50850 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50851 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50852 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50853 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50854 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50855 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50856 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50857 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50858 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50859 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50860 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50861 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50862 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50863 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50864 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50865 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50866 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50867 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50868 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50869 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50870 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50871 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50872 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50873 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50874 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50875 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50876 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50877 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50878 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50879 * sysdeps/ieee754/s_matherr.c: Likewise.
50880 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50881 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50883 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50884
965a54a4
JM
508852012-01-26 Joseph Myers <joseph@codesourcery.com>
50886
50887 * crypt/md5.h: Remove __STDC__ conditionals.
50888 * libio/libioP.h: Likewise.
50889 * locale/programs/config.h: Likewise.
50890 * sysdeps/generic/sysdep.h: Likewise.
50891 * sysdeps/i386/asm-syntax.h: Likewise.
50892 * sysdeps/s390/asm-syntax.h: Likewise.
50893 * sysdeps/unix/sysdep.h: Likewise.
50894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50896
7071ad79
JM
508972012-01-26 Joseph Myers <joseph@codesourcery.com>
50898
50899 * libio/libio.h: Remove __STDC__ conditionals.
50900 * malloc/obstack.h: Likewise.
50901 * math/complex.h: Likewise.
50902 * math/math.h: Likewise.
50903 * sysdeps/generic/_G_config.h: Likewise.
50904 * sysdeps/gnu/_G_config.h: Likewise.
50905 * sysdeps/mach/hurd/_G_config.h: Likewise.
50906 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50907 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50908 * sysdeps/sparc/bits/mathdef.h: Likewise.
50909
afc5ed09
UD
509102012-01-26 Ulrich Drepper <drepper@gmail.com>
50911
50912 [BZ #13583]
50913 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50914 Clean up HAS_* macros.
afc5ed09 50915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50916 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50917 possible.
50918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50919 HAS_AVX.
50920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50921 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50922 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50923 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50924 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50925
bdb6de1d
JM
509262012-01-25 Joseph Myers <joseph@codesourcery.com>
50927
50928 * elf/tst-unique3.cc (gets): Remove declaration.
50929 * elf/tst-unique3lib.cc (gets): Likewise.
50930 * elf/tst-unique3lib2.cc (gets): Likewise.
50931 * elf/tst-unique4.cc (gets): Likewise.
50932
b15549e6
UD
509332012-01-24 Ulrich Drepper <drepper@gmail.com>
50934
50935 * include/stdio.h: Add C++ protection. Add gets declarations and
50936 definitions.
50937 * debug/tst-chk1.c: Don't declare gets here.
50938 * stdio-common/tst-gets.c: Likewise.
50939
a037381f
JM
509402012-01-24 Joseph Myers <joseph@codesourcery.com>
50941
50942 * posix/glob: Remove directory.
50943
f1d4aa75
JM
509442012-01-24 Joseph Myers <joseph@codesourcery.com>
50945
50946 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50947
81c0c964
PT
509482012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50949
50950 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50951 of the non-standard EPFNOSUPPORT.
50952
0ea698ae
ST
509532011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50954
50955 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50956 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50957 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50958
d220b117
UD
509592012-01-21 Ulrich Drepper <drepper@gmail.com>
50960
50961 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50962
3e1aa84e
UD
509632012-01-20 Ulrich Drepper <drepper@gmail.com>
50964
50965 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50966 transient errors.
50967 * nscd/grpcache.c (cache_addgr): Likewise.
50968 * nscd/hstcache.c (cache_addhst): Likewise.
50969 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50970 * nscd/pwdcache.c (cache_addpw): Likewise.
50971 * nscd/servicescache.c (cache_addserv): Likewise.
50972
400aa020
UD
509732012-01-16 Ulrich Drepper <drepper@gmail.com>
50974
d77e7869
UD
50975 * malloc/malloc.c: Various cleanups.
50976 * malloc/hooks.c: Likewise.
50977
400aa020
UD
50978 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50979 * stdlib/bug-fmtmsg1.c: New file.
50980
50981 * stdlib/fmtmsg.c (init): Add missing unlock.
50982 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50983
e0a309cf
MP
509842012-01-12 Marek Polacek <polacek@redhat.com>
50985
50986 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50987 and _GNU_SOURCE.
50988
929d11c7
WS
509892012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50990
50991 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50992 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50993 macro to ensure uniqueness of label name.
50994 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50995 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50996
41d0e869
UD
509972012-01-11 Ulrich Drepper <drepper@gmail.com>
50998
0cc5ed3b
UD
50999 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51000
41d0e869
UD
51001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51002 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51003 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51004 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51005
a47a831a
UD
510062012-01-10 Ulrich Drepper <drepper@gmail.com>
51007
daa891c0
UD
51008 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51009
51010 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51011 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51012 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51013
e58ef0f2
UD
51014 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51015
a47a831a 51016 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
51017 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51018 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 51019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
51020
51021 * math/bits/math-finite.h: Add ldexp support.
51022
a0bfc9c7
MP
510232012-01-10 Marek Polacek <polacek@redhat.com>
51024
51025 * locale/programs/localedef.h (show_archive_content): Add noreturn
51026 attribute.
51027
d6e97a1d
UD
510282012-01-09 Ulrich Drepper <drepper@gmail.com>
51029
51030 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51031
d5835c26
UD
510322012-01-08 Ulrich Drepper <drepper@gmail.com>
51033
e5f484c6
UD
51034 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51035
d5835c26
UD
51036 * io/Makefile (headers): Add bits/poll2.h.
51037
d1f741e9
WS
510382011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51039
51040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51041 typo #include statement.
51042
ec09c1c4
UD
510432012-01-08 Ulrich Drepper <drepper@gmail.com>
51044
51045 * include/sys/cdefs.h: Define __attribute_alloc_size.
51046 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51047 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51048 * elf/pldd.c: Likewise.
51049 * iconv/iconv_charmap.c: Likewise.
51050 * iconv/iconvconfig.c: Likewise.
51051 * iconv/strtab.c: Likewise.
51052 * locale/programs/locale.c: Likewise.
51053 * locale/programs/localedef.h: Likewise.
51054 * locale/programs/simple-hash.c: Likewise.
51055 * nscd/nscd.h: Likewise.
51056 * nss/makedb.c: Likewise.
51057 * sysdeps/generic/ldconfig.h: Likewise.
51058 * locale/programs/localedef.c: Remove xmalloc prototype.
51059 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51060
20b38e03
PP
510612012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51062
51063 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51064 appropriate.
51065
a0da5fe1
UD
510662012-01-08 Ulrich Drepper <drepper@gmail.com>
51067
1d5a644a 51068 * math/Makefile (tests): Add tst-CMPLX.
669704fd 51069 * math/tst-CMPLX.c: New file.
1d5a644a 51070
8784a6db
UD
51071 * math/complex.h (CMPLXL): Fix typo.
51072
d9a216c0
UD
51073 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51074 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51075 GLIBC_2.16.
51076 * debug/tst-chk1.c: Add poll and ppoll tests.
51077 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51078 * include/sys/poll.h: Add hidden proto for ppoll.
51079 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51080 * sysdeps/mach/hurd/ppoll.c: Likewise.
51081 * io/ppoll.c: Likewise.
51082 * debug/poll_chk.c: New file.
51083 * debug/ppoll_chk.c: New file.
51084 * include/bits/poll2.h: New file.
51085 * io/bits/poll2.h: New file.
51086
ac097f5c
UD
51087 [BZ #1350]
51088 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51089
2119dcfa
UD
51090 * configure.in: static is always set to yes. Remove.
51091 * config.make.in: Don't set build-static.
51092 * Makeconfig: Remove use of build-static.
51093 * dlfcn/Makefile: Likewise.
51094 * elf/Makefile: Likewise.
51095 * math/Makefile: Likewise.
51096 * misc/Makefile: Likewise.
51097 * nptl/Makefile: Likewise.
51098 * sysdeps/mach/hurd/Makefile: Likewise.
51099
121766a9
UD
51100 * configure.in: PWD_P is not used anymore.
51101 * config.make.in: Remove PWD_P entry.
51102
51a1d39c 51103 * configure.in: Remove last remnants of RANLIB.
8720d066 51104 No need to check for signed size_t anymore.
215f4bdc
UD
51105 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51106 and IA-64.
3857022a 51107 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
51108 * aclocal.m4: Likewise.
51109
d3ed7225
UD
51110 * wcsmbs/mbrtoc16.c: Implement using towc function.
51111 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51112 * wcsmbs/wcsmbsload.c: Likewise.
51113 * iconv/gconv_simple.c: Likewise.
51114 * iconv/gconv_int.h: Likewise.
51115 * iconv/gconv_builtin.h: Likewise.
51116 * iconv/iconv_prog.c: Remove CHAR16 handling.
51117
51118 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51119
51120 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51121
a0da5fe1
UD
51122 * configure.in: Remove --with-elf and --enable-bounded options.
51123 Dont set base_machine for ia64. More non-ELF conditions removed.
51124 Remove testing and setting of leading underscore information.
51125 * config.make.in (build-bounded): Set to no.
51126 * config.h.in: Remove NO_UNDERSCORES entry.
51127 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51128 them.
51129 * csu/start.c: Remove !NO_UNDERSCORE code.
51130 * locale/localeinfo.h: Likewise.
51131 * sysdeps/generic/machine-gmon.h: Likewise.
51132 * sysdeps/generic/sysdep.h: Likewise.
51133 * sysdeps/i386/sysdep.h: Likewise.
51134 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51135 * sysdeps/mach/sysdep.h: Likewise.
51136 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51138 * sysdeps/sh/sysdep.h: Likewise.
51139 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51140 * sysdeps/unix/i386/sysdep.S: Likewise.
51141 * sysdeps/unix/sparc/start.c: Likewise.
51142 * sysdeps/unix/sparc/sysdep.S: Likewise.
51143 * sysdeps/unix/sparc/sysdep.h: Likewise.
51144 * sysdeps/unix/start.c: Likewise.
51145 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51146 * sysdeps/x86_64/sysdep.h: Likewise.
51147
df78418a
UD
511482012-01-07 Ulrich Drepper <drepper@gmail.com>
51149
a784e502
UD
51150 [BZ #13553]
51151 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51152 for non-gcc.
51153 * argp/argp-fmtstream.h: Use const instead __const.
51154 * argp/argp.h: Likewise.
51155 * assert/assert.h: Likewise.
51156 * bits/fenv.h: Likewise.
51157 * bits/sched.h: Likewise.
51158 * bits/sigset.h: Likewise.
51159 * bits/sigthread.h: Likewise.
51160 * catgets/nl_types.h: Likewise.
51161 * conform/data/pthread.h-data: Likewise.
51162 * crypt/crypt-private.h: Likewise.
51163 * crypt/crypt.h: Likewise.
51164 * crypt/crypt_util.c: Likewise.
51165 * ctype/ctype.h: Likewise.
51166 * debug/execinfo.h: Likewise.
51167 * debug/mbsnrtowcs_chk.c: Likewise.
51168 * debug/mbsrtowcs_chk.c: Likewise.
51169 * debug/wcsnrtombs_chk.c: Likewise.
51170 * debug/wcsrtombs_chk.c: Likewise.
51171 * debug/wcstombs_chk.c: Likewise.
51172 * dirent/dirent.h: Likewise.
51173 * dlfcn/dlfcn.h: Likewise.
51174 * elf/neededtest4.c: Likewise.
51175 * grp/grp.h: Likewise.
51176 * gshadow/gshadow.h: Likewise.
51177 * iconv/gconv.h: Likewise.
51178 * iconv/gconv_int.h: Likewise.
51179 * iconv/gconv_simple.c: Likewise.
51180 * iconv/iconv.h: Likewise.
51181 * iconv/loop.c: Likewise.
51182 * iconv/skeleton.c: Likewise.
51183 * include/aio.h: Likewise.
51184 * include/aliases.h: Likewise.
51185 * include/argz.h: Likewise.
51186 * include/arpa/inet.h: Likewise.
51187 * include/assert.h: Likewise.
51188 * include/dirent.h: Likewise.
51189 * include/dlfcn.h: Likewise.
51190 * include/execinfo.h: Likewise.
51191 * include/fcntl.h: Likewise.
51192 * include/fenv.h: Likewise.
51193 * include/glob.h: Likewise.
51194 * include/grp.h: Likewise.
51195 * include/libintl.h: Likewise.
51196 * include/mntent.h: Likewise.
51197 * include/netdb.h: Likewise.
51198 * include/pwd.h: Likewise.
51199 * include/rpc/netdb.h: Likewise.
51200 * include/sched.h: Likewise.
51201 * include/search.h: Likewise.
51202 * include/shadow.h: Likewise.
51203 * include/signal.h: Likewise.
51204 * include/stdio.h: Likewise.
51205 * include/stdlib.h: Likewise.
51206 * include/string.h: Likewise.
51207 * include/sys/socket.h: Likewise.
51208 * include/sys/stat.h: Likewise.
51209 * include/sys/statfs.h: Likewise.
51210 * include/sys/statvfs.h: Likewise.
51211 * include/sys/syslog.h: Likewise.
51212 * include/sys/time.h: Likewise.
51213 * include/sys/uio.h: Likewise.
51214 * include/time.h: Likewise.
51215 * include/unistd.h: Likewise.
51216 * include/utmp.h: Likewise.
51217 * include/wchar.h: Likewise.
51218 * include/wctype.h: Likewise.
51219 * inet/aliases.h: Likewise.
51220 * inet/arpa/inet.h: Likewise.
51221 * inet/netinet/ether.h: Likewise.
51222 * inet/netinet/in.h: Likewise.
51223 * intl/libintl.h: Likewise.
51224 * io/bits/fcntl2.h: Likewise.
51225 * io/fcntl.h: Likewise.
51226 * io/ftw.h: Likewise.
51227 * io/sys/poll.h: Likewise.
51228 * io/sys/stat.h: Likewise.
51229 * io/sys/statfs.h: Likewise.
51230 * io/sys/statvfs.h: Likewise.
51231 * io/utime.h: Likewise.
51232 * libio/bits/stdio.h: Likewise.
51233 * libio/bits/stdio2.h: Likewise.
51234 * libio/libio.h: Likewise.
51235 * libio/libioP.h: Likewise.
51236 * libio/stdio.h: Likewise.
51237 * locale/lc-ctype.c: Likewise.
51238 * locale/locale.h: Likewise.
51239 * login/utmp.h: Likewise.
51240 * malloc/arena.c: Likewise.
51241 * malloc/malloc.c: Likewise.
51242 * malloc/malloc.h: Likewise.
51243 * malloc/mcheck.c: Likewise.
51244 * malloc/mtrace.c: Likewise.
51245 * math/bits/mathcalls.h: Likewise.
51246 * math/fenv.h: Likewise.
51247 * math/math_private.h: Likewise.
51248 * misc/bits/error.h: Likewise.
51249 * misc/bits/syslog.h: Likewise.
51250 * misc/err.h: Likewise.
51251 * misc/error.h: Likewise.
51252 * misc/fstab.h: Likewise.
51253 * misc/mntent.h: Likewise.
51254 * misc/regexp.h: Likewise.
51255 * misc/search.h: Likewise.
51256 * misc/sgtty.h: Likewise.
51257 * misc/sys/mman.h: Likewise.
51258 * misc/sys/syslog.h: Likewise.
51259 * misc/sys/uio.h: Likewise.
51260 * misc/sys/xattr.h: Likewise.
51261 * misc/ttyent.h: Likewise.
51262 * nis/rpcsvc/ypclnt.h: Likewise.
51263 * nss/nss.h: Likewise.
51264 * posix/bits/unistd.h: Likewise.
51265 * posix/fnmatch.h: Likewise.
51266 * posix/glob.h: Likewise.
51267 * posix/sched.h: Likewise.
51268 * posix/spawn.h: Likewise.
51269 * posix/sys/wait.h: Likewise.
51270 * posix/unistd.h: Likewise.
51271 * posix/wordexp.h: Likewise.
51272 * pwd/pwd.h: Likewise.
51273 * resolv/netdb.h: Likewise.
51274 * resource/sys/resource.h: Likewise.
51275 * rt/aio.h: Likewise.
51276 * rt/bits/mqueue2.h: Likewise.
51277 * rt/mqueue.h: Likewise.
51278 * shadow/shadow.h: Likewise.
51279 * signal/signal.h: Likewise.
51280 * socket/send.c: Likewise.
51281 * socket/sendto.c: Likewise.
51282 * socket/sys/socket.h: Likewise.
51283 * stdio-common/printf.h: Likewise.
51284 * stdlib/bits/stdlib.h: Likewise.
51285 * stdlib/fmtmsg.h: Likewise.
51286 * stdlib/monetary.h: Likewise.
51287 * stdlib/stdlib.h: Likewise.
51288 * stdlib/ucontext.h: Likewise.
51289 * streams/stropts.h: Likewise.
51290 * string/argz.h: Likewise.
51291 * string/bits/string2.h: Likewise.
51292 * string/string.h: Likewise.
51293 * string/strings.h: Likewise.
51294 * sunrpc/rpc/auth.h: Likewise.
51295 * sunrpc/rpc/auth_des.h: Likewise.
51296 * sunrpc/rpc/clnt.h: Likewise.
51297 * sunrpc/rpc/netdb.h: Likewise.
51298 * sunrpc/rpc/pmap_clnt.h: Likewise.
51299 * sunrpc/rpc/xdr.h: Likewise.
51300 * sysdeps/generic/inttypes.h: Likewise.
51301 * sysdeps/generic/net/if.h: Likewise.
51302 * sysdeps/generic/sys/swap.h: Likewise.
51303 * sysdeps/gnu/net/if.h: Likewise.
51304 * sysdeps/gnu/utmpx.h: Likewise.
51305 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51306 * sysdeps/i386/i486/bits/string.h: Likewise.
51307 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51308 * sysdeps/s390/bits/string.h: Likewise.
51309 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51310 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51311 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51312 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51313 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51314 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51315 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51316 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51317 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51318 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51319 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51320 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51321 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51322 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51323 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51324 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51325 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51327 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51329 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51330 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51331 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51332 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51333 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51334 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51335 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51337 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51338 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51339 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51340 * sysvipc/sys/ipc.h: Likewise.
51341 * sysvipc/sys/msg.h: Likewise.
51342 * sysvipc/sys/sem.h: Likewise.
51343 * sysvipc/sys/shm.h: Likewise.
51344 * termios/termios.h: Likewise.
51345 * time/sys/time.h: Likewise.
51346 * time/time.h: Likewise.
51347 * wcsmbs/bits/wchar2.h: Likewise.
51348 * wcsmbs/uchar.h: Likewise.
51349 * wcsmbs/wchar.h: Likewise.
51350 * wctype/wctype.h: Likewise.
51351
0269750c
UD
51352 [BZ #13551]
51353 * Makeconfig: Remove all but ELF support including AIX support.
51354 * Makerules: Likewise.
51355 * config.h.in: Likewise.
51356 * config.make.in: Likewise.
51357 * configure: Likewise.
51358 * configure.in: Likewise.
51359 * csu/Makefile: Likewise.
51360 * csu/version.c: Likewise.
51361 * debug/Makefile: Likewise.
51362 * dlfcn/Makefile: Likewise.
51363 * elf/Makefile: Likewise.
51364 * extra-lib.mk: Likewise.
51365 * iconv/Makefile: Likewise.
51366 * include/libc-symbols.h: Likewise.
51367 * include/shlib-compat.h: Likewise.
51368 * resolv/Makefile: Likewise.
51369 * resolv/res_libc.c: Likewise.
51370 * rt/Makefile: Likewise.
51371 * sysdeps/i386/asm-syntax.h: Likewise.
51372 * sysdeps/i386/sysdep.h: Likewise.
51373 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51374 * sysdeps/mach/sysdep.h: Likewise.
51375 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51376 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51377 * sysdeps/s390/asm-syntax.h: Likewise.
51378 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51380 * sysdeps/sh/sysdep.h: Likewise.
51381 * sysdeps/unix/sparc/sysdep.h: Likewise.
51382 * sysdeps/wordsize-32/divdi3.c: Likewise.
51383 * sysdeps/x86_64/sysdep.h: Likewise.
51384
00bbd29b
UD
51385 * argp/Versions: Remove _argp_unlock_xxx.
51386
51387 [BZ #13559]
51388 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51389 * abilist/libBrokenLocale.abilist: Likewise.
51390 * abilist/libanl.abilist: Likewise.
51391 * abilist/libc.abilist: Likewise.
51392 * abilist/libcrypt.abilist: Likewise.
51393 * abilist/libdl.abilist: Likewise.
51394 * abilist/libm.abilist: Likewise.
51395 * abilist/libnsl.abilist: Likewise.
51396 * abilist/libpthread.abilist: Likewise.
51397 * abilist/libresolv.abilist: Likewise.
51398 * abilist/librt.abilist: Likewise.
51399 * abilist/libthread_db.abilist: Likewise.
51400 * abilist/libutil.abilist: Likewise.
51401 * abilist/libnss_db.abilist: New file.
51402
51403 * scripts/abilist.awk: Add support for indirect functions.
51404
a2693a0e
UD
51405 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51406
3f05895f
UD
51407 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51408
ecb6fb48
UD
51409 * shlib-versions: Remove entries for ports architectures.
51410
664f8cb9
UD
51411 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51412 files in ports.
51413 * elf/stackguard-macros.h: Remove support for IA-64.
51414 * elf/tst-auditmod1.c: Likewise.
51415 * sysdeps/generic/ldsodefs.h: Likewise.
51416
7ae81d88
UD
51417 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51418 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51419 configure files.
51420
bdeba135
UD
51421 [BZ #13552]
51422 * configure.in: Remove --enable-omitfp support.
51423 * FAQ.in: Adjust.
51424 * config.make.in: Likewise.
51425 * Makeconfig: Likewise.
51426 * manual/install.texi: Likewise.
51427
d75a0a62
UD
51428 In case anyone cares, the IA-64 architecture could move to ports.
51429 * sysdeps/ia64/*: Removed.
51430 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51431 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51432
dcc9756b
UD
51433 [BZ #13555]
51434 * configure.in: Remove entries for unsupported architectures.
51435
d3761ebc 51436 [BZ #13533]
9954432e
UD
51437 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51438 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51439 routines.
51440 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51441 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51442 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51443 fall back to using wcrtomb.
51444 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51445 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51446 renaming.
51447 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51448 * wcsmbs/tst-c16c32-1.c: New file.
51449
51450 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51451 local variable.
51452
c3a87236
UD
51453 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51454
28926a1b
UD
51455 * elf/tst-unique3.cc: Add explicit declaration of gets.
51456 * elf/tst-unique3lib.cc: Likewise.
51457 * elf/tst-unique3lib2.cc: Likewise.
51458 * elf/tst-unique4.cc: Likewise.
51459
df78418a
UD
51460 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51461
8ecd6b2a
JM
514622012-01-06 Joseph Myers <joseph@codesourcery.com>
51463
51464 [BZ #13566]
51465 * assert/assert.h (static_assert): Don't define for C++.
51466 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51467 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51468
9f115170
UD
514692012-01-03 Ulrich Drepper <drepper@gmail.com>
51470
5e0d0300
UD
51471 * iconv/loop.c (single loop): Fix assertion in storing of
51472 remaining bytes.
51473
9f115170
UD
51474 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51475
81fb02b0
UD
514762012-01-01 Ulrich Drepper <drepper@gmail.com>
51477
51478 * posix/getconf.c: Update copyright year.
51479 * nss/getent.c: Likewise.
a316c1f6 51480 * nss/makedb.c: Likewise.
81fb02b0
UD
51481 * iconv/iconvconfig.c: Likewise.
51482 * iconv/iconv_prog.c: Likewise.
51483 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51484 * elf/pldd.c: Likewise.
51485 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51486 * catgets/gencat.c: Likewise.
51487 * csu/version.c: Likewise.
51488 * elf/ldd.bash.in: Likewise.
51489 * elf/sprof.c (print_version): Likewise.
51490 * locale/programs/locale.c: Likewise.
51491 * locale/programs/localedef.c: Likewise.
a316c1f6 51492 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51493 * nscd/nscd.c (print_version): Likewise.
51494 * debug/xtrace.sh: Likewise.
51495 * malloc/memusage.sh: Likewise.
51496 * malloc/mtrace.pl: Likewise.
51497 * debug/catchsegv.sh: Likewise.
51498
2ba92745
JJ
514992011-12-30 Jakub Jelinek <jakub@redhat.com>
51500
51501 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51502 pure attribute.
51503
dadebdae
UD
515042011-12-24 Ulrich Drepper <drepper@gmail.com>
51505
d3761ebc 51506 [BZ #13533]
db6af3eb
UD
51507 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51508 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51509 transformations.
51510 * iconv/gconv_int.h: Likewise.
51511 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51512 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51513 from libc for GLIBC_2.16.
51514 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51515 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51516 * wcsmbs/uchar.h: Really define mbstate_t.
51517 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51518 * wcsmbs/c16rtomb.c: New file.
51519 * wcsmbs/mbrtoc16.c: New file.
51520 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51521 for C/POSIX locale.
51522 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51523 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51524
dadebdae
UD
51525 * wcsmbs/wchar.h: Add missing __restrict.
51526
67371b56
UD
515272011-12-23 Ulrich Drepper <drepper@gmail.com>
51528
74033a25
UD
51529 [BZ #13532]
51530 * time/Makefile (routines): Add timespec_get.
51531 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51532 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51533 timespec for ISO C11.
51534 * time/timespec_get.c: New file.
51535 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51536 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51537
380d7e87
UD
51538 [BZ #13531]
51539 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51540 * stdlib/stdlib.h: Declare aligned_alloc.
51541 * Versions.def: Add GLIBC_2.16 for libc.
51542 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51543
4e9e7a35
UD
51544 [BZ 13527]
51545 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51546 ISO C11.
51547
380d7e87 51548 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51549 code.
51550
03a71829
UD
51551 [BZ #13528]
51552 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51553
839e283e
UD
51554 [BZ #13529]
51555 * assert/assert.h (static_assert): Define.
51556
ce5294e2 51557 * version.h: Update for 2.16 development version.
90fa7312 51558
8d44e150 51559 [BZ #13526]
d7809905
UD
51560 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51561 _ISOC11_SOURCE.
51562
c0da14cd
UD
51563 * version.h (RELEASE): Bump for 2.15 release.
51564 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51565
530a3249
MP
51566 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51567 Patch by Marek Polacek <mpolacek@redhat.com>.
51568
67371b56
UD
51569 * bits/byteswap.h: Protect long long constants with __extension__.
51570 * sysdeps/i386/bits/byteswap.h: Likewise.
51571 * sysdeps/ia64/bits/byteswap.h: Likewise.
51572 * sysdeps/s390/bits/byteswap.h: Likewise.
51573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51574
15db4de1
LD
515752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51576
51577 [BZ #13540]
bbe315ea
LD
51578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51579 destination buffer.
15db4de1
LD
51580 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51581
2b2596b1
MP
515822011-12-23 Marek Polacek <polacek@redhat.com>
51583
51584 * elf/dl-addr.c (determine_info): Add inline keyword.
51585 * elf/tst-auditmod4b.c (check_avx): Likewise.
51586 * elf/tst-auditmod6b.c (check_avx): Likewise.
51587 * elf/tst-auditmod6c.c (check_avx): Likewise.
51588 * elf/tst-auditmod7b.c (check_avx): Likewise.
51589
70c6c246
UD
515902011-12-23 Ulrich Drepper <drepper@gmail.com>
51591
51592 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51593 !__SSE_MATH__.
51594
c044cf14
LD
515952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51596
15db4de1 51597 [BZ #13540]
c044cf14
LD
51598 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51599 processing for last bytes.
51600
6b13d9d9
BH
516012011-08-06 Bruno Haible <bruno@clisp.org>
51602
d455f537
BH
51603 [BZ #13061]
51604 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51605 U+0385, not to U+1FEE.
51606
6b13d9d9
BH
51607 [BZ #13062]
51608 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51609 entry for U+00A5 U+0301.
51610
db910efd
UD
516112011-12-22 Ulrich Drepper <drepper@gmail.com>
51612
27deeafc
UD
51613 [BZ #13166]
51614 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51615 buffer for the output is too small.
51616
aed9d171
UD
51617 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51618 optimization.
51619
db910efd
UD
51620 [BZ #13185]
51621 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51622 SSE flags if possible.
51623
2bd779ae
LD
516242011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51625
e7f9dac3 51626 [BZ #13540]
2bd779ae
LD
51627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51628 processing for last bytes.
51629
154bfc16
JM
516302011-12-22 Joseph Myers <joseph@codesourcery.com>
51631
51632 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51633 (syscall-list-default-options, syscall-list-default-condition)
51634 (syscall-list-includes): Define.
51635 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51636 list of ABIs and options and #if conditions for each ABI. Do not
51637 handle common syscalls between ABIs specially.
51638 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51639 Remove.
51640 (syscall-list-variants, syscall-list-32bit-options)
51641 (syscall-list-32bit-condition, syscall-list-64bit-options)
51642 (syscall-list-64bit-condition): Define.
51643 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51644 (syscall-list-variants, syscall-list-32bit-options)
51645 (syscall-list-32bit-condition, syscall-list-64bit-options)
51646 (syscall-list-64bit-condition): Define.
51647 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51648 Remove.
51649 (syscall-list-variants, syscall-list-32bit-options)
51650 (syscall-list-32bit-condition, syscall-list-64bit-options)
51651 (syscall-list-64bit-condition): Define.
51652 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51653 Remove.
51654 (syscall-list-variants, syscall-list-32bit-options)
51655 (syscall-list-32bit-condition, syscall-list-64bit-options)
51656 (syscall-list-64bit-condition): Define.
51657
21eaf3a5
UD
516582011-12-22 Ulrich Drepper <drepper@gmail.com>
51659
16c6f992
UD
51660 * locale/iso-639.def: Add brx entry.
51661
41043168
UD
51662 [BZ #13328]
51663 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51664 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51665
21eaf3a5
UD
51666 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51667 __feraiseexcept_renamed.
51668
e3a851a2
UD
516692011-12-21 Ulrich Drepper <drepper@gmail.com>
51670
4920765e
UD
51671 [BZ #13538]
51672 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51673 EPOLLET with unsigned values.
51674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51675 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51676
e3a851a2
UD
51677 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51678 to large cancellation.
51679 * math/s_cacoshf.c: Likewise.
51680 * math/s_cacoshl.c: Likewise.
51681
b27e24b8
RK
516822011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51683
51684 [BZ #13305]
aebefeee 51685 [BZ #12786]
b27e24b8
RK
51686 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51687 * math/s_cacoshf.c: Likewise.
51688 * math/s_cacoshl.c: Likewise.
51689
ee190f67
UD
516902011-12-21 Ulrich Drepper <drepper@gmail.com>
51691
51692 [BZ #13439]
51693 * iconv/gconv.h: Define __GCONV_SWAP.
51694 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51695 * iconvdata/utf-16.c: Likewise.
51696 * iconvdata/utf-32.c: Likewise.
51697
707f25df
AS
516982011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51699
51700 [BZ #13524]
51701 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51702 numerator after shifting it by one limb.
51703
d2daaa1e
RÁE
517042011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51705
51706 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51707 under [__USE_EXTERN_INLINES].
51708
a4647e72
UD
517092011-12-17 Ulrich Drepper <drepper@gmail.com>
51710
51711 [BZ #13446]
51712 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51713
f0b264f1
AZ
517142011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51715
51716 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51717 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51718 optimized code.
51719 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51720 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51721 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51722 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51723 for strncasecmp/strncasecmp_l compilation.
51724 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51725 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51726
8ef4f244
MP
517272011-12-08 Marek Polacek <mpolacek@redhat.com>
51728
51729 [BZ #13484]
51730 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51731 of __asm__.
51732
97ac2654
UD
517332011-12-17 Ulrich Drepper <drepper@gmail.com>
51734
51735 [BZ #13506]
51736 * time/tzfile.c (__tzfile_read): Check values from file header.
51737
91d2a845
WS
517382011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51739
51740 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51741 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51742 * powerpc/powerpc32/dl-start.S: Likewise.
51743 * powerpc/powerpc32/elf/start.S: Likewise.
51744 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51745 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51746 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51747 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51748 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51749 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51750 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51751 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51752 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51753 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51754 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51755 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51756 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51757 * powerpc/powerpc32/memset.S: Likewise.
51758 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51759 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51760 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51761 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51762 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51763 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51764 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51765 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51766 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51767 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51768 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51769 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51770 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51771
a1267ba1
AZ
517722011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51773
51774 * math/libm-test.inc: Added more nearbyint tests.
51775 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51777 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51779
ad8ac1bd
RL
517802011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51781
51782 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51783 FD_CLOEXEC.
51784
1d3e4b61
UD
517852011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51786
51787 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51788 Add wcscpy-ssse3 wcscpy-c.
51789 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51790 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51791 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51792 * sysdeps/x86_64/wcschr.S: New file.
51793 * sysdeps/x86_64/wcsrchr.S: New file.
51794 * string/test-strcmp.c: Remove checking of wcscmp function for
51795 wrong alignments.
51796 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51797 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51798 wcsrchr-sse2 wcsrchr-c.
51799 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51800 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51801 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51802 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51803 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51804 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51805 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51806 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51807 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51808 * wcsmbc/wcschr.c (WCSCHR): New macro.
51809
5b330a2d
UD
518102011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51811
51812 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51813 * wcsmbs/test-wcsrchr.c: New file.
51814 * string/test-strrchr.c: Add wcsrchr support.
51815 (WIDE): New macro.
51816 * wcsmbs/test-wcscpy.c: New file.
51817 * string/test-strcpy.c: Add wcscpy support.
51818 (WIDE): New macro.
26428b7c 51819
f039c043
UD
518202011-12-10 Ulrich Drepper <drepper@gmail.com>
51821
51822 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51823 the inner loop.
51824
850fb039
AS
518252011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51826
51827 [BZ #13472]
51828 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51829
4efbd5cb
UD
518302011-12-04 Ulrich Drepper <drepper@gmail.com>
51831
52ff5dd0 51832 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51833 Minor optimizations.
52ff5dd0 51834
4efbd5cb
UD
51835 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51836 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51837 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51838
8a426e12
UD
518392011-12-03 Ulrich Drepper <drepper@gmail.com>
51840
aff2453d
UD
51841 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51842 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51843 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51844 for gcc to avoid warnings.
51845 * inet/Makefile (tests): Add tst-checks.
51846 * inet/tst-checks.c: New file.
51847
51848 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51849 warning.
51850
51851 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51852 __wmemcmp_sse2.
51853
51854 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51855 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51856
8a426e12
UD
51857 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51858
9bea3473
UD
518592011-12-02 Ulrich Drepper <drepper@gmail.com>
51860
3a965496
UD
51861 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51862 problem.
51863
9bea3473
UD
51864 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51865
f101631b
UD
518662011-11-29 Joseph Myers <joseph@codesourcery.com>
51867
51868 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51869 conditional on GCC version.
51870 (__arch_compare_and_exchange_val_8_acq)
51871 (__arch_compare_and_exchange_val_16_acq)
51872 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51873 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51874 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51875
a98275aa
UD
518762011-12-02 Joseph Myers <joseph@codesourcery.com>
51877
51878 * sysdeps/sh/backtrace.c: New file.
51879
d4cc29a2
AS
518802011-12-02 Andreas Schwab <schwab@redhat.com>
51881
51882 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51883 parenthesis.
51884
6257af2d
AS
518852011-12-01 Andreas Schwab <schwab@redhat.com>
51886
51887 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51888 falling back to utime.
51889
b5f44c1a
AS
518902011-11-30 Andreas Schwab <schwab@redhat.com>
51891
51892 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51893 expectations for float.
51894
f3a6cc0a
AS
518952011-11-29 Andreas Schwab <schwab@redhat.com>
51896
51897 * locale/weight.h (findidx): Add parameter len.
51898 * locale/weightwc.h (findidx): Likewise.
51899 * posix/fnmatch_loop.c (FCT): Adjust caller.
51900 * posix/regcomp.c (build_equiv_class): Likewise.
51901 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51902 * posix/regexec.c (check_node_accept_bytes): Likewise.
51903 * string/strcoll_l.c (STRCOLL): Likewise.
51904 * string/strxfrm_l.c (STRXFRM): Likewise.
51905
9d65ea3a
UD
519062011-11-17 Ulrich Drepper <drepper@gmail.com>
51907
51908 * Makefile.in: Remove CVSOPT handling.
51909 * configure.in: Remove use of AC_REVISION.
51910 * iconvdata/Makefile (distribute): No need to filter out CVS.
51911 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51912 handling.
51913
5583a086
AS
519142011-11-16 Andreas Schwab <schwab@redhat.com>
51915
51916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51917 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51918 [USE_AS_STRNCASECMP_L]: Likewise.
51919 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51920 NO_TLS_DIRECT_SEG_REFS.
51921 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51922 Fix argument offsets for non-PIC.
51923 [USE_AS_STRNCASECMP_L]: Likewise.
51924 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51925 NO_TLS_DIRECT_SEG_REFS.
51926
d62a8200
UD
519272011-11-15 Ulrich Drepper <drepper@gmail.com>
51928
9d65ea3a 51929 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51930 O_CLOEXEC.
51931 * locale/loadlocale.c (_nl_load_locale): Likewise.
51932
09f93bd3
AS
519332011-11-15 Andreas Schwab <schwab@redhat.com>
51934
446514f9
AS
51935 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51936 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51937 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51938 (SYSCALL_GETTIME): Set errno on error.
51939
09f93bd3
AS
51940 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51941 count references to noai6ai_cached.
51942
312be3f9
UD
519432011-11-15 Ulrich Drepper <drepper@gmail.com>
51944
51945 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51946
51947 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51948 FD_CLOEXEC for /proc/self/maps.
51949
51950 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51951 FD_CLOEXEC for /proc/meminfo.
51952
51953 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51954 gai.conf.
51955
51956 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51957 FD_CLOEXEC for given file.
51958
51959 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51960
51961 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51962 FD_CLOEXEC for /etc/hosts.
51963 (_gethtent): Likewise.
51964
51965 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51966
51967 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51968 cancellation and set FD_CLOEXEC for /etc/netgroup.
51969
51970 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51971 reading /etc/publickey.
51972
51973 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51974 allow cancellation when reading /etc/group.
51975
51976 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51977 cancellation.
51978 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51979
51980 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51981 when using data file.
51982
51983 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51984
51985 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51986 (write_nis_obj): Use "c" and "e" in fopen.
51987
51988 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51989
51990 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51991
51992 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51993
51994 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51995
51996 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51997 locale.alias.
51998
51999 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52000
52001 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52002
52003 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52004
52005 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52006 file parsing and set FD_CLOEXEC.
52007
82af0fa8
UD
520082011-11-14 Ulrich Drepper <drepper@gmail.com>
52009
52010 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52011
a5fb313c
AS
520122011-11-14 Andreas Schwab <schwab@redhat.com>
52013
52014 * malloc/arena.c (arena_get2): Don't call reused_arena when
52015 _int_new_arena failed.
52016
6abf3465
UD
520172011-11-14 Ulrich Drepper <drepper@gmail.com>
52018
52019 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52020 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52021 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52022 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52023 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52025 to compile strcasecmp and strncasecmp.
52026 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52027 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52028
52029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52030
76e3966e
UD
520312011-11-13 Ulrich Drepper <drepper@gmail.com>
52032
52033 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52034 locale-defines.sym to gen-as-const-headers.
52035 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52036 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52038 to compile strcasecmp and strncasecmp.
52039 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52040 strcasecmp_l and strncasecmp_l.
52041 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52042 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52043 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52044 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52045 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52046 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52047 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52048 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52049 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52050 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52051 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52052
ab26144e
UD
520532011-11-12 Ulrich Drepper <drepper@gmail.com>
52054
7edb22ef
UD
52055 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52056 result of SYSDEP_GETTIME_CPU to retval.
52057 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52058 parameter list to macro. Remove trailing semicolon. Adjust users.
52059
9694fc44
UD
52060 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52061 variable.
52062
8ad89ef8
UD
52063 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52064 mantissa words.
52065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52066
0c822ef9
UD
52067 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52068 from unused variable.
52069
874e0564
UD
52070 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52071 DWARF definitions.
52072 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52073 for assembling.
52074
3a2edc79
UD
52075 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52076 over namespaces.
52077
f3c2577f
UD
52078 * sunrpc/rpc_prot.c (rejected): Fix case value.
52079
294ce126
UD
52080 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52081 unsigned long long int to avoid warnings in shift.
52082
5e2b63c6
UD
52083 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52084 of use of trans.
52085 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52086 variable tmp.
52087
e7f4b08e
UD
52088 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52089 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52090 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52091
ab26144e
UD
52092 * nis/nis_table.c (nis_list): Use variable of correct type for
52093 result of __follow_path call.
52094
8a6d5255
AZ
520952011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52096
52097 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52098 of math functions ceil, trunc, floor, round, and sqrt, when
52099 avaliable on the platform.
52100 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52101 name clash.
52102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52103 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52104 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52105
aaddc98c
MP
521062011-10-30 Marek Polacek <mpolacek@redhat.com>
52107
52108 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52109 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52110
95b7042b
RM
521112011-11-11 Roland McGrath <roland@hack.frob.com>
52112
52113 * include/unistd.h: Fix __readlink return type.
52114 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52115
57769839
UD
521162011-11-11 Ulrich Drepper <drepper@gmail.com>
52117
52118 * stdlib/ucontext.h: Undo last change for makecontext.
52119
edc5984d
AS
521202011-11-11 Andreas Schwab <schwab@redhat.com>
52121
98591e58
AS
52122 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52123
edc5984d
AS
52124 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52125 * setjmp/setjmp.h: Mark functions as non-leaf.
52126 * setjmp/bits/setjmp2.h: Likewise.
52127 * stdlib/ucontext.h: Likewise.
52128
77cdc054
AS
521292011-11-10 Andreas Schwab <schwab@redhat.com>
52130
52131 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52132 (reused_arena): Don't check arena limit.
52133 (arena_get2): Atomically check arena limit.
52134
fe72eebd
UD
521352011-11-08 Ulrich Drepper <drepper@gmail.com>
52136
5f078c32
UD
52137 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52138 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52139
fe72eebd
UD
52140 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52141 instructions.
52142
ae1bc2fa
AS
521432011-11-07 Andreas Schwab <schwab@redhat.com>
52144
7583a88d
AS
52145 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52146 handler when locking.
52147
ae1bc2fa
AS
52148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52149 Fix size of allocated buffer.
52150
10fb0bfa
AS
521512011-11-04 Andreas Schwab <schwab@redhat.com>
52152
998832a4
AS
52153 [BZ #10103]
52154 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52155 declarations for long double functions.
52156 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52157
10fb0bfa
AS
52158 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52159
3d7ba52b
AS
521602011-11-03 Andreas Schwab <schwab@redhat.com>
52161
a9ae54a1
AS
52162 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52163 installed.
52164
3d7ba52b
AS
52165 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52166 is disabled.
52167
bc8db248
ST
521682011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52169
52170 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52171
45b96dd6
AS
521722011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52173
647776f6
AS
52174 * include/alloca.h (stackinfo_alloca_round): Define.
52175 (extend_alloca): Use it.
52176 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52177 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52178 here.
52179
d91a8b93
AS
52180 * scripts/check-local-headers.sh: Ignore libaudit.h.
52181
45b96dd6
AS
52182 * nscd/Makefile (extra-objs): Make recursively expanded.
52183
432d41ce
UD
521842011-11-01 Ulrich Drepper <drepper@gmail.com>
52185
34372fc6
UD
52186 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52187 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52188
fadb59f8
UD
52189 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52190 * posix/tst-rfc3484-2.c: Likewise.
52191 * posix/tst-rfc3484-3.c: Likewise.
52192
78239589
UD
52193 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52194 process_vm_writev.
52195 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52196 process_vm_writev.
52197 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52198 process_vm_writev from libc using GLIBC_2.15 version.
52199
432d41ce
UD
52200 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52201
02f9c6cf
PP
522022011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52203
52204 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52205 stack usage.
52206
3a2c0242
UD
522072011-10-31 Ulrich Drepper <drepper@gmail.com>
52208
f4ec4833
UD
52209 [BZ #13367]
52210 * nss/getent.c (initgroups_keys): Show error message in case no group
52211 names are given.
52212
3a2c0242
UD
52213 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52214 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52215 __bump_nl_timestamp.
52216 * nscd/connections (nscd_init): When host database is served open
52217 netlink socket and request notification about configuration changes.
52218 (main_loop_poll): Track netlink file descriptor and bump timestamp
52219 in case data becomes available.
52220 (main_loop_epoll): Likewise.
52221 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52222 (database_pers_head): Add extra_data fileds.
52223 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52224 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52225 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52226 Adjust caller.
52227 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52228 in6ai data, call __free_in6ai.
52229 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52230 Add -DHAVE_NETLINK.
52231 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52232 interface information. Reuse previous data if netlink timestamp
52233 is not changed.
52234 (__bump_nl_timestamp): New function.
52235 (__free_in6ai): New function.
52236
636064eb
UD
522372011-10-30 Ulrich Drepper <drepper@gmail.com>
52238
52239 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52240 close_not_cancel_no_status here.
52241 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52242
9beb2334
UD
522432011-10-29 Ulrich Drepper <drepper@gmail.com>
52244
6ef76f3b
UD
52245 [BZ #13276]
52246 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52247 return value.
52248
0ffc4f3e 52249 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52250 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52251 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52252
cb95113e
UD
522532011-07-03 Andreas Jaeger <aj@suse.de>
52254
52255 [BZ #10709]
52256 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52257 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52258 * math/libm-test.inc (sin_test): Add test case.
52259
a1b560ff
UD
522602011-10-29 Ulrich Drepper <drepper@gmail.com>
52261
c9aaface
UD
52262 [BZ #13337]
52263 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52264 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52265
d272e7f1
UD
52266 * elf/chroot_canon.c (chroot_canon): Cleanups.
52267
1bc33071
UD
52268 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52269
1760874d
TJ
52270 [BZ #13335]
52271 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52272 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52273
51d91b18
UD
52274 * string/test-strchr.c: Make usable for strchrnul testing.
52275 * string/test-strchrnul.c: New file.
52276 * string/Makefile (strop-tests): Add strchrnul.
52277
a1b560ff 52278 * po/it.po: Update from translation team.
b611fb81 52279 * po/es.po: Likewise.
a1b560ff 52280
a5b81e1f
UD
522812011-10-28 Ulrich Drepper <drepper@gmail.com>
52282
fd52bc6d
UD
52283 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52284 the three constants needed as parameters. Drop the others.
52285 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52286 __m128i_strloadu_tolower.
52e4b9eb
UD
52287 Create and initialize variable zero and use it in all the places
52288 where _mm_setzero_si128 was used.
fd52bc6d 52289
a5b81e1f
UD
52290 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52291 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52292 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52294 anymore.
52295 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52296 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52297 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52298 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52299 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52300 __mpranred, __mptan.
52301 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52302 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52303 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52304 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52305 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52306 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52307 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52308 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52309 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52310
b4343346
AS
523112011-10-28 Andreas Schwab <schwab@redhat.com>
52312
0c92d8a8
AS
52313 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52314 redefine if SHARED.
52315 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52316
b4343346
AS
52317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52318 wide char related routines to wcsmbs subdir.
52319
3871f58f
AS
523202011-10-27 Andreas Schwab <schwab@redhat.com>
52321
52322 [BZ #13344]
52323 * misc/sys/cdefs.h (__THROWNL): Define.
52324 * posix/unistd.h: Use __THREADNL instead of __THREAD
52325 for memory synchronization functions.
52326
94d44d9f
RM
523272011-10-26 Roland McGrath <roland@hack.frob.com>
52328
21b64b15 52329 [BZ #13349]
94d44d9f
RM
52330 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52331 doesn't exist.
52332 * manual/stdio.texi (Obstack Streams): Node removed.
52333
f6ce9294
AS
523342011-10-26 Andreas Schwab <schwab@redhat.com>
52335
80479147
AS
52336 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52337 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52338 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52339
f6ce9294
AS
52340 * math/math_private.h (math_force_eval): Allow non-addressable
52341 arguments.
52342 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52343
618280a1
UD
523442011-10-25 Ulrich Drepper <drepper@gmail.com>
52345
e0016b11
UD
52346 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52347 file is not needed.
52348
52349 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52350 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52351 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52352 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52353 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52354 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52356 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52357 Add AVX variants.
52358 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52359 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52360 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52361 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52362 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52363 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52364 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52365 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52366 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52367 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52368 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52369 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52371 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52372 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52373 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52374 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52375 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52376 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52377
52378 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52379 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52380
618280a1
UD
52381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52382 place. Use VEX encoding when compiling for AVX.
52383
37822576
AS
523842011-10-25 Andreas Schwab <schwab@redhat.com>
52385
1f1e1947
AS
52386 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52387 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52388
37822576
AS
52389 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52390
31ea014d
UD
523912011-10-25 Ulrich Drepper <drepper@gmail.com>
52392
d7826aa1 52393 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52394 useless if() expression.
d7826aa1
UD
52395 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52396 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52397 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52398 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52399 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52400 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52401 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52403 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52405 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52406 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52407 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52408 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52409 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52410 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52411 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52412 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52413 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52414
31ea014d
UD
52415 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52416
16437fec
AS
524172011-10-25 Andreas Schwab <schwab@redhat.com>
52418
52419 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52420 condition.
52421 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52422
31d3cc00
UD
524232011-10-25 Ulrich Drepper <drepper@gmail.com>
52424
52425 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52426 .text section. Avoid duplicate constants.
52427 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52429 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52435 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52436 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52437 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52438 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52439 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52440 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52441 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52442 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52443 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52444 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52445 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52446 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52447 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52448 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52449 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52450 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52451 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52452 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52453 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52454 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52455 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52456 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52457 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52458 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52459 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52460 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52461 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52462 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52463 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52465 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52466 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52467 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52468 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52469 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52471 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52472
58985aa9
UD
524732011-10-24 Ulrich Drepper <drepper@gmail.com>
52474
202c9deb
UD
52475 * sysdeps/x86_64/dla.h: Move to ...
52476 * sysdeps/x86_64/fpu/dla.h: ...here.
52477 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52478 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52479
af968f62
UD
52480 * config.make.in: Add have-mfma4 entry.
52481 * configure.in: Substitute libc_cv_cc_fma4.
52482 * math/Makefile (dbl-only-routines): Add sincostab.
52483 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52484 Use __sincostab not sincos.
52485 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52486 name is a macro.
52487 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52491 using __copysign.
52492 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52493 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52494 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52495 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52496 and __inv.
52497 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52498 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52499 __copysign.
52500 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52501 define aliases when function name is a macro.
52502 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52503 sysdeps/ieee754/dbl-64/sincos.tbl.
52504 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52505 fma4-enabled routines.
52506 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52507 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52508 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52509 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52510 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52511 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52512 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52513 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52514 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52515 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52516 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52517 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52518 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52519 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52520 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52521 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52522 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52523 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52524 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52525 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52526 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52527 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52528 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52529 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52530 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52531 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52533 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52534 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52535 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52536
58985aa9
UD
52537 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52538 rename.
52539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52546 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52547
a201fbcf
AS
525482011-10-24 Andreas Schwab <schwab@redhat.com>
52549
52550 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52551
fc2ee42a
LD
525522011-10-23 Ulrich Drepper <drepper@gmail.com>
52553
bb3129bd
UD
52554 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52555
0275fff8
UD
52556 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52557 prediction.
52558 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52559
2fa2ae85
UD
52560 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52561 Remove unused variable magic_bits.
52562 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52563
fc2ee42a
LD
52564 * string/strnlen.c: Define and use STRNLEN macro.
52565 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52566 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52567 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52568 * wcsmbs/wcslen.c: Define and use WCSLEN.
52569 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52570 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52571 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52572 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52573 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52574 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52575 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52576
ce7dd29f
LD
525772011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52578
52579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52580 strnlen-sse2-no-bsf.
52581 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52583 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52584 Add strnlen support.
52585 (USE_AS_STRNLEN): New macro.
52586 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52587 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52588 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52589 * sysdeps/x86_64/wcslen.S: New file.
52590
979c70a3
MZ
525912011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52592
52593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52594 XMM-moves are used for copying on small sizes.
52595
2d09f82f
LD
525962011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52597
52598 * wcsmbs/Makefile (strop-tests): Add wcschr.
52599 * wcsmbs/test-wcschr.c: New file.
52600 * string/test-strchr.c: Update.
52601 Add wcschr support.
52602 (WIDE): New macro.
52603
619fccca
LD
526042011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52605
2d09f82f 52606 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52607 * wcsmbs/test-wcslen.c: New file.
52608 * string/test-strlen.c: Update.
52609 Add wcslen support.
52610 (WIDE): New macro.
52611
09f699ea
UD
526122011-10-23 Ulrich Drepper <drepper@gmail.com>
52613
52614 * po/it.po: Update from translation team.
52615
95584d3b
LD
526162011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52617
52618 * sysdeps/x86_64/wcscmp.S: Update.
52619 Fix wrong comparison semantics.
52620 wcscmp shall use signed comparison not unsigned.
52621 Don't use substraction to avoid overflow bug.
52622 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52623 * wcsmbc/wcscmp.c: Likewise.
52624 * string/test-strcmp.c: Likewise.
52625 Add new tests to check cases with negative values.
52626
c8b3296b
UD
526272011-10-23 Ulrich Drepper <drepper@gmail.com>
52628
52629 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52630 * sysdeps/x86_64/dla.h: ...here. New file.
52631 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52636 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52637 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52639 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52640
246ad57a
AS
526412011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52642
52643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52644 __ynl_finite aliases.
52645
a1a87169
UD
526462011-10-22 Ulrich Drepper <drepper@gmail.com>
52647
0d355eb7
UD
52648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52649
a1a87169
UD
52650 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52651 define DLA_FMA.
52652 [DLA_FMA] (EMULV): Use DLA_FMA.
52653 [DLA_FMA] (MUL12): Use EMULV.
52654 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52655 that are not needed.
52656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52661 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52663
ee2aafe0
AS
526642011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52665
52666 * math/s_nan.c: Undef __nan.
52667 * math/s_nanf.c: Undef __nanf.
52668 * math/s_nanl.c: Undef __nanl.
52669 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52670 "math_private.h".
52671
bc62c2fb
UD
526722011-10-22 Ulrich Drepper <drepper@gmail.com>
52673
77425c63
UD
52674 * math/s_catan.c: Add branch predictions.
52675 * math/s_catanf.c: Likewise.
52676 * math/s_catanh.c: Likewise.
52677 * math/s_catanhf.c: Likewise.
52678 * math/s_catanhl.c: Likewise.
52679 * math/s_catanl.c: Likewise.
52680 * math/s_cexp.c: Likewise.
52681 * math/s_cexpf.c: Likewise.
52682 * math/s_cexpl.c: Likewise.
52683 * math/s_clog.c: Likewise.
52684 * math/s_clog10.c: Likewise.
52685 * math/s_clog10f.c: Likewise.
52686 * math/s_clog10l.c: Likewise.
52687 * math/s_clogf.c: Likewise.
52688 * math/s_clogl.c: Likewise.
52689 * math/s_csqrt.c: Likewise.
52690 * math/s_csqrtf.c: Likewise.
52691 * math/s_csqrtl.c: Likewise.
52692 * math/s_ctanf.c: Likewise.
52693 * math/s_ctanh.c: Likewise.
52694 * math/s_ctanhf.c: Likewise.
52695 * math/s_ctanhl.c: Likewise.
52696 * math/s_ctanl.c: Likewise.
52697
bc62c2fb
UD
52698 * math/math_private.h: Define __nan, __nanf, __nanl.
52699 * math/s_cacosh.c: Include <math_private.h>.
52700 * math/s_cacoshl.c: Likewise.
52701 * math/s_casinh.c: Likewise.
52702 * math/s_casinhf.c: Likewise.
52703 * math/s_casinhl.c: Likewise.
52704 * math/s_ccos.c: Rely entire on ccosh.
52705 * math/s_ccosf.c: Rely entire on ccoshf.
52706 * math/s_ccosl.c: Rely entirely on ccoshl.
52707 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52708 Remove tests for FE_INVALID.
52709 * math/s_ccoshf.c: Likewise.
52710 * math/s_ccoshl.c: Likewise.
52711 * math/s_csin.c: Likewise.
52712 * math/s_csinf.c: Likewise.
52713 * math/s_csinh.c Likewise.
52714 * math/s_csinhf.c: Likewise.
52715 * math/s_csinhl.c: Likewise.
52716 * math/s_csinl.c: Likewise.
52717 * math/s_ctan.c: Likewise.
52718 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52719 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52720 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52721
8ec250a4
UD
527222011-10-21 Ulrich Drepper <drepper@gmail.com>
52723
c196fed8
UD
52724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52725 compilation problems.
52726
8ec250a4
UD
52727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52728 __builtin_expect.
52729
8d4f46c6
UD
527302011-10-20 Ulrich Drepper <drepper@gmail.com>
52731
ed72b654
UD
52732 * sysdeps/i386/configure.in: Test for -mfma4 option.
52733 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52734 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52735 COMMON_CPUID_INDEX_80000001.
52736 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52737 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52738 use it if FMA3 is not supported.
52739 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52740
8d4f46c6
UD
52741 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52742 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52743
d45c60c2
AS
527442011-10-20 Andreas Schwab <schwab@redhat.com>
52745
52746 [BZ #12892]
52747 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52748 it would create a cycle with a link time dependency.
52749
d9a4d2ab
UD
527502011-10-19 Ulrich Drepper <drepper@gmail.com>
52751
855d1560
UD
52752 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52753 instruction.
52754 * string/Makefile (strop-tests): Add rawmemchr.
52755 * string/test-rawmemchr.c: New file.
52756
d9a4d2ab
UD
52757 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52759 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52760 when compiling str{,n}casecmp and when AVX is available. Hook up
52761 new optimized code in initializers.
52762
8f3b1ffe
AS
527632011-10-19 Andreas Schwab <schwab@redhat.com>
52764
52765 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52766 __feraiseexcept instead of feraiseexcept.
52767
d38f1dba
UD
527682011-10-18 Ulrich Drepper <drepper@gmail.com>
52769
d9a8d0ab
UD
52770 * math/math_private.h: Define defaults for libc_fetestexcept and
52771 libc_feupdateenv.
52772 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52773 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52774 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52775 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52776 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52777 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52778 libc_fetestexcept and libc_feupdateenv.
52779
4855e3dd
UD
52780 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52781 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52782 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52783 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52784 libc_feholdexcept_setround.
52785
581d30e3
UD
52786 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52787 Add s_nearbyint-c and s_nearbyintf-c.
52788 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52789 nearbyintf inlines.
52790 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52791 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52792 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52793 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52794
d38f1dba
UD
52795 * math/math_private.h: Define defaults for libc_fegetround,
52796 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52797 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52798 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52799 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52800 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52801 standard functions.
52802 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52803 Remove comments and hacks for old compiler versions.
52804 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52805 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52806 libc_feholdexceptl.
52807
caa6c9d8
AS
528082011-10-18 Andreas Schwab <schwab@redhat.com>
52809
52810 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52811 (__feraiseexcept_renamed): Add __NTH.
52812 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52813 namespace violations.
52814
97c066e6
UD
528152011-10-17 Ulrich Drepper <drepper@gmail.com>
52816
99ce7b04
UD
52817 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52818
1004d182
UD
52819 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52820
228a984d
UD
52821 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52822 recently added interfaces.
52823 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52824
c8553a6a
UD
52825 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52826 about macro parameter expansion.
52827
ed22dcf6
UD
52828 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52829 __NO_MATH_INLINES is defined. Cleanups.
52830
52831 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52832 and __floorf is target has SSE4.1.
52833 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52834 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52835 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52836 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52837
b171c137
UD
52838 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52839 name.
52840 (floorf): Likewise.
52841
97c066e6
UD
52842 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52843
629f62ef
AS
528442011-10-17 Andreas Schwab <schwab@redhat.com>
52845
49a43d80
AS
52846 * misc/sys/cdefs.h: Fix last change.
52847
629f62ef
AS
52848 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52849 database lookup.
52850
e453f6cd
UD
528512011-10-16 Ulrich Drepper <drepper@gmail.com>
52852
aa78043a
UD
52853 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52854
ad0f5cad
UD
52855 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52856 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52857 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52858 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52860 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52861 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52862 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52863 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52864 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52865 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52866 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52867 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52868 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52869 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52870 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52871 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52872 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52873 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52874 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52875 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52876 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52877
52878 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52879 ceil, ceilf, floor, floorf.
52880
52881 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52882 Perform IRELATIVE relocations last.
52883
e453f6cd
UD
52884 * elf/do-rel.h: Add another parameter nrelative, replacing the
52885 local variable with the same name. Change name of the function
52886 to end in Rel or Rela (uppercase).
52887 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52888 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52889 elf_dynamic_do_##reloc function.
52890
fd5bdc09
UD
528912011-10-15 Ulrich Drepper <drepper@gmail.com>
52892
79b195b5
UD
52893 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52894 is sufficient, at least on modern CPUs.
52895
d4a28569
UD
52896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52897
b61099b5
UD
52898 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52899 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52900
bcf01e6d
UD
52901 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52902 __expl_finite.
52903 * math/bits/math-finite.h: Add entries for exp.
52904 * math/e_expl.c: Add __*_finite alias.
52905 * sysdeps/i386/fpu/e_exp.S: Likewise.
52906 * sysdeps/i386/fpu/e_expf.S: Likewise.
52907 * sysdeps/i386/fpu/e_expl.c: Likewise.
52908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52909 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52910 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52912 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52913 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52914 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52915
ba1a0d59
UD
52916 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52917 is sufficient, at least on modern CPUs.
52918
fd5bdc09
UD
52919 * ctype/ctype-info.c (__ctype_init): Define.
52920 * include/ctype.h (__ctype_init): Declare.
52921 (__ctype_b_loc): The variable is always initialized.
52922 (__ctype_toupper_loc): Likewise.
52923 (__ctype_tolower_loc): Likewise.
52924 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52925 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52926
7872cfb0
AS
529272011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52928
b468825a
AS
52929 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52930
7872cfb0
AS
52931 * configure.in: Also look in $cxxmachine/include for C++ system
52932 headers.
52933
be13f7bf
LD
529342011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52935
52936 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52937 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52938 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52939 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52940 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52941 (USE_AS_WMEMCMP): New macro.
52942 Fixing indents.
52943 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52944 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52945 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52946 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52948 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52949 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52950 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52951 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52952 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52953 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52954 (USE_AS_WMEMCMP): New macro.
52955 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52956 * sysdeps/string/test-memcmp.c: Update.
52957 Fix simple_wmemcmp.
52958 Add new tests.
52959 * wcsmbs/wmemcmp.c: Update.
52960 (WMEMCMP): New macro.
52961 Fix overflow bug.
52962
556a2007
AJ
529632011-10-12 Andreas Jaeger <aj@suse.de>
52964
52965 [BZ #13268]
52966 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52967
538faaa7
UD
529682011-10-15 Ulrich Drepper <drepper@gmail.com>
52969
ab6737ff
UD
52970 * libio/iofwide.c (do_length): Avoid warning.
52971
538faaa7
UD
52972 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52973
396a21b1
UD
529742011-10-14 Ulrich Drepper <drepper@gmail.com>
52975
cdf2901f
UD
52976 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52977
38ad40ce
UD
52978 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52979 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52980 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52981 * sysdeps/i386/i686/fpu/e_log.S: New file.
52982 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52983 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52984
396a21b1
UD
52985 * ctype/ctype.h: Add support for inlined isXXX functions when
52986 compiling C++ code.
52987
6b1f68c9
AS
529882011-10-14 Andreas Schwab <schwab@redhat.com>
52989
349290c0
AS
52990 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52991
6b1f68c9
AS
52992 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52993
f2282d42
RM
529942011-10-13 Roland McGrath <roland@hack.frob.com>
52995
52996 [BZ #13291]
52997 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52998
5298ffa8
AS
529992011-10-13 Andreas Schwab <schwab@redhat.com>
53000
714fad23
AS
53001 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53002 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53003 feraiseexcept.
53004
81dcc7fb
AS
53005 * sysdeps/x86_64/memrchr.S: Check for zero size.
53006
5298ffa8
AS
53007 * string/stratcliff.c: Add memrchr tests.
53008
951fbcec
LD
530092011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53010
53011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53012 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53013 rawmemchr-sse2 rawmemchr-sse2-bsf.
53014 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53015 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53016 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53017 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53018 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53019 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53020 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53021 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53022 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53023 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53024 * string/memrchr.c (MEMRCHR): New macro.
53025
0ac5ae23
UD
530262011-10-12 Ulrich Drepper <drepper@gmail.com>
53027
53028 Add integration with gcc's -ffinite-math-only and optimize wrapper
53029 functions in libm.
53030 * Versions.def: Define GLIBC_2.15 version for libm.
53031 * math/Makefile (headers): Add bits/math-finite.h.
53032 * math/bits/math-finite.h: New file.
53033 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53034 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53035 * math/e_acoshl.c: Add __*_finite alias.
53036 * math/e_acosl.c: Likewise.
53037 * math/e_asinl.c: Likewise.
53038 * math/e_atan2l.c: Likewise.
53039 * math/e_atanhl.c: Likewise.
53040 * math/e_coshl.c: Likewise.
53041 * math/e_exp10.c: Likewise.
53042 * math/e_exp10f.c: Likewise.
53043 * math/e_exp10l.c: Likewise.
53044 * math/e_exp2l.c: Likewise.
53045 * math/e_fmodl.c: Likewise.
53046 * math/e_gammal_r.c: Likewise.
53047 * math/e_hypotl.c: Likewise.
53048 * math/e_j0l.c: Likewise.
53049 * math/e_j1l.c: Likewise.
53050 * math/e_jnl.c: Likewise.
53051 * math/e_lgammal_r.c: Likewise.
53052 * math/e_log10l.c: Likewise.
53053 * math/e_log2l.c: Likewise.
53054 * math/e_logl.c: Likewise.
53055 * math/e_powl.c: Likewise.
53056 * math/e_sinhl.c: Likewise.
53057 * math/e_sqrtl.c: Likewise.
53058 * math/e_scalb.c: Completely rewritten and optimized.
53059 * math/e_scalbf.c: Likewise.
53060 * math/e_scalbl.c: Likewise.
53061 * math/w_acos.c: Likewise.
53062 * math/w_acosf.c: Likewise.
53063 * math/w_acosl.c: Likewise.
53064 * math/w_acosh.c: Likewise.
53065 * math/w_acoshf.c: Likewise.
53066 * math/w_acoshl.c: Likewise.
53067 * math/w_asin.c: Likewise.
53068 * math/w_asinf.c: Likewise.
53069 * math/w_asinl.c: Likewise.
53070 * math/w_atan2.c: Likewise.
53071 * math/w_atan2f.c: Likewise.
53072 * math/w_atan2l.c: Likewise.
53073 * math/w_atanh.c: Likewise.
53074 * math/w_atanhf.c: Likewise.
53075 * math/w_atanhl.c: Likewise.
53076 * math/w_exp10.c: Likewise.
53077 * math/w_exp10f.c: Likewise.
53078 * math/w_exp10l.c: Likewise.
53079 * math/w_fmod.c: Likewise.
53080 * math/w_fmodf.c: Likewise.
53081 * math/w_fmodl.c: Likewise.
53082 * math/w_j0.c: Likewise.
53083 * math/w_j0f.c: Likewise.
53084 * math/w_j0l.c: Likewise.
53085 * math/w_j1.c: Likewise.
53086 * math/w_j1f.c: Likewise.
53087 * math/w_j1l.c: Likewise.
53088 * math/w_jn.c: Likewise.
53089 * math/w_jnf.c: Likewise.
53090 * math/w_log.c: Likewise.
53091 * math/w_logf.c: Likewise.
53092 * math/w_logl.c: Likewise.
53093 * math/w_log10.c: Likewise.
53094 * math/w_log10f.c: Likewise.
53095 * math/w_log10l.c: Likewise.
53096 * math/w_log2.c: Likewise.
53097 * math/w_log2f.c: Likewise.
53098 * math/w_log2l.c: Likewise.
53099 * math/w_pow.c: Likewise.
53100 * math/w_powf.c: Likewise.
53101 * math/w_powl.c: Likewise.
53102 * math/w_remainder.c: Likewise.
53103 * math/w_remainderf.c: Likewise.
53104 * math/w_remainderl.c: Likewise.
53105 * math/w_scalb.c: Likewise.
53106 * math/w_scalbf.c: Likewise.
53107 * math/w_scalbl.c: Likewise.
53108 * math/w_sqrt.c: Likewise.
53109 * math/w_sqrtf.c: Likewise.
53110 * math/w_sqrtl.c: Likewise.
53111 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53112 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53113 used.
53114 * math/math_private.h: Declare __kernel_standard_f.
53115 * math/w_cosh.c: Remove cruft and optimize a bit.
53116 * math/w_coshf.c: Likewise.
53117 * math/w_coshl.c: Likewise.
53118 * math/w_exp2.c: Likewise.
53119 * math/w_exp2f.c: Likewise.
53120 * math/w_exp2l.c: Likewise.
53121 * math/w_hypot.c: Likewise.
53122 * math/w_hypotf.c: Likewise.
53123 * math/w_hypotl.c: Likewise.
53124 * math/w_lgamma.c: Likewise.
53125 * math/w_lgamma_r.c: Likewise.
53126 * math/w_lgammaf.c: Likewise.
53127 * math/w_lgammaf_r.c: Likewise.
53128 * math/w_lgammal.c: Likewise.
53129 * math/w_lgammal_r.c: Likewise.
53130 * math/w_sinh.c: Likewise.
53131 * math/w_sinhf.c: Likewise.
53132 * math/w_sinhl.c: Likewise.
53133 * math/w_tgamma.c: Likewise.
53134 * math/w_tgammaf.c: Likewise.
53135 * math/w_tgammal.c: Likewise.
53136 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53137 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53138 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53139 Minor optimizations. Pretty printing. Remove cruft.
53140 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53141 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53142 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53143 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53144 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53145 * sysdeps/i386/fpu/e_asin.S: Likewise.
53146 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53147 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53148 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53149 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53150 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53151 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53152 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53153 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53154 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53155 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53156 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53157 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53158 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53159 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53160 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53161 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53162 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53163 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53164 * sysdeps/i386/fpu/e_log.S: Likewise.
53165 * sysdeps/i386/fpu/e_log10.S: Likewise.
53166 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53167 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53168 * sysdeps/i386/fpu/e_log2.S: Likewise.
53169 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53170 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53171 * sysdeps/i386/fpu/e_logf.S: Likewise.
53172 * sysdeps/i386/fpu/e_logl.S: Likewise.
53173 * sysdeps/i386/fpu/e_pow.S: Likewise.
53174 * sysdeps/i386/fpu/e_powf.S: Likewise.
53175 * sysdeps/i386/fpu/e_powl.S: Likewise.
53176 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53177 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53178 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53179 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53180 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53181 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53182 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53183 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53184 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53185 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53186 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53188 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53189 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53190 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53191 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53192 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53193 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53194 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53195 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53196 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53198 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53199 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53201 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53202 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53203 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53204 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53205 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53206 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53207 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53208 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53209 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53210 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53211 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53212 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53213 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53214 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53215 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53216 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53217 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53218 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53219 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53220 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53221 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53222 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53223 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53224 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53225 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53226 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53227 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53228 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53229 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53230 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53231 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53232 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53233 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53234 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53235 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53236 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53237 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53238 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53240 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53241 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53242 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53243 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53244 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53245 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53246 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53248 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53250 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53251 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53252 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53253 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53254 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53255 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53256 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53257 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53259 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53261 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53262 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53264 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53265 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53266 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53267 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53268 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53269 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53270 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53271 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53272 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53273 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53274 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53275 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53276 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53277 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53278 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53279 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53280 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53281 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53282 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53283 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53284 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53285 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53286 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53287 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53288 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53289 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53290 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53291 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53292 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53293 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53294 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53295 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53296 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53297 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53298 (__isnanf): Likewise.
53299 (__isinf_ns): Likewise.
53300 (__isinf_nsf): Likewise.
53301 (__finite): Likewise.
53302 (__finitef): Likewise.
53303 (__ieee754_sqrt): Define as macro.
53304 (__ieee754_sqrtf): Define as macro.
53305 (__ieee754_sqrtl): Define as macro.
53306 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53307 inlined copy.
53308 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53309 __FINITE_MATH_ONLY__ consistent.
53310 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53311
12cc2fcd
AS
533122011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53313
a843a204
AS
53314 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53315 of rawmemchr.
53316
12cc2fcd
AS
53317 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53318
c853acd5
UD
533192011-10-09 Ulrich Drepper <drepper@gmail.com>
53320
53321 * po/ja.po: Update from translation team.
53322
c658d255
RM
533232011-10-08 Roland McGrath <roland@hack.frob.com>
53324
110946e4
RM
53325 * locale/programs/locarchive.c (prepare_address_space): New function.
53326 (create_archive, enlarge_archive, open_archive): Use it.
53327
50604220
RM
53328 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53329 inside [SHARED], where it is used.
53330
c658d255
RM
53331 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53332
53333 * nss/getent.c (netgroup_keys): Remove unused variable.
53334 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53335
6a621eb7
UD
533362011-10-08 Ulrich Drepper <drepper@gmail.com>
53337
7edb55ce
UD
53338 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53339 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53341 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53342 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53343 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53344 * math/Makefile (libm-calls): Add s_isinf_ns.
53345 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53346 * math/multc3.c: Likewise.
53347 * math/s_casin.c: Likewise.
53348 * math/s_casinf.c: Likewise.
53349 * math/s_casinl.c: Likewise.
53350 * math/s_ccos.c: Likewise.
53351 * math/s_ccosf.c: Likewise.
53352 * math/s_ccosl.c: Likewise.
53353 * math/s_ctan.c: Likewise.
53354 * math/s_ctanf.c: Likewise.
53355 * math/s_ctanh.c: Likewise.
53356 * math/s_ctanhf.c: Likewise.
53357 * math/s_ctanhl.c: Likewise.
53358 * math/s_ctanl.c: Likewise.
53359 * math/w_fmod.c: Likewise.
53360 * math/w_fmodf.c: Likewise.
53361 * math/w_fmodl.c: Likewise.
53362 * math/w_remainder.c: Likewise.
53363 * math/w_remainderf.c: Likewise.
53364 * math/w_remainderl.c: Likewise.
53365 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53366 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53367 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53369 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53370 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53371 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53372 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53373
187da0ae
UD
53374 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53375 of the number.
53376 * stdio-common/printf_fphex.c: Likewise.
53377 * stdio-common/printf_size.c: Likewise.
53378
9277c064
UD
53379 * math/e_exp10.c: Include math_private.h using <...> not "...".
53380 * math/e_exp10f.c: Likewise.
53381 * math/e_exp10l.c: Likewise.
53382 * math/e_exp2l.c: Likewise.
53383 * math/e_j0l.c: Likewise.
53384 * math/e_j1l.c: Likewise.
53385 * math/e_jnl.c: Likewise.
53386 * math/e_lgammal_r.c: Likewise.
53387 * math/e_rem_pio2l.c: Likewise.
53388 * math/e_scalb.c: Likewise.
53389 * math/e_scalbf.c: Likewise.
53390 * math/e_scalbl.c: Likewise.
53391 * math/k_cosl.c: Likewise.
53392 * math/k_sinl.c: Likewise.
53393 * math/k_tanl.c: Likewise.
53394 * math/s_cacoshf.c: Likewise.
53395 * math/s_catan.c: Likewise.
53396 * math/s_catanf.c: Likewise.
53397 * math/s_catanh.c: Likewise.
53398 * math/s_catanhf.c: Likewise.
53399 * math/s_catanhl.c: Likewise.
53400 * math/s_catanl.c: Likewise.
53401 * math/s_ccosh.c: Likewise.
53402 * math/s_ccoshf.c: Likewise.
53403 * math/s_ccoshl.c: Likewise.
53404 * math/s_cexp.c: Likewise.
53405 * math/s_cexpf.c: Likewise.
53406 * math/s_cexpl.c: Likewise.
53407 * math/s_clog.c: Likewise.
53408 * math/s_clog10.c: Likewise.
53409 * math/s_clog10f.c: Likewise.
53410 * math/s_clog10l.c: Likewise.
53411 * math/s_clogf.c: Likewise.
53412 * math/s_clogl.c: Likewise.
53413 * math/s_csin.c: Likewise.
53414 * math/s_csinf.c: Likewise.
53415 * math/s_csinh.c: Likewise.
53416 * math/s_csinhf.c: Likewise.
53417 * math/s_csinhl.c: Likewise.
53418 * math/s_csinl.c: Likewise.
53419 * math/s_csqrt.c: Likewise.
53420 * math/s_csqrtf.c: Likewise.
53421 * math/s_csqrtl.c: Likewise.
53422 * math/s_ctan.c: Likewise.
53423 * math/s_ctanf.c: Likewise.
53424 * math/s_ctanh.c: Likewise.
53425 * math/s_ctanhf.c: Likewise.
53426 * math/s_ctanhl.c: Likewise.
53427 * math/s_ctanl.c: Likewise.
53428 * math/s_ldexp.c: Likewise.
53429 * math/s_ldexpf.c: Likewise.
53430 * math/s_ldexpl.c: Likewise.
53431 * math/s_significand.c: Likewise.
53432 * math/s_significandf.c: Likewise.
53433 * math/s_significandl.c: Likewise.
53434 * math/w_acos.c: Likewise.
53435 * math/w_acosf.c: Likewise.
53436 * math/w_acosh.c: Likewise.
53437 * math/w_acoshf.c: Likewise.
53438 * math/w_acoshl.c: Likewise.
53439 * math/w_acosl.c: Likewise.
53440 * math/w_asin.c: Likewise.
53441 * math/w_asinf.c: Likewise.
53442 * math/w_asinl.c: Likewise.
53443 * math/w_atan2.c: Likewise.
53444 * math/w_atan2f.c: Likewise.
53445 * math/w_atan2l.c: Likewise.
53446 * math/w_atanh.c: Likewise.
53447 * math/w_atanhf.c: Likewise.
53448 * math/w_atanhl.c: Likewise.
53449 * math/w_cosh.c: Likewise.
53450 * math/w_coshf.c: Likewise.
53451 * math/w_coshl.c: Likewise.
53452 * math/w_dremf.c: Likewise.
53453 * math/w_exp10.c: Likewise.
53454 * math/w_exp10f.c: Likewise.
53455 * math/w_exp10l.c: Likewise.
53456 * math/w_exp2.c: Likewise.
53457 * math/w_exp2f.c: Likewise.
53458 * math/w_fmod.c: Likewise.
53459 * math/w_fmodf.c: Likewise.
53460 * math/w_fmodl.c: Likewise.
53461 * math/w_hypot.c: Likewise.
53462 * math/w_hypotf.c: Likewise.
53463 * math/w_hypotl.c: Likewise.
53464 * math/w_j0.c: Likewise.
53465 * math/w_j0f.c: Likewise.
53466 * math/w_j0l.c: Likewise.
53467 * math/w_j1.c: Likewise.
53468 * math/w_j1f.c: Likewise.
53469 * math/w_j1l.c: Likewise.
53470 * math/w_jn.c: Likewise.
53471 * math/w_jnf.c: Likewise.
53472 * math/w_jnl.c: Likewise.
53473 * math/w_lgamma.c: Likewise.
53474 * math/w_lgamma_r.c: Likewise.
53475 * math/w_lgammaf.c: Likewise.
53476 * math/w_lgammaf_r.c: Likewise.
53477 * math/w_lgammal.c: Likewise.
53478 * math/w_lgammal_r.c: Likewise.
53479 * math/w_log.c: Likewise.
53480 * math/w_log10.c: Likewise.
53481 * math/w_log10f.c: Likewise.
53482 * math/w_log10l.c: Likewise.
53483 * math/w_log2.c: Likewise.
53484 * math/w_log2f.c: Likewise.
53485 * math/w_log2l.c: Likewise.
53486 * math/w_logf.c: Likewise.
53487 * math/w_logl.c: Likewise.
53488 * math/w_pow.c: Likewise.
53489 * math/w_powf.c: Likewise.
53490 * math/w_powl.c: Likewise.
53491 * math/w_remainder.c: Likewise.
53492 * math/w_remainderf.c: Likewise.
53493 * math/w_remainderl.c: Likewise.
53494 * math/w_scalb.c: Likewise.
53495 * math/w_scalbf.c: Likewise.
53496 * math/w_scalbl.c: Likewise.
53497 * math/w_sinh.c: Likewise.
53498 * math/w_sinhf.c: Likewise.
53499 * math/w_sinhl.c: Likewise.
53500 * math/w_sqrt.c: Likewise.
53501 * math/w_sqrtf.c: Likewise.
53502 * math/w_sqrtl.c: Likewise.
53503 * math/w_tgamma.c: Likewise.
53504 * math/w_tgammaf.c: Likewise.
53505 * math/w_tgammal.c: Likewise.
53506
6a621eb7
UD
53507 * po/ja.po: Update from translation team.
53508
bf582445
AJ
535092011-09-29 Andreas Jaeger <aj@suse.de>
53510
f9efbf3a
AJ
53511 [BZ #13179]
53512 * sunrpc/netname.c (netname2host): Fix logic.
53513
bf582445
AJ
53514 [BZ #6779]
53515 [BZ #6783]
53516 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53517 correctly.
53518 * math/w_remainder.c (__remainder): Likewise.
53519 * math/w_remainderf.c (__remainderf): Likewise.
53520 * math/libm-test.inc (remainder_test): Add test cases.
53521
48693bea
AK
535222011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53523
53524 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53525 sdiv_qrnnd.
53526
42622229
LD
535272011-10-07 Ulrich Drepper <drepper@gmail.com>
53528
53529 * string/test-memcmp.c: Avoid unncessary #defines.
53530 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53531
093ecf92
LD
535322011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53533
53534 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53535 Use new sse2 version for core i3 - i7 as it's faster
53536 than sse42 version.
53537 (bit_Prefer_PMINUB_for_stringop): New.
53538 * sysdeps/x86_64/rawmemchr.S: Update.
53539 Replace with faster SSE2 version.
53540 * sysdeps/x86_64/memrchr.S: New file.
53541 * sysdeps/x86_64/memchr.S: Update.
53542 Replace with faster SSE2 version.
53543
fde56e5c
MP
535442011-09-12 Marek Polacek <mpolacek@redhat.com>
53545
53546 * elf/dl-load.c (lose): Add cast to avoid warning.
53547
21fd49a9
UD
535482011-10-07 Ulrich Drepper <drepper@gmail.com>
53549
5a06e643
UD
53550 * po/ca.po: Update from translation team.
53551
684ae515
UD
53552 * inet/getnetgrent_r.c: Hook up nscd.
53553 * nscd/Makefile (routines): Add nscd_netgroup.
53554 (nscd-modules): Add netgroupcache.
53555 (CFLAGS-netgroupcache.c): Define.
53556 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53557 (cache_search): Add const to second parameter.
53558 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53559 INNETGR.
53560 (dbs): Add netgrdb entry.
53561 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53562 (verify_persistent_db): Handle netgrdb.
53563 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53564 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53565 GETFDNETGR.
53566 (netgroup_response_header): Define.
53567 (innetgroup_response_header): Define.
53568 (datahead): Add netgroup_response_header and innetgroup_response_header
53569 elements.
53570 * nscd/nscd.conf: Add entries for netgroup cache.
53571 * nscd/nscd.h (dbtype): Add netgrdb.
53572 (_PATH_NSCD_NETGROUP_DB): Define.
53573 (netgroup_iov_disabled): Declare.
53574 (xmalloc, xcalloc, xrealloc): Move declarations here.
53575 (cache_search): Adjust prototype.
53576 Add netgroup-related prototypes.
53577 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53578 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53579 (__nscd_innetgr): Declare.
53580 * nscd/selinux.c (perms): Use access_vector_t as element type and
53581 add netgroup-related initializers.
53582 * nscd/netgroupcache.c: New file.
53583 * nscd/nscd_netgroup.c: New file.
53584 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53585 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53586 For four parameters use innetgr.
53587 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53588 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53589 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53590 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53591
21fd49a9
UD
53592 * nscd/connections.c (register_traced_file): Don't register file
53593 for disabled databases.
53594
054c0457
UD
535952011-10-06 Ulrich Drepper <drepper@gmail.com>
53596
32b63198
UD
53597 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53598
054c0457
UD
53599 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53600 from tree and freeing node.
53601
64031225
JO
536022011-09-25 Jiri Olsa <jolsa@redhat.com>
53603
53604 * nss/nsswitch.c (__nss_database_lookup): Handle
53605 nss_parse_service_list out of memory case.
53606
0490345c
JO
536072011-09-15 Jiri Olsa <jolsa@redhat.com>
53608
53609 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53610 out of memory case.
53611
3a62d00d
AS
536122011-10-04 Andreas Schwab <schwab@redhat.com>
53613
53614 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53615 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53616 pass it down.
53617 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53618 elf_machine_rela, elf_machine_lazy_rel.
53619 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53620 (ELF_DYNAMIC_DO_REL): Likewise.
53621 (ELF_DYNAMIC_DO_RELA): Likewise.
53622 (ELF_DYNAMIC_RELOCATE): Likewise.
53623 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53624 to ELF_DYNAMIC_DO_REL.
53625 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53626 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53627 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53628 elf_machine_rela.
53629 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53630 skip_ifunc, don't call ifunc function if non-zero.
53631 (elf_machine_rela): Likewise.
53632 (elf_machine_lazy_rel): Likewise.
53633 (elf_machine_lazy_rela): Likewise.
53634 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53635 (elf_machine_lazy_rel): Likewise.
53636 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53637 Likewise.
53638 (elf_machine_lazy_rel): Likewise.
53639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53640 Likewise.
53641 (elf_machine_lazy_rel): Likewise.
53642 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53643 (elf_machine_lazy_rel): Likewise.
53644 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53645 (elf_machine_lazy_rel): Likewise.
53646 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53647 (elf_machine_lazy_rel): Likewise.
53648 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53649 (elf_machine_lazy_rel): Likewise.
53650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53651 (elf_machine_lazy_rel): Likewise.
53652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53653 (elf_machine_lazy_rel): Likewise.
53654
68577918
UD
536552011-09-28 Ulrich Drepper <drepper@gmail.com>
53656
53657 * nss/nss_files/files-init.c (_nss_files_init): Use static
53658 initialization for all the *_traced_file variables.
53659
68822d74
AS
536602011-09-28 Andreas Schwab <schwab@redhat.com>
53661
53662 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53663
2056100b
RM
536642011-09-27 Roland McGrath <roland@hack.frob.com>
53665
53666 [BZ #13226]
53667 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53668
32c76b63
AS
536692011-09-27 Andreas Schwab <schwab@redhat.com>
53670
53671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53672 Reread the line before reparsing it.
53673
bf972c9d
AS
536742011-09-26 Andreas Schwab <schwab@redhat.com>
53675
53676 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53677
e057a1b5
JM
536782011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53679 Maxim Kuvyrkov <maxim@codesourcery.com>
53680 Joseph Myers <joseph@codesourcery.com>
53681
53682 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53683 if needed for __stack_chk_guard.
53684
bc7e1c36
RM
536852011-09-19 Roland McGrath <roland@hack.frob.com>
53686
ecb1482f
RM
53687 * sysdeps/posix/spawni.c (script_execute): Always define it.
53688 It will be optimized away if unused.
53689 (maybe_script_execute): New function.
53690 (__spawni): Call it.
53691
bc7e1c36
RM
53692 * Makerules: Don't include tls.make.
53693 (config-tls): Always set to thread.
53694 * tls.make.c: File removed.
53695
1c3b002b
MF
536962011-09-19 Mike Frysinger <vapier@gentoo.org>
53697
53698 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53699 * config.make.in (CPPFLAGS-config): New substituted variable.
53700
2840865d
UD
537012011-09-15 Ulrich Drepper <drepper@gmail.com>
53702
88738eb6
UD
53703 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53704
cbf645a6 53705 [BZ #13192]
2840865d
UD
53706 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53707 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53708
b402e91a
RM
537092011-09-15 Roland McGrath <roland@hack.frob.com>
53710
53711 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53712 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53713 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53714 (CALL_FAIL): Likewise.
53715 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53716 (CALL_FAIL): Macro removed.
53717 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53718
4c1a1f71
UD
537192011-09-15 Ulrich Drepper <drepper@gmail.com>
53720
53721 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53722 for __FINITE_MATH_ONLY__ == 1.
53723
edc121be
AS
537242011-09-15 Andreas Schwab <schwab@redhat.com>
53725
53726 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53727 __ieee754_sqrt instead of sqrt.
53728 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53729 __ieee754_sqrtf instead of sqrtf.
53730 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53731 __floorf instead of floorf.
53732 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53733 __floorf, __truncf instead of floorf, truncf.
53734
cd205654
UD
537352011-09-14 Ulrich Drepper <drepper@gmail.com>
53736
ee4d0315
UD
53737 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53738
cd205654
UD
53739 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53740 __extern_always_inline.
53741 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53742 32-bit.
53743
48b67d71
AS
537442011-09-14 Andreas Schwab <schwab@redhat.com>
53745
53746 * elf/rtld.c (dl_main): Also relocate in dependency order when
53747 doing symbol dependency testing.
53748
1ae12c75
AS
537492011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53750
53751 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53752 Always define `refsym'.
53753
995a80df
AS
537542011-09-13 Andreas Schwab <schwab@redhat.com>
53755
e529793b
AS
53756 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53757 (__FD_ELT): Renamed from __FDELT.
53758 * misc/bits/select2.h (__FD_ELT): Likewise.
53759 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53760 __FD_MASK instead of __FDELT, __FDMASK.
53761 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53762 Likewise.
53763 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53764 Likewise.
53765
52d4fef8
AS
53766 * elf/Makefile (gen-ldd): Fix pattern.
53767
995a80df
AS
53768 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53769 (init_tls): Likewise.
53770
8682f8b0
UD
537712011-09-12 Ulrich Drepper <drepper@gmail.com>
53772
53773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53774
de82006d
AS
537752011-09-12 Andreas Schwab <schwab@redhat.com>
53776
a7c8e6a1
AS
53777 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53778 `struct cmsghdr *' instead of `void *'.
53779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53780 Likewise.
53781
0f31fe77
AS
537822011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53783
53784 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53785 if non-absolute.
53786 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53787 ldd_rewrite_script.
0f31fe77 53788
32b4c839
UD
537892011-09-11 Ulrich Drepper <drepper@gmail.com>
53790
83cd1420
UD
53791 * configure.in: Remove --with-tls option.
53792 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53793 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53794 out in case it is missing.
53795 * sysdeps/ia64/elf/configure.in: Likewise.
53796 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53797 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53798 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53799 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53800 * sysdeps/sh/elf/configure.in: Likewise.
53801 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53802 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53803 * sysdeps/x86_64/elf/configure.in: Likewise.
53804 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53805 * sysdeps/mach/hurd/tls.h: Likewise.
53806
633f745d
UD
53807 [BZ #13067]
53808 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53809
f318beb8
UD
53810 [BZ #13090]
53811 * configure.in: Fix use of AC_INIT.
53812
32b4c839
UD
53813 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53814
3ce1f295
UD
538152011-09-10 Ulrich Drepper <drepper@gmail.com>
53816
bb016596
UD
53817 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53818 __set_errno.
8e58439c
UD
53819 * malloc/hooks.c: Likewise.
53820
aebae053 53821 [BZ #11929]
02d46fc4
UD
53822 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53823 variables statically.
53824 (narenas): Initialize.
53825 (list_lock): Initialize.
bb016596
UD
53826 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53827 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53828 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53829 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53830 Add initializers to main_arena and mp_.
53831 (malloc_state): Remove pagesize member. Change all users to use
53832 GLRO(dl_pagesize).
53833
53834 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53835 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53836 is always initialized.
53837
22a89187
UD
53838 * malloc/malloc.c: Removed unused configurations and dead code.
53839 * malloc/arena.c: Likewise.
53840 * malloc/hooks.c: Likewise.
02d46fc4 53841 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53842
d063d164
UD
53843 * include/tls.h: Removed. USE___THREAD must always be defined.
53844 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53845 * elf/dl-libc.c: Likewise.
53846 * elf/dl-tsd.c: Likewise.
53847 * include/errno.h: Likewise.
53848 * include/netdb.h: Likewise.
53849 * include/resolv.h: Likewise.
53850 * inet/herrno-loc.c: Likewise.
53851 * inet/herrno.c: Likewise.
53852 * malloc/arena.c: Likewise.
53853 * malloc/hooks.c: Likewise.
53854 * malloc/malloc.c: Likewise.
53855 * resolv/res-state.c: Likewise.
53856 * resolv/res_libc.c: Likewise.
53857 * sysdeps/i386/dl-machine.h: Likewise.
53858 * sysdeps/ia64/dl-machine.h: Likewise.
53859 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53860 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53861 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53862 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53863 * sysdeps/sh/dl-machine.h: Likewise.
53864 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53865 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53866 * sysdeps/unix/i386/sysdep.S: Likewise.
53867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53868 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53870 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53873 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53875 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53877 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53878 * sysdeps/x86_64/dl-machine.h: Likewise.
53879 * tls.make.c: Likewise.
53880
3ce1f295
UD
53881 * configure.in: Remove --with-__thread option. Make tests for
53882 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53883 tls_model attribute fail if no support is available. Remove
53884 USE_IN_LIBIO.
53885 * Makeconfig: Adjust for dropped configure option. All features are
53886 now mandatory.
53887 * Makerules: Likewise.
53888 * Versions.def: Likewise.
53889 * argp/argp-fmtstream.c: Likewise.
53890 * argp/argp-fmtstream.h: Likewise.
53891 * argp/argp-help.c: Likewise.
53892 * assert/assert.c: Likewise.
53893 * config.h.in: Likewise.
53894 * config.make.in: Likewise.
53895 * configure: Likewise.
53896 * configure.in: Likewise.
53897 * csu/Versions: Likewise.
53898 * csu/init.c: Likewise.
53899 * elf/tst-audit2.c: Likewise.
53900 * elf/tst-tls10.c: Likewise.
53901 * elf/tst-tls10.h: Likewise.
53902 * elf/tst-tls11.c: Likewise.
53903 * elf/tst-tls12.c: Likewise.
53904 * elf/tst-tls14.c: Likewise.
53905 * elf/tst-tlsmod11.c: Likewise.
53906 * elf/tst-tlsmod12.c: Likewise.
53907 * elf/tst-tlsmod13.c: Likewise.
53908 * elf/tst-tlsmod13a.c: Likewise.
53909 * elf/tst-tlsmod14a.c: Likewise.
53910 * elf/tst-tlsmod15b.c: Likewise.
53911 * elf/tst-tlsmod16a.c: Likewise.
53912 * elf/tst-tlsmod16b.c: Likewise.
53913 * elf/tst-tlsmod7.c: Likewise.
53914 * elf/tst-tlsmod8.c: Likewise.
53915 * elf/tst-tlsmod9.c: Likewise.
53916 * gmon/gmon.c: Likewise.
53917 * grp/fgetgrent_r.c: Likewise.
53918 * grp/putgrent.c: Likewise.
53919 * hurd/fopenport.c: Likewise.
53920 * include/libc-symbols.h: Likewise.
53921 * include/tls.h: Likewise.
53922 * intl/gettextP.h: Likewise.
53923 * intl/loadinfo.h: Likewise.
53924 * locale/global-locale.c: Likewise.
53925 * locale/localeinfo.h: Likewise.
53926 * mach/devstream.c: Likewise.
53927 * malloc/arena.c: Likewise.
53928 * malloc/set-freeres.c: Likewise.
53929 * misc/err.c: Likewise.
53930 * misc/getttyent.c: Likewise.
53931 * misc/mntent_r.c: Likewise.
53932 * posix/getopt.c: Likewise.
53933 * posix/wordexp.c: Likewise.
53934 * pwd/fgetpwent_r.c: Likewise.
53935 * resolv/Versions: Likewise.
53936 * resolv/res_hconf.c: Likewise.
53937 * shadow/fgetspent_r.c: Likewise.
53938 * shadow/putspent.c: Likewise.
53939 * stdio-common/printf_fphex.c: Likewise.
53940 * stdio-common/tmpfile.c: Likewise.
53941 * stdlib/abort.c: Likewise.
53942 * stdlib/fmtmsg.c: Likewise.
53943 * sunrpc/auth_unix.c: Likewise.
53944 * sunrpc/clnt_perr.c: Likewise.
53945 * sunrpc/clnt_tcp.c: Likewise.
53946 * sunrpc/clnt_udp.c: Likewise.
53947 * sunrpc/clnt_unix.c: Likewise.
53948 * sunrpc/openchild.c: Likewise.
53949 * sunrpc/svc_simple.c: Likewise.
53950 * sunrpc/svc_tcp.c: Likewise.
53951 * sunrpc/svc_udp.c: Likewise.
53952 * sunrpc/svc_unix.c: Likewise.
53953 * sunrpc/xdr.c: Likewise.
53954 * sunrpc/xdr_array.c: Likewise.
53955 * sunrpc/xdr_rec.c: Likewise.
53956 * sunrpc/xdr_ref.c: Likewise.
53957 * sunrpc/xdr_stdio.c: Likewise.
53958
1248c1c4
PB
539592011-09-09 Ulrich Drepper <drepper@gmail.com>
53960
53961 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53962
539632011-07-03 Andreas Jaeger <aj@suse.de>
53964
53965 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53966 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53967 regenerate with gen-libm-tests.pl.
53968
539692010-05-12 Petr Baudis <pasky@suse.cz>
53970
53971 [BZ #11589]
53972 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53973 around j0() zero points by switching to j1().
53974 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53975 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53977 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53978
f22e1074
UD
539792011-09-09 Ulrich Drepper <drepper@gmail.com>
53980
f19009c1
UD
53981 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53982 instead of 0.
53983 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53984 instead of 0.
f19009c1
UD
53985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53986 Patch in part by Pavel Roskin <proski@gnu.org>.
53987
3f8cc204
UD
53988 [BZ #13138]
53989 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53990 realloc.
53991 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53992 Free memory block if necessary.
53993
f22e1074
UD
53994 [BZ #12847]
53995 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53996 be NULL. Don't lock in this case.
53997
0a2349f9
RM
539982011-09-09 Roland McGrath <roland@hack.frob.com>
53999
54000 * elf/elf.h (ELFOSABI_GNU): New macro.
54001 (ELFOSABI_LINUX): Define to that.
54002
f3cdd467
DZ
540032011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54004
54005 * string/strncat.c (strncat): Undef the symbol in case it has been
54006 defined in bits/string.h.
54007
74718d13
UD
540082011-09-09 Ulrich Drepper <drepper@gmail.com>
54009
633e9e0f
UD
54010 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54011
0a2349f9 54012 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
54013 link map.
54014
f9924780
AJ
540152011-08-17 Andreas Jaeger <aj@suse.de>
54016
54017 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54018
7f5517aa
PP
540192011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54020 Ian Lance Taylor <iant@google.com>
54021
54022 * math/libm-test.inc (lround_test): New testcase.
54023 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54024
762011fe
UD
540252011-09-08 Ulrich Drepper <drepper@gmail.com>
54026
92963737
UD
54027 * Makefile: Remove support for automatic cvs check-ins.
54028 * Makerules: Likewise.
54029 * config.make.in: Likewise.
54030 * configure.in: Likewise.
54031 * intl/Makefile: Likewise.
54032 * locale/Makefile: Likewise.
54033 * po/Makefile: Likewise.
54034 * posix/Makefile: Likewise.
54035 * sysdeps/gnu/Makefile: Likewise.
54036 * sysdeps/mach/hurd/Makefile: Likewise.
54037 * sysdeps/sparc/sparc32/Makefile: Likewise.
54038
b0727fd8
JS
54039 [BZ #13118]
54040 * posix/Makefile (bug-regex32-ENV): Define.
54041 Patch by John Stanley <jpsinthemix@verizon.net>.
54042
a0f33f99
UD
54043 * misc/Makefile (headers): Add bits/select2.h.
54044 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54045 * misc/bits/select2.h: New file.
54046 * include/bits/select2.h: New file.
54047 * debug/Makefile (routines): Add fdelt_chk.
54048 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54049 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54050 FD_ISSET.
54051 * debug/fdelt_chk.c: New file.
54052
762011fe
UD
54053 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54054 * wcsmbs/test-wmemcmp.c: Likewise.
54055 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 54056 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
54057
540582011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54059
54060 * string/Makefile (strop-tests): Add memcmp.
54061 * string/test-wmemcmp.c: New file.
54062 * string/test-memcmp.c: Add wmemcmp support.
54063
7f513ec8
RM
540642011-09-08 Roland McGrath <roland@hack.frob.com>
54065
0442afb4
RM
54066 [BZ #13153]
54067 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54068 2011-07-19 change.
54069
7f513ec8
RM
54070 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54071 garbage value in a __mach_port_mod_refs call in the cases of the
54072 task-self and thread-self ports.
54073
a12b2239
ST
540742011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54075
54076 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54077
610f9ab4
AS
540782011-09-08 Andreas Schwab <schwab@redhat.com>
54079
7f513ec8 54080 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 54081
48882a1a
LD
540822011-09-07 Ulrich Drepper <drepper@gmail.com>
54083
b49865be
UD
54084 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54085
fdc86bc9
UD
54086 * elf/dl-libc.c (dlerror_run): Pass back error code from
54087 dl_catch_error.
54088
c966526a
UD
54089 [BZ #13123]
54090 * elf/dl-load.c (lose): Free l_origin if it is valid.
54091
48882a1a
LD
54092 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54093 names.
54094 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54095 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54096 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54097 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54098 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54099 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54100
77a2a8b4
AZ
541012011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54102
54103 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54104 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54105 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54106 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54107 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54108 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54109 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54110 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54111 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54112 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54113
24f579d8
AM
541142011-08-15 Alan Modra <amodra@gmail.com>
54115
54116 [BZ #13092]
54117 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54118 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54119 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54120 ppc_mcount to static-only-routines.
54121 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54122 __mcount_internal.
54123 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54124 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54125
3d4837df
UD
541262011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54127
54128 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54129 for finite and infinity parameters.
54130
22700377
WS
541312011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54132
54133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54134 and add nop instructions for throughput optimization.
54135 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54136
5025581e
WS
541372011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54138
54139 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54140 aligned copy for power7 with vector-scalar instructions.
54141 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54142
08a300c9
L
541432011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54144
54145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54146 AVX check.
54147
59178ef9
AS
541482011-09-07 Andreas Schwab <schwab@redhat.com>
54149
54150 [BZ #13144]
54151 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54152 last change.
54153
e38ba7ab
UD
541542011-09-07 Ulrich Drepper <drepper@gmail.com>
54155
54156 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54157 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54158 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54159 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54160 clock_gettime.
54161
d53a73ac
UD
541622011-09-06 Ulrich Drepper <drepper@gmail.com>
54163
fc8bffcc
UD
54164 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54165 Forgot to demangle the pointer.
54166
ceaa0c5d
UD
54167 * sysdeps/i386/sysdep.h: Define atom_text_section.
54168 * sysdeps/x86_64/sysdep.h: Likewise.
54169 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54170 section with atom_text_section.
54171 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54172 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54173 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54174 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54175 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54176
a77d3c17
UD
54177 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54178 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54179 already be defined. Change to take two parameters and don't assign
54180 result to variable. Adjust all users.
54181 Define INTERNAL_GETTIME if not already defined.
54182 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54183 call.
54184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54185 HAVE_CLOCK_GETTIME_VSYSCALL.
54186 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54187
d53a73ac
UD
54188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54189 gettimeofday vsyscall, just use time.
54190
a8f84144
AS
541912011-09-06 Andreas Schwab <schwab@redhat.com>
54192
54193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54194 <errno.h>.
54195
ef606249
UD
541962011-09-06 Ulrich Drepper <drepper@gmail.com>
54197
54198 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54199 syscall on x86-64.
54200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54201 syscall.
54202 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54204 syscall if possible.
54205
6585cb60
UD
542062011-09-05 Ulrich Drepper <drepper@gmail.com>
54207
54208 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54209 e_ident. Don't pass to find_mapsXX.
54210 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54211
a5f524e4
LD
542122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54213
54214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54215 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54216 * sysdeps/x86_64/multiarch/strchr.S: Update.
54217 Check bit_slow_BSF bit.
54218 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54219 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54220 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54221
554881ef
UD
542222011-09-05 Ulrich Drepper <drepper@gmail.com>
54223
d96de963
UD
54224 [BZ #13134]
54225 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54226 before glibc 2.15.
54227 (tryshell): Define.
54228 (__spawni): Change last parameter to be flag. Test
54229 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54230 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54231 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54232 * posix/spawni.c: Likewise.
54233 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54234 * posix/spawnp.c: Likewise. Change normal version to use
54235 SPAWN_XFLAGS_USE_PATH.
54236 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54237 SPAWN_XFLAGS_TRY_SHELL.
54238
d48e5868
UD
54239 [BZ #13150]
54240 * posix/glob.h: Remove gcc 1.x support.
54241
554881ef
UD
54242 [BZ #13068]
54243 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54244
693fb948
LD
542452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54246
54247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54248 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54249 strrchr-sse2-bsf
54250 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54251 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54252 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54253 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54254 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54255 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54256
1b48c537
UD
542572011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54258
49d42c37
UD
54259 * sysdeps/x86_64/wcscmp.S: New file.
54260
1b48c537
UD
54261 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54262 wcscmp-c wcscmp-sse2
54263 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54264 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54265 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54266 * wcsmbs/wcscmp.c: Allow renaming.
54267
15c95c5d
DM
542682011-09-05 David S. Miller <davem@davemloft.net>
54269
54270 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54271 stack slot, rather than the struct return pointer slot.
54272 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54273 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54275 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54276
2f0ad8f3
UD
542772011-09-05 Ulrich Drepper <drepper@gmail.com>
54278
d88ae418
UD
54279 * po/ja.po: Update from translation team.
54280
2f0ad8f3
UD
54281 [BZ #13144]
54282 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54283 kernel in 64-bit binaries.
54284
5f4318d1
DM
542852011-09-01 David S. Miller <davem@davemloft.net>
54286
54287 * elf/elf.h (HWCAP_SPARC_*): Move to..
54288 * sysdeps/sparc/sysdep.h: this new file and add new values.
54289 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54290 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54291 _DL_HWCAP_COUNT to 24.
54292 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54293 entries.
54294 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54295 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54296 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54297 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54298 instead of magic constants.
54299 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54300
3ba57516
DM
543012011-08-31 David S. Miller <davem@davemloft.net>
54302
54303 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54305 Reimplement to do errno handling inline.
54306 (SYSCALL_ERROR_HANDLER): New macro.
54307 (__SYSCALL_STRING): Do not do errno handling in asm.
54308 (__CLONE_SYSCALL_STRING): Delete.
54309 (__INTERNAL_SYSCALL_STRING): Delete.
54310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54311 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54312 (PSEUDO): Reimplement to do errno handling inline.
54313 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54314 (SYSCALL_ERROR_HANDLER): New macro.
54315 (__SYSCALL_STRING): Do not do errno handling in asm.
54316 (__CLONE_SYSCALL_STRING): Delete.
54317 (__INTERNAL_SYSCALL_STRING): Delete.
54318 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54319 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54320 i386.
54321 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54322 (inline_syscall*): Add 'err' argument.
54323 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54324 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54325 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54326 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54327
54328 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54329 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54330
2bc17433
AS
543312011-08-30 Andreas Schwab <schwab@redhat.com>
54332
54333 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54334
fbeb5f4d
JO
543352011-08-29 Jiri Olsa <jolsa@redhat.com>
54336
54337 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54338 directive.
54339
ad69cc26
DM
543402011-08-24 David S. Miller <davem@davemloft.net>
54341
54342 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54343
39dd69df
AS
543442011-08-24 Andreas Schwab <schwab@redhat.com>
54345
54346 * elf/Makefile: Add rules to build and run unload8 test.
54347 * elf/unload8.c: New file.
54348 * elf/unload8mod1.c: New file.
54349 * elf/unload8mod1x.c: New file.
54350 * elf/unload8mod2.c: New file.
54351 * elf/unload8mod3.c: New file.
54352
54353 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54354 it wasn't used.
54355
2c0b250a
DM
543562011-08-23 David S. Miller <davem@davemloft.net>
54357
54358 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54359 subtract stack bias.
54360 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54361 %sp not %fp in calculations.
54362 (_JMPBUF_UNWINDS_ADJ): Likewise.
54363
22044b48
DM
54364 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54365 (aio_suspend): Call it to force an exception region around the
54366 AIO_MISC_WAIT() invocation.
54367
2cae4995
AS
543682011-08-23 Andreas Schwab <schwab@redhat.com>
54369
54370 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54371 backslash.
54372
873a772e
AJ
543732011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54374
54375 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54376 protection macro.
54377 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54378 and <dl-machine.h>.
54379 (Elf64_FuncDesc): Remove.
54380
25ad0df1
DM
543812011-08-22 David S. Miller <davem@davemloft.net>
54382
54383 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54384 sigaltstack check, add missing cfi directives.
54385 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54386 missing cfi directives, and sigaltstack handling.
54387
e888bcbe
AS
543882011-08-16 Andreas Schwab <schwab@redhat.com>
54389
54390 [BZ #11724]
54391 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54392 object is seen twice.
54393 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54394
54395 * elf/Makefile (distribute): Add tst-initorder2.c.
54396 (tests): Add tst-initorder2.
54397 (modules-names): Add tst-initorder2a tst-initorder2b
54398 tst-initorder2c tst-initorder2d. Add rules to build them.
54399 ($(objpfx)tst-initorder2.out): New rule.
54400 * elf/tst-initorder2.c: New file.
54401 * elf/tst-initorder2.exp: New file.
54402
87162f46
AS
544032011-08-22 Andreas Schwab <schwab@redhat.com>
54404
70538b7f
AS
54405 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54406
f55ffe58
AS
54407 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54408 dependencies back to end of function.
54409
87162f46
AS
54410 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54411 $(elfobjdir)/ld.so.
54412
91b392a4
UD
544132011-08-21 Ulrich Drepper <drepper@gmail.com>
54414
54415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54416 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54418 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54419 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54420 of __vdso_gettimeofday.
54421 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54422 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54423 attribute_hidden.
54424 (_libc_vdso_platform_setup): Remove initialization of
54425 __vdso_gettimeofday and __vdso_time.
54426
5c43483f
UD
544272011-08-20 Ulrich Drepper <drepper@gmail.com>
54428
775a77e7
UD
54429 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54430 and fgetc_unlocked.
54431 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54432 getc_unlocked.
89f447ed 54433
49c74ba9
UD
54434 * elf/dl-open.c (add_to_global): Report additions to the global scope
54435 for LD_DEBUG=scopes.
54436 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54437 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54438
5c43483f
UD
54439 [BZ #13114]
54440 * stdio-common/Makefile (tests): Add bug24.
54441 * stdio-common/bug24.c: New file.
54442
a101b025
AJ
544432011-08-19 Andreas Jaeger <aj@suse.de>
54444
54445 [BZ #13114]
54446 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54447 non-existant file when using close-on-exec mode.
54448
c88f1766
UD
544492011-08-20 Ulrich Drepper <drepper@gmail.com>
54450
0276a718
UD
54451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54452 the very first instruction.
54453
c88f1766
UD
54454 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54455 the CFI state in the end.
54456 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54457 inclusion of dl-trampoline.h.
54458 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54459
51ccffa0
AS
544602011-08-19 Andreas Schwab <schwab@redhat.com>
54461
94d7165f
AS
54462 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54463 expectations for long double.
54464
51ccffa0
AS
54465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54466 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54467
fd708658 544682011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54469
54470 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54471 artificual limit depends upon the system page size.
54472
44f0a71e
UD
544732011-08-17 Ulrich Drepper <drepper@gmail.com>
54474
54475 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54476 * resolv/Makefile: Define CFLAGS-libresolv.
54477
8de79a24
AS
544782011-08-17 Andreas Schwab <schwab@redhat.com>
54479
54480 * nss/makedb.c (compute_tables): Make variables used in nested
54481 function static.
54482
27724598
UD
544832011-08-17 Ulrich Drepper <drepper@gmail.com>
54484
c5305d88
UD
54485 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54486 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54487 if buffer was too small.
54488
27724598
UD
54489 * elf/pldd.c (main): Attach to all threads in the process.
54490 Rewrite /proc handling to use *at functions.
54491
076fe015
UD
544922011-08-16 Ulrich Drepper <drepper@gmail.com>
54493
174baab3
UD
54494 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54495 specifies first scope to show.
54496 (dl_open_worker): Update callers. Move printing scope of new
54497 object to before the relocation.
44f0a71e 54498 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54499 * sysdeps/generic/ldsodefs.h: Update declaration.
54500
076fe015
UD
54501 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54502 string for the scope number.
54503
a60df2c3
UD
545042011-08-14 Ulrich Drepper <drepper@gmail.com>
54505
54506 * nscd/servicescache.c (cache_addserv): Make sure written is always
54507 initialized.
54508
5e4287d1
RM
545092011-08-14 Roland McGrath <roland@hack.frob.com>
54510
85ae0589
RM
54511 * sysdeps/i386/i486/bits/atomic.h
54512 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54513 statement expression, so as to suppress "set but not used" warning.
54514 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54515
69f63097
RM
54516 * string/strncat.c (STRNCAT): Use prototype definition.
54517
675456ef
RM
54518 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54519 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54520 -Iprograms here.
54521 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54522 (localedef-modules): Add localedef.
54523 (locale-modules): Add locale.
54524
5e4287d1
RM
54525 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54526 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54527 to avoid a warning.
54528
9c96ff23
DM
545292011-08-14 David S. Miller <davem@davemloft.net>
54530
54531 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54532 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54533
f9ddf089
UD
545342011-08-13 Ulrich Drepper <drepper@gmail.com>
54535
44f0a71e 54536 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54537 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54538 * elf/rtld.c (dl_main): Set l_name of vDSO.
54539 Call _dl_show_scope when DL_DEBUG_SCOPES.
54540 (process_dl_debug): Recognize scopes flag and also set it for all.
54541 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54542 Declare _dl_show_scope.
54543
1dc27704
UD
54544 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54545 (do_dlopen): Pass caller_dlopen to dl_open.
54546 (__libc_dlopen_mode): Initialize caller_dlopen.
54547
f9ddf089
UD
54548 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54549 of libc. Make tolower call locale-independent. Optimize a bit by
54550 using isdigit instead of isalnum.
54551 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54552
9ac533d3
UD
545532011-08-12 Ulrich Drepper <drepper@gmail.com>
54554
54555 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54556 was a dependency or dynamically loaded.
54557
89edf2e9
UD
545582011-08-11 Ulrich Drepper <drepper@gmail.com>
54559
8e999d29
UD
54560 * intl/l10nflist.c: Allow architecture-specific pop function.
54561 * sysdeps/x86_64/l10nflist.c: New file.
54562
89edf2e9
UD
54563 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54564 classification.
54565
14d96785
AS
545662011-08-10 Andreas Schwab <schwab@redhat.com>
54567
54568 * include/dirent.h: Add libc_hidden_proto for scandirat and
54569 scandirat64. Don't declare __scandirat64.
54570 * dirent/scandirat.c: Add libc_hidden_def.
54571 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54572 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54573
6761ac04
DM
545742011-08-10 David S. Miller <davem@davemloft.net>
54575
54576 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54577 enum.
54578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54581
c55fbd1e
UD
545822011-08-09 Ulrich Drepper <drepper@gmail.com>
54583
54584 * Versions.def [libc]: Add GLIBC_2.15.
54585 * dirent/Makefile (routines): Add scandirat and scandirat64.
54586 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54587 GLIBC_2.15.
54588 * dirent/dirent.h: Declare scandirat and scandirat64.
54589 * dirent/scandirat.c: New file.
54590 * dirent/scandirat64.c: New file.
54591 * sysdeps/wordsize-64/scandirat.c: New file.
54592 * sysdeps/wordsize-64/scandirat64.c: New file.
54593 * dirent/opendir.c: Define opendirat.
54594 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54595 using scandirat.
54596 * dirent/scandir64.c: Adjust for scandir.c change.
54597 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54598 __scandirat64, and __scandir_cancel_handler.
54599 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54600 additional parameter and use openat instead of open (outside of ld.so).
54601 Add new __opendir as wrapper around __opendirat.
54602 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54603 here without requiring old scandirat implementation.
54604
879165f2
UD
546052011-08-08 Ulrich Drepper <drepper@gmail.com>
54606
54607 * dirent/scandir.c (cancel_handler): Renamed to
54608 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54609 defined. Adjust users.
54610 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54611 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54612
cb7e923b
UD
546132011-08-04 Ulrich Drepper <drepper@gmail.com>
54614
16292edd
UD
54615 * string/test-string.h (IMPL): Use __STRING to expand name and then
54616 stringify it.
54617
cb7e923b
UD
54618 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54619 of cleanups.
54620
cff82933
LD
546212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54622
54623 * string/Makefile: Update.
54624 (strop-tests): Append strncat.
54625 * string/test-wcscmp.c: New file.
54626 New comprehensive test for wcscmp.
54627 * string/test-strcmp.c: Update.
54628 (WIDE): New define.
54629
9be9bfcc
AS
546302011-07-22 Andreas Schwab <schwab@redhat.com>
54631
54632 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54633 line.
54634
2e96f1c7
AS
546352011-07-26 Andreas Schwab <schwab@redhat.com>
54636
54637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54638 encoding to ACE if AI_IDN.
54639
85188888
JJ
546402011-08-01 Jakub Jelinek <jakub@redhat.com>
54641
54642 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54643 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54644
5fa16e9b
LD
546452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54646
54647 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54648 Fix overflow bug in strncat.
54649 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54650
54651 * string/test-strncat.c: Update.
54652 Add new tests for checking overflow bugs.
54653
546542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54655
54656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54657 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54658 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54659 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54660 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54661 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54662 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54663 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54664 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54665
54666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54667 (USE_AS_STRCAT): Define.
54668 Add strcat and strncat support.
54669 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54670
8c1a459f
AS
546712011-07-25 Andreas Schwab <schwab@redhat.com>
54672
54673 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54674 __n bigger than INT_MAX+1.
54675 (__strncmp_g): Likewise.
54676
bba33c28
UD
546772011-07-23 Ulrich Drepper <drepper@gmail.com>
54678
798be72d
UD
54679 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54680 * libio/stido.h: Likewise.
54681
8accd4dc
UD
54682 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54683 (AF_NFC): Define.
54684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54685 (AF_NFC): Define.
54686
cbff0d96
UD
54687 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54688 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54690 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54691 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54692
9191c04a
UD
54693 [BZ #13021]
54694 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54695 installed.
54696
bba33c28
UD
54697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54698 typo.
54699 (_dl_x86_64_save_sse): Likewise.
54700
90f139dd
UD
547012011-07-22 Ulrich Drepper <drepper@gmail.com>
54702
1aae088a
UD
54703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54704 OSXSAVE.
54705 (_dl_x86_64_save_sse): Likewise.
54706
8e2045f5
UD
54707 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54708
90f139dd
UD
54709 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54710
1d002f25
AS
547112011-07-21 Andreas Schwab <schwab@redhat.com>
54712
54713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54714 change.
54715 (_dl_x86_64_save_sse): Use correct AVX check.
54716
21137f89
UD
547172011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54718
54719 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54720 bug in strncpy/strncat.
54721 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54722
a65c0b7a
UD
547232011-07-21 Ulrich Drepper <drepper@gmail.com>
54724
54725 * string/tester.c (test_strcat): Add tests for different alignments
54726 of source and destination.
54727 (test_strncat): Likewise.
54728
6986b98a
UD
547292011-07-20 Ulrich Drepper <drepper@gmail.com>
54730
90bb2039
UD
54731 [BZ #12852]
54732 * posix/glob.c (glob): Check passed in values before using them in
54733 expressions to avoid some overflows.
54734 (glob_in_dir): Likewise.
54735
5644ef54
UD
54736 [BZ #13007]
54737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54738 check for AVX enablement so that we don't crash with old kernels and
54739 new hardware.
54740 * elf/tst-audit4.c: Add same checks here.
54741 * elf/tst-audit6.c: Likewise.
54742
54743 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54744
bfc9dc9b
AS
547452011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54746
54747 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54748
702e64bb
UD
547492011-07-20 Ulrich Drepper <drepper@gmail.com>
54750
54751 * po/cs.po: Update from translation team.
54752 * po/bg.po: Likewise.
54753
295e904f
MP
547542011-07-12 Marek Polacek <mpolacek@redhat.com>
54755
54756 * misc/sys/cdefs.h: Add support for const attribute.
54757 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54758 to gnu_dev_{major,minor,makedev} functions.
54759
3ff94596
MP
547602011-07-20 Marek Polacek <mpolacek@redhat.com>
54761
54762 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54763
28b59fca
AS
547642011-07-20 Andreas Schwab <schwab@redhat.com>
54765
54766 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54767 strlen results.
54768
19df733e
AK
547692011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54770
54771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54772 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54773 register in order to avoid conflicts with the soft frame pointer
54774 being held in r11 when necessary.
54775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54776 (INTERNAL_VSYSCALL_NCS): Likewise.
54777
c8835729
MP
547782011-07-14 Marek Polacek <mpolacek@redhat.com>
54779
54780 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54781 * elf/dl-fini.c (_dl_fini): Adjust caller.
54782 * elf/dl-close.c (_dl_close_worker): Likewise.
54783 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54784
b902330c
MP
547852011-07-15 Marek Polacek <mpolacek@redhat.com>
54786
8991e135
MP
54787 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54788 "aux_cache->nlibs < 0".
54789
b902330c
MP
54790 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54791 in the reload-count case.
54792
99710781
LD
547932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54794
54795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54796 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54797 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54798 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54799 * sysdeps/x86_64/multiarch/strcat.S: New file.
54800 * sysdeps/x86_64/multiarch/strncat.S: New file.
54801 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54802 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54803 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54804 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54805 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54806 (USE_AS_STRCAT): Define.
54807 Add strcat and strncat support.
54808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54809 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54810 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54811 * string/strncat.c: Update.
54812 (USE_AS_STRNCAT): Define.
54813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54814 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54815 and i7.
54816 * sysdeps/x86_64/multiarch/init-arch.h
54817 (bit_Prefer_PMINUB_for_stringop): New.
54818 (index_Prefer_PMINUB_for_stringop): Likewise.
54819 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54820 bit_Prefer_PMINUB_for_stringop.
54821
7dc6bd90
UD
548222011-07-19 Ulrich Drepper <drepper@gmail.com>
54823
54824 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54825 buffer64.
54826 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54827 of casting of buffer.
54828 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54829 buffer32 and buffer64.
54830 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54831 writes instead of casting of buffer.
54832 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54833 buffer32.
54834 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54835 casting of buffer.
54836
e0e72284
AS
548372011-07-19 Andreas Schwab <schwab@redhat.com>
54838
54839 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54840
feb1eb0b
UD
548412011-07-19 Ulrich Drepper <drepper@gmail.com>
54842
54843 * nscd/nscd.c (termination_handler): Don't do anything for a database
54844 if it has not yet been initialized.
54845
298711ff
UD
548462011-07-18 Ulrich Drepper <drepper@gmail.com>
54847
54848 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54849
548502011-07-15 Marek Polacek <mpolacek@redhat.com>
54851
54852 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54853
f9d68389
UD
548542011-07-18 Ulrich Drepper <drepper@gmail.com>
54855
54856 * po/nl.po: Update from translation team.
54857 * po/sv.po: Likewise.
54858
db290cf5
RM
548592011-07-16 Roland McGrath <roland@hack.frob.com>
54860
54861 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54862 now disallowed by GCC.
5c550700 54863
fd5e21c7
RM
54864 * configure.in (use-default-link): Default to yes if a test -shared
54865 link meets our qualifications.
54866 * configure: Regenerated.
54867
5c550700
RM
54868 * config.make.in (output-format): New variable.
54869 * configure.in: Check for ld --print-output-format support.
54870 * configure: Regenerated.
54871 * Makerules ($(common-objpfx)format.lds)
54872 [$(output-format) != unknown]: Just use $(output-format),
54873 instead of the linker-script munging.
54874
9fa2c032
RM
548752011-07-14 Roland McGrath <roland@hack.frob.com>
54876
a6928d51
RM
54877 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54878 of $(common-objpfx)shlib.lds.
54879 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54880
661607b3
RM
54881 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54882 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54883
9fa2c032
RM
54884 * configure.in (-z relro check): Adjust test code to add a large
54885 writable data section after it.
54886 * configure: Regenerated.
54887
defe9061
RM
548882011-07-11 Roland McGrath <roland@hack.frob.com>
54889
54890 * configure.in (-z relro check): Fix test code to make the variable
54891 truly const.
54892 * configure: Regenerated.
54893
319b9ad4
UD
548942011-07-11 Ulrich Drepper <drepper@gmail.com>
54895
54896 * nscd/nscd.h (struct traced_file): Define.
54897 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54898 elements. Add traced_files.
54899 (inotify_fd): Declare.
54900 (register_traced_file): Declare.
54901 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54902 (inotify_fd): Export.
54903 (resolv_conf_descr): Remove.
54904 (nscd_init): Move inotify descriptor creation to main.
54905 Don't register files for notification here.
54906 (register_traced_file): New function.
54907 (invalidate_cache): Don't use reset_res to determine whether to call
54908 res_init, go through the list of registered files.
54909 (main_loop_poll): The inotify descriptors are now stored in the
54910 structures for the traced files.
54911 (main_loop_epoll): Likewise
54912 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54913 to __nss_disable_nscd.
54914 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54915 for a database anymore. Check the records for all the registered
54916 files instead.
54917 * nss/Makefile (libnss_files-routines): Add files-init.
54918 (libnss_db-routines): Add db-init.
54919 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54920 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54921 * nss/nss_db/db-init.c: New file.
54922 * nss/nss_files/files-init.c: New file.
54923 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54924 __nss_lookup_function.
54925 (__nss_lookup_function): Call nss_load_library.
54926 (nss_load_all_libraries): New function.
54927 (__nss_disable_nscd): Take parameter with callback function for files
54928 to register. Set is_nscd. Load all the DSOs for the NSS modules
54929 used for the cached services.
54930 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54931 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54932 options for features to all the files in nscd.
54933
54934 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54935
23bee3e8
RM
549362011-07-10 Roland McGrath <roland@hack.frob.com>
54937
54938 * csu/elf-init.c (__libc_csu_init): Comment typo.
54939
46a5b7f0
UD
549402011-07-09 Ulrich Drepper <drepper@gmail.com>
54941
54942 * po/pl.po: Update from translation team.
54943 * po/ja.po: Likewise.
54944 * po/ru.po: Likewise.
54945 * po/ko.po: Likewise.
54946 * po/fr.po: Likewise.
54947
d30cf5bb
RM
549482011-07-09 Roland McGrath <roland@hack.frob.com>
54949
113ddea4
RM
54950 * configure.in (.ctors/.dtors header and trailer check):
54951 Use an empirical test on a built program.
54952 * configure: Regenerated.
54953
574920b4
RM
54954 * configure.in (-z relro check): Use an empirical test on a built DSO.
54955 Detect, but do not require, on ia64.
54956 * configure: Regenerated.
54957
d30cf5bb
RM
54958 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54959 Update tests that use readelf to use $READELF instead.
54960 * configure: Regenerated.
54961
8538fdb3
UD
549622011-07-08 Ulrich Drepper <drepper@gmail.com>
54963
54964 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54965 if the result is not used.
54966
04d08991
AJ
549672011-07-05 Andreas Jaeger <aj@suse.de>
54968
54969 [BZ#9696]
54970 * stdlib/tst-strtod.c: Add testcase.
54971
de283087
AD
549722011-07-07 Ulrich Drepper <drepper@gmail.com>
54973
4e5f31c8 54974 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54975 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54976 The latter has a higher limit. Take additional parameter to pass to
54977 the new function.
54978 (__pathconf): Pass file to __statfs_link_max.
54979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54980 __statfs_link_max.
54981 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54982 __statfs_link_max.
54983
de283087
AD
54984 [BZ #12868]
54985 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54986 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54987 Handle Lustre.
54988 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54989 (__statfs_filesize_max): Likewise.
54990 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54991
c75fa153
AJ
549922011-07-05 Andreas Jaeger <aj@suse.de>
54993
54994 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54995
1a544854
UD
549962011-07-06 Marek Polacek <mpolacek@redhat.com>
54997
54998 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54999 `status' variable.
55000 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55001 Likewise.
55002
6f0eec67
UD
550032011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55004
55005 * Makefile (strop-tests): Add strncat.
55006 * string/test-strncat.c: New file.
55007
aae30307
UD
550082011-06-30 Marek Polacek <mpolacek@redhat.com>
55009
55010 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55011
c0cfb5eb
UD
550122011-06-21 Andreas Jaeger <aj@suse.de>
55013
55014 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55015 Copy rule from iconvdata/Makefile.
55016
01636b21
UD
550172011-07-06 Ulrich Drepper <drepper@gmail.com>
55018
55019 [BZ #12922]
55020 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55021 but no long options are defined, just return 'W'.
55022
9895c8bc
UD
550232011-06-22 Marek Polacek <mpolacek@redhat.com>
55024
55025 [BZ #9696]
55026 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55027
5d4cf042
UD
550282011-07-06 Ulrich Drepper <drepper@gmail.com>
55029
55030 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55031 netgroups to read.
960e5535 55032 (innetgr): Likewise.
5d4cf042 55033
751eb97e
RM
550342011-07-05 Roland McGrath <roland@hack.frob.com>
55035
55036 * config.make.in (install_root): Default to $(DESTDIR).
55037
f15f1e45
UD
550382011-07-05 Ulrich Drepper <drepper@gmail.com>
55039
55040 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55041
4e34ac6a
RM
550422011-07-02 Roland McGrath <roland@hack.frob.com>
55043
5e9b6af4
RM
55044 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55045
84f9ea0f
RM
55046 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55047 containing directory rather than embedding absolute directory names.
55048
ea5ee9f7
RM
55049 * scripts/check-local-headers.sh: Rewritten using awk.
55050 Match by word, not by line. Print error messages for matches.
55051 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55052
1b74661a
RM
55053 * Makerules [shlib-lds-flags empty]:
55054 ($(common-objpfx)libc_pic.opts): New target.
55055 ($(common-objpfx)libc_pic.os.clean): New target.
55056 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55057
55058 * config.make.in (OBJCOPY): New variable.
55059 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55060 * configure: Regenerated.
55061
f781ef40
RM
55062 * config.make.in (use-default-link): New variable.
55063 * configure.in (use_default_link): Grok --with-default-link to set it.
55064 * configure: Regenerated.
55065 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55066 (shlib-lds, shlib-lds-flags): Define to empty.
55067
2d4fa81e
RM
55068 * Makerules (shlib-lds): New variable.
55069 (shlib-lds-flags): New variable.
55070 (build-shlib, build-moduile, build-module-asneeded): Use it.
55071 ($(common-objpfx)libc.so): Use $(shlib-lds).
55072 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55073 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55074
31fffa6b
RM
55075 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55076 DT_FLAGS/DT_FLAGS_1 with zero flags.
55077
4e34ac6a
RM
55078 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55079 linker script munging.
55080
fcfc776b
UD
550812011-07-02 Ulrich Drepper <drepper@gmail.com>
55082
55083 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55084 as 128-bit value.
55085 * crypt/sha512.c (sha512_process_block): Perform total addition using
55086 128-bit if possible.
55087 (__sha512_finish_ctx): Likewise.
55088 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55089 as 64-bit value.
55090 * crypt/sha256.c (SWAP64): Define.
55091 (sha256_process_block): Perform total addition using 64-bit if
55092 possible.
55093 (__sha256_finish_ctx): Likewise.
55094
99231d9a
UD
550952011-07-01 Ulrich Drepper <drepper@gmail.com>
55096
55097 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55098 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55099 * nscd/hstcache.c (cache_addhst): Likewise.
55100 * nscd/grpcache.c (cache_addgr): Likewise.
55101 * nscd/aicache.c (addhstaiX): Likewise
55102 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55103
445b4a53
TK
551042011-07-01 Thorsten Kukuk <kukuk@suse.de>
55105
55106 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55107 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55108 * nscd/hstcache.c (cache_addhst): Likewise.
55109 * nscd/grpcache.c (cache_addgr): Likewise.
55110 * nscd/aicache.c (addhstaiX): Likewise
55111
6d4d8e8e
AS
551122011-07-01 Andreas Schwab <schwab@redhat.com>
55113
55114 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55115 domain only when needed.
55116
89f654c5
AS
551172011-06-30 Andreas Schwab <schwab@redhat.com>
55118
55119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55120 is always restored.
55121
cf3b23ff
UD
551222011-06-29 Ulrich Drepper <drepper@gmail.com>
55123
55124 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55125 are re-adding the entry.
55126 * nscd/servicescache.c (cache_addserv): Likewise.
55127
751626f9
AJ
551282011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55129
55130 * sysdeps/generic/dl-irel.h: fix protection against multiple
55131 inclusions.
55132 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55133
9113ea1f
UD
551342011-06-28 Ulrich Drepper <drepper@gmail.com>
55135
5c0b8d90
UD
55136 [BZ #12935]
55137 * malloc/memusage.sh: Fix quoting in message.
55138 * debug/xtrace.sh: Likewise.
55139
9113ea1f
UD
55140 * configure.in: Remove support for --experimental-malloc option, make
55141 it the default.
55142 * config.make.in: Likewise.
55143 * malloc/Makefile: Likewise.
55144
a4172181
AS
551452011-06-27 Andreas Schwab <schwab@redhat.com>
55146
55147 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55148 two-byte characters.
55149
78a7eee7
RM
551502011-06-27 Roland McGrath <roland@hack.frob.com>
55151
62bede13
RM
55152 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55153 AC_CACHE_CHECK invocation.
55154 * configure: Regenerated.
55155
78a7eee7
RM
55156 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55157
5ce33a62
UD
551582011-06-27 Ulrich Drepper <drepper@gmail.com>
55159
034807a9
UD
55160 [BZ #12350]
55161 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55162 bit from old_res_options.
55163
4902da17
UD
55164 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55165
5ce33a62
UD
55166 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55167 value type for setfct.
55168
c2344f56
L
551692011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55170
55171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55172 __gettimeofday instead of gettimeofday.
55173
68468076
UD
551742011-06-26 Ulrich Drepper <drepper@gmail.com>
55175
55176 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55177
acb0d739
L
551782011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55179
55180 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55181
55182 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55183 info.
55184
8912479f
L
551852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55186
55187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55188 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55189 strcpy-sse2-unaligned strncpy-sse2-unaligned
55190 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55191 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55192 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55193 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55194 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55195 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55196 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55197 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55198 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55199 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55200 (STRCPY): Support SSE2 and SSSE3 versions.
55201
d5495a11
UD
552022011-06-24 Ulrich Drepper <drepper@gmail.com>
55203
55204 [BZ #12874]
55205 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55206 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55207 kernels which artificially limit size of requests.
55208
0b1cbaae
L
552092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55210
55211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55212 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55213 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55214 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55215 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55216 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55217 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55218 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55219 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55220 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55221 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55222 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55223 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55224 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55225 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55227 Enable unaligned load optimization for Intel Core i3, i5 and i7
55228 processors.
55229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55230 Define.
55231 (index_Fast_Unaligned_Load): Define.
55232 (HAS_FAST_UNALIGNED_LOAD): Define.
55233
07f494a0
MP
552342011-06-23 Marek Polacek <mpolacek@redhat.com>
55235
55236 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55237
fa3fc0fe
UD
552382011-06-22 Ulrich Drepper <drepper@gmail.com>
55239
55240 [BZ #12907]
55241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55242 until it is clear that the information is realy needed.
55243 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55244
e12df166
AS
552452011-06-22 Andreas Schwab <schwab@redhat.com>
55246
55247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55248
852eb34d
UD
552492011-06-22 Ulrich Drepper <drepper@gmail.com>
55250
84e2a551
UD
55251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55252 /sys/devices/system/cpu/online if it is usable.
55253
852eb34d
UD
55254 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55255 reading the information from the /proc filesystem to once a second.
55256
6e502e19
UD
552572011-06-21 Andreas Jaeger <aj@suse.de>
55258
55259 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55260 NULL after inclusion of kernel headers.
55261
75d39ff2
UD
552622011-06-21 Ulrich Drepper <drepper@gmail.com>
55263
51f9aa6a
UD
55264 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55265 calls to internal_setent.
55266
c0244a9d
UD
55267 [BZ #12885]
55268 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55269 addresses using gethostbyname4_r ignore IPv4 addresses.
55270
c5e3c2ae
UD
55271 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55272 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55273
75d39ff2
UD
55274 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55275
42675c6f
DM
552762011-06-20 David S. Miller <davem@davemloft.net>
55277
55278 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55279 inclusions.
55280 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55281
55282 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55283 (elf_irel): Use it.
55284 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55285 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55286 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55287 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55288 * sysdeps/x86_64/dl-irel.h: Likewise.
55289
55290 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55291 * elf/dl-sym.c: Likewise.
55292
57912a71
UD
552932011-06-15 Ulrich Drepper <drepper@gmail.com>
55294
55295 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55296 need to dereference resplen2.
55297
ee22793d
AS
552982011-06-14 Andreas Schwab <schwab@redhat.com>
55299
55300 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55301
a9e836b0
UD
553022011-06-15 Ulrich Drepper <drepper@gmail.com>
55303
77fb9117
UD
55304 * Makeconfig: Define vardbdir and inst_vardbdir.
55305 * nss/Makefile: Add rules to install db-Makefile.
55306
40c1b22c
UD
55307 * nss/nss_db/db-XXX.c: Cleanup.
55308
9f2da732
UD
55309 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55310 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55311 GLIBC_PRIVATE.
55312 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55313 * nss/makedb.c: Implement -g option to specify that value strings
55314 are generated and should not be added to table iterated over for
55315 get*ent calls.
55316 * nss/nss_db/db-initgroups.c: New file.
55317
82e9a1f7
UD
55318 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55319 interface.
55320
c41af17e
UD
55321 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55322 (internal_getgrouplist): Adjust to name change.
55323 Update use_initgroups_entry if this is not the first call.
55324 * nss/databases.def: Add initgroups entry.
55325
a9e836b0
UD
55326 * nss/makedb.c (compute_tables): Check result of multiple hash table
55327 sizes to minimize maximum chain length.
55328
2666d441
UD
553292011-06-14 Ulrich Drepper <drepper@gmail.com>
55330
55331 * Versions.def: Add entry for libnss_db.
55332 * shlib-versions: Likewise.
55333 * nss/Makefile: Add rules to build libnss_db.
55334 * nss/Versions: Add libnss_db information. Organize libnss_files
55335 entries better.
55336 * nss/db-Makefile: Add gshadow support. Change rules for the new
55337 makedb progra. Some minor improvements to generate smaller files.
55338 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55339 here from...
55340 * nss/makedb.c: ...here.
55341 Improve database format to be smaller and require less memory at
55342 runtime.
55343 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55344 db anymore.
55345 * nss/nss_db/db-netgrp.c: Likewise.
55346 * nss/nss_db/db-open.c: Likewise.
55347 * nss/nss_files/flies-XXX.x: Adjust comments.
55348 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55349 * nss/nss_files/files-grp.c: Likewise.
55350 * nss/nss_files/files-hosts.c: Likewise.
55351 * nss/nss_files/files-network.c: Likewise.
55352 * nss/nss_files/files-proto.c: Likewise.
55353 * nss/nss_files/files-pwd.c: Likewise.
55354 * nss/nss_files/files-rpc.c: Likewise.
55355 * nss/nss_files/files-service.c: Likewise.
55356 * nss/nss_files/files-sgrp.c: Likewise.
55357 * nss/nss_files/files-spwd.c: Likewise.
55358 * nss/nss_db/db-alias.c: Removed.
55359 * nss/nss_db/dummy-db.h: Removed.
55360
9ee76b5a
UD
553612011-06-02 Ulrich Drepper <drepper@gmail.com>
55362
55363 * nss/makedb.c: Rewritten to not use database library.
55364 * nss/Makefile: Update to build new makedb program.
55365
c71ca1f8
AJ
553662011-06-14 Andreas Jaeger <aj@suse.de>
55367
55368 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55369 memset declaration.
55370
3154bfb8
UD
553712011-06-10 Andreas Schwab <schwab@redhat.com>
55372
55373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55374 tmpbuf.
55375
b350afab
RM
553762011-06-10 Roland McGrath <roland@hack.frob.com>
55377
decd4e50
RM
55378 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55379 * elf/Makefile ($(objpfx)ld.so): Likewise.
55380
5615eaf2
RM
55381 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55382 Don't list ld.so twice in dependencies.
55383
55384 * posix/bug-regex31.c: Include <stdlib.h>.
55385
55386 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55387
55388 * nis/nss_compat/compat-spwd.c
55389 (getspent_next_nss_netgr): Remove unused variable.
55390 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55391
55392 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55393 nonmembers" output to use the right array.
55394
55395 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55396
55397 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55398
55399 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55400 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55401 * catgets/gencat.c (read_input_file): Likewise.
55402 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55403
55404 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55405 variable definition inside #if's controlling its use.
55406
55407 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55408
55409 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55410
55411 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55412
55413 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55414 unreachable code.
55415
55416 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55417
b68e08db
RM
55418 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55419 * configure: Regenerated.
55420
b350afab
RM
55421 * Makerules: Revert last change.
55422 * elf/Makefile: Likewise.
55423
28368601
RM
554242011-06-09 Roland McGrath <roland@hack.frob.com>
55425
55426 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55427 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55428 (reloc-link): Likewise.
55429
11988f8f
UD
554302011-06-09 Ulrich Drepper <drepper@gmail.com>
55431
55432 * elf/Makefile: Add rules to build pldd.
55433 * elf/pldd.c: New file.
55434 * elf/pldd-xx.c: New file.
55435
e80fab37
UD
554362011-06-07 Ulrich Drepper <drepper@gmail.com>
55437
55438 * version.h: Update for 2.15 development version.
55439
9b849836
DM
554402011-06-07 David S. Miller <davem@davemloft.net>
55441
55442 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55443 ifuncs.
55444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55445 elf_machine_lazy_rel): Likewise.
55446 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55447 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55448 elf_machine_lazy_rel): Likewise.
55449 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55450 dl_hwcap via passed in argument.
55451 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55452 Likewise.
55453
5a31b283
AK
554542011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55455
55456 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55457
069e52f8
RM
554582011-06-06 Roland McGrath <roland@hack.frob.com>
55459
55460 [BZ #12849]
55461 * manual/fdl-1.1.texi: New file, verbatim from:
55462 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55463 * manual/lgpl-2.1.texi: New file, verbatim from:
55464 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55465 * manual/Makefile (licenses): New variable, list those new file names.
55466 (texis): Use it.
55467 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55468
55469 * manual/fdl.texi: File removed.
55470 * manual/lesser.texi: File removed.
55471 * manual/libc.texinfo (Copying, Documentation License):
55472 Use new @include file names, put @appendix directive before @include.
55473
f16846a5
JJ
554742011-06-04 Jakub Jelinek <jakub@redhat.com>
55475
55476 [BZ #12841]
55477 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55478 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55479 (mq_open): Add __NTH.
55480
3d29045b
L
554812011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55482
55483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55484 Assume Intel Core i3/i5/i7 processor if AVX is available.
55485
8c297311
UD
554862011-05-31 Ulrich Drepper <drepper@gmail.com>
55487
55488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55489 typo.
55490
c8fc0c91
UD
554912011-05-31 Andreas Schwab <schwab@redhat.com>
55492
55493 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55494 memory. Use alloca_account. Fix memory leak when retrying.
55495
5b27a807
UD
554962011-05-31 Ulrich Drepper <drepper@gmail.com>
55497
356f8bc6
UD
55498 * version.h (RELEASE): Bump for 2.14 release.
55499 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55500
5b27a807
UD
55501 * config.make.in (RANLIB): Remove entry.
55502
01f16ab0
UD
555032011-05-30 Ulrich Drepper <drepper@gmail.com>
55504
41fce8bd
UD
55505 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55506 (libc.pot): Work around missing support for .ksh extension in xgettext.
55507
4769ae77
UD
55508 [BZ #12684]
55509 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55510 if both request failed.
55511 (send_dg): In case of server errors clear resplen or *resplen2.
55512
6b1e7d19
UD
55513 [BZ #12454]
55514 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55515 when there are multiple maps.
55516 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55517 (_dl_fini): Remove test here.
55518
01f16ab0
UD
55519 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55520
b1ebd700
UD
555212011-05-29 Ulrich Drepper <drepper@gmail.com>
55522
7ae22829
UD
55523 [BZ #12350]
55524 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55525 bit from old_res_options.
55526 (gaih_inet): Likewise.
55527
553149f6 55528 [BZ #11099]
18a84741 55529 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55530 as signed.
55531
652ffab1
UD
55532 * resolv/res_init.c (res_setoptions): Make the code more compact.
55533
16985fd0
UD
55534 [BZ #11558]
55535 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55536 set RES_USEVC.
55537
0464f746
UD
55538 [BZ #11634]
55539 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55540
7d17596c
UD
55541 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55542
cf6bbbd7
UD
55543 [BZ #11781]
55544 * malloc/malloc.h: Declare malloc hook variables as volatile.
55545
13f1ab36
UD
55546 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55547 in last patch.
55548
b1ebd700
UD
55549 [BZ #11799]
55550 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55551 raise in the comment.
80e2212d
UD
55552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55554 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55555
ce67228d
UD
555562011-05-28 Ulrich Drepper <drepper@gmail.com>
55557
8887a920
UD
55558 [BZ #12811]
55559 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55560 grow the buffers more if it already has to be sufficient.
55561 (build_wcs_upper_buffer): Likewise.
55562 * posix/regexec.c (check_matching): Likewise.
55563 (clean_state_log_if_needed): Likewise.
55564 (extend_buffers): Don't enlarge buffers beyond size of the input
55565 buffer.
55566 Patches mostly by Emil Wojak <emil@wojak.eu>.
55567 * posix/bug-regex32.c: New file.
55568 * posix/Makefile (tests): Add bug-regex32.
55569
4f031072
UD
55570 * locale/findlocale.c (_nl_find_locale): Return right away if
55571 _nl_explode_name failed.
55572 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55573
d0478f0c
UD
55574 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55575
de81b246
UD
55576 * debug/xtrace.sh: Unify messages.
55577 * malloc/memusage.sh: Likewise.
55578
c738465a
UD
55579 [BZ #12813]
55580 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55581 time symbol from vDSO. Substitute with vsyscall if not available.
55582 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55583 __vdso_time.
55584
f1f929d7
UD
55585 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55586 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55587 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55588 Add sendmmsg and internal_sendmmsg.
55589 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55590 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55591 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55592
ce67228d
UD
55593 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55594 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55595 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55596
e57420c6
UD
555972011-05-27 Ulrich Drepper <drepper@gmail.com>
55598
a8509ca5
UD
55599 [BZ #12813]
55600 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55601 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55602 available.
55603 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55604 __vdso_getcpu.
55605
e57420c6
UD
55606 [BZ #12814]
55607 * iconvdata/Makefile (tests): Add bug-iconv9.
55608 * iconvdata/bug-iconv9.c: New file.
55609
4d07db15
AS
556102011-05-27 Andreas Schwab <schwab@redhat.com>
55611
55612 [BZ #12814]
55613 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55614
ea486f69
JJ
556152011-05-25 Jakub Jelinek <jakub@redhat.com>
55616
55617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55618 (struct user_regs_struct): Change intcs field back to cs.
55619
6f038433
UD
556202011-05-25 Ulrich Drepper <drepper@gmail.com>
55621
55622 * po/ja.po: Update from translation team.
55623
67f86a25
UD
556242011-05-23 Ulrich Drepper <drepper@gmail.com>
55625
55626 [BZ #12795]
55627 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55628 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55629
def7fbd6
AS
556302011-05-20 Andreas Schwab <schwab@redhat.com>
55631
55632 * stdlib/longlong.h: Update from GCC.
55633
f50ef8f1
AS
556342011-05-23 Andreas Schwab <schwab@redhat.com>
55635
55636 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55637 parameter name.
55638 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55639 Add parameter name.
55640 (__sysconf): Pass it down.
55641
de7ce8f1
UD
556422011-05-22 Ulrich Drepper <drepper@gmail.com>
55643
f2962a71
UD
55644 [BZ #12671]
55645 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55646 some situations.
55647 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55648 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55649 add in in __libc_use_alloca calls. Adjust callers.
55650 (glob): Use malloc in some situations.
55651
de7ce8f1
UD
55652 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55653 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55654 pltexit.
55655
aec84f53
UD
556562011-05-21 Ulrich Drepper <drepper@gmail.com>
55657
05bb4a68
UD
55658 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55659 and CLOCK_BOOTTIME_ALARM.
55660
7ea72f99
UD
55661 [BZ #12782]
55662 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55663 is returned.
55664
7e4afad5
UD
55665 * string/_strerror.c (__strerror_r): Print negative errors as signed
55666 numbers.
55667
8e211fec
UD
55668 [BZ #12777]
55669 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55670 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55671 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55672
f7d82dc9
UD
55673 * configure.in: Fix typo in redirection and correct removal of test
55674 files in two cases.
55675
cc9e536d
UD
55676 [BZ #12788]
55677 * locale/setlocale.c (new_composite_name): Fix test to check for
55678 identical name of all categories.
55679
aec84f53
UD
55680 [BZ #12792]
55681 * libio/filedoalloc.c (local_isatty): New function.
55682 (_IO_file_doallocate): Use local_isatty.
55683 * stdio-common/perror.c (perror): In case a new stream is used
55684 forward the stream error.
55685 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55686 error flag.
55687
78e64fdc
RT
556882011-05-20 Ulrich Drepper <drepper@gmail.com>
55689
34a9094f
UD
55690 [BZ #11869]
55691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55692 alloca.
55693 * include/alloca.h (extend_alloca_account): Define.
55694
78e64fdc
RT
55695 [BZ #11857]
55696 * posix/regex.h: Fix comments with documentation of user-accessible
55697 fields after compilation and describe correct free'ing of pattern
55698 after re_compile_pattern.
55699 Patch by Reuben Thomas <rrt@sc3d.org>.
55700
457bddfc
RA
557012011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55702
55703 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55704 and -mno-altivec to prevent the compiler from using Altivec and/or
55705 VSX instructions when the corresponding registers are not available.
55706
a4527b51
AS
557072011-05-19 Andreas Schwab <schwab@redhat.com>
55708
55709 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55710
ed690b2f
UD
557112011-05-19 Ulrich Drepper <drepper@gmail.com>
55712
55713 * libio/freopen.c (freopen): Use __dup2, not dup2.
55714 * libio/freopen64.c (freopen64): Likewise.
55715
8db73634
L
557162011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55717
55718 [BZ #12775]
55719 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55720 * math/Makefile (tests): Add test-powl.
55721 (CFLAGS-test-powl.c): Define.
55722 * math/test-powl.c: New file.
55723
0a197a9d
L
557242011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55725
55726 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55727
ee30c380
UD
557282011-05-17 Ulrich Drepper <drepper@gmail.com>
55729
55730 [BZ #11837]
55731 * iconvdata/gb18030.c: Update to GB18020-2005.
55732
6ce75379
UD
557332011-05-16 Ulrich Drepper <drepper@gmail.com>
55734
a4b89fd8
AR
55735 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55736 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55737 Patch by Aharon Robbins <arnold@skeeve.com>.
55738
ea389b12
UD
55739 [BZ #11892]
55740 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55741 on the stack.
55742
68a3f91f
UD
55743 [BZ #11895]
55744 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55745 through underflows.
55746
15cc7dd1
UD
55747 [BZ #12766]
55748 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55749 point to strings before performing equality test for error_one_per_line
55750 mode.
55751
f3799213
UD
55752 [BZ #11697]
55753 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55754
d79a9c94
UD
55755 [BZ #11820]
55756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55757 (struct user_fpregs_struct): Avoid __uint*_t types.
55758
56e5eb46
UD
55759 [BZ #6420]
55760 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55761 symbol info. Use it instead of calling _dl_addr locally.
55762 (lock_and_info): New function.
55763 (tr_freehook): Call lock_and_info and pass symbol info as additional
55764 parameter to tr_where.
55765 (tr_mallochook): Likewise.
55766 (tr_reallochook): Likewise.
55767 (tr_memalignhook): Likewise.
55768
6ce75379
UD
55769 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55770 used and couldn't be at all thread-safe.
55771
f8a3b5bf
UD
557722011-05-15 Ulrich Drepper <drepper@gmail.com>
55773
94b7cc37
UD
55774 * libio/freopen.c (freopen): Don't close old file descriptor
55775 before the new one is opened. Instead dup the new file descriptor
55776 to the old one after the new stream is created.
55777 * libio/freopen64.c (freopen64): Likewise.
55778 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55779 * libio/fileops.c (_IO_new_file_close_it): Handle new
55780 _IO_FLAGS2_NOCLOSE flag.
55781 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55782 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55783 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55784 _IO_FLAGS2_NOCLOSE flag.
55785 * include/unistd.h: Add hidden_proto for dup3.
55786 Define __have_dup3.
55787 * io/dup3.c: Define hidden symbol.
55788 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55789
bd25564e
UD
55790 [BZ #7101]
55791 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55792 when an incomplete long option is used.
55793 * posix/tst-getopt_long1.c: New file.
55794 * posix/Makefile (tests): Add tst-getopt_long1.
55795
c84cfef4
UD
55796 [BZ #10138]
55797 * scripts/config.guess: Update from autoconf-2.68.
55798 * scripts/config.sub: Likewise.
55799
3b85df27
UD
55800 [BZ #10157]
55801 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55802 tests into ...
55803 (has_cpuclock): ...this. New function.
55804 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55805 macro here based on has_cpuclock code.
55806
15a856b1
UD
55807 [BZ #10149]
55808 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55809 First byte (not low byte) is now always NUL.
55810 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55811
05f399e6
UD
55812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55813 Use non-cancelable interfaces.
55814
10a52685 55815 [BZ #9809]
94ecc67d
UD
55816 * locale/iso-639.def: Add entry for Sorani.
55817
f8a3b5bf
UD
55818 [BZ #11901]
55819 * include/stdlib.h: Move include protection to the right place.
55820 Define abort_msg_s. Declare __abort_msg with it.
55821 * stdlib/abort.c (__abort_msg): Adjust type.
55822 * assert/assert.c (__assert_fail_base): New function. Majority
55823 of code from __assert_fail. Allocate memory for __abort_msg with
55824 mmap.
55825 (__assert_fail): Now call __assert_fail_base.
55826 * assert/assert-perr.c: Remove bulk of implementation. Use
55827 __assert_fail_base.
55828 * include/assert.hL Declare __assert_fail_base.
55829 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55830 mmap.
55831 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55832
1af4e298
UD
558332011-05-14 Ulrich Drepper <drepper@gmail.com>
55834
f8a3b5bf 55835 [BZ #11952]
d26dfc60
MG
55836 [BZ #12453]
55837 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55838 until all modules are registered in the DTV.
55839 * elf/Makefile: Add rules to build and run tst-tls19.
55840 * elf/tst-tls19.c: New file.
55841 * elf/tst-tls19mod1.c: New file.
55842 * elf/tst-tls19mod2.c: New file.
55843 * elf/tst-tls19mod3.c: New file.
55844 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55845
2fc54d6f
UD
55846 [BZ #12083]
55847 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55848 correctly.
55849
98d76b46
UD
55850 [BZ #12601]
55851 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55852 two-byte sequence errors.
55853 * iconvdata/Makefile (tests): Add bug-iconv8.
55854 * iconvdata/bug-iconv8.c: New file.
55855
da3c19ef
UD
55856 [BZ #12626]
55857 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55858 buf2 definition.
55859
ca408c15
UD
55860 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55861
d6f67f7d
UD
55862 [BZ #12432]
55863 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55864 (dummy_getcfa): New function.
55865 (init): Get _Unwind_GetCFA address, use dummy if not found.
55866 (backtrace_helper): In recursion check, also check whether CFA changes.
55867 (__backtrace): Completely initialize arg.
55868
1af4e298 55869 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55870 storing incomplete byte sequence in state object. Avoid testing for
55871 guaranteed too small input if we know there is enough data available.
1af4e298 55872
da62f81b
AS
558732011-05-11 Andreas Schwab <schwab@redhat.com>
55874
55875 * Makeconfig (+link-pie): Indent.
55876 * Rules (binaries-pie): Define if $(have-fpie) and
55877 $(build-shared).
55878 (binaries-shared): Also filter out $(binaries-pie).
55879 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55880 * nscd/Makefile (others-pie): Add nscd.
55881 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55882 ($(objpfx)nscd): Remove command override.
55883 * login/Makefile (others-pie): Add pt_chown.
55884 ($(objpfx)pt_chown): Remove command override.
55885 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55886 remove command overrides.
55887
fcabc0f8
UD
558882011-05-13 Ulrich Drepper <drepper@gmail.com>
55889
20030ae6
UD
55890 * libio/tst_putwc.c: Fix error messages.
55891
fcabc0f8
UD
55892 [BZ #12724]
55893 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55894 currently writing and seek to current position when not.
55895 * libio/Makefile (tests): Add bug-fclose1.
55896 * libio/bug-fclose1.c: New file.
55897
320a5dc0
PB
558982011-05-12 Ulrich Drepper <drepper@gmail.com>
55899
55900 [BZ #12511]
55901 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55902 don't set DF_1_NODELETE here.
55903 (do_lookup_x): When entering new entry test for copy relocation
55904 and if necessary set DF_1_NODELETE flag.
55905 * elf/tst-unique4.cc: New file.
55906 * elf/tst-unique4.h: New file.
55907 * elf/tst-unique4lib.cc: New file.
55908 * elf/Makefile: Add rules to build and run tst-unique4.
55909 Patch by Piotr Bury <pbury@goahead.com>.
55910
22836f52
UD
559112011-05-11 Ulrich Drepper <drepper@gmail.com>
55912
f574184a
UD
55913 [BZ #12052]
55914 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55915
e1fb097f
UD
55916 [BZ #12625]
55917 * misc/mntent_r.c (addmntent): Flush the stream after the output
55918
22836f52
UD
55919 [BZ #12393]
55920 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55921 (is_trusted_path_normalize): Skip initial colon. Append slash
55922 to empty buffer. Duplicate is_trusted_path code but allow
55923 constructed patch to be prefix.
55924 (is_dst): Allow $ORIGIN followed by /.
55925 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55926 Correct testing of result of is_trusted_path_normalize
55927 (decompose_rpath): Fix warning.
55928
7b3b0b2a
UD
559292011-05-10 Ulrich Drepper <drepper@gmail.com>
55930
55931 [BZ #11257]
55932 * grp/initgroups.c (internal_getgrouplist): When we found the service
55933 list through the initgroups entry in nsswitch.conf do not always
55934 continue on a successful lookup. Don't always use the
eac80ce2 55935 __nss_group_database value if it is set.
7b3b0b2a
UD
55936 * nss/nsswitch.conf (initgroups): Change action for successful db
55937 lookup to continue for compatibility.
55938
2a81eaa5
UD
559392011-05-09 Ulrich Drepper <drepper@gmail.com>
55940
be97a69e
UD
55941 [BZ #11532]
55942 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55943 and CP774 modules.
55944 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55945 and CP774 modules.
55946 * iconvdata/tst-tables.sh: Likewise.
55947 * iconvdata/cp770.c: New file.
55948 * iconvdata/cp771.c: New file.
55949 * iconvdata/cp772.c: New file.
55950 * iconvdata/cp773.c: New file.
55951 * iconvdata/cp774.c: New file.
55952 * iconvdata/testdata/CP770: New file.
55953 * iconvdata/testdata/CP770..UTF8: New file.
55954 * iconvdata/testdata/CP771: New file.
55955 * iconvdata/testdata/CP771..UTF8: New file.
55956 * iconvdata/testdata/CP772: New file.
55957 * iconvdata/testdata/CP772..UTF8: New file.
55958 * iconvdata/testdata/CP773: New file.
55959 * iconvdata/testdata/CP773..UTF8: New file.
55960 * iconvdata/testdata/CP774: New file.
55961 * iconvdata/testdata/CP774..UTF8: New file.
55962
55963 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55964 END CHARMAP line.
55965 * iconvdata/gen-8bit-gap.sh: Likewise.
55966 * iconvdata/gen-8bit.sh: Likewise.
55967
c1e9e399
UD
55968 * locale/iso-639.def: Add ary entry.
55969
24c55fb3 55970 [BZ #11258]
96b4b1b0
UD
55971 * locale/C-translit.h.in: Add U20A1 transliteration.
55972
bdc2f971
KB
55973 [BZ #12178]
55974 * locale/iso-639.def: Add wae entry.
55975 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55976
2952b117
UD
55977 [BZ #12545]
55978 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55979 for n.
55980
2a81eaa5
UD
55981 [BZ #12711]
55982 * locale/C-translit.h.in: Add entry for U20B9.
55983 Patch by pravin.d.s@gmail.com.
55984
28377d1b
UD
559852011-05-08 Ulrich Drepper <drepper@gmail.com>
55986
7fb90fb8
UD
55987 [BZ #12713]
55988 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55989 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55990 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55991 in rtld. Use *stat64.
7fb90fb8 55992 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55993 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55994 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55995 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55996 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55997 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55998 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55999 __fstatat64 macros.
7fb90fb8
UD
56000 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56001 * dirent/rewinddir.c: Add libc_hidden_def.
56002 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 56003 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 56004
28377d1b
UD
56005 * include/dirent.h (__alloc_dir): Add flags parameter.
56006 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56007 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56008 __alloc_dir.
56009 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56010 from fdopendir if O_CLOEXEC is already set.
56011
66bdbaa4
AM
560122011-03-15 Alan Modra <amodra@gmail.com>
56013
56014 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56015 l_tls_firstbyte_offset non-zero. Save padding offset in
56016 l_tls_firstbyte_offset for later use.
56017 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56018 freeing static tls block.
56019
95721191
JN
560202011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56021
56022 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56023 where #ifdef was intended. The intent is to prevent ARG_MAX from
56024 being defined by the kernel headers.
56025
f87dfb1f
UD
560262011-05-07 Ulrich Drepper <drepper@gmail.com>
56027
56028 [BZ #12734]
56029 * resolv/resolv.h: Define RES_NOTLDQUERY.
56030 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56031 no-tld-query and set RES_NOTLDQUERY.
56032 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56033 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56034 modern BIND to search name as TLD unless forbidden.
56035
47c3cd7a
UD
560362011-05-07 Petr Baudis <pasky@suse.cz>
56037 Ulrich Drepper <drepper@gmail.com>
56038
56039 [BZ #12393]
56040 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56041 (is_trusted_path): ...to here.
c1e9ea35 56042 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 56043 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 56044 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 56045
8a35c912
PP
560462011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56047
56048 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56049 __BEGIN/__END_DECLS.
56050
acd41f47
UD
560512011-05-06 Ulrich Drepper <drepper@gmail.com>
56052
56053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56054 NSS_STATUS_NOTFOUND if no record was found.
56055
597df647
AS
560562011-05-05 Andreas Schwab <schwab@redhat.com>
56057
56058 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56059 (headers-not-in-tirpc): Remove rpc/netdb.h
56060 * resolv/netdb.h: Revert last change.
56061
b9af1301
PP
560622011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56063
56064 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56065 circular dependency between libgcc.a and libc.a.
56066
4e34d5f5
AS
560672011-05-05 Andreas Schwab <schwab@redhat.com>
56068
56069 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56070 * nis/Makefile: Don't install rpcsvc/*.
56071 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56072 instead of <rpc/types.h>.
56073 (MAXHOSTNAMELEN): Define.
56074
00ee369c
AS
560752011-05-03 Andreas Schwab <schwab@redhat.com>
56076
56077 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56078
0b592a30
MB
560792011-04-28 Maciej Babinski <mbabinski@google.com>
56080
56081 [BZ #12714]
56082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56083 gethostbyname4_r when IPv6 results are possible.
56084
6e04cbbe
UD
560852011-05-02 Ulrich Drepper <drepper@gmail.com>
56086
56087 [BZ #12723]
56088 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56089 _PC_PIPE_BUF handling.
56090
e4ecafe0
BH
560912011-04-30 Bruno Haible <bruno@clisp.org>
56092
56093 [BZ #12717]
56094 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56095 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56096 to 'int'.
56097 * inet/getnameinfo.c (getnameinfo): Likewise.
56098
125ee683
UD
560992011-04-29 Ulrich Drepper <drepper@gmail.com>
56100
56101 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56102 to groups setting in database lookup.
56103 * nss/nsswitch.conf: Add initgroups entry.
56104
b722481a
EB
561052011-04-22 Ulrich Drepper <drepper@gmail.com>
56106
56107 [BZ #12685]
56108 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56109 mode string.
56110 Patch by Eric Blake <eblake@redhat.com>.
56111
4df46dbd
L
561122011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56113
56114 * sunrpc/Makefile (need-export-routines): Add svc_run.
56115 (routines): Remove svc_run.
56116 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56117 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56118 * sunrpc/svc_run.c (svc_run): Likewise.
56119 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56120
e84142d2
UD
561212011-04-21 Ulrich Drepper <drepper@gmail.com>
56122
56123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56124 problem in reallocation in last patch.
56125
877175d8
UD
561262011-04-20 Ulrich Drepper <drepper@gmail.com>
56127
56128 * sunrpc/Makefile: Move inclusion of Rules.
56129
ab8eed78
UD
561302011-04-19 Ulrich Drepper <drepper@gmail.com>
56131
56132 * nss/nss_files/files-initgroups.c: New file.
56133 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56134 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56135 _nss_files_initgroups_dyn.
56136
e3d8f584
RS
561372011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56138
56139 * elf/elf.h (R_ARM_IRELATIVE): Define.
56140
af190f45
UD
561412011-04-19 Ulrich Drepper <drepper@gmail.com>
56142
56143 * po/ru.po: Update from translation team.
56144
53cf59ef
UD
561452011-04-17 Ulrich Drepper <drepper@gmail.com>
56146
56147 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56148 dependencies.
56149
4c559bcd
MF
561502011-02-06 Mike Frysinger <vapier@gentoo.org>
56151
56152 [BZ #12653]
56153 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56154 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56155 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56156 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56157 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56158
4420675c
AS
561592011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56160
56161 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56162 differing bytes.
56163 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56164 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56165 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56166
75ea32ab
UD
561672011-04-17 Ulrich Drepper <drepper@gmail.com>
56168
56169 [BZ #12420]
56170 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56171 storing it.
56172 * stdlib/bug-getcontext.c: New file.
56173 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56174
27390476
AK
561752011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56176
56177 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56178 instructions into .machine "z9-109".
56179 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56180 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56181
10442705
AK
561822011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56183
56184 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56185 between environment variables and auxiliary vector.
56186
7b57bfe5
UD
561872011-04-16 Ulrich Drepper <drepper@gmail.com>
56188
56189 * Makefile: Add rules to build linkobj/libc.so.
56190 * include/libc-symbols.h: Define libc_hidden_nolink.
56191 * include/rpc/auth.h: Mark functions which are to be hidden.
56192 * include/rpc/auth_des.h: Likewise.
56193 * include/rpc/auth_unix.h: Likewise.
56194 * include/rpc/clnt.h: Likewise.
56195 * include/rpc/des_crypt.h: Likewise.
56196 * include/rpc/key_prot.h: Likewise.
56197 * include/rpc/pmap_clnt.h: Likewise.
56198 * include/rpc/pmap_prot.h: Likewise.
56199 * include/rpc/pmap_rmt.h: Likewise.
56200 * include/rpc/rpc_msg.h: Likewise.
56201 * include/rpc/svc.h: Likewise.
56202 * include/rpc/svc_auth.h: Likewise.
56203 * include/rpc/xdr.h: Likewise.
56204 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56205 * nss/Makefile: Likewise.
56206 * sunrpc/Makefile: Don't install headers. Build library with normal
56207 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56208 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56209 for the compat linking library. Remove use of INTDEF/INTUSE.
56210 * sunrpc/auth_none.c: Likewise.
56211 * sunrpc/auth_unix.c: Likewise.
56212 * sunrpc/authdes_prot.c: Likewise.
56213 * sunrpc/authuxprot.c: Likewise.
56214 * sunrpc/clnt_gen.c: Likewise.
56215 * sunrpc/clnt_perr.c: Likewise.
56216 * sunrpc/clnt_raw.c: Likewise.
56217 * sunrpc/clnt_simp.c: Likewise.
56218 * sunrpc/clnt_tcp.c: Likewise.
56219 * sunrpc/clnt_udp.c: Likewise.
56220 * sunrpc/clnt_unix.c: Likewise.
56221 * sunrpc/des_crypt.c: Likewise.
56222 * sunrpc/des_soft.c: Likewise.
56223 * sunrpc/get_myaddr.c: Likewise.
56224 * sunrpc/key_call.c: Likewise.
56225 * sunrpc/key_prot.c: Likewise.
56226 * sunrpc/netname.c: Likewise.
56227 * sunrpc/pm_getmaps.c: Likewise.
56228 * sunrpc/pm_getport.c: Likewise.
56229 * sunrpc/pmap_clnt.c: Likewise.
56230 * sunrpc/pmap_prot.c: Likewise.
56231 * sunrpc/pmap_prot2.c: Likewise.
56232 * sunrpc/pmap_rmt.c: Likewise.
56233 * sunrpc/publickey.c: Likewise.
56234 * sunrpc/rpc_cmsg.c: Likewise.
56235 * sunrpc/rpc_common.c: Likewise.
56236 * sunrpc/rpc_dtable.c: Likewise.
56237 * sunrpc/rpc_prot.c: Likewise.
56238 * sunrpc/rpc_thread.c: Likewise.
56239 * sunrpc/rtime.c: Likewise.
56240 * sunrpc/svc.c: Likewise.
56241 * sunrpc/svc_auth.c: Likewise.
56242 * sunrpc/svc_authux.c: Likewise.
56243 * sunrpc/svc_raw.c: Likewise.
56244 * sunrpc/svc_run.c: Likewise.
56245 * sunrpc/svc_simple.c: Likewise.
56246 * sunrpc/svc_tcp.c: Likewise.
56247 * sunrpc/svc_udp.c: Likewise.
56248 * sunrpc/svc_unix.c: Likewise.
56249 * sunrpc/svcauth_des.c: Likewise.
56250 * sunrpc/xcrypt.c: Likewise.
56251 * sunrpc/xdr.c: Likewise.
56252 * sunrpc/xdr_array.c: Likewise.
56253 * sunrpc/xdr_float.c: Likewise.
56254 * sunrpc/xdr_intXX_t.c: Likewise.
56255 * sunrpc/xdr_mem.c: Likewise.
56256 * sunrpc/xdr_rec.c: Likewise.
56257 * sunrpc/xdr_ref.c: Likewise.
56258 * sunrpc/xdr_sizeof.c: Likewise.
56259 * sunrpc/xdr_stdio.c: Likewise.
56260
e6c61494
UD
562612011-04-10 Ulrich Drepper <drepper@gmail.com>
56262
56263 [BZ #12650]
56264 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56265 * sysdeps/ia64/dl-tls.h: Likewise.
56266 * sysdeps/powerpc/dl-tls.h: Likewise.
56267 * sysdeps/s390/dl-tls.h: Likewise.
56268 * sysdeps/sh/dl-tls.h: Likewise.
56269 * sysdeps/sparc/dl-tls.h: Likewise.
56270 * sysdeps/x86_64/dl-tls.h: Likewise.
56271 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56272
34fe483e
AS
562732011-03-14 Andreas Schwab <schwab@redhat.com>
56274
56275 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56276 rpath element also skip the following colon.
56277 (expand_dynamic_string_token): Add is_path parameter and pass
56278 down to DL_DST_REQUIRED and _dl_dst_substitute.
56279 (decompose_rpath): Call expand_dynamic_string_token with
56280 non-zero is_path. Ignore empty rpaths.
56281 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56282 with zero is_path.
56283
f12a32e6
AS
562842011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56285
56286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56287 Make cancelable.
56288
38a7d692
UD
562892011-04-09 Ulrich Drepper <drepper@gmail.com>
56290
56291 [BZ #12655]
56292 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56293 Patch by Filipe David Manana <fdmanana@apache.org>.
56294
e451d22b
AS
562952011-04-07 Andreas Schwab <schwab@redhat.com>
56296
56297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56298 Maintain aligned stack.
56299 (CHECK_RSP): Remove unused macro.
56300
dedc7c7b
UD
563012011-04-03 Ulrich Drepper <drepper@gmail.com>
56302
56303 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56304 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56305
94521213
UD
563062011-04-02 Ulrich Drepper <drepper@gmail.com>
56307
56308 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56309
8cb700c0 56310 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56311
0354e355
L
563122011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56313
56314 [BZ #12518]
56315 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56316 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56317 * sysdeps/x86_64/memmove.c: New file.
56318 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56319 (memcpy): Renamed to ...
56320 (__new_memcpy): This.
56321 (memcpy): Provide GLIBC_2_14 memcpy.
56322 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56323 (memcpy): Provide GLIBC_2_2_5 memcpy.
56324
8593482f
UD
563252011-04-01 Ulrich Drepper <drepper@gmail.com>
56326
56327 [BZ #12631]
56328 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56329
81a5726b
AS
563302011-03-30 Andreas Schwab <schwab@redhat.com>
56331
56332 * misc/syncfs.c: New file.
56333 * misc/Makefile (routines): Add syncfs.
56334 * posix/unistd.h: Declare syncfs.
56335 * sysdeps/unix/syscalls.list: Add syncfs.
56336
00e5419f
AS
563372011-04-01 Andreas Schwab <schwab@redhat.com>
56338
56339 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56340 open_by_handle_at.
56341 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56346 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56347 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56348
748876bf
UD
563492011-04-01 Ulrich Drepper <drepper@gmail.com>
56350
658e451d
UD
56351 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56353 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56358
748876bf
UD
56359 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56360 sync_file_range.c with -fexceptions.
56361 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56362 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56363 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56364 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56365 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56366 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56368 sync_file_range as cancellation point
56369 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56370 now a wrapper around __call_sync_file_range with cancellation handling.
56371 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56372 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56373 function name to __call_sync_file_range.
56374 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56375 Add call_sync_file_range.
748876bf 56376
6e63d5e1
AS
563772011-04-01 Andreas Schwab <schwab@redhat.com>
56378
56379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56380 bits/timex.h.
6e63d5e1 56381
46998f74
UD
563822011-04-01 Ulrich Drepper <drepper@gmail.com>
56383
4c1423ed
UD
56384 * iconv/iconv.h: Fix typo in comment.
56385 * io/fcntl.h: Likewise.
56386 * libio/stdio.h: Likewise.
56387 * posix/spawn.h: Likewise.
56388 * posix/unistd.h: Likewise.
56389 * stdlib/stdlib.h: Likewise.
56390 * time/time.h: Likewise.
56391 * wcsmbs/wchar.h: Likewise.
56392
158648c0
UD
56393 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56394 open_by_handle): Add.
56395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56396 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56397 Augment a few comments.
56398 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56400 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56403 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56404 open_by_handle.
56405
46998f74
UD
56406 * io/fcntl.h (AT_EMPTY_PATH): Define.
56407
83fe108b
UD
564082011-03-30 Ulrich Drepper <drepper@gmail.com>
56409
56410 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56411 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56412 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56413 to...
56414 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56415 * Versions.def: Add GLIBC_2.14.
56416 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56417 Export.
83fe108b 56418
bb242059
UD
564192011-03-22 Ulrich Drepper <drepper@gmail.com>
56420
56421 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56422 round counter.
56423 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56424
c97a1282
L
564252011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56426
56427 [BZ #12597]
56428 * string/test-strncmp.c (do_page_test): New function.
56429 (check2): Likewise.
56430 (test_main): Call check2.
56431 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56432
2a115601
UD
564332011-03-20 Ulrich Drepper <drepper@gmail.com>
56434
56435 [BZ #12587]
56436 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56437 Handle cache information in CPU leaf 4.
56438 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56439
8126d904
UD
564402011-03-18 Ulrich Drepper <drepper@gmail.com>
56441
042c49c6 56442 [BZ #12583]
8126d904
UD
56443 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56444 character representation.
56445 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56446
ccfe366e
RA
564472011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56448
56449 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56450 END(__isnan) to END(__isnanf) to match function entry point/label
56451 EALIGN(__isnanf,...).
56452
c6e13027
JJ
564532011-03-10 Jakub Jelinek <jakub@redhat.com>
56454
56455 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56456
33f85a3f
UD
564572011-03-10 Ulrich Drepper <drepper@gmail.com>
56458
028478fa
UD
56459 [BZ #12510]
56460 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56461 copy from the symbol referenced in the relocation to initialize the
56462 used variable.
56463 Patch by Piotr Bury <pbury@goahead.com>.
56464 * elf/Makefile: Add rules to build and tst-unique3.
56465 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56466 * elf/tst-unique3.cc: New file.
56467 * elf/tst-unique3.h: New file.
56468 * elf/tst-unique3lib.cc: New file.
56469 * elf/tst-unique3lib2.cc: New file.
56470
33f85a3f
UD
56471 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56472
03592fc7
MF
564732011-03-10 Mike Frysinger <vapier@gentoo.org>
56474
56475 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56476 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56477 to _start.
03592fc7 56478
6a5ee102
UD
564792011-03-06 Ulrich Drepper <drepper@gmail.com>
56480
56481 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56482 to-be-loaded object along a path to loader is ld.so.
56483
7e4ba49c
HJ
564842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56485 Ulrich Drepper <drepper@gmail.com>
56486
56487 * sysdeps/x86_64/memset.S: After aligning destination, code
56488 branches to different locations depending on the value of
56489 misalignment, when multiarch is enabled. Fix this.
56490
564912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56492
56493 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56494 Set _x86_64_preferred_memory_instruction for AMD processsors.
56495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56496 Set bit_Prefer_SSE_for_memop for AMD processors.
56497
13a804de
UD
564982011-03-04 Ulrich Drepper <drepper@gmail.com>
56499
56500 * libio/fmemopen.c (fmemopen): Optimize a bit.
56501
9d25c392
AS
565022011-03-03 Andreas Schwab <schwab@redhat.com>
56503
56504 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56505
a5543c6a
RM
565062011-03-03 Roland McGrath <roland@redhat.com>
56507
56508 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56509
012d35f7
DM
565102011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56511
7e4ba49c 56512 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56513 __bzero_ultra1 instead of __memset_ultra1.
56514
4bff6e01
AS
565152011-02-23 Andreas Schwab <schwab@redhat.com>
56516 Ulrich Drepper <drepper@gmail.com>
56517
56518 [BZ #12509]
56519 * include/link.h (struct link_map): Add l_orig_initfini.
56520 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56521 returning unsuccessfully.
56522 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56523 close of a file loaded at startup, restore the original l_initfini
56524 list.
56525 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56526 list, store the pointer.
56527 * elf/Makefile ($(objpfx)noload-mem): New rule.
56528 (noload-ENV): Define.
56529 (tests): Add $(objpfx)noload-mem.
56530 * elf/noload.c: Include <memcheck.h>.
56531 (main): Call mtrace. Close all opened handles.
56532
f2092faf
AS
565332011-02-17 Andreas Schwab <schwab@redhat.com>
56534
56535 [BZ #12454]
56536 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56537 dependencies are missing.
56538
6c8a2e88
ST
565392011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56540
f2092faf 56541 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56542 Hurd needs munmap.
56543 * sysdeps/mach/hurd/ifreq.h: New file.
56544
84a42118
PB
565452011-01-27 Petr Baudis <pasky@suse.cz>
56546 Ulrich Drepper <drepper@gmail.com>
56547
071f805e 56548 [BZ 12445]#
84a42118
PB
56549 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56550 to extend_alloca().
56551 * stdio-common/bug23.c: New file.
56552 * stdio-common/Makefile (tests): Add bug23.
56553
e23fe25b
AS
565542010-09-28 Andreas Schwab <schwab@redhat.com>
56555 Ulrich Drepper <drepper@gmail.com>
56556
56557 [BZ #12489]
56558 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56559 before performing relro protection. At old place add assertion
56560 to make sure nothing changed.
56561
d3f02e10
NS
565622011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56563 Glauber de Oliveira Costa <glommer@gmail.com>
56564
56565 * elf/elf.h: Add new ARM TLS relocs.
56566
d55fd7a5
RA
565672011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56568
56569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56570 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56571 cast from r3.
56572 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56573 'tests' variable.
56574 * sysdeps/wordsize-64/tst-writev.c: New file.
56575
2206397e
RA
565762011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56577
56578 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56579 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56580 insns in _dl_start to prevent a TOC reference before relocs are
56581 resolved.
56582
e9433893
UD
565832011-02-15 Ulrich Drepper <drepper@gmail.com>
56584
56585 [BZ #12469]
56586 * Makeconfig: Remove RANLIB definition.
56587 * Makerules: Don't use RANLIB.
56588 * aclocal.m4: Remove ranlib test.
56589 * configure.in: No need to check for ranlib.
56590 * elf/rtld-Rules: Don't use RANLIB.
56591
f75286c6
ST
565922011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56593
8e31c82d
ST
56594 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56595 protection macro.
56596 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56597 inclusion protection macro.
56598
f75286c6
ST
56599 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56600 SIGRTMIN and SIGRTMAX and print information in that case only when
56601 SIGRTMIN is defined.
56602
c1d0e639
JJ
566032011-02-11 Jakub Jelinek <jakub@redhat.com>
56604
56605 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56606 arginfo fn returning -1.
56607
56608 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56609 and thousands string is zero terminated.
56610
edf9294e
AS
566112011-02-03 Andreas Schwab <schwab@redhat.com>
56612
56613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56614 sysdeps/unix/sysv/linux/bits/socket.h.
56615
2b7e92df
ST
566162011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56617
edf9294e
AS
56618 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56619 (__CPU_COUNT): Remove old macros.
56620 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56621 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56622 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56623 (__sched_cpualloc, __sched_cpufree): Add declarations.
56624
a4c7ea7b
UD
566252011-02-05 Ulrich Drepper <drepper@gmail.com>
56626
56627 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56628 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56629 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56630 (readdhstai): Return value of addhstaiX call.
56631 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56632 (addgrbyX): Return value returned by cache_addgr.
56633 (readdgrbyname): Return value returned by addgrbyX.
56634 (readdgrbygid): Likewise.
56635 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56636 (addpwbyX): Return value returned by cache_addpw.
56637 (readdpwbyname): Return value returned by addhstbyX.
56638 (readdpwbyuid): Likewise.
56639 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56640 (addservbyX): Return value returned by cache_addserv.
56641 (readdservbyname): Return value returned by addservbyX:
56642 (readdservbyport): Likewise.
56643 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56644 (addhstbyX): Return value returned by cache_addhst.
56645 (readdhstbyname): Return value returned by addhstbyX.
56646 (readdhstbyaddr): Likewise.
56647 (readdhstbynamev6): Likewise.
56648 (readdhstbyaddrv6): Likewise.
56649 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56650 (readdinitgroups): Return value returned by addinitgroupsX.
56651 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56652 (prune_cache): Keep track of timeout value of re-added entries.
56653 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56654 * nscd/nscd.h: Adjust prototypes of readd* functions.
56655
a0bf67cc
RM
566562011-02-04 Roland McGrath <roland@redhat.com>
56657
56658 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56659 (nis_stats): Likewise.
56660 * nis/nis_modify.c (nis_modify): Likewise.
56661 * nis/nis_remove.c (nis_remove): Likewise.
56662 * nis/nis_add.c (nis_add): Likewise.
56663
56664 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56665
56666 * posix/fnmatch_loop.c: Add some consts.
56667
56668 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56669
435b95eb
L
566702011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56671
56672 [BZ #12460]
56673 * config.make.in (config-cflags-novzeroupper): Define.
56674 * configure.in: Substitute libc_cv_cc_novzeroupper.
56675 * elf/Makefile (AVX-CFLAGS): Define.
56676 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56677 (CFLAGS-tst-auditmod4a.c): Likewise.
56678 (CFLAGS-tst-auditmod4b.c): Likewise.
56679 (CFLAGS-tst-auditmod6b.c): Likewise.
56680 (CFLAGS-tst-auditmod6c.c): Likewise.
56681 (CFLAGS-tst-auditmod7b.c): Likewise.
56682 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56683
8517b15e
UD
566842011-02-02 Ulrich Drepper <drepper@gmail.com>
56685
56686 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56687 function to the callback.
56688 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56689
10a656fe
AS
566902011-02-02 Andreas Schwab <schwab@redhat.com>
56691
56692 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56693 of errno.
56694
968dad0a
UD
566952011-01-19 Ulrich Drepper <drepper@gmail.com>
56696
9f94d2ea 56697 [BZ #11724]
968dad0a
UD
56698 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56699 of constructors.
56700 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56701 of destructors.
56702 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56703
56704 [BZ #11724]
56705 * elf/Makefile: Add rules to build and run new test.
56706 * elf/tst-initorder.c: New file.
56707 * elf/tst-initorder.exp: New file.
56708 * elf/tst-initordera1.c: New file.
56709 * elf/tst-initordera2.c: New file.
56710 * elf/tst-initordera3.c: New file.
56711 * elf/tst-initordera4.c: New file.
56712 * elf/tst-initorderb1.c: New file.
56713 * elf/tst-initorderb2.c: New file.
56714 * elf/tst-order-a1.c: New file.
56715 * elf/tst-order-a2.c: New file.
56716 * elf/tst-order-a3.c: New file.
56717 * elf/tst-order-a4.c: New file.
56718 * elf/tst-order-b1.c: New file.
56719 * elf/tst-order-b2.c: New file.
56720 * elf/tst-order-main.c: New file.
56721 New test case by George Gensure <werkt0@gmail.com>.
56722
86e92359
UD
567232010-10-01 Andreas Schwab <schwab@redhat.com>
56724
56725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56726 decoding ACE if AI_CANONIDN.
56727
5d5732b0
UD
567282011-01-18 Ulrich Drepper <drepper@gmail.com>
56729
56730 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56731
a77e8cbc
UD
567322011-01-17 Ulrich Drepper <drepper@gmail.com>
56733
6392473f
UD
56734 * version.h (RELEASE): Bump for 2.13 release.
56735 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56736
620a0529
UD
56737 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56738
18ba70a5
UD
56739 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56740 MADV_NOHUGEPAGE.
32465c3e
UD
56741 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56742 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56745 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56746 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56747
c0dafcf1
UD
56748 * posix/getconf.c: Update copyright year.
56749 * catgets/gencat.c: Likewise.
56750 * csu/version.c: Likewise.
56751 * debug/catchsegv.sh: Likewise.
56752 * debug/xtrace.sh: Likewise.
56753 * elf/ldconfig.c: Likewise.
56754 * elf/ldd.bash.in: Likewise.
56755 * elf/sprof.c (print_version): Likewise.
56756 * iconv/iconv_prog.c: Likewise.
56757 * iconv/iconvconfig.c: Likewise.
56758 * locale/programs/locale.c: Likewise.
56759 * locale/programs/localedef.c: Likewise.
56760 * malloc/memusage.sh: Likewise.
56761 * malloc/mtrace.pl: Likewise.
56762 * nscd/nscd.c (print_version): Likewise.
56763 * nss/getent.c: Likewise.
56764
a77e8cbc
UD
56765 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56766 PF_CAIF, and PF_ALG.
56767 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56768
77e8bddf
AS
567692011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56770
1f20b93a
AS
56771 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56772 (modules-names): Use them.
56773 (ifunc-test-modules, ifunc-pie-tests): Define.
56774 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56775 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56776 (test-extras): Likewise.
56777 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56778 $(compile-command.c).
56779 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56780 (all-built-dso): Define.
56781 (check-textrel.out, check-execstack.out): Depend on it.
56782
77e8bddf
AS
56783 * configure.in: Don't override --enable-multi-arch.
56784
bc425b33
UD
567852011-01-15 Ulrich Drepper <drepper@gmail.com>
56786
56787 [BZ #6812]
56788 * nscd/hstcache.c (tryagain): Define.
56789 (cache_addhst): Return tryagain not notfound for temporary errors.
56790 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56791 failed.
56792
794c3ad3
UD
567932011-01-14 Ulrich Drepper <drepper@gmail.com>
56794
70181fdd
UD
56795 [BZ #10563]
56796 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56797 to make the syscall.
56798 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56799
794c3ad3
UD
56800 [BZ #12378]
56801 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56802 and fall back to matching as normal character if the string ends before
56803 the matching ']' is found. This is what POSIX requires.
56804 * posix/testfnm.c: Adjust test result.
56805 * posix/globtest.sh: Adjust test result. Add new test.
56806 * posix/tst-fnmatch.input: Likewise.
56807 * posix/tst-fnmatch2.c: Add new test.
56808
68dc9497
AS
568092010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56810
56811 * elf/Makefile (check-execstack): Revert last change. Depend on
56812 check-execstack.h.
56813 (check-execstack.h): New target.
56814 (generated): Add check-execstack.h.
56815 * elf/check-execstack.c: Include "check-execstack.h".
56816 (main): Revert last change.
56817 (handle_file): Return zero if GNU_STACK is absent and
56818 DEFAULT_STACK_PERMS doesn't include PF_X.
56819
451f001b
UD
568202011-01-13 Ulrich Drepper <drepper@gmail.com>
56821
cfa28e56
UD
56822 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56823 in child fails because the descriptor is already closed.
8cf8ce17
UD
56824 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56825 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56826 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56827
1086d70d
UD
56828 [BZ #12397]
56829 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56830 syscall.
56831
451f001b
UD
56832 [BZ #10484]
56833 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56834 temporary buffer used to handle multi lookups locally.
a85b5cb4 56835 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56836
08769175
UD
568372011-01-12 Ulrich Drepper <drepper@gmail.com>
56838
56839 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56840 loader is ld.so.
56841
5e49c52e
UD
568422011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56843
56844 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56845 alignment for SSE2.
56846
60522a5f
UD
568472011-01-12 Ulrich Drepper <drepper@gmail.com>
56848
56849 [BZ #12394]
56850 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56851 characters. When rounding increased number of integer digits recompute
56852 number of groups.
56853 * stdio-common/tst-grouping.c: New file.
56854 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56855
f257bbd7
UD
568562011-01-09 Ulrich Drepper <drepper@gmail.com>
56857
56858 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56859 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56860
56861 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56862 void.
56863 * bits/select.h: Likewise.
56864
fa9c15cb
UD
568652011-01-08 Ulrich Drepper <drepper@gmail.com>
56866
56867 * po/ja.po: Update from translation team.
56868
16c2895f
DM
568692011-01-04 David S. Miller <davem@sunset.davemloft.net>
56870
56871 [BZ #11155]
56872 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56873 implementation just like for lxstat, fxstatat, et al.
56874
2543fef2
JM
568752010-12-27 Jim Meyering <meyering@redhat.com>
56876
56877 [BZ #12348]
56878 * posix/regexec.c (build_trtable): Return failure indication upon
56879 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56880
98727dbe
UD
568812010-12-25 Ulrich Drepper <drepper@gmail.com>
56882
5bd6dc5c
UD
56883 [BZ #12201]
56884 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56885 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56886 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56887 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56888
97983464
UD
56889 [BZ #12207]
56890 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56891
98727dbe
UD
56892 [BZ #12204]
56893 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56894 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56895
4a531bb0
L
568962010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56897
56898 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56899 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56900 script has SORT_BY_INIT_PRIORITY.
56901 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56902 NO_CTORS_DTORS_SECTIONS is defined.
56903 * elf/soinit.c: Likewise.
56904 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56905 NO_CTORS_DTORS_SECTIONS is defined.
56906 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56907 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56908 * sysdeps/sh/init-first.c: Likewise.
56909 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56910
07eb4b71
UD
569112010-12-24 Ulrich Drepper <drepper@gmail.com>
56912
56913 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56914 always use the slow path.
56915
30950a5f
RA
569162010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56917
56918 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56919 similar rule which adds the sysdep directories to the header search in
56920 order to pick up the correct platform stackinfo.h.
56921 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56922 perform test if it is, otherwise return successfully without testing.
56923 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56924 DEFAULT_STACK_PERMS define in stackinfo.h.
56925 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56926 defined in stackinfo.h.
56927 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56928 DEFAULT_STACK_PERMS defined in stackinfo.h.
56929 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56930 * sysdeps/ia64/stackinfo.h: Likewise.
56931 * sysdeps/s390/stackinfo.h: Likewise.
56932 * sysdeps/sh/stackinfo.h: Likewise.
56933 * sysdeps/sparc/stackinfo.h: Likewise.
56934 * sysdeps/x86_64/stackinfo.h: Likewise.
56935 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56936 PF_X for powerpc64. Retain PF_X for powerpc32.
56937
db753e2c
UD
569382010-12-19 Ulrich Drepper <drepper@gmail.com>
56939
14b697f7
UD
56940 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56941 accurately.
db753e2c
UD
56942 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56943 GETDENTS_64BIT_ALIGNED.
56944
28300719
UD
569452010-12-14 Ulrich Drepper <dreper@gmail.com>
56946
14b697f7 56947 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56948
4f197237
AS
569492010-12-10 Andreas Schwab <schwab@redhat.com>
56950
dbb0472f
AS
56951 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56952 _GNU_SOURCE.
56953
4f197237
AS
56954 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56955 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56956 Remove __restrict.
56957 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56958 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56959
fb88ac72
UD
569602010-12-09 Ulrich Drepper <drepper@gmail.com>
56961
56962 [BZ #11655]
56963 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56964 are initialized.
56965
42acbb92
JJ
569662010-12-09 Jakub Jelinek <jakub@redhat.com>
56967
56968 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56969
c038d98d
UD
569702010-12-03 Ulrich Drepper <drepper@gmail.com>
56971
56972 * po/it.po: Update from translation team.
56973
3a4a2499
L
569742010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56975
56976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56977 unused codes.
56978
1e24cf6e
UD
569792010-11-30 Ulrich Drepper <drepper@gmail.com>
56980
56981 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56982
a7690819
AS
569832010-11-24 Andreas Schwab <schwab@redhat.com>
56984
56985 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56986 specially.
56987 (gaih_getanswer_slice): Likewise.
56988
3bf8d1b1
JJ
569892010-10-20 Jakub Jelinek <jakub@redhat.com>
56990
56991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56992
6db52fbb
PB
569932010-05-31 Petr Baudis <pasky@suse.cz>
56994
56995 [BZ #11149]
56996 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56997 silently even in the chroot mode.
56998
eaca7569
UD
569992010-11-22 Ulrich Drepper <drepper@gmail.com>
57000
57001 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57002 last patch a bit. Pretty printing
57003
3056dcdb
UD
570042010-05-31 Petr Baudis <pasky@suse.cz>
57005
57006 [BZ #10085]
57007 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57008 initialization of skip_initgroups_dyn.
57009
cf7c9078
UD
570102010-11-19 Ulrich Drepper <drepper@gmail.com>
57011
57012 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57013 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57014
a1fb5e3e
UD
570152010-11-16 Ulrich Drepper <drepper@gmail.com>
57016
57017 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57018
3540d66b
AS
570192010-11-11 Andreas Schwab <schwab@redhat.com>
57020
57021 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57022 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57023 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57024 ($(objpfx)tst-fnmatch-mem): New rule.
57025 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57026 * posix/tst-fnmatch.c (main): Call mtrace.
57027
13b69574
L
570282010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57029
57030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57031 Support Intel processor model 6 and model 0x2c.
57032
da93d214
LM
570332010-11-10 Luis Machado <luisgpm@br.ibm.com>
57034
57035 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57036 signed comparison.
57037
8ca52c6e
L
570382010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57039
57040 [BZ #12205]
57041 * string/test-strncasecmp.c (check_result): New function.
57042 (do_one_test): Use it.
57043 (check1): New function.
57044 (test_main): Use it.
57045 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57046 Support strcasecmp and strncasecmp.
57047
69da074d
UD
570482010-11-08 Ulrich Drepper <drepper@gmail.com>
57049
57050 [BZ #12194]
57051 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57052 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57053
ff02d528
L
570542010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57055
57056 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57057 IFUNC support.
57058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57059 memset-x86-64.
57060 * sysdeps/x86_64/multiarch/bzero.S: New file.
57061 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57062 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57063 * sysdeps/x86_64/multiarch/memset.S: New file.
57064 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57066 Set bit_Prefer_SSE_for_memop for Intel processors.
57067 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57068 Define.
57069 (index_Prefer_SSE_for_memop): Define.
57070 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57071
344d0b54
LM
570722010-11-04 Luis Machado <luisgpm@br.ibm.com>
57073
57074 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57075 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57076
c0dde15b
UD
570772010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57078
57079 [BZ #12191]
57080 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57081 (__x86_64_raw_data_cache_size_half): Likewise.
57082 (__x86_64_raw_shared_cache_size): Likewise.
57083 (__x86_64_raw_shared_cache_size_half): Likewise.
57084
57085 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57086 (__x86_64_raw_data_cache_size_half): Likewise.
57087 (__x86_64_raw_shared_cache_size): Likewise.
57088 (__x86_64_raw_shared_cache_size_half): Likewise.
57089 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57090 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57091 and __x86_64_raw_shared_cache_size_half. Round
57092 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57093 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57094 to multiple of 256 bytes.
57095
0e516e0e
MS
570962010-11-03 Ulrich Drepper <drepper@gmail.com>
57097
57098 [BZ #12167]
57099 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57100 of inacessible symlinks. Verify result of symlink before returning it.
57101 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57102 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57103
0e012e87
ER
571042010-10-28 Erich Ritz <erichritz@gmail.com>
57105
57106 * math/math.h (isinf): Fix typo in comment.
57107
de0ff7bc
UD
571082010-11-01 Ulrich Drepper <drepper@gmail.com>
57109
57110 * po/da.po: Update from translation team.
57111
fa41c84d
UD
571122010-10-26 Ulrich Drepper <drepper@gmail.com>
57113
57114 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57115 is added to the list.
57116
f0967738
AK
571172010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57118 Ulrich Drepper <drepper@gmail.com>
57119
57120 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57121 the global list here. Move code to...
57122 (_dl_add_to_namespace_list): ...here. New function.
57123 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57124 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57125 * elf/dl-load.c (lose): Don't remove the element from the list.
57126 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57127 (_dl_map_object): Likewise.
57128
571292010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
57130
57131 [BZ #12159]
57132 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57133 into all bytes of SSE register.
57134 Patch by Richard Li <richardpku@gmail.com>.
57135
f0967738 571362010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
57137
57138 [BZ #12140]
57139 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57140 perturbing.
57141
d0b9e94f
MB
571422010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57143
57144 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57145 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57146 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57147 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57149 submachine.
57150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57151
8e9f92e9
AS
571522010-10-22 Andreas Schwab <schwab@redhat.com>
57153
57154 * include/dlfcn.h (__RTLD_SECURE): Define.
57155 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57156 mode & __RTLD_SECURE instead.
57157 (open_path): Rename preloaded parameter to secure.
57158 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57159 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57160 * elf/dl-deps.c (openaux): Likewise.
57161 * elf/rtld.c (struct map_args): Remove is_preloaded.
57162 (map_doit): Don't use it.
57163 (dl_main): Likewise.
57164 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57165 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57166
bc96fbda
AS
571672010-09-09 Andreas Schwab <schwab@redhat.com>
57168
57169 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57170 (sysd-rules-targets): Remove duplicates.
57171 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57172 rtld-%.$o dependency.
57173
22cd1c9b
AS
571742010-10-18 Andreas Schwab <schwab@redhat.com>
57175
57176 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57177 _dl_map_object do it.
57178
18edac48
UD
571792010-10-19 Ulrich Drepper <drepper@gmail.com>
57180
57181 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57182 fast fma builtins, define the macros in the C99 standard.
57183 (FP_FAST_FMAF): Likewise.
57184 (FP_FAST_FMAL): Likewise.
57185 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57186
57187 * bits/mathdef.h: Update copyright year.
57188 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57189
d2050124
MM
571902010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57191
57192 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57193 builtins, define the macros in the C99 standard.
57194 (FP_FAST_FMAF): Likewise.
57195 (FP_FAST_FMAL): Likewise.
57196 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57197 multiply/add.
57198 (FP_FAST_FMAF): Likewise.
57199
475facd1
JJ
572002010-10-15 Jakub Jelinek <jakub@redhat.com>
57201
57202 [BZ #3268]
57203 * math/libm-test.inc (fma_test): Some new testcases.
57204 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57205 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57206 y and infinite z. Do multiplication by C already in long double.
57207 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57209 y and infinite z. Do bitwise or of inexact bit into u.d.
57210 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57211 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57212 * sysdeps/i386/fpu/s_fma.S: Removed.
57213 * sysdeps/i386/fpu/s_fmal.S: Removed.
57214
7c08a05c
JJ
572152010-10-16 Jakub Jelinek <jakub@redhat.com>
57216
57217 [BZ #3268]
57218 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57220 computation is not scheduled after fetestexcept. Fix value
57221 of minimum denormal long double.
57222
f3f7372d
JJ
572232010-10-14 Jakub Jelinek <jakub@redhat.com>
57224
57225 [BZ #3268]
57226 * math/libm-test.inc (fma_test): Add some more tests.
57227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57228 correctly.
57229
14d43591
AS
572302010-10-15 Andreas Schwab <schwab@redhat.com>
57231
57232 * scripts/data/localplt-s390-linux-gnu.data: New file.
57233 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57234
5e908464
JJ
572352010-10-13 Jakub Jelinek <jakub@redhat.com>
57236
57237 [BZ #3268]
57238 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57239 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57240 instead of dbl-64.
57241 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57242 inlines.
57243 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57245 if one of x and y is very large and the other is subnormal.
57246 * sysdeps/s390/fpu/s_fmaf.c: New file.
57247 * sysdeps/s390/fpu/s_fma.c: New file.
57248 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57249 * sysdeps/powerpc/fpu/s_fma.S: New file.
57250 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57251 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57252 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57253
572542010-10-12 Jakub Jelinek <jakub@redhat.com>
57255
57256 [BZ #3268]
57257 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57258 fma tests.
57259 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57260 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57261 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57262 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57263 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57264 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57265 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57266
b833d51f
UD
572672010-10-12 Ulrich Drepper <drepper@redhat.com>
57268
57269 [BZ #12078]
57270 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57271 * posix/bug-regex31.input: Add test case.
57272
1751705d
UD
572732010-10-11 Ulrich Drepper <drepper@gmail.com>
57274
e9b9cbf5
UD
57275 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57276 * posix/bug-regex31.input: New file.
57277
57278 [BZ #12078]
57279 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57280 (parse_sub_exp): Fix last change, use postorder.
57281
ef06edbe
UD
57282 * posix/bug-regex31.c: New file.
57283 * posix/Makefile: Add rules to build and run bug-regex31.
57284
a129c80d
UD
57285 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57286
57287 [BZ #12078]
57288 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57289
b76b818e
UD
57290 [BZ #12108]
57291 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57292 to have entries in sys_siglist.
57293
1751705d
UD
57294 [BZ #12093]
57295 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57296 be NULL.
57297
9ff8d36f
JJ
572982010-10-07 Jakub Jelinek <jakub@redhat.com>
57299
57300 [BZ #3268]
57301 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57302 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57303 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57304 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57305 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57306 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57307 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57308 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57309 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57310 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57311 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57312 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57313 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57314 * math/ftestexcept.c (fetestexcept): Likewise.
57315 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57316 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57317 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57318 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57319 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57320 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57321 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57322
af325969
UD
573232010-10-11 Ulrich Drepper <drepper@gmail.com>
57324
c579b202 57325 [BZ #12107]
af325969
UD
57326 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57327 newline.
57328
67a67b95
UD
573292010-10-06 Ulrich Drepper <drepper@gmail.com>
57330
57331 * string/bug-strstr1.c: New file.
57332 * string/Makefile: Add rules to build and run bug-strstr1.
57333
5fb308bc
EB
573342010-10-05 Eric Blake <eblake@redhat.com>
57335
57336 [BZ #12092]
57337 * string/str-two-way.h (two_way_long_needle): Always clear memory
57338 when skipping input due to the shift table.
57339
45db99c7
UD
573402010-10-03 Ulrich Drepper <drepper@gmail.com>
57341
3b111893
UD
57342 [BZ #12005]
57343 * malloc/mcheck.c: Handle large requests.
57344
45db99c7
UD
57345 [BZ #12077]
57346 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57347 for strncmp and strncasecmp.
57348 * string/stratcliff.c: Add tests for strcmp and strncmp.
57349 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57350
cf7a1eb8
NI
573512010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57352
57353 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57354 __set_fpscr.
57355
6484ba5e
AJ
573562010-09-30 Andreas Jaeger <aj@suse.de>
57357
57358 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57359 (CGROUP_SUPER_MAGIC): Define.
57360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57361 Handle btrfs and cgroup file systems.
57362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57363 Likewise.
57364
91c42559
LM
573652010-09-27 Luis Machado <luisgpm@br.ibm.com>
57366
57367 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57368 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57369
87a97932
AK
573702010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57371
57372 [BZ #12067]
57373 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57374 trying to locate the ELF header.
57375
c21cc9bc
AS
573762010-09-27 Andreas Schwab <schwab@redhat.com>
57377
57378 [BZ #11611]
57379 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57380 Mask out sign-bit copies when constructing f_fsid.
57381
315970f6
PB
573822010-09-24 Petr Baudis <pasky@suse.cz>
57383
57384 * debug/stack_chk_fail_local.c: Add missing licence exception.
57385 * debug/warning-nop.c: Likewise.
57386
1ac7a2c7
JM
573872010-09-15 Joseph Myers <joseph@codesourcery.com>
57388
57389 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57390 implementing getdents64 using getdents syscall, set d_type if
57391 __ASSUME_GETDENTS32_D_TYPE.
57392
56801c50
AS
573932010-09-16 Andreas Schwab <schwab@redhat.com>
57394
57395 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57396 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57397
dda51327
UD
573982010-09-21 Ulrich Drepper <drepper@redhat.com>
57399
57400 [BZ #12037]
57401 * posix/unistd.h: Undo change of feature selection for ftruncate from
57402 2010-01-11.
57403
8ffcee4a
UD
574042010-09-20 Ulrich Drepper <drepper@redhat.com>
57405
a545ecd9 57406 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57407 detection.
57408
e24f0a8b
AS
574092010-09-20 Andreas Schwab <schwab@redhat.com>
57410
57411 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57412 fanotify_mark.
57413 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57414
7291c56f
AS
574152010-09-14 Andreas Schwab <schwab@redhat.com>
57416
57417 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57418 variables after CHECK_SP call.
57419 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57420
bc5fb037
AS
574212010-09-13 Andreas Schwab <schwab@redhat.com>
57422 Ulrich Drepper <drepper@redhat.com>
57423
57424 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57425 re-relocationg ld.so.
57426 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57427 _dl_init_paths call.
57428 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57429 here anymore.
57430
e66e7419
UD
574312010-09-14 Ulrich Drepper <drepper@redhat.com>
57432
57433 * resolv/res_init.c (__res_vinit): Count the default server we added.
57434
c044aa75
CLT
574352010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57436 Ulrich Drepper <drepper@redhat.com>
57437
57438 [BZ #11968]
57439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57440 (____longjmp_chk): Use %ebx for saving value across system call.
57441 Add unwind info.
57442
32cf4069
AS
574432010-09-06 Andreas Schwab <schwab@redhat.com>
57444
57445 * manual/Makefile: Don't mix pattern rules with normal rules.
57446
817328ee
AS
574472010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57448
57449 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57450 operation.
57451 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57452 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57453 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57454 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57455 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57456 Likewise.
57457
29fddf61
UD
574582010-09-04 Ulrich Drepper <drepper@redhat.com>
57459
57460 [BZ #11979]
57461 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57462 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57463
0959ffc9
UD
574642010-09-02 Ulrich Drepper <drepper@redhat.com>
57465
57466 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57467 * sysdeps/x86_64/addmul_1.S: Likewise.
57468 * sysdeps/x86_64/lshift.S: Likewise.
57469 * sysdeps/x86_64/mul_1.S: Likewise.
57470 * sysdeps/x86_64/rshift.S: Likewise.
57471 * sysdeps/x86_64/sub_n.S: Likewise.
57472 * sysdeps/x86_64/submul_1.S: Likewise.
57473
ece29840
ST
574742010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57475
0959ffc9
UD
57476 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57477 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57478 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57479 * bits/sched.h [__need_schedparam]
ece29840 57480 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57481 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57482 (__defined_schedparam): Define to 1.
ece29840
ST
57483 (__sched_param): New structure, identical to sched_param.
57484 (__need_schedparam): Undefine.
57485
e53a31fe
MF
574862010-08-31 Mike Frysinger <vapier@gentoo.org>
57487
fdc0c10d
MF
57488 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57489 (epoll_create1): Declare.
57490
e53a31fe
MF
57491 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57492
a726d796
AS
574932010-08-31 Andreas Schwab <schwab@redhat.com>
57494
57495 [BZ #7066]
57496 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57497 shifting retval into place.
57498
2f3e3dc7
UD
574992010-09-01 Ulrich Drepper <drepper@redhat.com>
57500
f2933da9
UD
57501 * nis/rpcsvc/nis.h: Update copyright notice.
57502 * nis/rpcsvc/nis.x: Likewise.
57503 * nis/rpcsvc/nis_callback.h: Likewise.
57504 * nis/rpcsvc/nis_callback.x: Likewise.
57505 * nis/rpcsvc/nis_object.x: Likewise.
57506 * nis/rpcsvc/nis_tags.h: Likewise.
57507 * nis/rpcsvc/yp.h: Likewise.
57508 * nis/rpcsvc/yp.x: Likewise.
57509 * nis/rpcsvc/ypupd.h: Likewise.
57510 * nis/yp_xdr.c: Likewise.
57511 * nis/ypupdate_xdr.c: Likewise.
57512
2f3e3dc7
UD
57513 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57514 mainly the body of pmap_getport. Add parameters to specify timeouts.
57515 (pmap_getport): Use __libc_rpc_getport.
57516 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57517 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57518 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57519
f3dcc2f9
AS
575202010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57521
57522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57523 fanotify_mark.
57524
6d34eb5b
RM
575252010-08-27 Roland McGrath <roland@redhat.com>
57526
57527 * sysdeps/i386/i686/multiarch/Makefile
57528 (CFLAGS-varshift.c): New variable.
57529
9ea3de11
UD
575302010-08-27 Ulrich Drepper <drepper@redhat.com>
57531
c96d23fc
UD
57532 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57533 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57534
9ea3de11
UD
57535 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57536
57537 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57538
623aac7f
L
575392010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57540
57541 * sysdeps/x86_64/strlen.S: Unroll the loop.
57542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57543 strlen-sse2 strlen-sse2-bsf.
57544 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57545 __strlen_no_bsf if bit_Slow_BSF is set.
57546 (__strlen_sse42): Removed.
57547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57548 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57549
8b2b7715
RM
575502010-08-25 Roland McGrath <roland@redhat.com>
57551
57552 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57553 * sysdeps/x86_64/multiarch/varshift.c: New file.
57554 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57555 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57556 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57557 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57558
e73015f2
L
575592010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57560
57561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57562 strlen-sse2 strlen-sse2-bsf.
57563 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57564 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57565 (__strlen_sse2): Removed.
57566 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57567 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57569 bit_Slow_BSF for Atom.
57570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57571 (index_Slow_BSF): Define.
57572 (HAS_SLOW_BSF): Define.
57573
df24a73e
UD
575742010-08-25 Ulrich Drepper <drepper@redhat.com>
57575
57576 [BZ #10851]
57577 * resolv/res_init.c (__res_vinit): When no server address at all
57578 is given default to loopback.
57579
f2ac4868
RM
575802010-08-24 Roland McGrath <roland@redhat.com>
57581
09055553
RM
57582 * configure.in: Remove config-name.h generation.
57583 * configure: Regenerated.
57584 * config-name.in: File removed.
57585 * scripts/config-uname.sh: New file.
57586 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57587 ($(objdir)config-name.h): New target.
57588
f2ac4868
RM
57589 * sunrpc/rpc_parse.h: Avoid nested comment.
57590
73f27d5e
RH
575912010-08-24 Richard Henderson <rth@redhat.com>
57592 Ulrich Drepper <drepper@redhat.com>
57593 H.J. Lu <hongjiu.lu@intel.com>
57594
57595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57597 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57598 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57599 _mm_alignr_epi8 with _mm_loadu_si128.
57600 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57601 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57602 (__m128i_shift_right): Removed.
57603 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57604 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57605 * sysdeps/x86_64/multiarch/varshift.h: New file.
57606 * sysdeps/x86_64/multiarch/varshift.S: New file.
57607
84b9230c
MF
576082010-08-21 Mike Frysinger <vapier@gentoo.org>
57609
57610 * configure.in: Move assembler checks to before sysdep dir checking.
57611
9bbd0ddc
PB
576122010-08-20 Petr Baudis <pasky@suse.cz>
57613
57614 * LICENSES: Sync the sunrpc license.
57615
9da4bb31
UD
576162010-08-19 Ulrich Drepper <drepper@redhat.com>
57617
a7ab6ec8
UD
57618 * sunrpc/auth_des.c: Update copyright notice once again.
57619 * sunrpc/auth_none.c: Likewise.
57620 * sunrpc/auth_unix.c: Likewise.
57621 * sunrpc/authdes_prot.c: Likewise.
57622 * sunrpc/authuxprot.c: Likewise.
57623 * sunrpc/bindrsvprt.c: Likewise.
57624 * sunrpc/clnt_gen.c: Likewise.
57625 * sunrpc/clnt_perr.c: Likewise.
57626 * sunrpc/clnt_raw.c: Likewise.
57627 * sunrpc/clnt_simp.c: Likewise.
57628 * sunrpc/clnt_tcp.c: Likewise.
57629 * sunrpc/clnt_udp.c: Likewise.
57630 * sunrpc/clnt_unix.c: Likewise.
57631 * sunrpc/des_crypt.c: Likewise.
57632 * sunrpc/des_soft.c: Likewise.
57633 * sunrpc/get_myaddr.c: Likewise.
57634 * sunrpc/getrpcport.c: Likewise.
57635 * sunrpc/key_call.c: Likewise.
57636 * sunrpc/key_prot.c: Likewise.
57637 * sunrpc/openchild.c: Likewise.
57638 * sunrpc/pm_getmaps.c: Likewise.
57639 * sunrpc/pm_getport.c: Likewise.
57640 * sunrpc/pmap_clnt.c: Likewise.
57641 * sunrpc/pmap_prot.c: Likewise.
57642 * sunrpc/pmap_prot2.c: Likewise.
57643 * sunrpc/pmap_rmt.c: Likewise.
57644 * sunrpc/rpc/auth.h: Likewise.
57645 * sunrpc/rpc/auth_unix.h: Likewise.
57646 * sunrpc/rpc/clnt.h: Likewise.
57647 * sunrpc/rpc/des_crypt.h: Likewise.
57648 * sunrpc/rpc/key_prot.h: Likewise.
57649 * sunrpc/rpc/netdb.h: Likewise.
57650 * sunrpc/rpc/pmap_clnt.h: Likewise.
57651 * sunrpc/rpc/pmap_prot.h: Likewise.
57652 * sunrpc/rpc/pmap_rmt.h: Likewise.
57653 * sunrpc/rpc/rpc.h: Likewise.
57654 * sunrpc/rpc/rpc_des.h: Likewise.
57655 * sunrpc/rpc/rpc_msg.h: Likewise.
57656 * sunrpc/rpc/svc.h: Likewise.
57657 * sunrpc/rpc/svc_auth.h: Likewise.
57658 * sunrpc/rpc/types.h: Likewise.
57659 * sunrpc/rpc/xdr.h: Likewise.
57660 * sunrpc/rpc_clntout.c: Likewise.
57661 * sunrpc/rpc_cmsg.c: Likewise.
57662 * sunrpc/rpc_common.c: Likewise.
57663 * sunrpc/rpc_cout.c: Likewise.
57664 * sunrpc/rpc_dtable.c: Likewise.
57665 * sunrpc/rpc_hout.c: Likewise.
57666 * sunrpc/rpc_main.c: Likewise.
57667 * sunrpc/rpc_parse.c: Likewise.
57668 * sunrpc/rpc_parse.h: Likewise.
57669 * sunrpc/rpc_prot.c: Likewise.
57670 * sunrpc/rpc_sample.c: Likewise.
57671 * sunrpc/rpc_scan.c: Likewise.
57672 * sunrpc/rpc_scan.h: Likewise.
57673 * sunrpc/rpc_svcout.c: Likewise.
57674 * sunrpc/rpc_tblout.c: Likewise.
57675 * sunrpc/rpc_util.c: Likewise.
57676 * sunrpc/rpc_util.h: Likewise.
57677 * sunrpc/rpcinfo.c: Likewise.
57678 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57679 * sunrpc/rpcsvc/key_prot.x: Likewise.
57680 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57681 * sunrpc/rpcsvc/mount.x: Likewise.
57682 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57683 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57684 * sunrpc/rpcsvc/rex.x: Likewise.
57685 * sunrpc/rpcsvc/rstat.x: Likewise.
57686 * sunrpc/rpcsvc/rusers.x: Likewise.
57687 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57688 * sunrpc/rpcsvc/spray.x: Likewise.
57689 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57690 * sunrpc/rtime.c: Likewise.
57691 * sunrpc/svc.c: Likewise.
57692 * sunrpc/svc_auth.c: Likewise.
57693 * sunrpc/svc_authux.c: Likewise.
57694 * sunrpc/svc_raw.c: Likewise.
57695 * sunrpc/svc_run.c: Likewise.
57696 * sunrpc/svc_simple.c: Likewise.
57697 * sunrpc/svc_tcp.c: Likewise.
57698 * sunrpc/svc_udp.c: Likewise.
57699 * sunrpc/svc_unix.c: Likewise.
57700 * sunrpc/svcauth_des.c: Likewise.
57701 * sunrpc/xcrypt.c: Likewise.
57702 * sunrpc/xdr.c: Likewise.
57703 * sunrpc/xdr_array.c: Likewise.
57704 * sunrpc/xdr_float.c: Likewise.
57705 * sunrpc/xdr_mem.c: Likewise.
57706 * sunrpc/xdr_rec.c: Likewise.
57707 * sunrpc/xdr_ref.c: Likewise.
57708 * sunrpc/xdr_sizeof.c: Likewise.
57709 * sunrpc/xdr_stdio.c: Likewise.
57710
9da4bb31
UD
57711 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57712 handling.
57713
bdaa77bc
AS
577142010-08-19 Andreas Schwab <schwab@redhat.com>
57715
57716 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57717
fe2f79db
LM
577182010-08-19 Luis Machado <luisgpm@br.ibm.com>
57719
57720 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57721 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57722 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57723 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57724 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57725 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57726 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57727 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57728 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57729 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57730 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57731 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57732 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57733 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57734
b9b42ee0
AB
577352010-07-26 Anton Blanchard <anton@samba.org>
57736
57737 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57738 * malloc/arena.c (heap_trim): Likewise.
57739
1c06ba31
UD
577402010-08-16 Ulrich Drepper <drepper@redhat.com>
57741
57742 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57743 here. Not...
57744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57745 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57746
f8392f40
L
577472010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57748
57749 * sysdeps/i386/elf/Makefile: New file.
57750
3162f12e
AS
577512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57752
57753 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57754 from fanotify_init.
57755 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57756 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57757
28c90b2c
UD
577582010-08-15 Ulrich Drepper <drepper@redhat.com>
57759
57760 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57761 of strncasecmp_l.
1feccb6c 57762 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57763
ca6bb004
UD
577642010-08-14 Ulrich Drepper <drepper@redhat.com>
57765
e9f82e0d
UD
57766 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57767 strncase_l-nonascii.
57768 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57769 Add strncase_l-ssse3.
57770 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57771 * sysdeps/x86_64/strcmp.S: Likewise.
57772 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57773 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57774 * sysdeps/x86_64/strncase.S: New file.
57775 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57776 * sysdeps/x86_64/strncase_l.S: New file.
57777 * string/Makefile (strop-tests): Add strncasecmp.
57778 * string/test-strncasecmp.c: New file.
57779
57780 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57781 warning.
57782
ca6bb004
UD
57783 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57784 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57785
052fa7b3
AS
577862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57787
57788 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57789
962dba78
UD
577902010-08-12 Ulrich Drepper <drepper@redhat.com>
57791
57792 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57793 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57794 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57795
bebff237
AM
577962010-05-01 Alan Modra <amodra@gmail.com>
57797
57798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57799 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57800 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57801 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57802 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57803 tidying. Don't tail-call __sigjmp_save for static lib.
57804 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57805 save location.
57806 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57807 (CALL_MCOUNT): Add eh info, and nop after bl.
57808 (TAIL_CALL_SYSCALL_ERROR): New macro.
57809 (PSEUDO_RET): Use it.
57810 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57811 Correct save location of integer regs and cr.
57812 (_dl_profile_resolve): Correct cr save location. Delete nops
57813 after bl when SHARED. Reduce cfi size a little by better
57814 placement of cfi directives.
57815 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57816 make a stack frame. Instead use parm save area as a temp.
57817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57818 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57820 Don't make a stack frame for parent, use parm save area.
57821 Increase child stack frame to 112 bytes. Don't save unused reg,
57822 and adjust reg usage. Set up cfi on error recovery and
57823 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57825 (__makecontext): Add dummy nop after jump to exit.
57826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57827 Use correct parm save area and cr save, reduce stack frame.
57828 Correct cfi for possible PSEUDO_RET frame setup.
57829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57830 Branch to local label emitted by PSEUDO_RET rather than
57831 __syscall_error.
57832
02637374
AS
578332010-08-12 Andreas Schwab <schwab@redhat.com>
57834
57835 [BZ #11904]
57836 * locale/programs/locale.c (print_assignment): New function.
57837 (show_locale_vars): Use it.
57838
c3e2f19b
UD
578392010-08-11 Ulrich Drepper <drepper@redhat.com>
57840
3cdaa6ad
UD
57841 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57842 field.
57843 (struct statfs64): Likewise.
57844 (_STATFS_F_FLAGS): Define.
57845 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57846 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57847 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57848 (ST_VALID): Define locally.
57849 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57850 __statvfs_getflags, use the provided value.
57851 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57852 __ASSUME_STATFS_F_FLAGS.
57853
754f7da3
UD
57854 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57855
10b3bedc
UD
57856 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57857 Add sys/fanotify.h.
57858 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57859 fanotify_mask for GLIBC_2.13.
57860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57861 fanotify_init and fanotify_mark.
57862 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57863 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57864
c08fb0d7
UD
57865 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57866 Add prlimit.
57867 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57868 prlimit64 for GLIBC_2.13.
57869 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57870 prlimit64.
57871 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57872 syscall.
57873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57874 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57875 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57876 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57878 add prlimit alias.
57879 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57880
15bac72b
UD
57881 [BZ #11903]
57882 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57883 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57884
c3e2f19b
UD
57885 * nss/Makefile: Add rules to build and run tst-nss-test1.
57886 * shlib-versions: Add entry for libnss_test1.
57887 * nss/nss_test1.c: New file.
57888 * nss/tst-nss-test1.c: New file.
57889
57890 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57891 (__nss_configure_lookup): Set appropriate entry in
57892 __nss_configure_lookup to true.
57893 * nss/nsswitch.h: Define enum with indeces of databases in
57894 databases and __nss_database_custom arrays. Declare
57895 __nss_database_custom.
57896 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57897 to avoid using nscd when custom rules are installed.
57898 * nss/getXXbyYY_r.c: Likewise.
57899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57900
57901 * nss/nss_files/files-parse.c: Whitespace fixes.
57902
f15ce4d8
UD
579032010-08-09 Ulrich Drepper <drepper@redhat.com>
57904
57905 [BZ #11883]
57906 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57907 * posix/fnmatch_loop.c: Likewise.
57908
d22e4cc9
AK
579092010-07-17 Andi Kleen <ak@linux.intel.com>
57910
57911 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57912 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57913 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57914 * Versions.def [GLIBC_2.13]: Add.
57915
805bc17d
UD
579162010-08-06 Ulrich Drepper <drepper@redhat.com>
57917
57918 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57919 Also fail if tpwd after pwuid call is NULL.
57920
5a42321d
ST
579212010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57922
57923 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57924 when converting to ms.
57925
fd3ebeda
ST
579262010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57927
57928 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57929 EOPNOTSUPP errors with ENOTTY.
57930 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57931 EOPNOTSUPP errors with ENOTTY.
57932
73507d3a
UD
579332010-07-31 Ulrich Drepper <drepper@redhat.com>
57934
57935 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57936 Add strcasecmp_l-ssse3.
57937 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57938 strcasecmp.
57939 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57940 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57941 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57942
fe36dd02
UD
579432010-07-30 Ulrich Drepper <drepper@redhat.com>
57944
66f6765a
UD
57945 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57946
42e08a54
UD
57947 * string/Makefile (strop-tests): Add strcasecmp.
57948 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57949 strcasecmp_l-nonascii.
57950 (gen-as-const-headers): Add locale-defines.sym.
57951 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57952 * sysdeps/x86_64/strcasecmp.S: New file.
57953 * sysdeps/x86_64/strcasecmp_l.S: New file.
57954 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57955 * sysdeps/x86_64/locale-defines.sym: New file.
57956 * string/test-strcasecmp.c: New file.
57957
fe36dd02
UD
57958 * string/test-strcasestr.c: Test both ends of the range of characters.
57959 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57960
48cbc0d6
RM
579612010-07-29 Roland McGrath <roland@redhat.com>
57962
76e6d6bc 57963 [BZ #11856]
48cbc0d6
RM
57964 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57965
880113d9
UD
579662010-07-27 Ulrich Drepper <drepper@redhat.com>
57967
57968 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57969 for ld.so.
57970
deb9cabb
AS
579712010-07-27 Andreas Schwab <schwab@redhat.com>
57972
57973 * manual/memory.texi (Malloc Tunable Parameters): Document
57974 M_PERTURB.
57975
1c7570ff
RM
579762010-07-26 Roland McGrath <roland@redhat.com>
57977
57978 [BZ #11840]
57979 * configure.in (-fgnu89-inline check): Set and substitute
57980 gnu89_inline, not libc_cv_gnu89_inline.
57981 * configure: Regenerated.
57982 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57983
24fb0f88
UD
579842010-07-26 Ulrich Drepper <drepper@redhat.com>
57985
57986 * string/test-strnlen.c: New file.
57987 * string/Makefile (strop-tests): Add strnlen.
57988 * string/tester.c (test_strnlen): Add a few more test cases.
57989 * string/tst-strlen.c: Better error reporting.
57990
57991 * sysdeps/x86_64/strnlen.S: New file.
57992
8e96b93a
UD
579932010-07-24 Ulrich Drepper <drepper@redhat.com>
57994
57995 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57996 lower-latency instructions.
57997
dbc676d4
UD
579982010-07-23 Ulrich Drepper <drepper@redhat.com>
57999
58000 * string/test-strcasestr.c: New file.
58001 * string/test-strstr.c: New file.
58002 * string/Makefile (strop-tests): Add strstr and strcasestr.
58003 * string/str-two-way.h: Don't undefine MAX.
58004 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58005
f6a31e0e
AS
580062010-07-21 Andreas Schwab <schwab@redhat.com>
58007
58008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58009 strcasestr-nonascii.
58010 (CFLAGS-strcasestr-nonascii.c): Define.
58011 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58012 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58013 Remove unused attribute.
58014
5dbc3b6c
RM
580152010-07-20 Roland McGrath <roland@redhat.com>
58016
58017 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58018 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58019 ld.so.cache was broken. With it, there is no way to disable dsocaps
58020 like LD_HWCAP_MASK can disable hwcaps.
58021
23d101d8
EPM
580222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58023
58024 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58025
cc9f2e47
UD
580262010-07-16 Ulrich Drepper <drepper@redhat.com>
58027
58028 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58029 call in strcasestr.
58030 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58031 __strcasestr_sse42_nonascii.
58032 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58033 strcasestr-nonascii.c.
58034 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58035
77c1b069
LM
580362010-06-15 Luis Machado <luisgpm@br.ibm.com>
58037
58038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58039 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58040 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58041 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58042
440566c3
UD
580432010-07-09 Ulrich Drepper <drepper@redhat.com>
58044
58045 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58046 fcntl.
58047
5be9d05d
AS
580482010-07-06 Andreas Schwab <schwab@redhat.com>
58049
c30b7ee2 58050 [BZ #11577]
5be9d05d
AS
58051 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58052 dl_signal_cerror.
58053
8a492a67
UD
580542010-07-06 Ulrich Drepper <drepper@redhat.com>
58055
58056 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58057 _PC_PIPE_BUF using F_GETPIPE_SZ.
58058
713df3d5
RM
580592010-07-05 Roland McGrath <roland@redhat.com>
58060
58061 * manual/arith.texi (Rounding Functions): Fix rint description
58062 implicit in round description.
58063
702e8f14
UD
580642010-07-02 Ulrich Drepper <drepper@redhat.com>
58065
58066 * elf/Makefile: Fix linking for a few tests to make recent linker
58067 happy.
58068
52ed8be9
AS
580692010-06-30 Andreas Schwab <schwab@redhat.com>
58070
58071 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58072 $(common-objpfx)libc_nonshared.a.
58073
f47c9a11
LM
580742010-06-21 Luis Machado <luisgpm@br.ibm.com>
58075
58076 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58077 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58078 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58079 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58080 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58081 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58082 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58083 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58098 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58099 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58100 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58101 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58102 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58103 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58104 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58105 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58106 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58107 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58108 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58109 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58124
6fb8cbcb
L
581252010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58126
58127 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58128 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58129 * string/memmove.c (memmove): Renamed to ...
58130 (MEMMOVE): ...this. Default to memmove.
58131 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58132 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58133 (END_CHK): Define.
58134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58135 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58136 mempcpy-ssse3-back memmove-ssse3-back.
58137 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58138 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58140 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58141 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58142 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58143 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58144 * sysdeps/x86_64/multiarch/memmove.c: New file.
58145 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58146 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58147 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58148 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58149 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58151 Define.
58152 (index_Fast_Copy_Backward): Define.
58153 (HAS_ARCH_FEATURE): Define.
58154 (HAS_FAST_REP_STRING): Define.
58155 (HAS_FAST_COPY_BACKWARD): Define.
58156
4e733bac 581572010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
58158
58159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58160 Restore proper fallback handling.
58161
63c4ed22
UD
581622010-06-19 Ulrich Drepper <drepper@redhat.com>
58163
ac2b484c
UD
58164 [BZ #11701]
58165 * posix/group_member.c (__group_member): Correct checking loop.
58166
63c4ed22
UD
58167 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58168 OOM in getpwuid_r correctly. Return error number when the caller
58169 should return, otherwise -1.
58170 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58171 call returning > 0 value.
58172 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58173
765ade4b
AS
581742010-06-07 Andreas Schwab <schwab@redhat.com>
58175
58176 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58177 libc_nonshared.a from targets in modules-names.
58178
80da2e09
KS
581792010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58180
58181 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58182 requires it.
58183
158db122
LM
581842010-06-10 Luis Machado <luisgpm@br.ibm.com>
58185
58186 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58190
caa78cf8
AS
581912010-06-02 Andreas Schwab <schwab@redhat.com>
58192
58193 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58194
b2ef2c01
UD
581952010-06-14 Ulrich Drepper <drepper@redhat.com>
58196
58197 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58198 and F_GETPIPE_SZ.
58199 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58200 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58203 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58204 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58205
fbd643b6
RM
582062010-06-14 Roland McGrath <roland@redhat.com>
58207
58208 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58209
f32f2869
JJ
582102010-06-07 Jakub Jelinek <jakub@redhat.com>
58211
58212 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58213 __REDIRECT followed by __THROW.
58214 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58215 * posix/getopt.h (getopt): Likewise.
58216
2a50c078
EPM
582172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58218
58219 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58220 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58221 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58222 in AT_FLAGS.
58223 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58224 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58225
eb5ad2eb
LM
582262010-05-28 Luis Machado <luisgpm@br.ibm.com>
58227
58228 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58229
3c88fe1e
L
582302010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58231
58232 [BZ #11640]
58233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58234 Properly check family and model.
58235
d2f73151
TY
582362010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58237
58238 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58239
ebd2e13d
LM
582402010-05-24 Luis Machado <luisgpm@br.ibm.com>
58241
58242 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58243
b32b8b45
UD
582442010-05-21 Ulrich Drepper <drepper@redhat.com>
58245
58246 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58247 symbol reference.
58248
9acbe24d
AS
582492010-05-19 Andreas Schwab <schwab@redhat.com>
58250
58251 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58252 symbol reference.
58253
f0ccf6ea
AS
582542010-05-21 Andreas Schwab <schwab@redhat.com>
58255
3d04ff3a
AS
58256 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58257 and internal_recvmmsg.
58258 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58259 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58260 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58261 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58262
f0ccf6ea
AS
58263 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58264 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58265 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58266
5b08ac57
AS
582672010-05-20 Andreas Schwab <schwab@redhat.com>
58268
58269 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58270
4828935d
LM
582712010-05-17 Luis Machado <luisgpm@br.ibm.com>
58272
58273 POWER7 optimizations.
58274 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58275 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58276
373d545e
UD
582772010-05-19 Ulrich Drepper <drepper@redhat.com>
58278
58279 * version.h: Update for 2.13 development version.
58280
21a2b1ae
AS
582812010-05-12 Andrew Stubbs <ams@codesourcery.com>
58282
58283 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58284 exceptions. Return 0.
58285
3f7dcb2b
RM
582862010-05-07 Roland McGrath <roland@redhat.com>
58287
58288 * elf/ldconfig.c (main): Add a const.
58289
5f24d53a 582902010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58291
a160f8d8
UD
58292 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58293 (args_options): Add no-idn option.
58294 (ahosts_keys_int): Add idn_flags to ai_flags.
58295 (parse_option): Handle 'i' option to clear idn_flags.
58296
5f24d53a
UD
58297 * malloc/malloc.c (_int_free): Possible race in the most recently
58298 added check. Only act on the data if no current modification
58299 happened.
265bb1ce
UD
58300
58301See ChangeLog.17 for earlier changes.
This page took 8.033266 seconds and 5 git commands to generate.