]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
ChangeLog fixup for last commit.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-07-10 Roland McGrath <roland@hack.frob.com>
2
3 * nptl/pthread_create.c (start_thread): Use atomic_or and
4 lll_futex_wake directly rather than lll_robust_dead.
5 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6 (lll_robust_dead): Macro removed.
7 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22
23 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24 Use atomic_compare_and_exchange_val_acq directly rather than
25 lll_robust_trylock.
26 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27 (__lll_robust_trylock, lll_robust_trylock): Removed.
28 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42
432014-07-02 Florian Weimer <fweimer@redhat.com>
44
45 * manual/locale.texi (Locale Names): New section documenting
46 locale name syntax. Adjust menu and node chaining accordingly.
47 (Choosing Locale): Reference Locale Names, Locale Categories.
48 Mention setting LC_ALL=C. Reflect that name syntax is now
49 documented.
50 (Locale Categories): New section title. Reference Locale Names.
51 LC_ALL is an environment variable, but not a category.
52 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
53 description, now in Locale Name. Reference that section. Locale
54 name syntax is now documented.
55
562014-07-02 Florian Weimer <fweimer@redhat.com>
57
58 [BZ #17137]
59 * locale/findlocale.c (name_present, valid_locale_name): New
60 functions.
61 (_nl_find_locale): Use the loc_name variable to store name
62 candidates. Call name_present and valid_locale_name to check and
63 validate locale names. Return an error if the locale is invalid.
64
652014-07-02 Florian Weimer <fweimer@redhat.com>
66
67 * locale/setlocale.c (setlocale): Use strdup for allocating
68 composite name copy.
69
702014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
71
72 Sync up with gnulib.
73 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
74 [!_LIBC && ENABLE_NLS]: Include gettext.h.
75 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
76 and _GL_ARG_NONNULL.
77 [USE_UNLOCKED_IO]: Include unlocked-io.h.
78 [!_LIBC]: Include code for Windows and Cygwin.
79 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
80 Include prototype for int strerror_r.
81 [!_LIBC] (is_open): New function.
82 (flush_stdout): New function.
83 (print_errno_message): Use it.
84 (error): Likewise.
85 (error_at_line): Likewise.
86 (error_tail) Add function attribute macros. Use
87 __builtin_expect.
88
89 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
90
91 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
92
93 * io/ftw.c: Include sys/param.h unconditionally.
94
95 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
96
97 [BZ #17125]
98 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
99 libc_freeres_ptr.
100 (freecache): New function to free CACHE on exit.
101
102 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
103 initialization.
104
1052014-07-09 David S. Miller <davem@davemloft.net>
106
107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
108
109 * sysdeps/sparc/nptl/internaltypes.h: Delete.
110 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
111 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
112 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
113 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
114 * sysdeps/sparc/nptl/sem_init.c: Likewise.
115 * sysdeps/sparc/nptl/sem_post.c: Likewise.
116 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
117 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
118 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
119 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
120 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
121 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
122
1232014-07-09 Andreas Schwab <schwab@suse.de>
124
125 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
126 output.
127 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
128 (do_test): Likewise.
129
130 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
131
1322014-07-09 Will Newton <will.newton@linaro.org>
133
134 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
135 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
136 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
137 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
138 * sysdeps/hppa/start.S (_start): Likewise.
139
1402014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
141
142 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
143
144 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
145 defined.
146
1472014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
148
149 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
150 after checking that it is non-NULL.
151
152 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
153
1542014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155
156 * sysdeps/powerpc/memmove.c: Remove file.
157 * sysdeps/powerpc/powerpc32/power4/memcopy.h
158 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
159 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
160 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
161 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
162 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
163 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
164 string memmove instead of removed powerpc one.
165
166 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
167 [weak_alias]: Fix compiler warning due trailing data.
168 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
169 [weak_alias]: Likewise.
170 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
171 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
172
173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
174 (__libc_ifunc_impl_list): Add memmove functions.
175
1762014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
177
178 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
179 Remove code.
180 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
181 Likewise
182 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
183 Likewise
184 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
185 Likewise
186 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
187 Likewise
188 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
189 Likewise
190 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
191 Likewise
192 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
193 Likewise
194 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
195 Likewise
196 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
197 Likewise
198 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
199 Likewise
200 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
201 Likewise
202 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
203 Likewise
204 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
205 Likewise
206 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
207 Likewise
208 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
209 Likewise
210 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
211 Likewise
212
2132014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214
215 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
216 to avoid alignment traps in non-cacheable memory.
217 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
218
219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
220 multiarch objects.
221 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
222 file: multiarch power7 memmove.
223 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
224 multiarch default memmove.
225 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
226 multiarch memove for powerpc32/power4.
227
228 * string/bcopy.c: Use full path to include memmove.c.
229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
230 multiarch objects.
231 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
232 bcopy for powerpc64.
233 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
234 bcopy for powerpc64.
235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
236 and memmove implementations.
237 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
238 optimized multiarch memmove for POWER7/powerpc64.
239 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
240 default multiarch memmove for powerpc64.
241 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
242 multiarch for powerpc64.
243 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
244 for POWER7/powerpc64.
245 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
246 memmove for POWER7/powerpc64.
247
248 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
249 glibc default one.
250
251 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
252 __ELF_NATIVE_CLASS equal to 64.
253
2542014-07-07 Roland McGrath <roland@hack.frob.com>
255
256 * sysdeps/nptl/lowlevellock.h: File removed.
257
258 * NEWS: NPTL is no longer an add-on!
259 * nptl/internaltypes.h: Moved ...
260 * sysdeps/nptl/internaltypes.h: ... here.
261 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
262 * sysdeps/nptl/fork.c: Likewise.
263 * sysdeps/nptl/gai_misc.h: Likewise.
264 * sysdeps/nptl/librt-cancellation.c: Likewise.
265 * sysdeps/nptl/jmp-unwind.c: Likewise.
266 * sysdeps/nptl/setxid.h: Likewise.
267 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
268 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
269 * sysdeps/unix/sysv/linux/arm/Implies: New file.
270 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
271 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
272 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
273 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
274 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
275 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
276 * sysdeps/unix/sysv/linux/mips/Implies: New file.
277 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
278 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
279 * sysdeps/unix/sysv/linux/sh/Implies: New file.
280 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
281 * sysdeps/unix/sysv/linux/tile/Implies: New file.
282 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
283 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
284 * nptl/Makeconfig: Moved ...
285 * sysdeps/nptl/Makeconfig: ... here.
286 * nptl/configure: File removed.
287 * nptl/ANNOUNCE: File removed.
288 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
289 * sysdeps/unix/sysv/linux/configure: Regenerated.
290
291 * nptl/Makefile (routines): Add libc_pthread_init,
292 libc_multiple_threads, register-atfork and unregister-atfork.
293 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
294 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
295 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
296 pthread-pi-defines.sym, structsem.sym.
297 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
298 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
299 [$(subdir) = nptl] (tests): Add tst-setgetname.
300 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
301 * sysdeps/unix/sysv/linux/sigaction.c: Just include
302 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
303 [!LIBC_SIGACTION]: Remove aliases.
304 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
305 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
306 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
307 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
308 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
309 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
310 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
312 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
313 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
314 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
315 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
316 __libc_allocate_rtsig_private.
317 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
318 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
319 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
320 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
321 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
322 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
323 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
324 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
325 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
326 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
327 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
328 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
329 * nptl/internaltypes.h: ... here.
330 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
331 * sysdeps/nptl/jmp-unwind.c: ... here.
332 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
333 * nptl/libc-lowlevellock.c: ... here.
334 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
335 * nptl/libc_multiple_threads.c: ... here.
336 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
337 * nptl/libc_pthread_init.c: ... here.
338 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
339 * nptl/lowlevelbarrier.sym: ... here.
340 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
341 * nptl/lowlevelcond.sym: ... here.
342 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
343 * nptl/lowlevellock.c: ... here.
344 * nptl/lowlevellock.h: Moved ...
345 * sysdeps/nptl/lowlevellock.h: ... here.
346 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
347 * nptl/lowlevelrobustlock.c: ... here.
348 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
349 * nptl/lowlevelrobustlock.sym: ... here.
350 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
351 * nptl/lowlevelrwlock.sym: ... here.
352 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
353 * nptl/pt-fork.c: ... here.
354 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
355 * nptl/pthread-pi-defines.sym: ... here.
356 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
357 * nptl/pthread_attr_getaffinity.c: ... here.
358 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
359 * nptl/pthread_attr_setaffinity.c: ... here.
360 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
361 * nptl/pthread_mutex_cond_lock.c: ... here.
362 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
363 Update #include.
364 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
365 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
366 * nptl/pthread_once.c: ... here, replacing old file.
367 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
368 * nptl/pthread_yield.c: ... here.
369 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
370 * nptl/register-atfork.c: ... here.
371 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
372 * nptl/sem_post.c: ... here.
373 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
374 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
375 * nptl/sem_timedwait.c: ... here.
376 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
377 * nptl/sem_trywait.c: ... here.
378 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
379 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
380 * nptl/sem_wait.c: ... here.
381 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
382 * nptl/structsem.sym: ... here.
383 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
384 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
385 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
386 * nptl/unregister-atfork.c: ... here.
387 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
388 * nptl/unwindbuf.sym: ... here.
389 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
390 * sysdeps/nptl/fork.c: ... here.
391 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
392 * sysdeps/nptl/fork.h: ... here.
393 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
394 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
395 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
396 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
397 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
398 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
399 * sysdeps/unix/sysv/linux/getpid.c: ... here.
400 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
401 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
402 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
403 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
404 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
405 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
406 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
407 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
408 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
409 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
410 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
411 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
412 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
413 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
414 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
415 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
416 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
417 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
418 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
419 * sysdeps/unix/sysv/linux/raise.c: ... here.
420 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
421 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
422 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
423 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
424 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
425 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
426 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
427 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
428 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
429 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
430 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
431 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
432 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
433 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
434 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
435
4362014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
437
438 * sysdeps/generic/memcopy.h: Add comment for
439 MEMCPY_OK_FOR_FWD_MEMMOVE.
440
4412014-07-04 Will Newton <will.newton@linaro.org>
442
443 * string/memchr.c: Merge from gnulib.
444 [_LIBC]: Remove conditionals.
445 (__ptr_t): Remove define.
446 (LONG_MAX_32_BITS): Likewise.
447 (LONG_MAX): Likewise.
448 (MEMCHR): Use ANSI prototype and optimize algorithm.
449
450 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
451
4522014-07-03 Roland McGrath <roland@hack.frob.com>
453
454 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
455 (lll_futex_timed_wait_bitset): Fix syscall argument count.
456
457 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
458 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
459 in a bare environment with no <stdlib.h> installed.
460 * sysdeps/nptl/configure: Regenerated.
461
462 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
463
464 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
465 AC_EGREP_CPP for kernel header checks, so they only succeed if
466 including <linux/version.h> actually works right.
467 * sysdeps/unix/sysv/linux/configure: Regenerated.
468
469 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
470 value so it's not diagnosed as unused.
471
472 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
473 thing) with "ifeq ($(subdir),rt)".
474
4752014-07-03 Richard Henderson <rth@redhat.com>
476
477 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
478 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
479 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
480
481 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
482 (math_force_eval): New.
483
484 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
485 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
486
487 * sysdeps/alpha/fpu/s_round.c: Remove file.
488 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
489
490 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
491 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
492 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
493 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
494 (_dl_start, print_statistics): Likewise.
495 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
496 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
497
498 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
499 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
500 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
501 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
502 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
503 (HP_SMALL_TIMING_AVAIL): Define.
504 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
506 (HP_SMALL_TIMING_AVAIL): Define.
507 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
508 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
509
510 * sysdeps/aarch64/hp-timing.h: New file.
511
512 * sysdeps/generic/hp-timing.h: Remove dead comment.
513 * sysdeps/generic/hp-timing-common.h: New file.
514 * sysdeps/alpha/hp-timing.h: Include it.
515 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
516 * sysdeps/i386/i686/hp-timing.h: Likewise.
517 * sysdeps/ia64/hp-timing.h: Likewise.
518 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
519 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
520 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
521 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
522 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
523 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
524 (hp_timing_t): New.
525
526 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
527 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
528 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
529 * elf/rtld.c (_dl_start_final): Likewise.
530 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
531 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
532 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
533 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
534 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
535 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
536 (HP_TIMING_DIFF_INIT): Remove.
537 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
538 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
539 (HP_TIMING_DIFF_INIT): Remove.
540 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
541 * sysdeps/i386/i686/hp-timing.c: Remove file.
542 * sysdeps/x86_64/hp-timing.c: Remove file.
543 * sysdeps/ia64/hp-timing.c: Remove file.
544 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
545 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
546 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
547 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
548
549 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
550 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
551 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
552 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
553 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
554 (HP_TIMING_ACCUM): Remove.
555 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
556 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
557 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
558
559 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
560 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
561 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
562 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
563 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
564 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
565 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
566 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
567
568 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
569
5702014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
571
572 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
573
5742014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
575
576 Sync up with gettext.
577 * intl/loadmsgcat.c: Define O_BINARY if not defined.
578 [_MSC_VER]: Include malloc.h
579 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
580 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
581 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
582 TEMP_FAILURE_RETRY. Cast return of alloca.
583 [!_LIBC] Call gl_rwlock_init.
584 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
585
5862014-07-02 Roland McGrath <roland@hack.frob.com>
587
588 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
589 before checking its value.
590
5912014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
592
593 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
594
595 * debug/memcpy_chk.c: Don't include pagecopy.h.
596 * debug/mempcpy_chk.c: Likewise.
597 * string/memcpy.c: Likewise.
598 * string/memmove.c: Likewise.
599 * sysdeps/powerpc/memmove.c: Likewise.
600 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
601 definition of PAGE_COPY_FWD_MAYBE here...
602 * sysdeps/generic/pagecopy.h: ... from here.
603 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
604
6052014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
606 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
607
608 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
610 optimizations.
611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
612 (__libc_ifunc_impl_list): Likewise.
613 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
614 multiarch strcat for PPC64.
615 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
616 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
617
6182014-07-02 Roland McGrath <roland@hack.frob.com>
619
620 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
621
6222014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
623
624 * intl/loadmsgcat.c: Remove declaration of
625 get_sysdep_segment_value.
626 (get_sysdep_segment_value): Use ISO C style.
627 (_nl_load_domain): Use ISO C style. Get rid of redundant
628 semicolon. Fix typo and formatting in comment.
629 (_nl_unload_domain): Use ISO C style.
630
631 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
632
6332014-07-02 Will Newton <will.newton@linaro.org>
634
635 * malloc/obstack.c: Merge from gnulib master.
636 [HAVE_CONFIG_H]: Remove conditional code.
637 [!_LIBC]: Include config.h.
638 [!ELIDE_CODE]: Don't include inttypes.h, include
639 stdint.h unconditionally.
640 (print_and_abort): Mark as _Noreturn.
641 (_obstack_allocated_p): Mark as __attribute_pure__.
642 (obstack_free): Rename to __obstack_free.
643 [!__attribute__]: Remove conditional code.
644 * malloc/obstack.h: Merge from gnulib master.
645 [__cplusplus]: Move conditional down.
646 [!__attribute_pure__]: Define __attribute_pure__ here
647 if it is not already defined.
648 (_obstack_memory_used): Mark as __attribute_pure__.
649 [!__obstack_free]: Define as obstack_free.
650 [__GNUC__]: Remove check for ancient NeXT gcc.
651
6522014-07-02 Will Newton <will.newton@linaro.org>
653 Paul Eggert <eggert@cs.ucla.edu>
654
655 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
656
6572014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
658
659 * resolv/gethnamaddr.c: Add comment warning that the file is
660 not maintained.
661
6622014-07-01 Carlos O'Donell <carlos@redhat.com>
663
664 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
665 entries.
666
667 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
668 entry for aio_cancel and aio_cancel64.
669 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
670 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
671 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
672 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
673 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
674 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
675 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
676 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
677 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
678 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
679 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
680 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
681 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
682
6832014-07-01 Roland McGrath <roland@hack.frob.com>
684
685 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
686 * nptl/pthread_mutex_lock.c: Likewise.
687 * nptl/pthread_mutex_timedlock.c: Likewise.
688 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
689
6902014-07-01 Richard henderson <rth@redhat.com>
691
692 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
693 (__isnan, __isnanl): Remove.
694 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
695
696 * sysdeps/alpha/fpu/libm-test-ulps: Update.
697
6982014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
699
700 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
701
7022014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
703
704 * resolv/nss_dns/dns-host.c (getanswer_r)
705 [MULTI_PTRS_ARE_ALIASES]: Remove code.
706
7072014-07-01 Joseph Myers <joseph@codesourcery.com>
708
709 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
710 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
711 undefine.
712 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
713 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
714
7152014-07-01 Roland McGrath <roland@hack.frob.com>
716
717 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
718 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
719
720 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
721 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
722
723 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
724 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
725 ... here.
726 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
727 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
728
729 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
730 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
731 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
732 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
733
734 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
735 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
736 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
738 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
739 Moved ...
740 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
741 ... here.
742 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
744 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
746 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
748 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
750 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
752 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
754 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
756 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
758 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
760 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
762 ... here.
763 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
765 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
766 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
767 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
768 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
769 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
770 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
771
7722014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
773
774 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
775 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
776 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
777 Add sysdep.
778
7792014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780
781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
782
7832014-06-30 Joseph Myers <joseph@codesourcery.com>
784
785 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
786 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
787
788 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
789
790 * sysdeps/arm/libm-test-ulps: Regenerated.
791
7922014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
793 Roland McGrath <roland@hack.frob.com>
794
795 * test-skeleton.c (signal_handler): Kill the whole process group
796 before killing the child individually.
797 (main): Report any failure on `setpgid'.
798
7992014-06-30 Roland McGrath <roland@hack.frob.com>
800
801 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
802 from _TLS_H to _ARM_NPTL_TLS_H.
803 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
804 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
805
8062014-06-30 Joseph Myers <joseph@codesourcery.com>
807
808 [BZ #16539]
809 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
810 (__expm1l): Return argument unchanged when small but not
811 subnormal.
812
813 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
814 include macro name.
815 (_FP_UNPACK_RAW_1_P): Likewise.
816 (_FP_PACK_RAW_1): Likewise.
817 (_FP_PACK_RAW_1_P): Likewise.
818 (_FP_MUL_MEAT_1_wide): Likewise.
819 (_FP_MUL_MEAT_DW_1_hard): Likewise.
820 (_FP_MUL_MEAT_1_hard): Likewise.
821 (_FP_DIV_MEAT_1_imm): Likewise.
822 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
823 (_FP_DIV_MEAT_1_udiv): Likewise.
824 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
825 (_FP_UNPACK_RAW_2): Likewise.
826 (_FP_UNPACK_RAW_2_P): Likewise.
827 (_FP_PACK_RAW_2): Likewise.
828 (_FP_PACK_RAW_2_P): Likewise.
829 (_FP_MUL_MEAT_DW_2_wide): Likewise.
830 (_FP_MUL_MEAT_2_wide): Likewise.
831 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
832 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
833 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
834 (_FP_MUL_MEAT_2_gmp): Likewise.
835 (_FP_DIV_MEAT_2_udiv): Likewise.
836 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
837 (_FP_FRAC_SRL_4): Likewise.
838 (_FP_FRAC_SRST_4): Likewise.
839 (_FP_FRAC_SRS_4): Likewise.
840 (_FP_UNPACK_RAW_4): Likewise.
841 (_FP_UNPACK_RAW_4_P): Likewise.
842 (_FP_PACK_RAW_4): Likewise.
843 (_FP_PACK_RAW_4_P): Likewise.
844 (_FP_MUL_MEAT_DW_4_wide): Likewise.
845 (_FP_MUL_MEAT_4_wide): Likewise.
846 (_FP_MUL_MEAT_4_gmp): Likewise.
847 (umul_ppppmnnn): Likewise.
848 (_FP_DIV_MEAT_4_udiv): Likewise.
849 (__FP_FRAC_ADD_4): Likewise.
850 (__FP_FRAC_SUB_3): Likewise.
851 (__FP_FRAC_SUB_4): Likewise.
852 (__FP_FRAC_DEC_3): Likewise.
853 (__FP_FRAC_DEC_4): Likewise.
854 (__FP_FRAC_ADDI_4): Likewise.
855 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
856 (_FP_FRAC_SRL_8): Likewise.
857 (_FP_FRAC_SRS_8): Likewise.
858
859 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
860 include macro name.
861 (FP_UNPACK_RAW_EP): Likewise.
862 (FP_PACK_RAW_E): Likewise.
863 (FP_PACK_RAW_EP): Likewise.
864 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
865 (_FP_ISSIGNAN): Likewise.
866 (_FP_ADD_INTERNAL): Likewise.
867 (_FP_FMA): Likewise.
868 (_FP_CMP): Likewise.
869 (_FP_SQRT): Likewise.
870 (_FP_TO_INT): Likewise.
871 (_FP_FROM_INT): Likewise.
872 (FP_EXTEND): Likewise.
873 (_FP_DIV_MEAT_N_loop): Likewise.
874
8752014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
876
877 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
878 throughout.
879
8802014-06-29 Joseph Myers <joseph@codesourcery.com>
881
882 [BZ #17097]
883 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
884 result with correct sign in case of exponents that produce
885 overflow except for X very close to 1.
886
8872014-06-28 Paul Eggert <eggert@cs.ucla.edu>
888
889 mktime: merge #if/#ifdef usage from glibc
890 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
891 as that works with both Glibc's and Gnulib's style.
892 See thread starting at Siddhesh Poyarekar's bug report at:
893 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
894
8952014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
896
897 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
898 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
899 * sysdeps/tile/tilegx/memmove.c: Remove file.
900
9012014-06-27 Joseph Myers <joseph@codesourcery.com>
902
903 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
904 abi-name definition.
905 * scripts/soversions.awk: Do not handle or generate ABI lines.
906 * shlib-versions: Remove ABI entries.
907 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
908 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
909
9102014-06-27 Roland McGrath <roland@hack.frob.com>
911
912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
913 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
914 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
915 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
917 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
919 Moved ...
920 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
921 ... here.
922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
923 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
925 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
927 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
929 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
931 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
933 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
935 Moved ...
936 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
937 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
938 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
940 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
942 Moved ...
943 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
944 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
945 Moved ...
946 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
947 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
948 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
949 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
950 Moved ...
951 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
952 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
953 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
955 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
957 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
959 Moved ...
960 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
961 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
962 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
963 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
964 Moved ...
965 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
966 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
967 Moved ...
968 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
969 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
970 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
971 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
972 Moved ...
973 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
974 ... here.
975 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
976 Identical file removed.
977 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
978 Moved ...
979 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
981 Identical file removed.
982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
984 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
985 Moved ...
986 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
987 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
988 Identical file removed.
989 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
992 Identical file removed.
993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
994 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
995 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
996 Identical file removed.
997 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
998 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
999 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1000 Identical file removed.
1001 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1002 Moved ...
1003 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1004 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1005 Identical file removed.
1006 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1007 Moved ...
1008 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1009 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1010 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1011 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1012 Identical file removed.
1013 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1014 Moved ...
1015 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1016 ... here.
1017 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1018 Identical file removed.
1019 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1020 Moved ...
1021 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1023 Identical file removed.
1024 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1025 Moved ...
1026 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1027 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1028 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1029 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1030 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1032 Moved ...
1033 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1034 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1035 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1036
1037 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1038 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1039 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1040 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1041 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1042
10432014-06-27 Arjun Shankar <arjun.is@lostca.se>
1044
1045 [BZ #17092]
1046 * nscd/nscd.c (monitor_child): Return exit status of child
1047 instead of return value from wait syscall.
1048
10492014-06-27 Joseph Myers <joseph@codesourcery.com>
1050
1051 * configure.ac (libc_commonpagesize): Remove variable.
1052 (libc_relro_required): Likewise.
1053 (libc_cv_z_relro): Remove configure test.
1054 * configure: Regenerated.
1055 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1056 variable.
1057 (libc_relro_required): Likewise.
1058 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1059 (libc_relro_required): Likewise.
1060 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1061 (libc_relro_required): Likewise.
1062 * sysdeps/arm/preconfigure: Regenerated.
1063 * sysdeps/ia64/preconfigure: Remove file.
1064 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1065 variable.
1066 (libc_relro_required): Likewise.
1067
1068 [BZ #16561]
1069 [BZ #16562]
1070 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1071 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1072 recompute overflowing results in original rounding mode.
1073 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1074 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1075 recompute overflowing results in original rounding mode.
1076 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1077 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1078 recompute overflowing results in original rounding mode.
1079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1080 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1081 recompute overflowing results in original rounding mode.
1082 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1083 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1084 recompute overflowing results in original rounding mode.
1085 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1086 (libc_feholdsetround_ctx): New macro.
1087 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1088 * sysdeps/i386/fpu/libm-test-ulps: Update.
1089 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1090
10912014-06-26 Joseph Myers <joseph@codesourcery.com>
1092
1093 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1094 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1095 corresponding .cpsetup call.
1096
10972014-06-26 Roland McGrath <roland@hack.frob.com>
1098
1099 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1100 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1101 * sysdeps/arm/Makefile [$(subdir) = csu]
1102 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1103 (static-only-routines): Add aeabi_read_tp here.
1104 (shared-only-routines): Add libc-aeabi_read_tp here.
1105 (CFLAGS-libc-start.c): Add -fexceptions here.
1106 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1107 (sysdep_routines, static-only-routines, shared-only-routines):
1108 Don't add to these here.
1109 (CFLAGS-libc-start.c): Likewise.
1110
1111 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1112 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1113 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1114 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1115 * sysdeps/arm/Makefile [$(subdir) = rt]
1116 (librt-sysdep_routines, librt-shared-only-routines):
1117 Append rt-aeabi_unwind_cpp_pr1 here.
1118 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1119 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1120 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1121 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1122 Append nptl-aeabi_unwind_cpp_pr1 here.
1123 (tests): Filter out tst-cleanupx4 here.
1124 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1125 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1126 Don't do those here.
1127
11282014-06-26 Joseph Myers <joseph@codesourcery.com>
1129
1130 * scripts/list-sources.sh: Do not handle ports specially.
1131
11322014-06-26 Roland McGrath <roland@hack.frob.com>
1133
1134 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1135 * sysdeps/arm/feupdateenv.c: Likewise.
1136
1137 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1138
11392014-06-26 Joseph Myers <joseph@codesourcery.com>
1140
1141 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1142 trailing whitespace removed.
1143 * scripts/config.guess: Update to version 2014-03-23.
1144 * scripts/config.sub: Update to version 2014-05-01
1145 * scripts/install-sh: Update to version 2013-12-25.23.
1146 * scripts/move-if-change: Update from gnulib.
1147
11482014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1149
1150 * debug/memmove_chk.c: Remove pagecopy.h include.
1151
11522014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1153
1154 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1155 identical to gnulib mktime.
1156
11572014-06-26 Joseph Myers <joseph@codesourcery.com>
1158
1159 * configure.ac: Do not test for machine being rs6000. Do not test
1160 for powerpc*-*soft.
1161 * configure: Regenerated.
1162
1163 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1164 test.
1165 * configure: Regenerated.
1166 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1167 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1168 Remove configure test.
1169 * sysdeps/arm/configure: Regenerated.
1170 * sysdeps/nptl/configure.ac: Do not check
1171 libc_cv_asm_cfi_directives.
1172 * sysdeps/nptl/configure: Regenerated.
1173 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1174 * sysdeps/x86_64/nptl/configure: Remove generated file.
1175 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1176 unconditional.
1177 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1178
11792014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1180
1181 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1182 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1183 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1184 it is defined.
1185
1186 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1187 instead of whether it is defined.
1188 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1189 * sysdeps/hppa/dl-machine.h: Likewise.
1190 * sysdeps/ia64/dl-machine.h: Likewise.
1191 * sysdeps/m68k/dl-machine.h: Likewise.
1192 * sysdeps/microblaze/dl-machine.h: Likewise.
1193 * sysdeps/mips/dl-machine.: Likewise.
1194 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1195 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1196 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1197 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1198 * sysdeps/sh/dl-machine.h: Likewise.
1199 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1200 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1201 * sysdeps/tile/dl-machine.h: Likewise.
1202 * sysdeps/x86_64/dl-machine.h: Likewise.
1203
1204 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1205 code.
1206 (verify_persistent_db): Likewise.
1207
12082014-06-26 Roland McGrath <roland@hack.frob.com>
1209
1210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1211 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1213 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1215 Moved ...
1216 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1217 ... here.
1218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1219 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1221 Identical file removed.
1222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1225 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1227 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1229 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1231 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1233 Moved ...
1234 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1236 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1238 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1240 Moved ...
1241 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1243 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1245 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1247 Identical file removed.
1248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1249 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1251 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1253 Moved ...
1254 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1255 ... here.
1256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1257 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1259 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1261 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1263 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1265 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1267 Moved ...
1268 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1270 Moved ...
1271 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1273 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1275 Moved ...
1276 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1278 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1279
1280 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1281 folded into ...
1282 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1283 * sysdeps/unix/sysv/linux/s390/Versions
1284 (libpthread: GLIBC_2.19): New version set.
1285 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1286 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1287 (librt: GLIBC_2.3.3): New version set.
1288 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1289 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1290 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1291 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1292 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1293 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1294 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1295 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1296 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1297 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1298 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1299 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1300 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1301 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1302 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1303 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1304 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1305 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1306 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1307 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1308 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1309 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1310 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1311 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1312 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1313 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1314 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1315 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1316 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1317 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1318 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1319 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1320 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1324 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1325 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1326 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1328 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1330 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1332 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1333
1334 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1335 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1336 (__libc_vfork): Define the function under this name.
1337 [!NOT_IN_libc] (__vfork): Make this an alias.
1338 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1339 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1340 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1341 (__libc_vfork): Define the function under this name.
1342 [!NOT_IN_libc] (__vfork): Make this an alias.
1343 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1344 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1345 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1346 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1347 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1348 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1349
1350 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1351 code that was previously under [RESET_PID].
1352 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1353 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1354 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1355
1356 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1357 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1358 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1359 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1360 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1361 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1362 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1363 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1364 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1365 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1367 Moved ...
1368 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1369 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1370 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1371 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1372 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1373 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1374 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1375 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1376 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1377 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1378 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1380 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1381 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1382 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1383 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1384 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1385 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1386 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1388 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1389 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1390 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1392 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1393 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1394 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1395 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1396 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1397
13982014-06-25 Roland McGrath <roland@hack.frob.com>
1399
1400 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1401 that was previously under [RESET_PID].
1402 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1403
14042014-06-25 Joseph Myers <joseph@codesourcery.com>
1405
1406 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1407 not undefine and redefine.
1408 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1409 [O_CLOEXEC]: Make code unconditional.
1410 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1411 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1412 <kernel-features.h>.
1413 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1414 conditional variable definition.
1415 (shm_open) [O_CLOEXEC]: Make code unconditional.
1416 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1417 code.
1418
1419 * configure.ac (USE_REGPARMS): Don't define here.
1420 * configure: Regenerated.
1421 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1422 * sysdeps/i386/configure: Regenerated.
1423
1424 * nptl/createthread.c: Don't include kernel-features.h.
1425 * nptl/pthread_cancel.c: Likewise.
1426 * nptl/pthread_condattr_setclock.c: Likewise.
1427 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1428 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1429 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1430 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1431 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1432 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1433 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1434 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1436 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1437 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1438 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1439 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1440 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1441 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1442 * nscd/gai.c: Likewise.
1443 * nss/nss_db/db-open.c: Likewise.
1444 * sysdeps/generic/ldsodefs.h: Likewise.
1445 * sysdeps/sh/nptl/tls.h: Likewise.
1446 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1447 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1448 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1449 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1450 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1451 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1452 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1453 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1455 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1456 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1457 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1458 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1459 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1460 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1461 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1462 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1463 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1464 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1465 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1466 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1467 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1468 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1469 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1470 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1471 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1472 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1473 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1474 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1475 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1476 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1477 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1478 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1479 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1480 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1481 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1482 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1483 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1484 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1485 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1486 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1487 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1488 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1489 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1490 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1491 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1492 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1493 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1494 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1495 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1496 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1497 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1498 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1499 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1500 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1501 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1502 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1526 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1527 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1528 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1529 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1530 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1532 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1533 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1534 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1535 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1536 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1537 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1538 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1539 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1540 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1541 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1542 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1543 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1544 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1545 * sysdeps/unix/sysv/linux/system.c: Likewise.
1546 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1547 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1548 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1549 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1550 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1551 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1552 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1553
1554 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1555 * configure: Regenerated.
1556 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1557
1558 * configure.ac (base_machine): Do not set specially for particular
1559 machines here.
1560 * configure: Regenerated.
1561 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1562 settings from configure.ac.
1563 * sysdeps/i386/preconfigure: New file.
1564 * sysdeps/s390/preconfigure: Likewise.
1565 * sysdeps/sh/preconfigure: Likewise.
1566 * sysdeps/sparc/preconfigure: Likewise.
1567
15682014-06-25 Roland McGrath <roland@hack.frob.com>
1569
1570 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1571 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1572 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1573 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1574 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1575 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1576 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1577 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1578 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1579 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1580 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1581 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1582 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1583 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1584 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1585 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1586 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1587 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1588 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1589
1590 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1591 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1592 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1593 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1594 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1595 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1596 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1597 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1598 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1599 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1600 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1601 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1602 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1603 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1604 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1605 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1606 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1607 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1608 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1609 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1610 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1611 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1612 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1613 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1614 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1615 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1616 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1617 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1618 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1619 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1620 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1621 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1622 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1623 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1624 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1625 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1626 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1627 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1628
1629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1634 Moved ...
1635 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1636 ... here.
1637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1638 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1640 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1642 Moved ...
1643 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1649 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1651 Moved ...
1652 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1654 Moved ...
1655 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1659 Moved ...
1660 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1662 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1664 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1666 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1668 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1670 Moved ...
1671 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1672 ... here.
1673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1674 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1676 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1678 Moved ...
1679 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1681 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1685 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1687 Moved ...
1688 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1690 Moved ...
1691 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1693 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1695 Moved ...
1696 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1698 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1700 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1701
17022014-06-25 Joseph Myers <joseph@codesourcery.com>
1703
1704 * timezone/checktab.awk: Update from tzcode 2014e.
1705 * timezone/private.h: Likewise.
1706 * timezone/tzfile.h: Likewise.
1707 * timezone/zdump.c: Likewise.
1708 * timezone/zic.c: Likewise.
1709
1710 * sysdeps/unix/sysv/linux/kernel-features.h
1711 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1712 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1713 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1714 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1715 Remove conditional code.
1716
17172014-06-25 Will Newton <will.newton@linaro.org>
1718
1719 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1720 (_dl_arm_cap_flags): Add HWCAP2 values.
1721 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1722 (_DL_HWCAP_COUNT): Increase to 37.
1723 (_DL_HWCAP_LAST): New define.
1724 (_DL_HWCAP2_LAST): New define.
1725 (_dl_procinfo): Add support for printing
1726 AT_HWCAP2 entries.
1727 (_dl_string_hwcap): Use _dl_hwcap_string.
1728
17292014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1730
1731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1732
17332014-06-25 Joseph Myers <joseph@codesourcery.com>
1734
1735 * README: Do not mention ports directory.
1736
1737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1738 Remove macro.
1739 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1740 <kernel-features.h>.
1741 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1742 conditional variable definition.
1743 (__futimes): Update comment.
1744 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1745 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1746
1747 [BZ #16560]
1748 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1749 arguments close to 0.
1750 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1751 Likewise.
1752 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1753 Likewise.
1754 * math/auto-libm-test-in: Add more tests of exp10.
1755 * math/auto-libm-test-out: Regenerated.
1756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1757
1758 * sysdeps/unix/sysv/linux/kernel-features.h
1759 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1760 * sysdeps/unix/sysv/linux/readv.c: Do not include
1761 <kernel-features.h>.
1762 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1763 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1764 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1765 unconditional.
1766 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1767 conditional code.
1768 * sysdeps/unix/sysv/linux/writev.c: Do not include
1769 <kernel-features.h>.
1770 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1771 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1772 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1773 unconditional.
1774 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1775 conditional code.
1776
17772014-06-25 Will Newton <will.newton@linaro.org>
1778
1779 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1780 comment changes throughout the file. Remove checks
1781 for HAVE_*_H definitions that are not required.
1782 (__gen_tempname): Call abort if an unknown kind value is
1783 passed.
1784
17852014-06-25 Andreas Schwab <schwab@suse.de>
1786
1787 [BZ #17086]
1788 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1789 scalbln, scalblnf, scalblnl in libc.
1790
17912014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1792
1793 [BZ #17086]
1794 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1795 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1796 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1797
17982014-06-24 Roland McGrath <roland@hack.frob.com>
1799
1800 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1801 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1802 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1803 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1804 Update #include.
1805 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1806 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1807 Update #include.
1808 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1809 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1810 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1811 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1812 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1813 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1814 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1815 * sysdeps/x86/bits/semaphore.h: ... here.
1816 * sysdeps/x86/nptl/elide.h: Moved ...
1817 * sysdeps/x86/elide.h: ... here.
1818 * sysdeps/x86_64/nptl/Implies: File removed.
1819 * sysdeps/i386/nptl/Implies: File removed.
1820
18212014-06-24 Joseph Myers <joseph@codesourcery.com>
1822
1823 [BZ #16539]
1824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1825 return the argument for normal arguments with exponent below -64.
1826 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1827 Likewise.
1828 * math/auto-libm-test-in: Add another test of expm1.
1829 * math/auto-libm-test-out: Regenerated.
1830
1831 [BZ #16287]
1832 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1833 calling __erfcl for arguments at least 16.
1834 * math/auto-libm-test-in: Add more tests of erf.
1835 * math/auto-libm-test-out: Regenerated.
1836
1837 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1838 individual architectures.
1839 * sysdeps/unix/sysv/linux/configure: Regenerated.
1840 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1841 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1842 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1843 (ldd_rewrite_script): Define variable.
1844 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1846 file.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1848 generated file.
1849 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1850 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1851 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1852 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1853 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1854 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1855 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1856 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1857
18582014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1859
1860 [BZ #17084]
1861 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1862 Rename member __data.d to __data.__elision_data.
1863
18642014-06-24 Wilco <wdijkstr@arm.com>
1865
1866 * NEWS: Add 16918 to fixed bug list.
1867
18682014-06-24 Wilco <wdijkstr@arm.com>
1869
1870 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1871
18722014-06-24 Wilco <wdijkstr@arm.com>
1873
1874 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1875 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1876 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1877 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1878 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1879 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1880 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1881 Use _FPU_MASK_RM.
1882
18832014-06-24 Wilco <wdijkstr@arm.com>
1884
1885 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1886
18872014-06-24 Wilco <wdijkstr@arm.com>
1888
1889 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1890 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1891 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1892 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1893
18942014-06-24 Wilco <wdijkstr@arm.com>
1895
1896 [BZ #16918]
1897 * sysdeps/arm/feupdateenv.c (feupdateenv):
1898 Rewrite to reduce FPSCR accesses and fix return value.
1899
19002014-06-24 Wilco <wdijkstr@arm.com>
1901
1902 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1903 Optimize to avoid unnecessary FPSCR writes.
1904 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1905 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1906 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1907 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1908
19092014-06-24 Wilco <wdijkstr@arm.com>
1910
1911 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1912 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1913 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1914 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1915 Call libc_fetestexcept_vfp.
1916 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1917 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1918 __SOFTFP__ ifdef so that they can be built for softfp.
1919
19202014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1921
1922 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1923 argument type signed char.
1924
1925 * Makerules (check-abi): Dump diff of symlist if the test
1926 fails.
1927
19282014-06-23 Roland McGrath <roland@hack.frob.com>
1929
1930 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1931 using abort.
1932
1933 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1934 Remove unused variable ST.
1935
19362014-06-23 Joseph Myers <joseph@codesourcery.com>
1937
1938 [BZ #16354]
1939 [BZ #17061]
1940 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1941 small arguments before calling __expm1.
1942 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1943 small arguments before calling __expm1f.
1944 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1945 small arguments before calling __expm1l.
1946 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1947 Likewise.
1948 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1949 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1950 spurious underflow for some cosh tests.
1951 * math/auto-libm-test-out: Regenerated.
1952 * sysdeps/i386/fpu/libm-test-ulps: Update.
1953
1954 [BZ #17050]
1955 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1956 (__ieee754_y1): Set errno if return value overflows.
1957 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1958 (__ieee754_y1f): Set errno if return value overflows.
1959 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1960 (__ieee754_y1l): Set errno if return value overflows.
1961 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1962 (__ieee754_y1l): Set errno if return value overflows.
1963 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1964 * math/auto-libm-test-out: Regenerated.
1965
1966 * math/gen-auto-libm-tests.c: Document use of
1967 ignore-zero-inf-sign.
1968 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1969 (input_flags): Add ignore-zero-inf-sign.
1970 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1971 * math/gen-libm-test.pl (generate_testfile): Handle
1972 ignore-zero-inf-sign.
1973 * math/auto-libm-test-in: Mark some cpow tests with
1974 ignore-zero-inf-sign and some with xfail-rounding.
1975 * math/auto-libm-test-out: Regenerated.
1976 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1977 * sysdeps/i386/fpu/libm-test-ulps: Update.
1978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1979
1980 [BZ #16315]
1981 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1982 overflowing or underflowing operations take place with sign of
1983 result.
1984 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1985 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1986 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1987 (__ieee754_pow): Recompute overflowing and underflowing results in
1988 original rounding mode.
1989 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1990 (__powl_helper): Allow negative argument X and scale negated value
1991 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1992 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1993 overflowing or underflowing operations take place with sign of
1994 result.
1995 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1996 Include <math.h>.
1997 * math/auto-libm-test-in: Add more tests of pow.
1998 * math/auto-libm-test-out: Regenerated.
1999 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2000 (pow_tonearest_test_data): Remove.
2001 (pow_test_tonearest): Likewise.
2002 (pow_towardzero_test_data): Likewise.
2003 (pow_test_towardzero): Likewise.
2004 (pow_downward_test_data): Likewise.
2005 (pow_test_downward): Likewise.
2006 (pow_upward_test_data): Likewise.
2007 (pow_test_upward): Likewise.
2008 (main): Don't call removed functions.
2009 * sysdeps/i386/fpu/libm-test-ulps: Update.
2010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2011
20122014-06-23 Roland McGrath <roland@hack.frob.com>
2013
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2015 Moved ...
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2018 Moved ...
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2021 Moved ...
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2024 Moved ...
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2027 File removed.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2029 File removed.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2031 File removed.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2033 File removed.
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2035 File removed.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2037 File removed.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2039 File removed.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2041 File removed.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2043 File removed.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2045 File removed.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2047 File removed.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2049 File removed.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2051 Moved ...
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2054 Moved ...
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2056 ... here.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2058 Moved ...
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2061 Moved ...
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2064 Moved ...
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2067 Moved ...
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2070 Moved ...
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2073 Moved ...
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2076 Moved ...
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2080 ... here.
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2082 Moved ...
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2085 Moved ...
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2087 ... here.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2089 Moved ...
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2091 ... here.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2093 Moved ...
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2095 ... here.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2097 Moved ...
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2100 Moved ...
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2105 Moved ...
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2107 ... here.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2109 Moved ...
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2111 ... here.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2113 Moved ...
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2116 Moved ...
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2119 Moved ...
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2122 Moved ...
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2125 Moved ...
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2127 ... here.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2129 Moved ...
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2132 Moved ...
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2135 Moved ...
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2138 Moved ...
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2143 Moved ...
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2146 Moved ...
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2149 Moved ...
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2151 ... here.
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2153 Moved ...
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2155 ... here.
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2157 Moved ...
2158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2159 ... here.
2160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2161 Moved ...
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2164 Moved ...
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2167 Moved ...
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2170 Moved ...
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2172 ... here.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2174 Moved ...
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2176 ... here.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2178 Moved ...
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2180 ... here.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2182 Moved ...
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2185 Moved ...
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2187
21882014-06-23 Will Newton <will.newton@linaro.org>
2189 Wilco <wdijkstr@arm.com>
2190
2191 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2192 implementation. Include get-rounding-mode.h.
2193 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2194 [!libc_feholdsetround_noex_ctx]: Define
2195 libc_feholdsetround_noex_ctx.
2196 [!libc_feholdsetround_noexf_ctx]: Define
2197 libc_feholdsetround_noexf_ctx.
2198 [!libc_feholdsetround_noexl_ctx]: Define
2199 libc_feholdsetround_noexl_ctx.
2200 (libc_feholdsetround_ctx): New function.
2201 (libc_feresetround_ctx): New function.
2202 (libc_feholdsetround_noex_ctx): New function.
2203 (libc_feresetround_noex_ctx): New function.
2204
22052014-06-23 Roland McGrath <roland@hack.frob.com>
2206
2207 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2208 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2209 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2210 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2211 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2212 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2213
2214 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2215 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2216 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2217 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2218 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2219 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2220 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2221 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2222 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2223 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2225 Moved ...
2226 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2227 ... here.
2228 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2229 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2230 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2231 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2233 Moved ...
2234 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2235 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2236 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2237 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2238 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2239 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2240 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2242 Moved ...
2243 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2244 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2245 Moved ...
2246 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2247 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2248 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2249 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2250 Moved ...
2251 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2255 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2256 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2257 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2259 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2260 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2261 Moved ...
2262 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2263 ... here.
2264 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2265 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2266 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2267 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2269 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2270 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2271 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2273 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2274 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2275 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2277 Moved ...
2278 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2279 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2280 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2282 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2283 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2284 Moved ...
2285 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2287 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2289 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2290
2291 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2292 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2293 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2294 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2295 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2296 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2297 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2298 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2300 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2302 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2303 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2304 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2305 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2306 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2307 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2308 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2309 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2310 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2312 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2314 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2315 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2316 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2317 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2318 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2319
23202014-06-23 Joseph Myers <joseph@codesourcery.com>
2321
2322 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2323 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2324 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2325 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2326 (IPV6_PMTUDISC_INTERFACE): Likewise.
2327 (IPV6_PMTUDISC_OMIT): Likewise.
2328
23292014-06-23 Andreas Schwab <schwab@suse.de>
2330
2331 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2332 Remove unused errout label.
2333
23342014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335
2336 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2337 macro: hardware supports Vector Crypto instructions.
2338
23392014-06-23 Will Newton <will.newton@linaro.org>
2340
2341 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2342 rather than __builtin_expect.
2343
2344 * elf/dl-lookup.c (undefined_msg): Remove variable.
2345 (_dl_lookup_symbol_x): Replace undefined_msg with string
2346 literal.
2347
2348 * elf/dl-lookup.c (do_lookup_unique): New function.
2349 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2350 to a separate function.
2351
23522014-06-23 Andreas Schwab <schwab@suse.de>
2353
2354 [BZ #17079]
2355 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2356 before reading the next line.
2357
23582014-06-23 Will Newton <will.newton@linaro.org>
2359
2360 * test-skeleton.c (signal_handler): Use printf and %m
2361 rather than perror. Use printf rather than fprintf to
2362 stderr. Use puts rather than fputs to stderr.
2363 (main): Likewise.
2364
23652014-06-22 Ludovic Courtès <ludo@gnu.org>
2366
2367 * nscd/nscd.c (thread_info_t): Remove typedef.
2368 (thread_info): Remove variable.
2369
23702014-06-21 Allan McRae <allan@archlinux.org>
2371
2372 * NEWS: Mention CVE-2014-4043.
2373
23742014-06-20 Roland McGrath <roland@hack.frob.com>
2375
2376 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2377 * nptl/smp.h: ... here.
2378
2379 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2380
2381 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2382 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2383 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2384 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2385
2386 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2387 * nptl/stack-aliasing.h: New file.
2388 * sysdeps/i386/i686/stack-aliasing.h: New file.
2389 * sysdeps/i386/i686/nptl/Makefile: File removed.
2390 * sysdeps/x86_64/stack-aliasing.h: New file.
2391 * sysdeps/x86_64/nptl/Makefile
2392 (CFLAGS-pthread_create.c): Variable removed.
2393
2394 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2395 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2396 old file.
2397 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2398 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2399 old file.
2400
24012014-06-21 Joseph Myers <joseph@codesourcery.com>
2402
2403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2404 (__ASSUME_SIGFRAME_V2): Remove macro.
2405 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2406 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2407 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2408 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2409 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2410 Declare as function. Remove conditional macro definitions.
2411 (__default_rt_sa_restorer): Likewise.
2412 (__default_sa_restorer_v1): Remove declaration.
2413 (__default_sa_restorer_v2): Likewise.
2414 (__default_rt_sa_restorer_v1): Likewise.
2415 (__default_rt_sa_restorer_v2): Likewise.
2416 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2417 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2418 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2419
24202014-06-20 Roland McGrath <roland@hack.frob.com>
2421
2422 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2423 (libpthread-routines): Add sysdep.
2424 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2425 * sysdeps/unix/sysv/linux/sparc/Versions
2426 (libpthread: GLIBC_2.3.3): New version set.
2427 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2428 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2429 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2430 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2431 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2432 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2433 Moved ...
2434 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2436 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2438 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2440 * sysdeps/sparc/nptl/sem_init.c: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2442 * sysdeps/sparc/nptl/sem_post.c: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2444 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2446 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2448 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2449 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2450 (libpthread-routines): Add cpu_relax.
2451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2452 File removed.
2453 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2454 (librt: GLIBC_2.3.3): New version set.
2455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2456 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2457 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2458 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2461 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2463 Moved ...
2464 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2466 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2468 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2470 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2472 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2474 Moved ...
2475 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2476 Update #include.
2477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2478 Moved ...
2479 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2480 Update #include.
2481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2482 Moved ...
2483 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2484 Update #include.
2485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2486 Moved ...
2487 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2488 Update #include.
2489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2490 Moved ...
2491 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2492 Update #include.
2493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2494 Moved ...
2495 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2496 Update #include.
2497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2498 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2504 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2506 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2508 Moved ...
2509 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2513 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2514
25152014-06-20 Joseph Myers <joseph@codesourcery.com>
2516
2517 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2518 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2519 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2520 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2521 * nscd/nscd.c: Likewise.
2522 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2523 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2524 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2525 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2526
2527 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2528 <kernel-features.h>.
2529 (init_mq_netlink): Remove conditional have_sock_cloexec
2530 definitions. Remove code conditional on have_sock_cloexec < 0.
2531 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2532 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2533 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2534 <kernel-features.h>.
2535 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2536 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2537
25382014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2539
2540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2541 Add tests for memset_chk and memset.
2542
2543 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2544 with AVX2_Usable.
2545
25462014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2547
2548 [BZ #16046]
2549 * elf/tst-dl-iter-static.c: New file.
2550 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2551
2552 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2553 error.
2554
25552014-06-20 Joseph Myers <joseph@codesourcery.com>
2556
2557 * sysdeps/unix/sysv/linux/kernel-features.h
2558 (__ASSUME_F_GETOWN_EX): Remove macro.
2559 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2560 <kernel-features.h>.
2561 (miss_F_GETOWN_EX): Remove variable or macro.
2562 (do_fcntl): Do not check miss_F_GETOWN_EX.
2563 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2564
2565 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2566 Remove macro.
2567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2568 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2569 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2570
2571 * sysdeps/unix/sysv/linux/kernel-features.h
2572 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2573 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2574 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2575 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2576
25772014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2578
2579 [BZ #17075]
2580 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2581 Fix calculation of the symbol's value.
2582 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2583 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2584 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2585 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2586 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2587 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2588 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2589 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2590 (modules-names): Add `tst-armtlsdescmod',
2591 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2592 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2593 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2594 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2595 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2596 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2597 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2598 ($(objpfx)tst-armtlsdescloc): New dependency.
2599 ($(objpfx)tst-armtlsdescextnow): Likewise.
2600 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2601 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2602 TLS scheme support.
2603 * sysdeps/arm/configure: Regenerate.
2604
26052014-06-20 Joseph Myers <joseph@codesourcery.com>
2606
2607 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2608 (__atfct_seterrno_2): Likewise.
2609 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2610 <kernel-features.h>.
2611 (__ASSUME_ATFCTS): Do not undefine and redefine.
2612 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2613 (__have_atfcts): Remove conditional definition.
2614 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2615 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2616 unreachable if [__ASSUME_ATFCTS].
2617 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2618 not undefine and redefine.
2619 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2620 <kernel-features.h>.
2621 (faccessat) [__NR_faccessat]: Make code unconditional.
2622 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2623 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2624 <kernel-features.h>.
2625 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2626 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2627 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2628 <kernel-features.h>.
2629 (fchownat) [__NR_fchownat]: Make code unconditional.
2630 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2631 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2632 <kernel-features.h>.
2633 (futimesat) [__NR_futimesat]: Make code unconditional.
2634 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2635 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2636 <kernel-features.h>.
2637 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2638 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2640 <kernel-features.h>.
2641 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2642 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2643 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2644 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2645 <kernel-features.h>.
2646 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2647 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2648 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2649 <kernel-features.h>.
2650 (linkat) [__NR_linkat]: Make code unconditional.
2651 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2652 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2653 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2654 <kernel-features.h>.
2655 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2656 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2657 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2658 <kernel-features.h>.
2659 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2660 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2661 * sysdeps/unix/sysv/linux/openat.c: Do not include
2662 <kernel-features.h>.
2663 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2664 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2665 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2666 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2667 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2668 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2669 <kernel-features.h>.
2670 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2671 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2672 result of INLINE_SYSCALL directly, not via int variable.
2673 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2674 <kernel-features.h>.
2675 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2676 (renameat) [__NR_renameat]: Make code unconditional.
2677 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2678 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2679 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2680 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2682 (__ASSUME_ATFCTS): Do not undefine and redefine.
2683 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2684 <kernel-features.h>.
2685 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2686 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2687 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2688 <kernel-features.h>.
2689 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2690 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2691 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2692 (__ASSUME_ATFCTS): Do not undefine and redefine.
2693 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2694 <kernel-features.h>.
2695 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2696 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2697 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2698 <kernel-features.h>.
2699 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2700 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2701
27022014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2703
2704 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2705
27062014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2707
2708 [BZ #17069]
2709 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2710 constructed tree before returning error.
2711 * posix/bug-regexp36.c: Expand test case.
2712
27132014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2714
2715 [BZ #6803]
2716 * math/libm-test.inc (scalbln_test_date):
2717 Add errno expectations.
2718 * math/w_scalblnf.c: New File.
2719 Add wrapper which checks for setting errno to ERANGE.
2720 Add weak_alias for corresponding scalbln function.
2721 * math/w_scalbln.c: Likewise.
2722 * math/w_scalblnl.c: Likewise.
2723 * math/Makefile (libm-calls): Add w_scalbln.
2724 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2725 Remove weak_alias for corresponding scalbln function.
2726 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2728 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2729 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2730 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2731 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2732 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2733 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2734 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2735 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2736 Remove long_double_symbol for scalblnl function in libm, libc.
2737 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2738 Add wrapper which checks for setting errno to ERANGE.
2739 Add long_double_symbol for scalblnl function in libm, libc.
2740 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2741 Remove long_double_symbol for scalblnl in libm.
2742 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2743 Add wrapper which checks for setting errno to ERANGE.
2744 Add long_double_symbol for scalblnl function in libm.
2745 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2746 Do not use wrapper because of own implementation.
2747
27482014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2749
2750 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2751 3 bytes for __pad1 for x32.
2752 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2753
27542014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2755 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2758 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2759 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2760 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2761 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2762
27632014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2764
2765 [BZ #17069]
2766 * posix/regcomp.c (parse_expression): Deallocate partially
2767 constructed tree before returning error.
2768 * posix/Makefile.c (tests): Add bug-regex36.
2769 (generated): Add bug-regex36.mtrace.
2770 (tests-special): Add $(objpfx)bug-regex36-mem.out
2771 (bug-regex36-ENV): New variable.
2772 ($(objpfx)bug-regex36-mem.out): New rule.
2773 * posix/bug-regex36.c: New file.
2774
27752014-06-19 Will Newton <will.newton@linaro.org>
2776
2777 * malloc/malloc.c (systrim): If extra is zero then return
2778 early.
2779
27802014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2781
2782 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2783
27842014-06-19 Richard Earnshaw <rearnsha@arm.com>
2785
2786 * sysdeps/aarch64/strchr.S: New file.
2787
27882014-06-18 Joseph Myers <joseph@codesourcery.com>
2789
2790 [BZ #17022]
2791 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2792 from arguments -2 or below.
2793 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2794 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2795
27962014-06-18 Andreas Schwab <schwab@suse.de>
2797
2798 [BZ #17062]
2799 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2800 of a bracket expr not to run off the end of the string.
2801 * posix/Makefile (tests): Add tst-fnmatch3.
2802 * posix/tst-fnmatch3.c: New file.
2803
28042014-06-18 Joseph Myers <joseph@codesourcery.com>
2805
2806 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2807 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2808 [$(cross-compiling) = no]: Likewise.
2809 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2810 [$(cross-compiling) = no]: Likewise.
2811
28122014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2813
2814 [BZ #17031]
2815 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2816 double, adjusted for any remainder from the high double.
2817 * math/libm-test.inc (nearbyint): Add tests.
2818 (rint): Likewise.
2819
28202014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2821
2822 * nptl/sysdeps/powerpc/Makefile: Moved ...
2823 * sysdeps/powerpc/nptl/Makefile: ... here.
2824 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2825 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2826 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2827 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2828 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2829 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2830 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2831 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2832 * nptl/sysdeps/powerpc/tls.h: Moved ...
2833 * sysdeps/powerpc/nptl/tls.h: ... here.
2834
28352014-06-16 Joseph Myers <joseph@codesourcery.com>
2836
2837 [BZ #16681]
2838 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2839 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2840 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2841 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2842 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2843 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2844 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2845 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2846 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2847
28482014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2849
2850 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2851
28522014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2853
2854 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2855 defined operator.
2856
2857 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2858 $TIMEOUTFACTOR.
2859
28602014-06-16 Florian Weimer <fweimer@redhat.com>
2861
2862 [BZ #17058]
2863 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2864 non-executed part of the test.
2865
28662014-06-16 Andreas Schwab <schwab@suse.de>
2867
2868 * string/bits/string2.h (strdup, strndup): Update feature guard.
2869
28702014-06-14 David S. Miller <davem@davemloft.net>
2871
2872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2873
28742014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2875
2876 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2877 that was previously under [RESET_PID].
2878 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2879
2880 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2881 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2882 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2883 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2884 (__libc_vfork): New strong alias.
2885 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2886
28872014-06-14 Andi Kleen <ak@linux.intel.com>
2888
2889 * sysdeps/generic/elide.h: New file.
2890
28912014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2892
2893 * Makefile (installed-headers): Adjust path of pthread.h header.
2894
28952014-06-13 Roland McGrath <roland@hack.frob.com>
2896
2897 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2898 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2899 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2900 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2901
2902 * nptl/sysdeps/s390/Makefile: Moved ...
2903 * sysdeps/s390/nptl/Makefile: ... here.
2904 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2905 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2906 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2907 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2908 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2909 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2910 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2911 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2912 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2913 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2914 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2915 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2916 * nptl/sysdeps/s390/tls.h: Moved ...
2917 * sysdeps/s390/nptl/tls.h: ... here.
2918
2919 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2920 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2921
29222014-06-13 David S. Miller <davem@davemloft.net>
2923
2924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2927 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2931 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2932 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2933 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2934 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2935 Remove RESET_PID cpp guards.
2936 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2937 Remove RESET_PID cpp guards.
2938 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2939
29402014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2941
2942 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2943 __sp to uintptr_t.
2944
29452014-06-13 Andi Kleen <ak@linux.intel.com>
2946
2947 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2948 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2949 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2950 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2952 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2953 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2954 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2955 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2957 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2958 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2960 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2961 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2962 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2963 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2964 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2965 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2966 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2967
2968 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2969 (pthread_rwlock_rdlock): Add elision.
2970 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2971 (pthread_rwlock_wrlock): Add elision.
2972 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2973 (pthread_rwlock_trywrlock): Add elision.
2974 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2975 (pthread_rwlock_tryrdlock): Add elision.
2976 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2977 (pthread_rwlock_tryrdlock): Add elision unlock.
2978 * nptl/sysdeps/pthread/pthread.h:
2979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2980 (PTHREAD_RWLOCK_INITIALIZER,
2981 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2982 Handle new elision field.
2983 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2984 * sysdeps/arm/nptl/bits/pthreadtypes.h
2985 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2986 * sysdeps/sh/nptl/bits/pthreadtypes.h
2987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2988 * sysdeps/tile/nptl/bits/pthreadtypes.h
2989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2990 * sysdeps/a/nptl/bits/pthreadtypes.h
2991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2992 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2993 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2994 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2995 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2996 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2997 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2998 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2999 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3000 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3001 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3002 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3003 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3004 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3005 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3006 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3007 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3008 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3009 (elision_init): Set try_xbegin to zero when no RTM.
3010 * sysdeps/x86/nptl/bits/pthreadtypes.h
3011 (pthread_rwlock_t): Change __pad1 to __rwelision.
3012 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3013
30142014-06-13 Andi Kleen <ak@linux.intel.com>
3015
3016 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3017 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3018 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3019 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3020
30212014-06-13 Meador Inge <meadori@codesourcery.com>
3022
3023 [BZ #16996]
3024 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3025 that the cached result has been set before returning it.
3026
30272014-06-12 Roland McGrath <roland@hack.frob.com>
3028
3029 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3030 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3031 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3032 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3033 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3034 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3035
3036 * nptl/sysdeps/sparc/Makefile: Moved ...
3037 * sysdeps/sparc/nptl/Makefile: ... here.
3038 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3039 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3040 * nptl/sysdeps/sparc/tls.h: Moved ...
3041 * sysdeps/sparc/nptl/tls.h: ... here.
3042 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3043 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3044 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3045 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3046 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3047 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3048 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3049 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3050 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3051 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3052 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3053 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3054 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3055 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3056 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3057 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3058 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3059 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3060 Update #include.
3061 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3062 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3063 Update #include.
3064 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3065 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3066 Update #include.
3067 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3068 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3069 Update #include.
3070
3071 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3072
3073 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3074 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3075
3076 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3077 (struct list_links): Type removed.
3078 (struct thread_node, struct timer_node): Replace struct list_links
3079 with struct list_head.
3080 (list_unlink_ip): Likewise.
3081 * sysdeps/pthread/timer_routines.c
3082 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3083 (list_append, list_insbefore): Likewise.
3084 (list_init): Function removed.
3085 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3086 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3087 * sysdeps/pthread/Makefile: ... here, new file.
3088
3089 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3090 * sysdeps/nptl/Implies: ... here.
3091 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3092 * nptl/sysdeps/pthread/list.h: Moved ...
3093 * include/list.h: ... here.
3094 * nptl/sysdeps/pthread/createthread.c: Moved ...
3095 * nptl/createthread.c: ... here.
3096 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3097 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3098 * nptl/pt-longjmp.c: ... here.
3099 * nptl/sysdeps/pthread/Makefile: Moved ...
3100 * sysdeps/nptl/Makefile: ... here.
3101 * nptl/sysdeps/pthread/Subdirs: Moved ...
3102 * sysdeps/nptl/Subdirs: ... here.
3103 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3104 * sysdeps/nptl/aio_misc.h: ... here.
3105 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3106 * sysdeps/nptl/bits/libc-lock.h: ... here.
3107 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3108 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3109 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3110 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3111 * nptl/sysdeps/pthread/configure: Moved ...
3112 * sysdeps/nptl/configure: ... here.
3113 * nptl/sysdeps/pthread/configure.ac: Moved ...
3114 * sysdeps/nptl/configure.ac: ... here.
3115 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3116 * sysdeps/nptl/gai_misc.h: ... here.
3117 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3118 * sysdeps/nptl/librt-cancellation.c: ... here.
3119 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3120 * sysdeps/nptl/malloc-machine.h: ... here.
3121 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3122 * sysdeps/nptl/pthread-functions.h: ... here.
3123 * nptl/sysdeps/pthread/pthread.h: Moved ...
3124 * sysdeps/nptl/pthread.h: ... here.
3125 * nptl/sysdeps/pthread/setxid.h: Moved ...
3126 * sysdeps/nptl/setxid.h: ... here.
3127 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3128 * sysdeps/nptl/sigfillset.c: ... here.
3129 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3130 * sysdeps/nptl/tcb-offsets.h: ... here.
3131 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3132 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3133 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3134 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3135 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3136 * sysdeps/pthread/allocalim.h: ... here.
3137 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3138 * sysdeps/pthread/bits/sigthread.h: ... here.
3139 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3140 * sysdeps/pthread/flockfile.c: ... here.
3141 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3142 * sysdeps/pthread/ftrylockfile.c: ... here.
3143 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3144 * sysdeps/pthread/funlockfile.c: ... here.
3145 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3146 * sysdeps/pthread/posix-timer.h: ... here.
3147 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3148 * sysdeps/pthread/timer_create.c: ... here.
3149 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3150 * sysdeps/pthread/timer_delete.c: ... here.
3151 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3152 * sysdeps/pthread/timer_getoverr.c: ... here.
3153 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3154 * sysdeps/pthread/timer_gettime.c: ... here.
3155 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3156 * sysdeps/pthread/timer_routines.c: ... here.
3157 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3158 * sysdeps/pthread/timer_settime.c: ... here.
3159 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3160 * sysdeps/pthread/tst-timer.c: ... here.
3161 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3162 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3163
3164 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3165 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3166
3167 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3168 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3169 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3170 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3171 Update #include target.
3172 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3173 * sysdeps/i386/i686/nptl/Makefile: ... here.
3174 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3175 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3176 Update #include target.
3177 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3178 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3179 * nptl/sysdeps/i386/Makefile: Moved ...
3180 * sysdeps/i386/nptl/Makefile: ... here.
3181 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3182 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3183 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3184 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3185 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3186 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3187 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3188 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3189 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3190 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3191 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3192 * nptl/sysdeps/i386/tls.h: Moved ...
3193 * sysdeps/i386/nptl/tls.h: ... here.
3194
3195 * sysdeps/sh/Makefile [$(subdir) = csu]
3196 (gen-as-const-headers): Add tcb-offsets.sym.
3197 * nptl/sysdeps/sh/Makefile: File removed.
3198 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3199 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3200 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3201 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3202 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3203 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3204 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3205 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3206 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3207 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3208 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3209 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3210 * nptl/sysdeps/sh/tls.h: Moved ...
3211 * sysdeps/sh/nptl/tls.h: ... here.
3212 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3213 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3215 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3217 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3218 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3219 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3220 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3221 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3222 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3223 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3224 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3225 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3226 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3227 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3229 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3230 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3231 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3232 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3233 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3234 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3235 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3237 Moved ...
3238 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3239 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3240 Moved ...
3241 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3242 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3243 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3244 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3245 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3246 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3247 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3248 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3249 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3250 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3251 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3252 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3253 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3254 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3255 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3256 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3257 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3258 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3259 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3260
32612014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3262
3263 * posix/spawn_faction_addopen.c: Include string.h.
3264
32652014-06-11 Roland McGrath <roland@hack.frob.com>
3266
3267 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3268 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3269 * nptl/sysdeps/x86_64/Makefile: Moved ...
3270 * sysdeps/x86_64/nptl/Makefile: ... here.
3271 * nptl/sysdeps/x86_64/configure: Moved ...
3272 * sysdeps/x86_64/nptl/configure: ... here.
3273 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3274 * sysdeps/x86_64/nptl/configure.ac: ... here.
3275 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3276 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3277 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3278 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3279 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3280 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3281 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3282 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3283 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3284 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3285 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3286 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3287 * nptl/sysdeps/x86_64/tls.h: Moved ...
3288 * sysdeps/x86_64/nptl/tls.h: ... here.
3289 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3290 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3291 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3292 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3293
3294 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3295
32962014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297
3298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3299
33002014-06-11 Joseph Myers <joseph@codesourcery.com>
3301
3302 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3303 type.
3304 [POSIX] (off_t): Likewise.
3305 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3306 [POSIX] (S_ISBLK): Require macro.
3307 [POSIX] (S_ISCHR): Likewise.
3308 [POSIX] (S_ISDIR): Likewise.
3309 [POSIX] (S_ISFIFO): Likewise.
3310 [POSIX] (S_ISREG): Likewise.
3311 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3312 optional-macro.
3313 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3314 type.
3315 [POSIX] (time_t): Likewise.
3316 [POSIX] (timer_t): Likewise.
3317
33182014-06-11 Florian Weimer <fweimer@redhat.com>
3319
3320 [BZ #17048]
3321 * posix/spawn_int.h (struct __spawn_action): Make the path string
3322 non-const to support deallocation.
3323 * posix/spawn_faction_addopen.c
3324 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3325 * posix/spawn_faction_destroy.c
3326 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3327 path in all spawn_do_open actions.
3328 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3329 posix_spawn_file_actions_addopen.
3330
33312014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3332
3333 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3334 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3335 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3336 conditional code always true.
3337 (__libc_vfork): New alias.
3338
33392014-06-11 Roland McGrath <roland@hack.frob.com>
3340
3341 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3342 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3343
3344 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3345
3346 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3347 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3348
3349 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3350 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3351
3352 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3353 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3354
33552014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3356
3357 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3358 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3359 multiarch strcmp for PPC64.
3360 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3361 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3363 multiarch optimizations.
3364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3365 (__libc_ifunc_impl_list): Likewise.
3366
33672014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3368
3369 * benchtests/scripts/validate_benchout.py: New script.
3370 * benchtests/Makefile (bench-func): Call it.
3371 * benchtests/scripts/benchout.schema.json: New file.
3372
33732014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3374
3375 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3376 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3377 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3378 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3379 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3380 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3381 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3382 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3383 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3384 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3385 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3386 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3387 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3388 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3389 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3390 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3392 Moved ...
3393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3394 ... here.
3395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3396 Moved ...
3397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3399 Moved ...
3400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3401 ... here.
3402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3403 Moved ...
3404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3405 ... here.
3406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3407 Moved ...
3408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3410 Moved ...
3411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3412 ... here.
3413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3414 Moved ...
3415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3416 ... here.
3417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3418 Moved ...
3419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3421 Moved ...
3422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3423 ... here.
3424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3425 Moved ...
3426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3427 ... here.
3428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3429 Moved ...
3430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3431 ... here.
3432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3433 Moved ...
3434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3436 Moved ...
3437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3438 ... here.
3439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3440 Moved ...
3441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3442 ... here.
3443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3444 Moved ...
3445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3446 ... here.
3447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3448 Moved ...
3449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3451 Moved ...
3452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3453 ... here.
3454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3455 Moved ...
3456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3457 ... here.
3458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3459 Moved ...
3460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3462 Moved ...
3463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3464 ... here.
3465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3466 Moved ...
3467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3469 Moved ...
3470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3472 Moved ...
3473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3474 ... here.
3475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3476 Moved ...
3477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3478 ... here.
3479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3480 Moved ...
3481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3482 ... here.
3483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3484 Moved ...
3485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3487 Moved ...
3488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3489 ... here.
3490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3491 Moved ...
3492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3493 ... here.
3494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3495 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3496 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3497 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3499 Moved ...
3500 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3501 ... here.
3502 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3503 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3504 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3505 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3507 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3508 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3509 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3510 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3511 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3512 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3513 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3514 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3515 Moved ...
3516 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3517 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3518 Moved ...
3519 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3520 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3521 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3522 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3523 Moved ...
3524 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3525 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3526 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3528 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3529 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3530 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3531
35322014-06-10 Wilco <wdijkstr@arm.com>
3533
3534 * math/test-fenv-return.c: New file.
3535 * math/Makefile: Add new test test-fenv-return.
3536
35372014-06-10 Joseph Myers <joseph@codesourcery.com>
3538
3539 [BZ #17042]
3540 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3541 when x - 1 is zero.
3542 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3543 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3544 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3545 0.0L for an argument of 1.0L.
3546 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3547 Likewise.
3548 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3549 value when x - 1 is zero.
3550 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3551 * sysdeps/i386/fpu/libm-test-ulps: Update.
3552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3553
35542014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3555
3556 [BZ #15119]
3557 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3558
35592014-06-09 Roland McGrath <roland@hack.frob.com>
3560
3561 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3562 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3563
35642014-06-09 Roland McGrath <roland@hack.frob.com>
3565
3566 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3567 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3568
3569 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3570 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3571
3572 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3573 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3574
3575 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3576 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3577
3578 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3579 if not already defined.
3580 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3581 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3582 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3583 (TLS_INIT_TP): Use it.
3584 (TLS_DEFINE_INIT_TP): New macro.
3585 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3586
35872014-06-09 Joseph Myers <joseph@codesourcery.com>
3588
3589 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3590 constant.
3591 [POSIX] (IXANY): Likewise.
3592 [POSIX] (OLCUC): Likewise.
3593 [POSIX || POSIX2008] (CBAUD): Do not allow.
3594 [POSIX || POSIX2008] (DEFECHO): Likewise.
3595 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3596 [POSIX || POSIX2008] (ECHOKE): Likewise.
3597 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3598 [POSIX || POSIX2008] (EXTA): Likewise.
3599 [POSIX || POSIX2008] (EXTB): Likewise.
3600 [POSIX || POSIX2008] (FLUSHO): Likewise.
3601 [POSIX || POSIX2008] (LOBLK): Likewise.
3602 [POSIX || POSIX2008] (PENDIN): Likewise.
3603 [POSIX || POSIX2008] (SWTCH): Likewise.
3604 [POSIX || POSIX2008] (VDISCARD): Likewise.
3605 [POSIX || POSIX2008] (VDSUSP): Likewise.
3606 [POSIX || POSIX2008] (VLNEXT): Likewise.
3607 [POSIX || POSIX2008] (VREPRINT): Likewise.
3608 [POSIX || POSIX2008] (VSTATUS): Likewise.
3609 [POSIX || POSIX2008] (VWERASE): Likewise.
3610 (B*): Change to B[0123456789]*.
3611 * conform/data/time.h-data [POSIX || UNIX98]
3612 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3613 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3614 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3615 [POSIX] (tm_*): Do not allow.
3616
36172014-06-07 Joseph Myers <joseph@codesourcery.com>
3618
3619 * Makefile (install): Don't set LANGUAGE.
3620 * Makefile.in (install): Likewise.
3621 * assert/Makefile (test-assert-ENV): Remove variable.
3622 (test-assert-perr-ENV): Likewise.
3623 * elf/Makefile (neededtest4-ENV): Likewise.
3624 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3625 [$(cross-compiling) = no]: Don't set LANGUAGE.
3626 * io/ftwtest-sh (LANG): Remove variable.
3627 * libio/Makefile (tst-widetext-ENV): Likewise.
3628 * manual/install.texi (Running make install): Don't refer to
3629 environment settings for make install.
3630 * INSTALL: Regenerated.
3631 * nptl/tst-tls6.sh: Don't set LANG.
3632 * posix/globtest.sh (LANG): Remove variable.
3633 * string/Makefile (tester-ENV): Likewise.
3634 (inl-tester-ENV): Likewise.
3635 (noinl-tester-ENV): Likewise.
3636 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3637 [$(cross-compiling) = no]: Don't set LANGUAGE.
3638 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3639 without explicit environment settings.
3640
36412014-06-06 Roland McGrath <roland@hack.frob.com>
3642
3643 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3644 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3646 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3647
36482014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3649
3650 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3651 other files in the crypt directory.
3652 * crypt/crypt.c: Remove duplicate includes.
3653 * crypt/crypt-entry.c: Likewise.
3654 * crypt/crypt_util.c: Likewise.
3655
36562014-06-06 Joseph Myers <joseph@codesourcery.com>
3657
3658 * Makeconfig (run-program-env): New variable.
3659 (run-program-prefix-before-env): Likewise.
3660 (run-program-prefix-after-env): Likewise.
3661 (run-program-prefix): Define in terms of new variables.
3662 (built-program-cmd-before-env): New variable.
3663 (built-program-cmd-after-env): Likewise.
3664 (built-program-cmd): Define in terms of new variables.
3665 (test-program-prefix-before-env): New variable.
3666 (test-program-prefix-after-env): Likewise.
3667 (test-program-prefix): Define in terms of new variables.
3668 (test-program-cmd-before-env): New variable.
3669 (test-program-cmd-after-env): Likewise.
3670 (test-program-cmd): Define in terms of new variables.
3671 * Rules (make-test-out): Use $(run-program-env).
3672 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3673 (help): Do not mention environment variables. Mention
3674 --timeoutfactor option.
3675 (timeoutfactor): New variable.
3676 (blacklist_exports): Remove function.
3677 (exports): Remove variable.
3678 (command): Do not include ${exports}.
3679 * manual/install.texi (Configuring and compiling): Do not mention
3680 test wrappers preserving environment variables. Mention that last
3681 assignment to a variable must take precedence.
3682 * INSTALL: Regenerated.
3683 * benchtests/Makefile (run-bench): Use $(run-program-env).
3684 * catgets/Makefile ($(objpfx)test1.cat): Use
3685 $(built-program-cmd-before-env), $(run-program-env) and
3686 $(built-program-cmd-after-env).
3687 ($(objpfx)test2.cat): Do not specify environment variables
3688 explicitly.
3689 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3690 $(run-program-env) and $(built-program-cmd-after-env).
3691 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3692 $(run-program-env) and $(test-program-cmd-after-env).
3693 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3694 explicitly.
3695 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3696 run_program_env and test_program_cmd_after_env arguments.
3697 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3698 * elf/tst-pathopt.sh: Use run_program_env argument.
3699 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3700 $(test-wrapper-env) and $(run-program-env).
3701 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3702 run_program_env arguments.
3703 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3704 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3705 $(test-program-prefix-before-env), $(run-program-env) and
3706 $(test-program-prefix-after-env).
3707 ($(objpfx)tst-gettext2.out): Likewise.
3708 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3709 run_program_env and test_program_prefix_after_env arguments.
3710 * intl/tst-gettext2.sh: Likewise.
3711 * intl/tst-gettext4.sh: Do not set environment variables
3712 explicitly.
3713 * intl/tst-gettext6.sh: Likewise.
3714 * intl/tst-translit.sh: Likewise.
3715 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3716 $(test-program-prefix-before-env), $(run-program-env) and
3717 $(test-program-prefix-after-env).
3718 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3719 run_program_env and test_program_prefix_after_env arguments.
3720 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3721 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3722 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3723 explicitly with each use of ${test_wrapper_env}.
3724 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3725 $(test-program-prefix-before-env), $(run-program-env) and
3726 $(test-program-prefix-after-env).
3727 * posix/tst-getconf.sh: Do not set environment variables
3728 explicitly.
3729 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3730 run_program_env and test_program_prefix_after_env arguments.
3731 * stdio-common/tst-printf.sh: Do not set environment variables
3732 explicitly.
3733 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3734 $(test-program-prefix-before-env), $(run-program-env) and
3735 $(test-program-prefix-after-env).
3736 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3737 run_program_env and test_program_prefix_after_env arguments.
3738 Split $test calls into $test_pre and $test.
3739 * timezone/Makefile (build-testdata): Use
3740 $(built-program-cmd-before-env), $(run-program-env) and
3741 $(built-program-cmd-after-env).
3742
37432014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3744
3745 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3746 strlen for non SHARED builds.
3747
37482014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3749
3750 * nptl/allocatestack.c (check_list): Inlined function...
3751 (__reclaim_stacks): ... here.
3752
37532014-06-05 Ondřej Bílka <neleai@seznam.cz>
3754
3755 [BZ #15698]
3756 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3757 memory overrun.
3758
37592014-06-05 Joseph Myers <joseph@codesourcery.com>
3760
3761 * Rules (make-test-out): Include
3762 LOCPATH=$(common-objpfx)localedata in default environment.
3763 * debug/Makefile (tst-chk1-ENV): Remove variable.
3764 (tst-chk2-ENV): Likewise.
3765 (tst-chk3-ENV): Likewise.
3766 (tst-chk4-ENV): Likewise.
3767 (tst-chk5-ENV): Likewise.
3768 (tst-chk6-ENV): Likewise.
3769 (tst-lfschk1-ENV): Likewise.
3770 (tst-lfschk2-ENV): Likewise.
3771 (tst-lfschk3-ENV): Likewise.
3772 (tst-lfschk4-ENV): Likewise.
3773 (tst-lfschk5-ENV): Likewise.
3774 (tst-lfschk6-ENV): Likewise.
3775 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3776 (tst-iconv7-ENV): Likewise.
3777 * intl/Makefile (LOCPATH-ENV): Likewise.
3778 (tst-codeset-ENV): Likewise.
3779 (tst-gettext3-ENV): Likewise.
3780 (tst-gettext5-ENV): Likewise.
3781 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3782 (tst-fopenloc-ENV): Likewise.
3783 (tst-fgetws-ENV): Remove variable.
3784 (tst-ungetwc1-ENV): Likewise.
3785 (tst-ungetwc2-ENV): Likewise.
3786 (bug-ungetwc2-ENV): Likewise.
3787 (tst-swscanf-ENV): Likewise.
3788 (bug-ftell-ENV): Likewise.
3789 (tst-fgetwc-ENV): Likewise.
3790 (tst-fseek-ENV): Likewise.
3791 (tst-ftell-partial-wide-ENV): Likewise.
3792 (tst-ftell-active-handler-ENV): Likewise.
3793 (tst-ftell-append-ENV): Likewise.
3794 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3795 (tst-regexloc-ENV): Likewise.
3796 (bug-regex1-ENV): Likewise.
3797 (tst-regex-ENV): Likewise.
3798 (tst-regex2-ENV): Likewise.
3799 (bug-regex5-ENV): Likewise.
3800 (bug-regex6-ENV): Likewise.
3801 (bug-regex17-ENV): Likewise.
3802 (bug-regex18-ENV): Likewise.
3803 (bug-regex19-ENV): Likewise.
3804 (bug-regex20-ENV): Likewise.
3805 (bug-regex22-ENV): Likewise.
3806 (bug-regex23-ENV): Likewise.
3807 (bug-regex25-ENV): Likewise.
3808 (bug-regex26-ENV): Likewise.
3809 (bug-regex30-ENV): Likewise.
3810 (bug-regex32-ENV): Likewise.
3811 (bug-regex33-ENV): Likewise.
3812 (bug-regex34-ENV): Likewise.
3813 (bug-regex35-ENV): Likewise.
3814 (tst-rxspencer-ENV): Likewise.
3815 (tst-rxspencer-no-utf8-ENV): Likewise.
3816 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3817 (tst-sscanf-ENV): Likewise.
3818 (tst-swprintf-ENV): Likewise.
3819 (tst-swscanf-ENV): Likewise.
3820 (test-vfprintf-ENV): Likewise.
3821 (scanf13-ENV): Likewise.
3822 (bug14-ENV): Likewise.
3823 (tst-grouping-ENV): Likewise.
3824 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3825 (tst-strtod3-ENV): Likewise.
3826 (tst-strtod4-ENV): Likewise.
3827 (tst-strtod5-ENV): Likewise.
3828 (testmb2-ENV): Likewise./
3829 * string/Makefile (tst-strxfrm-ENV): Likewise.
3830 (tst-strxfrm2-ENV): Likewise.
3831 (bug-strcoll1-ENV): Likewise.
3832 (test-strcasecmp-ENV): Likewise.
3833 (test-strncasecmp-ENV): Likewise.
3834 * time/Makefile (tst-strptime-ENV): Likewise.
3835 (tst-ftime_l-ENV): Likewise.
3836 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3837 (tst-mbrtowc-ENV): Likewise.
3838 (tst-wcrtomb-ENV): Likewise.
3839 (tst-mbrtowc2-ENV): Likewise.
3840 (tst-c16c32-1-ENV): Likewise.
3841 (tst-mbsnrtowcs-ENV): Likewise.
3842
38432014-06-05 Ondřej Bílka <neleai@seznam.cz>
3844
3845 * manual/resource.texi (How to get information about the memory
3846 subsystem?): Fix typo.
3847 Reported by Peon de la Parra Ivan <peon@keba.com>
3848
38492014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3850
3851 [BZ #16882]
3852 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3853 (pthread_spin_lock): Branch out of spin loop to proper location.
3854 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3855 (pthread_spin_lock): Likewise.
3856
3857 * nptl/tst-spin4.c: New test.
3858 * nptl/Makefile (tests): Add tst-spin4.
3859
38602014-06-03 Andreas Schwab <schwab@suse.de>
3861
3862 [BZ #15946]
3863 * resolv/res_send.c (send_dg): Reload file descriptor after
3864 calling reopen.
3865
38662014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3867
3868 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3869
38702014-06-03 Richard Henderson <rth@redhat.com>
3871
3872 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3873 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3874 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3875 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3876 in the SAVE_PID block.
3877 (__libc_vfork): New alias.
3878 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3879
3880 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3881 child in registers, not on the stack. Remove RESET_PID conditionals.
3882 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3883
38842014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3885
3886 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3887
38882014-06-03 Wilco <wdijkstr@arm.com>
3889
3890 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3891 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3892 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3893 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3894 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3895 Likewise.
3896
38972014-06-03 Wilco <wdijkstr@arm.com>
3898
3899 * sysdeps/aarch64/fpu/math_private.h
3900 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3901 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3902 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3903 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3904 Fix declarations.
3905
39062014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3907
3908 * crypt/crypt-private.h: Include ufc-crypt.h.
3909 (__b64_from_24bit): Declare extern.
3910 * crypt/crypt_util.c(__b64_from_24bit): New function.
3911 (b64t): New static const variable.
3912 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3913 (b64t): Remove variable.
3914 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3915 * crypt/sha256-crypt.c: Include crypt-private.h.
3916 (b64t): Remove variable.
3917 (__sha256_crypt_r): Remove b64_from_24bit and replace
3918 with __b64_from_24bit.
3919 * crypt/sha512-crypt.c: Likewise.
3920
39212014-06-02 Roland McGrath <roland@hack.frob.com>
3922
3923 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3924 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3925 Label the code __libc_vfork rather than __vfork.
3926 [!NOT_IN_libc] (vfork): Define as weak alias.
3927 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3928 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3929 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3930
39312014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3932
3933 * malloc/malloc.c (malloc_info): Fix format specifier for
3934 n_mmaps.
3935
39362014-06-02 Wilco <wdijkstr@arm.com>
3937
3938 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3939 FPCR write.
3940
39412014-06-02 Wilco <wdijkstr@arm.com>
3942
3943 [BZ #17009]
3944 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3945 Rewrite to reduce FPCR/FPSR accesses.
3946
39472014-06-01 David S. Miller <davem@davemloft.net>
3948
3949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3950
39512014-05-31 David S. Miller <davem@davemloft.net>
3952
3953 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3954 to occur in round to nearest mode when |x| >= 2.0
3955
39562014-05-30 Richard Henderson <rth@twiddle.net>
3957
3958 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3959 (PSEUDO_RET_NOERRNO): Remove.
3960 (ret): Don't redefine.
3961 (ret_NOERRNO): Define in terms of ret.
3962 (ret_ERRVAL): Likewise.
3963
3964 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3965 use of PSEUDO_RET; perform the error check directly.
3966
39672014-05-30 Marko Myllynen <myllynen@redhat.com>
3968
3969 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3970 with __int128_t.
3971
39722014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3973
3974 * malloc/malloc (malloc_info): Fix formatting.
3975
39762014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3977 Roland McGrath <roland@hack.frob.com>
3978
3979 * malloc/malloc (malloc_info): Also print mmapped statistics.
3980
39812014-05-30 Roland McGrath <roland@hack.frob.com>
3982
3983 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3984 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3985
39862014-05-30 Ondřej Bílka <neleai@seznam.cz>
3987
3988 * malloc/malloc.c (malloc_info): Inline mi_arena.
3989
39902014-05-29 Richard Henderson <rth@twiddle.net>
3991
3992 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3993 Remove comma before expanding ASM_ARGS_##nr.
3994 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3995 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3996 of ASM_ARGS_##nr.
3997 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3998 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3999 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4000 (ASM_ARGS_1): Add leading comma.
4001
4002 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4003 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4004 to __errno_location.
4005 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4006 Remove the expected plt for __errno_location.
4007
4008 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4009 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4010 call to __read_tp.
4011
4012 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4013 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4014 it and break it down.
4015 (DOCARGS_0, DOCARGS_1): Do nothing.
4016 (DOCARGS_2): Update to store into the new stack frame.
4017 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4018 (UNDOCARGS_1): Update to restore from the new stack frame.
4019 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4020 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4021
4022 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4023 (SINGLE_THREAD_P): New parameter for result regno.
4024 (PSEUDO): Update to match; use cbz instead of beq.
4025
4026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4027 Use ENTRY to define the _nocancel entry point. Share the syscall
4028 and syscall error check paths with the cancel path.
4029 (PSEUDO_END): New.
4030
4031 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4032 whitespace; tabs before and after asm mnemonics.
4033
40342014-05-29 Eric Wong <normalperson@yhbt.net>
4035
4036 [BZ #15132]
4037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4038 Call fstat64 or stat64 internally, depending on arguments passed.
4039 Replace stat buffer argument with file descriptor argument.
4040 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4041 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4042 Pass fd to __internal_statvfs instead of calling fstat64.
4043 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4044 Pass fd to __internal_statvfs64 instead of calling fstat64.
4045 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4046 Pass -1 to __internal_statvfs instead of calling stat64.
4047 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4048 Pass -1 to __internal_statvfs64 instead of calling stat64.
4049
40502014-05-28 Roland McGrath <roland@hack.frob.com>
4051
4052 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4053 that was previously under [RESET_PID].
4054 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4055
4056 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4057 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4058
40592014-05-27 Roland McGrath <roland@hack.frob.com>
4060
4061 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4062
4063 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4064 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4065
40662014-05-27 Ondřej Bílka <neleai@seznam.cz>
4067
4068 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4069
40702014-05-27 Andreas Schwab <schwab@suse.de>
4071
4072 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4073 TLS_INIT_TP macro.
4074 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4075 * elf/rtld.c (init_tls, dl_main): Likewise.
4076 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4077 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4078 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4079 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4080 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4081 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4082 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4083 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4084 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4085 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4086 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4087 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4088 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4089 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4090 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4091 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4092 * sysdeps/generic/tls.h: Update description.
4093
40942014-05-27 Will Newton <will.newton@linaro.org>
4095
4096 [BZ #16990]
4097 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4098 and restore r2 rather than just restoring.
4099
41002014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4101
4102 [BZ #16724]
4103 * libio/tst-ftell-append.c: New test case.
4104 * libio/Makefile (tests): Add test case.
4105 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4106 append mode.
4107 * libio/wfileops.c (do_ftell_wide): Likewise.
4108
41092014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4110
4111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4112
4113 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4114 ...
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4117 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4118 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4119 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4120 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4121 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4122 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4123 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4124 Moved ...
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4127 Moved ...
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4129 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4130 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4131 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4132 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4133 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4134 ...
4135 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4136 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4137 Moved ...
4138 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4139 here.
4140 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4141 ...
4142 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4143 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4144 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4145
4146 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4147 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4148 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4149 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4150
4151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4152 merge into ...
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4155 ...
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4157 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4158 ...
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4161 Moved ...
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4163 here.
4164 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4165 Moved ...
4166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4168 Moved ...
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4170
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4172 conditional [RESET_PID].
4173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4175 removed.
4176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4177 removed.
4178
4179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4180 <tcb-offsets.h>.
4181 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4182 (__libc_vfork): New strong alias.
4183 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4184 removed.
4185 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4186 Removed.
4187
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4189 <tcb-offsets.h>.
4190 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4191 (__libc_vfork): New strong alias.
4192 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4193 removed.
4194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4195 removed.
4196
41972014-05-26 Carlos O'Donell <carlos@redhat.com>
4198
4199 * malloc/malloc.c (mi_arena): New function.
4200 (malloc_info): Remove nested function mi_arena. Call non-nosted
4201 function mi_arena.
4202
42032014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4204
4205 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4206 by insrwi.
4207 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4208 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4209 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4210 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4211 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4212 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4213 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4214
42152014-05-26 Andreas Schwab <schwab@suse.de>
4216
4217 [BZ #16984]
4218 * locale/programs/repertoire.c (repertoire_read): Add slash
4219 between I18NPATH element and file name.
4220 * locale/programs/locfile.c (locfile_read): Likewise.
4221
42222014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4223
4224 * nptl/pthread_mutexattr_settype.c
4225 (__pthread_mutexattr_settype):
4226 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4227
42282014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4229
4230 * nptl/tst-mutex5 (do_test):
4231 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4232
42332014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4234
4235 * benchtests/README: Document 'init' directive.
4236 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4237 BENCH_INIT.
4238 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4239 (parse_file): Recognize 'init' directive.
4240
42412014-05-26 Kyle McMartin <kyle@redhat.com>
4242
4243 [BZ #16796]
4244 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4245 alignment of struct pthread.
4246
42472014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4248
4249 [BZ #16878]
4250 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4251 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4252 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4253 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4254
42552014-05-25 Richard Henderson <rth@twiddle.net>
4256
4257 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4258 (SINGLE_THREAD_P_PIC): Remove.
4259 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4260 (SINGLE_THREAD_P_PIC): Remove.
4261
4262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4263 branch to syscall error ...
4264 (PSEUDO): ... here.
4265 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4266 from __local_syscall_error to .Lsyscall_error.
4267 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4268 (SYSCALL_ERROR): Update label name.
4269
4270 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4271 Do not use DOARGS/UNDOARGS.
4272 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4273 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4274 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4275 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4276 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4277
4278 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4279 block comment.
4280
4281 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4282 define if !NOT_IN_libc.
4283 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4284 define with non-default symbol versions.
4285
42862014-05-23 Richard Henderson <rth@twiddle.net>
4287
4288 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4289 (vfork, __vfork): Define via compat_symbol.
4290
4291 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4292 [!HAVE_IFUNC] (vfork_compat): Remove.
4293 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4294
42952014-05-23 Joseph Myers <joseph@codesourcery.com>
4296
4297 [BZ #16978]
4298 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4299 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4300 variable.
4301
43022014-05-23 Richard Henderson <rth@twiddle.net>
4303
4304 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4305 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4306 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4307 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4308
4309 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4310 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4311 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4312 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4313 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4314 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4315 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4316 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4317 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4318 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4319 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4320 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4321 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4322 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4323 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4324 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4325 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4326 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4327 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4328 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4329 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4330 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4331 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4332 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4333 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4334 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4335 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4336 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4337 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4338 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4339 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4340 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4341 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4342 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4343 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4344 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4345 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4346 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4347 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4348 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4349 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4350 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4351 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4352 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4353 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4354 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4355 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4356 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4357 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4358 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4359 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4360 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4361 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4362 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4363 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4364 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4365
4366 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4367 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4368 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4369 before exiting on error.
4370 (__libc_vfork): New strong alias.
4371 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4372 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4373
4374 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4375 that was previously under [RESET_PID].
4376 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4377
4378 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4379
43802014-05-23 Joseph Myers <joseph@codesourcery.com>
4381
4382 [BZ #16977]
4383 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4384 value when x - 1 is zero.
4385 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4386 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4387 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4388 0.0L for an argument of 1.0L.
4389 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4390 Likewise.
4391 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4392 value when x - 1 is zero.
4393 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4394 * sysdeps/i386/fpu/libm-test-ulps: Update.
4395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4396
43972014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4398
4399 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4400 alphasort and versionsort.
4401
44022014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4403
4404 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4405 macro.
4406 [copysignf]: Likewise.
4407
44082014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4409
4410 * crypt/md5-crypt.c: Fix formatting.
4411
44122014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4413
4414 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4415 (b64_from_24bit): New function.
4416
44172014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4418
4419 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4420 libc_hidden_builtin_def to ifunc.
4421 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4422 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4423
44242014-05-21 Roland McGrath <roland@hack.frob.com>
4425
4426 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4427 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4428
44292014-05-21 Joseph Myers <joseph@codesourcery.com>
4430
4431 * nscd/Depend (linuxthreads): Remove.
4432 (nptl): Add.
4433 * resolv/Depend (linuxthreads): Remove.
4434 * rt/Depend (linuxthreads): Remove.
4435
4436 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4437 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4438 $(common-objpfx)elf/.
4439 (link-libc-before-gnulib): Likewise.
4440 (elfobjdir): Remove variable.
4441 * Makefile (install): Use $(elf-objpfx) instead of
4442 $(common-objpfx)elf/.
4443 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4444 $(elfobjdir)/.
4445 (link-libc-deps): Likewise.
4446 ($(common-objpfx)libc.so): Likewise.
4447 ($(common-objpfx)linkobj/libc.so): Likewise.
4448 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4449 instead of $(common-objpfx)elf/.
4450 (symbolic-link-list): Likewise.
4451 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4452 [$(cross-compiling) = no]: Likewise.
4453 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4454 $(elfobjdir)/.
4455 (static-gnulib-arch): Likewise.
4456 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4457 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4458 $(common-objpfx)elf/.
4459
44602014-05-21 Richard Henderson <rth@redhat.com>
4461
4462 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4463 (SINGLE_THREAD_P): Use the correct width load. Fold
4464 into the ldr offset.
4465
4466 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4467 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4468
44692014-05-20 Joseph Myers <joseph@codesourcery.com>
4470
4471 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4472 (libgcc_s_resume): Use __attribute_used__.
4473 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4474 Likewise.
4475
44762014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4477
4478 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4479 optimization when used with float constants.
4480
4481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4482
44832014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4484
4485 [BZ #16915]
4486 * locale/nl_langinfo_l.c: Make direct reference to every
4487 _nl_current_CATEGORY symbol.
4488 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4489 (tests-static): Add tst-langinfo-static.
4490 (tests-special): Add tst-langinfo-static.out.
4491 ($(objpfx)tst-langinfo.out): Redirect output.
4492 ($(objpfx)tst-langinfo-static.out): New.
4493 * localedata/tst-langinfo.sh: Send output to stdout.
4494 * localedata/tst-langinfo-static.c: New file.
4495
4496 [BZ #16965]
4497 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4498 when the shift amount is modulo the limb size.
4499
45002014-05-20 Richard Henderson <rth@redhat.com>
4501
4502 [BZ #16967]
4503 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4504 Change type of sa_flags from unsigned int to int.
4505
4506 [BZ #16966]
4507 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4508
4509 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4510
45112014-05-20 Will Newton <will.newton@linaro.org>
4512
4513 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4514 Test the return value of the system call in the nocancel case.
4515
45162014-05-20 Will Newton <will.newton@linaro.org>
4517 Yvan Roux <yvan.roux@linaro.org>
4518
4519 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4520 #include of asm/ptrace.h.
4521 (PTRACE_GET_THREAD_AREA): Remove #undef.
4522 (PTRACE_GETHBPREGS): Likewise.
4523 (PTRACE_SETHBPREGS): Likewise.
4524 (struct user_regs_struct): New structure.
4525 (struct user_fpsimd_struct): New structure.
4526 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4527 #include of asm/ptrace.h and second #include of sys/user.h.
4528 (PTRACE_GET_THREAD_AREA): Remove #undef.
4529 (PTRACE_GETHBPREGS): Likewise.
4530 (PTRACE_SETHBPREGS): Likewise.
4531 (ELF_NGREG): Use new struct user_regs_struct.
4532 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4533
45342014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535
4536 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4537 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4538
45392014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4540
4541 [BZ #16958]
4542 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4543 membar to avoid block loads/stores to overlap previous stores.
4544
45452014-05-17 Richard Henderson <rth@redhat.com>
4546
4547 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4548 Create the __##syscall_name##_nocancel entry point.
4549 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4550 Remove; let the sysdep-cancel.h code create it.
4551
45522014-05-17 David S. Miller <davem@davemloft.net>
4553
4554 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4555 Protect with __USE_GNU.
4556 (TIOCSET_TEMPT): Likewise.
4557 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4558 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4559 these are already provided in bits/ioctl-types.h
4560
45612014-05-16 Roland McGrath <roland@hack.frob.com>
4562
4563 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4564 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4565
4566 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4567 Use wait4 regardless of [__NR_waitpid].
4568
45692014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4570
4571 PR libgcc/60166
4572 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4573 (_FP_NANSIGN_Q): Set the quiet bit.
4574
45752014-05-16 Joseph Myers <joseph@codesourcery.com>
4576
4577 * benchtests/Makefile
4578 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4579 not $(common-objpfx)math/libm.so.
4580 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4581 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4582 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4583 $(common-objpfx)dlfcn/libdl.so.
4584 ($(objpfx)tst-audit8): Depend on $(libm), not
4585 $(common-objpfx)math/libm.so.
4586 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4587 not $(common-objpfx)dlfcn/libdl.so.
4588 * math/Makefile
4589 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4590 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4591 [$(build-shared) = yes].
4592 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4593 $(common-objpfx)nptl/libpthread.so.
4594 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4595 $(common-objpfx)math/libm.so$(libm.so-version) or
4596 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4597 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4598 $(common-objpfx)dlfcn/libdl.so.
4599 * setjmp/Makefile (link-libm): Remove variable.
4600 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4601 * stdio-common/Makefile (link-libm): Remove variable.
4602 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4603 * stdlib/Makefile (link-libm): Remove variable.
4604 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4605 ($(objpfx)tst-strtod-round): Likewise.
4606 ($(objpfx)tst-tininess): Likewise.
4607 ($(objpfx)tst-strtod-underflow): Likewise.
4608 ($(objpfx)tst-strtod6): Likewise.
4609 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4610 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4611 $(common-objpfx)dlfcn/libdl.so.
4612
46132014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4614
4615 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4616 BSD terminal modes definitions.
4617
46182014-05-16 Roland McGrath <roland@hack.frob.com>
4619
4620 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4621 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4622
4623 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4624 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4625 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4626 Don't do #include_next.
4627 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4628 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4629 Don't do #include_next.
4630 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4631 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4632 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4633 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4634
46352014-05-16 Allan McRae <allan@archlinux.org>
4636
4637 * po/sv.po: Update Swedish translation from translation project.
4638
4639 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4640 in sed expression.
4641
46422014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4643
4644 [BZ #16917]
4645 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4646 errno if the TIOCGPTN ioctl fails with an error different than
4647 EINVAL.
4648 * login/tst-ptsname.c: New file.
4649 * login/Makefile (tests): Add tst-ptsname.
4650
4651 [BZ #16943]
4652 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4653 and prlimit64.
4654
46552014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4656
4657 [BZ #16849]
4658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4659 herrno to return EAI_AGAIN.
4660
46612014-05-14 Roland McGrath <roland@hack.frob.com>
4662
4663 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4664 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4665 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4666 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4667 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4668 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4669 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4670 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4671 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4672 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4673 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4674 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4675 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4676 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4677 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4678 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4679 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4680 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4681 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4682 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4683 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4684 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4685 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4686 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4687 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4688 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4689 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4690 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4691 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4692 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4694 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4696 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4698 Moved ...
4699 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4701 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4703 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4705 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4707 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4709 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4711 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4713 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4715 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4717 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4719 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4721 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4723 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4725 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4727 Moved ...
4728 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4730 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4732 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4734 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4736 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4738 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4740 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4742 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4744 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4746 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4748 Moved ...
4749 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4751 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4752
4753 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4754 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4755 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4756 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4757 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4758 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4759 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4761 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4762 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4763 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4764 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4765 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4766 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4767 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4768 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4769 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4770 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4771 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4773 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4774 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4775 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4776 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4777 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4778 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4779 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4780 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4781 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4782 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4783 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4784
4785 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4786 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4787
4788 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4789 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4790 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4791 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4792 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4793 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4794 Moved ...
4795 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4796 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4797 Moved ...
4798 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4800 Moved ...
4801 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4802 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4803 Moved ...
4804 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4805 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4806 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4807 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4808 Moved ...
4809 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4810 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4811 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4812 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4813 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4814 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4815 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4817 Moved ...
4818 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4819 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4820 Moved ...
4821 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4822 ... here.
4823 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4824 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4825 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4826 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4827 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4828 Moved ...
4829 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4830 ... here.
4831 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4832 Moved ...
4833 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4834 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4835 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4836 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4837 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4838 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4839 Moved ...
4840 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4842 Moved ...
4843 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4845 Moved ...
4846 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4847 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4848 Moved ...
4849 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4850 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4851 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4852 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4853 Moved ...
4854 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4855 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4856 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4857 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4858 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4860 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4862 Moved ...
4863 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4865 Moved ...
4866 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4867 ... here.
4868 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4869 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4871 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4873 Moved ...
4874 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4875 ... here.
4876 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4877 Moved ...
4878 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4879 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4880 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4882 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4883 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4884 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4885 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4886 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4888 Moved ...
4889 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4891 Moved ...
4892 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4893 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4894 Moved ...
4895 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4897 Moved ...
4898 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4899 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4900 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4901 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4902 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4903 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4904 Moved ...
4905 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4906 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4907 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4908 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4909 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4911 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4913 Moved ...
4914 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4915 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4916 Moved ...
4917 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4918 ... here.
4919 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4920 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4921 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4922 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4924 Moved ...
4925 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4926 ... here.
4927 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4928 Moved ...
4929 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4931 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4933 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4935 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4937 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4938 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4939 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4940
4941 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4942 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4943
4944 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4945 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4946
4947 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4948 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4949 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4950 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4951 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4952 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4953 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4954 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4955 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4957 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4958 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4959 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4960 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4961 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4962 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4963 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4964 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4965 Moved ...
4966 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4967 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4968 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4969 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4970 Moved ...
4971 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4972 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4973 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4974 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4975 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4976 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4977 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4978 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4979 Moved ...
4980 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4981 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4982 Moved ...
4983 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4984 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4985 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4986 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4987 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4988 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4989 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4990 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4991 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4992 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4993 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4994 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4995 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4996 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4997 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4998 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4999 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5000
5001 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5002 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5003 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5004 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5005 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5006
5007 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5008 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5009 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5010 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5011 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5012 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5013 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5014 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5015 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5016 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5017
5018 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5019 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5020
5021 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5022 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5023 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5024 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5025 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5026 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5027 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5028 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5029 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5030 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5031 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5032 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5033 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5034 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5035 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5036 Update #include.
5037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5038 Likewise.
5039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5040 Likewise.
5041 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5042 Likewise.
5043 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5044 Likewise.
5045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5046 Likewise.
5047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5048 Likewise.
5049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5050 Likewise.
5051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5052 Likewise.
5053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5054 Likewise.
5055 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5056 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5057 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5061 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5063 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5064 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5065 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5066 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5067 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5068 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5069 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5070
5071 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5072 that was previously under [RESET_PID].
5073 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5074 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5075 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5076
5077 * sysdeps/i386/nptl/Implies: New file.
5078 * sysdeps/x86_64/nptl/Implies: New file.
5079 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5080 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5081 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5082 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5083
5084 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5085 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5086 (__libc_vfork): New strong alias.
5087 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5088 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5089
5090 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5091 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5092 (__libc_vfork): New strong alias.
5093 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5094 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5095
5096 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5097 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5098 (__libc_vfork): New strong alias.
5099 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5100 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5101 * nptl/pt-vfork.c: New file.
5102 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5103 (libpthread: GLIBC_2.20): New version set (empty).
5104
51052014-05-14 Will Newton <will.newton@linaro.org>
5106
5107 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5108 rather than #if.
5109
51102014-05-14 Joseph Myers <joseph@codesourcery.com>
5111
5112 [BZ #16564]
5113 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5114 arguments with exponent 65 or above.
5115 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5116 arguments 0x1p113L or above.
5117 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5118 to arguments 0x1p107L or above.
5119 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5120 positive arguments with exponent 65 or above.
5121 * math/auto-libm-test-in: Add more tests of log1p.
5122 * math/auto-libm-test-out: Regenerated.
5123
5124 [BZ #16928]
5125 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5126 non-finite arguments is +0.
5127 * math/s_cacosf.c (__cacosf): Likewise.
5128 * math/s_cacosl.c (__cacosl): Likewise.
5129 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5130 * sysdeps/i386/fpu/libm-test-ulps: Update.
5131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5132
5133 [BZ #16927]
5134 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5135 value.
5136 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5137 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5138 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5139 for explicit high bit of mantissa when testing for argument equal
5140 to 1.
5141 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5142 * sysdeps/i386/fpu/libm-test-ulps: Update.
5143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5144
5145 [BZ #16516]
5146 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5147 (__erf): Scale by 16 instead of 8 in potentially underflowing
5148 case. Ensure exception if result actually underflows.
5149 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5150 (__erff): Scale by 16 instead of 8 in potentially underflowing
5151 case. Ensure exception if result actually underflows.
5152 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5153 (efx8): Remove variable.
5154 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5155 case. Ensure exception if result actually underflows.
5156 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5157 (efx8): Remove variable.
5158 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5159 case. Ensure exception if result actually underflows.
5160 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5161 (efx8): Remove variable.
5162 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5163 case. Ensure exception if result actually underflows.
5164 * math/auto-libm-test-in: Add more tests of erf.
5165 * math/auto-libm-test-out: Regenerated.
5166
51672014-05-14 Andreas Schwab <schwab@suse.de>
5168
5169 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5170 Remove code conditionalized on USE___THREAD.
5171
5172 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5173 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5174 not definedness.
5175
51762014-05-14 Joseph Myers <joseph@codesourcery.com>
5177
5178 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5179 Define unconditionally.
5180 (__ASSUME_O_CLOEXEC): Likewise.
5181 (__ASSUME_SOCK_CLOEXEC): Likewise.
5182 (__ASSUME_IN_NONBLOCK): Likewise.
5183 (__ASSUME_PIPE2): Likewise.
5184 (__ASSUME_EVENTFD2): Likewise.
5185 (__ASSUME_SIGNALFD4): Likewise.
5186 (__ASSUME_DUP3): Likewise.
5187 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5188 (__ASSUME_DUP3): Do not define.
5189 (__ASSUME_EVENTFD2): Likewise.
5190 (__ASSUME_IN_NONBLOCK): Likewise.
5191 (__ASSUME_O_CLOEXEC): Likewise.
5192 (__ASSUME_PIPE2): Likewise.
5193 (__ASSUME_SIGNALFD4): Likewise.
5194 (__ASSUME_SOCK_CLOEXEC): Likewise.
5195 (__ASSUME_UTIMES): Undefine.
5196 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5197 (__ASSUME_UTIMES): Do not define.
5198 (__ASSUME_O_CLOEXEC): Likewise.
5199 (__ASSUME_SOCK_CLOEXEC): Likewise.
5200 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5201 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5202 0x020621].
5203 (__ASSUME_PIPE2): Likewise.
5204 (__ASSUME_EVENTFD2): Likewise.
5205 (__ASSUME_SIGNALFD4): Likewise.
5206 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5207 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5208 Do not define.
5209 (__ASSUME_EVENTFD2): Likewise.
5210 (__ASSUME_SIGNALFD4): Likewise.
5211 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5212 (__ASSUME_32BITUIDS): Likewise.
5213 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5214 (__ASSUME_IPC64): Likewise.
5215 (__ASSUME_ST_INO_64_BIT): Likewise.
5216 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5217 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5218 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5219 (__ASSUME_UTIMES): Do not define.
5220 (__ASSUME_PSELECT): Likewise.
5221 (__ASSUME_PPOLL): Likewise.
5222 (__ASSUME_O_CLOEXEC): Likewise.
5223 (__ASSUME_SOCK_CLOEXEC): Likewise.
5224 (__ASSUME_IN_NONBLOCK): Likewise.
5225 (__ASSUME_PIPE2): Likewise.
5226 (__ASSUME_EVENTFD2): Likewise.
5227 (__ASSUME_SIGNALFD4): Likewise.
5228 (__ASSUME_DUP3): Likewise.
5229 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5230 (__ASSUME_UTIMES): Likewise.
5231 (__ASSUME_O_CLOEXEC): Likewise.
5232 (__ASSUME_SOCK_CLOEXEC): Likewise.
5233 (__ASSUME_IN_NONBLOCK): Likewise.
5234 (__ASSUME_PIPE2): Likewise.
5235 (__ASSUME_EVENTFD2): Likewise.
5236 (__ASSUME_SIGNALFD4): Likewise.
5237 (__ASSUME_DUP3): Likewise.
5238 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5239 (__ASSUME_UTIMES): Likewise.
5240 (__ASSUME_O_CLOEXEC): Likewise.
5241 (__ASSUME_SOCK_CLOEXEC): Likewise.
5242 (__ASSUME_IN_NONBLOCK): Likewise.
5243 (__ASSUME_PIPE2): Likewise.
5244 (__ASSUME_EVENTFD2): Likewise.
5245 (__ASSUME_SIGNALFD4): Likewise.
5246 (__ASSUME_DUP3): Likewise.
5247 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5248 Likewise.
5249 (__ASSUME_UTIMES): Likewise.
5250 (__ASSUME_EVENTFD2): Likewise.
5251 (__ASSUME_SIGNALFD4): Likewise.
5252 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5253 (__ASSUME_O_CLOEXEC): Likewise.
5254 (__ASSUME_SOCK_CLOEXEC): Likewise.
5255 (__ASSUME_IN_NONBLOCK): Likewise.
5256 (__ASSUME_PIPE2): Likewise.
5257 (__ASSUME_EVENTFD2): Likewise.
5258 (__ASSUME_SIGNALFD4): Likewise.
5259 (__ASSUME_DUP3): Likewise.
5260 (__ASSUME_UTIMES): Undefine.
5261
5262 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5263 feclearexcept. Remove symbol versioning code.
5264 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5265 symbol versioning code.
5266 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5267 symbol versioning code.
5268 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5269 feupdateenv. Remove symbol versioning code.
5270 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5271 fegetexceptflag. Remove symbol versioning code.
5272 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5273 fesetexceptflag. Remove symbol versioning code.
5274 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5275 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5276 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5277 (__posix_fadvise64_l32): Remove prototype.
5278 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5279 code.
5280
52812014-05-13 Roland McGrath <roland@hack.frob.com>
5282
5283 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5284 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5285 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5286 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5287
52882014-05-13 Sami Kerola <kerolasa@iki.fi>
5289
5290 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5291 current working directory
5292
52932014-05-13 Roland McGrath <roland@hack.frob.com>
5294
5295 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5296 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5297 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5298 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5299 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5300 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5301 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5302 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5303 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5304 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5305 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5306 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5307 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5308 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5309 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5310 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5311 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5312 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5313 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5314 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5315 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5316 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5317 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5318 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5319 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5320 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5321 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5322 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5323 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5324 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5325 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5326 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5327 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5328 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5329 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5330 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5331 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5332 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5333 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5334 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5335 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5336 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5337
5338 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5339 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5340
5341 * sysdeps/unix/sysv/linux/arm/Makefile
5342 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5343 Add rt-aeabi_unwind_cpp_pr1.
5344 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5345 Add nptl-aeabi_unwind_cpp_pr1.
5346 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5347 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5348 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5349 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5350 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5351 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5352
5353 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5354 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5355 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5356 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5357
5358 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5359 Deconditionalize the code that was previously under [RESET_PID].
5360 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5361
5362 * sysdeps/generic/exit-thread.h: New file.
5363 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5364 * include/unistd.h (__exit_thread): Remove declaration.
5365 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5366 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5367 * csu/libc-start.c: Include <exit-thread.h>.
5368 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5369 * nptl/pthread_create.c: Include <exit-thread.h>.
5370 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5371 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5372 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5373 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5374 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5375 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5376 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5377 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5378 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5379 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5380 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5381 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5382 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5383 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5384 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5385 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5386 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5387
53882014-05-13 Andreas Schwab <schwab@suse.de>
5389
5390 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5391
53922014-05-12 Joseph Myers <joseph@codesourcery.com>
5393
5394 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5395 (__ASSUME_UTIMES): Do not condition on kernel version.
5396 (__ASSUME_PSELECT): Define unconditionally.
5397 (__ASSUME_PPOLL): Likewise.
5398 (__ASSUME_ATFCTS): Likewise.
5399 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5400 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5401 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5402 (__ASSUME_UTIMENSAT): Define unconditionally.
5403 (__ASSUME_PRIVATE_FUTEX): Likewise.
5404 (__ASSUME_FALLOCATE): Likewise.
5405 (__ASSUME_O_CLOEXEC): Likewise.
5406 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5407 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5408 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5409 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5410 (__ASSUME_IN_NONBLOCK): Likewise.
5411 (__ASSUME_PIPE2): Likewise.
5412 (__ASSUME_EVENTFD2): Likewise.
5413 (__ASSUME_SIGNALFD4): Likewise.
5414 (__ASSUME_DUP3): Likewise.
5415 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5416 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5417 (__ASSUME_AT_RANDOM): Likewise.
5418 (__ASSUME_PREADV): Likewise.
5419 (__ASSUME_PWRITEV): Likewise.
5420 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5421 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5422 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5423 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5424 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5425 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5426 (__ASSUME_O_CLOEXEC): Define unconditionally.
5427 (__ASSUME_PSELECT): Do not undefine conditionally.
5428 (__ASSUME_PPOLL): Likewise.
5429 (__ASSUME_ATFCTS): Likewise.
5430 (__ASSUME_SET_ROBUST_LIST): Likewise.
5431 (__ASSUME_UTIMENSAT): Likewise.
5432 (__ASSUME_FDATASYNC): Define unconditionally.
5433 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5434 (__ASSUME_SIGFRAME_V2): Likewise.
5435 )__ASSUME_EVENTFD2): Likewise.
5436 (__ASSUME_SIGNALFD4): Likewise.
5437 (__ASSUME_PSELECT): Do not undefine conditionally.
5438 (__ASSUME_PPOLL): Likewise.
5439 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5440 (__ASSUME_PSELECT): Define unconditionally.
5441 (__ASSUME_PPOLL): Likewise.
5442 (__ASSUME_O_CLOEXEC): Likewise.
5443 (__ASSUME_SOCK_CLOEXEC): Likewise.
5444 (__ASSUME_IN_NONBLOCK): Likewise.
5445 (__ASSUME_PIPE2): Likewise.
5446 (__ASSUME_EVENTFD2): Likewise.
5447 (__ASSUME_SIGNALFD4): Likewise.
5448 (__ASSUME_DUP3): Likewise.
5449 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5450 (__ASSUME_O_CLOEXEC): Likewise.
5451 (__ASSUME_SOCK_CLOEXEC): Likewise.
5452 (__ASSUME_IN_NONBLOCK): Likewise.
5453 (__ASSUME_PIPE2): Likewise.
5454 (__ASSUME_EVENTFD2): Likewise.
5455 (__ASSUME_SIGNALFD4): Likewise.
5456 (__ASSUME_DUP3): Likewise.
5457 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5458 (__ASSUME_EVENTFD2): Likewise.
5459 (__ASSUME_SIGNALFD4): Likewise.
5460 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5461
54622014-05-12 Andreas Schwab <schwab@suse.de>
5463
5464 [BZ #16932]
5465 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5466 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5467 than maximum RPC packet size.
5468 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5469 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5470 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5471 (_nss_nis_getservbyport_r): Likewise.
5472
54732014-05-12 Will Newton <will.newton@linaro.org>
5474
5475 * malloc/Makefile (tests): Add tst-mallopt.
5476 * malloc/tst-mallopt.c: New file.
5477
54782014-05-09 Roland McGrath <roland@hack.frob.com>
5479
5480 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5481 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5482
54832014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5484
5485 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5486 (tst-tlsmod6.so): Likewise.
5487
54882014-05-09 Roland McGrath <roland@hack.frob.com>
5489
5490 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5491
54922014-05-09 Joseph Myers <joseph@codesourcery.com>
5493
5494 [BZ #16064]
5495 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5496 and <dl-procinfo.h>.
5497 (__fegetenv): Save SSE state in envp->__eip if supported.
5498 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5499 envp->__eip if supported.
5500 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5501 and <dl-procinfo.h>.
5502 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5503 __data_offset and __data_selector in environment to 0. Set SSE
5504 state if supported.
5505 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5506 test-fenv-sse.
5507 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5508 -mfpmath=sse.
5509 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5510
55112014-05-09 Will Newton <will.newton@linaro.org>
5512
5513 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5514 and libc_relro_required for ARM.
5515 * sysdeps/arm/preconfigure: Regenerate.
5516
55172014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5518 Stefan Liebler <stli@linux.vnet.ibm.com>
5519
5520 * config.make.in (enable-lock-elision): New Makefile variable.
5521 * configure.ac: Likewise.
5522 * configure: Regenerate.
5523 * sysdeps/s390/configure.ac:
5524 Add check for gcc transactions support.
5525 * sysdeps/s390/configure: Regenerate.
5526 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5527 Build elision files if enabled.
5528 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5529 Add lock elision support for s390.
5530 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5531 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5532 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5533 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5534 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5535 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5536 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5537 Likewise.
5538 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5539 Likewise.
5540 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5541 Likewise.
5542 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5543 Likewise.
5544 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5545 (__lll_timedlock_elision, __lll_lock_elision)
5546 (__lll_unlock_elision, __lll_trylock_elision)
5547 (lll_timedlock_elision, lll_lock_elision)
5548 (lll_unlock_elision, lll_trylock_elision): Add.
5549 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5550 (pthread_mutex_t): Add lock elision support for s390.
5551
55522014-05-14 Wilco <wdijkstr@arm.com>
5553
5554 * sysdeps/arm/fclrexcpt.c: Cleanup.
5555 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5556 * sysdeps/arm/feenablxcpt.c: Cleanup.
5557 * sysdeps/arm/fegetenv.c: Cleanup.
5558 * sysdeps/arm/fegetexcept.c: Cleanup.
5559 * sysdeps/arm/fegetround.c: Cleanup.
5560 * sysdeps/arm/feholdexcpt.c: Cleanup.
5561 * sysdeps/arm/fesetenv.c: Cleanup.
5562 * sysdeps/arm/fesetround.c: Cleanup.
5563 * sysdeps/arm/feupdateenv.c: Cleanup.
5564 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5565 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5566 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5567 * sysdeps/arm/ftestexcept.c: Cleanup.
5568 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5569 * sysdeps/arm/setfpucw.c: Cleanup.
5570
55712014-05-09 Will Newton <will.newton@linaro.org>
5572
5573 * sysdeps/arm/armv7/strcmp.S: New file.
5574 * NEWS: Mention addition of ARMv7 optimized strcmp.
5575
55762014-05-08 Roland McGrath <roland@hack.frob.com>
5577
5578 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5579 look for %.ac rather than %.in.
5580
5581 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5582 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5583 * sysdeps/mach/hurd/configure: Regenerated.
5584 * sysdeps/unix/sysv/linux/configure: Regenerated.
5585
5586 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5587
55882014-05-07 Steve Ellcey <sellcey@mips.com>
5589
5590 [BZ# 16922]
5591 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5592 (LONG_SUB): Ditto.
5593 (PTR_SUB): Ditto.
5594
55952014-05-07 Andreas Schwab <schwab@suse.de>
5596
5597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5598 when skipping over non-matching result from nscd.
5599
56002014-05-07 Ondřej Bílka <neleai@seznam.cz>
5601
5602 [BZ #16876]
5603 * nptl/sockperf.c (client): Check socket return value.
5604
5605 [BZ #16877]
5606 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5607 nscd security class.
5608
56092014-05-06 Roland McGrath <roland@hack.frob.com>
5610
5611 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5612 * sysdeps/arm/unwind.h: ... here.
5613
56142014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5615
5616 [BZ# 16916]
5617 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5618 Define.
5619
56202014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5621
5622 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5623 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5624 multiarch strncpy for PPC64.
5625 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5626 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5628 multiarch optimizations.
5629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5630 (__libc_ifunc_impl_list): Likewise.
5631 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5632 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5633 multiarch stpncpy for PPC64.
5634 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5635 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5636
56372014-05-06 Andreas Schwab <schwab@suse.de>
5638
5639 [BZ #16912]
5640 * gmon/mcount.c (_MCOUNT_DECL): Use
5641 atomic_compare_and_exchange_bool_acq instead of
5642 catomic_compare_and_exchange_bool_acq.
5643
56442014-05-05 Roland McGrath <roland@hack.frob.com>
5645
5646 * elf/Makefile (others, install-bin): Remove pldd.
5647 (pldd-modules): Variable removed.
5648 ($(objpfx)pldd): Target removed.
5649 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5650 (others, install-bin): Append pldd here.
5651 ($(objpfx)pldd): New target.
5652
5653 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5654 to 0, so the first #if test emitted later doesn't see it undefined.
5655 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5656 * sysdeps/gnu/errlist.c: Regenerated.
5657
56582014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5659
5660 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5661 [libc_hidden_builtin_def]: Define to empty value.
5662 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5663 [libc_hidden_builtin_def]: Likewise.
5664 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5665 [libc_hidden_builtin_def]: Likewise.
5666 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5667 [libc_hidden_builtin_def]: Likewise.
5668 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5669 __redirect_memcpy and define ifunc as default hidden symbol.
5670 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5671 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5672
56732014-05-04 Adam Conrad <adconrad@0c3.net>
5674
5675 * locale/iso-4217.def: Reintroduce XDR currency.
5676
56772014-05-04 Allan McRae <allan@archlinux.org>
5678
5679 * po/eo.po: Update Esperanto translation from translation project.
5680
56812014-05-02 Carlos O'Donell <carlos@redhat.com>
5682
5683 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5684 and FEATURE_INDEX_MAX to 1.
5685 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5686
56872014-05-01 Steve Ellcey <sellcey@mips.com>
5688
5689 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5690 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5691 * iconvdata/big5.c (ONE_DIRECTION): Define.
5692 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5693 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5694 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5695 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5696 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5697 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5698 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5699 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5700 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5701 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5702 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5703 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5704 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5705 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5706 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5707 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5708 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5709 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5710 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5711 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5712 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5713 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5714 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5715 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5716 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5717 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5718 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5719 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5720 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5721 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5722 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5723 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5724 * iconvdata/johab.c (ONE_DIRECTION): Define.
5725 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5726 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5727 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5728 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5729 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5730 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5731 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5732 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5733 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5734 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5735
57362014-05-01 Roland McGrath <roland@hack.frob.com>
5737
5738 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5739 (_IO_JUMPS_OFFSET): Define to 0.
5740
5741 * nptl/sysdeps/pthread/bits/libc-lock.h
5742 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5743 (__libc_lock_define_initialized_recursive): Always define using
5744 initializer. Modern compilers treat uninitialized (implicit zero) and
5745 explicit zero initializers the same (i.e. put the datum in bss).
5746
57472014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5748
5749 * nscd/nscd-client.h: Include <string.h>.
5750
57512014-05-01 David S. Miller <davem@davemloft.net>
5752
5753 [BZ #16885]
5754 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5755 multiple zero bytes exist at the end of a string.
5756 Reported by Aurelien Jarno <aurelien@aurel32.net>
5757
5758 * string/test-strcmp.c (check): Add explicit test for situations where
5759 there are multiple zero bytes after the first.
5760
57612014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5762
5763 [BZ #16890]
5764 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5765 when compiling wprintf.
5766 * stdio-common/tstdiomisc.c (t3): New function.
5767 (main): Call it.
5768
57692014-05-01 Steve Ellcey <sellcey@mips.com>
5770
5771 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5772 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5773 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5774 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5775
57762014-05-01 Steve Ellcey <sellcey@mips.com>
5777
5778 * stdlib/longlong.h: Updated from GCC.
5779
57802014-05-01 Will Newton <will.newton@linaro.org>
5781 Bernard Ogden <bernie.ogden@linaro.org>
5782
5783 * NEWS: Update fixed bug list.
5784
5785 [BZ #15119]
5786 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5787
57882014-04-30 David S. Miller <davem@davemloft.net>
5789
5790 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5791 (libc_feholdexcept_setround_sparc_ctx): New function.
5792 (libc_fesetenv_sparc_ctx): Likewise.
5793 (libc_feupdateenv_sparc_ctx): Likewise.
5794 (libc_feholdsetround_sparc_ctx): Likewise.
5795 (libc_feholdexcept_setround_ctx): Define.
5796 (libc_feholdexcept_setroundf_ctx): Likewise.
5797 (libc_feholdexcept_setroundl_ctx): Likewise.
5798 (libc_fesetenv_ctx): Likewise.
5799 (libc_fesetenvf_ctx): Likewise.
5800 (libc_fesetenvl_ctx): Likewise.
5801 (libc_feupdateenv_ctx): Likewise.
5802 (libc_feupdateenvf_ctx): Likewise.
5803 (libc_feupdateenvl_ctx): Likewise.
5804 (libc_feresetround_ctx): Likewise.
5805 (libc_feresetroundf_ctx): Likewise.
5806 (libc_feresetroundl_ctx): Likewise.
5807 (libc_feholdsetround_ctx): Likewise.
5808 (libc_feholdsetroundf_ctx): Likewise.
5809 (libc_feholdsetroundl_ctx): Likewise.
5810
5811 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5812 with __USE_GNU instead of XOPEN cpp guards.
5813
5814 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5815 0.
5816
5817 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5818 with XOPEN cpp guards.
5819
58202014-04-30 Julian Brown <julian@codesourcery.com>
5821
5822 [BZ #16888]
5823 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5824 handling.
5825
58262014-04-30 Joseph Myers <joseph@codesourcery.com>
5827
5828 [BZ #9894]
5829 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5830 Change to 2.6.32.
5831 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5832 * sysdeps/unix/sysv/linux/configure: Regenerated.
5833 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5834 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5835 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5836 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5837 * README: Update reference to required Linux kernel version.
5838 * manual/install.texi (Linux): Update reference to required Linux
5839 kernel headers version.
5840 * INSTALL: Regenerated.
5841
5842 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5843 header inclusion.
5844 [POSIX] (limits.h): Likewise.
5845 [POSIX] (math.h): Likewise.
5846 [POSIX] (sys/wait.h): Likewise.
5847 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5848 function.
5849 [POSIX] (stddef.h): Do not allow header inclusion.
5850
58512014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852
5853 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5854
58552014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5856
5857 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5858 Return immediately after lll_futex_wake.
5859
58602014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5861
5862 [BZ #16791]
5863 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5864 structure.
5865 (datahead_init_pos): Call datahead_init_common early.
5866 (datahead_init_neg): Likewise.
5867
5868 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5869 datahead_init_neg): New functions.
5870 * nscd/aicache.c (addhstaiX): Use them.
5871 * nscd/grpcache.c (cache_addgr): Likewise.
5872 * nscd/hstcache.c (cache_addhst): Likewise.
5873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5874 * nscd/netgroupcache.c (do_notfound): Likewise.
5875 (addgetnetgrentX): Likewise.
5876 (addinnetgrX): Likewise.
5877 * nscd/pwdcache.c (cache_addpw): Likewise.
5878 * nscd/servicescache.c (cache_addserv): Likewise.
5879
58802014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5881 Atsushi Onoe <atsushi@onoe.org>
5882
5883 [BZ #14308]
5884 [BZ #12994]
5885 [BZ #13651]
5886 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5887 one response is valid.
5888 * resolv/res_send.c (send_dg): Check for validity of other
5889 response if the current response is a referral.
5890
58912014-04-29 Steve Ellcey <sellcey@mips.com>
5892
5893 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5894
58952014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5896
5897 [BZ #16823]
5898 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5899 Always divide by positive zero when computing -Inf result.
5900 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5901 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5902
59032014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5904
5905 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5906 FPSCR if value do not change.
5907 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5908 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5909 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5910 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5911 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5912 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5913 function.
5914
59152014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5916
5917 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5918 * sysdeps/unix/sysv/linux/hppa: Move directory from
5919 ports/systeps/unix/sysv/linux/hppa.
5920 * README: Update listing for hppa-*-linux-gnu.
5921
59222014-04-28 Ondřej Bílka <neleai@seznam.cz>
5923
5924 [BZ #16754]
5925 * manual/stdio.texi (Hook functions): Fix types of stream hook
5926 functions.
5927 [BZ #16854]
5928 * socket/sys/socket.h: Fix typo in comment.
5929
59302014-04-28 Wilco <wdijkstr@arm.com>
5931
5932 * sysdeps/arm/fenv_private.h: New file.
5933 * sysdeps/arm/math_private.h: New file.
5934 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5935
59362014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5937
5938 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5939 with __int128_t.
5940 (La_x86_64_retval): Likewise.
5941
59422014-04-24 Ian Bolton <ian.bolton@arm.com>
5943
5944 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5945 fpsr if value didn't change.
5946 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5947 to fpcr if value didn't change.
5948 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5949 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5950 fpsr or fpcr if value didn't change.
5951 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5952 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5953 fpcr if value didn't change.
5954 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5955 to fpsr if value didn't change.
5956
59572014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5958
5959 * nptl/tst-sem3.c: Use test-skeleton.c
5960 (main): Rename to do_test. Use return instead of
5961 exit.
5962 * nptl/tst-sem4.c: Use test-skeleton.c
5963 (main): Rename to do_test.
5964
59652014-04-22 David S. Miller <davem@davemloft.net>
5966
5967 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5968 (struct sigaction): New struct member __glibc_reserved0, change
5969 type of sa_flags to int.
5970
59712014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5972
5973 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5974 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5975
59762014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5977
5978 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5979 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5980
59812014-04-22 Will Newton <will.newton@linaro.org>
5982 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5983
5984 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5985 (__longjmp): Add longjmp and longjmp_target SystemTap
5986 probes.
5987 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5988 (__sigsetjmp): Add setjmp SystemTap probe.
5989
59902014-04-17 Carlos O'Donell <carlos@redhat.com>
5991
5992 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5993 match manual order.
5994
59952014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5996
5997 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5998
5999 * sysdeps/powerpc/fpu/fenv_private.h
6000 (libc_feholdexcept_setroundl_ctx): Define to
6001 libc_feholdexcept_setround_ppc_ctx.
6002 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6003 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6004 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6005 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6006
60072014-04-17 Ian Bolton <ian.bolton@arm.com>
6008
6009 * sysdeps/aarch64/math-tests.h: New file.
6010
60112014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6012
6013 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6014 New.
6015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6016 Check and set bit_AVX2_Usable.
6017 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6018 macro.
6019 (bit_AVX2): Likewise.
6020 (index_AVX2_Usable): Likewise.
6021 (CPUID_AVX2): Likewise.
6022 (HAS_AVX2): Likewise.
6023
60242014-04-17 Will Newton <will.newton@linaro.org>
6025
6026 * manual/setjmp.texi (System V contexts): Add note that
6027 calling setcontext on a context created by a call to a
6028 signal handler is undefined. Update text to note that
6029 setcontext from a signal handler is possible but not
6030 recommended.
6031
6032 [BZ #16629]
6033 * stdlib/tst-setcontext.c: Include signal.h.
6034 (main): Check that the signal stack before and
6035 after swapcontext is the same.
6036
6037 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6038 Re-implement to restore registers in user code and avoid
6039 rt_sigreturn system call.
6040
60412014-04-17 Wilco <wdijkstr@arm.com>
6042
6043 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6044 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6045 * math/test-fenv.c: Skip exception trap tests on targets which only
6046 support non-stop mode.
6047
60482014-04-17 Ian Bolton <ian.bolton@arm.com>
6049 Wilco Dijkstra <wilco.dijkstra@arm.com>
6050
6051 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6052 (libc_feholdsetround_aarch64_ctx)
6053 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6054 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6055 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6056 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6057 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6058 (libc_feresetround_noexl_ctx): Define.
6059
60602014-04-16 Richard Henderson <rth@redhat.com>
6061
6062 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6063
6064 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6065 unwind tables.
6066
6067 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6068 const from the non-libc, non-ldso copy.
6069
6070 * sysdeps/alpha/libm-test-ulps: Regenerate.
6071
60722014-04-16 Ian Bolton <ian.bolton@arm.com>
6073 Wilco Dijkstra <wilco.dijkstra@arm.com>
6074
6075 * sysdeps/aarch64/fpu/math_private.h: New file.
6076
60772014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6078
6079 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6080
60812014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6082
6083 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6084 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6086 Intel MPX bound registers before _dl_profile_fixup.
6087 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6088 registers after _dl_profile_fixup. Save and restore bound
6089 registers bnd0/bnd1 when calling _dl_call_pltexit.
6090 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6091 (LR_BND_OFFSET): Likewise.
6092 (LRV_BND0_OFFSET): Likewise.
6093 (LRV_BND1_OFFSET): Likewise.
6094
60952014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6096
6097 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6098 to...
6099 * sysdeps/mach/hurd/i386/tls.h: ... here.
6100 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6101 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6102 fields.
6103
61042014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6105
6106 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6107
61082014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6109
6110 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6111
61122014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6113
6114 [BZ #14770]
6115 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6116 * sysdeps/s390/configure: Regenerate.
6117
6118 [BZ #16824]
6119 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6120 Set round-to-nearest internally to reduce error accumulation.
6121
61222014-04-16 Alan Modra <amodra@gmail.com>
6123
6124 [BZ #16740]
6125 [BZ #16619]
6126 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6127 * math/libm-test.inc (frexp_test_data): Add tests.
6128 * NEWS: Update fixed bug list.
6129
61302014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6131
6132 * benchtests/Makefile: Depend on libraries in build directory.
6133 (bench-math): Separate out math tests.
6134 (bench-pthread): Separate out pthread tests.
6135 (bench): Include math and pthread tests.
6136
61372014-04-14 Carlos O'Donell <carlos@redhat.com>
6138
6139 [BZ #16831]
6140 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6141 _dl_debug_initialize.
6142
6143 * configure.ac: Remove SELinux header check.
6144 * configure: Regenerate.
6145 * nscd/selinux.c (perms): Array of const char* to permission names.
6146 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6147 default policy. Call string_to_security_class and string_to_av_perm to
6148 translate strings. Enforce default policy and call avs_has_perm with
6149 results of translated strings.
6150
61512014-04-13 David S. Miller <davem@davemloft.net>
6152
6153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6154
61552014-04-12 Allan McRae <allan@archlinux.org>
6156
6157 [BZ #16838]
6158 * manual/string.texi (Collation Functions): Fix qsort argument
6159 order in example.
6160 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6161
61622014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6163
6164 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6165 Make the test a no-op if there are no exceptions defined.
6166
61672014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6168
6169 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6170 enable-hardcoded-path-in-tests
6171
61722014-04-11 Will Newton <will.newton@linaro.org>
6173
6174 * benchtests/Makefile (extra-objs): Add json-lib.o.
6175 (bench-func): Tidy up JSON output.
6176 * benchtests/bench-skeleton.c: Include json-lib.h.
6177 (main): Use JSON library functions to do output of
6178 benchmark results.
6179 * benchtests/bench-timing-type.c (main): Output the
6180 timing type simply, leaving formatting to the user.
6181 * benchtests/json-lib.c: New file.
6182 * benchtests/json-lib.h: Likewise.
6183
61842014-04-11 Torvald Riegel <triegel@redhat.com>
6185
6186 [BZ #15215]
6187 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6188 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6189 memory barriers. Add comments.
6190 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6191 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6192 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6193 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6194 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6195 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6196
61972014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6198
6199 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6200 * sysdeps/s390/s390-64/configure.ac: ... this ...
6201 * sysdeps/s390/configure.ac: ... to here.
6202 * sysdeps/s390/s390-32/configure: Delete file.
6203 * sysdeps/s390/s390-64/configure: Delete file.
6204 * sysdeps/s390/configure: Regenerate.
6205
62062014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6207
6208 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6209
62102014-04-11 Will Newton <will.newton@linaro.org>
6211
6212 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6213 to zero if it is not defined elsewhere. (mtrim): Test
6214 the value of MALLOC_DEBUG with #if rather than #ifdef.
6215
62162014-04-10 Torvald Riegel <triegel@redhat.com>
6217
6218 * benchtests/pthread_once-inputs: New file.
6219 * benchtests/pthread_once-source.c: New file.
6220 * benchtests/README: Update documentation.
6221
62222014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6223 H.J. Lu <hongjiu.lu@intel.com>
6224
6225 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6226 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6227 * sysdeps/x86_64/configure: Regenerated.
6228 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6229 macro.
6230 (REGISTER_SAVE_RAX): Likewise.
6231 (REGISTER_SAVE_RCX): Likewise.
6232 (REGISTER_SAVE_RDX): Likewise.
6233 (REGISTER_SAVE_RSI): Likewise.
6234 (REGISTER_SAVE_RDI): Likewise.
6235 (REGISTER_SAVE_R8): Likewise.
6236 (REGISTER_SAVE_R9): Likewise.
6237 (REGISTER_SAVE_BND0): Likewise.
6238 (REGISTER_SAVE_BND1): Likewise.
6239 (REGISTER_SAVE_BND2): Likewise.
6240 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6241 bound registers when calling _dl_fixup.
6242
62432014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244
6245 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6246 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6247 of its definition.
6248 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6249 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6250 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6251 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6252 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6253 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6254 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6255
62562014-04-09 Peter Brett <peter@peter-b.co.uk>
6257
6258 [BZ #15514]
6259 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6260 pathconf(_PC_NAME_MAX).
6261
62622014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6263
6264 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6265 Remove macro usage.
6266 (__PTHREAD_SPINS): Move definition to ...
6267 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6268 (__PTHREAD_SPINS): ... here.
6269 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6270 (__PTHREAD_SPIN): Likewise.
6271 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6272 (__PTHREAD_SPIN): Likewise.
6273 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6274 (__PTHREAD_SPIN): Likewise.
6275 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6276 (__PTHREAD_SPIN): Likewise.
6277 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6278 (__PTHREAD_SPIN): Likewise.
6279 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6280 (__PTHREAD_SPIN): Likewise.
6281 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6282 (__PTHREAD_SPIN): Likewise.
6283 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6284 (__PTHREAD_SPIN): Likewise.
6285 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6286 (__PTHREAD_SPIN): Likewise.
6287 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6288 (__PTHREAD_SPIN): Likewise.
6289 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6290 (__PTHREAD_SPIN): Likewise.
6291 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6292 (__PTHREAD_SPIN): Likewise.
6293
6294 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6295 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6296 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6297 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6298 imply folder.
6299 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6300 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6301 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6302 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6303 correct imply path.
6304 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6305 strlen symbol for non multi-arch builds.
6306 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6307 missing hidden_def and weak_alias.
6308
63092014-04-08 Carlos O'Donell <carlos@redhat.com>
6310
6311 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6312
63132014-04-07 Will Newton <will.newton@linaro.org>
6314
6315 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6316 and contents. [!_LIBC] Remove #ifndef and contents.
6317 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6318 * string/memccpy.c (__memccpy): Use ANSI prototype.
6319 * string/memfrob.c (memfrob): Likewise.
6320 * string/strcoll.c (STRCOLL): Likewise.
6321 * string/strlen.c (strlen): Likewise.
6322 * string/strtok.c (STRTOK): Likewise.
6323 * string/strcat.c: Remove unused #include of memcopy.h.
6324 (strcat): Use ANSI prototype.
6325 * string/strchr.c: Remove unused #include of memcopy.h.
6326 (strchr): Use ANSI prototype.
6327 * string/strcmp.c: Remove unused #include of memcopy.h.
6328 (strcmp): Use ANSI prototype.
6329 * string/strcpy.c: Remove unused #include of memcopy.h.
6330 (strcpy): Use ANSI prototype.
6331
63322014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6333
6334 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6335 * config.make.in (config-extra-cppflags): Set it from
6336 libc_extra_cppflags.
6337 * configure.ac (libc_extra_cflags): Make it accumulate over
6338 configure fragments.
6339 (libc_extra_cppflags): New flag.
6340 * configure. Regenerate.
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6342 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6343 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6345
6346 [BZ #16815]
6347 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6348 result for FE_DOWNWARD rounding mode.
6349 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6350 Likewise.
6351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6352
63532014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6354
6355 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6356 in function argument name.
6357
63582014-04-03 David Svoboda <svoboda@cert.org>
6359
6360 [BZ #5666]
6361 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6362 explicitly.
6363
63642014-04-03 Roland McGrath <roland@hack.frob.com>
6365
6366 * elf/dl-unmap-segments.h: New file.
6367 * sysdeps/generic/ldsodefs.h
6368 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6369 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6370 * elf/dl-fptr.c: Likewise.
6371 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6372 * sysdeps/aarch64/tlsdesc.c: Likewise.
6373 * sysdeps/arm/tlsdesc.c: Likewise.
6374 * sysdeps/i386/tlsdesc.c: Likewise.
6375 * sysdeps/tile/dl-runtime.c: Likewise.
6376 * sysdeps/x86_64/tlsdesc.c: Likewise.
6377 * elf/dl-load.h: New file.
6378 * elf/dl-load.c: Include it.
6379 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6380 Macros moved to dl-load.h.
6381 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6382 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6383 Use _dl_unmap_segments in place of __munmap.
6384 Break out segment-mapping loop into ...
6385 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6386
63872014-04-03 Will Newton <will.newton@linaro.org>
6388
6389 * elf/dl-lookup.c (do_lookup_x): Remove comment
6390 referring to nested function and move variable
6391 declarations down to before first use.
6392
63932014-04-02 Joseph Myers <joseph@codesourcery.com>
6394
6395 [BZ #16799]
6396 [BZ #16800]
6397 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6398 with 0 numerator.
6399 * math/s_catanf.c (__catanf): Likewise.
6400 * math/s_catanh.c (__catanh): Likewise.
6401 * math/s_catanhf.c (__catanhf): Likewise.
6402 * math/s_catanhl.c (__catanhl): Likewise.
6403 * math/s_catanl.c (__catanl): Likewise.
6404 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6405 by positive zero when computing -Inf result.
6406 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6407 (catanh_test): Likewise.
6408 * sysdeps/i386/fpu/libm-test-ulps: Update.
6409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6410
6411 [BZ #16789]
6412 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6413 instead of using underflowing value in computing result.
6414 * math/s_clog10.c (__clog10): Likewise.
6415 * math/s_clog10f.c (__clog10f): Likewise.
6416 * math/s_clog10l.c (__clog10l): Likewise.
6417 * math/s_clogf.c (__clogf): Likewise.
6418 * math/s_clogl.c (__clogl): Likewise.
6419 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6420 (clog10_test): Likewise.
6421 * sysdeps/i386/fpu/libm-test-ulps: Update.
6422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6423
64242014-04-02 Alan Modra <amodra@gmail.com>
6425
6426 [BZ #16739]
6427 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6428 output when value is near a power of two. Use int64_t for lx and
6429 remove casts. Use decimal rather than hex exponent constants.
6430 Don't use long double multiplication when double will suffice.
6431 * math/libm-test.inc (nextafter_test_data): Add tests.
6432 * NEWS: Add 16739 and 16786 to bug list.
6433
6434 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6435
6436 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6437
64382014-04-01 Will Newton <will.newton@linaro.org>
6439
6440 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6441 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6442
64432014-04-01 Florian Weimer <fweimer@redhat.com>
6444
6445 [BZ #13347]
6446 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6447 * nptl/tst-setuid2.c: New file.
6448 * nptl/Makefile (xtests): Add tst-setuid2.
6449
64502014-04-01 Alan Modra <amodra@gmail.com>
6451
6452 [BZ #16786]
6453 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6454
64552014-03-31 Joseph Myers <joseph@codesourcery.com>
6456
6457 [BZ #6803]
6458 [BZ #6804]
6459 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6460 set errno as appropriate.
6461 * math/w_scalbf.c (__scalbf): Likewise.
6462 * math/w_scalbl.c (__scalbl): Likewise.
6463 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6464 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6465 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6466 Add more NaN tests.
6467
6468 [BZ #16349]
6469 * math/w_atan2.c: Include <errno.h>.
6470 (__atan2): Set errno for result underflowing to zero.
6471 * math/w_atan2f.c: Include <errno.h>.
6472 (__atan2f): Set errno for result underflowing to zero.
6473 * math/w_atan2l.c: Include <errno.h>.
6474 (__atan2l): Set errno for result underflowing to zero.
6475 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6476 tests.
6477 * math/auto-libm-test-out: Regenerated.
6478
64792014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6482 Encode instruction correctly in little endian.
6483 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6484 Likewise.
6485 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6486 Likewise.
6487 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6488 Likewise.
6489 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6490 Likewise.
6491
64922014-03-31 Joseph Myers <joseph@codesourcery.com>
6493
6494 [BZ #9894]
6495 * sysdeps/unix/sysv/linux/kernel-features.h
6496 [__sparc__ && !__arch64__ && !__sparc_v9__]
6497 (__ASSUME_SET_ROBUST_LIST): Do not define.
6498 [__sparc__ && !__arch64__ && !__sparc_v9__]
6499 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6500 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6501 Likewise.
6502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6503 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6504 (__ASSUME_REQUEUE_PI): Likewise.
6505 (__ASSUME_SET_ROBUST_LIST): Likewise.
6506 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6507 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6508 Undefine.
6509 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6510 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6511 Likewise.
6512 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6513 Likewise.
6514 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6515 Likewise.
6516 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6517 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6518 Undefine.
6519 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6520 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6521 Likewise.
6522
6523 [BZ #16648]
6524 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6525 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6526 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6527
65282014-03-31 Will Newton <will.newton@linaro.org>
6529
6530 * benchtests/Makefile (bench): Add ffs and ffsll to list
6531 of tests.
6532 * benchtests/ffs-inputs: New file.
6533 * benchtests/ffsll-inputs: Likewise.
6534
65352014-03-29 Joseph Myers <joseph@codesourcery.com>
6536
6537 [BZ #16770]
6538 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6539 too large before casting to int.
6540 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6541 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6542 * math/libm-test.inc (scalb_test_data): Add more tests.
6543
65442014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6545
6546 * benchtests/Makefile (DETAILED_OPT): New make option.
6547 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6548 set.
6549 * benchtests/bench-skeleton.c: Include stdbool.h.
6550 (main): Store and print timings per input.
6551 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6552 member to each argument value.
6553 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6554 (_print_arg_data): Initialize per-input timing to 0.
6555
6556 * benchtests/Makefile (timing-type): New binary.
6557 (bench-clean): Also remove bench-timing-type.
6558 (bench): New target for timing-type.
6559 (bench-func): Print output in JSON format.
6560 * benchtests/bench-skeleton.c (main): Print output in JSON
6561 format.
6562 * benchtests/bench-timing-type.c: New file.
6563 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6564 (TIMING_PRINT_STATS): Remove.
6565 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6566 name separately.
6567
6568 * benchtests/bench-modf.c: Remove.
6569 * benchtests/modf-inputs: New inputs file.
6570
65712014-03-28 Joseph Myers <joseph@codesourcery.com>
6572
6573 [BZ #16362]
6574 * math/s_clog10.c (M_PI_LOG10E): New macro.
6575 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6576 imaginary parts are 0.
6577 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6578 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6579 imaginary parts are 0.
6580 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6581 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6582 imaginary parts are 0.
6583 * math/libm-test.inc (clog10_test_data): Update expected results
6584 for when real and imaginary parts are 0.
6585
65862014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6587
6588 * elf/dl-load.c: Finish conversion of __builtin_expect into
6589 __glibc_{un}likely.
6590
65912014-03-27 Joseph Myers <joseph@codesourcery.com>
6592
6593 [BZ #16348]
6594 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6595 1+x for argument with exponent below -67.
6596 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6597 Likewise.
6598 * math/auto-libm-test-in: Add more tests of exp.
6599 * math/auto-libm-test-out: Regenerated.
6600
66012014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6602
6603 [BZ #16759]
6604 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6605 (nscd_getnetgrent): Use it.
6606
6607 [BZ #16760]
6608 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6609 of stpcpy.
6610
66112014-03-27 Andi Kleen <ak@linux.intel.com>
6612
6613 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6614 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6615 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6616 (lll_robust_unlock): Remove out of line section. Use cfi
6617 intrinsics.
6618 (LLL_STUB_UNWIND_INFO*): Remove.
6619 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6620 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6621 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6622 (lll_robust_unlock): Remove out of line section. Use cfi
6623 intrinsics.
6624 (LLL_STUB_UNWIND_INFO*): Remove.
6625
66262014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6627
6628 [BZ #16758]
6629 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6630 blank values.
6631
66322014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6633
6634 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6635
66362014-03-26 Joseph Myers <joseph@codesourcery.com>
6637
6638 [BZ #16198]
6639 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6640 fnstenv.
6641 * math/test-fenv-preserve.c: New file.
6642 * math/Makefile (tests): Add test-fenv-preserve.
6643
66442014-03-26 Will Newton <will.newton@linaro.org>
6645
6646 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6647
66482014-03-25 Roland McGrath <roland@hack.frob.com>
6649
6650 * scripts/versionlist.awk: Partition the version sets and emit all
6651 GLIBC_* (sorted) before all others (sorted).
6652
66532014-03-25 Joseph Myers <joseph@codesourcery.com>
6654
6655 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6656 GLIBC_2.2.5 version.
6657
66582014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659
6660 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6661 calls.
6662
6663 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6664 previous change.
6665
6666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6667
66682014-03-25 Andreas Schwab <schwab@suse.de>
6669
6670 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6671 label to be used after in6ailist is initialized.
6672
66732014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6674
6675 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6676 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6677
66782014-03-25 Joseph Myers <joseph@codesourcery.com>
6679
6680 [BZ #16357]
6681 [BZ #16599]
6682 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6683 min_plus_half.
6684 (fp_formats): Update initializers.
6685 (init_fp_formats): Initialize new field.
6686 (output_for_one_input_case): Allow underflow for results up to
6687 min_plus_half.
6688 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6689 * math/auto-libm-test-in: Don't mark some underflows from asin and
6690 atanh as spurious.
6691 * math/auto-libm-test-out: Regenerated.
6692 * sysdeps/i386/fpu/libm-test-ulps: Update.
6693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6694
66952014-03-25 Andreas Schwab <schwab@suse.de>
6696
6697 * libio/Makefile (tst-ftell-partial-wide-ENV)
6698 (tst-ftell-active-handler-ENV): Define.
6699
67002014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6701
6702 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6703
67042014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6705
6706 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6707
67082014-03-24 Joseph Myers <joseph@codesourcery.com>
6709
6710 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6711 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6712 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6713
67142014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6715
6716 [BZ #16634]
6717 * elf/dl-load.c (open_verify): Add mode parameter.
6718 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6719 (open_path): Change from boolean 'secure' to complete flag 'mode'
6720 (_dl_map_object): Adjust.
6721 * elf/Makefile (tests): Add tst-dlopen-aout.
6722 * elf/tst-dlopen-aout.c: New test.
6723
67242014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6725
6726 [BZ #16714]
6727 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6728 (struct stat): Rename member pad0 to __glibc_reserved0.
6729
6730 [BZ #16712]
6731 * sysdeps/s390/s390-32/bits/wordsize.h
6732 (__WORDSIZE32_SIZE_ULONG): New define.
6733 * sysdeps/s390/s390-64/bits/wordsize.h
6734 (__WORDSIZE32_SIZE_ULONG): Likewise.
6735 * sysdeps/generic/stdint.h (SIZE_MAX):
6736 Define as UL if __WORDSIZE32_SIZE_ULONG.
6737
6738 [BZ #16713]
6739 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6740 (__glibc_reserved0): New variable.
6741 (sa_flags): Change type to int.
6742
6743 * posix/Makefile (before-compile): Use += before-compile instead
6744 of a :=.
6745
6746 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6747 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6748
67492014-03-20 Andreas Schwab <schwab@suse.de>
6750
6751 [BZ #16743]
6752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6753 non-matching result from nscd.
6754
67552014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6756
6757 * scripts/bench.py: Moved to ...
6758 * benchtests/scripts/bench.py: ... here.
6759 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6760
67612014-03-24 Andreas Schwab <schwab@suse.de>
6762
6763 [BZ #16002]
6764 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6765 alloca_account and account alloca use for struct in6ailist.
6766
67672014-03-24 Joseph Myers <joseph@codesourcery.com>
6768
6769 [BZ #16284]
6770 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6771 rounding mode to recompute results that overflow to infinity or
6772 underflow to zero.
6773 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6774 bug 16284.
6775 * math/auto-libm-test-out: Regenerated.
6776 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6777 (ccosh_test): Likewise.
6778 (csin_test_data): Use plus_oflow.
6779 (csin_test): Use ALL_RM_TEST.
6780 (csinh_test_data): Use plus_oflow.
6781 (csinh_test): Use ALL_RM_TEST.
6782 * sysdeps/i386/fpu/libm-test-ulps: Update.
6783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6784
67852014-03-21 Joseph Myers <joseph@codesourcery.com>
6786
6787 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6788 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6789 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6790
6791 [BZ #16731]
6792 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6793 when x - 1 is zero.
6794 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6795 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6796 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6797 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6798 argument is 1.
6799 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6800 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6801 zero.
6802 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6803 * sysdeps/i386/fpu/libm-test-ulps: Update.
6804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6805
68062014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6807
6808 * scripts/bench.pl: Remove file.
6809 * scripts/bench.py: New benchmark script.
6810 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6811 * benchtests/README: Mention python dependency.
6812 * scripts/pylintrc: New file.
6813 * scripts/pylint: New file.
6814
6815 * bits/mathdef.h: Use #ifdef instead of #if.
6816 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6817 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6818 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6819 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6820 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6821 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6822
68232014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6824 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6825
6826 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6828 and strpbrk-ppc64 objects.
6829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6830 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6831 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6832 multiarch strpbrk for POWER7.
6833 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6834 multiarch strpbrk for PPC64.
6835 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6836 ifunc selector.
6837 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6838 strpbrk for POWER7.
6839
68402014-03-20 Joseph Myers <joseph@codesourcery.com>
6841
6842 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6843 (atan_test): Likewise.
6844 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6845 (atanh_test): Use ALL_RM_TEST.
6846 (atan2_test_data): Likewise.
6847 (cabs_test): Likewise.
6848 (cacosh_test): Likewise.
6849 (carg_test): Likewise.
6850 (casin_test): Likewise.
6851 (casinh_test): Likewise.
6852 (cbrt_test): Likewise.
6853 (csqrt_test): Likewise.
6854 (erf_test): Likewise.
6855 (erfc_test): Likewise.
6856 (pow10_test): Likewise.
6857 (exp2_test): Likewise.
6858 (hypot_test): Likewise.
6859 (j0_test): Likewise.
6860 (j1_test): Likewise.
6861 (lgamma_test): Likewise.
6862 (gamma_test): Likewise.
6863 (sincos_test): Likewise.
6864 (tanh_test): Likewise.
6865 (y0_test): Likewise.
6866 (y1_test): Likewise.
6867 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6869
68702014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6871
6872 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6874 and strcspn-ppc64 objects.
6875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6876 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6877 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6878 multiarch strcspn for POWER7.
6879 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6880 multiarch strcspn for PPC64.
6881 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6882 ifunc selector.
6883 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6884 strcspn for POWER7.
6885
68862014-03-20 Joseph Myers <joseph@codesourcery.com>
6887
6888 * math/gen-libm-test.pl (generate_testfile): Expect only function
6889 name as argument to AUTO_TESTS_* and pass results for all rounding
6890 modes to parse_args.
6891 (parse_auto_input): Separate inputs of automatic tests from
6892 outputs before storing in %auto_tests.
6893 * math/libm-test.inc (acos_test_data): Update call to
6894 AUTO_TESTS_f_f.
6895 (acos_test): Use ALL_RM_TEST.
6896 (acos_tonearest_test_data): Remove.
6897 (acos_test_tonearest): Likewise.
6898 (acos_towardzero_test_data): Likewise.
6899 (acos_test_towardzero): Likewise.
6900 (acos_downward_test_data): Likewise.
6901 (acos_test_downward): Likewise.
6902 (acos_upward_test_data): Likewise.
6903 (acos_test_upward): Likewise.
6904 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6905 (asin_test_data): Likewise.
6906 (asin_test): Use ALL_RM_TEST.
6907 (asin_tonearest_test_data): Remove.
6908 (asin_test_tonearest): Likewise.
6909 (asin_towardzero_test_data): Likewise.
6910 (asin_test_towardzero): Likewise.
6911 (asin_downward_test_data): Likewise.
6912 (asin_test_downward): Likewise.
6913 (asin_upward_test_data): Likewise.
6914 (asin_test_upward): Likewise.
6915 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6916 (atan_test_data): Likewise.
6917 (atanh_test_data): Likewise.
6918 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6919 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6920 (carg_test_data): Likewise.
6921 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6922 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6923 (ccosh_test_data): Likewise.
6924 (cexp_test_data): Likewise.
6925 (clog_test_data): Likewise.
6926 (clog10_test_data): Likewise.
6927 (cos_test_data): Update call to AUTO_TESTS_f_f.
6928 (cos_test): Use ALL_RM_TEST.
6929 (cos_tonearest_test_data): Remove.
6930 (cos_test_tonearest): Likewise.
6931 (cos_towardzero_test_data): Likewise.
6932 (cos_test_towardzero): Likewise.
6933 (cos_downward_test_data): Likewise.
6934 (cos_test_downward): Likewise.
6935 (cos_upward_test_data): Likewise.
6936 (cos_test_upward): Likewise.
6937 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6938 (cosh_test): Use ALL_RM_TEST.
6939 (cosh_tonearest_test_data): Remove.
6940 (cosh_test_tonearest): Likewise.
6941 (cosh_towardzero_test_data): Likewise.
6942 (cosh_test_towardzero): Likewise.
6943 (cosh_downward_test_data): Likewise.
6944 (cosh_test_downward): Likewise.
6945 (cosh_upward_test_data): Likewise.
6946 (cosh_test_upward): Likewise.
6947 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6948 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6949 (ctan_test_data): Likewise.
6950 (ctan_test): Use ALL_RM_TEST.
6951 (ctan_tonearest_test_data): Remove.
6952 (ctan_test_tonearest): Likewise.
6953 (ctan_towardzero_test_data): Likewise.
6954 (ctan_test_towardzero): Likewise.
6955 (ctan_downward_test_data): Likewise.
6956 (ctan_test_downward): Likewise.
6957 (ctan_upward_test_data): Likewise.
6958 (ctan_test_upward): Likewise.
6959 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6960 (ctanh_test): Use ALL_RM_TEST.
6961 (ctanh_tonearest_test_data): Remove.
6962 (ctanh_test_tonearest): Likewise.
6963 (ctanh_towardzero_test_data): Likewise.
6964 (ctanh_test_towardzero): Likewise.
6965 (ctanh_downward_test_data): Likewise.
6966 (ctanh_test_downward): Likewise.
6967 (ctanh_upward_test_data): Likewise.
6968 (ctanh_test_upward): Likewise.
6969 (erf_test_data): Update call to AUTO_TESTS_f_f.
6970 (erfc_test_data): Likewise.
6971 (exp_test_data): Likewise.
6972 (exp_test): Use ALL_RM_TEST.
6973 (exp_tonearest_test_data): Remove.
6974 (exp_test_tonearest): Likewise.
6975 (exp_towardzero_test_data): Likewise.
6976 (exp_test_towardzero): Likewise.
6977 (exp_downward_test_data): Likewise.
6978 (exp_test_downward): Likewise.
6979 (exp_upward_test_data): Likewise.
6980 (exp_test_upward): Likewise.
6981 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6982 (exp10_test): Use ALL_RM_TEST.
6983 (exp10_tonearest_test_data): Remove.
6984 (exp10_test_tonearest): Likewise.
6985 (exp10_towardzero_test_data): Likewise.
6986 (exp10_test_towardzero): Likewise.
6987 (exp10_downward_test_data): Likewise.
6988 (exp10_test_downward): Likewise.
6989 (exp10_upward_test_data): Likewise.
6990 (exp10_test_upward): Likewise.
6991 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6992 (expm1_test_data): Likewise.
6993 (expm1_test): Use ALL_RM_TEST.
6994 (expm1_tonearest_test_data): Remove.
6995 (expm1_test_tonearest): Likewise.
6996 (expm1_towardzero_test_data): Likewise.
6997 (expm1_test_towardzero): Likewise.
6998 (expm1_downward_test_data): Likewise.
6999 (expm1_test_downward): Likewise.
7000 (expm1_upward_test_data): Likewise.
7001 (expm1_test_upward): Likewise.
7002 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7003 (fma_test): Use ALL_RM_TEST.
7004 (fma_towardzero_test_data): Remove.
7005 (fma_test_towardzero): Likewise.
7006 (fma_downward_test_data): Likewise.
7007 (fma_test_downward): Likewise.
7008 (fma_upward_test_data): Likewise.
7009 (fma_test_upward): Likewise.
7010 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7011 (j0_test_data): Update call to AUTO_TESTS_f_f.
7012 (j1_test_data): Likewise.
7013 (jn_test_data): Update call to AUTO_TESTS_if_f.
7014 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7015 (log_test_data): Update call to AUTO_TESTS_f_f.
7016 (log10_test_data): Likewise.
7017 (log1p_test_data): Likewise.
7018 (log2_test_data): Likewise.
7019 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7020 (pow_tonearest_test_data): Likewise.
7021 (sin_test_data): Update call to AUTO_TESTS_f_f.
7022 (sin_test): Use ALL_RM_TEST.
7023 (sin_tonearest_test_data): Remove.
7024 (sin_test_tonearest): Likewise.
7025 (sin_towardzero_test_data): Likewise.
7026 (sin_test_towardzero): Likewise.
7027 (sin_downward_test_data): Likewise.
7028 (sin_test_downward): Likewise.
7029 (sin_upward_test_data): Likewise.
7030 (sin_test_upward): Likewise.
7031 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7032 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7033 (sinh_test): Use ALL_RM_TEST.
7034 (sinh_tonearest_test_data): Remove.
7035 (sinh_test_tonearest): Likewise.
7036 (sinh_towardzero_test_data): Likewise.
7037 (sinh_test_towardzero): Likewise.
7038 (sinh_downward_test_data): Likewise.
7039 (sinh_test_downward): Likewise.
7040 (sinh_upward_test_data): Likewise.
7041 (sinh_test_upward): Likewise.
7042 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7043 (sqrt_test): Use ALL_RM_TEST.
7044 (sqrt_tonearest_test_data): Remove.
7045 (sqrt_test_tonearest): Likewise.
7046 (sqrt_towardzero_test_data): Likewise.
7047 (sqrt_test_towardzero): Likewise.
7048 (sqrt_downward_test_data): Likewise.
7049 (sqrt_test_downward): Likewise.
7050 (sqrt_upward_test_data): Likewise.
7051 (sqrt_test_upward): Likewise.
7052 (tan_test_data): Update call to AUTO_TESTS_f_f.
7053 (tan_test): Use ALL_RM_TEST.
7054 (tan_tonearest_test_data): Remove.
7055 (tan_test_tonearest): Likewise.
7056 (tan_towardzero_test_data): Likewise.
7057 (tan_test_towardzero): Likewise.
7058 (tan_downward_test_data): Likewise.
7059 (tan_test_downward): Likewise.
7060 (tan_upward_test_data): Likewise.
7061 (tan_test_upward): Likewise.
7062 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7063 (tgamma_test_data): Likewise.
7064 (y0_test_data): Likewise.
7065 (y1_test_data): Likewise.
7066 (yn_test_data): Update call to AUTO_TESTS_if_f.
7067 (main): Do not call removed functions.
7068
70692014-03-19 Joseph Myers <joseph@codesourcery.com>
7070
7071 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7072 (ldexp_test_data): Remove.
7073 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7074 scalbn_test_data.
7075 (scalb_test): Use ALL_RM_TEST.
7076
70772014-03-19 Andreas Schwab <schwab@suse.de>
7078
7079 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7080
70812014-03-19 Joseph Myers <joseph@codesourcery.com>
7082
7083 [BZ #16649]
7084 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7085 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7086 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7087 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7088 (__ASSUME_PREADV): Undefine.
7089 (__ASSUME_PWRITEV): Likewise.
7090
70912014-03-18 Roland McGrath <roland@hack.frob.com>
7092
7093 * bits/mman-linux.h: Add comment about non-Linux use.
7094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7095 bits/mman-linux.h resting place.
7096
7097 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7098 * bits/mman-linux.h: ... here.
7099
71002014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7101
7102 * conform/conformtest.pl: Add standard definition when calling C
7103 preprocessor on data files.
7104 (checknamespace): Remove unused variable.
7105
71062014-03-18 Joseph Myers <joseph@codesourcery.com>
7107
7108 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7109 minus_oflow, plus_uflow and minus_uflow in expected results.
7110 * math/libm-test.inc (scalbn_test_data): Add more tests of
7111 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7112 minus_uflow.
7113 (scalbn_test): Use ALL_RM_TEST.
7114 (scalbln_test_data): Add more tests of negative arguments. Use
7115 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7116 (scalbln_test): Use ALL_RM_TEST.
7117
71182014-03-18 Roland McGrath <roland@hack.frob.com>
7119
7120 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7121
71222014-03-18 Will Newton <will.newton@linaro.org>
7123
7124 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7125 inaccurate comment.
7126
71272014-03-18 Joseph Myers <joseph@codesourcery.com>
7128
7129 * Makerules [!subdir] (check-abi): Exit with error status if a
7130 test failed.
7131
71322014-03-17 Joseph Myers <joseph@codesourcery.com>
7133
7134 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7135 for rint. Include results for all rounding modes.
7136 (nearbyint_test): Use ALL_RM_TEST.
7137 (rint_test_data): Include all tests used for nearbyint.
7138
71392014-03-17 Will Newton <will.newton@linaro.org>
7140
7141 * nptl/sysdeps/pthread/pthread.h: Revert previous
7142 change.
7143
7144 * sysdeps/generic/ldsodefs.h: Revert previous
7145 change.
7146
7147 * libio/genops.c: Revert previous change.
7148 * libio/libioP.h: Likewise.
7149 * stdio-common/vfprintf.c: Likewise.
7150
7151 * sysdeps/generic/math_private.h: Revert previous
7152 change.
7153
7154 * sysdeps/generic/math_private.h: Check whether
7155 HAVE_RM_CTX is defined with #ifdef rather
7156 than #if.
7157
7158 * argp/argp-fmtstream.h: Check whether
7159 __STRICT_ANSI__ is defined with #ifdef rather
7160 than #if.
7161 * argp/argp.h: Likewise.
7162
7163 * libio/genops.c: Check whether
7164 _IO_JUMPS_OFFSET is defined with #ifdef rather
7165 than #if.
7166 * libio/libioP.h: Likewise.
7167 * stdio-common/vfprintf.c: Likewise.
7168
7169 * sysdeps/generic/ldsodefs.h: Check whether
7170 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7171 than #if.
7172
7173 * nptl/sysdeps/pthread/pthread.h: Check
7174 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7175 its value.
7176
71772014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7178
7179 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7180 setting O_APPEND.
7181 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7182 test case.
7183
7184 [BZ #16680]
7185 * libio/fileops.c (_IO_file_open): Seek to end of file but
7186 don't cache the offset.
7187 (get_file_offset): Remove function.
7188 (do_ftell): Use cached offset when available.
7189 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7190 don't cache the offset.
7191 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7192 case.
7193 (do_one_test): Call it.
7194 (do_ftell_test): Fix up expected old offset for a+ mode.
7195 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7196 available.
7197
7198 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7199 up test status with function return status.
7200 (do_write_test): Likewise.
7201 (do_append_test): Likewise.
7202
7203 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7204 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7205 Remove.
7206
72072014-03-17 Joseph Myers <joseph@codesourcery.com>
7208
7209 * math/gen-libm-test.pl (parse_args): Handle results specified for
7210 each rounding mode separately.
7211 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7212 tests and results from lrint_tonearest_test_data,
7213 lrint_towardzero_test_data, lrint_downward_test_data and
7214 lrint_upward_test_data.
7215 (lrint_test): Use ALL_RM_TEST.
7216 (lrint_tonearest_test_data): Remove.
7217 (lrint_test_tonearest): Likewise.
7218 (lrint_towardzero_test_data): Likewise.
7219 (lrint_test_towardzero): Likewise.
7220 (lrint_downward_test_data): Likewise.
7221 (lrint_test_downward): Likewise.
7222 (lrint_upward_test_data): Likewise.
7223 (lrint_test_upward): Likewise.
7224 (llrint_test_data): Merge in per-rounding-mode tests and results
7225 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7226 llrint_downward_test_data and llrint_upward_test_data.
7227 (llrint_test): Use ALL_RM_TEST.
7228 (llrint_tonearest_test_data): Remove.
7229 (llrint_test_tonearest): Likewise.
7230 (llrint_towardzero_test_data): Likewise.
7231 (llrint_test_towardzero): Likewise.
7232 (llrint_downward_test_data): Likewise.
7233 (llrint_test_downward): Likewise.
7234 (llrint_upward_test_data): Likewise.
7235 (llrint_test_upward): Likewise.
7236 (rint_test_data): Merge in per-rounding-mode tests and results
7237 from rint_tonearest_test_data, rint_towardzero_test_data,
7238 rint_downward_test_data and rint_upward_test_data. Add
7239 per-rounding-mode results for tests not in those arrays.
7240 (rint_test): Use ALL_RM_TEST.
7241 (rint_tonearest_test_data): Remove.
7242 (rint_test_tonearest): Likewise.
7243 (rint_towardzero_test_data): Likewise.
7244 (rint_test_towardzero): Likewise.
7245 (rint_downward_test_data): Likewise.
7246 (rint_test_downward): Likewise.
7247 (rint_upward_test_data): Likewise.
7248 (rint_test_upward): Likewise.
7249 (main): Don't call removed functions.
7250
72512014-03-14 Roland McGrath <roland@hack.frob.com>
7252
7253 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7254 "Compiled on ..." crapola. It is anti-useful.
7255
72562014-03-14 Joseph Myers <joseph@codesourcery.com>
7257
7258 * scripts/evaluate-test.sh: Handle fourth argument to determine
7259 whether test run should stop on failure.
7260 * Makeconfig (stop-on-test-failure): New variable.
7261 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7262 $(stop-on-test-failure).
7263 * Makefile (tests): Give a summary of results from testing and
7264 exit with failure status if they include an ERROR or FAIL.
7265 (xtests): Likewise.
7266 * manual/install.texi (Configuring and compiling): Mention
7267 stop-on-test-failure=y.
7268 * INSTALL: Regenerated.
7269
72702014-03-14 Roland McGrath <roland@hack.frob.com>
7271
7272 * scripts/versionlist.awk: New file.
7273 * Makerules [$(build-shared) = yes]
7274 (postclean-generated): Add Versions.def, not Versions.def.v and
7275 Versions.def.v.i.
7276 ($(common-objpfx)Versions.def.v.i): Target removed.
7277 ($(common-objpfx)Versions.def): New target.
7278 ($(common-objpfx)Versions.all): Depend on that rather that
7279 $(common-objpfx)Versions.def.v.
7280 * Versions.def: File removed.
7281
7282 * Makeconfig (+gccwarn): Add -Wundef.
7283 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7284 a dl-sysdep.h breaking its contract.
7285 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7286 * include/stackinfo.h: New file.
7287 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7288 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7289 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7290 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7291 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7292 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7293 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7294 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7295 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7296 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7297 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7298 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7299 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7300 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7301 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7302
73032014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7304
7305 [BZ #16707]
7306 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7307 implementation.
7308 * math/libm-test.inc (round_test_data): Add more tests.
7309
7310 [BZ #16706]
7311 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7312 implementation.
7313 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7314
7315 [BZ #16701]
7316 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7317 implementation.
7318 * math/libm-test.inc (ceil_test_data): Add more tests.
7319
7320 * math/libm-test.inc (trunc_test_data): Add more tests related to
7321 BZ#16414.
7322
73232014-03-14 Roland McGrath <roland@hack.frob.com>
7324
7325 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7326 with #if rather than #ifdef.
7327 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7328
73292014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7330
7331 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7332 first. Disable AVX-512 GCC support if assembler doesn't support
7333 it.
7334 * sysdeps/x86_64/configure: Regenerated.
7335
73362014-03-13 Carlos O'Donell <carlos@redhat.com>
7337
7338 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7339 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7340 (__old_pthread_attr_setstack): Likewise.
7341 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7342 [!_STACK_GROWS_DOWN]: Likewise.
7343
73442014-03-13 Mike Frysinger <vapier@gentoo.org>
7345
7346 * config.make.in (have-bash2): Delete.
7347 * configure.ac (libc_cv_have_bash2): Delete.
7348 * configure: Regenerate.
7349 * elf/Makefile (common-ldd-rewrite): Rename to ...
7350 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7351 (sh-ldd-rewrite): Delete.
7352 (bash-ldd-rewrite): Delete.
7353 (have-bash2): Delete checks.
7354 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7355 ldd-rewrite.
7356
7357 * config.make.in (have-ksh): Delete.
7358 (KSH): Delete.
7359 * configure.ac (libc_cv_have_ksh): Delete.
7360 * configure: Regenerate.
7361
7362 * elf/Makefile: Delete $(have-ksh) check.
7363 ($(objpfx)sotruss): Change KSH to BASH.
7364 * elf/sotruss.ksh: Rename to ...
7365 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7366 function style to match POSIX. Drop ksh vim mode setting.
7367
7368 * manual/time.texi (Specifying the Time Zone with TZ): Change
7369 Tuesday to Thursday.
7370
7371 * debug/tst-longjmp_chk2.c: Update header comment.
7372 (stackoverflow_handler): Add comment. Call assert on pass value.
7373
73742014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7375
7376 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7377 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7378 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7379 (La_x86_64_vector): Add zmm.
7380 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7381 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7382 ($(objpfx)tst-audit10): New target.
7383 ($(objpfx)tst-audit10.out): Likewise.
7384 (tst-audit10-ENV): New.
7385 (AVX512-CFLAGS): Likewise.
7386 (CFLAGS-tst-audit10.c): Likewise.
7387 (CFLAGS-tst-auditmod10a.c): Likewise.
7388 (CFLAGS-tst-auditmod10b.c): Likewise.
7389 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7390 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7391 * sysdeps/x86_64/configure: Regenerated.
7392 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7393 AVX-512 zmm register support.
7394 (_dl_x86_64_save_sse): Likewise.
7395 (_dl_x86_64_restore_sse): Likewise.
7396 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7397 size vector registers.
7398 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7399 (ZMM_SIZE): Likewise.
7400 * sysdeps/x86_64/tst-audit10.c: New file.
7401 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7402 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7403
74042014-03-13 Roland McGrath <roland@hack.frob.com>
7405
7406 * configure.ac (HAVE_EHDR_START): New check.
7407 * configure: Regenerated.
7408 * config.h.in (HAVE_EHDR_START): New #undef.
7409 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7410 assuming the lowest-addressed segment maps the start of the file.
7411
74122014-03-13 Joseph Myers <joseph@codesourcery.com>
7413
7414 * INSTALL: Regenerated.
7415
74162014-03-13 Will Newton <will.newton@linaro.org>
7417
7418 * manual/setjmp.texi (System V contexts): Improve
7419 clarity and grammar of documentation.
7420
74212014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7422
7423 [BZ #16381]
7424 * elf/Makefile (tests): Add tst-pie2.
7425 (tests-pie): Add tst-pie2.
7426 * elf/tst-pie2.c: New file.
7427 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7428 for ET_EXEC.
7429 * elf/rtld.c (map_doit): Load executable as lt_executable.
7430 (dl_main): Likewise.
7431
74322014-03-12 Joseph Myers <joseph@codesourcery.com>
7433
7434 [BZ #16642]
7435 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7436 (__ASSUME_PSELECT): Undefine.
7437
74382014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7439
7440 [BZ #16689]
7441 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7442 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7443 static build.
7444 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7445 selector for static builds.
7446
74472014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7448
7449 [BZ #16695]
7450 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7451 key in the buffer.
7452
74532014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7454
7455 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7456 IFUNC selector for static builds.
7457
74582014-03-11 Joseph Myers <joseph@codesourcery.com>
7459
7460 * sysdeps/mips/math_private.h [__mips_hard_float]
7461 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7462 libc_feresetround_mips_ctx.
7463 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7464 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7465 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7466
7467 [BZ #16677]
7468 * math/s_nextafter.c (__nextafter): Do not return value from
7469 overflowing computation.
7470 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7471 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7472 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7473 Likewise.
7474 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7475 Likewise.
7476 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7477 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7478
74792014-03-11 Roland McGrath <roland@hack.frob.com>
7480
7481 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7482 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7483 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7484 the new mov targetting sp.
7485
74862014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7487
7488 [BZ #16683]
7489 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7490 Define it for static builds as well.
7491 (NO_BZERO_IMPL): Likewise.
7492
74932014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7494
7495 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7496 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7497 multiarch strspn for PPC64.
7498 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7499 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7501 (__libc_ifunc_impl_list): Likewise.
7502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7503 multiarch optimizations
7504 * string/strspn.c (strspn): Using macro to redefine symbol name.
7505
75062014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7507 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7508
7509 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7510 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7511 multiarch strncat for PPC64.
7512 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7513 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7515 (__libc_ifunc_impl_list): Likewise.
7516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7517 multiarch optimizations
7518
75192014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7520
7521 [BZ #16639]
7522 * nscd/nscd.service: Make service type forking.
7523
75242014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7525
7526 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7527 sign in non default rounding modes.
7528 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7529
75302014-03-08 Joseph Myers <joseph@codesourcery.com>
7531
7532 * math/libm-test.inc (ALL_RM_TEST): New macro.
7533 (ceil_test): Use ALL_RM_TEST.
7534 (cimag_test): Likewise.
7535 (conj_test): Likewise.
7536 (copysign_test): Likewise.
7537 (cproj_test): Likewise.
7538 (creal_test): Likewise.
7539 (fabs_test): Likewise.
7540 (floor_test): Likewise.
7541 (fmax_test): Likewise.
7542 (fmin_test): Likewise.
7543 (fmod_test): Likewise.
7544 (fpclassify_test): Likewise.
7545 (frexp_test): Likewise.
7546 (ilogb_test): Likewise.
7547 (isfinite_test): Likewise.
7548 (finite_test): Likewise.
7549 (isgreater_test): Likewise.
7550 (isgreaterequal_test): Likewise.
7551 (isinf_test): Likewise.
7552 (isless_test): Likewise.
7553 (islessequal_test): Likewise.
7554 (islessgreater_test): Likewise.
7555 (isnan_test): Likewise.
7556 (isnormal_test): Likewise.
7557 (issignaling_test): Likewise.
7558 (isunordered_test): Likewise.
7559 (logb_test): Likewise.
7560 (logb_downward_test_data): Remove.
7561 (logb_test_downward): Likewise.
7562 (lround_test): Use ALL_RM_TEST.
7563 (llround_test): Likewise.
7564 (modf_test): Likewise.
7565 (nexttoward_test): Likewise.
7566 (remainder_test): Likewise.
7567 (drem_test): Likewise.
7568 (remainder_tonearest_test_data): Likewise.
7569 (remainder_test_tonearest): Likewise.
7570 (drem_test_tonearest): Likewise.
7571 (remainder_towardzero_test_data): Likewise.
7572 (remainder_test_towardzero): Likewise.
7573 (drem_test_towardzero): Likewise.
7574 (remainder_downward_test_data): Likewise.
7575 (remainder_test_downward): Likewise.
7576 (drem_test_downward): Likewise.
7577 (remainder_upward_test_data): Likewise.
7578 (remainder_test_upward): Likewise.
7579 (drem_test_upward): Likewise.
7580 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7581 (round_test): Use ALL_RM_TEST.
7582 (signbit_test): Likewise.
7583 (trunc_test): Likewise.
7584 (significand_test): Likewise.
7585 (main): Don't call removed functions.
7586
75872014-03-07 Joseph Myers <joseph@codesourcery.com>
7588
7589 [BZ #16674]
7590 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7591 || __USE_XOPEN2K8].
7592 (ILL_ILLOPN): Likewise.
7593 (ILL_ILLADR): Likewise.
7594 (ILL_ILLTRP): Likewise.
7595 (ILL_PRVOPC): Likewise.
7596 (ILL_PRVREG): Likewise.
7597 (ILL_COPROC): Likewise.
7598 (ILL_BADSTK): Likewise.
7599 (FPE_INTDIV): Likewise.
7600 (FPE_INTOVF): Likewise.
7601 (FPE_FLTDIV): Likewise.
7602 (FPE_FLTOVF): Likewise.
7603 (FPE_FLTUND): Likewise.
7604 (FPE_FLTRES): Likewise.
7605 (FPE_FLTINV): Likewise.
7606 (FPE_FLTSUB): Likewise.
7607 (SEGV_MAPERR): Likewise.
7608 (SEGV_ACCERR): Likewise.
7609 (BUS_ADRALN): Likewise.
7610 (BUS_ADRERR): Likewise.
7611 (BUS_OBJERR): Likewise.
7612 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7613 (TRAP_TRACE): Likewise.
7614 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7615 __USE_XOPEN2K8].
7616 (CLD_KILLED): Likewise.
7617 (CLD_DUMPED): Likewise.
7618 (CLD_TRAPPED): Likewise.
7619 (CLD_STOPPED): Likewise.
7620 (CLD_CONTINUED): Likewise.
7621 (POLL_IN): Likewise.
7622 (POLL_OUT): Likewise.
7623 (POLL_MSG): Likewise.
7624 (POLL_ERR): Likewise.
7625 (POLL_PRI): Likewise.
7626 (POLL_HUP): Likewise.
7627 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7628 Likewise.
7629 (ILL_ILLOPN): Likewise.
7630 (ILL_ILLADR): Likewise.
7631 (ILL_ILLTRP): Likewise.
7632 (ILL_PRVOPC): Likewise.
7633 (ILL_PRVREG): Likewise.
7634 (ILL_COPROC): Likewise.
7635 (ILL_BADSTK): Likewise.
7636 (FPE_INTDIV): Likewise.
7637 (FPE_INTOVF): Likewise.
7638 (FPE_FLTDIV): Likewise.
7639 (FPE_FLTOVF): Likewise.
7640 (FPE_FLTUND): Likewise.
7641 (FPE_FLTRES): Likewise.
7642 (FPE_FLTINV): Likewise.
7643 (FPE_FLTSUB): Likewise.
7644 (SEGV_MAPERR): Likewise.
7645 (SEGV_ACCERR): Likewise.
7646 (BUS_ADRALN): Likewise.
7647 (BUS_ADRERR): Likewise.
7648 (BUS_OBJERR): Likewise.
7649 (BUS_MCEERR_AR): Likewise.
7650 (BUS_MCEERR_AO): Likewise.
7651 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7652 (TRAP_TRACE): Likewise.
7653 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7654 __USE_XOPEN2K8].
7655 (CLD_KILLED): Likewise.
7656 (CLD_DUMPED): Likewise.
7657 (CLD_TRAPPED): Likewise.
7658 (CLD_STOPPED): Likewise.
7659 (CLD_CONTINUED): Likewise.
7660 (POLL_IN): Likewise.
7661 (POLL_OUT): Likewise.
7662 (POLL_MSG): Likewise.
7663 (POLL_ERR): Likewise.
7664 (POLL_PRI): Likewise.
7665 (POLL_HUP): Likewise.
7666 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7667 (ILL_ILLOPN): Likewise.
7668 (ILL_ILLADR): Likewise.
7669 (ILL_ILLTRP): Likewise.
7670 (ILL_PRVOPC): Likewise.
7671 (ILL_PRVREG): Likewise.
7672 (ILL_COPROC): Likewise.
7673 (ILL_BADSTK): Likewise.
7674 (FPE_INTDIV): Likewise.
7675 (FPE_INTOVF): Likewise.
7676 (FPE_FLTDIV): Likewise.
7677 (FPE_FLTOVF): Likewise.
7678 (FPE_FLTUND): Likewise.
7679 (FPE_FLTRES): Likewise.
7680 (FPE_FLTINV): Likewise.
7681 (FPE_FLTSUB): Likewise.
7682 (SEGV_MAPERR): Likewise.
7683 (SEGV_ACCERR): Likewise.
7684 (BUS_ADRALN): Likewise.
7685 (BUS_ADRERR): Likewise.
7686 (BUS_OBJERR): Likewise.
7687 (BUS_MCEERR_AR): Likewise.
7688 (BUS_MCEERR_AO): Likewise.
7689 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7690 (TRAP_TRACE): Likewise.
7691 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7692 __USE_XOPEN2K8].
7693 (CLD_KILLED): Likewise.
7694 (CLD_DUMPED): Likewise.
7695 (CLD_TRAPPED): Likewise.
7696 (CLD_STOPPED): Likewise.
7697 (CLD_CONTINUED): Likewise.
7698 (POLL_IN): Likewise.
7699 (POLL_OUT): Likewise.
7700 (POLL_MSG): Likewise.
7701 (POLL_ERR): Likewise.
7702 (POLL_PRI): Likewise.
7703 (POLL_HUP): Likewise.
7704 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7705 Likewise.
7706 (ILL_ILLOPN): Likewise.
7707 (ILL_ILLADR): Likewise.
7708 (ILL_ILLTRP): Likewise.
7709 (ILL_PRVOPC): Likewise.
7710 (ILL_PRVREG): Likewise.
7711 (ILL_COPROC): Likewise.
7712 (ILL_BADSTK): Likewise.
7713 (ILL_BADIADDR): Likewise.
7714 (ILL_BREAK): Likewise.
7715 (FPE_INTDIV): Likewise.
7716 (FPE_INTOVF): Likewise.
7717 (FPE_FLTDIV): Likewise.
7718 (FPE_FLTOVF): Likewise.
7719 (FPE_FLTUND): Likewise.
7720 (FPE_FLTRES): Likewise.
7721 (FPE_FLTINV): Likewise.
7722 (FPE_FLTSUB): Likewise.
7723 (FPE_DECOVF): Likewise.
7724 (FPE_DECDIV): Likewise.
7725 (FPE_DECERR): Likewise.
7726 (FPE_INVASC): Likewise.
7727 (FPE_INVDEC): Likewise.
7728 (SEGV_MAPERR): Likewise.
7729 (SEGV_ACCERR): Likewise.
7730 (SEGV_PSTKOVF): Likewise.
7731 (BUS_ADRALN): Likewise.
7732 (BUS_ADRERR): Likewise.
7733 (BUS_OBJERR): Likewise.
7734 (BUS_MCEERR_AR): Likewise.
7735 (BUS_MCEERR_AO): Likewise.
7736 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7737 (TRAP_TRACE): Likewise.
7738 (TRAP_BRANCH): Likewise.
7739 (TRAP_HWBKPT): Likewise.
7740 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7741 __USE_XOPEN2K8].
7742 (CLD_KILLED): Likewise.
7743 (CLD_DUMPED): Likewise.
7744 (CLD_TRAPPED): Likewise.
7745 (CLD_STOPPED): Likewise.
7746 (CLD_CONTINUED): Likewise.
7747 (POLL_IN): Likewise.
7748 (POLL_OUT): Likewise.
7749 (POLL_MSG): Likewise.
7750 (POLL_ERR): Likewise.
7751 (POLL_PRI): Likewise.
7752 (POLL_HUP): Likewise.
7753 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7754 (ILL_ILLOPN): Likewise.
7755 (ILL_ILLADR): Likewise.
7756 (ILL_ILLTRP): Likewise.
7757 (ILL_PRVOPC): Likewise.
7758 (ILL_PRVREG): Likewise.
7759 (ILL_COPROC): Likewise.
7760 (ILL_BADSTK): Likewise.
7761 (FPE_INTDIV): Likewise.
7762 (FPE_INTOVF): Likewise.
7763 (FPE_FLTDIV): Likewise.
7764 (FPE_FLTOVF): Likewise.
7765 (FPE_FLTUND): Likewise.
7766 (FPE_FLTRES): Likewise.
7767 (FPE_FLTINV): Likewise.
7768 (FPE_FLTSUB): Likewise.
7769 (SEGV_MAPERR): Likewise.
7770 (SEGV_ACCERR): Likewise.
7771 (BUS_ADRALN): Likewise.
7772 (BUS_ADRERR): Likewise.
7773 (BUS_OBJERR): Likewise.
7774 (BUS_MCEERR_AR): Likewise.
7775 (BUS_MCEERR_AO): Likewise.
7776 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7777 (TRAP_TRACE): Likewise.
7778 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7779 __USE_XOPEN2K8].
7780 (CLD_KILLED): Likewise.
7781 (CLD_DUMPED): Likewise.
7782 (CLD_TRAPPED): Likewise.
7783 (CLD_STOPPED): Likewise.
7784 (CLD_CONTINUED): Likewise.
7785 (POLL_IN): Likewise.
7786 (POLL_OUT): Likewise.
7787 (POLL_MSG): Likewise.
7788 (POLL_ERR): Likewise.
7789 (POLL_PRI): Likewise.
7790 (POLL_HUP): Likewise.
7791 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7792 (ILL_ILLOPN): Likewise.
7793 (ILL_ILLADR): Likewise.
7794 (ILL_ILLTRP): Likewise.
7795 (ILL_PRVOPC): Likewise.
7796 (ILL_PRVREG): Likewise.
7797 (ILL_COPROC): Likewise.
7798 (ILL_BADSTK): Likewise.
7799 (FPE_INTDIV): Likewise.
7800 (FPE_INTOVF): Likewise.
7801 (FPE_FLTDIV): Likewise.
7802 (FPE_FLTOVF): Likewise.
7803 (FPE_FLTUND): Likewise.
7804 (FPE_FLTRES): Likewise.
7805 (FPE_FLTINV): Likewise.
7806 (FPE_FLTSUB): Likewise.
7807 (SEGV_MAPERR): Likewise.
7808 (SEGV_ACCERR): Likewise.
7809 (BUS_ADRALN): Likewise.
7810 (BUS_ADRERR): Likewise.
7811 (BUS_OBJERR): Likewise.
7812 (BUS_MCEERR_AR): Likewise.
7813 (BUS_MCEERR_AO): Likewise.
7814 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7815 (TRAP_TRACE): Likewise.
7816 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7817 __USE_XOPEN2K8].
7818 (CLD_KILLED): Likewise.
7819 (CLD_DUMPED): Likewise.
7820 (CLD_TRAPPED): Likewise.
7821 (CLD_STOPPED): Likewise.
7822 (CLD_CONTINUED): Likewise.
7823 (POLL_IN): Likewise.
7824 (POLL_OUT): Likewise.
7825 (POLL_MSG): Likewise.
7826 (POLL_ERR): Likewise.
7827 (POLL_PRI): Likewise.
7828 (POLL_HUP): Likewise.
7829 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7830 (ILL_ILLOPN): Likewise.
7831 (ILL_ILLADR): Likewise.
7832 (ILL_ILLTRP): Likewise.
7833 (ILL_PRVOPC): Likewise.
7834 (ILL_PRVREG): Likewise.
7835 (ILL_COPROC): Likewise.
7836 (ILL_BADSTK): Likewise.
7837 (FPE_INTDIV): Likewise.
7838 (FPE_INTOVF): Likewise.
7839 (FPE_FLTDIV): Likewise.
7840 (FPE_FLTOVF): Likewise.
7841 (FPE_FLTUND): Likewise.
7842 (FPE_FLTRES): Likewise.
7843 (FPE_FLTINV): Likewise.
7844 (FPE_FLTSUB): Likewise.
7845 (SEGV_MAPERR): Likewise.
7846 (SEGV_ACCERR): Likewise.
7847 (BUS_ADRALN): Likewise.
7848 (BUS_ADRERR): Likewise.
7849 (BUS_OBJERR): Likewise.
7850 (BUS_MCEERR_AR): Likewise.
7851 (BUS_MCEERR_AO): Likewise.
7852 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7853 (TRAP_TRACE): Likewise.
7854 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7855 __USE_XOPEN2K8].
7856 (CLD_KILLED): Likewise.
7857 (CLD_DUMPED): Likewise.
7858 (CLD_TRAPPED): Likewise.
7859 (CLD_STOPPED): Likewise.
7860 (CLD_CONTINUED): Likewise.
7861 (POLL_IN): Likewise.
7862 (POLL_OUT): Likewise.
7863 (POLL_MSG): Likewise.
7864 (POLL_ERR): Likewise.
7865 (POLL_PRI): Likewise.
7866 (POLL_HUP): Likewise.
7867 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7868 (ILL_ILLOPN): Likewise.
7869 (ILL_ILLADR): Likewise.
7870 (ILL_ILLTRP): Likewise.
7871 (ILL_PRVOPC): Likewise.
7872 (ILL_PRVREG): Likewise.
7873 (ILL_COPROC): Likewise.
7874 (ILL_BADSTK): Likewise.
7875 (ILL_DBLFLT): Likewise.
7876 (ILL_HARDWALL): Likewise.
7877 (FPE_INTDIV): Likewise.
7878 (FPE_INTOVF): Likewise.
7879 (FPE_FLTDIV): Likewise.
7880 (FPE_FLTOVF): Likewise.
7881 (FPE_FLTUND): Likewise.
7882 (FPE_FLTRES): Likewise.
7883 (FPE_FLTINV): Likewise.
7884 (FPE_FLTSUB): Likewise.
7885 (SEGV_MAPERR): Likewise.
7886 (SEGV_ACCERR): Likewise.
7887 (BUS_ADRALN): Likewise.
7888 (BUS_ADRERR): Likewise.
7889 (BUS_OBJERR): Likewise.
7890 (BUS_MCEERR_AR): Likewise.
7891 (BUS_MCEERR_AO): Likewise.
7892 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7893 (TRAP_TRACE): Likewise.
7894 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7895 __USE_XOPEN2K8].
7896 (CLD_KILLED): Likewise.
7897 (CLD_DUMPED): Likewise.
7898 (CLD_TRAPPED): Likewise.
7899 (CLD_STOPPED): Likewise.
7900 (CLD_CONTINUED): Likewise.
7901 (POLL_IN): Likewise.
7902 (POLL_OUT): Likewise.
7903 (POLL_MSG): Likewise.
7904 (POLL_ERR): Likewise.
7905 (POLL_PRI): Likewise.
7906 (POLL_HUP): Likewise.
7907 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7908 (ILL_ILLOPN): Likewise.
7909 (ILL_ILLADR): Likewise.
7910 (ILL_ILLTRP): Likewise.
7911 (ILL_PRVOPC): Likewise.
7912 (ILL_PRVREG): Likewise.
7913 (ILL_COPROC): Likewise.
7914 (ILL_BADSTK): Likewise.
7915 (FPE_INTDIV): Likewise.
7916 (FPE_INTOVF): Likewise.
7917 (FPE_FLTDIV): Likewise.
7918 (FPE_FLTOVF): Likewise.
7919 (FPE_FLTUND): Likewise.
7920 (FPE_FLTRES): Likewise.
7921 (FPE_FLTINV): Likewise.
7922 (FPE_FLTSUB): Likewise.
7923 (SEGV_MAPERR): Likewise.
7924 (SEGV_ACCERR): Likewise.
7925 (BUS_ADRALN): Likewise.
7926 (BUS_ADRERR): Likewise.
7927 (BUS_OBJERR): Likewise.
7928 (BUS_MCEERR_AR): Likewise.
7929 (BUS_MCEERR_AO): Likewise.
7930 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7931 (TRAP_TRACE): Likewise.
7932 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7933 __USE_XOPEN2K8].
7934 (CLD_KILLED): Likewise.
7935 (CLD_DUMPED): Likewise.
7936 (CLD_TRAPPED): Likewise.
7937 (CLD_STOPPED): Likewise.
7938 (CLD_CONTINUED): Likewise.
7939 (POLL_IN): Likewise.
7940 (POLL_OUT): Likewise.
7941 (POLL_MSG): Likewise.
7942 (POLL_ERR): Likewise.
7943 (POLL_PRI): Likewise.
7944 (POLL_HUP): Likewise.
7945 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7946 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7947
7948 [BZ #16670]
7949 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7950 before #include of <time.h>.
7951 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7952 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7953 (test-xfail-UNIX98/sched.h/conform): Likewise.
7954
79552014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7956
7957 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7958 error absence of trapping exception support.
7959 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7960
79612014-03-07 Joseph Myers <joseph@codesourcery.com>
7962
7963 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7964 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7965 * timezone/Makefile (testdata): Move definition above include of
7966 Rules.
7967 (test-zones): New variable.
7968 (tests-special): Add zone files.
7969 (build-testdata): Use $(evaluate-test).
7970
7971 * elf/Makefile (tests-special): Rename tests to end with .out.
7972 ($(objpfx)noload-mem): Likewise.
7973 ($(objpfx)tst-leaks1-mem): Likewise.
7974 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7975 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7976 $(objpfx)test-iconvconfig.out.
7977 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7978 set -e inside subshell and redirect output to file.
7979 * iconvdata/Makefile (generated): Rename tests to end with .out.
7980 Correct type.
7981 (tests-special): Rename tests to end with .out.
7982 ($(objpfx)mtrace-tst-loading): Likewise.
7983 * intl/Makefile (generated): Likewise.
7984 (tests-special): Likewise.
7985 ($(objpfx)mtrace-tst-gettext): Likewise.
7986 * misc/Makefile (generated): Likewise.
7987 (tests-special): Likewise.
7988 ($(objpfx)tst-error1-mem): Likewise.
7989 * nptl/Makefile (tests-special): Likewise.
7990 ($(objpfx)tst-stack3-mem): Likewise.
7991 (generated): Likewise.
7992 * posix/Makefile (generated): Likewise.
7993 (tests-special): Likewise.
7994 (xtests-special): Likewise.
7995 ($(objpfx)tst-fnmatch-mem): Likewise.
7996 ($(objpfx)bug-regex2-mem): Likewise.
7997 ($(objpfx)bug-regex14-mem): Likewise.
7998 ($(objpfx)bug-regex21-mem): Likewise.
7999 ($(objpfx)bug-regex31-mem): Likewise.
8000 ($(objpfx)tst-vfork3-mem): Likewise.
8001 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8002 ($(objpfx)tst-pcre-mem): Likewise.
8003 ($(objpfx)tst-boost-mem): Likewise.
8004 ($(objpfx)bug-ga2-mem): Likewise.
8005 ($(objpfx)bug-glob2-mem): Likewise.
8006 * resolv/Makefile (generate): Likewise.
8007 (tests-special): Likewise.
8008 (xtests-special): Likewise.
8009 (generated): Likewise.
8010 ($(objpfx)mtrace-tst-leaks): Likewise.
8011 ($(objpfx)mtrace-tst-leaks2): Likewise.
8012
8013 * scripts/merge-test-results.sh: New file.
8014 * Makefile (tests-special-notdir): New variable.
8015 (tests): Run merge-test-results.sh.
8016 (xtests): Likewise.
8017 * Rules (tests-special-notdir): New variable.
8018 (xtests-special-notdir): Likewise.
8019 (tests): Run merge-test-results.sh
8020 (xtests): Likewise.
8021
8022 * Makeconfig (test-xfail-name): New variable.
8023 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8024 compute variable name for expected failures.
8025 * conform/Makefile (conformtest-headers-data): New variable.
8026 (conformtest-standards): Likewise.
8027 (conformtest-headers-ISO): Likewise.
8028 (conformtest-headers-ISO99): Likewise.
8029 (conformtest-headers-ISO11): Likewise.
8030 (conformtest-headers-POSIX): Likewise.
8031 (conformtest-headers-XPG3): Likewise.
8032 (conformtest-headers-XPG4): Likewise.
8033 (conformtest-headers-UNIX98): Likewise.
8034 (conformtest-headers-XOPEN2K): Likewise.
8035 (conformtest-headers-POSIX2008): Likewise.
8036 (conformtest-headers-XOPEN2K8): Likewise.
8037 (conformtest-header-list-base): Likewise.
8038 (conformtest-header-list-tests): Likewise.
8039 (conformtest-header-base): Likewise.
8040 (conformtest-header-tests): Likewise.
8041 (tests-special): Add $(conformtest-header-list-tests). If
8042 [$(fast-check) && !$(cross-compiling)], add
8043 $(conformtest-header-tests) instead of
8044 $(objpfx)run-conformtest.out.
8045 (generated): Add $(conformtest-header-list-base). If
8046 [$(fast-check) && !$(cross-compiling)], add
8047 $(conformtest-header-base). Remove previous setting.
8048 ($(conformtest-header-list-tests)): New target.
8049 (test-xfail-run-conformtest): Remove variable.
8050 ($(objpfx)run-conformtest.out): Remove target.
8051 (test-xfail-ISO11/complex.h/conform): New variable.
8052 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8053 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8054 (test-xfail-XPG3/varargs.h/conform): Likewise.
8055 (test-xfail-XPG4/varargs.h/conform): Likewise.
8056 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8057 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8058 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8059 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8060 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8061 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8062 (test-xfail-XPG3/ftw.h/conform): Likewise.
8063 (test-xfail-XPG3/grp.h/conform): Likewise.
8064 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8065 (test-xfail-XPG3/limits.h/conform): Likewise.
8066 (test-xfail-XPG3/pwd.h/conform): Likewise.
8067 (test-xfail-XPG3/search.h/conform): Likewise.
8068 (test-xfail-XPG3/signal.h/conform): Likewise.
8069 (test-xfail-XPG3/stdio.h/conform): Likewise.
8070 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8071 (test-xfail-XPG3/string.h/conform): Likewise.
8072 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8073 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8074 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8075 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8076 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8077 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8078 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8079 (test-xfail-XPG3/termios.h/conform): Likewise.
8080 (test-xfail-XPG3/time.h/conform): Likewise.
8081 (test-xfail-XPG3/unistd.h/conform): Likewise.
8082 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8083 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8084 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8085 (test-xfail-XPG4/netdb.h/conform): Likewise.
8086 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8087 (test-xfail-XPG4/signal.h/conform): Likewise.
8088 (test-xfail-XPG4/stdio.h/conform): Likewise.
8089 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8090 (test-xfail-XPG4/stropts.h/conform): Likewise.
8091 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8092 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8093 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8094 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8095 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8096 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8097 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8098 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8099 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8100 (test-xfail-XPG4/termios.h/conform): Likewise.
8101 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8102 (test-xfail-XPG4/unistd.h/conform): Likewise.
8103 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8104 (test-xfail-POSIX/sched.h/conform): Likewise.
8105 (test-xfail-POSIX/signal.h/conform): Likewise.
8106 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8107 (test-xfail-POSIX/tar.h/conform): Likewise.
8108 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8109 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8110 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8111 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8112 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8113 (test-xfail-UNIX98/sched.h/conform): Likewise.
8114 (test-xfail-UNIX98/signal.h/conform): Likewise.
8115 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8116 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8117 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8118 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8119 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8120 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8121 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8122 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8123 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8124 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8125 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8126 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8127 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8128 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8129 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8130 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8131 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8132 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8133 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8134 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8135 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8136 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8137 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8138 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8139 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8140 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8141 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8142 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8143 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8144 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8145 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8146 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8147 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8148 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8149 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8150 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8151 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8152 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8153 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8154 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8155 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8156 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8157 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8158 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8159 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8160 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8161 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8162 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8163 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8164 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8165 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8166 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8167 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8168 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8169 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8170 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8171 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8172 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8173 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8174 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8175 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8176 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8177 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8178 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8179 (conformtest-cc-flags): Likewise.
8180 ($(conformtest-header-tests): New target.
8181 * conform/check-header-lists.sh: New file.
8182 * conform/run-conformtest.sh: Remove.
8183
8184 * conform/conformtest.pl: Allow ' and \ in values given for
8185 constants.
8186 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8187 inclusion.
8188 [POSIX] (sys/types.h): Likewise.
8189 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8190 inclusion.
8191 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8192 inclusion.
8193 * conform/data/signal.h-data (SIGIO): Remove expectation.
8194 [XPG3] (SIGBUS): Do not expect.
8195 [POSIX || XPG3] (SIGPOLL): Likewise.
8196 [POSIX || XPG3] (SIGPROF): Likewise.
8197 [POSIX || XPG3] (SIGSYS): Likewise.
8198 [XPG3] (SIGTRAP): Likewise.
8199 [POSIX || XPG3] (SIGURG): Likewise.
8200 [POSIX || XPG3] (SIGVTALRM): Likewise.
8201 [POSIX || XPG3] (SIGXCPU): Likewise.
8202 [POSIX || XPG3] (SIGXFSZ): Likewise.
8203 [POSIX] (SA_SIGINFO): Expect.
8204 [XPG3] (siginfo_t): Do not expect type or contents.
8205 [POSIX] (si_pid): Do not expect element.
8206 [POSIX] (si_uid): Likewise.
8207 [POSIX] (si_addr): Likewise.
8208 [POSIX] (si_status): Likewise.
8209 [POSIX] (si_band): Likewise.
8210 [XPG4] (si_value): Likewise.
8211 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8212 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8213 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8214 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8215 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8216 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8217 [POSIX || XPG3] (ILL_COPROC): Likewise.
8218 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8219 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8220 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8221 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8222 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8223 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8224 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8225 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8226 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8227 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8228 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8229 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8230 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8231 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8232 [POSIX || XPG3] (CLD_EXITED): Likewise.
8233 [POSIX || XPG3] (CLD_KILLED): Likewise.
8234 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8235 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8236 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8237 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8238 [POSIX || XPG3] (POLL_IN): Likewise.
8239 [POSIX || XPG3] (POLL_OUT): Likewise.
8240 [POSIX || XPG3] (POLL_MSG): Likewise.
8241 [POSIX || XPG3] (POLL_ERR): Likewise.
8242 [POSIX || XPG3] (POLL_PRI): Likewise.
8243 [POSIX || XPG3] (POLL_HUP): Likewise.
8244 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8245 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8246 (SIG*): Do not allow.
8247 [XPG3] (si_*): Likewise.
8248 [XPG3] (SI_*): Likewise.
8249 [XPG3 || XPG4] (sigev_*): Likewise.
8250 [XPG3 || XPG4] (SIGEV_*): Likewise.
8251 [XPG3 || XPG4] (sival_*): Likewise.
8252 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8253 [POSIX || XPG3] (BUS_*): Likewise.
8254 [POSIX || XPG3] (CLD_*): Likewise.
8255 [POSIX || XPG3] (FPE_*): Likewise.
8256 [POSIX || XPG3] (ILL_*): Likewise.
8257 [POSIX || XPG3] (POLL_*): Likewise.
8258 [POSIX || XPG3] (SEGV_*): Likewise.
8259 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8260 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8261 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8262 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8263 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8264 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8265 Specify type and value.
8266 (TVERSLEN): Likewise.
8267 (REGTYPE): Likewise.
8268 (AREGTYPE): Likewise.
8269 (LNKTYPE): Likewise.
8270 (SYMTYPE): Likewise.
8271 (CHRTYPE): Likewise.
8272 (BLKTYPE): Likewise.
8273 (DIRTYPE): Likewise.
8274 (FIFOTYPE): Likewise.
8275 (CONTTYPE): Likewise.
8276 (TSUID): Likewise.
8277 (TSGID): Likewise.
8278 (TSVTX): Likewise.
8279 (TUREAD): Likewise.
8280 (TUWRITE): Likewise.
8281 (TUEXEC): Likewise.
8282 (TGREAD): Likewise.
8283 (TGWRITE): Likewise.
8284 (TGEXEC): Likewise.
8285 (TOREAD): Likewise.
8286 (TOWRITE): Likewise.
8287 (TOEXEC): Likewise.
8288 [POSIX] (TSVTX): Expect constant.
8289
82902014-03-06 Joseph Myers <joseph@codesourcery.com>
8291
8292 * Makefile (tests): Change dependencies to ....
8293 (tests-special): ... additions to this variable.
8294 (tests): Depend on $(tests-special).
8295 * Makerules (check-abi-list): New variable.
8296 (check-abi): Depend on $(check-abi-list).
8297 [$(subdir) = elf] (tests-special): Add
8298 $(objpfx)check-abi-libc.out.
8299 [$(build-shared) = yes && subdir] (tests-special): Add
8300 $(check-abi-list).
8301 [$(build-shared) = yes && subdir] (tests): Do not depend on
8302 check-abi.
8303 * Rules (tests): Depend on $(tests-special).
8304 (xtests): Depend on $(xtests-special).
8305 * catgets/Makefile (tests): Change dependencies to ....
8306 (tests-special): ... additions to this variable.
8307 * conform/Makefile (tests): Change dependencies to ....
8308 (tests-special): ... additions to this variable.
8309 * elf/Makefile (tests): Change dependencies to ....
8310 (tests-special): ... additions to this variable.
8311 * grp/Makefile (tests): Change dependencies to ....
8312 (tests-special): ... additions to this variable.
8313 * iconv/Makefile (xtests): Change dependencies to ....
8314 (xtests-special): ... additions to this variable.
8315 * iconvdata/Makefile (tests): Change dependencies to ....
8316 (tests-special): ... additions to this variable.
8317 * intl/Makefile (tests): Change dependencies to ....
8318 (tests-special): ... additions to this variable. Also add
8319 $(objpfx)tst-gettext.out.
8320 * io/Makefile (tests): Change dependencies to ....
8321 (tests-special): ... additions to this variable.
8322 * libio/Makefile (tests): Change dependencies to ....
8323 (tests-special): ... additions to this variable.
8324 * malloc/Makefile (tests): Change dependencies to ....
8325 (tests-special): ... additions to this variable.
8326 * misc/Makefile (tests): Change dependencies to ....
8327 (tests-special): ... additions to this variable.
8328 * nptl/Makefile (tests): Change dependencies to ....
8329 (tests-special): ... additions to this variable.
8330 * nptl_db/Makefile (tests): Change dependencies to ....
8331 (tests-special): ... additions to this variable.
8332 * posix/Makefile (tests): Change dependencies to ....
8333 (tests-special): ... additions to this variable.
8334 (xtests): Change dependencies to ....
8335 (xtests-special): ... additions to this variable.
8336 * resolv/Makefile (tests): Change dependencies to ....
8337 (tests-special): ... additions to this variable.
8338 (xtests): Change dependencies to ....
8339 (xtests-special): ... additions to this variable.
8340 * stdio-common/Makefile (tests): Change dependencies to ....
8341 (tests-special): ... additions to this variable.
8342 (do-tst-unbputc): Remove target.
8343 (do-tst-printf): Likewise.
8344 * stdlib/Makefile (tests): Change dependencies to ....
8345 (tests-special): ... additions to this variable.
8346 * string/Makefile (tests): Change dependencies to ....
8347 (tests-special): ... additions to this variable.
8348 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8349 (tests-special): ... additions to this variable.
8350
8351 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8352 whole file.
8353 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8354 whole file.
8355 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8356 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8357
8358 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8359 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8360 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8361 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8362 * conform/data/libgen.h-data [XPG3]: Likewise.
8363 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8364 * conform/data/ndbm.h-data [XPG3]: Likewise.
8365 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8366 * conform/data/netdb.h-data [XPG3]: Likewise.
8367 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8368 * conform/data/poll.h-data [XPG3]: Likewise.
8369 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8370 * conform/data/strings.h-data [XPG3]: Likewise.
8371 * conform/data/stropts.h-data [XPG3]: Likewise.
8372 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8373 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8374 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8375 Likewise.
8376 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8377 * conform/data/sys/time.h-data [XPG3]: Likewise.
8378 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8379 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8380 * conform/data/sys/un.h-data [XPG3]: Likewise.
8381 * conform/data/syslog.h-data [XPG3]: Likewise.
8382 * conform/data/ucontext.h-data [XPG3]: Likewise.
8383 * conform/data/utmpx.h-data [XPG3]: Likewise.
8384 * conform/data/varargs.h-data [UNIX98]: Enable file.
8385
8386 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8387
8388 * math/libm-test.inc (struct test_f_f_data): Move expected results
8389 into structure for each rounding mode.
8390 (struct test_ff_f_data): Likewise.
8391 (struct test_ff_f_data_nexttoward): Likewise.
8392 (struct test_fi_f_data): Likewise.
8393 (struct test_fl_f_data): Likewise.
8394 (struct test_if_f_data): Likewise.
8395 (struct test_fff_f_data): Likewise.
8396 (struct test_c_f_data): Likewise.
8397 (struct test_f_f1_data): Likewise.
8398 (struct test_fF_f1_data): Likewise.
8399 (struct test_ffI_f1_data): Likewise.
8400 (struct test_c_c_data): Likewise.
8401 (struct test_cc_c_data): Likewise.
8402 (struct test_f_i_data): Likewise.
8403 (struct test_ff_i_data): Likewise.
8404 (struct test_f_l_data): Likewise.
8405 (struct test_f_L_data): Likewise.
8406 (struct test_fFF_11_data): Likewise.
8407 (RM_): New macro.
8408 (RM_FE_DOWNWARD): Likewise.
8409 (RM_FE_TONEAREST): Likewise.
8410 (RM_FE_TOWARDZERO): Likewise.
8411 (RM_FE_UPWARD): Likewise.
8412 (RUN_TEST_LOOP_f_f): Update references to expected results.
8413 (RUN_TEST_LOOP_2_f): Likewise.
8414 (RUN_TEST_LOOP_fff_f): Likewise.
8415 (RUN_TEST_LOOP_c_f): Likewise.
8416 (RUN_TEST_LOOP_f_f1): Likewise.
8417 (RUN_TEST_LOOP_fF_f1): Likewise.
8418 (RUN_TEST_LOOP_fI_f1): Likewise.
8419 (RUN_TEST_LOOP_ffI_f1): Likewise.
8420 (RUN_TEST_LOOP_c_c): Likewise.
8421 (RUN_TEST_LOOP_cc_c): Likewise.
8422 (RUN_TEST_LOOP_f_i): Likewise.
8423 (RUN_TEST_LOOP_f_i_tg): Likewise.
8424 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8425 (RUN_TEST_LOOP_f_b): Likewise.
8426 (RUN_TEST_LOOP_f_b_tg): Likewise.
8427 (RUN_TEST_LOOP_f_l): Likewise.
8428 (RUN_TEST_LOOP_f_L): Likewise.
8429 (RUN_TEST_LOOP_fFF_11): Likewise.
8430 * math/gen-libm-test.pl (parse_args): Output four copies of
8431 expected results for each test.
8432
8433 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8434 (__ASSUME_UTIMES): Remove.
8435 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8436 (__ASSUME_UTIMES): Likewise.
8437
8438 * math/gen-auto-libm-tests.c: Update comment on output format.
8439 (output_for_one_input_case): Generate before-rounding and
8440 after-rounding information as conditions on output flags not
8441 floating-point format.
8442 * math/auto-libm-test-out: Regenerated.
8443 * math/gen-libm-test.pl (cond_value): New function.
8444 (or_cond_value): Use cond_value.
8445 (generate_testfile): Handle conditional exceptions.
8446
84472014-03-05 Joseph Myers <joseph@codesourcery.com>
8448
8449 * math/libm-test.inc (max_valid_error): New variable.
8450 (init_max_error): Take new argument specifying whether function
8451 results are exactly determined. Set max_valid_error and bound
8452 other variables for errors based on this argument.
8453 (set_max_error): Do not record results above max_valid_error.
8454 (check_float_internal): Only accept errors of up to 0.5ulps if
8455 also at most max_valid_error.
8456 (START): Take new argument EXACT and pass it to init_max_error.
8457 (acos_test): Update call to START.
8458 (acos_test_tonearest): Likewise.
8459 (acos_test_towardzero): Likewise.
8460 (acos_test_downward): Likewise.
8461 (acos_test_upward): Likewise.
8462 (acosh_test): Likewise.
8463 (asin_test): Likewise.
8464 (asin_test_tonearest): Likewise.
8465 (asin_test_towardzero): Likewise.
8466 (asin_test_downward): Likewise.
8467 (asin_test_upward): Likewise.
8468 (asinh_test): Likewise.
8469 (atan_test): Likewise.
8470 (atanh_test): Likewise.
8471 (atan2_test): Likewise.
8472 (cabs_test): Likewise.
8473 (cacos_test): Likewise.
8474 (cacosh_test): Likewise.
8475 (carg_test): Likewise.
8476 (casin_test): Likewise.
8477 (casinh_test): Likewise.
8478 (catan_test): Likewise.
8479 (catanh_test): Likewise.
8480 (cbrt_test): Likewise.
8481 (ccos_test): Likewise.
8482 (ccosh_test): Likewise.
8483 (ceil_test): Likewise.
8484 (cexp_test): Likewise.
8485 (cimag_test): Likewise.
8486 (clog_test): Likewise.
8487 (clog10_test): Likewise.
8488 (conj_test): Likewise.
8489 (copysign_test): Likewise.
8490 (cos_test): Likewise.
8491 (cos_test_tonearest): Likewise.
8492 (cos_test_towardzero): Likewise.
8493 (cos_test_downward): Likewise.
8494 (cos_test_upward): Likewise.
8495 (cosh_test): Likewise.
8496 (cosh_test_tonearest): Likewise.
8497 (cosh_test_towardzero): Likewise.
8498 (cosh_test_downward): Likewise.
8499 (cosh_test_upward): Likewise.
8500 (cpow_test): Likewise.
8501 (cproj_test): Likewise.
8502 (creal_test): Likewise.
8503 (csin_test): Likewise.
8504 (csinh_test): Likewise.
8505 (csqrt_test): Likewise.
8506 (ctan_test): Likewise.
8507 (ctan_test_tonearest): Likewise.
8508 (ctan_test_towardzero): Likewise.
8509 (ctan_test_downward): Likewise.
8510 (ctan_test_upward): Likewise.
8511 (ctanh_test): Likewise.
8512 (ctanh_test_tonearest): Likewise.
8513 (ctanh_test_towardzero): Likewise.
8514 (ctanh_test_downward): Likewise.
8515 (ctanh_test_upward): Likewise.
8516 (erf_test): Likewise.
8517 (erfc_test): Likewise.
8518 (exp_test): Likewise.
8519 (exp_test_tonearest): Likewise.
8520 (exp_test_towardzero): Likewise.
8521 (exp_test_downward): Likewise.
8522 (exp_test_upward): Likewise.
8523 (exp10_test): Likewise.
8524 (exp10_test_tonearest): Likewise.
8525 (exp10_test_towardzero): Likewise.
8526 (exp10_test_downward): Likewise.
8527 (exp10_test_upward): Likewise.
8528 (pow10_test): Likewise.
8529 (exp2_test): Likewise.
8530 (expm1_test): Likewise.
8531 (expm1_test_tonearest): Likewise.
8532 (expm1_test_towardzero): Likewise.
8533 (expm1_test_downward): Likewise.
8534 (expm1_test_upward): Likewise.
8535 (fabs_test): Likewise.
8536 (fdim_test): Likewise.
8537 (floor_test): Likewise.
8538 (fma_test): Likewise.
8539 (fma_test_towardzero): Likewise.
8540 (fma_test_downward): Likewise.
8541 (fma_test_upward): Likewise.
8542 (fmax_test): Likewise.
8543 (fmin_test): Likewise.
8544 (fmod_test): Likewise.
8545 (fpclassify_test): Likewise.
8546 (frexp_test): Likewise.
8547 (hypot_test): Likewise.
8548 (ilogb_test): Likewise.
8549 (isfinite_test): Likewise.
8550 (finite_test): Likewise.
8551 (isgreater_test): Likewise.
8552 (isgreaterequal_test): Likewise.
8553 (isinf_test): Likewise.
8554 (isless_test): Likewise.
8555 (islessequal_test): Likewise.
8556 (islessgreater_test): Likewise.
8557 (isnan_test): Likewise.
8558 (isnormal_test): Likewise.
8559 (issignaling_test): Likewise.
8560 (isunordered_test): Likewise.
8561 (j0_test): Likewise.
8562 (j1_test): Likewise.
8563 (jn_test): Likewise.
8564 (ldexp_test): Likewise.
8565 (lgamma_test): Likewise.
8566 (gamma_test): Likewise.
8567 (lrint_test): Likewise.
8568 (lrint_test_tonearest): Likewise.
8569 (lrint_test_towardzero): Likewise.
8570 (lrint_test_downward): Likewise.
8571 (lrint_test_upward): Likewise.
8572 (llrint_test): Likewise.
8573 (llrint_test_tonearest): Likewise.
8574 (llrint_test_towardzero): Likewise.
8575 (llrint_test_downward): Likewise.
8576 (llrint_test_upward): Likewise.
8577 (log_test): Likewise.
8578 (log10_test): Likewise.
8579 (log1p_test): Likewise.
8580 (log2_test): Likewise.
8581 (logb_test): Likewise.
8582 (logb_test_downward): Likewise.
8583 (lround_test): Likewise.
8584 (llround_test): Likewise.
8585 (modf_test): Likewise.
8586 (nearbyint_test): Likewise.
8587 (nextafter_test): Likewise.
8588 (nexttoward_test): Likewise.
8589 (pow_test): Likewise.
8590 (pow_test_tonearest): Likewise.
8591 (pow_test_towardzero): Likewise.
8592 (pow_test_downward): Likewise.
8593 (pow_test_upward): Likewise.
8594 (remainder_test): Likewise.
8595 (drem_test): Likewise.
8596 (remainder_test_tonearest): Likewise.
8597 (drem_test_tonearest): Likewise.
8598 (remainder_test_towardzero): Likewise.
8599 (drem_test_towardzero): Likewise.
8600 (remainder_test_downward): Likewise.
8601 (drem_test_downward): Likewise.
8602 (remainder_test_upward): Likewise.
8603 (drem_test_upward): Likewise.
8604 (remquo_test): Likewise.
8605 (rint_test): Likewise.
8606 (rint_test_tonearest): Likewise.
8607 (rint_test_towardzero): Likewise.
8608 (rint_test_downward): Likewise.
8609 (rint_test_upward): Likewise.
8610 (round_test): Likewise.
8611 (scalb_test): Likewise.
8612 (scalbn_test): Likewise.
8613 (scalbln_test): Likewise.
8614 (signbit_test): Likewise.
8615 (sin_test): Likewise.
8616 (sin_test_tonearest): Likewise.
8617 (sin_test_towardzero): Likewise.
8618 (sin_test_downward): Likewise.
8619 (sin_test_upward): Likewise.
8620 (sincos_test): Likewise.
8621 (sinh_test): Likewise.
8622 (sinh_test_tonearest): Likewise.
8623 (sinh_test_towardzero): Likewise.
8624 (sinh_test_downward): Likewise.
8625 (sinh_test_upward): Likewise.
8626 (sqrt_test): Likewise.
8627 (sqrt_test_tonearest): Likewise.
8628 (sqrt_test_towardzero): Likewise.
8629 (sqrt_test_downward): Likewise.
8630 (sqrt_test_upward): Likewise.
8631 (tan_test): Likewise.
8632 (tan_test_tonearest): Likewise.
8633 (tan_test_towardzero): Likewise.
8634 (tan_test_downward): Likewise.
8635 (tan_test_upward): Likewise.
8636 (tanh_test): Likewise.
8637 (tgamma_test): Likewise.
8638 (trunc_test): Likewise.
8639 (y0_test): Likewise.
8640 (y1_test): Likewise.
8641 (yn_test): Likewise.
8642 (significand_test): Likewise.
8643
8644 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8645 individual tests in comment.
8646 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8647 (prev_max_error): New variable.
8648 (prev_real_max_error): Likewise.
8649 (prev_imag_max_error): Likewise.
8650 (compare_ulp_data): Don't refer to test names in comment.
8651 (find_test_ulps): Remove function.
8652 (find_function_ulps): Likewise.
8653 (find_complex_function_ulps): Likewise.
8654 (init_max_error): Take function name as argument. Look up ulps
8655 for that function.
8656 (print_ulps): Remove function.
8657 (print_max_error): Use prev_max_error instead of calling
8658 find_function_ulps.
8659 (print_complex_max_error): Use prev_real_max_error and
8660 prev_imag_max_error instead of calling find_complex_function_ulps.
8661 (check_float_internal): Take max_ulp parameter instead of calling
8662 find_test_ulps. Don't call print_ulps.
8663 (check_float): Update call to check_float_internal.
8664 (check_complex): Update calls to check_float_internal.
8665 (START): Pass argument to init_max_error.
8666 * math/gen-libm-test.pl (%results): Don't include "kind"
8667 information.
8668 (parse_ulps): Don't handle ulps of individual tests.
8669 (print_ulps_file): Likewise.
8670 (output_ulps): Likewise.
8671 * math/README.libm-test: Update.
8672 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8673 individual tests.
8674 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8675 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8676 * sysdeps/arm/libm-test-ulps: Likewise.
8677 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8678 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8679 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8680 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8681 * sysdeps/microblaze/libm-test-ulps: Likewise.
8682 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8683 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8684 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8685 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8686 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8687 * sysdeps/sh/libm-test-ulps: Likewise.
8688 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8689 * sysdeps/tile/libm-test-ulps: Likewise.
8690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8691
86922014-03-04 Joseph Myers <joseph@codesourcery.com>
8693
8694 * math/libm-test.inc (print_complex_max_error): Check separately
8695 whether real and imaginary errors are within allowed range and
8696 pass 0 to print_complex_function_ulps instead of value within
8697 allowed range.
8698
86992014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8700
8701 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8702 formatting.
8703 (get_handles_fopen): Likewise.
8704 (do_write_test): Likewise.
8705
8706 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8707
8708 * libio/fileops.c (do_ftell): Use cached offset when
8709 available.
8710 * libio/iofwide.c (do_ftell_wide): Likewise.
8711 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8712 _IO_file_attach.
8713 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8714
8715 [BZ #16532]
8716 * libio/libioP.h (get_file_offset): New function.
8717 * libio/fileops.c (get_file_offset): Likewise.
8718 (do_ftell): Likewise.
8719 (_IO_new_file_seekoff): Split out ftell logic.
8720 * libio/wfileops.c (do_ftell_wide): Likewise.
8721 (_IO_wfile_seekoff): Split out ftell logic.
8722 * libio/tst-ftell-active-handler.c: New test case.
8723 * libio/Makefile (tests): Add it.
8724
87252014-03-03 Roland McGrath <roland@hack.frob.com>
8726
8727 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8728 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8729
87302014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8731
8732 [BZ #16639]
8733 * nscd/connections.c (nscd_init): Call do_exit.
8734 (start_threads): Call do_exit and notify_parent.
8735 (begin_drop_privileges): Call do_exit.
8736 (finish_drop_privileges): Likewise.
8737 * nscd/selinux.c (preserve_capabilities): Likewise.
8738 (install_real_capabilities): Likewise.
8739 (nscd_selinux_enabled): Likewise.
8740 (avc_create_thread): Likewise.
8741 (avc_alloc_lock): Likewise.
8742 (nscd_avc_init): Likewise.
8743 * nscd/nscd.c (parent_fd): New static variable.
8744 (main): Create a pipe between parent and child processes.
8745 Skip closing parent_fd.
8746 (monitor_child): New function.
8747 (do_exit): Likewise.
8748 (notify_parent): Likewise.
8749 * nscd/nscd.h (notify_parent): Likewise.
8750 (do_exit): Likewise.
8751
87522014-03-03 Carlos O'Donell <carlos@redhat.com>
8753
8754 * malloc/malloc.c (__libc_calloc): Revert last change.
8755
87562014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8757
8758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8759
87602014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8761
8762 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8764 implementation.
8765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8766 (__libc_ifunc_impl_list): Likewise.
8767 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8768 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8769 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8770 * string/strrchr.c: Define STRRCHR.
8771
87722014-02-28 Ondřej Bílka <neleai@seznam.cz>
8773
8774 * benchtest/bench-strtok.c (simple_strtok): Delete.
8775 (strtok_string): Use as benchmark.
8776 * string/strtok (STRTOK): New macro.
8777
87782014-02-28 Carlos O'Donell <carlos@redhat.com>
8779
8780 * manual/threads.texi: Add header and standard comments to all
8781 functions.
8782
8783 * elf/dl-lookup.c (check_match): New function.
8784 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8785 (do_lookup_x): Remove nested function check_match. Use non-nested
8786 function check_match.
8787
87882014-02-28 Roland McGrath <roland@hack.frob.com>
8789
8790 * csu/Makefile (generated, before-compile): Use += rather than =.
8791 * catgets/Makefile (generated, generated-dirs): Likewise.
8792 * debug/Makefile (generated): Likewise.
8793 * dlfcn/Makefile (generated): Likewise.
8794 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8795 * iconvdata/Makefile (before-compile, generated): Likewise.
8796 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8797 * libio/Makefile (generated): Likewise.
8798 * malloc/Makefile (generated): Likewise.
8799 * manual/Makefile (generated, generated-dirs): Likewise.
8800 * misc/Makefile (generated): Likewise.
8801 * posix/Makefile (generated): Likewise.
8802 * resolv/Makefile (generated): Likewise.
8803 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8804 * timezone/Makefile (generated, generated-dirs): Likewise.
8805
8806 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8807
88082014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8809
8810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8811 power8 implementation.
8812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8813 file: POWER8 llround ifunc implementation.
8814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8815 (__lllround): Add POWER8 implementation.
8816 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8817 POWER8 llround implementation.
8818
8819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8820 power8 implementation.
8821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8822 file: POWER8 llrint ifunc implementation.
8823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8824 Add POWER8 implementation.
8825 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8826 POWER8 llrint implementation.
8827
8828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8829 power8 implementation.
8830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8831 file: POWER8 finite ifunc implementation.
8832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8833 Add POWER8 implementation.
8834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8835 Likewise.
8836 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8837 POWER8 finite implementation.
8838 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8839
8840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8841 power8 implementation.
8842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8843 file: POWER8 isinf ifunc implementation.
8844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8845 POWER8 implementation.
8846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8847 Likewise.
8848 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8849 isinf implementation.
8850 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8851
8852 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8853 (INIT_ARCH): Add hwcap2 initialization.
8854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8855 power8 implementation.
8856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8857 file: POWER8 isnan ifunc implementation.
8858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8859 POWER8 implementation.
8860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8861 Likewise.
8862 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8863 isnan implementation.
8864 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8865
88662014-02-27 Joey Ye <joey.ye@arm.com>
8867
8868 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8869 (_FP_NANFRAC_Q): Set to zero.
8870
88712014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8872
8873 [BZ #16623]
8874 * math/auto-libm-test-in: New test inputs.
8875 * math/auto-libm-test-out: Regenerate.
8876 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8877 and DA.
8878 (__cos): Likewise.
8879 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8880
88812014-02-27 Joseph Myers <joseph@codesourcery.com>
8882
8883 * scripts/evaluate-test.sh: Take new argument indicating whether
8884 failure is expected.
8885 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8886 indicating whether failure is expected.
8887 * conform/Makefile (test-xfail-run-conformtest): New variable.
8888 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8889 level.
8890 * posix/Makefile (test-xfail-annexc): New variable.
8891 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8892
88932014-02-26 Joseph Myers <joseph@codesourcery.com>
8894
8895 * argp/Makefile: Include Makeconfig immediately after defining
8896 subdir.
8897 * assert/Makefile: Likewise.
8898 * benchtests/Makefile: Likewise.
8899 * catgets/Makefile: Likewise.
8900 * conform/Makefile: Likewise.
8901 * crypt/Makefile: Likewise.
8902 * csu/Makefile: Likewise.
8903 (all): Remove target.
8904 * ctype/Makefile: Include Makeconfig immediately after defining
8905 subdir.
8906 * debug/Makefile: Likewise.
8907 * dirent/Makefile: Likewise.
8908 * dlfcn/Makefile: Likewise.
8909 * gmon/Makefile: Likewise.
8910 * gnulib/Makefile: Likewise.
8911 * grp/Makefile: Likewise.
8912 * gshadow/Makefile: Likewise.
8913 * hesiod/Makefile: Likewise.
8914 * hurd/Makefile: Likewise.
8915 (all): Remove target.
8916 * iconvdata/Makefile: Include Makeconfig immediately after
8917 defining subdir.
8918 * inet/Makefile: Likewise.
8919 * intl/Makefile: Likewise.
8920 * io/Makefile: Likewise.
8921 * libio/Makefile: Likewise.
8922 (all): Remove target.
8923 * locale/Makefile: Include Makeconfig immediately after defining
8924 subdir.
8925 * login/Makefile: Likewise.
8926 * mach/Makefile: Likewise.
8927 (all): Remove target.
8928 * malloc/Makefile: Include Makeconfig immediately after defining
8929 subdir.
8930 (all): Remove target.
8931 * manual/Makefile: Include Makeconfig immediately after defining
8932 subdir.
8933 * math/Makefile: Likewise.
8934 * misc/Makefile: Likewise.
8935 * nis/Makefile: Likewise.
8936 * nss/Makefile: Likewise.
8937 * po/Makefile: Likewise.
8938 (all): Remove target.
8939 * posix/Makefile: Include Makeconfig immediately after defining
8940 subdir.
8941 * pwd/Makefile: Likewise.
8942 * resolv/Makefile: Likewise.
8943 * resource/Makefile: Likewise.
8944 * rt/Makefile: Likewise.
8945 * setjmp/Makefile: Likewise.
8946 * shadow/Makefile: Likewise.
8947 * signal/Makefile: Likewise.
8948 * socket/Makefile: Likewise.
8949 * soft-fp/Makefile: Likewise.
8950 * stdio-common/Makefile: Likewise.
8951 * stdlib/Makefile: Likewise.
8952 * streams/Makefile: Likewise.
8953 * string/Makefile: Likewise.
8954 * sunrpc/Makefile: Likewise.
8955 (all): Remove target.
8956 * sysvipc/Makefile: Include Makeconfig immediately after defining
8957 subdir.
8958 * termios/Makefile: Likewise.
8959 * time/Makefile: Likewise.
8960 * timezone/Makefile: Likewise.
8961 (all): Remove target.
8962 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8963 subdir.
8964 * wctype/Makefile: Likewise.
8965
89662014-02-26 Steve Ellcey <sellcey@mips.com>
8967
8968 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8969 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8970 (libc_feholdexcept_setround_mips): Ditto.
8971 (libc_feholdsetround): New.
8972 (libc_feholdsetroundf): New.
8973 (libc_feholdsetroundl): New.
8974 (libc_feupdateenv_test_mips): New.
8975 (libc_feupdateenv_test): New.
8976 (libc_feupdateenv_testf): New.
8977 (libc_feupdateenv_testl): New.
8978 (libc_feresetround): New.
8979 (libc_feresetroundf): New.
8980 (libc_feresetroundl): New.
8981 (libc_fetestexcept_mips): New.
8982 (libc_fetestexcept): New.
8983 (libc_fetestexceptf): New.
8984 (libc_fetestexceptl): New.
8985 (HAVE_RM_CTX): New.
8986 (libc_feholdexcept_setround_mips_ctx): New.
8987 (libc_feholdexcept_setround_ctx): New.
8988 (libc_feholdexcept_setroundf_ctx): New.
8989 (libc_feholdexcept_setroundl_ctx): New.
8990 (libc_fesetenv_mips_ctx): New.
8991 (libc_fesetenv_ctx): New.
8992 (libc_fesetenv_ctxf): New.
8993 (libc_fesetenv_ctxl): New.
8994 (libc_feupdateenv_mips_ctx): New.
8995 (libc_feupdateenv_ctx): New.
8996 (libc_feupdateenvf_ctx): New.
8997 (libc_feupdateenvl_ctx): New.
8998 (libc_feholdsetround_mips_ctx): New.
8999 (libc_feholdsetround_ctx): New.
9000 (libc_feholdsetroundf_ctx): New.
9001 (libc_feholdsetroundl_ctx): New.
9002 (libc_feresetround_mips_ctx): New.
9003 (libc_feresetround_ctx): New.
9004 (libc_feresetroundf_ctx): New.
9005 (libc_feresetroundl_ctx): New.
9006
90072014-02-26 Carlos O'Donell <carlos@redhat.com>
9008
9009 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9010
9011 * manual/ipc.texi: New file.
9012 * manual/Makefile (chapters): Add ipc.
9013 * manual/job.texi: Add "Inter-Process Communication" to next.
9014 * manual/process.texi: Add "Inter-Process Communication" to prev.
9015
90162014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9017
9018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9019
90202014-02-26 Ondřej Bílka <neleai@seznam.cz>
9021
9022 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9023
9024 * manual/arith.texi: Fix spaces after sentences.
9025 * manual/charset.texi: Likewise.
9026 * manual/errno.texi: Likewise.
9027 * manual/install.texi: Likewise.
9028 * manual/llio.texi: Likewise.
9029 * manual/locale.texi: Likewise.
9030 * manual/maint.texi: Likewise.
9031 * manual/math.texi: Likewise.
9032 * manual/memory.texi: Likewise.
9033 * manual/message.texi: Likewise.
9034 * manual/probes.texi: Likewise.
9035 * manual/resource.texi: Likewise.
9036 * manual/signal.texi: Likewise.
9037 * manual/socket.texi: Likewise.
9038 * manual/stdio.texi: Likewise.
9039 * manual/string.texi: Likewise.
9040 * manual/time.texi: Likewise.
9041 * manual/users.texi: Likewise.
9042
90432014-02-25 Carlos O'Donell <carlos@redhat.com>
9044
9045 [BZ #16632]
9046 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9047 _DEFAULT_SOURCE is defined.
9048
90492014-02-25 Ulrich Drepper <drepper@gmail.com>
9050 Carlos O'Donell <carlos@redhat.com>
9051
9052 [BZ #16613]
9053 * elf/dl-tls.c (_dl_count_modids): New function.
9054 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9055 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9056 audit library and increment generation counter.
9057 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9058 * elf/tst-audit9.c: New file.
9059 * elf/tst-auditmod9a.c: New file.
9060 * elf/tst-auditmod9b.c: New file.
9061 * elf/Makefile: Add rules to build and run tst-audit9.
9062
90632014-02-25 Florian Weimer <fweimer@redhat.com>
9064
9065 [BZ #15347]
9066 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9067
90682014-02-25 Will Newton <will.newton@linaro.org>
9069
9070 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9071 (__longjmp): Restore sp and lr before restoring callee
9072 saved registers. Add longjmp and longjmp_target
9073 SystemTap probe point.
9074 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9075 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9076 Define to zero to match jmpbuf layout.
9077 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9078 (__sigsetjmp): Save sp and lr before saving callee
9079 saved registers. Add setjmp SystemTap probe point.
9080
90812014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9082
9083 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9084
90852014-02-24 Andreas Schwab <schwab@suse.de>
9086
9087 [BZ #15804]
9088 * elf/pldd.c (wait_for_ptrace_stop): New function.
9089 (main): Call it after attaching.
9090
90912014-02-22 Roland McGrath <roland@hack.frob.com>
9092
9093 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9094 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9095 Versions files is now verboten.
9096 * hurd/Versions (libc: GLIBC_2.0):
9097 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9098 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9099 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9100 * mach/Versions: Likewise.
9101
9102 * csu/Versions: Remove unused %include.
9103 * resolv/Versions: Likewise.
9104
91052014-02-21 Joseph Myers <joseph@codesourcery.com>
9106
9107 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9108 ($(objpfx)check-local-headers.out): Likewise.
9109 ($(objpfx)begin-end-check.out): Likewise.
9110 * Makerules (check-abi-%.out): Likewise.
9111 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9112 ($(objpfx)test2.cat): Likewise.
9113 ($(objpfx)de/libc.cat): Likewise.
9114 ($(objpfx)test-gencat.out): Likewise.
9115 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9116 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9117 ($(objpfx)noload-mem): Likewise.
9118 ($(objpfx)tst-pathopt.out): Likewise.
9119 ($(objpfx)tst-rtld-load-self.out): Likewise.
9120 ($(objpfx)tst-array1-cmp.out): Likewise.
9121 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9122 ($(objpfx)tst-array2-cmp.out): Likewise.
9123 ($(objpfx)tst-array3-cmp.out): Likewise.
9124 ($(objpfx)tst-array4-cmp.out): Likewise.
9125 ($(objpfx)tst-array5-cmp.out): Likewise.
9126 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9127 ($(objpfx)check-textrel.out): Likewise.
9128 ($(objpfx)check-execstack.out): Likewise.
9129 ($(objpfx)check-localplt.out): Likewise.
9130 ($(objpfx)order2-cmp.out): Likewise.
9131 ($(objpfx)tst-leaks1-mem): Likewise.
9132 ($(objpfx)tst-leaks1-static-mem): Likewise.
9133 ($(objpfx)tst-initorder-cmp.out): Likewise.
9134 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9135 ($(objpfx)tst-unused-dep.out): Likewise.
9136 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9137 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9138 * iconv/Makefile (test-iconvconfig): Likewise.
9139 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9140 ($(objpfx)iconv-test.out): Likewise.
9141 ($(objpfx)tst-tables.out): Likewise.
9142 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9143 ($(objpfx)tst-gettext.out): Likewise.
9144 ($(objpfx)tst-translit.out): Likewise.
9145 ($(objpfx)tst-gettext2.out): Likewise.
9146 ($(objpfx)tst-gettext4.out): Likewise.
9147 ($(objpfx)tst-gettext6.out): Likewise.
9148 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9149 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9150 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9151 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9152 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9153 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9154 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9155 ($(objpfx)wordexp-tst.out): Likewise.
9156 ($(objpfx)annexc.out): Likewise.
9157 ($(objpfx)tst-fnmatch-mem): Likewise.
9158 ($(objpfx)bug-regex2-mem): Likewise.
9159 ($(objpfx)bug-regex14-mem): Likewise.
9160 ($(objpfx)bug-regex21-mem): Likewise.
9161 ($(objpfx)bug-regex31-mem): Likewise.
9162 ($(objpfx)tst-vfork3-mem): Likewise.
9163 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9164 ($(objpfx)tst-pcre-mem): Likewise.
9165 ($(objpfx)tst-boost-mem): Likewise.
9166 ($(objpfx)tst-getconf.out): Likewise.
9167 ($(objpfx)bug-ga2-mem): Likewise.
9168 ($(objpfx)bug-glob2-mem): Likewise.
9169 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9170 ($(objpfx)mtrace-tst-leaks2): Likewise.
9171 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9172 ($(objpfx)tst-printf.out): Likewise.
9173 ($(objpfx)tst-setvbuf1.out): Likewise.
9174 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9175 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9176 ($(objpfx)tst-fmtmsg.out): Likewise.
9177 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9178 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9179
9180 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9181 * bits/sigaction.h [__USE_MISC]: Likewise.
9182 * bits/waitstatus.h: Update #endif comments.
9183 * ctype/ctype.h: Likewise.
9184 * dirent/dirent.h: Likewise.
9185 [__USE_MISC]: Remove redundant conditionals.
9186 * grp/grp.h: Update #endif comments.
9187 [__USE_GNU]: Remove redundant conditionals.
9188 [__USE_MISC]: Likewise.
9189 * inet/netinet/in.h [__USE_GNU]: Likewise.
9190 * io/sys/stat.h [__USE_MISC]: Likewise.
9191 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9192 * libio/bits/stdio.h: Update #endif comments.
9193 [__USE_MISC]: Remove redundant conditionals.
9194 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9195 * libio/stdio.h: Update #endif comments.
9196 [__USE_MISC]: Remove redundant conditionals.
9197 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9198 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9199 * math/math.h: Update #else and #endif comments.
9200 [__USE_MISC]: Remove redundant conditionals.
9201 * misc/sys/uio.h: Update #endif comments.
9202 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9203 * posix/glob.h [__USE_MISC]: Likewise.
9204 * posix/sys/types.h: Update #endif comments.
9205 [__USE_MISC]: Remove redundant conditionals.
9206 * posix/sys/wait.h: Update #endif comments.
9207 [__USE_MISC]: Remove redundant conditionals.
9208 * posix/unistd.h: Update #endif comments.
9209 [__USE_MISC]: Remove redundant conditionals.
9210 * pwd/pwd.h [__USE_GNU]: Likewise.
9211 [__USE_MISC]: Likewise.
9212 * resolv/netdb.h [__USE_GNU]: Likewise.
9213 * signal/signal.h: Update #endif comments.
9214 [__USE_MISC]: Remove redundant conditionals.
9215 * stdlib/stdlib.h: Update #else and #endif comments.
9216 [__USE_MISC]: Remove redundant conditionals.
9217 [__USE_GNU]: Likewise.
9218 * string/bits/string2.h [__USE_MISC]: Likewise.
9219 * string/string.h: Update #endif comments.
9220 [__USE_MISC]: Remove redundant conditionals.
9221 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9222 Likewise.
9223 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9224 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9225 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9226 Likewise.
9227 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9228 Likewise.
9229 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9230 comments.
9231 [__USE_MISC]: Remove redundant conditionals.
9232 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9233 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9234 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9235 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9236 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9237 Likewise.
9238 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9239 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9240 Likewise.
9241 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9242 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9243 Likewise.
9244 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9245 Likewise.
9246 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9247 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9248 Likewise.
9249 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9250 Likewise.
9251 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9252 * sysdeps/x86/bits/string.h: Update #endif comments.
9253 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9254 conditionals.
9255 * time/sys/time.h: Update #endif comments.
9256 * time/time.h: Likewise.
9257 [__USE_MISC]: Remove redundant conditionals.
9258
92592014-02-21 Yury Gribov <y.gribov@samsung.com>
9260
9261 [BZ #16600]
9262 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9263
92642014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9265
9266 * Versions.def (librt): Add GLIBC_2.17.
9267
92682014-02-21 Adam Conrad <adconrad@0c3.net>
9269
9270 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9271 synonym for _SYS_AUXV_H to allow direct inclusion.
9272 * sysdeps/sparc/bits/hwcap.h: Likewise.
9273 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9274 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9275 * sysdeps/sparc/sysdep.h: Likewise.
9276
92772014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9278
9279 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9280
92812014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9282
9283 * benchtests/bench-strrchr.c: Print length instead of position.
9284
92852014-02-20 Joseph Myers <joseph@codesourcery.com>
9286
9287 [BZ #16611]
9288 * sysdeps/unix/sysv/linux/kernel-features.h
9289 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9290 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9291 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9292 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9293 Likewise.
9294 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9295 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9296 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9297 (__ASSUME_SENDMMSG): Define instead of using previous
9298 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9299 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9300 (__ASSUME_SENDMMSG_SYSCALL): Define.
9301 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9302 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9303 Likewise.
9304 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9305 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9306 Likewise.
9307 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9308 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9309 Likewise.
9310 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9311 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9312 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9313 [__ASSUME_SENDMMSG]: Change conditionals to
9314 [__ASSUME_SENDMMSG_SOCKETCALL].
9315 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9316 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9317 Define.
9318 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9319 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9320 Likewise.
9321 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9322 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9323 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9324 [!__ASSUME_SENDMMSG]: Change conditional to
9325 [!__ASSUME_SENDMMSG_SOCKETCALL].
9326 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9327 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9328 Define.
9329
9330 [BZ #16610]
9331 * sysdeps/unix/sysv/linux/kernel-features.h
9332 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9333 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9334 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9335 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9336 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9337 [__i386__ || __sparc__]
9338 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9339 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9340 (__ASSUME_RECVMMSG): Define instead of using previous
9341 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9342 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9343 (__ASSUME_RECVMMSG_SYSCALL): Define.
9344 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9345 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9346 Likewise.
9347 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9348 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9349 Likewise.
9350 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9351 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9352 Likewise.
9353 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9354 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9355 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9356 [__ASSUME_RECVMMSG]: Change condition to
9357 [__ASSUME_RECVMMSG_SOCKETCALL].
9358 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9359 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9360 Define.
9361 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9362 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9363 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9364 Likewise.
9365 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9366 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9367 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9368 [!__ASSUME_RECVMMSG]: Change condition to
9369 [!__ASSUME_RECVMMSG_SOCKETCALL].
9370 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9371 (__ASSUME_RECVMMSG_SYSCALL): Define.
9372
9373 [BZ #16609]
9374 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9375 __powerpc__ || __s390__ || __sh__ || __sparc__]
9376 (__ASSUME_SOCKETCALL): Define.
9377 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9378 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9379 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9380 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9381 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9382 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9383 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9384 (__ASSUME_ACCEPT4): Define instead of using previous
9385 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9386 __powerpc__ || __sparc__ || __s390__)] condition.
9387 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9388 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9389 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9390 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9391 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9392 [!__ASSUME_ACCEPT4]: Change condition to
9393 [!__ASSUME_ACCEPT4_SOCKETCALL].
9394 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9395 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9396 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9397 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9398 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9399 __ASSUME_ACCEPT4_SYSCALL.
9400 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9401 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9402 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9403 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9404 __ASSUME_ACCEPT4_SYSCALL.
9405 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9406 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9407 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9408 [__ASSUME_ACCEPT4]: Change condition to
9409 [__ASSUME_ACCEPT4_SOCKETCALL].
9410 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9411 (__ASSUME_SOCKETCALL): Define.
9412 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9413 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9414 (__ASSUME_SOCKETCALL): Define.
9415 (__ASSUME_ACCEPT4): Remove.
9416 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9417 Define.
9418 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9419 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9420 Likewise.
9421 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9422 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9423
9424 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9425 macro.
9426 (HWCAP_ARM_LPAE): Likewise.
9427 (HWCAP_ARM_EVTSTRM): Likewise.
9428 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9429 Add vpfd32, lpae and evtstrm.
9430 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9431 Increase to 22.
9432
94332014-02-19 Joseph Myers <joseph@codesourcery.com>
9434
9435 * math/auto-libm-test-in: Add tests of clog10.
9436 * math/auto-libm-test-out: Regenerated.
9437 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9438 * sysdeps/i386/fpu/libm-test-ulps: Update.
9439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9440
94412014-02-18 Andreas Schwab <schwab@suse.de>
9442
9443 [BZ #16574]
9444 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9445 Store non-zero if the second buffer was newly allocated.
9446 (send_dg): Likewise.
9447 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9448 to send_vc and send_dg.
9449 (res_nsend): Pass NULL for ansp2_malloced.
9450 * resolv/res_query.c (__libc_res_nquery): Add parameter
9451 answerp2_malloced and pass it down to __libc_res_nsend.
9452 (res_nquery): Pass additional NULL to __libc_res_nquery.
9453 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9454 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9455 second answer buffer if answerp2_malloced was set.
9456 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9457 (__libc_res_nquerydomain): Add parameter
9458 answerp2_malloced and pass it down to __libc_res_nquery.
9459 (res_nquerydomain): Pass additional NULL to
9460 __libc_res_nquerydomain.
9461 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9462 additional NULL to __libc_res_nsend and __libc_res_nquery.
9463 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9464 additional NULL to __libc_res_nsearch.
9465 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9466 parameter of __libc_res_nsearch to check for separately allocated
9467 second buffer.
9468 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9469 __libc_res_nquery.
9470 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9471 additional NULL to __libc_res_nquery.
9472 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9473 __libc_res_nsearch.
9474 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9475 * include/resolv.h: Update prototypes of __libc_res_nquery,
9476 __libc_res_nsearch, __libc_res_nsend.
9477
94782014-02-18 Joseph Myers <joseph@codesourcery.com>
9479
9480 * math/auto-libm-test-in: Add tests of fma.
9481 * math/auto-libm-test-out: Regenerated.
9482 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9483 (fma_towardzero_test_data): Likewise.
9484 (fma_downward_test_data): Likewise.
9485 (fma_upward_test_data): Likewise.
9486 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9487 mpc_mode.
9488 (rounding_modes): Add values for new field.
9489 (func_calc_method): Add value mpfr_fff_f.
9490 (func_calc_desc): Add mpfr_fff_f union field.
9491 (test_function): Add field exact_args.
9492 (FUNC): Add macro argument EXACT_ARGS.
9493 (FUNC_mpfr_f_f): Update call to FUNC.
9494 (FUNC_mpfr_f_f): Likewise.
9495 (FUNC_mpfr_ff_f): Likewise.
9496 (FUNC_mpfr_if_f): Likewise.
9497 (FUNC_mpc_c_f): Likewise.
9498 (FUNC_mpc_c_c): Likewise.
9499 (test_functions): Add fma. Update calls to FUNC.
9500 (handle_input_arg): Add argument exact_args.
9501 (add_test): Update call to handle_input_arg.
9502 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9503 (output_for_one_input_case): Update call to calc_generic_results.
9504 Recalculate exact zero results in each rounding mode.
9505
9506 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9507 non-negative before setting low bit.
9508 * math/auto-libm-test-in: Mark one asin test possibly having
9509 spurious underflow.
9510 * math/auto-libm-test-out: Regenerated.
9511 * sysdeps/i386/fpu/libm-test-ulps: Update.
9512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9513
95142014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9515
9516 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9517 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9518 ports/sysdeps/unix/sysv/linux/microblaze.
9519 * README: Add missing listing for microblaze*-*-linux-gnu.
9520
95212014-02-16 Mike Frysinger <vapier@gentoo.org>
9522
9523 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9524 * sysdeps/unix/sysv/linux/ia64: Move directory from
9525 ports/sysdeps/unix/sysv/linux/ia64.
9526 * README: Update listing for ia64-*-linux-gnu.
9527
95282014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9529 Joseph Myers <joseph@codesourcery.com>
9530
9531 * Makeconfig (test-name): New variable.
9532 (evaluate-test): Likewise.
9533 * Makerules (do-test-clean): Remove .test-result files.
9534 (common-mostlyclean): Likewise.
9535 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9536 * scripts/evaluate-test.sh: New file.
9537
95382014-02-14 Joseph Myers <joseph@codesourcery.com>
9539
9540 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9541 separate $(objpfx)tst-fopenloc-cmp.out and
9542 $(objpfx)tst-fopenloc-mem.out targets.
9543 (tests): Update dependencies.
9544 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9545 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9546 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9547 (tst-rxspencer-no-utf8-ARGS): New variable.
9548 (tst-rxspencer-no-utf8-ENV): Likewise.
9549 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9550 instead of $(objpfx)tst-rxspencer-mem.
9551 ($(objpfx)tst-rxspencer-mem): Change target to
9552 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9553 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9554 * posix/tst-rxspencer-no-utf8.c: New file.
9555
9556 * elf/Makefile ($(objpfx)order.out): Remove rule.
9557 [$(run-built-tests) = yes] (tests): Depend on
9558 $(objpfx)order-cmp.out.
9559 ($(objpfx)order-cmp.out): New rule.
9560 [$(run-built-tests) = yes] (tests): Depend on
9561 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9562 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9563 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9564 $(objpfx)tst-array5-static-cmp.out.
9565 ($(objpfx)tst-array1.out): Remove rule.
9566 ($(objpfx)tst-array1-cmp.out): New rule.
9567 ($(objpfx)tst-array1-static.out): Remove rule.
9568 ($(objpfx)tst-array1-static-cmp.out): New rule.
9569 ($(objpfx)tst-array2.out): Remove rule.
9570 ($(objpfx)tst-array2-cmp.out): New rule.
9571 ($(objpfx)tst-array3.out): Remove rule.
9572 ($(objpfx)tst-array3-cmp.out): New rule.
9573 ($(objpfx)tst-array4.out): Remove rule.
9574 ($(objpfx)tst-array4-cmp.out): New rule.
9575 ($(objpfx)tst-array5.out): Remove rule.
9576 ($(objpfx)tst-array5-cmp.out): New rule.
9577 ($(objpfx)tst-array5-static.out): Remove rule.
9578 ($(objpfx)tst-array5-static-cmp.out): New rule.
9579 [$(run-built-tests) = yes] (tests): Depend on
9580 $(objpfx)order2-cmp.out.
9581 ($(objpfx)order2.out): Remove rule.
9582 ($(objpfx)order2-cmp.out): New rule.
9583 ($(objpfx)tst-initorder.out): Remove rule.
9584 [$(run-built-tests) = yes] (tests): Depend on
9585 $(objpfx)tst-initorder-cmp.out.
9586 ($(objpfx)tst-initorder-cmp.out): New rule.
9587 ($(objpfx)tst-initorder2.out): Remove rule.
9588 [$(run-built-tests) = yes] (tests): Depend on
9589 $(objpfx)tst-initorder2-cmp.out.
9590 ($(objpfx)tst-initorder2-cmp.out): New rule.
9591 [$(run-built-tests) = yes] (tests): Depend on
9592 $(objpfx)tst-unused-dep-cmp.out.
9593 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9594 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9595 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9596 on $(objpfx)tst-setvbuf1-cmp.out.
9597 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9598 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9599 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9600 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9601 ($(objpfx)tst-svc.out): Remove rule.
9602 ($(objpfx)tst-svc-cmp.out): New rule.
9603
96042014-02-13 Joseph Myers <joseph@codesourcery.com>
9605
9606 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9607 * ctype/ctype.h [__USE_MISC]: Likewise.
9608 * dirent/dirent.h [__USE_MISC]: Likewise.
9609 * grp/grp.h [__USE_MISC]: Likewise.
9610 * io/fcntl.h [__USE_MISC]: Likewise.
9611 * io/sys/stat.h [__USE_MISC]: Likewise.
9612 * libio/stdio.h [__USE_MISC]: Likewise.
9613 * posix/unistd.h [__USE_MISC]: Likewise.
9614 * pwd/pwd.h [__USE_MISC]: Likewise.
9615 * stdlib.h [__USE_MISC]: Likewise.
9616 * string/bits/string2.h [__USE_MISC]: Likewise.
9617 * string/string.h [__USE_MISC]: Likewise.
9618 * time/time.h [__USE_MISC]: Likewise.
9619
96202014-02-13 Andreas Schwab <schwab@suse.de>
9621
9622 [BZ #16574]
9623 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9624 second answer buffer if it was separately allocated.
9625
96262014-02-12 Joseph Myers <joseph@codesourcery.com>
9627
9628 * sysdeps/mips/math-tests.h: Include <features.h>.
9629 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9630 (ROUNDING_TESTS_long_double): Do not define.
9631 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9632 (EXCEPTION_TESTS_long_double): Likewise.
9633 * sysdeps/mips/mips64/libm-test-ulps: Update.
9634
9635 * include/features.h (__USE_BSD): Remove macro definitions.
9636 (__USE_SVID): Likewise.
9637 (_BSD_SOURCE): Likewise.
9638 (_SVID_SOURCE): Likewise.
9639 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9640 from definition of _DEFAULT_SOURCE.
9641 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9642 [_DEFAULT_SOURCE].
9643 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9644 * bits/mman.h [__USE_BSD]: Likewise.
9645 * bits/termios.h [__USE_BSD]: Likewise.
9646 * bits/waitstatus.h [__USE_BSD]: Likewise.
9647 * ctype/ctype.h [__USE_SVID]: Likewise.
9648 * dirent/dirent.h [__USE_BSD]: Likewise.
9649 * grp/grp.h [__USE_SVID]: Likewise.
9650 [__USE_BSD]: Likewise.
9651 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9652 * io/fcntl.h [__USE_BSD]: Likewise.
9653 * io/ftw.h [__USE_BSD]: Likewise.
9654 * io/sys/stat.h [__USE_BSD]: Likewise.
9655 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9656 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9657 * libio/stdio.h [__USE_SVID]: Likewise.
9658 [__USE_BSD]: Likewise.
9659 * math/math.h [__USE_SVID]: Likewise.
9660 [__USE_BSD]: Likewise.
9661 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9662 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9663 * misc/search.h [__USE_SVID]: Likewise.
9664 * misc/sys/mman.h [__USE_BSD]: Likewise.
9665 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9666 * misc/sys/uio.h [__USE_BSD]: Likewise.
9667 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9668 * posix/glob.h [__USE_BSD]: Likewise.
9669 * posix/regex.h [__USE_BSD]: Likewise.
9670 * posix/sys/types.h [__USE_BSD]: Likewise.
9671 [__USE_SVID]: Likewise.
9672 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9673 * posix/sys/wait.h [__USE_BSD]: Likewise.
9674 [__USE_SVID]: Likewise.
9675 * posix/unistd.h [__USE_BSD]: Likewise.
9676 [__USE_SVID]: Likewise.
9677 * pwd/pwd.h [__USE_SVID]: Likewise.
9678 * resolv/netdb.h [__USE_BSD]: Likewise.
9679 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9680 * signal/signal.h [__USE_BSD]: Likewise.
9681 [__USE_SVID]: Likewise.
9682 * socket/sys/socket.h [__USE_BSD]: Likewise.
9683 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9684 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9685 [__USE_SVID]: Likewise.
9686 * string/bits/string2.h [__USE_BSD]: Likewise.
9687 [__USE_SVID]: Likewise.
9688 * string/bits/string3.h [__USE_BSD]: Likewise.
9689 * string/endian.h [__USE_BSD]: Likewise.
9690 * string/string.h [__USE_SVID]: Likewise.
9691 [__USE_BSD]: Likewise.
9692 * string/strings.h [__USE_BSD]: Likewise.
9693 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9694 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9695 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9696 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9697 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9698 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9699 Likewise.
9700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9701 Likewise.
9702 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9703 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9704 Likewise.
9705 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9706 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9707 Likewise.
9708 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9709 Likewise.
9710 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9711 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9713 Likewise.
9714 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9715 Likewise.
9716 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9717 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9718 * termios/termios.h [__USE_BSD]: Likewise.
9719 * time/sys/time.h [__USE_BSD]: Likewise.
9720 * time/time.h [__USE_BSD]: Likewise.
9721 [__USE_SVID]: Likewise.
9722
9723 * Makefile (subdir_targets): Remove subdir_lint.out.
9724
9725 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9726 (do-tst-printf): Likewise.
9727 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9728 $(objpfx)tst-printf.out.
9729
9730 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9731
9732 * Makerules (check-abi-%): Change target to
9733 $(objpfx)check-abi-%.out.
9734 (check-abi target): Update dependencies.
9735 (check-abi-pattern variable): Redirect output of diff to $@.
9736 (check-abi variable): Likewise.
9737 * elf/Makefile (check-abi): Update dependencies.
9738
9739 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9740 unused.
9741 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9742 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9743 subnormal range.
9744 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9745 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9746 value has largest subnormal exponent.
9747 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9748 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9749 * sysdeps/aarch64/soft-fp/sfp-machine.h
9750 (_FP_TININESS_AFTER_ROUNDING): New macro.
9751 * sysdeps/alpha/soft-fp/sfp-machine.h
9752 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9753 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9754 Likewise.
9755 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9756 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9757 * sysdeps/mips/soft-fp/sfp-machine.h
9758 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9759 * sysdeps/powerpc/soft-fp/sfp-machine.h
9760 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9761 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9762 Likewise.
9763 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9764 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9765 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9766 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9767 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9768 Likewise.
9769
97702014-02-12 Dylan Alex Simon <dylan@dylex.net>
9771
9772 [BZ #16545]
9773 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9774 model 1.
9775
97762014-02-12 Richard Henderson <rth@redhat.com>
9777
9778 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9779 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9780 * sysdeps/unix/sysv/linux/alpha: Move directory from
9781 ports/sysdeps/unix/sysv/linux/alpha.
9782 * README: Update listing for alpha-*-linux-gnu.
9783
97842014-02-11 Joseph Myers <joseph@codesourcery.com>
9785
9786 * include/features.h: Update comment documenting feature test
9787 macros.
9788 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9789 _DEFAULT_SOURCE.
9790 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9791 (_SVID_SOURCE): Likewise.
9792 (_DEFAULT_SOURCE): Update description of default features.
9793 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9794 with _GNU_SOURCE.
9795 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9796 (S_ISVTX): Likewise.
9797 * manual/math.texi (Mathematical Constants): Likewise.
9798 * manual/signal.texi (Interrupted Primitives): Likewise.
9799 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9800 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9801 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9802 Don't refer to _SVID_SOURCE in warning text.
9803
9804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9805
9806 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9807 already defined.
9808 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9809 * sysdeps/mips/dl-lookup.c: Remove.
9810 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9811
98122014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9813
9814 [BZ #16447]
9815 * math/auto-libm-test-in: Add testcase for expl.
9816 * math/auto-libm-test-out: Regenerate.
9817 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9818 calculation of unsafe.
9819 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9820
98212014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9822
9823 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9824 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9825 ports/sysdeps/unix/sysv/linux/aarch64.
9826 * README: Update listing for aarch64*-*-linux-gnu.
9827
98282014-02-11 Will Newton <will.newton@linaro.org>
9829
9830 * manual/probes.texi (Mathematical Function Probes): Use
9831 "triggered" instead of "hit".
9832
9833 * manual/probes.texi (Internal Probes): Add documentation
9834 of setjmp, longjmp and longjmp_target probes.
9835
9836 * include/stap-probe.h: Add comment about probe argument
9837 format.
9838
9839 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9840 definition. (tr_where, tr_freehook, tr_mallochook,
9841 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9842
98432014-02-11 David S. Miller <davem@davemloft.net>
9844
9845 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9846 processing int_tests.
9847
98482014-02-10 Joseph Myers <joseph@codesourcery.com>
9849
9850 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9851 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9852 * sysdeps/unix/sysv/linux/mips: Move directory from
9853 ports/sysdeps/unix/sysv/linux/mips.
9854 * README: Update listing for mips-*-linux-gnu and
9855 mips64-*-linux-gnu.
9856
98572014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9858
9859 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9860 * sysdeps/unix/sysv/linux/m68k: Move directory from
9861 ports/sysdeps/unix/sysv/linux/m68k.
9862 * README: Update listing for m68k-*-linux-gnu.
9863
98642014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9865
9866 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9867 * sysdeps/unix/sysv/linux/generic: Move directory from
9868 ports/sysdeps/unix/sysv/linux/generic.
9869 * sysdeps/unix/sysv/linux/tile: Move directory from
9870 ports/sysdeps/unix/sysv/linux/tile.
9871 * README: Update listing for tile*-*-linux-gnu.
9872
98732014-02-10 Ondřej Bílka <neleai@seznam.cz>
9874
9875 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9876 __builtin_expect.
9877 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9878 * catgets/open_catalog.c (__open_catalog): Likewise.
9879 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9880 * debug/confstr_chk.c: Likewise.
9881 * debug/fread_chk.c (__fread_chk): Likewise.
9882 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9883 * debug/getgroups_chk.c: Likewise.
9884 * debug/mbsnrtowcs_chk.c: Likewise.
9885 * debug/mbsrtowcs_chk.c: Likewise.
9886 * debug/mbstowcs_chk.c: Likewise.
9887 * debug/memcpy_chk.c: Likewise.
9888 * debug/memmove_chk.c: Likewise.
9889 * debug/mempcpy_chk.c: Likewise.
9890 * debug/memset_chk.c: Likewise.
9891 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9892 * debug/strcat_chk.c (__strcat_chk): Likewise.
9893 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9894 * debug/strncat_chk.c (__strncat_chk): Likewise.
9895 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9896 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9897 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9898 * debug/wcpncpy_chk.c: Likewise.
9899 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9900 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9901 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9902 * debug/wcsncpy_chk.c: Likewise.
9903 * debug/wcsnrtombs_chk.c: Likewise.
9904 * debug/wcsrtombs_chk.c: Likewise.
9905 * debug/wcstombs_chk.c: Likewise.
9906 * debug/wmemcpy_chk.c: Likewise.
9907 * debug/wmemmove_chk.c: Likewise.
9908 * debug/wmempcpy_chk.c: Likewise.
9909 * debug/wmemset_chk.c: Likewise.
9910 * dirent/scandirat.c (SCANDIRAT): Likewise.
9911 * dlfcn/dladdr1.c (dladdr1): Likewise.
9912 * dlfcn/dladdr.c (dladdr): Likewise.
9913 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9914 * dlfcn/dlerror.c (__dlerror): Likewise.
9915 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9916 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9917 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9918 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9919 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9920 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9921 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9922 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9923 Likewise.
9924 * elf/dl-conflict.c: Likewise.
9925 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9926 * elf/dl-dst.h: Likewise.
9927 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9928 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9929 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9930 * elf/dl-init.c (call_init, _dl_init): Likewise.
9931 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9932 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9933 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9934 Likewise.
9935 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9936 Likewise.
9937 * elf/dl-minimal.c (__libc_memalign): Likewise.
9938 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9939 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9940 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9941 * elf/dl-sym.c (do_sym): Likewise.
9942 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9943 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9944 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9945 * elf/dl-writev.h (_dl_writev): Likewise.
9946 * elf/ldconfig.c (search_dir): Likewise.
9947 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9948 (dl_main): Likewise.
9949 * elf/setup-vdso.h (setup_vdso): Likewise.
9950 * grp/compat-initgroups.c (compat_call): Likewise.
9951 * grp/fgetgrent.c (fgetgrent): Likewise.
9952 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9953 * grp/putgrent.c (putgrent): Likewise.
9954 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9955 Likewise.
9956 * hurd/hurdinit.c: Likewise.
9957 * iconvdata/8bit-gap.c (struct): Likewise.
9958 * iconvdata/ansi_x3.110.c : Likewise.
9959 * iconvdata/big5.c : Likewise.
9960 * iconvdata/big5hkscs.c : Likewise.
9961 * iconvdata/cp1255.c: Likewise.
9962 * iconvdata/cp1258.c : Likewise.
9963 * iconvdata/cp932.c : Likewise.
9964 * iconvdata/euc-cn.c: Likewise.
9965 * iconvdata/euc-jisx0213.c : Likewise.
9966 * iconvdata/euc-jp.c: Likewise.
9967 * iconvdata/euc-jp-ms.c : Likewise.
9968 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9969 * iconvdata/gb18030.c : Likewise.
9970 * iconvdata/gbbig5.c (const): Likewise.
9971 * iconvdata/gbgbk.c: Likewise.
9972 * iconvdata/gbk.c : Likewise.
9973 * iconvdata/ibm1364.c : Likewise.
9974 * iconvdata/ibm930.c : Likewise.
9975 * iconvdata/ibm932.c: Likewise.
9976 * iconvdata/ibm933.c : Likewise.
9977 * iconvdata/ibm935.c : Likewise.
9978 * iconvdata/ibm937.c : Likewise.
9979 * iconvdata/ibm939.c : Likewise.
9980 * iconvdata/ibm943.c: Likewise.
9981 * iconvdata/iso_11548-1.c: Likewise.
9982 * iconvdata/iso-2022-cn.c : Likewise.
9983 * iconvdata/iso-2022-cn-ext.c : Likewise.
9984 * iconvdata/iso-2022-jp-3.c: Likewise.
9985 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9986 * iconvdata/iso-2022-kr.c : Likewise.
9987 * iconvdata/iso646.c (gconv_end): Likewise.
9988 * iconvdata/iso_6937-2.c : Likewise.
9989 * iconvdata/iso_6937.c : Likewise.
9990 * iconvdata/iso8859-1.c: Likewise.
9991 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9992 * iconvdata/shift_jisx0213.c : Likewise.
9993 * iconvdata/sjis.c : Likewise.
9994 * iconvdata/t.61.c : Likewise.
9995 * iconvdata/tcvn5712-1.c : Likewise.
9996 * iconvdata/tscii.c: Likewise.
9997 * iconvdata/uhc.c : Likewise.
9998 * iconvdata/unicode.c (gconv_end): Likewise.
9999 * iconvdata/utf-16.c (gconv_end): Likewise.
10000 * iconvdata/utf-32.c (gconv_end): Likewise.
10001 * iconvdata/utf-7.c (base64): Likewise.
10002 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10003 * iconv/gconv_close.c (__gconv_close): Likewise.
10004 * iconv/gconv_open.c (__gconv_open): Likewise.
10005 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10006 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10007 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10008 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10009 (ucs4le_internal_loop_single): Likewise.
10010 * iconv/iconv.c (iconv): Likewise.
10011 * iconv/iconv_close.c: Likewise.
10012 * iconv/loop.c (SINGLE): Likewise.
10013 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10014 * include/atomic.h: Likewise.
10015 * inet/inet6_option.c (option_alloc): Likewise.
10016 * intl/bindtextdom.c (set_binding_values): Likewise.
10017 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10018 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10019 * intl/localealias.c (read_alias_file): Likewise.
10020 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10021 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10022 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10023 * libio/fmemopen.c (fmemopen): Likewise.
10024 * libio/iofgets.c (_IO_fgets): Likewise.
10025 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10026 * libio/iofgetws.c (fgetws): Likewise.
10027 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10028 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10029 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10030 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10031 * locale/findlocale.c (_nl_find_locale): Likewise.
10032 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10033 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10034 Likewise.
10035 * locale/setlocale.c (setlocale): Likewise.
10036 * login/programs/pt_chown.c (main): Likewise.
10037 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10038 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10039 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10040 (mmap, mmap64, mremap, munmap): Likewise.
10041 * math/e_exp2l.c: Likewise.
10042 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10043 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10044 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10045 * math/s_catan.c (__catan): Likewise.
10046 * math/s_catanf.c (__catanf): Likewise.
10047 * math/s_catanh.c (__catanh): Likewise.
10048 * math/s_catanhf.c (__catanhf): Likewise.
10049 * math/s_catanhl.c (__catanhl): Likewise.
10050 * math/s_catanl.c (__catanl): Likewise.
10051 * math/s_ccosh.c (__ccosh): Likewise.
10052 * math/s_ccoshf.c (__ccoshf): Likewise.
10053 * math/s_ccoshl.c (__ccoshl): Likewise.
10054 * math/s_cexp.c (__cexp): Likewise.
10055 * math/s_cexpf.c (__cexpf): Likewise.
10056 * math/s_cexpl.c (__cexpl): Likewise.
10057 * math/s_clog10.c (__clog10): Likewise.
10058 * math/s_clog10f.c (__clog10f): Likewise.
10059 * math/s_clog10l.c (__clog10l): Likewise.
10060 * math/s_clog.c (__clog): Likewise.
10061 * math/s_clogf.c (__clogf): Likewise.
10062 * math/s_clogl.c (__clogl): Likewise.
10063 * math/s_csin.c (__csin): Likewise.
10064 * math/s_csinf.c (__csinf): Likewise.
10065 * math/s_csinh.c (__csinh): Likewise.
10066 * math/s_csinhf.c (__csinhf): Likewise.
10067 * math/s_csinhl.c (__csinhl): Likewise.
10068 * math/s_csinl.c (__csinl): Likewise.
10069 * math/s_csqrt.c (__csqrt): Likewise.
10070 * math/s_csqrtf.c (__csqrtf): Likewise.
10071 * math/s_csqrtl.c (__csqrtl): Likewise.
10072 * math/s_ctan.c (__ctan): Likewise.
10073 * math/s_ctanf.c (__ctanf): Likewise.
10074 * math/s_ctanh.c (__ctanh): Likewise.
10075 * math/s_ctanhf.c (__ctanhf): Likewise.
10076 * math/s_ctanhl.c (__ctanhl): Likewise.
10077 * math/s_ctanl.c (__ctanl): Likewise.
10078 * math/w_pow.c: Likewise.
10079 * math/w_powf.c: Likewise.
10080 * math/w_powl.c: Likewise.
10081 * math/w_scalb.c (sysv_scalb): Likewise.
10082 * math/w_scalbf.c (sysv_scalbf): Likewise.
10083 * math/w_scalbl.c (sysv_scalbl): Likewise.
10084 * misc/error.c (error_tail): Likewise.
10085 * misc/pselect.c (__pselect): Likewise.
10086 * nis/nis_callback.c (__nis_create_callback): Likewise.
10087 * nis/nis_call.c (__nisfind_server): Likewise.
10088 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10089 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10090 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10091 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10092 * nis/nis_lookup.c (nis_lookup): Likewise.
10093 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10094 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10095 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10096 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10097 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10098 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10099 * nis/nss_compat/compat-initgroups.c (add_group)
10100 (internal_getgrent_r): Likewise.
10101 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10102 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10103 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10104 (internal_getspnam_r): Likewise.
10105 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10106 (_nss_nis_getaliasbyname_r): Likewise.
10107 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10108 (_nss_nis_getntohost_r): Likewise.
10109 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10110 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10111 (_nss_nis_getgrgid_r): Likewise.
10112 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10113 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10114 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10115 (_nss_nis_gethostbyname4_r): Likewise.
10116 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10117 (initgroups_netid): Likewise.
10118 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10119 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10120 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10121 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10122 (_nss_nis_getprotobynumber_r): Likewise.
10123 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10124 (_nss_nis_getsecretkey): Likewise.
10125 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10126 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10127 (_nss_nis_getpwuid_r): Likewise.
10128 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10129 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10130 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10131 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10132 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10133 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10134 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10135 Likewise.
10136 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10137 (_nss_nisplus_getntohost_r): Likewise.
10138 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10139 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10140 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10141 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10142 Likewise.
10143 * nis/nss_nisplus/nisplus-initgroups.c
10144 (_nss_nisplus_initgroups_dyn): Likewise.
10145 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10146 (_nss_nisplus_getnetbyaddr_r): Likewise.
10147 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10148 (_nss_nisplus_getprotobynumber_r): Likewise.
10149 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10150 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10151 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10152 Likewise.
10153 * nis/nss_nisplus/nisplus-service.c
10154 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10155 (_nss_nisplus_getservbyport_r): Likewise.
10156 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10157 (_nss_nisplus_getspnam_r): Likewise.
10158 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10159 Likewise.
10160 * nscd/aicache.c (addhstaiX): Likewise.
10161 * nscd/cache.c (cache_search, prune_cache): Likewise.
10162 * nscd/connections.c (register_traced_file, send_ro_fd)
10163 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10164 (main_loop_epoll): Likewise.
10165 * nscd/grpcache.c (addgrbyX): Likewise.
10166 * nscd/hstcache.c (addhstbyX): Likewise.
10167 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10168 * nscd/mem.c (gc, mempool_alloc): Likewise.
10169 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10170 (addinnetgrX): Likewise.
10171 * nscd/nscd-client.h (__nscd_acquire_maplock)
10172 (__nscd_drop_map_ref): Likewise.
10173 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10174 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10175 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10176 Likewise.
10177 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10179 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10180 (__nscd_get_map_ref): Likewise.
10181 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10182 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10183 Likewise.
10184 * nscd/pwdcache.c (addpwbyX): Likewise.
10185 * nscd/selinux.c (preserve_capabilities): Likewise.
10186 * nscd/servicescache.c (addservbyX): Likewise.
10187 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10188 * posix/fnmatch.c (fnmatch): Likewise.
10189 * posix/getopt.c (_getopt_internal_r): Likewise.
10190 * posix/glob.c (glob, glob_in_dir): Likewise.
10191 * posix/wordexp.c (exec_comm_child): Likewise.
10192 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10193 (getanswer_r, gaih_getanswer_slice): Likewise.
10194 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10195 * resolv/res_init.c: Likewise.
10196 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10197 * resolv/res_query.c (__libc_res_nquery): Likewise.
10198 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10199 Likewise.
10200 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10201 * stdio-common/perror.c (perror): Likewise.
10202 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10203 * stdio-common/tmpnam.c (tmpnam): Likewise.
10204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10205 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10206 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10207 Likewise.
10208 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10209 * stdlib/putenv.c (putenv): Likewise.
10210 * stdlib/setenv.c (__add_to_environ): Likewise.
10211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10212 * stdlib/strtol_l.c (INTERNAL): Likewise.
10213 * string/memmem.c (memmem): Likewise.
10214 * string/strerror.c (strerror): Likewise.
10215 * string/strnlen.c (__strnlen): Likewise.
10216 * string/test-memmem.c (simple_memmem): Likewise.
10217 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10218 * sunrpc/pm_getport.c (__get_socket): Likewise.
10219 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10220 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10221 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10222 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10223 Likewise.
10224 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10225 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10226 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10227 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10228 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10229 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10230 Likewise.
10231 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10232 Likewise.
10233 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10234 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10235 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10236 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10237 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10239 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10241 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10242 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10243 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10244 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10245 Likewise.
10246 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10247 Likewise.
10248 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10249 Likewise.
10250 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10252 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10253 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10254 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10255 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10256 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10266 Likewise.
10267 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10268 Likewise.
10269 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10270 Likewise.
10271 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10272 Likewise.
10273 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10275 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10276 Likewise.
10277 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10278 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10279 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10280 * sysdeps/posix/sleep.c: Likewise.
10281 * sysdeps/posix/tempname.c: Likewise.
10282 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10283 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10284 Likewise.
10285 * sysdeps/powerpc/powerpc32/dl-machine.h
10286 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10287 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10289 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10290 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10291 Likewise.
10292 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10293 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10294 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10295 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10296 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10297 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10298 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10299 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10300 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10301 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10303 (elf_machine_lazy_rel): Likewise.
10304 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10306 (elf_machine_lazy_rel): Likewise.
10307 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10308 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10309 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10310 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10311 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10312 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10313 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10315 Likewise.
10316 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10317 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10318 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10319 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10320 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10321 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10322 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10323 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10324 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10325 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10326 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10327 Likewise.
10328 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10329 (__posix_fallocate64_l64): Likewise.
10330 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10331 (posix_fallocate): Likewise.
10332 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10333 Likewise.
10334 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10335 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10336 (getifaddrs_internal): Likewise.
10337 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10338 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10339 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10341 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10342 (__posix_fallocate64_l64): Likewise.
10343 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10344 Likewise.
10345 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10346 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10347 (__get_clockfreq): Likewise.
10348 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10349 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10350 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10353 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10354 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10355 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10356 Likewise.
10357 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10358 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10359 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10360 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10361 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10362 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10363 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10364 Likewise.
10365 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10366 (posix_fallocate): Likewise.
10367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10368 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10369 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10370 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10371 (elf_machine_rela, elf_machine_rela_relative)
10372 (elf_machine_lazy_rel): Likewise.
10373 * time/asctime.c (asctime_internal): Likewise.
10374 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10375 * time/tzset.c (__tzset_parse_tz): Likewise.
10376 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10377 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10378 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10379 * wcsmbs/wcsmbsload.h: Likewise.
10380
10381 [BZ #15894]
10382 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10383
10384 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10385 (arena_get2): Remove THREAD_STATS conditionals.
10386 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10387 (__malloc_stats, int): Likewise.
10388
103892014-02-08 Mike Frysinger <vapier@gentoo.org>
10390
10391 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10392 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10393
10394 * manual/setjmp.texi: Fix typos/grammar errors.
10395
10396 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10397 Only return early when n is <= 0. Delete unused return statement.
10398
10399 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10400 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10401 * debug/tst-longjmp_chk3.c: New file.
10402
10403 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10404 (test_main): Replace code with set_fortify_handler call.
10405 * debug/test-strcpy_chk.c: Likewise.
10406 * debug/tst-chk1.c: Likewise.
10407 * debug/tst-longjmp_chk.c: Likewise.
10408 * test-skeleton.c: Include fcntl.h & paths.h
10409 (set_fortify_handler): Define.
10410
10411 * debug/tst-longjmp_chk.c: Add header comment and include
10412 ../test-skeleton.c.
10413 (do_test): Mark static.
10414 (TEST_FUNCTION): Define.
10415
10416 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10417 (IP_PMTUDISC_INTERFACE): Likewise.
10418 (IP_MULTICAST_IF): Likewise.
10419 (IP_MULTICAST_TTL): Likewise.
10420 (IP_MULTICAST_LOOP): Likewise.
10421 (IP_ADD_MEMBERSHIP): Likewise.
10422 (IP_DROP_MEMBERSHIP): Likewise.
10423 (IP_UNBLOCK_SOURCE): Likewise.
10424 (IP_BLOCK_SOURCE): Likewise.
10425 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10426 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10427 (IP_MSFILTER): Likewise.
10428 (MCAST_JOIN_GROUP): Likewise.
10429 (MCAST_BLOCK_SOURCE): Likewise.
10430 (MCAST_UNBLOCK_SOURCE): Likewise.
10431 (MCAST_LEAVE_GROUP): Likewise.
10432 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10433 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10434 (MCAST_MSFILTER): Likewise.
10435 (IP_MULTICAST_ALL): Likewise.
10436 (IP_UNICAST_IF): Likewise.
10437
10438 * timezone/Makefile: Delete $(have-ksh) check.
10439 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10440 * timezone/tzselect.ksh: Add +x mode bits.
10441
10442 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10443 (ANON_INODE_FS_MAGIC): Likewise.
10444 (BDEVFS_MAGIC): Likewise.
10445 (BINFMTFS_MAGIC): Likewise.
10446 (BTRFS_TEST_MAGIC): Likewise.
10447 (CRAMFS_MAGIC_WEND): Likewise.
10448 (DEBUGFS_MAGIC): Likewise.
10449 (ECRYPTFS_SUPER_MAGIC): Likewise.
10450 (EXT3_SUPER_MAGIC): Likewise.
10451 (EXT4_SUPER_MAGIC): Likewise.
10452 (FUTEXFS_SUPER_MAGIC): Likewise.
10453 (HOSTFS_SUPER_MAGIC): Likewise.
10454 (HUGETLBFS_MAGIC): Likewise.
10455 (MINIX3_SUPER_MAGIC): Likewise.
10456 (MTD_INODE_FS_MAGIC): Likewise.
10457 (NILFS_SUPER_MAGIC): Likewise.
10458 (OPENPROM_SUPER_MAGIC): Likewise.
10459 (PIPEFS_MAGIC): Likewise.
10460 (PSTOREFS_MAGIC): Likewise.
10461 (QNX6_SUPER_MAGIC): Likewise.
10462 (RAMFS_MAGIC): Likewise.
10463 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10464 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10465 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10466 (SECURITYFS_MAGIC): Likewise.
10467 (SELINUX_MAGIC): Likewise.
10468 (SMACK_MAGIC): Likewise.
10469 (SOCKFS_MAGIC): Likewise.
10470 (SQUASHFS_MAGIC): Likewise.
10471 (STACK_END_MAGIC): Likewise.
10472 (TMPFS_MAGIC): Likewise.
10473 (USBDEVICE_SUPER_MAGIC): Likewise.
10474 (V9FS_MAGIC): Likewise.
10475 (XENFS_SUPER_MAGIC): Likewise.
10476 (CRAMFS_MAGIC): Fix typo in comment.
10477 (EXT2_SUPER_MAGIC): Update comment.
10478 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10479
104802014-02-08 Joseph Myers <joseph@codesourcery.com>
10481
10482 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10483 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10484 * sysdeps/unix/sysv/linux/arm: Move directory from
10485 ports/sysdeps/unix/sysv/linux/arm.
10486 * README: Update listing for arm-*-linux-gnueabi.
10487
10488 * README: Remove mention of am33.
10489
104902014-02-07 Roland McGrath <roland@hack.frob.com>
10491
10492 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10493 than the comma operator, to avoid "rhs of comma has no effect"
10494 compiler warnings.
10495 (__sigfillset, __sigandset, __sigorset): Likewise.
10496 * include/signal.h (__sigemptyset): Likewise.
10497 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10498
104992014-02-07 Allan McRae <allan@archlinux.org>
10500
10501 * version.h (RELEASE): Set to "development".
10502 (VERSION): Set to "2.19.90"
10503 * NEWS: Add 2.20 section.
10504
105052014-02-06 Carlos O'Donell <carlos@redhat.com>
10506
10507 [BZ #16529]
10508 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10509
105102014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10511
10512 * manual/contrib.texi: Update entry for Carlos O'Donell,
10513 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10514
105152014-02-05 Carlos O'Donell <carlos@rehdat.com>
10516
10517 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10518
10519 * sysdeps/unix/sysv/linux/kernel-features.h
10520 [__LINUX_KERNEL_VERSION >= 0x020621]
10521 (__ASSUME_PROC_PID_TASK_COMM): Define.
10522
105232014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10524
10525 [BZ #16398]
10526 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10527 conversion when destination buffer does not have enough space.
10528 * libio/tst-ftell-partial-wide.c: New test case.
10529 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10530
10531 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10532 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10533 Leonard and Allan McRae.
10534
105352014-02-04 David S. Miller <davem@davemloft.net>
10536
10537 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10538 32-bit.
10539
105402014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10543 New file
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10545 New file
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10547 New file.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10549 New file.
10550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10551 New file.
10552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10553 New file.
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10555 New file.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10557 New file.
10558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10559 New file.
10560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10561 New file.
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10563 New file.
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10565 New file.
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10567 New file.
10568
105692014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10570
10571 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10572 * shlib-versions: Likewise.
10573
105742014-02-04 Roland McGrath <roland@hack.frob.com>
10575 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10576
10577 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10578 (abilist-pattern): New variable, set to %-le.abilist.
10579
10580 * Makerules (abilist-pattern): New variable.
10581 (vpath): Use $(abilist-pattern) in place of %.abilist.
10582 (check-abi-% pattern rule): Likewise.
10583 (check-abi, update-abi): Likewise.
10584
105852014-02-04 Eric Wong <normalperson@yhbt.net>
10586
10587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10588
105892014-02-03 Carlos O'Donell <carlos@redhat.com>
10590
10591 * manual/startup.texi: Add next, previous, and top entries for
10592 the `Program Arguments' and `Environment Variables' nodes.
10593
105942014-02-03 Alexandre Oliva <aoliva@redhat.com>
10595
10596 * manual/macros.texi: Add comments before MTASC-safety macros.
10597
10598 * manual/users.texi: Document MTASC-safety properties.
10599
10600 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10601 (pthread_getspecific, pthread_setspecific): Format with
10602 @deftypefun, and add @safety note.
10603 * manual/signal.texi: Move comments that analyze the above
10604 functions to their home place.
10605
106062014-02-03 Allan McRae <allan@archlinux.org>
10607
10608 * po/sl.po: Update Slovenian translation from translation project.
10609
106102014-02-02 Alexandre Oliva <aoliva@redhat.com>
10611
10612 * manual/time.texi (timegm): Add missing blank after @c.
10613 Reported by Joseph Myers <joseph@codesourcery.com>.
10614
106152014-02-01 Alexandre Oliva <aoliva@redhat.com>
10616
10617 * manual/check-safety.sh: New.
10618 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10619
10620 * manual/terminal.texi: Document MTASC-safety properties.
10621
10622 * manual/filesys.texi: Document MTASC-safety properties.
10623
10624 * manual/errno.texi: Document MTASC-safety properties.
10625
10626 * manual/intro.texi: Document safety identifiers and
10627 conditionals.
10628
10629 * manual/string.texi (wcstok): Fix prototype.
10630 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10631
10632 * manual/time.texi: Document MTASC-safety properties.
10633
10634 * manual/string.texi: Document MTASC-safety properties.
10635
10636 * manual/threads.texi: Document MTASC-safety properties.
10637
10638 * manual/stdio.texi: Document MTASC-safety properties.
10639
10640 * manual/syslog.texi: Document MTASC-safety properties.
10641
10642 * manual/sysinfo.texi: Document MTASC-safety properties.
10643
10644 * manual/startup.texi: Document MTASC-safety properties.
10645
10646 * manual/socket.texi: Document MTASC-safety properties.
10647
10648 * manual/signal.texi: Document MTASC-safety properties.
10649
106502014-01-31 Alexandre Oliva <aoliva@redhat.com>
10651
10652 * manual/setjmp.texi: Document MTASC-safety properties.
10653
10654 * manual/search.texi: Document MTASC-safety properties.
10655
10656 * manual/resource.texi: Document MTASC-safety properties.
10657
10658 * manual/process.texi: Document MTASC-safety properties.
10659
10660 * manual/platform.texi: Document MTASC-safety properties.
10661
10662 * manual/pipe.texi: Document MTASC-safety properties.
10663
10664 * manual/pattern.texi: Document MTASC-safety properties.
10665
10666 * manual/message.texi: Document MTASC-safety properties.
10667
10668 [BZ #12751]
10669 * manual/memory.texi: Document MTASC-safety properties.
10670
10671 * manual/math.texi: Document MTASC-safety properties.
10672
10673 * manual/locale.texi: Document MTASC-safety properties.
10674
10675 * manual/llio.texi: Document MTASC-safety properties.
10676
10677 * manual/libdl.texi: New.
10678
10679 * manual/lang.texi: Document MTASC-safety properties.
10680
10681 * manual/job.texi: Document MTASC-safety properties.
10682
10683 * manual/getopt.texi: Document MTASC-safety properties.
10684
10685 * manual/ctype.texi: Document MTASC-safety properties.
10686
106872014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10688
10689 [BZ #16046]
10690 * csu/libc-tls.c (static_map): Remove variable.
10691 (__libc_setup_tls): Use main executable's link map for TLS data.
10692 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10693 casing for LM_ID_BASE and GL(dl_nns).
10694 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10695 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10696 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10697 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10698 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10699 member.
10700 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10701 l_phnum members.
10702
107032014-01-30 Alexandre Oliva <aoliva@redhat.com>
10704
10705 * manual/debug.texi: Document MTASC-safety properties.
10706
107072014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10708
10709 [BZ #16510]
10710 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10711 of __x86_64__ when disabling x87 inline functions.
10712
107132014-01-29 Alexandre Oliva <aoliva@redhat.com>
10714
10715 * manual/charset.texi: Document MTASC-safety properties.
10716
10717 * manual/crypt.texi: Document MTASC-safety properties.
10718
10719 * manual/conf.texi: Document MTASC-safety properties.
10720
10721 * manual/arith.texi: Document MTASC-safety properties.
10722
10723 * manual/argp.texi: Document MTASC-safety properties.
10724
10725 * manual/macros.texi: Introduce macros to document multi
10726 thread, asynchronous signal and asynchronous cancellation
10727 safety properties.
10728 * manual/intro.texi: Introduce the properties themselves.
10729
107302014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10731
10732 * sysdeps/sh/sh4/Makefile: New file.
10733
107342014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10735
10736 * math/gen-libm-test.pl ($srcdir): New variable.
10737 ($auto_input): Use it.
10738
107392014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10740
10741 [BZ #16506]
10742 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10743 access beyond array bounds when parsing netgroups file.
10744
10745 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10746 the old buffer before realloc.
10747
107482014-01-27 Allan McRae <allan@archlinux.org>
10749
10750 * po/fr.po: Update French translation from translation project.
10751
107522014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10753
10754 * sysdeps/sh/libm-test-ulps: Regenerate.
10755
107562014-01-24 David S. Miller <davem@davemloft.net>
10757
10758 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10759
107602014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10761
10762 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10763 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10764
107652013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10766
10767 [BZ #16474]
10768 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10769 string pointers after reallocation.
10770
107712014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10772
10773 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10774 __SH4A__ instead of __SH_FPU_ANY__.
10775
107762014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10777
10778 * sysdeps/sh/fpu_control.h: New file.
10779 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10780 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10781 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10782 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10783 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10784 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10785 * sysdeps/sh/sys/ucontext.h: Remove.
10786 * sysdeps/sh/sys: Remove directory.
10787
107882014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10789
10790 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10791 s390/sys/ucontext.h.
10792 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10793 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10794
107952014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10796
10797 [BZ #15605]
10798 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10799
108002014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10801
10802 [BZ#16431]
10803 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10804 Adjust the vDSO correctly for internal calls.
10805 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10806
108072014-01-20 Allan McRae <allan@archlinux.org>
10808
10809 * po/ca.po: Update Catalan translation from translation project.
10810
108112014-01-16 Mike Frysinger <vapier@gentoo.org>
10812
10813 * sysdeps/s390/sotruss-lib.c: New file.
10814
108152014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10816
10817 [BZ#16430]
10818 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10819 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10820 local calls issues by not having a PLT stub required for IFUNC calls.
10821 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10822
108232014-01-16 Joseph Myers <joseph@codesourcery.com>
10824
10825 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10826 * math/test-fpucw-static.c: Likewise.
10827
108282013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10829
10830 [BZ #16453]
10831 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10832
108332014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10834
10835 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10836 implementation for powerpc.
10837
108382014-01-15 Ondřej Bílka <neleai@seznam.cz>
10839
10840 [BZ #14782]
10841 * sysdeps/posix/system.c (__libc_system): Do not enable
10842 asynchronous cancellation.
10843
108442014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10845
10846 [BZ #16427]
10847 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10848 handling only for numbers special also in the IEEE case.
10849
108502014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10851
10852 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10853
108542014-01-11 Allan McRae <allan@archlinux.org>
10855
10856 * po/bg.po: Update Bulgarian translation from translation project.
10857
10858 * po/de.po: Update German translation from translation project.
10859
108602014-01-10 Roland McGrath <roland@hack.frob.com>
10861
10862 * sysdeps/generic/gcc-compat.h: New file.
10863
108642014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10865
10866 * benchtests/asin-inputs: Correct slow inputs.
10867 * benchtests/acos-inputs: Likewise.
10868
108692014-01-10 Allan McRae <allan@archlinux.org>
10870
10871 * po:sv.po: Update Swedish translation from translation project.
10872
10873 * po/vi.po: Update Vietnamese translation from translation project.
10874
10875 * po/eo.po: Update Esperanto translation from translation project.
10876
10877 * po/cs.po: Update Czech translation from translation project.
10878
10879 * po/nl.po: Update Dutch translation from translation project.
10880
10881 * po/pl.po: Update Polish translation from translation project.
10882
10883 * po/ru.po: Update Russian translation from translation project.
10884
10885 * po/uk.po: Update Ukrainian translation from translation project.
10886
108872014-01-08 Brooks Moses <bmoses@google.com>
10888
10889 * elf/dl-load.c: Fix comment typo.
10890
108912014-01-08 Carlos O'Donell <carlos@redhat.com>
10892
10893 * po/header.pot: Rename to...
10894 * po/pot.header: ... this.
10895 * po/Makefile: Use pot.header.
10896
108972014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10898 Maxim Kuvyrkov <maxim@kugelworks.com>
10899
10900 [BZ #16394]
10901 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10902 SRC and DEST against LEN.
10903
109042014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10905
10906 [BZ #16414]
10907 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10908 implementation.
10909 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10910
109112014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10912
10913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10914
109152014-01-08 Joseph Myers <joseph@codesourcery.com>
10916
10917 [BZ #16408]
10918 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10919 for large positive arguments.
10920
109212014-01-07 Joseph Myers <joseph@codesourcery.com>
10922
10923 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10924
10925 * math/auto-libm-test-in: Mark various tests with
10926 xfail-rounding:ldbl-128ibm.
10927 * math/auto-libm-test-out: Regenerated.
10928
10929 [BZ #16407]
10930 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10931 Increase overflow threshold.
10932
109332014-01-07 Ondřej Bílka <neleai@seznam.cz>
10934
10935 [BZ #14286]
10936 * stdio-common/vfprintf.c: Check for integer overflow.
10937
109382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10939
10940 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10941 the first argument and return value of __tls_get_addr_internal.
10942
109432014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10944
10945 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10946 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10947
109482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10949
10950 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10951 * sysdeps/s390/rtld-global-offsets.sym: New file.
10952 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10953 GLIBC_2.19 symbol.
10954 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10956 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10957 ... this.
10958 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10959 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10960 ... this.
10961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10962 Regenerate.
10963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10964 Regenerate.
10965 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10966 halfs of GPRs for high_gprs contexts.
10967 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10968 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10969 field.
10970 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10971 uc_flags field.
10972 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10973 64 bit versions:
10974 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10975 for high GPRs (uc_high_gprs) and for future extensions
10976 (__reserved).
10977 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10978 for future extensions (__reserved).
10979 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10980 64 bit versions:
10981 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10982 SC_HIGHGPRS offset definition.
10983 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10984 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10985
10986 * Versions.def: Add GLIBC_2.19 for libpthread.
10987 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10988 siglongjmp for libpthread with GLIBC_2.19 symver.
10989 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10990 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10991 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10992 * sysdeps/s390/__longjmp.c: New file.
10993 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10994 * sysdeps/s390/longjmp.c: New file.
10995 * sysdeps/s390/setjmp.S: New file.
10996 * sysdeps/s390/sigjmp.S: New file.
10997 * sysdeps/s390/v1-longjmp.c: New file.
10998 * sysdeps/s390/v1-setjmp.h: New file.
10999 * sysdeps/s390/v1-sigjmp.c: New file.
11000 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11001 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11002 GLIBC_2.19 version.
11003 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11004 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11005 versioned symbols for ____longjmp_chk.
11006 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11007 Likewise.
11008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11009 Regenerate.
11010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11011 Regenerate.
11012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11013 Regenerate.
11014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11015 Regenerate.
11016 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11017 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11018 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11019 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11020 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11021 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11022 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11023 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11024 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11025 * sysdeps/s390/rtld-__longjmp.c: New file.
11026 * sysdeps/s390/rtld-setjmp.S: New file.
11027
110282014-01-06 Joseph Myers <joseph@codesourcery.com>
11029
11030 [BZ #16400]
11031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11032 Return -__logl (x) for small positive arguments without evaluating
11033 a polynomial.
11034
110352014-01-06 Mike Frysinger <vapier@gentoo.org>
11036
11037 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11038 Rename to ...
11039 (__ptrace_peeksiginfo_args): ... this.
11040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11041 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11043
110442014-01-06 Allan McRae <allan@archlinux.org>
11045
11046 * inet/netinet/in.h: Fix typo in comment.
11047
110482014-01-05 Andreas Jaeger <aj@suse.de>
11049
11050 * sysdeps/i386/fpu/libm-test-ulps: Update.
11051
110522014-01-05 Allan McRae <allan@archlinux.org>
11053
11054 * po/libc.pot: Regenerated.
11055
11056 * malloc/memusagestat.c: Fix gettext call formatting.
11057
110582014-01-04 Sami Kerola <kerolasa@iki.fi>
11059
11060 * nscd/nscd.c: Improve usage() output.
11061
110622014-01-04 Mike Frysinger <vapier@gentoo.org>
11063
11064 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11065 * sysdeps/unix/sysv/linux/configure: Regenerated.
11066 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11067 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11068
110692014-01-03 Joseph Myers <joseph@codesourcery.com>
11070
11071 [BZ #16390]
11072 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11073 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11074
110752014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11076
11077 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11078 extra tokens at end of #undef directive.
11079 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11080 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11082
110832014-01-03 Joseph Myers <joseph@codesourcery.com>
11084
11085 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11086
11087 * math/auto-libm-test-in: Mark various tests with
11088 xfail-rounding:ldbl-128ibm.
11089 * math/auto-libm-test-out: Regenerated.
11090
110912014-01-02 Joseph Myers <joseph@codesourcery.com>
11092
11093 [BZ #16386]
11094 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11095 numbers with subnormal high part when calculating exponent.
11096
11097 [BZ #16385]
11098 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11099 fabs.
11100
11101 [BZ #16384]
11102 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11103 M_LN2l.
11104 (__ieee754_acoshl): Use __log1pl not __log1p.
11105
111062013-01-02 Ondřej Bílka <neleai@seznam.cz>
11107
11108 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11109 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11110 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11111 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11112 (reused_arena, arena_get2): Convert to GNU style.
11113 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11114 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11115 (memalign_check, __malloc_set_state): Likewise.
11116 * malloc/mallocbug.c (main): Likewise.
11117 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11118 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11119 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11120 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11121 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11122 (__posix_memalign, malloc_info): Likewise.
11123 * malloc/malloc.h: Likewise.
11124 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11125 (mallochook, memalignhook, reallochook, mabort): Likewise.
11126 * malloc/mcheck.h: Likewise.
11127 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11128 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11129 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11130 * malloc/morecore.c (__default_morecore): Likewise.
11131 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11132 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11133 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11134 (print_and_abort): Likewise.
11135 * malloc/obstack.h: Likewise.
11136 * malloc/set-freeres.c (__libc_freeres): Likewise.
11137 * malloc/tst-mallocstate.c (main): Likewise.
11138 * malloc/tst-mtrace.c (main): Likewise.
11139 * malloc/tst-realloc.c (do_test): Likewise.
11140
111412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11142
11143 [BZ #16366]
11144 * nscd/netgroupcache.c (do_notfound): New function.
11145 (addgetnetgrentX): Use it.
11146
11147 [BZ # 16365]
11148 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11149 NSS_STATUS_NOTFOUND.
11150
111512014-01-01 Joseph Myers <joseph@codesourcery.com>
11152
11153 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11155
111562014-01-01 Allan McRae <allan@archlinux.org>
11157
11158 * scripts/update-copyrights: Update configure input file suffix.
11159
11160 * NEWS: Update copyright year.
11161 * catgets/gencat.c: Likewise.
11162 * csu/version.c: Likewise.
11163 * debug/catchsegv.sh: Likewise.
11164 * debug/pcprofiledump.c: Likewise.
11165 * debug/xtrace.sh: Likewise.
11166 * elf/ldconfig.c: Likewise.
11167 * elf/ldd.bash.in: Likewise.
11168 * elf/pldd.c: Likewise.
11169 * elf/sotruss.ksh: Likewise.
11170 * elf/sprof.c: Likewise.
11171 * iconv/iconv_prog.c: Likewise.
11172 * iconv/iconvconfig.c: Likewise.
11173 * locale/programs/locale.c: Likewise.
11174 * locale/programs/localedef.c: Likewise.
11175 * login/programs/pt_chown.c: Likewise.
11176 * malloc/memusage.sh: Likewise.
11177 * malloc/memusagestat.c: Likewise.
11178 * malloc/mtrace.pl: Likewise.
11179 * manual/libc.texinfo: Likewise.
11180 * nscd/nscd.c: Likewise.
11181 * nss/getent.c: Likewise.
11182 * nss/makedb.c: Likewise.
11183 * posix/getconf.c: Likewise.
11184 * scripts/test-installation.pl: Likewise.
11185
11186 * All files with FSF copyright notices: Update copyright dates
11187 using scripts/update-copyrights.
11188 * intl/plural.c: Regenerated.
11189 * locale/programs/charmap-kw.h: Likewise.
11190 * locale/programs/locfile-kw.h: Likewise.
11191
111922013-12-31 Mike Frysinger <vapier@gentoo.org>
11193
11194 * sysdeps/unix/sysv/linux/configure: Regenerated.
11195 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11196 the linux/fanotify.h header.
11197 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11198 HAVE_LINUX_FANOTIFY_H is defined.
11199
112002013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11201
11202 * benchtests/cos-inputs: New inputs.
11203 * benchtests/sin-inputs: Likewise.
11204
11205 * benchtests/atan-inputs: New inputs. Fix name of multiple
11206 precision fallback inputs.
11207
11208 * benchtests/atanh-inputs: New inputs.
11209 * benchtests/tanh-inputs: Likewise.
11210
11211 * benchtests/acosh-inputs: New inputs.
11212 * benchtests/asinh-inputs: Likewise.
11213
11214 * benchtests/cosh-inputs: New inputs.
11215 * benchtests/sinh-inputs: Likewise.
11216
11217 * benchtests/acos-inputs: Add more inputs.
11218 * benchtests/asin-inputs: Likewise.
11219
112202013-12-30 Ville Skytta <ville.skytta@iki.fi>
11221
11222 [BZ #16375]
11223 * manual/arith.texi: Fix spelling.
11224 * manual/charset.texi: Likewise.
11225 * manual/errno.texi: Likewise.
11226 * manual/filesys.texi: Likewise.
11227 * manual/lang.texi: Likewise.
11228 * manual/llio.texi: Likewise.
11229 * manual/locale.texi: Likewise.
11230 * manual/message.texi: Likewise.
11231 * manual/resource.texi: Likewise.
11232 * manual/search.texi: Likewise.
11233 * manual/setjmp.texi: Likewise.
11234 * manual/stdio.texi: Likewise.
11235 * manual/string.texi: Likewise.
11236 * manual/sysinfo.texi: Likewise.
11237 * manual/time.texi: Likewise.
11238
112392013-12-27 Carlos O'Donell <carlos@redhat.com>
11240
11241 * po/sl.po: New file.
11242
112432013-12-27 Mike Frysinger <vapier@gentoo.org>
11244
11245 * .gitignore: Add core/.gdbinit/.gdb_history.
11246
112472013-12-27 Allan McRae <allan@archlinux.org>
11248
11249 [BZ #16369]
11250 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11251 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11252
112532013-12-24 Brooks Moses <bmoses@google.com>
11254
11255 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11256 all compilers that claim C++98 compliance, not just GCC.
11257 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11258 Likewise.
11259
112602013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11261
11262 * NEWS: Restore accidentally deleted bug-fix entries.
11263
112642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11265 Ondřej Bílka <neleai@seznam.cz>
11266
11267 [BZ #15073]
11268 * malloc/malloc.c (_int_free): Perform sanity check only if we
11269 have_lock.
11270
112712013-12-23 Ondřej Bílka <neleai@seznam.cz>
11272
11273 [BZ #12986]
11274 * manual/stdio.texi (String Input Conversions): Clarify that character
11275 classes are not supported.
11276
112772013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11278
11279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11280
112812013-12-22 Joseph Myers <joseph@codesourcery.com>
11282
11283 [BZ #16337]
11284 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11285 Calculate results for small negative arguments directly rather
11286 than using reflection formula with special underflow handling.
11287
11288 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11289 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11290 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11291 (fchflags): Likewise.
11292 (revoke): Likewise.
11293 (setlogin): Likewise.
11294 (sigaltstack): Likewise.
11295 (wait4): Likewise.
11296 (sigblock): Remove.
11297 (sigsetmask): Likewise.
11298 (wait3): Likewise.
11299 (waitpid): Likewise.
11300 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11301 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11302 file.
11303 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11304 * sysdeps/unix/bsd/Makefile: ... here.
11305 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11306 * sysdeps/unix/bsd/Versions: ... here.
11307 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11308 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11309 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11310 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11311 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11312 * sysdeps/unix/bsd/sigblock.c: ... here.
11313 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11314 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11315 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11316 * sysdeps/unix/bsd/sigvec.c: ... here.
11317 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11318 * sysdeps/unix/bsd/tcdrain.c: ... here.
11319 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11320 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11321 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11322 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11323 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11324 * sysdeps/unix/bsd/wait.c: ... here.
11325 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11326 * sysdeps/unix/bsd/wait3.c: ... here.
11327 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11328 * sysdeps/unix/bsd/waitpid.c: ... here.
11329
113302013-12-21 Joseph Myers <joseph@codesourcery.com>
11331
11332 [BZ #16356]
11333 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11334 round-to-nearest for [!USE_AS_EXPM1L].
11335 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11336 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11337 more tests of exp and exp10. Expect some exp10 tests to miss
11338 exceptions or fail in directed rounding modes.
11339 * math/auto-libm-test-out: Regenerated.
11340 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11341 (exp10_test_tonearest): New function.
11342 (exp10_towardzero_test_data): New array.
11343 (exp10_test_towardzero): New function.
11344 (exp10_downward_test_data): New array.
11345 (exp10_test_downward): New function.
11346 (exp10_upward_test_data): New array.
11347 (exp10_test_upward): New function.
11348 (main): Call the new functions.
11349 * sysdeps/i386/fpu/libm-test-ulps: Update.
11350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11351
113522013-12-20 Joseph Myers <joseph@codesourcery.com>
11353
11354 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11355 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11356 * math/auto-libm-test-out: Regenerated.
11357 * math/libm-test.inc (acosh_test_data): Add more tests.
11358 (atanh_test_data): Likewise.
11359 (ceil_test_data): Likewise.
11360 (copysign_test_data): Likewise.
11361 * sysdeps/i386/fpu/libm-test-ulps: Update.
11362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363
11364 * timezone/checktab.awk: Update from tzcode 2013i.
11365 * timezone/private.h: Likewise.
11366 * timezone/scheck.c: Likewise.
11367 * timezone/tzfile.h: Likewise.
11368 * timezone/tzselect.ksh: Likewise.
11369 * timezone/zdump.c: Likewise.
11370 * timezone/zic.c: Likewise.
11371
11372 * math/auto-libm-test-in: Add tests of cpow.
11373 * math/auto-libm-test-out: Regenerated.
11374 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11375 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11376 mpc_cc_c.
11377 (func_calc_desc): Add mpc_cc_c union field.
11378 (test_functions): Add cpow.
11379 (special_fill_2pi): New function.
11380 (special_real_inputs): Add 2pi.
11381 (calc_generic_results): Handle mpc_cc_c.
11382 * sysdeps/i386/fpu/libm-test-ulps: Update.
11383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11384
11385 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11386 csqrt, ctan and ctanh.
11387 * math/auto-libm-test-out: Regenerated.
11388 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11389 (TEST_COND_x86): Likewise.
11390 (ccos_test_data): Use AUTO_TESTS_c_c.
11391 (ccosh_test_data): Likewise.
11392 (cexp_test_data): Likewise.
11393 (clog_test_data): Likewise.
11394 (csqrt_test_data): Likewise.
11395 (ctan_test_data): Likewise.
11396 (ctan_tonearest_test_data): Likewise.
11397 (ctan_towardzero_test_data): Likewise.
11398 (ctan_downward_test_data): Likewise.
11399 (ctan_upward_test_data): Likewise.
11400 (ctanh_test_data): Likewise.
11401 (ctanh_tonearest_test_data): Likewise.
11402 (ctanh_towardzero_test_data): Likewise.
11403 (ctanh_downward_test_data): Likewise.
11404 (ctanh_upward_test_data): Likewise.
11405 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11406 mpc_c_c.
11407 (func_calc_desc): Add mpc_c_c union field.
11408 (FUNC_mpc_c_c): New macro.
11409 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11410 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11411 ctanh.
11412 (special_fill_min_subnorm_p120): New function.
11413 (special_real_inputs): Add min_subnorm_p120.
11414 (calc_generic_results): Handle mpc_c_c.
11415 * sysdeps/i386/fpu/libm-test-ulps: Update.
11416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11417
114182013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11419
11420 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11421 (do_sin_slow): New functions.
11422 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11423 (cslow2, csloww1, csloww2): Use the new functions.
11424
11425 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11426 Use M to change sign of result instead of X. Assume X is
11427 positive.
11428 (csloww1): Likewise.
11429 (__sin): Adjust.
11430 (__cos): Adjust.
11431
11432 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11433 arguments A and DA.
11434 (__sin): Adjust.
11435 (__cos): Likewise.
11436
11437 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11438 (__cos): Likewise.
11439 (sloww1): Don't adjust sign of DX.
11440 (csloww1): Likewise.
11441 (sloww2): Use X directly and don't adjust sign of DX.
11442 (csloww2): Likewise.
11443
114442013-12-19 Joseph Myers <joseph@codesourcery.com>
11445
11446 * math/auto-libm-test-in: Add tests of cabs and carg.
11447 * math/auto-libm-test-out: Regenerated.
11448 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11449 (carg_test_data): Likewise.
11450 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11451 mpc_c_f.
11452 (func_calc_desc): Add mpc_c_f union field.
11453 (test_functions): Add cabs and carg.
11454 (calc_generic_results): Handle mpc_c_f.
11455
11456 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11457 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11458 as a macro and a compat symbol.
11459 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11460 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11461 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11462 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11463 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11464 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11465 not use .hidden.
11466 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11467 Likewise.
11468 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11469 Likewise.
11470 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11471 Likewise.
11472 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11473 Likewise.
11474 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11475 Likewise.
11476 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11477 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11478 from GLIBC_2.3.2.
11479
114802013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11481
11482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11483
114842013-12-19 Joseph Myers <joseph@codesourcery.com>
11485
11486 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11487 trailing whitespace removed.
11488 * scripts/config.guess: Update to version 2013-11-29.
11489 * scripts/config.sub: Update to version 2013-10-01.
11490
11491 * math/auto-libm-test-in: Add tests of sincos.
11492 * math/auto-libm-test-out: Regenerated.
11493 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11495 mpfr_f_11.
11496 (func_calc_desc): Add mpfr_f_11 union field.
11497 (test_functions): Add sincos.
11498 (calc_generic_results): Handle mpfr_f_11.
11499 * sysdeps/i386/fpu/libm-test-ulps: Update.
11500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11501
115022013-12-19 Andreas Schwab <schwab@suse.de>
11503
11504 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11505 CALL_MCOUNT.
11506 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11507 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11508 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11509
115102013-12-19 Joseph Myers <joseph@codesourcery.com>
11511
11512 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11513 * sysdeps/i386/fpu/libm-test-ulps: Update.
11514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11515
11516 [BZ #16293]
11517 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11518 round-to-nearest mode when using frndint.
11519 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11520 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11521 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11522 Likewise.
11523 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11524 sinh test to fail.
11525 * math/auto-libm-test-out: Regenerated.
11526 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11527 (TEST_COND_x86): Likewise.
11528 (expm1_tonearest_test_data): New array.
11529 (expm1_test_tonearest): New function.
11530 (expm1_towardzero_test_data): New array.
11531 (expm1_test_towardzero): New function.
11532 (expm1_downward_test_data): New array.
11533 (expm1_test_downward): New function.
11534 (expm1_upward_test_data): New array.
11535 (expm1_test_upward): New function.
11536 (main): Run the new test functions.
11537 * sysdeps/i386/fpu/libm-test-ulps: Update.
11538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11539
11540 * include/features.h: Update comment documenting feature test
11541 macros. Mention _DEFAULT_SOURCE in comment.
11542 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11543 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11544 _BSD_SOURCE and _SVID_SOURCE.
11545 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11546 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11547 !_SVID_SOURCE]: Likewise.
11548 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11549 (__USE_POSIX_IMPLICITLY): Define.
11550 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11551 (_POSIX_SOURCE): Undefine and redefine.
11552 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11553 (_POSIX_C_SOURCE): Likewise.
11554 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11555 (Feature Test Macros): Update documentation of default features.
11556
115572013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11558
11559 * benchtests/Makefile: Add bench-strtok.
11560 * benchtests/bench-strtok.c: New file: strtok benchtest.
11561
115622013-12-19 Allan McRae <allan@archlinux.org>
11563
11564 * manual/install.texi: Suppress menu for plain text output.
11565 * INSTALL: Regenerated.
11566
115672013-12-18 Brooks Moses <bmoses@google.com>
11568
11569 [BZ #15846]
11570 * misc/getauxval.c: Include errno.h.
11571 (__getauxval): Set errno to ENOENT if the requested type is not
11572 found.
11573 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11574 don't declare with __attribute_const__.
11575 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11576 * manual/startup.texi: Document that getauxval sets errno.
11577
115782013-12-18 Joseph Myers <joseph@codesourcery.com>
11579
11580 * math/auto-libm-test-in: Add tests of jn and yn.
11581 * math/auto-libm-test-out: Regenerated.
11582 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11583 (yn_test_data): Likewise.
11584 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11585 mpfr_if_f.
11586 (func_calc_desc): Add mpfr_if_f union field.
11587 (FUNC_mpfr_if_f): New macro.
11588 (test_functions): Add jn and yn.
11589 (calc_generic_results): Assert type of second input for
11590 mpfr_ff_f. Handle mpfr_if_f.
11591 (output_for_one_input_case): Disable all checking for arguments
11592 fitting floating-point types in case of an integer argument.
11593 * sysdeps/i386/fpu/libm-test-ulps: Update.
11594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11597 Don't expect fegetround reference in libm.so.
11598
115992013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11600
11601 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11602 $(config-cflags-nofma).
11603
116042013-12-18 Joseph Myers <joseph@codesourcery.com>
11605
11606 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11607 * math/auto-libm-test-out: Regenerated.
11608
11609 [BZ #16338]
11610 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11611 to determine exponent and adjust argument to have exponent of -1.
11612 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11613 log2.
11614 * math/auto-libm-test-out: Regenerated.
11615 * sysdeps/i386/fpu/libm-test-ulps: Update.
11616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11617
116182013-12-18 Ondřej Bílka <neleai@seznam.cz>
11619
11620 * manual/probes.texi: Remove cases when per-thread arenas are
11621 disabled.
11622
116232013-12-18 Andreas Schwab <schwab@suse.de>
11624
11625 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11626 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11627 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11628 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11629 * sysdeps/i386/i686/multiarch/Makefile: Update.
11630 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11631
116322013-12-17 Joseph Myers <joseph@codesourcery.com>
11633
11634 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11635 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11636
116372013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11638
11639 [BZ #15968]
11640 Support TZ transition times < 00:00:00.
11641 This is needed for version-3 tz-format files; it supports time
11642 stamps past 2037 for America/Godthab (the only entry in the tz
11643 database for which this change is relevant).
11644 * manual/time.texi (TZ Variable): Document transition times
11645 from -167:59:59 through -00:00:01.
11646 * time/tzset.c (tz_rule): Time of day is now signed.
11647 (__tzset_parse_tz): Parse negative time of day.
11648
11649 Document TZ transition times >= 25:00:00.
11650 * manual/time.texi (TZ Variable): Document transition times from
11651 25:00:00 through 167:59:59. These are already supported, and this
11652 support will help with version-3 tz-format files.
11653
11654 * manual/time.texi (TZ Variable): Modernize North America example
11655 to reflect current (i.e., 2007-and-later) daylight saving rules.
11656
11657 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11658
116592013-12-17 Joseph Myers <joseph@codesourcery.com>
11660
11661 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11662 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11665 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11666 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11667 * sysdeps/unix/bsd/clock.c: Likewise.
11668 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11669 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11670 * sysdeps/unix/bsd/init-posix.c: Likewise.
11671 * sysdeps/unix/bsd/poll.c: Likewise.
11672 * sysdeps/unix/bsd/ptsname.c: Likewise.
11673 * sysdeps/unix/bsd/seekdir.c: Likewise.
11674 * sysdeps/unix/bsd/setegid.c: Likewise.
11675 * sysdeps/unix/bsd/seteuid.c: Likewise.
11676 * sysdeps/unix/bsd/setgid.c: Likewise.
11677 * sysdeps/unix/bsd/setrgid.c: Likewise.
11678 * sysdeps/unix/bsd/setruid.c: Likewise.
11679 * sysdeps/unix/bsd/setsid.c: Likewise.
11680 * sysdeps/unix/bsd/setuid.c: Likewise.
11681 * sysdeps/unix/bsd/sigaction.c: Likewise.
11682 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11683 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11684 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11685 * sysdeps/unix/bsd/telldir.c: Likewise.
11686 * sysdeps/unix/bsd/times.c: Likewise.
11687 * sysdeps/unix/bsd/usleep.c: Likewise.
11688
11689 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11690 ($(objpfx)libbsd-compat.a): Remove rule.
11691
11692 * include/features.h (__FAVOR_BSD): Do not define.
11693 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11694 features conflicting with POSIX.
11695 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11696 (_BSD_SOURCE): Remove description of not being a subset of other
11697 feature test macros.
11698 * manual/job.texi (getpgrp): Do not document BSD version.
11699 (getpgid): Do not document by reference to BSD getpgrp.
11700 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11701 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11702 * signal/signal.h [__FAVOR_BSD]: Likewise.
11703 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11704 instead of making contents conditional on [__FAVOR_BSD].
11705 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11706
117072013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11708
11709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11710
117112013-12-17 Joseph Myers <joseph@codesourcery.com>
11712
11713 [BZ #16314]
11714 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11715 values below 2**-450, not 2**-500.
11716 * math/auto-libm-test-in: Don't allow spurious underflow from
11717 hypot.
11718 * math/auto-libm-test-out: Regenerated.
11719
11720 [BZ #16316]
11721 [BZ #16330]
11722 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11723 values of ha and hb and sort them after adjusting subnormal
11724 arguments.
11725 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11726 Likewise.
11727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11728 values of ea and eb and sort them after adjusting subnormal
11729 arguments.
11730 * math/auto-libm-test-in: Do not expect some hypot tests of
11731 subnormals to fail. Add more hypot tests.
11732 * math/auto-libm-test-out: Regenerated.
11733
117342013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11735
11736 [BZ #13304]
11737 * sysdeps/sh/s_fma.c: New file.
11738 * sysdeps/sh/s_fmaf.c: New file.
11739 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11740 version.
11741 * sysdeps/sh/Implies: Add sh/soft-fp.
11742
117432013-12-16 Roland McGrath <roland@hack.frob.com>
11744
11745 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11746 level of indirection to members `objname', `errstring', `malloced'.
11747 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11748 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11749 it as the __longjmp argument (just pass 1 instead).
11750 (_dl_catch_error): Initialize C with argument pointers and address of
11751 volatile local ERRCODE rather than copying values out of C at return.
11752
117532013-12-16 Joseph Myers <joseph@codesourcery.com>
11754
11755 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11756 * math/auto-libm-test-out: Regenerated.
11757 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11758 (hypot_test_data): Likewise.
11759 (pow_test_data): Likewise.
11760 (pow_tonearest_test_data): Likewise.
11761 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11762 mpfr_ff_f.
11763 (func_calc_desc): Add mpfr_ff_f union field.
11764 (FUNC_mpfr_ff_f): New macro.
11765 (test_functions): Add atan2, hypot and pow.
11766 (special_fill_min): New function.
11767 (special_fill_minus_min): Likewise.
11768 (special_fill_min_subnorm): Likewise.
11769 (special_fill_minus_min_subnorm): Likewise.
11770 (special_real_inputs): Add min, -min, min_subnorm and
11771 -min_subnorm.
11772 (calc_generic_results): Handle mpfr_ff_f.
11773 * sysdeps/i386/fpu/libm-test-ulps: Update.
11774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11775
117762013-12-16 Will Newton <will.newton@linaro.org>
11777
11778 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11779 (Aligned Memory Blocks): Add documentation for aligned_alloc
11780 and suggest it as an alternative to posix_memalign.
11781 (Hooks for Malloc): Document __memalign_hook is also called
11782 for aligned_alloc. (Summary of Malloc): Add summary for
11783 aligned alloc. Document __memalign_hook is also called
11784 for aligned_alloc.
11785
117862013-12-16 Will Newton <will.newton@linaro.org>
11787
11788 * manual/memory.texi (Malloc Examples): Clarify default
11789 alignment documentation. Suggest posix_memalign rather
11790 than memalign or valloc.
11791 (Aligned Memory Blocks): Remove suggestion to use memalign
11792 or valloc. Remove obsolete comment about BSD.
11793 Document memalign errno values and mark the function obsolete.
11794 Document posix_memalign returned error codes. Mark valloc
11795 as obsolete. (Hooks for Malloc): __memalign_hook is also
11796 called for posix_memalign and valloc.
11797 (Summary of Malloc): Add posix_memalign to function summary.
11798 __memalign_hook is also called for posix_memalign and valloc.
11799
118002013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11801
11802 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11803 TAYLOR_SIN.
11804 (__sin): Adjust.
11805 (__cos): Likewise.
11806 (sloww): Use mynumber union. Expand ternary operator into
11807 if-else statements.
11808 (cslow): use mynumber union.
11809
118102013-12-16 Allan McRae <allan@archlinux.org>
11811
11812 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11813 * configure: Regenerated.
11814
11815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11816
11817 [BZ #14120]
11818 * configure.ac: Added --enable-maintainer-mode. Check for
11819 autoconf when enabled.
11820 * configure: Regenerated.
11821
11822 * nscd/nscd.service: New file.
11823 * nscd/nscd.tmpfiles: New file.
11824
118252013-12-14 Ondřej Bílka <neleai@seznam.cz>
11826
11827 [BZ #12100]
11828 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11829 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11830 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11831 (strstr): Add __strstr_sse2_unaligned ifunc.
11832 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11833 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11834 (strcasestr): Remove __strcasestr_sse42 ifunc.
11835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11838
118392013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11840
11841 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11842 * sysdeps/sh/bits/fenv.h: ... here.
11843 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11844
118452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11846
11847 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11848
11849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11850 hypotf multiarch implementations.
11851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11853 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11854 multiarch hypot for PPC64.
11855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11857 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11858 multiarch hypotf for PPC64.
11859
11860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11861 modff multiarch implementations.
11862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11865 multiarch modf for PPC64.
11866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11869 multiarch modff for PPC64.
11870
11871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11872 and logl multiarch implementations.
11873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11876 multiarch logb for PPC64.
11877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11880 multiarch logb for PPC64.
11881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11884 multiarch logb for PPC64.
11885
11886 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11887 isinff multiarch implementation.
11888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11889 file.
11890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11892 multiarch isinf for PPC64.
11893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11894 file.
11895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11896 multiarch isinff for PPC64.
11897
11898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11899 finitef multiarch implementation.
11900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11901 file.
11902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11904 multiarch finite for PPC64.
11905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11906 file.
11907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11908 multiarch finitef for PPC64.
11909
11910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11911 lrint multiarch implementation.
11912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11913 file.
11914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11916 multiarch llrint for PPC64.
11917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11918 multiarch lrint for PPC64.
11919
11920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11921 copysignf multiarch implementation.
11922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11923 file.
11924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11925 file.
11926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11927 multiarch copysign for PPC64.
11928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11929 multiarch copysignf for PPC64.
11930
11931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11932 multiarch implementation.
11933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11934 file.
11935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11936 file.
11937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11938 file.
11939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11940 file.
11941 multiarch llround for PPC64.
11942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11943 multiarch trunc for PPC64.
11944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11945 multiarch truncf for PPC64.
11946
11947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11948 multiarch implementation.
11949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11950 file.
11951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11952 file.
11953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11954 file.
11955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11956 file.
11957 multiarch llround for PPC64.
11958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11959 multiarch round for PPC64.
11960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11961 multiarch roundf for PPC64.
11962
11963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11964 multiarch implementation.
11965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11966 file.
11967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11968 file.
11969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11970 file.
11971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11972 file.
11973 multiarch llround for PPC64.
11974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11975 multiarch floor for PPC64.
11976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11977 multiarch floorf for PPC64.
11978
11979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11980 multiarch implementation.
11981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11982 file.
11983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11984 file.
11985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11986 file.
11987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11988 file.
11989 multiarch llround for PPC64.
11990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11991 multiarch ceil for PPC64.
11992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11993 multiarch ceilf for PPC64.
11994
11995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11996 multiarch implementation.
11997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11998 file.
11999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12000 file.
12001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12002 file.
12003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12004 multiarch llround for PPC64.
12005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12006 multiarch lround for PPC64.
12007
12008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12009 multiarch implementation.
12010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12013 file.
12014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12017 multiarch isnan for PPC64.
12018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12019 multiarch isnanf for PPC64.
12020
12021 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12022 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12023 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12024 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12025 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12027
12028 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12032
12033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12034 multiarch implementations.
12035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12036 (__libc_ifunc_impl_list): Likewise.
12037 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12038 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12039 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12040 multiarch stpcpy for PPC64.
12041
12042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12043 multiarch implementations.
12044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12045 (__libc_ifunc_impl_list): Likewise.
12046 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12047 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12048 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12049 multiarch strcpy for PPC64.
12050
12051 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12052 redefine function name.
12053 (_wordcopy_fwd_dest_aligned): Likewise.
12054 (_wordcopy_bwd_aligned): Likewise.
12055 (_wordcopy_bwd_dest_aligned): Likewise.
12056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12057 multiarch implementations.
12058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12059 (__libc_ifunc_impl_list): Likewise.
12060 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12062 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12063 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12064 multiarch wcscpy for PPC64.
12065
12066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12067 multiarch implementations.
12068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12069 (__libc_ifunc_impl_list): Likewise.
12070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12072 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12073 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12074 multiarch wcscpy for PPC64.
12075
12076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12077 multiarch implementations.
12078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12079 (__libc_ifunc_impl_list): Likewise.
12080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12083 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12084 multiarch wcsrchr for PPC64.
12085
12086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12087 multiarch implementations.
12088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12089 (__libc_ifunc_impl_list): Likewise.
12090 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12091 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12092 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12093 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12094 multiarch wcschr for PPC64.
12095
12096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12097 multiarch implementations.
12098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12099 (__libc_ifunc_impl_list): Likewise.
12100 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12102 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12103 multiarch strchrnul for PPC64.
12104
12105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12106 implementations.
12107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12108 (__libc_ifunc_impl_list): Likewise.
12109 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12110 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12111 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12112 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12113 strchr for PPC64.
12114
12115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12116 implementations.
12117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12118 (__libc_ifunc_impl_list): Likewise.
12119 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12121 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12122 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12123 strncmp for PPC64.
12124
12125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12126 multiarch implementations.
12127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12128 (__libc_ifunc_impl_list): Likewise.
12129 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12130 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12131 strncasecmp for PPC64.
12132 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12133 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12134 multiarch strncasecmp_l for PPC64.
12135
12136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12137 multiarch implementations.
12138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12139 (__libc_ifunc_impl_list): Likewise.
12140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12141 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12142 multiarch strcasecmp for PPC64.
12143 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12144 file.
12145 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12146 multiarch strcasecmp_l for PPC64.
12147
12148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12149 implementations.
12150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12151 (__libc_ifunc_impl_list): Likewise.
12152 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12153 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12154 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12155 strnlen for PPC64.
12156
12157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12158 implementations.
12159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12160 (__libc_ifunc_impl_list): Likewise.
12161 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12162 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12163 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12164 strlen for PPC64.
12165
12166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12167 implementations.
12168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12169 (__libc_ifunc_impl_list): Likewise.
12170 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12171 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12172 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12173 rawmemrchr for PPC64.
12174
12175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12176 implementation.
12177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12178 (__libc_ifunc_impl_list): Likewise.
12179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12180 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12181 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12182 memrchr for PPC64.
12183
12184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12185 implementation.
12186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12187 (__libc_ifunc_impl_list): Likewise.
12188 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12189 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12190 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12191 memchr for PPC64.
12192
12193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12194 implementation.
12195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12196 (__libc_ifunc_impl_list): Likewise.
12197 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12198 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12199 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12200 mempcpy for PPC64.
12201
12202 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12203 avoid cretion of __bzero symbol.
12204 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12205 Likewise.
12206 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12207 Likewise.
12208 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12209 Likewise.
12210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12211 multiarch implementations.
12212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12213 (__libc_ifunc_impl_list): Likewise.
12214 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12215 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12216 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12217 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12218 bzero for PPC32.
12219 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12220 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12221 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12222 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12223 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12224 memset for PPC64.
12225 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12226
12227 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12229 implementations.
12230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12231 (__libc_ifunc_impl_list): Likewise.
12232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12234 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12235 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12236 memcmp for PPC64.
12237
12238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12239 multiarch for POWER/PPC64.
12240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12241 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12247 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12248 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12249 memcpy for PPC64.
12250
12251 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12252 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12253 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12254 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12255 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12256 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12257 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12258 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12259 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12260 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12261 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12262 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12263 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12264 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12265 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12273
122742013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12275
12276 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12277
122782013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12279
12280 * benchtests/Makefile (bench): Add exp2 and log2.
12281 (LDLIBS-bench-exp2): Add -lm.
12282 (LDLIBS-bench-log2): Likewise.
12283 * benchtests/exp2-inputs: New inputs file.
12284 * benchtests/log2-inputs: New inputs file.
12285 * benchtests/log-inputs: Add new inputs.
12286 * benchtests/tan-inputs: Likewise.
12287
122882013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12289
12290 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12291 definition...
12292 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12293 (csloww2): ... from here.
12294
12295 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12296 instead of structures.
12297 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12298 (POLYNOMIAL): Likewise.
12299 (TAYLOR_SLOW): Likewise.
12300 (__sin): Likewise.
12301 (__cos): Likewise.
12302 (slow1): Likewise.
12303 (slow2): Likewise.
12304 (sloww): Likewise.
12305 (sloww1); Likewise.
12306 (sloww2): Likewise.
12307 (bsloww1): Likewise.
12308 (bsloww2): Likewise.
12309 (cslow2): Likewise.
12310 (csloww): Likewise.
12311 (csloww1): Likewise.
12312 (csloww2): Likewise.
12313
123142013-12-10 Ondřej Bílka <neleai@seznam.cz>
12315
12316 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12317 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12318 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12319 * malloc/hooks.c (realloc_check): Likewise.
12320
12321 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12322 * malloc/arena.c: Remove PER_THREAD conditional.
12323 [!PER_THREAD]: Remove code.
12324 (ptmalloc_unlock_all2): Likewise.
12325 (ptmalloc_init): Likewise.
12326 (_int_new_arena): Likewise.
12327 (arena_get2): Likewise.
12328 * malloc/hooks.c (__malloc_get_state): Likewise.
12329 (__malloc_set_state): Likewise.
12330 * malloc/malloc.c: Likewise.
12331 (struct malloc_state): Likewise.
12332 (struct malloc_par): Likewise.
12333 (__libc_realloc): Likewise.
12334 (__libc_mallopt): Likewise.
12335
123362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12337
12338 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12339
123402013-12-09 Ondřej Bílka <neleai@seznam.cz>
12341
12342 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12343 macro to a function. Check for zero perturb_byte.
12344 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12345
12346 * malloc/malloc.c: (force_reg): Remove.
12347 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12348 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12349 force_reg by atomic_forced_read.
12350 * malloc/arena.c (ptmalloc_init): Likewise.
12351 * malloc/hooks.c (top_check): Likewise.
12352
123532013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12354
12355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12356
123572013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12358
12359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12360
123612013-12-08 Joseph Myers <joseph@codesourcery.com>
12362
12363 * math/auto-libm-test-in: Add tests of lgamma.
12364 * math/auto-libm-test-out: Regenerated.
12365 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12366 (M_LOG_2_SQRT_PIl): Likewise.
12367 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12369 mpfr_f_f1.
12370 (func_calc_desc): Add mpfr_f_f1 union field.
12371 (ARGS1): New macro.
12372 (ARGS2): Likewise.
12373 (ARGS3): Likewise.
12374 (ARGS4): Likewise.
12375 (RET1): Likewise.
12376 (RET2): Likewise.
12377 (CALC): Likewise.
12378 (FUNC): Likewise.
12379 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12380 (test_functions): Add lgamma.
12381 (calc_generic_results): Handle mpfr_f_f1.
12382 * sysdeps/i386/fpu/libm-test-ulps: Update.
12383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12384
123852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12386
12387 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12388 __mpn_add_n for PowerPC64/POWER7.
12389 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12390 __mpn_sub_n for PowerPC64/POWER7.
12391
12392 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12393 __mpn_addmul_1 for PowerPC64.
12394 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12395 __mpn_submul_1 for PowerPC64.
12396 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12397 for PowerPC64.
12398 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12399 for PowerPC64.
12400
124012013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12402
12403 [BZ #15089]
12404 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12405
124062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12407
12408 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12409
12410 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12411 add multiarch folders.
12412 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12413 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12414 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12415 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12416 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12417 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12418 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12419 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12420 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12421 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12422 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12429
12430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12431 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12433 New file.
12434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12435 New file.
12436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12437 multiarch __ieee754_hypot for PowerPC32.
12438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12439 New file.
12440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12441 New file.
12442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12443 multiarch __ieee754_hypotf for PowerPC32.
12444
12445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12446 long_double_symbol only if __logbl is defined.
12447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12448 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12450 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12452 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12454 path for implementation.
12455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12458 logb, and logbl multiarch implementations for PowerPC32.
12459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12460 file.
12461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12462 file.
12463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12464 multiarch logb for PowerPC32.
12465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12466 file.
12467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12468 file.
12469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12470 multiarch logbf for PowerPC32.
12471 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12473 file.
12474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12475 multiarch logbl implementation for PowerPC32.
12476
12477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12478 and modff multiarch implementations.
12479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12480 New file.
12481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12482 New file.
12483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12484 multiarch modf for PowerPC32.
12485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12486 New file.
12487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12488 New file.
12489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12490 multiarch modff for PowerPC32.
12491
12492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12493 and lrintf multiarch implementations.
12494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12495 New file.
12496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12497 New file.
12498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12499 multiarch lrint for PowerPC32.
12500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12501 file: multiarch lrintf for PowerPC32.
12502
12503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12504 and lroundf multiarch implementations.
12505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12506 New file.
12507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12508 New file.
12509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12510 New file.
12511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12512 multiarch lround for PowerPC32.
12513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12514 file: multiarch lroundf for PowerPC32.
12515
12516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12517 copysign and copysignf multiarch implementations.
12518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12519 New file.
12520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12521 New file.
12522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12523 file: multiarch copysign for PowerPC32.
12524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12525 file: multiarch copysignf for PowerPC32.
12526
12527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12528 and truncf multiarch implementations.
12529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12530 New file.
12531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12532 file.
12533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12534 multiarch trunc for PowerPC32.
12535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12536 New file.
12537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12538 New file.
12539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12540 multiarch truncf for PowerPC32.
12541
12542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12543 and roundf multiarch implementations.
12544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12545 New file.
12546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12547 file.
12548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12549 multiarch round for PowerPC32.
12550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12551 New file.
12552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12553 New file.
12554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12555 multiarch roundf for PowerPC32.
12556
12557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12558 and floorf multiarch implementations.
12559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12560 New file.
12561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12562 file.
12563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12564 multiarch floor for PowerPC32.
12565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12566 New file.
12567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12568 New file.
12569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12570 multiarch floorf for PowerPC32.
12571
12572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12573 and ceilf multiarch implementations.
12574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12575 New file.
12576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12577 file.
12578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12579 multiarch ceil for PowerPC32.
12580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12581 New file.
12582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12583 file.
12584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12585 multiarch ceilf for PowerPC32.
12586
12587 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12588 is defined.
12589 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12590 FINITEF is defined.
12591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12592 and finitef multiarch implementations.
12593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12594 New file.
12595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12596 file.
12597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12598 multiarch finite for PowerPC32.
12599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12600 New file.
12601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12602 file: multiarch finitef for PowerPC32.
12603
12604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12605 and isinff multiarch implementations.
12606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12607 file.
12608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12609 file.
12610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12611 multiarch isinf for PowerPC32.
12612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12613 New file.
12614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12615 multiarch isinff for PowerPC32.
12616
12617 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12618 alias when __isnan is defined.
12619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12620 and isnanf multiarch implementations.
12621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12622 file.
12623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12624 file.
12625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12626 file.
12627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12628 file.
12629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12630 multiarch isnan for PowerPC32.
12631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12632 New file.
12633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12634 New file.
12635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12636 multiarch isnanf for PowerPC32.
12637
12638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12639 and sqrtf multiarch implementations.
12640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12641 file.
12642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12643 file.
12644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12645 multiarch sqrt for PowerPC32.
12646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12647 file.
12648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12649 file.
12650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12651 multiarch sqrtf for PowerPC32.
12652
12653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12654 and llroundf multiarch implementations.
12655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12656 New file.
12657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12658 New file.
12659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12660 New file.
12661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12662 file: multiarch llround for PowerPC32.
12663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12664 file: multiarch llroundf for PowerPC32.
12665
12666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12667 multiarch PowerPC32 fpu implementations.
12668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12669 New file.
12670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12671 New file.
12672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12673 multiarch llrint for PowerPC32.
12674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12675 New file.
12676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12677 New file.
12678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12679 file.
12680
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12682
12683 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12684 file.
12685 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12686 file.
12687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12688 file.
12689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12690 multiarch wordcopy for PPC32.
12691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12692 wordcopy objects.
12693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12694 (__libc_ifunc_impl_list): Likewise.
12695 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12696 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12697 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12698 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12699 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12700 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12701
12702 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12704 file.
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12706 file.
12707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12708 file.
12709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12710 multiarch wcscpy for PPC32.
12711 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12712 multiarch objects.
12713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12714 (__libc_ifunc_impl_list): Likewise.
12715 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12716 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12717 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12718 sysdeps/powerpc/power6/wcscpy.c.
12719
12720 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12722 file.
12723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12724 file.
12725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12726 file.
12727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12728 multiarch wcsrchr for PPC32.
12729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12730 multiarch objects.
12731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12732 (__libc_ifunc_impl_list): Likewise.
12733 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12734 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12735 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12736 sysdeps/powerpc/power6/wcsrchr.c.
12737
12738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12739 file.
12740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12741 file.
12742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12744 multiarch wcschr for PPc32.
12745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12746 multiarch objects.
12747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12748 (__libc_ifunc_impl_list): Likewise.
12749 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12750 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12751 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12752 sysdeps/powerpc/power6/wcschr.c.
12753
12754 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12755 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12756 file.
12757 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12758 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12759 file: multiarch strchr for PPC32.
12760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12761 multiarch objects.
12762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12763 (__libc_ifunc_impl_list): Likewise.
12764
12765 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12766 name.
12767 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12768 file.
12769 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12770 file.
12771 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12772 multiarch strchrnul for PPC32.
12773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12774 multiarch objects.
12775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12776 (__libc_ifunc_impl_list): Likewise.
12777
12778 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12779 file.
12780 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12781 multiarch strncasecmp for PPC32.
12782 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12783 file.
12784 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12785 multiarch strncasecmp_l for PPC32.
12786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12787 strncasecmp multiarch objects.
12788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12789 (__libc_ifunc_impl_list): Likewise.
12790
12791 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12792 file.
12793 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12794 multiarch strncasecmp for PPC32.
12795 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12796 New file.
12797 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12798 multiarch strcasecmp_l for PPC32.
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12800 multiarch objects.
12801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12802 (__libc_ifunc_impl_list): Likewise.
12803
12804 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12805 file.
12806 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12807 file.
12808 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12809 multiarch strncmp for PPC32.
12810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12811 multiarch objects.
12812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12813 (__libc_ifunc_impl_list): Likewise.
12814
12815 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12816 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12817 file.
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12819 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12821 multiarch objects.
12822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12823 (__libc_ifunc_impl_list): Likewise.
12824
12825 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12826 file.
12827 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12828 file.
12829 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12831 multiarch objects.
12832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12833 (__libc_ifunc_impl_list): Likewise.
12834
12835 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12836 file.
12837 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12838 file.
12839 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12840 multiarch rawmemchr for PPC32.
12841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12842 multiarch objects.
12843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12844 (__libc_ifunc_impl_list): Likewise.
12845
12846 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12847 file.
12848 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12849 file.
12850 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12851 file: memrchr multiarch for PPC32.
12852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12853 multiarch objects.
12854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12855 (__libc_ifunc_impl_list): Likewise.
12856
12857 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12858 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12859 file.
12860 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12861 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12862 multiarch memchr for PPC32.
12863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12864 multiarch objects.
12865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12866 (__libc_ifunc_impl_list): Likewise.
12867
12868 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12869 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12870 file.
12871 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12872 file.
12873 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12874 file: multiarch mempcpy for PPC32.
12875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12876 multiarch objects.
12877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12878 (__libc_ifunc_impl_list): Likewise.
12879
12880 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12881 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12882 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12883 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12884 multiarch bzero for PPC32.
12885 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12886 file.
12887 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12888 file.
12889 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12890 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12891 file: multiarch memset for PPC32.
12892 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12894 memset multiarch objects.
12895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12896 (__libc_ifunc_impl_list): Likewise.
12897
12898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12899 file.
12900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12902 memcmp for PPC32.
12903 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12905 multiarch objects.
12906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12907 (__libc_ifunc_impl_list): Likewise.
12908
12909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12912 file.
12913 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12914 file.
12915 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12916 file.
12917 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12918 multiarch memcpy for PPC32.
12919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12920 multiarch objects.
12921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12922 (__libc_ifunc_impl_list): Likewise.
12923
12924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12925 support multiarch for POWER/PPC32.
12926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12927 Likewise.
12928 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12930 Implies file to make multiarch folder appers before the fpu and
12931 default folder for power4 configuration.
12932
129332013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12934
12935 * scripts/bench.pl: Append volatile keyword to type.
12936
129372013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12938
12939 * sysdeps/sh/sotruss-lib.c: New file.
12940 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12941
129422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12943
12944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12945
129462013-12-05 Joseph Myers <joseph@codesourcery.com>
12947
12948 [BZ #6810]
12949 * math/w_tgamma.c: Include <errno.h>.
12950 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12951 * math/w_tgammaf.c: Include <errno.h>.
12952 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12953 * math/w_tgammal.c: Include <errno.h>.
12954 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12955 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12956 underflow. Add more tgamma tests.
12957 * math/auto-libm-test-out: Regenerated.
12958 * sysdeps/i386/fpu/libm-test-ulps: Update.
12959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12960
12961 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12962 sin, sinh, tan, tanh, tgamma, y0 and y1.
12963 * math/auto-libm-test-out: Regenerated.
12964 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12965 (TEST_COND_x86): Likewise.
12966 (M_E2l): Remove macro.
12967 (M_E3l): Likewise.
12968 (M_2_SQRT_PIl): Likewise.
12969 (M_SQRT_PIl): Likewise.
12970 (M_1_DIV_El): Likewise.
12971 (log_test_data): Use AUTO_TESTS_f_f.
12972 (log10_test_data): Likewise.
12973 (log1p_test_data): Likewise.
12974 (log2_test_data): Likewise.
12975 (sin_test_data): Likewise.
12976 (sin_tonearest_test_data): Likewise.
12977 (sin_towardzero_test_data): Likewise.
12978 (sin_downward_test_data): Likewise.
12979 (sin_upward_test_data): Likewise.
12980 (sinh_test_data): Likewise.
12981 (sinh_tonearest_test_data): Likewise.
12982 (sinh_towardzero_test_data): Likewise.
12983 (sinh_downward_test_data): Likewise.
12984 (sinh_upward_test_data): Likewise.
12985 (tan_test_data): Likewise.
12986 (tan_tonearest_test_data): Likewise.
12987 (tan_towardzero_test_data): Likewise.
12988 (tan_downward_test_data): Likewise.
12989 (tan_upward_test_data): Likewise.
12990 (tanh_test_data): Likewise.
12991 (tgamma_test_data): Likewise.
12992 (y0_test_data): Likewise.
12993 (y1_test_data): Likewise.
12994 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12995 (special_real_inputs): Add pi/4.
12996 * sysdeps/i386/fpu/libm-test-ulps: Update.
12997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12998
129992013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13000
13001 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13002 "longjmp_target" static probes.
13003 (__longjmp): Rename to __longjmp_symbol.
13004 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13005 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13006 on which longjmp to generate.
13007 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13008 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13009 probe.
13010 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13011 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13012 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13013 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13014 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13015 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13017 __longjmp_symbol based on which __longjmp to generate.
13018 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13019 probe.
13020 (setjmp): Rename to setjmp_symbol.
13021 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13022 (_setjmp): Rename to _setjmp_symbol.
13023 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13024 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13025 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13026 which setjmp to generate.
13027 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13028 "longjmp_target" static probes.
13029
130302013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13031
13032 * benchtests/README: Add note about output arguments.
13033 * benchtests/bench-sincos.c: Remove file.
13034 * benchtests/sincos-inputs: New file.
13035 * scripts/bench.pl: Identify output arguments and define
13036 static variables for them.
13037
13038 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13039
13040 [BZ #15941]
13041 * Makefile (INSTALL): Add install-plain.texi as the primary
13042 dependency.
13043 * manual/install-plain.texi: New file.
13044 * manual/install.texi: Include node directive only for
13045 non-plaintext output.
13046
130472013-12-04 Joseph Myers <joseph@codesourcery.com>
13048
13049 * stdlib/longlong.h: Update from GCC.
13050
13051 [BZ #6807]
13052 [BZ #15901]
13053 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13054 * math/w_j0f.c (y0f): Likewise.
13055 * math/w_j0l.c (__y0l): Likewise.
13056 * math/w_j1.c (y1): Likewise.
13057 * math/w_j1f.c (y1f): Likewise.
13058 * math/w_j1l.c (__y1l): Likewise
13059 * math/w_jn.c (yn): Likewise.
13060 * math/w_jnf.c (ynf): Likewise.
13061 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13062 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13063 value for Bessel function domain errors outside _SVID_ mode.
13064 Adjust sign of return value for yn (negative integer, 0).
13065 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13066 by zero in return for negative x and set sign appropriately for
13067 negative n.
13068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13069 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13070 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13071 expectations in error cases.
13072 (y1_test_data): Likewise.
13073 (yn_test_data): Likewise.
13074 * sysdeps/i386/fpu/libm-test-ulps: Update.
13075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076
130772013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13078
13079 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13080 "64" to "64-v1". Add "64-v2".
13081 (abi-64-options): Rename to ...
13082 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13083 (abi-64-condition): Rename to ...
13084 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13085 (abi-64-ld-soname): Rename to ...
13086 (abi-64-v1-ld-soname): ... this.
13087 (abi-64-v2-options): Define.
13088 (abi-64-v2-condition): Likewise.
13089 (abi-64-v2-ld-soname): Likewise.
13090 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13091 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13095
130962013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13097 Alan Modra <amodra@gmail.com>
13098
13099 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13100 New versions for use with the ELFv2 ABI.
13101 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13102 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13103 declaration.
13104 (struct La_ppc64v2_retval): Likewise.
13105 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13106 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13107 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13108 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13109 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13110 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13111 Do not save or restore CR.
13112 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13113 (_dl_profile_resolve): Do no save or restore CR. Support extended
13114 return values for ELFv2 ABI. Fix location of FPR return registers.
13115 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13116 updated values for _CALL_ELF == 2.
13117 (La_regs, La_retval, int_retval): Likewise.
13118
131192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13120
13121 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13122 (FRAME_MIN_SIZE_PARM): Likewise.
13123 (FRAME_BACKCHAIN): Likewise.
13124 (FRAME_CR_SAVE): Likewise.
13125 (FRAME_LR_SAVE): Likewise.
13126 (FRAME_TOC_SAVE): Likewise.
13127 (FRAME_PARM_SAVE): Likewise.
13128 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13129 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13130 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13131 (call_mcount_parm_offset): New macro.
13132 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13133 (PROF): Use symbolic stack frame offsets.
13134 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13135 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13136 Redefine in terms of FRAME_MIN_SIZE.
13137 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13138 (_dl_profile_resolve): Likewise. Update comment.
13139 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13140 symbols stack frame offsets.
13141 (__sigsetjmp): Likewise.
13142 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13143 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13144 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13145 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13146
13147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13148 (FRAME_BACKCHAIN): Remove.
13149 (FRAME_CR_SAVE): Likewise.
13150 (FRAME_LR_SAVE): Likewise.
13151 (FRAME_COMPILER_DW): Likewise.
13152 (FRAME_LINKER_DW): Likewise.
13153 (FRAME_TOC_SAVE): Likewise.
13154 (FRAME_PARM_SAVE): Likewise.
13155 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13156 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13157 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13159 (CHECK_SP): Use symbolic stack frame offsets.
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13161 zone" instead of caller's parameter save area for temp storage.
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13163 Likewise. Also, use symbolic stack frame offsets.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13165 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13166 our own stack frame instead of the caller's.
13167 (__socket): Use symbolic stack frame offsets.
13168
131692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13170 Alan Modra <amodra@gmail.com>
13171
13172 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13173 Define.
13174 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13175 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13176 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13177 New function.
13178 (elf_machine_fixup_plt): Call it.
13179 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13180 reloc arguments.
13181 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13182 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13183 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13184 r2 before calling target.
13185
131862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13187 Alan Modra <amodra@gmail.com>
13188
13189 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13190 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13191 versions of macros to support ELFv2 ABI.
13192 (LOCALENTRY): New macro.
13193 (ENTRY, EALIGN): Use it.
13194 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13195 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13196 fall through into ENTRY entry point.
13197 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13198 Only define if _CALL_ELF != 2.
13199
13200 (elf_machine_matches_host): Verify ABI version matches.
13201 (RTLD_START): Use LOCALENTRY.
13202 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13203 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13204 (PLT_ENTRY_WORDS): New macro.
13205 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13206 (elf_machine_runtime_setup): Support ELFv2 ABI.
13207 (elf_machine_fixup_plt): Likewise.
13208 (elf_machine_plt_conflict): Likewise.
13209 (resolve_ifunc): Likewise.
13210 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13211 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13212 Likewise.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13214 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13216 (makecontext): Support ELFv2 ABI.
13217 * elf/elf.h (EF_PPC64_ABI): Define.
13218
132192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13220
13221 * sysdeps/powerpc/powerpc64/sysdep.h
13222 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13223 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13224 (ENTRY) [ASSEMBLER]: ... but instead here ...
13225 (EALIGN) [ASSEMBLER]: ... and here.
13226 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13227 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13228 (ENTRY_2) [!ASSEMBLER]: Use it.
13229 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13230 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13231 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13232 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13233 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13235 Use PPC64_LOAD_FUNCPTR.
13236
13237 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13238
132392013-12-04 Alan Modra <amodra@gmail.com>
13240
13241 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13242 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13243 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13244 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13245
13246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13247 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13248 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13249 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13250 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13251 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13252
132532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13254
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13256 (__makecontext): Fix incorrect CFI when backtracing out of
13257 context created via makecontext.
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13259 (__setcontext): Fix incorrect CFI during switch to new context.
13260 (__novec_setcontext): Likewise.
13261
132622013-12-04 Ondřej Bílka <neleai@seznam.cz>
13263
13264 [BZ #4772]
13265 * time/strptime_l.c (__strptime_internal): Allow modifiers
13266 in strptime.
13267 * time/tst-strptime.c (day_tests): Add testcase.
13268
132692013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13270
13271 * scripts/bench.pl: Skip over blank lines.
13272
132732013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13274
13275 [BZ #926]
13276 * manual/time.texi (Calendar Time): Clarify what timezone functions
13277 use.
13278
132792013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13280
13281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13282
132832013-12-04 Ondřej Bílka <neleai@seznam.cz>
13284
13285 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13286 implementation.
13287 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13288 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13289 * debug/memset_chk.c (__memset_chk): Likewise.
13290 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13291 * debug/strncpy_chk.c: Likewise.
13292
132932013-12-03 Joseph Myers <joseph@codesourcery.com>
13294
13295 [BZ #15268]
13296 [BZ #15425]
13297 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13298 (__ieee754_exp): For possibly underflowing results, check size of
13299 result and force underflow exception if required.
13300 * math/auto-libm-test-in: Add more tests of exp.
13301 * math/auto-libm-test-out: Regenerated.
13302 * sysdeps/i386/fpu/libm-test-ulps: Update.
13303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13304
13305 [BZ #16283]
13306 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13307 * math/w_exp2f.c (__exp2f): Likewise.
13308 * math/w_exp2l.c (__exp2l): Likewise.
13309 * math/auto-libm-test-in: Do not allow missing errno on exp2
13310 underflow.
13311 * math/auto-libm-test-out: Regenerated.
13312
133132013-12-03 Ondřej Bílka <neleai@seznam.cz>
13314
13315 [BZ #16274]
13316 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13317 handle filename validation.
13318 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13319 (do_open): Delete.
13320
133212013-12-03 Joseph Myers <joseph@codesourcery.com>
13322
13323 [BZ #6786]
13324 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13325 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13326 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13327 <float.h>.
13328 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13330 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13331 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13332 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13333 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13334 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13335 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13336 Add more erfc tests.
13337 * math/auto-libm-test-out: Regenerated.
13338 * sysdeps/i386/fpu/libm-test-ulps: Update.
13339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13340
13341 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13342 exp2, expm1, j0 and j1.
13343 * math/auto-libm-test-out: Regenerated.
13344 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13345 (erfc_test_data): Likewise.
13346 (exp_test_data): Likewise.
13347 (exp_tonearest_test_data): Likewise.
13348 (exp_towardzero_test_data): Likewise.
13349 (exp_downward_test_data): Likewise.
13350 (exp_upward_test_data): Likewise.
13351 (exp10_test_data): Likewise.
13352 (exp2_test_data): Likewise.
13353 (expm1_test_data): Likewise.
13354 (j0_test_data): Likewise.
13355 (j1_test_data): Likewise.
13356 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13357 (input_flag_type): Add flag_xfail_rounding.
13358 (input_flags): Add xfail-rounding.
13359 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13360 (output_for_one_input_case): Handle flag_xfail_rounding.
13361 * sysdeps/i386/fpu/libm-test-ulps: Update.
13362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13363
133642013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13365
13366 [BZ #16289]
13367 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13368 division by 0.
13369
133702013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13371
13372 [BZ #16195]
13373 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13374 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13375 (STAP_PROBE0): New macro.
13376 (STAP_PROBE1): Likewise.
13377 (STAP_PROBE2): Likewise.
13378 (STAP_PROBE3): Likewise.
13379 (STAP_PROBE4): Likewise.
13380
133812013-12-02 Ondřej Bílka <neleai@seznam.cz>
13382
13383 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13384
133852013-12-02 Steve Ellcey <sellcey@mips.com>
13386
13387 * benchtests/Makefile (bench): Add sqrt.
13388 (LDLIBS-bench-sqrt): New.
13389 * benchtests/sqrt-input: New.
13390
133912013-12-02 Pavel Simerda <psimerda@redhat.com>
13392
13393 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13394 (GAIH_EAI): Likewise.
13395 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13396 (gaih_inet): Likewise.
13397 (getaddrinfo): Don't use GAIH_EAI.
13398
13399 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13400 (struct gaih): Remove definition.
13401
134022013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13403
13404 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13405 Use HERRNOP directly.
13406
134072013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13408
13409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13410
134112013-11-30 Joseph Myers <joseph@codesourcery.com>
13412
13413 * math/gen-auto-libm-tests.c (test_functions): Add more
13414 single-argument functions.
13415 (special_fill_pi_2): New function.
13416 (special_fill_minus_pi_2): Likewise.
13417 (special_fill_pi_6): Likewise.
13418 (special_fill_minus_pi_6): Likewise.
13419 (special_fill_pi_3): Likewise.
13420 (special_fill_2pi_3): Likewise.
13421 (special_fill_e): Likewise.
13422 (special_fill_1_e): Likewise.
13423 (special_fill_e_minus_1): Likewise.
13424 (special_real_inputs): Add more special inputs.
13425 (output_for_one_input_case): Do not require ERANGE on underflow to
13426 zero if round-to-nearest result does not underflow to zero, unless
13427 exact results required.
13428 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13429 atan, atanh, cbrt, cos and cosh.
13430 * math/auto-libm-test-out: Regenerated.
13431 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13432 (acos_tonearest_test_data): Likewise.
13433 (acos_towardzero_test_data): Likewise.
13434 (acos_downward_test_data): Likewise.
13435 (acos_upward_test_data): Likewise.
13436 (acosh_test_data): Likewise.
13437 (asin_test_data): Likewise.
13438 (asin_tonearest_test_data): Likewise.
13439 (asin_towardzero_test_data): Likewise.
13440 (asin_upward_test_data): Likewise.
13441 (asinh_test_data): Likewise.
13442 (atan_test_data): Likewise.
13443 (atanh_test_data): Likewise.
13444 (cbrt_test_data): Likewise.
13445 (cos_test_data): Likewise.
13446 (cos_tonearest_test_data): Likewise.
13447 (cos_towardzero_test_data): Likewise.
13448 (cos_downward_test_data): Likewise.
13449 (cos_upward_test_data): Likewise.
13450 (cosh_test_data): Likewise.
13451 (cosh_tonearest_test_data): Likewise.
13452 (cosh_towardzero_test_data): Likewise.
13453 (cosh_downward_test_data): Likewise.
13454 (cosh_upward_test_data): Likewise.
13455 * sysdeps/i386/fpu/libm-test-ulps: Update.
13456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13457
134582013-11-29 Joseph Myers <joseph@codesourcery.com>
13459
13460 [BZ #6787]
13461 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13462 * math/w_exp10f.c (__exp10f): Likewise.
13463 * math/w_exp10l.c (__exp10l): Likewise.
13464 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13465 errno settings in existing tests.
13466
13467 [BZ #14032]
13468 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13469 precision control set to double precision.
13470 * sysdeps/i386/fpu/w_sqrt.c: New file.
13471 * math/auto-libm-test-in: Add more tests.
13472 * math/auto-libm-test-out: Update.
13473
13474 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13475 (sqrt_test_tonearest): New function.
13476 (sqrt_towardzero_test_data): New variable.
13477 (sqrt_test_towardzero): New function.
13478 (sqrt_downward_test_data): New variable.
13479 (sqrt_test_downward): New function.
13480 (sqrt_upward_test_data): New variable.
13481 (sqrt_test_upward): New function.
13482 (main): Call the new functions.
13483
13484 * math/gen-auto-libm-tests.c: New file.
13485 * math/auto-libm-test-in: Likewise.
13486 * math/auto-libm-test-out: New generated file.
13487 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13488 variables.
13489 (%beautify): Add generated representations of zero.
13490 (top level): Set $auto_input and call parse_auto_input.
13491 (beautify): Remove trailing "f" from hex float constants.
13492 (parse_args): Handle XFAIL_TEST.
13493 (convert_condition): New function.
13494 (or_value): Likewise.
13495 (or_cond_value): Likewise.
13496 (generate_testfile): Handle AUTO_TESTS_* lines.
13497 (parse_auto_input): New function.
13498 * math/libm-test.inc (XFAIL_TEST): New macro.
13499 (ERRNO_UNCHANGED): Update value.
13500 (ERRNO_EDOM): Likewise.
13501 (ERRNO_ERANGE): Likewise.
13502 (IGNORE_RESULT): Likewise.
13503 (TEST_COND_flt_32): New macro.
13504 (TEST_COND_dbl_64): Likewise.
13505 (TEST_COND_ldbl_96_intel): Likewise.
13506 (TEST_COND_ldbl_96_m68k): Likewise.
13507 (TEST_COND_ldbl_128): Likewise.
13508 (TEST_COND_ldbl_128ibm): Likewise.
13509 (TEST_COND_long32): Likewise.
13510 (TEST_COND_long64): Likewise.
13511 (TEST_COND_before_rounding): Likewise.
13512 (TEST_COND_after_rounding): Likewise.
13513 (enable_test): Handle XFAIL_TEST flag.
13514 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13515 with finite results.
13516 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13517 auto-libm-test-out.
13518
135192013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13520 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13521
13522 [BZ #16214]
13523 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13524 __tls_get_addr_internal instead of __tls_get_offset in order to
13525 avoid GOT pointer dependency. Make rtld export
13526 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13527 __tls_get_addr since we are a __tls_get_offset platform.
13528 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13529 GOT pointer being set up before.
13530 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13531
135322013-11-28 Joseph Myers <joseph@codesourcery.com>
13533
13534 * manual/math.texi (Errors in Math Functions): Document accuracy
13535 goals.
13536
13537 [BZ #15004]
13538 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13539 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13542 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13544 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13554
13555 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13556 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13557 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13558 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13559 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13560 Likewise.
13561 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13562 Likewise.
13563 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13564 Likewise.
13565 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13566 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13567 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13568 atomic-feupdateenv and flt-rounds.
13569 * sysdeps/powerpc/nofpu/Versions (libc): Add
13570 __atomic_feholdexcept, __atomic_feclearexcept,
13571 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13572 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13573 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13574 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13575 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13576 here.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13578 Update.
13579
13580 * manual/arith.texi (FP Exceptions): Document that exceptions may
13581 not be raised when matherr is used.
13582 (Math Error Reporting): Document overflow in directed rounding
13583 modes. Document that errno may not be set when finite values are
13584 returned on overflow. Document intent to set errno on underflow
13585 only for underflow to zero.
13586
13587 [BZ #16271]
13588 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13589 round-to-nearest then adjust result for other rounding modes.
13590 * include/fenv.h (fegetround): Use libm_hidden_proto.
13591 * math/fegetround.c (fegetround): Use libm_hidden_def.
13592 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13593 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13594 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13595 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13596 Likewise.
13597 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13598 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13599 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13600 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13601
136022013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13603
13604 [BZ #16077]
13605 * nss/Versions (libnss_files): Add
13606 _nss_files_gethostbyname3_r.
13607 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13608 New function.
13609 (HOST_DB_LOOKUP): Remove macro.
13610 (_nss_files_gethostbyname_r): Implement function without the
13611 HOST_DB_LOOKUP macro.
13612 (_nss_files_gethostbyname2_r): Likewise.
13613
136142013-11-28 Ondřej Bílka <neleai@seznam.cz>
13615
13616 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13617
136182013-11-26 Uros Bizjak <ubizjak@gmail.com>
13619
13620 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13621 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13622 warning.
13623
136242013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13625
13626 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13627 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13628 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13629 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13630 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13631 __fe_nomask_env_priv and attribute_hidden.
13632 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13633 (libc_feupdateenv_test_ppc): Likewise.
13634 (libc_feresetround_ppc): Likewise.
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13636 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13637 compat_symbol macro.
13638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13639 (__fe_nomask_env): Likewise.
13640 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13641
136422013-11-26 Ondřej Bílka <neleai@seznam.cz>
13643
13644 * string/Makefile: Remove ifunc tests.
13645 * string/test-string.h: Define TEST_IFUNC.
13646 * string/test-bcopy-ifunc.c: Remove.
13647 * string/test-bzero-ifunc.c: Likewise.
13648 * string/test-memccpy-ifunc.c: Likewise.
13649 * string/test-memchr-ifunc.c: Likewise.
13650 * string/test-memcmp-ifunc.c: Likewise.
13651 * string/test-memcpy-ifunc.c: Likewise.
13652 * string/test-memmem-ifunc.c: Likewise.
13653 * string/test-memmove-ifunc.c: Likewise.
13654 * string/test-mempcpy-ifunc.c: Likewise.
13655 * string/test-memrchr-ifunc.c: Likewise.
13656 * string/test-memset-ifunc.c: Likewise.
13657 * string/test-rawmemchr-ifunc.c: Likewise.
13658 * string/test-stpcpy-ifunc.c: Likewise.
13659 * string/test-stpncpy-ifunc.c: Likewise.
13660 * string/test-strcasecmp-ifunc.c: Likewise.
13661 * string/test-strcasestr-ifunc.c: Likewise.
13662 * string/test-strcat-ifunc.c: Likewise.
13663 * string/test-strchr-ifunc.c: Likewise.
13664 * string/test-strchrnul-ifunc.c: Likewise.
13665 * string/test-strcmp-ifunc.c: Likewise.
13666 * string/test-strcpy-ifunc.c: Likewise.
13667 * string/test-strcspn-ifunc.c: Likewise.
13668 * string/test-strlen-ifunc.c: Likewise.
13669 * string/test-strncasecmp-ifunc.c: Likewise.
13670 * string/test-strncat-ifunc.c: Likewise.
13671 * string/test-strncmp-ifunc.c: Likewise.
13672 * string/test-strncpy-ifunc.c: Likewise.
13673 * string/test-strnlen-ifunc.c: Likewise.
13674 * string/test-strpbrk-ifunc.c: Likewise.
13675 * string/test-strrchr-ifunc.c: Likewise.
13676 * string/test-strspn-ifunc.c: Likewise.
13677 * string/test-strstr-ifunc.c: Likewise.
13678
136792013-11-26 Ondřej Bílka <neleai@seznam.cz>
13680
13681 * benchtests/Makefile: Remove ifunc tests.
13682 * benchtests/bench-string.h: Define TEST_IFUNC.
13683 * benchtests/bench-bcopy-ifunc.c: Remove.
13684 * benchtests/bench-bzero-ifunc.c: Likewise.
13685 * benchtests/bench-memccpy-ifunc.c: Likewise.
13686 * benchtests/bench-memchr-ifunc.c: Likewise.
13687 * benchtests/bench-memcmp-ifunc.c: Likewise.
13688 * benchtests/bench-memcpy-ifunc.c: Likewise.
13689 * benchtests/bench-memmem-ifunc.c: Likewise.
13690 * benchtests/bench-memmove-ifunc.c: Likewise.
13691 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13692 * benchtests/bench-memrchr-ifunc.c: Likewise.
13693 * benchtests/bench-memset-ifunc.c: Likewise.
13694 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13695 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13696 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13697 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13698 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13699 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13700 * benchtests/bench-strcat-ifunc.c: Likewise.
13701 * benchtests/bench-strchr-ifunc.c: Likewise.
13702 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13703 * benchtests/bench-strcmp-ifunc.c: Likewise.
13704 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13705 * benchtests/bench-strcpy-ifunc.c: Likewise.
13706 * benchtests/bench-strcspn-ifunc.c: Likewise.
13707 * benchtests/bench-strlen-ifunc.c: Likewise.
13708 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13709 * benchtests/bench-strncat-ifunc.c: Likewise.
13710 * benchtests/bench-strncmp-ifunc.c: Likewise.
13711 * benchtests/bench-strncpy-ifunc.c: Likewise.
13712 * benchtests/bench-strnlen-ifunc.c: Likewise.
13713 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13714 * benchtests/bench-strrchr-ifunc.c: Likewise.
13715 * benchtests/bench-strsep-ifunc.c: Likewise.
13716 * benchtests/bench-strspn-ifunc.c: Likewise.
13717 * benchtests/bench-strstr-ifunc.c: Likewise.
13718
137192013-11-26 Ondřej Bílka <neleai@seznam.cz>
13720
13721 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13722
137232013-11-26 Ondřej Bílka <neleai@seznam.cz>
13724
13725 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13726 * rt/aio.h: Likewise.
13727 * sysdeps/gnu/bits/utmp.h: Likewise.
13728 * sysdeps/gnu/bits/utmpx.h: Likewise.
13729 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13730 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13731 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13732 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13733 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13734 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13735 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13736 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13741 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13743 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13744 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13745 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13746 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13747 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13748 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13749 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13750 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13751 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13752 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13753 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13755 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13756 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13757 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13758 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13759 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13760 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13761 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13762 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13763 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13764 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13765 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13766 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13767 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13768 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13769 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13770 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13771
137722013-11-25 Carlos O'Donell <carlos@redhat.com>
13773
13774 [BZ #16245]
13775 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13776 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13777
137782013-11-25 Joseph Myers <joseph@codesourcery.com>
13779
13780 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13781 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13782 Likewise.
13783
137842013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13785
13786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13787 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13788 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13789 (__fesetround): Remove define.
13790 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13791 rounding and exceptions handling.
13792 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13793 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13794 (__fe_nomask_env): Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13796 __fegetround instead of fegetround.
13797 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13799
138002013-11-21 Roland McGrath <roland@hack.frob.com>
13801
13802 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13803 it's there.
13804
13805 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13806
138072013-11-21 Meador Inge <meadori@codesourcery.com>
13808
13809 [BZ #11157]
13810 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13811 (encrypt_r): Likewise.
13812 * malloc/obstack.h (obstack_free): Likewise.
13813 * posix/unistd.h (encrypt): Likewise.
13814
138152013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13816
13817 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13818 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13819 DL_CALL_DT_FINI() that call the functions directly.
13820 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13821 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13822 * elf/dl-fini.c: Likewise.
13823
138242013-11-20 Ondřej Bílka <neleai@seznam.cz>
13825
13826 * malloc/hooks.c (memalign_check): Add alignment rounding.
13827 * malloc/malloc.c (_mid_memalign): New function.
13828 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13829 Implement by calling _mid_memalign.
13830 * manual/probes.texi (Memory Allocation Probes): Remove
13831 memory_valloc_retry and memory_pvalloc_retry.
13832
138332013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13834
13835 * locale/programs/locarchive.c (open_archive): Add const
13836 qualifier to ARCHIVEFNAME and copy default fname to
13837 DEFAULT_FNAME.
13838
13839 [BZ #15601]
13840 * libio/tst-widetext.input: Rename Oriya to Odia.
13841 * locale/iso-639.def: Likewise.
13842
13843 * manual/probes.texi (Mathematical Function Probes): Add
13844 documentation for sin, cos, asin and acos probes.
13845 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13846 (__sin32): Add slowasin probe.
13847 (__cos32): Add slowacos probe.
13848 (__mpsin): Add slowsin probe.
13849 (__mpcos): Add slowcos probe.
13850
138512013-11-19 Joseph Myers <joseph@codesourcery.com>
13852
13853 [BZ #15483]
13854 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13855 thread-local __sim_exceptions_thread and global
13856 __sim_exceptions_global.
13857 (__sim_disabled_exceptions): Change to thread-local
13858 __sim_disabled_exceptions_thread and global
13859 __sim_disabled_exceptions_global.
13860 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13861 and global __sim_round_mode_global.
13862 (__simulate_exceptions): Use thread-local floating-point state and
13863 set global state from it as needed.
13864 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13865 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13866 __sim_round_mode_thread.
13867 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13868 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13869 and global __sim_exceptions_global.
13870 (__sim_disabled_exceptions): Change to thread-local
13871 __sim_disabled_exceptions_thread and global
13872 __sim_disabled_exceptions_global.
13873 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13874 and global __sim_round_mode_global.
13875 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13876 (SIM_SET_GLOBAL): Likewise.
13877 * sysdeps/powerpc/soft-fp/sfp-machine.h
13878 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13879 __sim_round_mode_thread.
13880 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13881 __sim_disabled_exceptions_thread.
13882 (__sim_exceptions): Change to __sim_exceptions_thread.
13883 (__sim_disabled_exceptions): Change to
13884 __sim_disabled_exceptions_thread.
13885 (__sim_round_mode): Change to __sim_round_mode_thread.
13886 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13887 thread-local floating-point state and set global state from it as
13888 needed.
13889 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13890 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13891 (__sim_disabled_exceptions): Remove extern declaration.
13892 (feenableexcept): Use thread-local floating-point state and set
13893 global state from it as needed.
13894 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13895 extern declaration.
13896 (__sim_disabled_exceptions): Likewise.
13897 (__sim_round_mode): Likewise.
13898 (__fegetenv): Use thread-local floating-point state.
13899 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13900 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13901 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13902 floating-point state and set global state from it as needed.
13903 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13904 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13905 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13906 Likewise.
13907 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13908 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13909 Likewise.
13910 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13911 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13912 Use __sim_round_mode_thread.
13913 * math/test-fenv-tls.c: New file.
13914 * math/Makefile (tests): Add test-fenv-tls.
13915 ($(objpfx)test-fenv-tls): Depend on
13916 $(common-objpfx)nptl/libpthread.so.
13917
139182013-11-19 Andreas Schwab <schwab@suse.de>
13919
13920 * locale/programs/locale.c (show_info): Decode wordarray elements.
13921 * locale/categories.def (LC_MONETARY): Add element for
13922 _NL_MONETARY_CRNCYSTR.
13923 * locale/C-monetary.c (conversion_rate): New variable.
13924 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13925 element.
13926
139272013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13928
13929 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13930 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13931
139322013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13933
13934 * elf/Makefile (tst-auxv): New test.
13935 * elf/tst-auxv.c: New
13936 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13937
139382013-11-18 Joseph Myers <joseph@codesourcery.com>
13939
13940 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13941 (hidden_proto): Caller changed.
13942 (hidden_tls_proto): New macro.
13943 (libc_hidden_tls_proto): Likewise.
13944 (rtld_hidden_tls_proto): Likewise.
13945 (libm_hidden_tls_proto): Likewise.
13946 (libresolv_hidden_tls_proto): Likewise.
13947 (librt_hidden_tls_proto): Likewise.
13948 (libdl_hidden_tls_proto): Likewise.
13949 (libnss_files_hidden_tls_proto): Likewise.
13950 (libnsl_hidden_tls_proto): Likewise.
13951 (libnss_nisplus_hidden_tls_proto): Likewise.
13952 (libutil_hidden_tls_proto): Likewise.
13953
139542013-11-18 Ondřej Bílka <neleai@seznam.cz>
13955
13956 [BZ #10253]
13957 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13958 (decompose_rpath): Defer expansion to fillin_rpath.
13959 (_dl_init_paths): Pass linkmap to fillin_rpath.
13960
139612013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13962
13963 * benchtests/Makefile: Add strsep.
13964 * benchtests/bench-strsep.c: New file: strsep benchtest.
13965 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13966
139672013-11-18 Andreas Schwab <schwab@suse.de>
13968
13969 * locale/programs/locale.c (show_info) [case byte]: Check for
13970 '\377' instead of '\177'.
13971 * locale/C-monetary.c (not_available): Always use "\377".
13972 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13973 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13974 detect unavailable sign_posn locale elements.
13975 * locale/localeconv.c (__localeconv): For grouping and
13976 mon_grouping handle "\177" and "\377" like no grouping.
13977 (INT_ELEM): New macro. Use it to set all numeric members.
13978 * locale/programs/ld-monetary.c (monetary_read)
13979 <tok_mon_grouping>: Normalize single -1 to the empty string.
13980 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13981 Likewise.
13982
139832013-11-07 Ondřej Bílka <neleai@seznam.cz>
13984
13985 [BZ #16055]
13986 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13987 when we match (nil).
13988 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13989
139902013-11-16 Joseph Myers <joseph@codesourcery.com>
13991
13992 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13993 (NO_TEST_INLINE): Update value.
13994 (ERRNO_UNCHANGED): Likewise.
13995 (ERRNO_EDOM): Likewise.
13996 (ERRNO_ERANGE): Likewise.
13997 (IGNORE_RESULT): Likewise.
13998 (check_float_internal): Check signs of NaN results if
13999 TEST_NAN_SIGN used.
14000 (check_complex): Pass TEST_NAN_SIGN flag through to second
14001 check_float_internal call.
14002 (copysign_test_data): Add tests with quiet NaNs as second
14003 argument. Use TEST_NAN_SIGN.
14004 (fabs_test_data): Add test of negative quiet NaN argument. Use
14005 TEST_NAN_SIGN.
14006 (signbit_test_data): Add tests of quiet NaN argument.
14007 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14008
14009 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14010 $ignore_result.
14011 (parse_args): Handle function results specified as IGNORE.
14012 * math/libm-test.inc (IGNORE_RESULT): New macro.
14013 (check_float_internal): Do not check numerical result if flag
14014 IGNORE_RESULT set.
14015 (check_complex): Pass through IGNORE_RESULT to second
14016 check_float_internal call.
14017 (check_int): Do not check numerical result if flag IGNORE_RESULT
14018 set.
14019 (check_long): Likewise.
14020 (check_bool): Likewise.
14021 (check_longlong): Likewise.
14022 (lrint_test_data): Add tests of infinite and NaN arguments.
14023 (lrint_tonearest_test_data): Likewise.
14024 (lrint_towardzero_test_data): Likewise.
14025 (lrint_downward_test_data): Likewise.
14026 (lrint_upward_test_data): Likewise.
14027 (llrint_test_data): Likewise.
14028 (llrint_tonearest_test_data): Likewise.
14029 (llrint_towardzero_test_data): Likewise.
14030 (llrint_downward_test_data): Likewise.
14031 (llrint_upward_test_data): Likewise.
14032 (lround_test_data): Likewise.
14033 (llround_test_data): Likewise.
14034
14035 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14036 (ERRNO_UNCHANGED): Update value.
14037 (ERRNO_EDOM): Likewise.
14038 (ERRNO_ERANGE): Likewise.
14039 (NO_TEST_INLINE_FLOAT): New macro.
14040 (NO_TEST_INLINE_DOUBLE): Likewise.
14041 (enable_test): New function.
14042 (RUN_TEST_f_f): Check enable_test before running test.
14043 (RUN_TEST_2_f): Likewise.
14044 (RUN_TEST_fff_f): Likewise.
14045 (RUN_TEST_c_f): Likewise.
14046 (RUN_TEST_f_f1): Likewise.
14047 (RUN_TEST_fF_f1): Likewise.
14048 (RUN_TEST_fI_f1): Likewise.
14049 (RUN_TEST_ffI_f1): Likewise.
14050 (RUN_TEST_c_c): Likewise.
14051 (RUN_TEST_cc_c): Likewise.
14052 (RUN_TEST_f_i): Likewise.
14053 (RUN_TEST_f_i_tg): Likewise.
14054 (RUN_TEST_ff_i_tg): Likewise.
14055 (RUN_TEST_f_b): Likewise.
14056 (RUN_TEST_f_b_tg): Likewise.
14057 (RUN_TEST_f_l): Likewise.
14058 (RUN_TEST_f_L): Likewise.
14059 (RUN_TEST_fFF_11): Likewise.
14060 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14061 conditionals.
14062 (cosh_test_data): Likewise.
14063 (exp_test_data): Likewise.
14064 (expm1_test_data): Likewise.
14065 (hypot_test_data): Likewise.
14066 (pow_test_data): Likewise.
14067 (sinh_test_data): Likewise.
14068 (tanh_test_data): Likewise.
14069 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14070 flags argument.
14071
14072 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14073 tests with quiet NaN input and output.
14074 (acosh_test_data): Likewise.
14075 (asin_test_data): Likewise.
14076 (asinh_test_data): Likewise.
14077 (atan_test_data): Likewise.
14078 (atanh_test_data): Likewise.
14079 (atan2_test_data): Likewise.
14080 (cbrt_test_data): Likewise.
14081 (cos_test_data): Likewise.
14082 (cosh_test_data): Likewise.
14083 (erf_test_data): Likewise.
14084 (erfc_test_data): Likewise.
14085 (exp_test_data): Likewise.
14086 (exp10_test_data): Likewise.
14087 (exp2_test_data): Likewise.
14088 (expm1_test_data): Likewise.
14089 (hypot_test_data): Likewise.
14090 (j0_test_data): Likewise.
14091 (j1_test_data): Likewise.
14092 (jn_test_data): Likewise.
14093 (lgamma_test_data): Likewise.
14094 (log_test_data): Likewise.
14095 (log10_test_data): Likewise.
14096 (log1p_test_data): Likewise.
14097 (log2_test_data): Likewise.
14098 (pow_test_data): Likewise.
14099 (scalb_test_data): Likewise.
14100 (sin_test_data): Likewise.
14101 (sincos_test_data): Likewise.
14102 (sinh_test_data): Likewise.
14103 (tan_test_data): Likewise.
14104 (tanh_test_data): Likewise.
14105 (tgamma_test_data): Likewise.
14106 (y0_test_data): Likewise.
14107 (y1_test_data): Likewise.
14108 (yn_test_data): Likewise.
14109
14110 [BZ #16167]
14111 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14112 argument being NaN and avoid computations with second argument in
14113 that case.
14114 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14115 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14116 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14117
141182013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14119
14120 * locale/iso-639.def: Add Chitwani Tharu (the).
14121
141222013-11-14 Andreas Schwab <schwab@suse.de>
14123
14124 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14125 word instead of empty string.
14126
141272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14128
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14130 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14132 (__fe_nomask_env): Likewise.
14133
141342013-11-13 Steve Ellcey <sellcey@mips.com>
14135
14136 * benchtests/bench-timing.h: Include time.h.
14137
141382013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14139
14140 [BZ #15997]
14141 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14142 to 3.4.0 for x32.
14143 * sysdeps/unix/sysv/linux/configure: Regenerated.
14144
141452013-11-13 Joseph Myers <joseph@codesourcery.com>
14146
14147 [BZ #16151]
14148 * stdlib/strtod_l.c (round_and_return): Do not consider
14149 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14150 exponent one less than half the least subnormal exponent.
14151 * stdlib/test-strtod-round-data: Add more tests.
14152 * stdlib/tst-strtod-round.c (tests): Regenerated.
14153
141542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14155
14156 [BZ #14143]
14157 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14158 (__fe_mask_env): Likewise.
14159 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14160 libm_hidden_proto and add function prototype.
14161 (__fe_mask_env): Add function prototype.
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14163 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14165 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14167 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14168
141692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14170
14171 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14172 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14173
141742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14175
14176 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14177 of htab_find_slot().
14178
141792013-11-11 David S. Miller <davem@davemloft.net>
14180
14181 [BZ #16150]
14182 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14183 symbol in the non-vis3 case in static builds.
14184 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14185 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14186 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14187 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14188
141892013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14190
14191 [BZ #387]
14192 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14193 it is empty.
14194
141952013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14196
14197 * benchtests/Makefile: Add bench-strtod.
14198 * benchtests/bench-strtod.c: New file: strtod benchtest
14199
142002013-11-11 Andreas Schwab <schwab@suse.de>
14201
14202 [BZ #16153]
14203 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14204 terminating NUL in key length.
14205
142062013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14207
14208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14209 Add artificial ODP entry for vDSO symbol for PPC64.
14210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14211 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14212
142132013-11-07 Ondřej Bílka <neleai@seznam.cz>
14214
14215 [BZ #15374]
14216 * nss/getent.c (services_keys): Recognize services starting with digit.
14217
142182013-11-06 David S. Miller <davem@davemloft.net>
14219
14220 [BZ #15985]
14221 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14222 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14223
142242013-11-06 Will Newton <will.newton@linaro.org>
14225
14226 * manual/memory.texi (Malloc Examples): Remove register
14227 keyword from examples.
14228
142292013-11-04 Chris Leonard <cjl@sugarlabs.org>
14230
14231 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14232
142332013-11-04 Joseph Myers <joseph@codesourcery.com>
14234
14235 [BZ #6981]
14236 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14237 depending on [__GCC_IEC_559 > 0].
14238 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14239 depending on [__GCC_IEC_559_COMPLEX > 0].
14240
142412013-11-03 Chris Leonard <cjl@sugarlabs.org>
14242
14243 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14244 to iso-639.def.
14245
142462013-11-03 Ondřej Bílka <neleai@seznam.cz>
14247
14248 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14249
142502013-11-01 Ondřej Bílka <neleai@seznam.cz>
14251
14252 [BZ #16112]
14253 * malloc/malloc (malloc_info): Do not handle first bin as
14254 special case.
14255
142562013-11-01 Chris Leonard <cjl@sugarlabs.org>
14257
14258 * locale/iso-639.def: Add Central Nahuatl (nhn).
14259
142602013-11-01 Bruno Haible <bruno@clisp.org>
14261
14262 [BZ #7003]
14263 * manual/math.texi (BSD Random): Specify range upper bound as
14264 in POSIX.
14265
142662013-10-31 Chris Leonard <cjl@sugarlabs.org>
14267
14268 * locale/iso-639.def: Add Meadow Mari (mhr).
14269
142702013-10-31 Ondřej Bílka <neleai@seznam.cz>
14271
14272 [BZ #14752], [BZ #15763]
14273 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14274 Validate name.
14275 * rt/tst_shm.c: Add test for escaping directory.
14276
142772013-10-31 Andreas Schwab <schwab@suse.de>
14278
14279 [BZ #15917]
14280 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14281 followed by 'x' as part of digit sequence.
14282 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14283
142842013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14285
14286 [BZ #16037]
14287 * configure.ac: allow GNU Make 4.0 and greater.
14288 * configure: Regenerated.
14289
142902013-10-30 Will Newton <will.newton@linaro.org>
14291
14292 [BZ #16038]
14293 * malloc/hooks.c (memalign_check): Limit alignment to the
14294 maximum representable power of two.
14295 * malloc/malloc.c (__libc_memalign): Likewise.
14296 * malloc/tst-memalign.c (do_test): Add test for very
14297 large alignment values.
14298 * malloc/tst-posix_memalign.c (do_test): Likewise.
14299
143002013-10-30 Ondřej Bílka <neleai@seznam.cz>
14301
14302 [BZ #11087]
14303 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14304 (munmap_chunk): Likewise.
14305 (mremap_chunk): Likewise.
14306
143072013-10-30 Ondřej Bílka <neleai@seznam.cz>
14308
14309 [BZ #15799]
14310 * stdlib/div.c (div): Remove obsolete code.
14311 * stdlib/ldiv.c (ldiv): Likewise.
14312 * stdlib/lldiv.c (lldiv): Likewise.
14313
143142013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14315
14316 [BZ #16071]
14317 * nss/nss_files/files-XXX.c (get_contents_ret): New
14318 enumerator.
14319 (get_contents): New function.
14320 (internal_getent): Use it. Expand size of LINEBUFLEN.
14321
143222013-10-30 Mike Frysinger <vapier@gentoo.org>
14323
14324 * configure.in: Moved to ...
14325 * configure.ac: ... here. Change reference to configure.in
14326 to configure.ac.
14327 * sysdeps/arm/preconfigure.ac: ... here.
14328 configure.in to configure.ac.
14329 * sysdeps/gnu/configure.in: Moved to ...
14330 * sysdeps/gnu/configure.ac: ... here.
14331 * sysdeps/i386/configure.in: Moved to ...
14332 * sysdeps/i386/configure.ac: ... here.
14333 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14334 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14335 * sysdeps/mach/configure.in: Moved to ...
14336 * sysdeps/mach/configure.ac: ... here.
14337 * sysdeps/mach/hurd/configure.in: Moved to ...
14338 * sysdeps/mach/hurd/configure.ac: ... here.
14339 * sysdeps/powerpc/configure.in: Moved to ...
14340 * sysdeps/powerpc/configure.ac: ... here.
14341 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14342 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14343 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14344 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14345 * sysdeps/s390/s390-32/configure.in: Moved to ...
14346 * sysdeps/s390/s390-32/configure.ac: ... here.
14347 * sysdeps/s390/s390-64/configure.in: Moved to ...
14348 * sysdeps/s390/s390-64/configure.ac: ... here.
14349 * sysdeps/sh/configure.in: Moved to ...
14350 * sysdeps/sh/configure.ac: ... here.
14351 * sysdeps/sparc/configure.in: Moved to ...
14352 * sysdeps/sparc/configure.ac: ... here.
14353 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14354 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14355 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14356 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14357 * sysdeps/x86_64/configure.in: Moved to ...
14358 * sysdeps/x86_64/configure.ac: ... here.
14359 * sysdeps/x86_64/preconfigure.in: Moved to ...
14360 * sysdeps/x86_64/preconfigure.ac: ... here.
14361 * aclocal.m4: Change reference to configure.in to configure.ac.
14362 * config.h.in: Likewise.
14363 * manual/install.texi: Likewise.
14364 * manual/maint.texi: Likewise.
14365 * Makefile: Likewise.
14366 * malloc/Makefile: Likewise.
14367 * nscd/Makefile: Likewise.
14368 * Makeconfig: Change reference to configure.in and
14369 preconfigure.in to configure.ac and preconfigure.ac
14370 respectively.
14371 * INSTALL: Regenerated.
14372 * configure: Likewise.
14373 * sysdeps/gnu/configure: Likewise.
14374 * sysdeps/i386/configure: Likewise.
14375 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14376 * sysdeps/mach/configure: Likewise.
14377 * sysdeps/mach/hurd/configure: Likewise.
14378 * sysdeps/powerpc/configure: Likewise.
14379 * sysdeps/powerpc/powerpc32/configure: Likewise.
14380 * sysdeps/powerpc/powerpc64/configure: Likewise.
14381 * sysdeps/s390/s390-32/configure: Likewise.
14382 * sysdeps/s390/s390-64/configure: Likewise.
14383 * sysdeps/sh/configure: Likewise.
14384 * sysdeps/sparc/configure: Likewise.
14385 * sysdeps/unix/sysv/linux/configure: Likewise.
14386 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14387 * sysdeps/x86_64/configure: Likewise.
14388 * sysdeps/x86_64/preconfigure: Likewise.
14389
143902013-10-29 Andreas Schwab <schwab@suse.de>
14391
14392 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14393
143942013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14395
14396 * benchtests/pow-inputs: Add new inputs.
14397
14398 * benchtests/exp-inputs: Add new inputs.
14399
14400 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14401 conditional check for return value.
14402 (__cos32): Likewise.
14403
144042013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14405
14406 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14407 to provide a boost for large inputs with word alignment.
14408 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14409 implementation based on optimized PPC64 strcpy.
14410 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14411 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14412 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14413 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14414
144152013-10-25 Ondřej Bílka <neleai@seznam.cz>
14416
14417 [BZ #2801]
14418 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14419
144202013-10-25 Ondřej Bílka <neleai@seznam.cz>
14421
14422 [BZ #14876]
14423 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14424 * time/tst-strptime.c (day_tests): Add testcase.
14425
144262013-10-25 Ondřej Bílka <neleai@seznam.cz>
14427
14428 [BZ #14029]
14429 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14430
144312013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14432
14433 [BZ #16074]
14434 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14435 MAP_FAILED on error.
14436
144372013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14438
14439 [BZ #16072]
14440 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14441 heap for large requests.
14442
144432013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14444
14445 [BZ #9954]
14446 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14447 result if the result has no associated interface.
14448 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14449 interface for all 127.X.Y.Z addresses.
14450
144512013-10-24 Chris Leonard <cjl@sugarlabs.org>
14452
14453 * locale/iso-639.def: Add Ligurian (lij)
14454
144552013-10-21 Ondřej Bílka <neleai@seznam.cz>
14456
14457 [BZ #15825]
14458 * sunrpc/rpc_main.c: Document rpcgen -5.
14459
144602013-10-19 Michael Stahl <mstahl@redhat.com>
14461
14462 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14463
144642013-10-19 Ondřej Bílka <neleai@seznam.cz>
14465
14466 [BZ #10278]
14467 * posix/glob.c: Match only directories when trailing slash is present.
14468 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14469 (main): Add testcase.
14470
144712013-10-19 Ondřej Bílka <neleai@seznam.cz>
14472
14473 [BZ #15670]
14474 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14475
144762013-10-18 Carlos O'Donell <carlos@redhat.com>
14477
14478 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14479 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14480 AUTH_DES and cindex for FIPS 140-2.
14481 (DES Encryption): Add cindex FIPS 46-3.
14482
14483 * locale/locarchive.h (struct locarhandle): Add fname.
14484 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14485 if an optional argument was specified to --list-archive,
14486 otherwise NULL.
14487 * locale/programs/locarchive.c (show_archive_content): Take new
14488 argument fname and pass it via ah.fname to open_archive.
14489 * locale/programs/localedef.h: Update decl.
14490 (open_archive): If AH->fname is non-null, open that file
14491 rather than the default file name, and don't ignore ENOENT.
14492 (create_archive): Set AH.fname to NULL.
14493 (delete_locales_from_archive): Likewise.
14494 (add_locales_to_archive): Likewise.
14495 * locale/programs/locfile.c (write_all_categories): Likewise.
14496
144972013-10-18 Joseph Myers <joseph@codesourcery.com>
14498 Aldy Hernandez <aldyh@redhat.com>
14499
14500 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14501 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14502 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14503 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14504 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14505 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14507 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14508 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14510 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14511 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14512 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14513 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14514 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14515 Likewise.
14516 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14517 Likewise.
14518 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14519 Likewise.
14520 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14521 Likewise.
14522 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14523 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14524 Likewise.
14525 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14526 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14527 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14528 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14529 Likewise.
14530 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14531 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14532 * sysdeps/powerpc/preconfigure: Likewise.
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14534 Likewise.
14535 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14536 Replace contents of file by #include of <fenv_libc.h>.
14537 * sysdeps/powerpc/soft-fp/sfp-machine.h
14538 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14539 and <sys/prctl.h>.
14540 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14545 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14550 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14553 Allow copysignl PLT reference to be missing.
14554
145552013-10-18 Richard Sandiford <richard@codesourcery.com>
14556 Joseph Myers <joseph@codesourcery.com
14557
14558 [BZ #15948]
14559 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14560 single character.
14561 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14562
145632013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14564
14565 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14566 * elf/tst-tls1.c: Likewise.
14567 * elf/tst-tls10.h: Likewise.
14568 * elf/tst-tls14.c: Likewise.
14569 * elf/tst-tls2.c: Likewise.
14570 * elf/tst-tls3.c: Likewise.
14571 * elf/tst-tls4.c: Likewise.
14572 * elf/tst-tls5.c: Likewise.
14573 * elf/tst-tls6.c: Likewise.
14574 * elf/tst-tls7.c: Likewise.
14575 * elf/tst-tls8.c: Likewise.
14576 * elf/tst-tls9.c: Likewise.
14577 * elf/tst-tlsmod1.c: Likewise.
14578 * elf/tst-tlsmod13.c: Likewise.
14579 * elf/tst-tlsmod13a.c: Likewise.
14580 * elf/tst-tlsmod14a.c: Likewise.
14581 * elf/tst-tlsmod16a.c: Likewise.
14582 * elf/tst-tlsmod16b.c: Likewise.
14583 * elf/tst-tlsmod2.c: Likewise.
14584 * elf/tst-tlsmod3.c: Likewise.
14585 * elf/tst-tlsmod4.c: Likewise.
14586 * elf/tst-tlsmod5.c: Likewise.
14587 * elf/tst-tlsmod6.c: Likewise.
14588
145892013-10-18 Ondřej Bílka <neleai@seznam.cz>
14590
14591 [BZ #12486]
14592 * malloc/malloc.c: remove checks for statistics.
14593
145942013-10-17 Ondřej Bílka <neleai@seznam.cz>
14595
14596 [BZ #15277]
14597 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14598 * inet/tst-network.c: Add testcase.
14599
146002013-10-17 Andreas Schwab <schwab@suse.de>
14601
14602 [BZ #15218]
14603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14604 to determine canonical name.
14605
146062013-10-17 Ondřej Bílka <neleai@seznam.cz>
14607
14608 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14609 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14618 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14632 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14633 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14638 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14656 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14665 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14666
146672013-10-17 Joseph Myers <joseph@codesourcery.com>
14668
14669 [BZ #16041]
14670 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14671 make result into a quiet NaN.
14672
146732013-10-16 Joseph Myers <joseph@codesourcery.com>
14674
14675 * soft-fp/adddf3.c: Fix horizontal whitespace.
14676 * soft-fp/addsf3.c: Likewise.
14677 * soft-fp/addtf3.c: Likewise.
14678 * soft-fp/divdf3.c: Likewise.
14679 * soft-fp/divsf3.c: Likewise.
14680 * soft-fp/divtf3.c: Likewise.
14681 * soft-fp/double.h: Likewise.
14682 * soft-fp/eqdf2.c: Likewise.
14683 * soft-fp/eqsf2.c: Likewise.
14684 * soft-fp/eqtf2.c: Likewise.
14685 * soft-fp/extenddftf2.c: Likewise.
14686 * soft-fp/extended.h: Likewise.
14687 * soft-fp/extendsfdf2.c: Likewise.
14688 * soft-fp/extendsftf2.c: Likewise.
14689 * soft-fp/extendxftf2.c: Likewise.
14690 * soft-fp/fixdfdi.c: Likewise.
14691 * soft-fp/fixdfsi.c: Likewise.
14692 * soft-fp/fixdfti.c: Likewise.
14693 * soft-fp/fixsfdi.c: Likewise.
14694 * soft-fp/fixsfsi.c: Likewise.
14695 * soft-fp/fixsfti.c: Likewise.
14696 * soft-fp/fixtfdi.c: Likewise.
14697 * soft-fp/fixtfsi.c: Likewise.
14698 * soft-fp/fixtfti.c: Likewise.
14699 * soft-fp/fixunsdfdi.c: Likewise.
14700 * soft-fp/fixunsdfsi.c: Likewise.
14701 * soft-fp/fixunsdfti.c: Likewise.
14702 * soft-fp/fixunssfdi.c: Likewise.
14703 * soft-fp/fixunssfsi.c: Likewise.
14704 * soft-fp/fixunssfti.c: Likewise.
14705 * soft-fp/fixunstfdi.c: Likewise.
14706 * soft-fp/fixunstfsi.c: Likewise.
14707 * soft-fp/fixunstfti.c: Likewise.
14708 * soft-fp/floatdidf.c: Likewise.
14709 * soft-fp/floatdisf.c: Likewise.
14710 * soft-fp/floatditf.c: Likewise.
14711 * soft-fp/floatsidf.c: Likewise.
14712 * soft-fp/floatsisf.c: Likewise.
14713 * soft-fp/floatsitf.c: Likewise.
14714 * soft-fp/floattidf.c: Likewise.
14715 * soft-fp/floattisf.c: Likewise.
14716 * soft-fp/floattitf.c: Likewise.
14717 * soft-fp/floatundidf.c: Likewise.
14718 * soft-fp/floatundisf.c: Likewise.
14719 * soft-fp/floatunditf.c: Likewise.
14720 * soft-fp/floatunsidf.c: Likewise.
14721 * soft-fp/floatunsisf.c: Likewise.
14722 * soft-fp/floatunsitf.c: Likewise.
14723 * soft-fp/floatuntidf.c: Likewise.
14724 * soft-fp/floatuntisf.c: Likewise.
14725 * soft-fp/floatuntitf.c: Likewise.
14726 * soft-fp/fmadf4.c: Likewise.
14727 * soft-fp/fmasf4.c: Likewise.
14728 * soft-fp/fmatf4.c: Likewise.
14729 * soft-fp/gedf2.c: Likewise.
14730 * soft-fp/gesf2.c: Likewise.
14731 * soft-fp/getf2.c: Likewise.
14732 * soft-fp/ledf2.c: Likewise.
14733 * soft-fp/lesf2.c: Likewise.
14734 * soft-fp/letf2.c: Likewise.
14735 * soft-fp/muldf3.c: Likewise.
14736 * soft-fp/mulsf3.c: Likewise.
14737 * soft-fp/multf3.c: Likewise.
14738 * soft-fp/negdf2.c: Likewise.
14739 * soft-fp/negsf2.c: Likewise.
14740 * soft-fp/negtf2.c: Likewise.
14741 * soft-fp/op-1.h: Likewise.
14742 * soft-fp/op-2.h: Likewise.
14743 * soft-fp/op-4.h: Likewise.
14744 * soft-fp/op-8.h: Likewise.
14745 * soft-fp/op-common.h: Likewise.
14746 * soft-fp/quad.h: Likewise.
14747 * soft-fp/single.h: Likewise.
14748 * soft-fp/soft-fp.h: Likewise.
14749 * soft-fp/sqrtdf2.c: Likewise.
14750 * soft-fp/sqrtsf2.c: Likewise.
14751 * soft-fp/sqrttf2.c: Likewise.
14752 * soft-fp/subdf3.c: Likewise.
14753 * soft-fp/subsf3.c: Likewise.
14754 * soft-fp/subtf3.c: Likewise.
14755 * soft-fp/truncdfsf2.c: Likewise.
14756 * soft-fp/trunctfdf2.c: Likewise.
14757 * soft-fp/trunctfsf2.c: Likewise.
14758 * soft-fp/trunctfxf2.c: Likewise.
14759 * soft-fp/unorddf2.c: Likewise.
14760 * soft-fp/unordsf2.c: Likewise.
14761 * soft-fp/unordtf2.c: Likewise.
14762
147632013-10-15 Joseph Myers <joseph@codesourcery.com>
14764
14765 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14766 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14767
147682013-10-15 Ondřej Bílka <neleai@seznam.cz>
14769
14770 * elf/dl-libc.c: Clear initfini list after freeing.
14771
147722013-10-14 Joseph Myers <joseph@codesourcery.com>
14773
14774 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14775 * soft-fp/addsf3.c: Likewise.
14776 * soft-fp/addtf3.c: Likewise.
14777 * soft-fp/divdf3.c: Likewise.
14778 * soft-fp/divsf3.c: Likewise.
14779 * soft-fp/divtf3.c: Likewise.
14780 * soft-fp/double.h: Likewise.
14781 * soft-fp/eqdf2.c: Likewise.
14782 * soft-fp/eqsf2.c: Likewise.
14783 * soft-fp/eqtf2.c: Likewise.
14784 * soft-fp/extenddftf2.c: Likewise.
14785 * soft-fp/extended.h: Likewise.
14786 * soft-fp/extendsfdf2.c: Likewise.
14787 * soft-fp/extendsftf2.c: Likewise.
14788 * soft-fp/extendxftf2.c: Likewise.
14789 * soft-fp/fixdfdi.c: Likewise.
14790 * soft-fp/fixdfsi.c: Likewise.
14791 * soft-fp/fixdfti.c: Likewise.
14792 * soft-fp/fixsfdi.c: Likewise.
14793 * soft-fp/fixsfsi.c: Likewise.
14794 * soft-fp/fixsfti.c: Likewise.
14795 * soft-fp/fixtfdi.c: Likewise.
14796 * soft-fp/fixtfsi.c: Likewise.
14797 * soft-fp/fixtfti.c: Likewise.
14798 * soft-fp/fixunsdfdi.c: Likewise.
14799 * soft-fp/fixunsdfsi.c: Likewise.
14800 * soft-fp/fixunsdfti.c: Likewise.
14801 * soft-fp/fixunssfdi.c: Likewise.
14802 * soft-fp/fixunssfsi.c: Likewise.
14803 * soft-fp/fixunssfti.c: Likewise.
14804 * soft-fp/fixunstfdi.c: Likewise.
14805 * soft-fp/fixunstfsi.c: Likewise.
14806 * soft-fp/fixunstfti.c: Likewise.
14807 * soft-fp/floatdidf.c: Likewise.
14808 * soft-fp/floatdisf.c: Likewise.
14809 * soft-fp/floatditf.c: Likewise.
14810 * soft-fp/floatsidf.c: Likewise.
14811 * soft-fp/floatsisf.c: Likewise.
14812 * soft-fp/floatsitf.c: Likewise.
14813 * soft-fp/floattidf.c: Likewise.
14814 * soft-fp/floattisf.c: Likewise.
14815 * soft-fp/floattitf.c: Likewise.
14816 * soft-fp/floatundidf.c: Likewise.
14817 * soft-fp/floatundisf.c: Likewise.
14818 * soft-fp/floatunsidf.c: Likewise.
14819 * soft-fp/floatunsisf.c: Likewise.
14820 * soft-fp/floatuntidf.c: Likewise.
14821 * soft-fp/floatuntisf.c: Likewise.
14822 * soft-fp/floatuntitf.c: Likewise.
14823 * soft-fp/fmadf4.c: Likewise.
14824 * soft-fp/fmasf4.c: Likewise.
14825 * soft-fp/fmatf4.c: Likewise.
14826 * soft-fp/gedf2.c: Likewise.
14827 * soft-fp/gesf2.c: Likewise.
14828 * soft-fp/getf2.c: Likewise.
14829 * soft-fp/ledf2.c: Likewise.
14830 * soft-fp/lesf2.c: Likewise.
14831 * soft-fp/letf2.c: Likewise.
14832 * soft-fp/muldf3.c: Likewise.
14833 * soft-fp/mulsf3.c: Likewise.
14834 * soft-fp/multf3.c: Likewise.
14835 * soft-fp/negdf2.c: Likewise.
14836 * soft-fp/negsf2.c: Likewise.
14837 * soft-fp/negtf2.c: Likewise.
14838 * soft-fp/op-1.h: Likewise.
14839 * soft-fp/op-2.h: Likewise.
14840 * soft-fp/op-4.h: Likewise.
14841 * soft-fp/op-8.h: Likewise.
14842 * soft-fp/op-common.h: Likewise.
14843 * soft-fp/quad.h: Likewise.
14844 * soft-fp/single.h: Likewise.
14845 * soft-fp/soft-fp.h: Likewise.
14846 * soft-fp/sqrtdf2.c: Likewise.
14847 * soft-fp/sqrtsf2.c: Likewise.
14848 * soft-fp/sqrttf2.c: Likewise.
14849 * soft-fp/subdf3.c: Likewise.
14850 * soft-fp/subsf3.c: Likewise.
14851 * soft-fp/subtf3.c: Likewise.
14852 * soft-fp/truncdfsf2.c: Likewise.
14853 * soft-fp/trunctfdf2.c: Likewise.
14854 * soft-fp/trunctfsf2.c: Likewise.
14855 * soft-fp/trunctfxf2.c: Likewise.
14856 * soft-fp/unorddf2.c: Likewise.
14857 * soft-fp/unordsf2.c: Likewise.
14858 * soft-fp/unordtf2.c: Likewise.
14859
148602013-10-14 Ondřej Bílka <neleai@seznam.cz>
14861
14862 [BZ #15672]
14863 * misc/error.c (error_tail): Fix possible buffer overflow.
14864
148652013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14866
14867 [BZ #13028]
14868 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14869 address.
14870
148712013-10-14 P. J. McDermott <pj@pehjota.net>
14872
14873 [BZ #832]
14874 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14875 testing pipefail option.
14876
148772013-10-12 Joseph Myers <joseph@codesourcery.com>
14878
14879 * soft-fp/double.h: Indent preprocessor directives inside #if.
14880 * soft-fp/extended.h: Likewise.
14881 * soft-fp/op-2.h: Likewise.
14882 * soft-fp/op-4.h: Likewise.
14883 * soft-fp/op-common.h: Likewise.
14884 * soft-fp/quad.h: Likewise.
14885 * soft-fp/single.h: Likewise.
14886 * soft-fp/soft-fp.h: Likewise.
14887
148882013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14889
14890 * iconv/iconv_prog.c: Fix typos.
14891 * stdio-common/psiginfo-data.h: Likewise.
14892
148932013-10-12 Reuben Thomas <rrt@sc3d.org>
14894
14895 [BZ #15764]
14896 * locale/setlocale.c: Fix typo.
14897
148982013-10-12 Joseph Myers <joseph@codesourcery.com>
14899
14900 [BZ #16036]
14901 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14902 signaling NaN arguments.
14903 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14904 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14905
14906 [BZ #14910]
14907 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14908 unordered operands.
14909 * soft-fp/gesf2.c (__gesf2): Likewise.
14910 * soft-fp/getf2.c (__getf2): Likewise.
14911 * soft-fp/ledf2.c (__ledf2): Likewise.
14912 * soft-fp/lesf2.c (__lesf2): Likewise.
14913 * soft-fp/letf2.c (__letf2): Likewise.
14914
14915 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14916 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14917 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14918 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14919 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14920 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14921 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14922 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14923 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14924 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14925 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14926 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14927 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14928 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14929 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14930 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14931 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14932 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14933 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14934 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14935 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14936 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14937 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14938 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14939 * soft-fp/floattidf.c (__floattidf): Likewise.
14940 * soft-fp/floattisf.c (__floattisf): Likewise.
14941 * soft-fp/floattitf.c (__floattitf): Likewise.
14942 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14943 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14944 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14945 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14946 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14947 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14948 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14949 * soft-fp/gesf2.c (__gesf2): Likewise.
14950 * soft-fp/getf2.c (__getf2): Likewise.
14951 * soft-fp/ledf2.c (__ledf2): Likewise.
14952 * soft-fp/lesf2.c (__lesf2): Likewise.
14953 * soft-fp/letf2.c (__letf2): Likewise.
14954
14955 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14956 Undefine and redefine.
14957 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14958 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14959 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14960 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14961 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14962 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14963 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14964 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14965 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14966 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14967 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14968 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14969 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14970 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14971 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14972
14973 [BZ #16032]
14974 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14975 without decrementing exponent if mantissa >= that for the
14976 denominator, not >.
14977 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14978 denominator, not >. Decrement exponent in < case instead of
14979 incrementing in >= case.
14980 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14981 without decrementing exponent if mantissa >= that for the
14982 denominator, not >.
14983
14984 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14985 computing saturated result for unsigned overflow.
14986
149872013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14988 Jeff Law <law@redhat.com>
14989
14990 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14991 (atan2Mp): Add systemtap probe marker.
14992 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14993 (__ieee754_log): Add systemtap probe marker.
14994 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14995 (atanMp): Add systemtap probe marker.
14996 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14997 (tanMp): Add systemtap probe marker.
14998 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14999 (__slowexp): Add systemtap probe marker.
15000 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15001 (__slowpow): Add systemtap probe marker.
15002 * manual/probes.texi: Document probes.
15003
150042013-10-11 Eric Biggers <ebiggers3@gmail.com>
15005
15006 [BZ #15362]
15007 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15008 written.
15009 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15010 written.
15011 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15012 written to buffer but not flushed.
15013 * libio/iofwrite_u.c: Likewise.
15014 * libio/iopadn.c: Return bytes returned even if EOF was
15015 encountered.
15016 * libio/iowpadn.c: Likewise.
15017 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15018 if _IO_padn does not write the whole buffer.
15019 [!COMPILE_WPRINTF] (PAD): Likewise.
15020
150212013-10-10 David S. Miller <davem@davemloft.net>
15022
15023 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15024 directory block.
15025
150262013-10-10 Joseph Myers <joseph@codesourcery.com>
15027
15028 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15029 instead of FSF address.
15030 * soft-fp/fixdfti.c: Likewise.
15031 * soft-fp/fixsfti.c: Likewise.
15032 * soft-fp/fixtfti.c: Likewise.
15033 * soft-fp/fixunsdfti.c: Likewise.
15034 * soft-fp/fixunssfti.c: Likewise.
15035 * soft-fp/fixunstfti.c: Likewise.
15036 * soft-fp/floattidf.c: Likewise.
15037 * soft-fp/floattisf.c: Likewise.
15038 * soft-fp/floattitf.c: Likewise.
15039 * soft-fp/floatuntidf.c: Likewise.
15040 * soft-fp/floatuntisf.c: Likewise.
15041 * soft-fp/floatuntitf.c: Likewise.
15042 * soft-fp/trunctfxf2.c: Likewise.
15043
15044 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15045 * soft-fp/fixdfti.c: Likewise.
15046 * soft-fp/fixsfti.c: Likewise.
15047 * soft-fp/fixtfti.c: Likewise.
15048 * soft-fp/fixunsdfti.c: Likewise.
15049 * soft-fp/fixunssfti.c: Likewise.
15050 * soft-fp/fixunstfti.c: Likewise.
15051 * soft-fp/floattidf.c: Likewise.
15052 * soft-fp/floattisf.c: Likewise.
15053 * soft-fp/floattitf.c: Likewise.
15054 * soft-fp/floatuntidf.c: Likewise.
15055 * soft-fp/floatuntisf.c: Likewise.
15056 * soft-fp/floatuntitf.c: Likewise.
15057 * soft-fp/trunctfxf2.c: Likewise.
15058
150592013-10-10 David S. Miller <davem@davemloft.net>
15060
15061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15062
150632013-10-10 Joseph Myers <joseph@codsourcery.com>
15064
15065 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15066 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15067 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15068 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15069 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15070 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15071 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15072
15073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15074 for NaNs before doing comparisons on argument.
15075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15076 Likewise.
15077
150782013-10-10 Will Newton <will.newton@linaro.org>
15079
15080 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15081 passed to _int_memalign does not overflow.
15082
150832013-10-10 Torvald Riegel <triegel@redhat.com>
15084
15085 * scripts/bench.pl: Add include-sources directive.
15086 * benchtests/README: Update documentation.
15087
150882013-10-10 Joseph Myers <joseph@codesourcery.com>
15089
15090 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15091 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15092 instead of FP_INIT_ROUNDMODE.
15093 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15094 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15095
15096 [BZ #16034]
15097 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15098 copy class of input value.
15099 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15100 not handle exceptions.
15101 * soft-fp/negsf2.c (__negsf2): Likewise.
15102 * soft-fp/negtf2.c (__negtf2): Likewise.
15103 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15104
151052013-10-09 Joseph Myers <joseph@codesourcery.com>
15106
15107 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15108 semicolon. From Linux kernel.
15109
151102013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15111
15112 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15113
151142013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15115
15116 [BZ #156]
15117 * manual/socket.texi: Added statement about buffer
15118 for gethostbyname2_r.
15119
151202013-10-08 Ondřej Bílka <neleai@seznam.cz>
15121
15122 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15123 Use .p2align directive instead, throughout.
15124 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15125 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15126 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15129 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15130 * sysdeps/x86_64/strchr.S: Likewise.
15131 * sysdeps/x86_64/strrchr.S: Likewise.
15132
151332013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15134
15135 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15136
15137 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15138
15139 * sysdeps/generic/math_private.h (__mpsin1): Remove
15140 declaration.
15141 (__mpcos1): Likewise.
15142 (__mpsin): New argument __range_reduce.
15143 (__mpcos): Likewise.
15144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15145 (slow): Use __mpsin and __mpcos.
15146 (slow1): Likewise.
15147 (slow2): Likewise.
15148 (sloww): Likewise.
15149 (sloww1): Likewise.
15150 (sloww2): Likewise.
15151 (bsloww): Likewise.
15152 (bsloww1): Likewise.
15153 (bsloww2): Likewise.
15154 (cslow2): Likewise.
15155 (csloww): Likewise.
15156 (csloww1): Likewise.
15157 (csloww2): Likewise.
15158 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15159 range_reduce. Merge in __mpsin1.
15160 (__mpcos): Likewise.
15161 (__mpsin1): Remove.
15162 (__mpcos1): Likewise.
15163
151642013-10-07 Joseph Myers <joseph@codesourcery.com>
15165
15166 * locale/loadlocale.c (_nl_intern_locale_data): Use
15167 LOCFILE_ALIGNED_P.
15168 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15169 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15170 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15171 obstack data is appropriately aligned.
15172 (obstack_int32_grow_fast): Likewise.
15173 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15174 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15175 (add_locale_uint32_array): Likewise.
15176
151772013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15178
15179 * benchtests/Makefile: Remove ARGLIST and RET variables.
15180 ($(objpfx)bench-%.c): Pass only function name to the script.
15181 * benchtests/README: Update documentation.
15182 * benchtests/acos-inputs: Add new directives.
15183 * benchtests/acosh-inputs: Likewise.
15184 * benchtests/asin-inputs: Likewise.
15185 * benchtests/asinh-inputs: Likewise.
15186 * benchtests/atan-inputs: Likewise.
15187 * benchtests/atanh-inputs: Likewise.
15188 * benchtests/cos-inputs: Likewise.
15189 * benchtests/cosh-inputs: Likewise.
15190 * benchtests/exp-inputs: Likewise.
15191 * benchtests/log-inputs: Likewise.
15192 * benchtests/pow-inputs: Likewise.
15193 * benchtests/rint-inputs: Likewise.
15194 * benchtests/sin-inputs: Likewise.
15195 * benchtests/sinh-inputs: Likewise.
15196 * benchtests/tan-inputs: Likewise.
15197 * benchtests/tanh-inputs: Likewise.
15198 * scripts/bench.pl: Add support for new directives.
15199
152002013-10-07 Alan Modra <amodra@gmail.com>
15201
15202 * README: Fix careless merge.
15203
152042013-10-05 Alan Modra <amodra@gmail.com>
15205
15206 * NEWS: Mention powerpc64le support and bugs fixed.
15207 * README: Both big-endian and little-endian powerpc64 supported.
15208
152092013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15210
15211 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15212 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15213 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15214 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15215
152162013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15217
15218 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15219 match prototype.
15220
152212013-10-04 Joseph Myers <joseph@codesourcery.com>
15222
15223 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15224 Move -mhard-float appending from
15225 ports/sysdeps/powerpc/powerpc32/Makefile.
15226 [$(with-fp) = yes] (ASFLAGS): Likewise.
15227 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15228 * sysdeps/powerpc/nofpu: Move directory from
15229 ports/sysdeps/powerpc/nofpu.
15230 * sysdeps/powerpc/soft-fp: Move directory from
15231 ports/sysdeps/powerpc/soft-fp.
15232 * sysdeps/powerpc/powerpc32/405: Move directory from
15233 ports/sysdeps/powerpc/powerpc32/405.
15234 * sysdeps/powerpc/powerpc32/440: Move directory from
15235 ports/sysdeps/powerpc/powerpc32/440.
15236 * sysdeps/powerpc/powerpc32/464: Move directory from
15237 ports/sysdeps/powerpc/powerpc32/464.
15238 * sysdeps/powerpc/powerpc32/476: Move directory from
15239 ports/sysdeps/powerpc/powerpc32/476.
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15241 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15243 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15245 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15247 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15249 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15250 * README: Update for powerpc-*-linux-gnu software floating point
15251 support in libc.
15252
15253 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15254 case to powerpc/powerpc32*.
15255 * sysdeps/unix/sysv/linux/configure: Regenerated.
15256
15257 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15258 (_FPU_MASK_OM): Define as 0x04.
15259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15261 0x00c10080.
15262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15263 0x0000003c.
15264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15265
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15267 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15268 getcontext_e500.
15269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15270 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15271 setcontext_e500.
15272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15273 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15274 and setcontext_e500.
15275
152762013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15277
15278 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15279
152802013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15281
15282 * manual/threads.texi (Default Thread Attributes): Fix typo.
15283
152842013-10-04 Will Newton <will.newton@linaro.org>
15285
15286 * malloc/Makefile: Add tst-memalign.
15287 * malloc/tst-memalign.c: New file.
15288
15289 * malloc/tst-posix_memalign.c: Add comments.
15290 (do_test): Add comments and call free on all potentially
15291 allocated pointers. Add space after cast.
15292
15293 * malloc/tst-pvalloc.c: Add comments.
15294 (do_test): Add comments and call free on all potentially
15295 allocated pointers. Remove duplicate check for NULL pointer.
15296 Add space after cast.
15297
15298 * malloc/tst-valloc.c: Add comments.
15299 (do_test): Add comments and call free on all potentially
15300 allocated pointers. Remove duplicate check for NULL pointer.
15301 Add space after cast.
15302
153032013-10-04 Alan Modra <amodra@gmail.com>
15304
15305 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15306 Use stdint types in rather than __attribute__((mode())).
15307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15308
153092013-10-04 Alan Modra <amodra@gmail.com>
15310
15311 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15312 Correct handling of unaligned relocs for little-endian.
15313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15314
153152013-10-04 Alan Modra <amodra@gmail.com>
15316
15317 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15318 * configure: Regenerate.
15319 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15320 * shlib-versions: Likewise.
15321
153222013-10-04 Alan Modra <amodra@gmail.com>
15323
15324 * string/tester.c (test_memrchr): Increment reported test cycle.
15325
153262013-10-04 Alan Modra <amodra@gmail.com>
15327
15328 * string/test-memcpy.c (do_one_test): When reporting errors, print
15329 string address and don't overrun end of string.
15330
153312013-10-04 Alan Modra <amodra@gmail.com>
15332
15333 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15334 insrdi. Make better use of reg selection to speed exit slightly.
15335 Schedule entry path a little better. Remove useless "are we done"
15336 checks on entry to main loop. Handle wrapping around zero address.
15337 Correct main loop count. Handle single left-over word from main
15338 loop inline rather than by using loop_small. Remove extra word
15339 case in loop_small caused by wrong loop count. Add little-endian
15340 support.
15341 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15343 cache hint.
15344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15345 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15346 support. Avoid rlwimi.
15347 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15348
153492013-10-04 Alan Modra <amodra@gmail.com>
15350
15351 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15352 insrdi. Formatting.
15353 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15354 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15355 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15356 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15357 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15358 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15359
153602013-10-04 Alan Modra <amodra@gmail.com>
15361
15362 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15364 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15365 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15366 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15367 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15368 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15369 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15370 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15371 use of regs. Use power7 mtocrf. Tidy function tails.
15372
153732013-10-04 Alan Modra <amodra@gmail.com>
15374
15375 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15376 Formatting. Consistently use rXXX register defines or rN defines.
15377 Use early exit labels that avoid restoring unused non-volatile regs.
15378 Make cr field use more consistent with rWORDn compares. Rename
15379 regs used as shift registers for unaligned loop, using rN defines
15380 for short lifetime/multiple use regs.
15381 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15382 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15383 addi 1,1,64 to pop stack frame. Simplify return value code.
15384 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15385
153862013-10-04 Alan Modra <amodra@gmail.com>
15387
15388 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15389 support. Correct typos, formatting. Optimize tail. Use insrdi
15390 rather than rlwimi.
15391 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15392 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15393 little-endian support. Correct typos.
15394 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15395 rather than rlwimi.
15396 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15397 in loop and entry code to keep "and." results.
15398 (strchr): Add little-endian support. Comment. Move cntlzd
15399 earlier in tail.
15400 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15401
154022013-10-04 Alan Modra <amodra@gmail.com>
15403
15404 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15405 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15406 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15407 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15408
154092013-10-04 Alan Modra <amodra@gmail.com>
15410
15411 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15412 (rTMP): Define as r11.
15413 (strcmp): Add little-endian support. Optimise tail.
15414 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15415 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15416 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15417 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15418 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15421
154222013-10-04 Alan Modra <amodra@gmail.com>
15423
15424 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15425 little-endian support. Remove unnecessary "are we done" tests.
15426 Handle "s" wrapping around zero and extremely large "size".
15427 Correct main loop count. Handle single left-over word from main
15428 loop inline rather than by using small_loop. Correct comments.
15429 Delete "zero" tail, use "end_max" instead.
15430 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15431
154322013-10-04 Alan Modra <amodra@gmail.com>
15433
15434 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15435 support. Don't branch over align.
15436 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15437 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15438 support. Rearrange tmp reg use to suit. Comment.
15439 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15440
154412013-10-04 Alan Modra <amodra@gmail.com>
15442
15443 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15444
154452013-10-04 Alan Modra <amodra@gmail.com>
15446
15447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15448 conditional form of branch and link when obtaining pc.
15449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15450
154512013-10-04 Alan Modra <amodra@gmail.com>
15452
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15454 HIWORD/LOWORD.
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15457
154582013-10-04 Alan Modra <amodra@gmail.com>
15459
15460 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15461 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15462 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15463 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15464 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15465 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15466 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15467 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15468 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15469 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15470
154712013-10-04 Anton Blanchard <anton@au1.ibm.com>
15472 Alistair Popple <alistair@ozlabs.au.ibm.com>
15473 Alan Modra <amodra@gmail.com>
15474
15475 [BZ #15723]
15476 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15477 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15478 _dl_hwcap access for little-endian.
15479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15480 destroy vmx regs when saving unaligned.
15481 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15482 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15483 destroy vmx regs when saving unaligned.
15484
154852013-10-04 Alan Modra <amodra@gmail.com>
15486
15487 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15488 Don't use a union to pack hi/low value.
15489
154902013-10-04 Anton Blanchard <anton@au1.ibm.com>
15491
15492 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15493 for little-endian.
15494 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15496 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15497 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15498 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15499
155002013-10-04 Alan Modra <amodra@gmail.com>
15501
15502 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15503 constants to usual value for .cst8 section, and remove redundant
15504 high address load.
15505 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15506 constant for 0x1p52. Load little-endian words of double from
15507 correct stack offsets.
15508
155092013-10-04 Alan Modra <amodra@gmail.com>
15510
15511 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15512 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15513 words of double from correct stack offsets.
15514 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15515 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15516 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15518 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15521 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15522 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15526 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15527 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15528 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15529 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15530 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15531
155322013-10-04 Alan Modra <amodra@gmail.com>
15533
15534 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15535 64-bit int/double union.
15536 (_FPU_SETCW): Likewise.
15537 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15538 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15539
155402013-10-04 Alan Modra <amodra@gmail.com>
15541
15542 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15543 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15544
155452013-10-04 Alan Modra <amodra@gmail.com>
15546
15547 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15548 use vector int constants.
15549 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15550
155512013-10-04 Anton Blanchard <anton@au1.ibm.com>
15552
15553 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15554 array with long long.
15555 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15556 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15557 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15558 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15559 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15560 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15561 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15562 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15563 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15564 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15565 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15566 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15567 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15568
155692013-10-04 Anton Blanchard <anton@au1.ibm.com>
15570
15571 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15572 (__signbit): Likewise. Correct for little-endian.
15573 (__signbitl): Call __signbit.
15574 (lrint): Correct for little-endian.
15575 (lrintf): Call lrint.
15576
155772013-10-04 Alan Modra <amodra@gmail.com>
15578
15579 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15580 union 32-bit int array member with 64-bit int array.
15581 (t515, tm256): Double rather than long double.
15582 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15583
155842013-10-04 Alan Modra <amodra@gmail.com>
15585
15586 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15587 Delete.
15588 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15590 version of math_ldbl.h.
15591
155922013-10-04 Alan Modra <amodra@gmail.com>
15593
15594 [BZ #15734], [BZ #15735]
15595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15596 all uses of ieee875 long double macros and unions. Simplify test
15597 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15598 ldbl_extract_mantissa value for ix,iy exponents. Properly
15599 normalize after ldbl_extract_mantissa, and don't add hidden bit
15600 already handled. Don't treat low word of ieee854 mantissa like
15601 low word of IBM long double and mask off bit when testing for
15602 zero.
15603 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15604 all uses of ieee875 long double macros and unions. Simplify tests
15605 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15606 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15607 two1022, instead use their values. Recognise that tests for large
15608 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15609 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15610 Rewrite all uses of ieee875 long double macros and unions. Simplify
15611 test for 0.0L and nan. Correct negation.
15612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15613 ieee875 long double macros and unions. Correct output for large
15614 magnitude x. Correct absolute value calculation.
15615 (__erfcl): Likewise.
15616 * math/libm-test.inc: Add tests for errors discovered in IBM long
15617 double versions of fmodl, remainderl, erfl and erfcl.
15618
156192013-10-04 Alan Modra <amodra@gmail.com>
15620
15621 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15622 all uses of ieee854 long double macros and unions. Simplify tests
15623 for long doubles that are fully specified by the high double.
15624 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15625 Likewise.
15626 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15627 Remove dead code too.
15628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15629 (__ieee754_ynl): Likewise.
15630 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15633 Remove dead code too.
15634 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15636 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15637 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15638 Simplify.
15639 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15640 Simplify.
15641 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15642 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15644 Comment on variable precision.
15645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15647 Likewise.
15648 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15652 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15653
156542013-10-04 Alan Modra <amodra@gmail.com>
15655
15656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15657 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15658 all uses of ieee854 long double macros and unions.
15659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15661 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15665 Likewise.
15666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15669 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15672 Simplify sign and nan test too.
15673 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15675 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15676 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15677 Likewise.
15678 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15679 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15680 Likewise.
15681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15682 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15683 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15684 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15685 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15687
156882013-10-04 Alan Modra <amodra@gmail.com>
15689
15690 * stdio-common/printf_size.c (__printf_size): Don't use
15691 union ieee854_long_double in fpnum union.
15692 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15693 signbit macro to retrieve sign from long double.
15694 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15695 retrieve sign from long double.
15696 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15697 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15698 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15699 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15700 * math/test-misc.c (main): Don't use union ieee854_long_double.
15701
157022013-10-04 Alan Modra <amodra@gmail.com>
15703
15704 [BZ #15680]
15705 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15706 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15707 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15708 calculation. Remove unnecessary test for denormal exponent.
15709 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15710 Correct handling of denormals. Avoid undefined shift behaviour.
15711 Correct normalisation of low mantissa when low double is denormal.
15712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15713 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15714 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15715 Correct normalisation of low mantissa. Test for overflow of high
15716 mantissa and normalise.
15717 (ldbl_nearbyint): Use more readable constant for two52.
15718 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15719 (__mpn_construct_long_double): Fix test for overflow of high
15720 mantissa and correct normalisation. Avoid undefined shift.
15721
157222013-10-04 Alan Modra <amodra@gmail.com>
15723
15724 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15725 (union ibm_extended_long_double): Define as an array of ieee754_double.
15726 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15727 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15728 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15729 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15737
157382013-10-03 Joseph Myers <joseph@codesourcery.com>
15739
15740 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15741 page size instead of calling getpagesize.
15742
15743 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15744 (LOCFILE_ALIGN_MASK): Likewise.
15745 (LOCFILE_ALIGN_UP): Likewise.
15746 (LOCFILE_ALIGNED_P): Likewise.
15747 * locale/programs/ld-collate.c (collate_output): Use the new
15748 macros instead of __alignof__ (int32_t).
15749 * locale/weight.h (findidx): Likewise.
15750
157512013-10-03 Ondřej Bílka <neleai@seznam.cz>
15752
15753 [BZ #431]
15754 * manual/string.texi: Fix strncat and wcsncat.
15755
157562013-10-03 Brooks Moses <bmoses@google.com>
15757
15758 [BZ #15915]
15759 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15760 * Makerules: ...here, and adjust associated comments.
15761
157622013-10-02 Will Newton <will.newton@linaro.org>
15763
15764 * malloc/Makefile: Add tst-pvalloc.
15765 * malloc/tst-pvalloc.c: New file.
15766
157672013-10-02 Will Newton <will.newton@linaro.org>
15768
15769 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15770 improve test coverage.
15771
157722013-10-02 Will Newton <will.newton@linaro.org>
15773
15774 * malloc/Makefile: Add tst-posix_memalign.
15775 * malloc/tst-posix_memalign.c: New file.
15776
157772013-10-01 Eric Blake <eblake@redhat.com>
15778
15779 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15780 Use __THROWNL rather than __THROW on static functions.
15781
157822013-09-30 Petr Machata <pmachata@redhat.com>
15783
15784 * elf/elf.h (R_AARCH64_ABS16): New macro.
15785 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15786 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15787 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15788 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15789 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15790 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15791 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15792 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15793 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15794 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15795 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15796 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15797 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15798 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15799 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15800 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15801 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15802 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15803 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15804 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15805 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15806 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15807 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15808 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15809 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15810 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15811 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15812 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15813 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15814 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15815 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15816 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15817 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15818 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15819 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15820 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15821 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15822 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15823 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15824 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15825 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15826 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15827 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15828 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15829 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15830 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15831 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15832 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15833 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15834 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15835 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15836 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15837 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15838 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15839 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15840 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15841 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15842 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15843 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15844 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15845 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15846 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15847 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15848 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15849 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15850 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15851 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15852 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15853 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15854 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15855 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15856 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15857 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15858 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15859 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15860 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15861 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15862 (R_AARCH64_TLSDESC_LDR): Likewise.
15863 (R_AARCH64_TLSDESC_ADD): Likewise.
15864 (R_AARCH64_TLSDESC_CALL): Likewise.
15865
158662013-09-30 Andreas Schwab <schwab@suse.de>
15867
15868 [BZ #15048]
15869 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15870 the nss database lookup.
15871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15873
158742013-09-28 Mike Frysinger <vapier@gentoo.org>
15875
15876 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15877
158782013-09-28 P. J. McDermott <pj@pehjota.net>
15879
15880 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15881 ${Bash-specific parameter/pattern/string} parameter expansion.
15882 * sysdeps/unix/make-syscalls.sh: Likewise.
15883
158842013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15885
15886 * sysdeps/sh/stackguard-macros.h: New file.
15887
158882013-09-26 Ondřej Bílka <neleai@seznam.cz>
15889
15890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15892 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15893 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15895 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15896
158972013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15898
15899 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15900 Fix thread ID register.
15901
159022013-09-25 Joseph Myers <joseph@codesourcery.com>
15903
15904 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15905 [POSIX || UNIX98]: Require rather than permitting all symbols from
15906 <time.h>.
15907 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15908 element of struct sched_param.
15909 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15910 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15911 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15912 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15913 constant.
15914
159152013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15916
15917 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15918 argument calculation.
15919
159202013-09-24 Joseph Myers <joseph@codesourcery.com>
15921
15922 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15923 Expect macro.
15924 [POSIX] (pthread_attr_t): Do not require type.
15925 [POSIX] (pthread_cond_t): Likewise.
15926 [POSIX] (pthread_condattr_t): Likewise.
15927 [POSIX] (pthread_key_t): Likewise.
15928 [POSIX] (pthread_mutex_t): Likewise.
15929 [POSIX] (pthread_mutexattr_t): Likewise.
15930 [POSIX] (pthread_once_t): Likewise.
15931 [POSIX] (pthread_t): Likewise.
15932 [POSIX-based standards] (pthread_atfork): Expect function.
15933
159342013-09-24 Joseph Myers <joseph@codesourcery.com>
15935 Richard Sandiford <richard@codesourcery.com>
15936
15937 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15938 (swap_endianness_p): New extern variable.
15939 (set_big_endian): New inline function.
15940 (maybe_swap_uint32): Likewise.
15941 (maybe_swap_uint32_array): Likewise.
15942 (maybe_swap_uint32_obstack): Likewise.
15943 * locale/programs/locfile.c: Include <stdbool.h>.
15944 (swap_endianness_p): New variable.
15945 (add_locale_uint32): Call maybe_swap_uint32.
15946 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15947 (write_locale_data): Call maybe_swap_uint32_array.
15948 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15949 maybe_swap_uint32.
15950 (obstack_int32_grow_fast): Likewise.
15951 (output_weightwc): Call maybe_swap_uint32_obstack.
15952 (collate_output): Likewise.
15953 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15954 (OPT_LITTLE_ENDIAN): Likewise.
15955 (options): Add --little-endian and --big-endian options.
15956 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15957 * locale/programs/locarchive.c: Include "locfile.h".
15958 (GET): New macro.
15959 (SET): Likewise.
15960 (INC): Likewise.
15961 (create_archive): Use the new macros to access fields of
15962 structures directly mapped from or written to locale archives.
15963 (oldlocrecentcmp): Likewise.
15964 (enlarge_archive): Likewise.
15965 (insert_name): Likewise.
15966 (add_alias): Likewise.
15967 (add_locale): Likewise.
15968 (delete_locales_from_archive): Likewise.
15969 (show_archive_content): Likewise.
15970 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15971 locale data.
15972
159732013-09-24 Roland McGrath <roland@hack.frob.com>
15974
15975 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15976 http://www.gnu.org/doc/freemanuals.texi.
15977 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15978
159792013-09-24 Will Newton <will.newton@linaro.org>
15980
15981 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15982 macro.
15983
159842013-09-23 Joseph Myers <joseph@codesourcery.com>
15985
15986 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15987 unsigned char.
15988
159892013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15990
15991 * manual/threads.texi (POSIX Threads): Fix a typo.
15992
159932013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15994
15995 [BZ #14547]
15996 * string/tst-strcoll-overflow.c: New test case.
15997 * string/Makefile (xtests): Add tst-strcoll-overflow.
15998 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15999 cache if string sizes may cause integer overflow.
16000
16001 [BZ #14547]
16002 * string/strcoll_l.c (coll_seq): New members rule, idx,
16003 save_idx and back_us.
16004 (get_next_seq_nocache): New function.
16005 (do_compare_nocache): New function.
16006 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16007 when malloc fails.
16008
160092013-09-23 Carlos O'Donell <carlos@redhat.com>
16010
16011 [BZ #15754]
16012 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16013 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16014 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16015
16016 [BZ #15754]
16017 * elf/Makefile (tests): Add tst-ptrguard1.
16018 (tests-static): Add tst-ptrguard1-static.
16019 (tst-ptrguard1-ARGS): Define.
16020 (tst-ptrguard1-static-ARGS): Define.
16021 * elf/tst-ptrguard1.c: New file.
16022 * elf/tst-ptrguard1-static.c: New file.
16023 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16024 * sysdeps/i386/stackguard-macros.h: Likewise.
16025 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16026 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16027 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16028 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16029 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16030 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16031
160322013-09-23 Hector Marco <hecmargi@upv.es>
16033 Ismael Ripoll <iripoll@disca.upv.es>
16034 Carlos O'Donell <carlos@redhat.com>
16035
16036 [BZ #15754]
16037 * sysdeps/generic/stackguard-macros.h: Define
16038 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16039 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16040 Define __pointer_chk_guard_local.
16041 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16042 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16043
160442013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16045
16046 [BZ #15859]
16047 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16048
160492013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16050
16051 * include/string.h (__ffs): Declare as hidden.
16052 * string/ffs.c (__ffs): Define as hidden.
16053 * sysdeps/i386/ffs.c (__ffs): Likewise.
16054 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16055 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16056 * sysdeps/s390/ffs.c (__ffs): Likewise.
16057 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16058
160592013-09-20 Alexandre Oliva <aoliva@redhat.com>
16060
16061 * NEWS: Mention malloc probes.
16062
16063 * malloc/arena.c (new_heap): New memory_heap_new probe.
16064 (grow_heap): New memory_heap_more probe.
16065 (shrink_heap): New memory_heap_less probe.
16066 (heap_trim): New memory_heap_free probe.
16067 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16068 (systrim): New memory_sbrk_less probe.
16069 * manual/probes.texi: Document them.
16070
16071 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16072 * manual/probes.texi: Document it.
16073
16074 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16075 (__libc_realloc): Add memory_realloc_retry probe.
16076 (__libc_memalign): Add memory_memalign_retry probe.
16077 (__libc_valloc): Add memory_valloc_retry probe.
16078 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16079 (__libc_calloc): Add memory_calloc_retry probe.
16080 * manual/probes.texi: Document them.
16081
16082 * malloc/arena.c (get_free_list): Add probe
16083 memory_arena_reuse_free_list.
16084 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16085 and memory_arena_reuse.
16086 (arena_get2) [!PER_THREAD]: Likewise.
16087 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16088 memory_arena_reuse_realloc.
16089 * manual/probes.texi: Document them.
16090
16091 * malloc/malloc.c (__libc_free): Add
16092 memory_mallopt_free_dyn_thresholds probe.
16093 (__libc_mallopt): Add multiple memory_mallopt probes.
16094 * manual/probes.texi: Document them.
16095
16096 * malloc/malloc.c: Include stap-probe.h.
16097 (__libc_mallopt): Add memory_mallopt probe.
16098 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16099 * manual/probes.texi: New.
16100 * manual/Makefile (chapters): Add probes.
16101 * manual/threads.texi: Set next node.
16102
161032013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16104
16105 [BZ #15963, #13985]
16106 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16107 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16108 Add `Chinese' to `nan' entry name.
16109
161102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16111
16112 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16113 (POLYNOMIAL): Likewise.
16114 (TAYLOR_SINCOS): Likewise.
16115 (TAYLOR_SLOW): Likewise.
16116 (__sin): Use TAYLOR_SINCOS.
16117 (__cos): Likewise.
16118 (slow): Use TAYLOR_SLOW.
16119 (sloww): Likewise.
16120 (bsloww): Likewise.
16121 (csloww): Likewise.
16122
161232013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16124
16125 * stdlib/strtod_l.c: Fix buffer overrun.
16126
161272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16128
16129 * benchtests/Makefile (bench): Add sincos.
16130 * benchtests/bench-sincos.c: New file.
16131
16132 * math/libm-test.inc (cos_test_data): New test inputs.
16133 (sin_test_data): Likewise.
16134
16135 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16136 macro.
16137 (__sin): Use it.
16138 (__cos): Likewise.
16139 (slow1): Likewise.
16140 (slow2): Likewise.
16141 (sloww1): Likewise.
16142 (sloww2): Likewise.
16143 (bsloww1): Likewise.
16144 (bsloww2): Likewise.
16145 (cslow2): Likewise.
16146 (csloww1): Likewise.
16147 (csloww2): Likewise.
16148
16149 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16150 function.
16151 (__sin): Use it.
16152 (__cos): Likewise.
16153
16154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16155 gotos.
16156 (__cos): Likewise.
16157
161582013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16159
16160 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16161 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16162 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16163 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16164 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16165 * elf/cache.c (print_entry): Handle the new cache flags.
16166
161672013-09-18 Joseph Myers <joseph@codesourcery.com>
16168 Aldy Hernandez <aldyh@redhat.com>
16169
16170 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16171 Change condition to [_SOFT_FLOAT].
16172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16184 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16187 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16188 declaration.
16189
161902013-09-18 Joseph Myers <joseph@codesourcery.com>
16191
16192 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16193 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16194 (__longjmp): Use LOAD_GP to load saved GPRs.
16195 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16196 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16197 (__sigsetjmp): Use SAVE_GP to save GPRs.
16198
16199 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16200 Do not append -msoft-float.
16201 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16202
162032013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16204
16205 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16206
162072013-09-17 Joseph Myers <joseph@codesourcery.com>
16208
16209 [BZ #15966]
16210 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16211 (_FPU_GETCW): Use initial "__" on variable and field names but not
16212 on macro parameter name.
16213 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16214 parentheses around reference to macro parameter.
16215
162162013-09-13 Richard Sandiford <richard@codesourcery.com>
16217
16218 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16219 prototype.
16220 (ctype_startup): Use uint32_t in cast and sizeof for
16221 ctype->charnames.
16222
162232013-09-11 Jia Liu <proljc@gmail.com>
16224
16225 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16226 __daddr_t_defined.
16227 [__FreeBSD__]: Likewise.
16228
162292013-09-11 Ondřej Bílka <neleai@seznam.cz>
16230
16231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16232 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16233 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16234 (strchr): Remove __strchr_sse42 ifunc selection.
16235 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16236 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16237
162382013-09-11 Will Newton <will.newton@linaro.org>
16239
16240 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16241 parameter to RES. Remove hardcoded 1000 value.
16242 * benchtests/bench-skeleton.c (main): Pass RES parameter
16243 to TIMING_INIT and multiply result by 1000.
16244
162452013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16246
16247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16248
162492013-09-11 Andreas Schwab <schwab@suse.de>
16250
16251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16252 if not defined.
16253 (O_TMPFILE) [__USE_GNU]: Define.
16254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16255 Define.
16256
162572013-09-11 Will Newton <will.newton@linaro.org>
16258
16259 [BZ #15857]
16260 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16261 does not overflow.
16262
162632013-09-11 Will Newton <will.newton@linaro.org>
16264
16265 [BZ #15856]
16266 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16267 does not overflow.
16268
162692013-09-11 Will Newton <will.newton@linaro.org>
16270
16271 [BZ #15855]
16272 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16273 does not overflow.
16274
162752013-09-10 Ondřej Bílka <neleai@seznam.cz>
16276
16277 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16278 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16279 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16282
162832013-09-10 Allan McRae <allan@archlinux.org>
16284
16285 [BZ #15748]
16286 * manual/arith.texi (Parsing of Floats): Clarify
16287 cross-reference.
16288
16289 [BZ #15849]
16290 * manual/install.texi (Running make install): Mention
16291 --enable-pt-chown.
16292 * INSTALL: Regenerated.
16293
162942013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16295
16296 * csu/init-first.c (_init): Remove the !SHARED condition around
16297 FPU control word initialization.
16298 * elf/dl-support.c (_dl_fpu_control): New variable.
16299 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16300 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16301 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16302 * math/test-fpucw-static.c: New file.
16303 * math/test-fpucw-ieee.c: New file.
16304 * math/test-fpucw-ieee-static.c: New file.
16305 * math/Makefile (tests): Add `test-fpucw-ieee' and
16306 `$(tests-static)'.
16307 (tests-static): New variable.
16308 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16309 dependency to...
16310 [($(build-shared),yes)]
16311 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16312 ... this.
16313 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16314 New dependency.
16315
163162013-09-09 Allan McRae <allan@archlinux.org>
16317
16318 [BZ #15939]
16319 * manual/string.texi (Collation Functions): Fix typo in
16320 strcoll example.
16321 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16322
16323 [BZ #15893]
16324 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16325
16326 [BZ #15892]
16327 * libio/memstream.c (open_memstream): Fix memory leak.
16328 * libio/wmemstream.c (open_wmemstream): Likewise.
16329
16330 [BZ #15895]
16331 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16332
163332013-09-09 Will Newton <will.newton@linaro.org>
16334
16335 * malloc/Makefile: Add tst-realloc to tests.
16336 * malloc/tst-realloc.c: New file.
16337
163382013-09-09 Allan McRae <allan@archlinux.org>
16339
16340 [BZ #15844]
16341 * COPYING: Update from GNU website to fix FSF address.
16342 * COPYING.LIB: Likewise.
16343
163442013-09-06 David S. Miller <davem@davemloft.net>
16345
16346 * po/zh_TW.po: Update Chinese (traditional) translation from
16347 translation project.
16348
163492013-09-06 Richard Sandiford <richard@codesourcery.com>
16350 Joseph Myers <joseph@codesourcery.com>
16351
16352 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16353 "localeinfo.h".
16354 (obstack_chunk_alloc): New macro.
16355 (obstack_chunk_free): Likewise.
16356 (record_offset): New function.
16357 (init_locale_data): Likewise.
16358 (align_locale_data): Likewise.
16359 (add_locale_empty): Likewise.
16360 (add_locale_raw_data): Likewise.
16361 (add_locale_raw_obstack): Likewise.
16362 (add_locale_string): Likewise.
16363 (add_locale_wstring): Likewise.
16364 (add_locale_uint32): Likewise.
16365 (add_locale_uint32_array): Likewise.
16366 (add_locale_char): Likewise.
16367 (start_locale_structure): Likewise.
16368 (end_locale_structure): Likewise.
16369 (start_locale_prelude): Likewise.
16370 (end_locale_prelude): Likewise.
16371 (write_locale_data): Take locale_file structure rather than an
16372 iovec.
16373 * locale/programs/locfile.h: Include "obstack.h".
16374 (struct locale_file): Change to store locale file contents instead
16375 of header.
16376 (init_locale_data): New prototype.
16377 (align_locale_data): Likewise.
16378 (add_locale_empty): Likewise.
16379 (add_locale_raw_data): Likewise.
16380 (add_locale_raw_obstack): Likewise.
16381 (add_locale_string): Likewise.
16382 (add_locale_wstring): Likewise.
16383 (add_locale_uint32): Likewise.
16384 (add_locale_uint32_array): Likewise.
16385 (add_locale_char): Likewise.
16386 (start_locale_structure): Likewise.
16387 (end_locale_structure): Likewise.
16388 (start_locale_prelude): Likewise.
16389 (end_locale_prelude): Likewise.
16390 (write_locale_data): Update prototype.
16391 * locale/programs/3level.h (struct TABLE): Remove result field.
16392 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16393 Use new locale_file interface.
16394 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16395 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16396 * locale/programs/ld-address.c (address_output): Use new
16397 locale_file interface.
16398 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16399 NO_ADD_LOCALE.
16400 (collate_finish): Don't call collseq_table_finalize.
16401 (collate_output): Use new locale_file interface.
16402 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16403 in file.
16404 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16405 (TABLE): Move defines earlier in file.
16406 (ELEMENT): Likewise.
16407 (DEFAULT): Likewise.
16408 (wctrans_table_add): Move macro and inline function earlier in
16409 file.
16410 (struct wctype_table): Move type earlier in file.
16411 (add_locale_wctype_table): New static prototype.
16412 (struct locale_ctype_t): Use logical types instead of struct iovec
16413 pointers for members.
16414 (ctype_output): Use new locale_file interface.
16415 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16416 new locale_file interface.
16417 (allocate_arrays): Update for use of new locale_file interface.
16418 * locale/programs/ld-identification.c (identification_output): Use
16419 new locale_file interface.
16420 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16421 * locale/programs/ld-messages.c (messages_output): Likewise.
16422 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16423 * locale/programs/ld-name.c (name_output): Likewise.
16424 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16425 * locale/programs/ld-paper.c (paper_output): Likewise.
16426 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16427 * locale/programs/ld-time.c (time_output): Likewise.
16428
164292013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16430
16431 * benchtests/Makefile: Add memrchr benchmark.
16432 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16433 benchmark as memrchr.
16434 * benchtests/bench-memrchr-ifunc.c: New file.
16435 * benchtests/bench-memrchr.c: New file.
16436
164372013-09-06 Will Newton <will.newton@linaro.org>
16438
16439 * benchtests/Makefile (string-bench): Add memcpy.
16440
164412013-09-05 Carlos O'Donell <carlos@redhat.com>
16442 Cong Wang <amwang@redhat.com>
16443
16444 [BZ #15850]
16445 * sysdeps/unix/sysv/linux/bits/in.h
16446 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16447 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16448 before __USE_KERNEL_IPV6_DEFS uses.
16449 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16450 IPPROTO_BEETPH.
16451 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16452 sockaddr_in6, or ipv6_mreq.
16453
164542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16455
16456 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16457 memory access for final bytes in some large inputs.
16458 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16459
164602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461
16462 * string/test-memrchr.c: New file.
16463 * string/test-memrchr-ifunc.c: New file.
16464 * string/Makefile: Add new memrchr testcase.
16465
164662013-09-05 Mike Frysinger <vapier@gentoo.org>
16467
16468 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16469 fanotify_init returns EPERM.
16470
164712013-09-04 Joseph Myers <joseph@codesourcery.com>
16472
16473 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16474 errors.
16475 (top level): Treat second token from macro or constant entries for
16476 allowed headers as allowed.
16477 * include/complex.h: Condition internal declarations on
16478 [!_ISOMAC].
16479 * include/fenv.h: Condition include of <stdbool.h> and internal
16480 declarations on [!_ISOMAC].
16481
164822013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16483
16484 [BZ #15923]
16485 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16486
164872013-09-04 Joseph Myers <joseph@codesourcery.com>
16488
16489 * configure.in (--enable-versioning): Remove configure option.
16490 (libc_cv_asm_symver_directive): Remove configure test.
16491 (libc_cv_ld_version_script_option): Likewise.
16492 (VERSIONING): Remove variable and AC_SUBST.
16493 (DO_VERSIONING): Remove AC_DEFINE.
16494 * configure: Regenerated.
16495 * config.h.in (DO_VERSIONING): Remove macro.
16496 * Makerules [$(versioning) = yes]: Change conditionals to
16497 [$(build-shared) = yes].
16498 * config.make.in (versioning): Remove variable.
16499 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16500 [$(build-shared) = yes].
16501 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16502 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16503 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16504 [$(build-shared) = yes].
16505 * extra-lib.mk [$(versioning) = yes]: Likewise.
16506 * hurd/Makefile [$(versioning) = yes]: Likewise.
16507 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16508 [SHARED].
16509 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16510 [SHARED].
16511 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16512 [SHARED && !NO_HIDDEN].
16513 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16514 [SHARED].
16515 [SHARED && DO_VERSIONING]: Likewise..
16516 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16517 [$(build-shared) = yes].
16518 * manual/install.texi (--disable-versioning): Remove
16519 documentation.
16520 * INSTALL: Regenerated.
16521 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16522 to [SHARED].
16523 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16524 [$(build-shared) = yes].
16525 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16526 * sysdeps/i386/i686/multiarch/strstr-c.c
16527 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16528 [SHARED && !NO_HIDDEN].
16529 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16530 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16531 * sysdeps/powerpc/powerpc32/dl-machine.c
16532 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16533 * sysdeps/powerpc/powerpc32/sysdep.h
16534 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16535 to [SHARED && PIC && !NO_HIDDEN].
16536 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16537 conditional to [SHARED].
16538
165392013-09-04 Will Newton <will.newton@linaro.org>
16540
16541 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16542 * benchtests/bench-string.h: Include bench-timing.h instead
16543 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16544 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16545 call to HP_TIMING_DIFF_INIT.
16546 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16547 instead of hp-timing.h macros.
16548 * benchtests/bench-memchr.c: Likewise.
16549 * benchtests/bench-memcmp.c: Likewise.
16550 * benchtests/bench-memcpy.c: Likewise.
16551 * benchtests/bench-memmem.c: Likewise.
16552 * benchtests/bench-memmove.c: Likewise.
16553 * benchtests/bench-memset.c: Likewise.
16554 * benchtests/bench-rawmemchr.c: Likewise.
16555 * benchtests/bench-strcasecmp.c: Likewise.
16556 * benchtests/bench-strcasestr.c: Likewise.
16557 * benchtests/bench-strcat.c: Likewise.
16558 * benchtests/bench-strchr.c: Likewise.
16559 * benchtests/bench-strcmp.c: Likewise.
16560 * benchtests/bench-strcpy.c: Likewise.
16561 * benchtests/bench-strcpy_chk.c: Likewise.
16562 * benchtests/bench-strlen.c: Likewise.
16563 * benchtests/bench-strncasecmp.c: Likewise.
16564 * benchtests/bench-strncat.c: Likewise.
16565 * benchtests/bench-strncmp.c: Likewise.
16566 * benchtests/bench-strncpy.c: Likewise.
16567 * benchtests/bench-strnlen.c: Likewise.
16568 * benchtests/bench-strpbrk.c: Likewise.
16569 * benchtests/bench-strrchr.c: Likewise.
16570 * benchtests/bench-strspn.c: Likewise.
16571 * benchtests/bench-strstr.c: Likewise.
16572
165732013-09-04 Will Newton <will.newton@linaro.org>
16574
16575 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16576
165772013-09-03 Joseph Myers <joseph@codesourcery.com>
16578
16579 [BZ #15427]
16580 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16581 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16582 * math/libm-test.inc (lgamma_test_data): Add more tests.
16583 * sysdeps/i386/fpu/libm-test-ulps: Update.
16584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16585
165862013-09-03 Ondřej Bílka <neleai@seznam.cz>
16587
16588 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16590 Add ifunc.
16591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16592 Add strcmp-sse2-unaligned
16593 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16594
165952013-09-02 Mike Frysinger <vapier@gentoo.org>
16596
16597 * Versions.def (libc): Add GLIBC_2.19.
16598
165992013-09-02 Mike Frysinger <vapier@gentoo.org>
16600
16601 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16602 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16603
166042013-09-02 Joseph Myers <joseph@codesourcery.com>
16605
16606 [BZ #14155]
16607 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16608 intermediate calculations in recurrence.
16609 (__ieee754_ynf): Likewise.
16610 * math/libm-test.inc (jn_test_data): Do not allow spurious
16611 underflow exception. Add more tests.
16612 (yn_test_data): Add more tests.
16613 * sysdeps/i386/fpu/libm-test-ulps: Update.
16614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16615
166162013-09-02 Ondřej Bílka <neleai@seznam.cz>
16617
16618 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16619
166202013-08-30 Ondřej Bílka <neleai@seznam.cz>
16621
16622 * csu/init-first.c: Fix then/than typos.
16623 * locale/programs/ld-collate.c: Likewise.
16624 * locale/programs/linereader.h: Likewise.
16625 * manual/charset.texi: Likewise.
16626 * manual/filesys.texi: Likewise.
16627 * manual/stdio.texi: Likewise.
16628 * manual/string.texi: Likewise.
16629 * stdlib/fmtmsg.c: Likewise.
16630 * sysdeps/i386/stpncpy.S: Likewise.
16631 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16632 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16633 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16634 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16635
166362013-08-30 Ondřej Bílka <neleai@seznam.cz>
16637
16638 * elf/dl-open.c: Fix typos.
16639 * iconvdata/gbbig5.c: Likewise.
16640 * iconvdata/iso-2022-jp.c: Likewise.
16641 * iconv/gconv_int.h: Likewise.
16642 * iconv/loop.c: Likewise.
16643 * nis/rpcsvc/nis.h: Likewise.
16644 * resolv/ns_name.c: Likewise.
16645 * stdio-common/vfscanf.c: Likewise.
16646 * streams/stropts.h: Likewise.
16647 * sunrpc/rpc_thread.c: Likewise.
16648 * sysdeps/i386/strpbrk.S: Likewise.
16649 * sysdeps/ieee754/k_standard.c: Likewise.
16650 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16651 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16652 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16653 * sysdeps/mach/hurd/profil.c: Likewise.
16654 * sysdeps/s390/dl-procinfo.h: Likewise.
16655 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16656 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16657 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16658 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16660
166612013-08-30 Ondřej Bílka <neleai@seznam.cz>
16662
16663 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16665
166662013-08-29 Ondřej Bílka <neleai@seznam.cz>
16667
16668 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16669 aix specific files.
16670 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16671 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16672 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16673 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16674 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16675 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16676 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16677 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16678
166792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16680 Roland McGrath <roland@hack.frob.com>
16681
16682 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16683 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16684
166852013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16686
16687 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16688 __executable_start symbol instead of _start.
16689
166902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16691
16692 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16693 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16694 Move macros to...
16695 * sysdeps/gnu/ldsodefs.h: ... this new file.
16696
16697 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16698 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16699 instead of ELFOSABI_LINUX.
16700
16701 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16702 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16703 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16704 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16705 Likewise.
16706 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16707 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16708 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16709 Likewise.
16710 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16711 (ibm_extended_long_double): Add ieee_nan member.
16712 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16713 (do_test): New function.
16714
16715 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16716 TEST_TRUNC.
16717 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16718 functions, renamed from truncdfsf_test, trunctfsf_test,
16719 trunctfdf_test.
16720 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16721 functions.
16722 (do_test): Run all these.
16723
167242013-08-29 Ondřej Bílka <neleai@seznam.cz>
16725
16726 * argp/argp-help.c: Fix typos.
16727 * argp/argp-parse.c: Likewise.
16728 * debug/backtracesyms.c: Likewise.
16729 * elf/elf.h: Likewise.
16730 * malloc/malloc.c: Likewise.
16731 * nis/nis_print.c: Likewise.
16732 * resolv/res_comp.c: Likewise.
16733 * stdlib/stdlib.h: Likewise.
16734 * sunrpc/clnt_tcp.c: Likewise.
16735 * sunrpc/clnt_udp.c: Likewise.
16736 * sunrpc/clnt_unix.c: Likewise.
16737 * sysdeps/unix/bsd/ptsname.c: Likewise.
16738 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16739 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16741 Likewise.
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16743 Likewise.
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16745 Likewise.
16746 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16747
167482013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16749
16750 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16752
167532013-08-27 Mike Frysinger <vapier@gentoo.org>
16754
16755 [BZ #15897]
16756 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16757 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16758 ($(objpfx)bug-dl-leaf): New rule.
16759 ($(objpfx)bug-dl-leaf.so): Likewise.
16760 ($(objpfx)bug-dl-leaf.out): Likewise.
16761 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16762 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16763 * dlfcn/bug-dl-leaf.c: New test.
16764 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16765 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16766 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16767 (dlclose): Likewise.
16768 (dlmopen): Likewise.
16769
167702013-08-27 Roland McGrath <roland@hack.frob.com>
16771
16772 * include/netdb.h [!_ISOMAC]:
16773 Don't include <tls.h>.
16774 (h_errno, __libc_h_errno): Move declaration and macros out of
16775 [_LIBC_REENTRANT].
16776
16777 * include/resolv.h [_RESOLV_H_]:
16778 Don't include <tls.h>.
16779 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16780 * resolv/res_libc.c: Don't include <tls.h>.
16781 (_res): Use __attribute__ ((nocommon)) in place of
16782 __attribute__ ((section (".bss"))).
16783
16784 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16785 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16786
16787 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16788
16789 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16790 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16791
16792 * resolv/res_mkquery.c: Include <sys/time.h>.
16793
16794 * inet/ifreq.c: Moved to ...
16795 * sysdeps/unix/ifreq.c: ... here.
16796 * inet/ifreq.c: New file, true stub version.
16797
16798 * socket/sa_len.c: New file.
16799 * socket/Makefile (aux): Add it.
16800 * sysdeps/unix/sysv/linux/Makefile
16801 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16802 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16803 and #include <socket/sa_len.c>.
16804 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16805 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16806
16807 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16808 * bits/socket.h: ... here.
16809
16810 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16811 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16812 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16813
168142013-08-27 Andreas Schwab <schwab@suse.de>
16815
16816 [BZ #15736]
16817 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16818 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16819 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16820 * string/test-strcasecmp.c (test_main): Run tests in several
16821 locales.
16822 * string/test-strncasecmp.c (test_main): Likewise.
16823
16824 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16825 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16826 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16828 (__strncasecmp_ssse3) [PIC]: Likewise.
16829
168302013-08-26 Roland McGrath <roland@hack.frob.com>
16831
16832 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16833
16834 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16835 instead of explicitly declaring xdecrypt.
16836 * nis/nss_nis/nis-publickey.c: Likewise.
16837
168382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16839
16840 [BZ #15890]
16841 * nscd/aicache.c: Include res_hconf.h.
16842 (addhstaiX): Initialize res_hconf.
16843
168442013-08-26 Andreas Schwab <schwab@suse.de>
16845
16846 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16847 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16848
168492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16850
16851 * nscd/aicache.c (addhstaiX): Fix indentation.
16852
168532013-08-25 Mike Frysinger <vapier@gentoo.org>
16854
16855 * configure.ac: Quote $build_pt_chown test.
16856 * configure: Regenerated.
16857
168582013-08-23 Joseph Myers <joseph@codesourcery.com>
16859
16860 [BZ #15532]
16861 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16862 * math/s_cexpf.c (__cexpf): Likewise.
16863 * math/s_cexpl.c (__cexpl): Likewise.
16864 * math/libm-test.inc (cexp_test_data): Correct expected return
16865 value for NaN + i0. Add another test.
16866
168672013-08-22 David S. Miller <davem@davemloft.net>
16868
16869 * po/ca.po: Update Catalan translation from translation project.
16870 * po/uk.po: Add Ukrainian translations from translation project.
16871
168722013-08-21 Joseph Myers <joseph@codesourcery.com>
16873
16874 [BZ #15797]
16875 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16876 is infinite, not alongside NaN test.
16877 * math/s_fdimf.c (__fdimf): Likewise.
16878 * math/s_fdiml.c (__fdiml): Likewise.
16879 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16880 errno is unchanged.
16881
168822013-08-21 Ondřej Bílka <neleai@seznam.cz>
16883
16884 * argp/argp-help.c: Fix typos.
16885 * crypt/speeds.c: Likewise.
16886 * csu/check_fds.c: Likewise.
16887 * elf/dl-load.c: Likewise.
16888 * elf/dl-open.c: Likewise.
16889 * elf/reldep3.c: Likewise.
16890 * elf/reldep.c: Likewise.
16891 * elf/sprof.c: Likewise.
16892 * iconv/iconv_charmap.c: Likewise.
16893 * iconv/skeleton.c: Likewise.
16894 * iconv/strtab.c: Likewise.
16895 * io/lockf64.c: Likewise.
16896 * libio/libioP.h: Likewise.
16897 * resolv/gai_notify.c: Likewise.
16898 * resolv/ns_name.c: Likewise.
16899 * resolv/ns_samedomain.c: Likewise.
16900 * resolv/res_send.c: Likewise.
16901 * stdlib/random.c: Likewise.
16902 * sunrpc/rpc/xdr.h: Likewise.
16903 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16904 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16905 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16906 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16907 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16908 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16910 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16911 * sysdeps/mach/hurd/check_fds.c: Likewise.
16912 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16913 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16914 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16915 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16916 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16917 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16918 * sysdeps/pthread/aio_notify.c: Likewise.
16919 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16920 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16922 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16923 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16924
169252013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16926
16927 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16928 version if bit_Slow_SSE4_2 is set.
16929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16931
169322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16933
16934 [BZ #15867]
16935 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16936 trampoline stack frame information.
16937 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16938 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16939 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16940 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16941 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16942 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16943 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16944 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16945 sa_flags value.
16946 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16947 interrupting a syscall and set with option SA_SIGINFO.
16948
169492013-08-20 Joseph Myers <joseph@codesourcery.com>
16950
16951 [BZ #15531]
16952 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16953 argument is infinite.
16954 * math/s_cprojf.c (__cprojf): Likewise.
16955 * math/s_cprojl.c (__cprojl): Likewise.
16956 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16957 * math/libm-test.inc (cproj_test_data): Add more tests.
16958
16959 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16960
16961 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16962 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16963 size. Use __ffs to determine corresponding shift.
16964
169652013-08-20 Joseph Myers <joseph@codesourcery.com>
16966 Roland McGrath <roland@hack.frob.com>
16967
16968 * Makefile (INSTALL): Remove trailing blank lines from output of
16969 makeinfo.
16970
169712013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16972
16973 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16974 Align 32 bit compat elf_greg to 8 bytes.
16975
169762013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16977
16978 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16979
169802013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16981
16982 * string/strcoll_l.c (coll_seq): New structure.
16983 (get_next_seq_cached): New function.
16984 (get_next_seq): New function.
16985 (do_compare): New function.
16986 (STRCOLL): Use GNU style definition. Simplify implementation
16987 by using get_next_seq, get_next_seq_cached and do_compare.
16988
169892013-08-16 Florian Weimer <fweimer@redhat.com>
16990
16991 [BZ #14699]
16992 CVE-2013-4237
16993 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16994 member.
16995 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16996 member.
16997 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16998 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16999 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17000 conditional.
17001 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17002 GETDENTS_64BIT_ALIGNED.
17003 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17004 * manual/filesys.texi (Reading/Closing Directory): Document
17005 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17006 strongly.
17007 * manual/conf.texi (Limits for Files): Add portability note to
17008 NAME_MAX, PATH_MAX.
17009 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17010
170112013-08-13 Andreas Schwab <schwab@suse.de>
17012
17013 [BZ #15749]
17014 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17015 of fabs.
17016 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17017 LDBL_MAX_EXP >= 16384]: Add tests for it.
17018
170192013-08-12 David S. Miller <davem@davemloft.net>
17020
17021 * version.h (RELEASE): Set to "development".
17022 (VERSION): Set to "2.18.90".
17023 * NEWS: Add 2.19 section.
17024
170252013-08-03 David S. Miller <davem@davemloft.net>
17026
17027 * po/ko.po: Update Korean translation from translation project.
17028
170292013-08-01 David S. Miller <davem@davemloft.net>
17030
17031 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17032 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17033 Bilka.
17034
170352013-07-30 David S. Miller <davem@davemloft.net>
17036
17037 * po/fr.po: Update French translation from translation project.
17038
170392013-07-28 David S. Miller <davem@davemloft.net>
17040
17041 * po/cs.po: Update Czech translation from translation project.
17042
17043 * po/sv.po: Update Swedish translation from translation project.
17044
170452013-07-27 David S. Miller <davem@davemloft.net>
17046
17047 * po/eo.po: Update Esperanto translation from translation project.
17048
17049 * po/vi.po: Update Vietnamese translation from translation project.
17050
17051 * po/de.po: Update German translation from translation project.
17052
170532013-07-26 David S. Miller <davem@davemloft.net>
17054
17055 * po/bg.po: Update Bulgarian translation from translation project.
17056
17057 * po/nl.po: Update Dutch translation from translation project.
17058 * po/pl.po: Update Polish translation from translation project.
17059 * po/ru.po: Update Russian translation from translation project.
17060
170612013-07-24 David S. Miller <davem@davemloft.net>
17062
17063 * po/libc.pot: Update.
17064
170652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17066
17067 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17068 variable page size.
17069 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17070 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17071 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17072
170732013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17074
17075 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17076
170772013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17078 Andreas Schwab <schwab@suse.de>
17079 Roland McGrath <roland@hack.frob.com>
17080 Joseph Myers <joseph@codesourcery.com>
17081 Carlos O'Donell <carlos@redhat.com>
17082
17083 [BZ #15755]
17084 * config.h.in: Define HAVE_PT_CHOWN.
17085 * config.make.in (build-pt-chown): New variable.
17086 * configure.in (--enable-pt_chown): New configure option.
17087 * configure: Regenerate.
17088 * login/Makefile: Include Makeconfig. Build pt_chown only if
17089 build-pt-chown is enabled.
17090 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17091 pt_chown to fix pty ownership.
17092 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17093 CLOSE_ALL_FDS.
17094 * manual/install.texi (Configuring and compiling): Mention
17095 --enable-pt_chown. Add @findex for grantpt.
17096 * INSTALL: Regenerate.
17097
170982013-07-20 David S. Miller <davem@davemloft.net>
17099
17100 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17101 difference between 32-bit and 64-bit.
17102
171032013-07-15 Carlos O'Donell <carlos@redhat.com>
17104
17105 [BZ #15711]
17106 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17107 Avoid system header dependency with -ffreestanding.
17108 ($(objpfx)bits/syscall%d): Likewise.
17109
171102013-07-13 David S. Miller <davem@davemloft.net>
17111
17112 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17113 underflows from atanl/atan2l due to bug 15319.
17114 (casinh_test_data): Likewise.
17115
171162013-07-07 David S. Miller <davem@davemloft.net>
17117
17118 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17119
171202013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17121
17122 * sysdeps/i386/fpu/libm-test-ulps: Update.
17123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124
171252013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17126
17127 * configure.in (--enable-lock-elision): Fix message text.
17128 * INSTALL: Regenerate.
17129 * configure: Regenerate.
17130
171312013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17132
17133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17134
171352013-07-03 Andreas Jaeger <aj@suse.de>
17136
17137 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17138 define.
17139 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17140 (ptrace_peeksiginfo_args): Add.
17141 (__ptrace_peeksiginfo_flags): Add.
17142 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17144 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17145
171462013-07-03 Allan McRae <allan@archlinux.org>
17147
17148 * sysdeps/i386/fpu/libm-test-ulps: Update.
17149
171502013-07-02 David S. Miller <davem@davemloft.net>
17151
17152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17153
171542013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17155
17156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17157
171582013-07-02 Joseph Myers <joseph@codesourcery.com>
17159
17160 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17162
171632013-07-02 Andi Kleen <ak@linux.intel.com>
17164
17165 * config.h.in (ENABLE_LOCK_ELISION): Add.
17166 * configure.in (--enable-lock-elision): Add option.
17167 * manual/install.texi: Document --enable lock elision.
17168 * configure: Regenerate
17169 * INSTALL: Regenerate.
17170
171712013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17172
17173 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17174 SSE4.2 strcasecmp for libc.a.
17175 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17176
171772013-07-02 Joseph Myers <joseph@codesourcery.com>
17178
17179 [BZ #13304]
17180 * soft-fp/op-common.h (_FP_FMA): New macro.
17181 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17182 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17183 (_FP_MUL_MEAT_1_imm): ... here.
17184 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17185 (_FP_MUL_MEAT_1_wide): ... here.
17186 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17187 (_FP_MUL_MEAT_1_hard): ... here.
17188 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17189 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17190 (_FP_MUL_MEAT_2_wide): ... here.
17191 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17192 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17193 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17194 (_FP_MUL_MEAT_2_gmp): ... here.
17195 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17196 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17197 (_FP_MUL_MEAT_4_wide): ... here.
17198 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17199 (_FP_MUL_MEAT_4_gmp): ... here.
17200 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17201 (_FP_WFRACBITS_DW_S): Likewise.
17202 (_FP_WFRACXBITS_DW_S): Likewise.
17203 (_FP_HIGHBIT_DW_S): Likewise.
17204 (FP_FMA_S): Likewise.
17205 (_FP_FRAC_HIGH_DW_S): Likewise.
17206 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17207 (_FP_WFRACBITS_DW_D): Likewise.
17208 (_FP_WFRACXBITS_DW_D): Likewise.
17209 (_FP_HIGHBIT_DW_D): Likewise.
17210 (FP_FMA_D): Likewise.
17211 (_FP_FRAC_HIGH_DW_D): Likewise.
17212 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17213 (_FP_WFRACBITS_DW_E): Likewise.
17214 (_FP_WFRACXBITS_DW_E): Likewise.
17215 (_FP_HIGHBIT_DW_E): Likewise.
17216 (FP_FMA_E): Likewise.
17217 (_FP_FRAC_HIGH_DW_E): Likewise.
17218 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17219 (_FP_WFRACBITS_DW_Q): Likewise.
17220 (_FP_WFRACXBITS_DW_Q): Likewise.
17221 (_FP_HIGHBIT_DW_Q): Likewise.
17222 (FP_FMA_Q): Likewise.
17223 (_FP_FRAC_HIGH_DW_Q): Likewise.
17224 * soft-fp/fmasf4.c: New file.
17225 * soft-fp/fmadf4.c: Likewise.
17226 * soft-fp/fmatf4.c: Likewise.
17227
172282013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17229
17230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17231 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17232 Silvermont.
17233 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17234 macro.
17235 (index_Slow_SSE4_2): Likewise.
17236 (index_Prefer_PMINUB_for_stringop): Likewise.
17237 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17238 bit_Slow_SSE4_2 is set.
17239 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17240 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17241
172422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17243
17244 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17245 rtld_global._dl_hwcap2.
17246 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17247 POWER8.
17248 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17249 POWER8 feature descriptions defined in _dl_hwcap2.
17250 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17251 string handling for POWER8 feature bits.
17252 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17253 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17254 _dl_powerpc_cap_flags.
17255 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17256 * sysdeps/powerpc/rtld-global-offsets.sym
17257 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17258 _dl_hwcap2 in the rtld_global_ro structure.
17259
172602013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17261
17262 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17263 hardware capabilities in support of AT_HWCAP2.
17264 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17265 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17266 GLRO(dl_hwcap2).
17267 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17268 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17269 explicitly the unknown a_type display mechanism is used.
17270 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17271 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17272 struct member.
17273 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17274 to macro prototype for AT_HWCAP2 support.
17275 * sysdeps/i386/dl-procinfo.h: Likewise.
17276 * sysdeps/s390/dl-procinfo.h: Likewise.
17277 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17278 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17279 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17280 return -1 for unknown a_type display fallback.
17281 * sysdeps/sparc/dl-procinfo.h: Likewise.
17282 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17283 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17284
172852013-06-28 Joseph Myers <joseph@codesourcery.com>
17286
17287 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17288 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17289
172902013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17291
17292 [BZ #12492]
17293 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17294 mprotect making __stack_prot writable.
17295
172962013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17297 Joseph Myers <joseph@codesourcery.com>
17298
17299 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17300 as being properly aligned.
17301
173022013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17303
17304 * dlfcn/modstatic5.c: New file.
17305 * dlfcn/tststatic5.c: New file.
17306 * dlfcn/Makefile (tests): Add tststatic5.
17307 (tests-static): Likewise.
17308 (modules-names): Add modstatic5.
17309 (tststatic5-ENV): New variable.
17310 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17311
17312 [BZ #15022]
17313 * elf/dl-support.c (_dl_main_map): New variable.
17314 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17315 (_dl_nns, _dl_load_adds): Set to 1.
17316 (_dl_initial_searchlist): Refer to _dl_main_map.
17317 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17318 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17319 call to _dl_get_origin.
17320 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17321 around call_map.
17322 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17323 * dlfcn/modstatic3.c: New file.
17324 * dlfcn/tststatic3.c: New file.
17325 * dlfcn/tststatic4.c: New file.
17326 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17327 (tests-static): Likewise.
17328 (modules-names): Add modstatic3.
17329 (tststatic3-ENV, tststatic4-ENV): New variables.
17330 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17331 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17332
173332013-06-26 Joseph Myers <joseph@codesourcery.com>
17334
17335 * configure.in (CC): Require GCC version 4.4 or later.
17336 * configure: Regenerated.
17337 * manual/install.texi (Tools for Compilation): Update GCC version
17338 requirement.
17339 * INSTALL: Regenerated.
17340
173412013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17342
17343 [BZ #15674]
17344 * string/test-memcmp.c (check2): New.
17345 (main): Call check2.
17346
17347 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17348
173492013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17350
17351 [BZ #15022]
17352 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17353 over to...
17354 (dl_open_worker) [!SHARED]: ... here.
17355
173562013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17357
17358 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17359
173602013-06-25 Richard Henderson <rth@redhat.com>
17361
17362 * locale/programs/locarchive.c: Include <libc-internal.h>
17363
173642013-06-25 Joseph Myers <joseph@codesourcery.com>
17365
17366 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17367 trailing whitespace removed.
17368
173692013-06-24 Mike Frysinger <vapier@gentoo.org>
17370
17371 [BZ #10283]
17372 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17373 * locale/programs/locarchive.c: Include libc-mmap.h.
17374 (prepare_address_space): Take two new outputs (the mmap base and len).
17375 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17376 values.
17377 (create_archive): Declare new mmap base and len values for
17378 prepare_address_space, and store the result in ah.
17379 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17380 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17381 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17382 Declare new mmap base and len values for
17383 prepare_address_space, and store the result in new_ah.
17384 (open_archive): Declare new mmap base and len values for
17385 prepare_address_space, and store the result in ah.
17386 (close_archive): If ah->mmap_base is not NULL, use that and
17387 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17388 * sysdeps/generic/libc-mmap.h: New file.
17389
173902013-06-24 Mike Frysinger <vapier@gentoo.org>
17391
17392 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17393 (ALIGN_UP): Likewise.
17394 (PTR_ALIGN_DOWN): Likewise.
17395 (PTR_ALIGN_UP): Likewise.
17396
173972013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17398
17399 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17400 entry mapped to PPC_PLATFORM_POWER8.
17401 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17402 POWER8.
17403 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17404 (_dl_string_platform): Add case for exporting platform position for
17405 POWER8.
17406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17407 search path to sysdeps/powerpc/powerpc32/power8 directory.
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17409 search path to sysdeps/powerpc/powerpc64/power8 directory.
17410 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17411 power7 directories.
17412 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17413 power7 directories.
17414
174152013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17416
17417 * INSTALL: Regenerate.
17418
17419 * nscd/connections.c (nscd_init): Fix comment.
17420
174212013-06-22 Joseph Myers <joseph@codesourcery.com>
17422
17423 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17424
17425 [BZ #15667]
17426 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17427 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17428
174292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17430
17431 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17432 DL_DST_REQ_STATIC.
17433 (DL_DST_REQ_STATIC): Remove macro.
17434
174352013-06-21 Joseph Myers <joseph@codesourcery.com>
17436
17437 [BZ #7006]
17438 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17439 with a shift of 0 bits.
17440
174412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17442
17443 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17444 $(tststatic-ENV).
17445
174462013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17447
17448 [BZ #15655]
17449 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17450
174512013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17452
17453 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17454 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17455 accepts -fno-tree-loop-distribute-patterns.
17456 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17457 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17458 recursive call.
17459 * string/memset.c (memset): Likewise.
17460 * string/test-memmove.c (simple_memmove): Disable loop transformation
17461 to library calls.
17462 * string/test-memset.c (simple_memset): Likewise.
17463 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17464 * benchtests/bench-memset.c (simple_memset): Likewise.
17465 * configure: Regenerated.
17466
174672013-06-20 Joseph Myers <joseph@codesourcery.com>
17468
17469 * math/test-misc.c (main): Ignore fesetround failure when failures
17470 of subsequent rounding tests would be ignored.
17471
17472 [BZ #15654]
17473 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17474 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17475 * math/fegetenv.c (__fegetenv): Return 0.
17476 * math/fegetexcept.c (fegetexcept): Return 0.
17477 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17478 FE_TONEAREST.
17479 * math/feholdexcpt.c (feholdexcept): Return 0.
17480 * math/fesetenv.c (__fesetenv): Return 0.
17481 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17482 argument FE_TONEAREST.
17483 * math/feupdateenv.c (__feupdateenv): Return 0.
17484 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17485
174862013-06-18 Roland McGrath <roland@hack.frob.com>
17487
17488 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17489 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17490 ($(objpfx)rtld-%.os rules): Use them.
17491
174922013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17493
17494 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17495 fields.
17496
174972013-06-17 Roland McGrath <roland@hack.frob.com>
17498
17499 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17500 length of target pattern, then descending length of dependency pattern.
17501 * configure.in (AWK): Require gawk 3.1.2 or newer.
17502 * manual/install.texi (Tools for Compilation): Say that we do.
17503 * configure: Regenerated.
17504
17505 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17506 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17507 * scripts/sysd-rules.awk: ... this new script.
17508 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17509 than a glob-style pattern.
17510
175112013-06-17 Joseph Myers <joseph@codesourcery.com>
17512
17513 * math/test-misc.c (main): Do not treat incorrectly rounded
17514 conversions as failure unless ROUNDING_TESTS passes.
17515
175162013-06-15 Joseph Myers <joseph@codesourcery.com>
17517
17518 [BZ #15631]
17519 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17520 restore exception state around main square root computation, then
17521 check for inexactness explicitly.
17522
17523 * math/libm-test.inc (fma_test_data): Add another test.
17524
175252013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17526
17527 * manual/threads.texi (Non-POSIX Extensions): New document
17528 node. Document pthread_getattr_default_np and
17529 pthread_setattr_default_np.
17530
17531 * Versions.def (libpthread): Add GLIBC_2.18.
17532 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17534 Likewise.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17536 Likewise.
17537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17538 Likewise.
17539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17540 Likewise.
17541 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17542 Likewise.
17543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17544 Likewise.
17545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17546 Likewise.
17547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17548 Likewise.
17549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17550 Likewise.
17551
175522013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17553
17554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17555 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17556
175572013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17558 H.J. Lu <hjl.tools@gmail.com>
17559
17560 [BZ #15627]
17561 * sysdeps/x86_64/rtld-memset.c: Remove file.
17562 * sysdeps/x86_64/rtld-memset.S: New file.
17563
175642013-06-14 Joseph Myers <joseph@codesourcery.com>
17565
17566 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17567 (test_in_one_mode): Take arguments for whether the rounding mode
17568 is supported for each floating-point type.
17569 (do_test): Pass new arguments to test_in_one_mode using
17570 ROUNDING_TESTS.
17571
175722013-06-13 Roland McGrath <roland@hack.frob.com>
17573
17574 * posix/tst-waitid.c (do_test): Distinguish different instances of
17575 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17576 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17577 before entering the kernel for waitpid.
17578
175792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17580
17581 * NEWS: Fix note on clock function precision. Text by Roland
17582 McGrath.
17583
175842013-06-13 Roland McGrath <roland@hack.frob.com>
17585
17586 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17587 it into place only when and if the sanity check passes.
17588
175892013-06-13 Joseph Myers <joseph@codesourcery.com>
17590
17591 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17592 output for whether conversion result is exact. Take argument
17593 indicating whether type is IBM long double.
17594 (round_for_all): Change need_exact field to ibm_ld.
17595 * stdlib/tst-strtod-round.c (struct exactness): New type.
17596 (struct test): Change bool ld_ok field to struct exactness exact.
17597 (TEST): Update all definitions for change to field.
17598 (tests): Regenerate array contents.
17599 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17600 field value. Check for IBM long double here.
17601 (do_test): Update calls to test_in_one_mode.
17602
176032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17604
17605 [BZ #12515]
17606 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17607 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17608
176092013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17610
17611 [BZ #15605]
17612 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17613 generated by the compiler on loop optimizations.
17614 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17615 general definitions.
17616
176172013-06-12 Joseph Myers <joseph@codesourcery.com>
17618
17619 * math/bug-nextafter.c: Include <math-tests.h>.
17620 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17621 the relevant type.
17622 * math/bug-nexttoward.c: Include <math-tests.h>.
17623 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17624 the relevant type.
17625 * math/test-misc.c: Include <math-tests.h>.
17626 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17627 the relevant type.
17628
176292013-06-12 Andreas Jaeger <aj@suse.de>
17630
17631 * po/ia.po: Update Interlingua translation from translation
17632 project.
17633
176342013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17635
17636 * include/fenv.h: Include stdbool.h.
17637 (struct rm_ctx): New structure.
17638 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17639 Define macro.
17640 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17641 (SET_RESTORE_ROUNDF): Likewise.
17642 (SET_RESTORE_ROUNDL): Likewise.
17643 (SET_RESTORE_ROUND_NOEX): Likewise.
17644 (SET_RESTORE_ROUND_NOEXF): Likewise.
17645 (SET_RESTORE_ROUND_NOEXL): Likewise.
17646 (SET_RESTORE_ROUND_53BIT): Likewise.
17647 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17648 (libc_feresetround_noexf_ctx): Likewise.
17649 (libc_feresetround_noexl_ctx): Likewise.
17650 (libc_feholdsetround_53bit_ctx): Likewise.
17651 (libc_feresetround_53bit_ctx): Likewise.
17652 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17653 (libc_feholdexcept_setround_sse_ctx): New function.
17654 (libc_fesetenv_sse_ctx): Likewise.
17655 (libc_feupdateenv_sse_ctx): Likewise.
17656 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17657 (libc_feholdexcept_setround_387_ctx): Likewise.
17658 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17659 (libc_feholdsetround_387_prec_ctx): Likewise.
17660 (libc_feholdsetround_387_ctx): Likewise.
17661 (libc_feholdsetround_387_53bit_ctx): Likewise.
17662 (libc_feholdsetround_sse_ctx): Likewise.
17663 (libc_feresetround_sse_ctx): Likewise.
17664 (libc_feresetround_387_ctx): Likewise.
17665 (libc_feupdateenv_387_ctx): Likewise.
17666 (libc_feholdexcept_setroundf_ctx): Define macro.
17667 (libc_fesetenvf_ctx): Likewise.
17668 (libc_feupdateenvf_ctx): Likewise.
17669 (libc_feholdsetroundf_ctx): Likewise.
17670 (libc_feresetroundf_ctx): Likewise.
17671 (libc_feholdexcept_setround_ctx): Likewise.
17672 (libc_fesetenv_ctx): Likewise.
17673 (libc_feupdateenv_ctx): Likewise.
17674 (libc_feholdsetround_ctx): Likewise.
17675 (libc_feresetround_ctx): Likewise.
17676 (libc_feholdexcept_setroundl_ctx): Likewise.
17677 (libc_feupdateenvl_ctx): Likewise.
17678 (libc_feholdsetroundl_ctx): Likewise.
17679 (libc_feresetroundl_ctx): Likewise.
17680 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17681 (libc_feresetround_53bit_ctx): Likewise.
17682
176832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17684
17685 * locale/iso-639.def: Convert to UTF-8.
17686
176872013-06-11 Joseph Myers <joseph@codesourcery.com>
17688
17689 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17690 (EXCEPTION_TESTS_double): Likewise.
17691 (EXCEPTION_TESTS_long_double): Likewise.
17692 (EXCEPTION_TESTS): Likewise.
17693 * math/libm-test.inc (test_exceptions): Only test exceptions if
17694 EXCEPTION_TESTS (FLOAT).
17695
176962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17697
17698 * benchtests/Makefile (string-bench): Add strcpy_chk and
17699 stpcpy_chk.
17700 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17701 * benchtests/bench-stpcpy_chk.c: New file.
17702 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17703 * benchtests/bench-strcpy_chk.c: New file.
17704 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17705 code.
17706 (do_test): Likewise.
17707
177082013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17709
17710 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17711 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17712 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17713 with tabs where appropriate.
17714 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17715 dl-procinfo.h.
17716 [PPC_PLATFORM_PPC440]: Likewise.
17717 [PPC_PLATFORM_PPC464]: Likewise.
17718 [PPC_PLATFORM_PPC476]: Likewise.
17719 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17720 ppc464, and ppc476 platform strings merging from ports/
17721 dl-procinfo.h.
17722
177232013-06-11 Andreas Schwab <schwab@suse.de>
17724
17725 [BZ #14991]
17726 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17727 (from_ucs4_idx): Regenerate.
17728 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17729 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17730 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17731 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17732 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17733 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17734 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17735 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17736 from FROM_LOOP and TO_LOOP specific macros.
17737 (BODY): Handle combining characters.
17738 * iconvdata/BIG5HKSCS.irreversible: Update.
17739 * iconvdata/BIG5HKSCS.precomposed: New file.
17740 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17741 characters.
17742 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17743
177442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17745
17746 * include/sys/time.h: Fix indentation and add copyright header.
17747
17748 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17749 (do_test): Likewise.
17750 * string/test-memchr.c (do_one_test): Likewise.
17751 (do_test): Likewise.
17752 * string/test-memcmp.c (do_one_test): Likewise.
17753 (do_test): Likewise.
17754 * string/test-memcpy.c (do_one_test): Likewise.
17755 (do_test): Likewise.
17756 * string/test-memmem.c (do_one_test): Likewise.
17757 (do_test): Likewise.
17758 (do_random_tests): Likewise.
17759 * string/test-memmove.c (do_one_test): Likewise.
17760 (do_test): Likewise.
17761 * string/test-memset.c (do_one_test): Likewise.
17762 (do_test): Likewise.
17763 * string/test-rawmemchr.c (do_one_test): Likewise.
17764 (do_test): Likewise.
17765 * string/test-strcasecmp.c (do_one_test): Likewise.
17766 (do_test): Likewise.
17767 * string/test-strcasestr.c (do_one_test): Likewise.
17768 (do_test): Likewise.
17769 * string/test-strcat.c (do_one_test): Likewise.
17770 (do_test): Likewise.
17771 * string/test-strchr.c (do_one_test): Likewise.
17772 (do_test): Likewise.
17773 * string/test-strcmp.c (do_one_test): Likewise.
17774 (do_test): Likewise.
17775 * string/test-strcpy.c (do_one_test): Likewise.
17776 (do_test): Likewise.
17777 * string/test-string.h: Likewise.
17778 (test_init): Likewise.
17779 * string/test-strlen.c (do_one_test): Likewise.
17780 (do_test): Likewise.
17781 * string/test-strncasecmp.c (do_one_test): Likewise.
17782 (do_test): Likewise.
17783 * string/test-strncat.c (do_one_test): Likewise.
17784 (do_test): Likewise.
17785 * string/test-strncmp.c (do_one_test): Likewise.
17786 (do_test_limit): Likewise.
17787 (do_test): Likewise.
17788 * string/test-strncpy.c (do_one_test): Likewise.
17789 (do_test): Likewise.
17790 * string/test-strnlen.c (do_one_test): Likewise.
17791 (do_test): Likewise.
17792 * string/test-strpbrk.c (do_one_test): Likewise.
17793 (do_test): Likewise.
17794 * string/test-strrchr.c (do_one_test): Likewise.
17795 (do_test): Likewise.
17796 * string/test-strspn.c (do_one_test): Likewise.
17797 (do_test): Likewise.
17798 * string/test-strstr.c (do_one_test): Likewise.
17799 (do_test): Likewise.
17800
17801 * benchtests/Makefile (string-bench): Add string benchmarks.
17802 * benchtests/bench-bcopy-ifunc.c: New file.
17803 * benchtests/bench-bcopy.c: New file.
17804 * benchtests/bench-bzero-ifunc.c: New file.
17805 * benchtests/bench-bzero.c: New file.
17806 * benchtests/bench-memccpy-ifunc.c: New file.
17807 * benchtests/bench-memccpy.c: New file.
17808 * benchtests/bench-memchr-ifunc.c: New file.
17809 * benchtests/bench-memchr.c: New file.
17810 * benchtests/bench-memcmp-ifunc.c: New file.
17811 * benchtests/bench-memcmp.c: New file.
17812 * benchtests/bench-memmem-ifunc.c: New file.
17813 * benchtests/bench-memmem.c: New file.
17814 * benchtests/bench-memmove-ifunc.c: New file.
17815 * benchtests/bench-memmove.c: New file.
17816 * benchtests/bench-mempcpy-ifunc.c: New file.
17817 * benchtests/bench-mempcpy.c: New file.
17818 * benchtests/bench-memset-ifunc.c: New file.
17819 * benchtests/bench-memset.c: New file.
17820 * benchtests/bench-rawmemchr-ifunc.c: New file.
17821 * benchtests/bench-rawmemchr.c: New file.
17822 * benchtests/bench-stpcpy-ifunc.c: New file.
17823 * benchtests/bench-stpcpy.c: New file.
17824 * benchtests/bench-stpncpy-ifunc.c: New file.
17825 * benchtests/bench-stpncpy.c: New file.
17826 * benchtests/bench-strcasecmp-ifunc.c: New file.
17827 * benchtests/bench-strcasecmp.c: New file.
17828 * benchtests/bench-strcasestr-ifunc.c: New file.
17829 * benchtests/bench-strcasestr.c: New file.
17830 * benchtests/bench-strcat-ifunc.c: New file.
17831 * benchtests/bench-strcat.c: New file.
17832 * benchtests/bench-strchr-ifunc.c: New file.
17833 * benchtests/bench-strchr.c: New file.
17834 * benchtests/bench-strchrnul-ifunc.c: New file.
17835 * benchtests/bench-strchrnul.c: New file.
17836 * benchtests/bench-strcmp-ifunc.c: New file.
17837 * benchtests/bench-strcmp.c: New file.
17838 * benchtests/bench-strcpy-ifunc.c: New file.
17839 * benchtests/bench-strcpy.c: New file.
17840 * benchtests/bench-strcspn-ifunc.c: New file.
17841 * benchtests/bench-strcspn.c: New file.
17842 * benchtests/bench-strlen-ifunc.c: New file.
17843 * benchtests/bench-strlen.c: New file.
17844 * benchtests/bench-strncasecmp-ifunc.c: New file.
17845 * benchtests/bench-strncasecmp.c: New file.
17846 * benchtests/bench-strncat-ifunc.c: New file.
17847 * benchtests/bench-strncat.c: New file.
17848 * benchtests/bench-strncmp-ifunc.c: New file.
17849 * benchtests/bench-strncmp.c: New file.
17850 * benchtests/bench-strncpy-ifunc.c: New file.
17851 * benchtests/bench-strncpy.c: New file.
17852 * benchtests/bench-strnlen-ifunc.c: New file.
17853 * benchtests/bench-strnlen.c: New file.
17854 * benchtests/bench-strpbrk-ifunc.c: New file.
17855 * benchtests/bench-strpbrk.c: New file.
17856 * benchtests/bench-strrchr-ifunc.c: New file.
17857 * benchtests/bench-strrchr.c: New file.
17858 * benchtests/bench-strspn-ifunc.c: New file.
17859 * benchtests/bench-strspn.c: New file.
17860 * benchtests/bench-strstr-ifunc.c: New file.
17861 * benchtests/bench-strstr.c: New file.
17862
17863 * benchtests/Makefile: Disable parallel execution of targets.
17864 (string-bench): Add memcpy.
17865 (benchset): New variable to store a list of benchmark sets.
17866 (bench-func): Renamed from bench.
17867 (bench-set): New target.
17868 (bench): Depend on bench-func and bench-set.
17869 * benchtests/README: Add section on benchmark sets.
17870 * benchtests/bench-memcpy-ifunc.c: New file.
17871 * benchtests/bench-memcpy.c: New file.
17872 * benchtests/bench-string.h: New file.
17873
178742013-06-11 Andreas Schwab <schwab@suse.de>
17875
17876 [BZ #15577]
17877 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17878 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17879 values in the triple.
17880 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17881 terminator in the group key.
17882
178832013-06-11 Andreas Jaeger <aj@suse.de>
17884
17885 * po/zh_TW.po: Update Chinese (traditional) translation from
17886 translation project.
17887
178882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17889
17890 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17891 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17892 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17893 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17894 (clock_getcpuclockid): Likewise.
17895 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17896 Add weak_alias and libc_hidden_def.
17897 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17898 * rt/clock_gettime.c (clock_gettime): Rename to
17899 __clock_gettime. Add weak_alias and libc_hidden_def.
17900 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17901 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17902 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17903 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17904 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17905 Likewise.
17906 * rt/clock_settime.c (clock_settime): Rename to
17907 __clock_settime. Add weak_alias and libc_hidden_def.
17908 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17909
179102013-06-10 Joseph Myers <joseph@codesourcery.com>
17911
17912 * mach/err_boot.sub: Remove trailing whitespace.
17913 * mach/err_ipc.sub: Likewise.
17914 * mach/err_mach.sub: Likewise.
17915
17916 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17917 (ROUNDING_TESTS_double): Likewise.
17918 (ROUNDING_TESTS_long_double): Likewise.
17919 (ROUNDING_TESTS): Likewise.
17920 * math/libm-test.inc: Include <math-tests.h>.
17921 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17922 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17923 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17924 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17925
179262013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17927
17928 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17929 of assigning.
17930
179312013-06-08 Joseph Myers <joseph@codesourcery.com>
17932
17933 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17934 otherwise empty TRANS lines.
17935 * sysdeps/gnu/errlist.c: Regenerated.
17936
17937 * catgets/gencat.c (error_print): Use (void) in function
17938 definition.
17939 * crypt/crypt_util.c (__init_des): Likewise.
17940 * crypt/speeds.c (Stop): Likewise.
17941 (main): Likewise.
17942 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17943 * inet/ruserpass.c (token): Likewise.
17944 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17945 * intl/localealias.c (extend_alias_table): Likewise.
17946 * intl/plural-exp.c (init_germanic_plural): Likewise.
17947 * libio/fcloseall.c (__fcloseall): Likewise.
17948 * libio/genops.c (_IO_flush_all): Likewise.
17949 (_IO_flush_all_linebuffered): Likewise.
17950 (_IO_cleanup): Likewise.
17951 (_IO_iter_begin): Likewise.
17952 (_IO_iter_end): Likewise.
17953 (_IO_list_lock): Likewise.
17954 (_IO_list_unlock): Likewise.
17955 (_IO_list_resetlock): Likewise.
17956 * libio/getchar.c (getchar): Likewise.
17957 * libio/getchar_u.c (getchar_unlocked): Likewise.
17958 * libio/getwchar.c (getwchar): Likewise.
17959 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17960 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17961 * login/getpt.c (__getpt): Likewise.
17962 * login/tst-utmp.c (main): Likewise.
17963 * malloc/hooks.c (__malloc_check_init): Likewise.
17964 * malloc/malloc.c (__malloc_stats): Likewise.
17965 * malloc/mtrace.c (tr_break): Likewise.
17966 (mtrace): Likewise.
17967 (muntrace): Likewise.
17968 * misc/fstab.c (endfsent): Likewise.
17969 * misc/getclktck.c (__getclktck): Likewise.
17970 * misc/getdtsz.c (__getdtablesize): Likewise.
17971 * misc/gethostid.c (gethostid): Likewise.
17972 * misc/getpagesize.c (__getpagesize): Likewise.
17973 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17974 (__get_nprocs): Likewise.
17975 (__get_phys_pages): Likewise.
17976 (__get_avphys_pages): Likewise.
17977 * misc/getttyent.c (getttyent): Likewise.
17978 (setttyent): Likewise.
17979 (endttyent): Likewise.
17980 * misc/getusershell.c (getusershell): Likewise.
17981 (endusershell): Likewise.
17982 (setusershell): Likewise.
17983 (initshells): Likewise.
17984 * misc/hsearch.c (__hdestroy): Likewise.
17985 * misc/sync.c (sync): Likewise.
17986 * misc/syslog.c (closelog_internal): Likewise.
17987 (closelog): Likewise.
17988 * misc/ttyslot.c (ttyslot): Likewise.
17989 * misc/vhangup.c (vhangup): Likewise.
17990 * posix/fork.c (__fork): Likewise.
17991 * posix/getegid.c (__getegid): Likewise.
17992 * posix/geteuid.c (__geteuid): Likewise.
17993 * posix/getgid.c (__getgid): Likewise.
17994 * posix/getpid.c (__getpid): Likewise.
17995 * posix/getppid.c (__getppid): Likewise.
17996 * posix/getuid.c (__getuid): Likewise.
17997 * posix/pause.c (pause): Likewise.
17998 * posix/setpgrp.c (setpgrp): Likewise.
17999 * posix/setsid.c (__setsid): Likewise.
18000 * posix/test-vfork.c (noop): Likewise.
18001 * resolv/gethnamaddr.c (_endhtent): Likewise.
18002 (_gethtent): Likewise.
18003 (ht_endhostent): Likewise.
18004 (gethostent): Likewise.
18005 (dns_service): Likewise.
18006 * stdlib/drand48.c (drand48): Likewise.
18007 * stdlib/lrand48.c (lrand48): Likewise.
18008 * stdlib/mrand48.c (mrand48): Likewise.
18009 * stdlib/rand.c (rand): Likewise.
18010 * stdlib/random.c (__random): Likewise.
18011 * stdlib/setenv.c (clearenv): Likewise.
18012 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18013 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18014 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18015 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18016 (__get_nprocs): Likewise.
18017 (__get_phys_pages): Likewise.
18018 (__get_avphys_pages): Likewise.
18019 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18020 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18021 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18022 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18023 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18024 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18025 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18026 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18027 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18028 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18029 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18030 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18031 * sysdeps/posix/clock.c (clock): Likewise.
18032 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18033 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18034 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18035 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18036 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18037 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18038 (__get_nprocs_conf): Likewise.
18039 (__get_phys_pages): Likewise.
18040 (__get_avphys_pages): Likewise.
18041 * time/clock.c (clock): Likewise.
18042 * time/tzset.c (__tzname_max): Likewise.
18043
180442013-06-07 Joseph Myers <joseph@codesourcery.com>
18045
18046 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18047 (__bswap_32): Do not use "register".
18048 * crypt/crypt.c (_ufc_doit_r): Likewise.
18049 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18050 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18051 * gmon/gmon.c (__monstartup): Likewise.
18052 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18053 * hurd/hurdmalloc.c (more_memory): Likewise.
18054 (malloc): Likewise.
18055 (free): Likewise.
18056 (realloc): Likewise.
18057 (malloc_fork_prepare): Likewise.
18058 (malloc_fork_parent): Likewise.
18059 (malloc_fork_child): Likewise.
18060 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18061 (_svcauth_des): Likewise.
18062 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18063 * inet/inet_net.c (inet_network): Likewise.
18064 * inet/inet_netof.c (inet_netof): Likewise.
18065 * inet/rcmd.c (__validuser2_sa): Likewise.
18066 * io/fts.c (fts_open): Likewise.
18067 (fts_load): Likewise.
18068 (fts_close): Likewise.
18069 (fts_read): Likewise.
18070 (fts_children): Likewise.
18071 (fts_build): Likewise.
18072 (fts_stat): Likewise.
18073 (fts_sort): Likewise.
18074 (fts_alloc): Likewise.
18075 (fts_lfree): Likewise.
18076 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18077 (_IO_file_xsgetn): Likewise.
18078 (_IO_file_xsgetn_mmap): Likewise.
18079 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18080 (_IO_cookie_write): Likewise.
18081 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18082 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18083 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18084 * malloc/obstack.c (_obstack_begin): Likewise.
18085 (_obstack_begin_1): Likewise.
18086 (_obstack_newchunk): Likewise.
18087 (_obstack_allocated_p): Likewise.
18088 (obstack_free): Likewise.
18089 (_obstack_memory_used): Likewise.
18090 * misc/getttyent.c (getttynam): Likewise.
18091 (getttyent): Likewise.
18092 (skip): Likewise.
18093 (value): Likewise.
18094 * misc/getusershell.c (initshells): Likewise.
18095 * misc/syslog.c (__vsyslog_chk): Likewise.
18096 * misc/ttyslot.c (ttyslot): Likewise.
18097 * nis/nis_hash.c (__nis_hash): Likewise.
18098 * posix/fnmatch_loop.c (FCT): Likewise.
18099 * posix/getconf.c (print_all): Likewise.
18100 (main): Likewise.
18101 * posix/getopt.c (exchange): Likewise.
18102 * posix/glob.c (globfree): Likewise.
18103 (prefix_array): Likewise.
18104 (__glob_pattern_type): Likewise.
18105 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18106 (NS_GET32): Likewise.
18107 (NS_PUT16): Likewise.
18108 (NS_PUT32): Likewise.
18109 * resolv/gethnamaddr.c (getanswer): Likewise.
18110 (gethostbyname2): Likewise.
18111 (gethostbyaddr): Likewise.
18112 (_gethtent): Likewise.
18113 (_gethtbyname2): Likewise.
18114 (_gethtbyaddr): Likewise.
18115 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18116 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18117 * resolv/res_init.c (__res_vinit): Likewise.
18118 (net_mask): Likewise.
18119 * resolv/res_mkquery.c (outchar): Likewise.
18120 (PRINT): Likewise.
18121 * stdio-common/printf_fp.c (outchar): Likewise.
18122 (PRINT): Likewise.
18123 * stdio-common/printf_fphex.c (outchar): Likewise.
18124 (PRINT): Likewise.
18125 * stdio-common/printf_size.c (outchar): Likewise.
18126 (PRINT): Likewise.
18127 * stdio-common/test_rdwr.c (main): Likewise.
18128 * stdio-common/tfformat.c (matches): Likewise.
18129 * stdio-common/vfprintf.c (outchar): Likewise.
18130 (printf_unknown): Likewise.
18131 (buffered_vfprintf): Likewise.
18132 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18133 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18134 (ReadFile): Likewise.
18135 * stdlib/qsort.c (SWAP): Likewise.
18136 (_quicksort): Likewise.
18137 * stdlib/setenv.c (__add_to_environ): Likewise.
18138 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18139 * stdlib/strtol_l.c (__strtol_l): Likewise.
18140 * stdlib/tst-strtod.c (main): Likewise.
18141 * stdlib/tst-strtol.c (main): Likewise.
18142 * stdlib/tst-strtoll.c (main): Likewise.
18143 * string/bits/string2.h (__strcmp_cc): Likewise.
18144 (__strcmp_cg): Likewise.
18145 (__strcspn_c1): Likewise.
18146 (__strcspn_c2): Likewise.
18147 (__strcspn_c3): Likewise.
18148 (__strspn_c1): Likewise.
18149 (__strspn_c2): Likewise.
18150 (__strspn_c3): Likewise.
18151 (__strsep_1c): Likewise.
18152 (__strsep_2c): Likewise.
18153 (__strsep_3c): Likewise.
18154 * string/memccpy.c (__memccpy): Likewise.
18155 * string/stpcpy.c (__stpcpy): Likewise.
18156 * string/strcmp.c (strcmp): Likewise.
18157 * string/strrchr.c (strrchr): Likewise.
18158 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18159 Likewise.
18160 * sysdeps/mach/hurd/getcwd.c
18161 (_hurd_canonicalize_directory_name_internal): Likewise.
18162 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18163 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18164 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18165 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18166 Likewise, in both definitions.
18167 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18168 definitions.
18169 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18170 64] (__bswap_64): Likewise.
18171 * time/test_time.c (main): Likewise.
18172 * time/tzfile.c (__tzfile_read): Likewise.
18173 (__tzfile_compute): Likewise.
18174 * time/tzset.c (__tzset_parse_tz): Likewise.
18175 (tzset_internal): Likewise.
18176 (compute_change): Likewise.
18177 * wcsmbs/wcscat.c (__wcscat): Likewise.
18178 * wcsmbs/wcschr.c (wcschr): Likewise.
18179 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18180 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18181 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18182 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18183 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18184 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18185 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18186 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18187 * wcsmbs/wmemset.c (wmemset): Likewise.
18188
181892013-06-06 Joseph Myers <joseph@codesourcery.com>
18190
18191 * scripts/config.guess: Update to version 2013-05-16.
18192 * scripts/config.sub: Update to version 2013-04-24.
18193 * scripts/install-sh: Update to version 2011-11-20.07.
18194 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18195 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18196
181972013-06-06 Ondřej Bílka <neleai@seznam.cz>
18198
18199 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18200 * elf/sln.c: Likewise.
18201 * hurd/hurd/ioctl.h: Likewise.
18202 * hurd/hurdmalloc.c: Likewise.
18203 * hurd/xattr.c: Likewise.
18204 * include/shlib-compat.h: Likewise.
18205 * inet/ruserpass.c: Likewise.
18206 * libio/iofgets_u.c: Likewise.
18207 * libio/iofgetws_u.c: Likewise.
18208 * locale/programs/ld-identification.c: Likewise.
18209 * locale/programs/ld-time.c: Likewise.
18210 * mach/msg-destroy.c: Likewise.
18211 * nss/nss_files/files-netgrp.c: Likewise.
18212 * resolv/res_data.c: Likewise.
18213 * soft-fp/op-1.h: Likewise.
18214 * soft-fp/op-2.h: Likewise.
18215 * soft-fp/op-4.h: Likewise.
18216 * soft-fp/op-common.h: Likewise.
18217 * stdio-common/printf_fphex.c: Likewise.
18218 * stdlib/strtod_l.c: Likewise.
18219 * sunrpc/rpc/clnt.h: Likewise.
18220 * sysdeps/generic/framestate.c: Likewise.
18221 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18222 * sysdeps/i386/bsd-setjmp.S: Likewise.
18223 * sysdeps/i386/__longjmp.S: Likewise.
18224 * sysdeps/i386/setjmp.S: Likewise.
18225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18226 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18243 * sysdeps/ieee754/support.c: Likewise.
18244 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18245 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18246 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18247 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18248 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18249 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18250 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18251 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18252 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18253 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18254 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18255 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18256 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18257 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18258 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18259 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18260 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18262
182632013-06-05 Ondřej Bílka <neleai@seznam.cz>
18264
18265 * posix/transbug.c: Remove executable mode.
18266
182672013-06-05 Joseph Myers <joseph@codesourcery.com>
18268
18269 * crypt/speeds.c: Remove trailing whitespace.
18270 * dlfcn/default.c: Likewise.
18271 * elf/ifuncdep2.c: Likewise.
18272 * elf/ifuncmain1.c: Likewise.
18273 * elf/ifuncmain1vis.c: Likewise.
18274 * elf/testobj.h: Likewise.
18275 * elf/tst-stackguard1.c: Likewise.
18276 * gmon/sys/gmon.h: Likewise.
18277 * hurd/hurdmsg.c: Likewise.
18278 * hurd/new-fd.c: Likewise.
18279 * hurd/ports-get.c: Likewise.
18280 * iconvdata/ibm1008_420.c: Likewise.
18281 * inet/tst-getni1.c: Likewise.
18282 * inet/tst-getni2.c: Likewise.
18283 * libio/ioungetc.c: Likewise.
18284 * libio/wfiledoalloc.c: Likewise.
18285 * manual/libm-err-tab.pl: Likewise.
18286 * math/w_dremf.c: Likewise.
18287 * misc/ftruncate.c: Likewise.
18288 * posix/bug-glob2.c: Likewise.
18289 * posix/tst-pcre.c: Likewise.
18290 * posix/wait4.c: Likewise.
18291 * resolv/README: Likewise.
18292 * resolv/res_debug.h: Likewise.
18293 * resolv/tst-inet_ntop.c: Likewise.
18294 * setjmp/bug269-setjmp.c: Likewise.
18295 * soft-fp/extended.h: Likewise.
18296 * soft-fp/op-1.h: Likewise.
18297 * soft-fp/op-2.h: Likewise.
18298 * soft-fp/op-4.h: Likewise.
18299 * soft-fp/op-8.h: Likewise.
18300 * soft-fp/testit.c: Likewise.
18301 * stdio-common/bug16.c: Likewise.
18302 * stdlib/random.c: Likewise.
18303 * sunrpc/rpcsvc/rquota.x: Likewise.
18304 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18305 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18307 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18308 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18309 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18310 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18312 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18314 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18333 * sysdeps/ieee754/s_lib_version.c: Likewise.
18334 * sysdeps/mach/hurd/check_fds.c: Likewise.
18335 * sysdeps/mach/hurd/getsockname.c: Likewise.
18336 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18337 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18338 * sysdeps/powerpc/bits/link.h: Likewise.
18339 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18340 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18341 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18342 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18343 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18344 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18345 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18346 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18347 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18348 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18349 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18350 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18351 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18352 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18353 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18354 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18355 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18357 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18358 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18359 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18360 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18362 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18363 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18365 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18367 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18370 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18371 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18372 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18373 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18374 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18375 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18376 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18377 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18378 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18379 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18380 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18381 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18382 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18383 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18384 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18385 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18386 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18387 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18388 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18391 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18392 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18393 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18394 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18395 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18396 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18397 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18400 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18401 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18402 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18403 * sysdeps/powerpc/sysdep.h: Likewise.
18404 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18405 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18406 * sysdeps/sh/dl-trampoline.S: Likewise.
18407 * sysdeps/sh/memset.S: Likewise.
18408 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18409 * sysdeps/sh/strlen.S: Likewise.
18410 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18411 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18412 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18413 * sysdeps/sparc/sparc32/rem.S: Likewise.
18414 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18415 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18416 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18417 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18418 * sysdeps/sparc/sparc32/urem.S: Likewise.
18419 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18420 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18421 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18422 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18424 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18425 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18426 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18427 * sysdeps/unix/bsd/times.c: Likewise.
18428 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18429 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18433 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18434 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18435 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18436 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18437 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18438 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18439 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18440 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18441 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18442 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18443 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18444 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18445 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18446 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18447 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18448 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18449 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18450 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18451 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18452 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18453 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18454 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18455 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18456 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18457 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18458 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18459 * sysdeps/x86_64/strcspn.S: Likewise.
18460
184612013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18462
18463 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18464 generated file. Regenerate properly from gen-translit.pl.
18465 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18466 locale/C-translit.h.
18467
184682013-06-05 Andreas Schwab <schwab@suse.de>
18469
18470 [BZ #15100]
18471 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18472 week as 6 instead of -1.
18473 * time/tst-strptime.c (day_tests): Add test case.
18474
184752013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18476
18477 * sysdeps/generic/math_private.h
18478 (libc_feholdexcept_setround_53bit): Replace with
18479 libc_feholdsetround_53bit.
18480 (libc_feupdateenv_53bit): Replace with
18481 libc_feresetround_53bit.
18482 (SET_RESTORE_ROUND_53BIT): Adjust.
18483
184842013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18485
18486 * string/test-strchrnul.c: Add copyright header.
18487
18488 * posix/tst-getaddrinfo4.c: Increase test timeout.
18489
184902013-06-03 Carlos O'Donell <carlos@redhat.com>
18491
18492 [BZ #15536]
18493 * math/libm-test.inc (MAX_EXP): Remove
18494 (MIN_EXP): Define.
18495 (ulp): Use MIN_EXP - MANT_DIG.
18496 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18497
184982013-05-31 Carlos O'Donell <carlos@redhat.com>
18499
18500 * po/be.po: Revert last change.
18501 * po/zh_CN.po: Likewise.
18502 * po/header.pot: Likewise.
18503
185042013-05-31 Joseph Myers <joseph@codesourcery.com>
18505
18506 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18507 link-libc-deps to empty as target-specific variable.
18508 * Makerules (link-libc-args): New variable.
18509 (libc-for-link): Likewise.
18510 (link-libc-deps): Likewise.
18511 (lib%.so): Depend on $(link-libc-deps). Link with
18512 $(link-libc-args).
18513 (build-module): Link with $(link-libc-args).
18514 (build-module-asneeded): Likewise.
18515 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18516 list of objects.
18517 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18518 target-specific variable.
18519 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18520 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18521 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18522 libc.
18523 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18524 libc and ld.so.
18525 ($(objpfx)libpcprofile.so): Likewise.
18526 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18527 libc_nonshared.a.
18528 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18529 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18530 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18531 $(link-libc-deps).
18532 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18533 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18534 * login/Makefile ($(objpfx)libutil.so): Likewise.
18535 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18536 * math/Makefile ($(objpfx)libm.so): Likewise.
18537 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18538 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18539 variable instead of depending directly on libc.
18540 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18541 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18542 $(link-libc-deps).
18543 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18544 libc.
18545 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18546 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18547 ($(objpfx)libanl.so): Likewise.
18548 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18549 ld.so.
18550 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18551 $(link-libc-deps).
18552 * sysdeps/i386/fpu/Makefile: Remove file.
18553 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18554 ($(objpfx)libm.so): Remove dependency on ld.so.
18555
185562013-05-30 Patsy Franklin <pfrankli@redhat.com>
18557
18558 [BZ # 15553]
18559 * nis/yp_xdr.c (XDRMAXNAME): Define.
18560 (XDRMAXRECORD): Define.
18561 (xdr_domainname): Use XDRMAXNAME.
18562 (xdr_mapname): Likewise.
18563 (xdr_peername): Likewise.
18564 (xdr_keydat): Use XDRMAXRECORD.
18565 (xdr_valdat): Likewise.
18566
185672013-05-30 Jeff Law <law@redhat.com>
18568
18569 [BZ #14256]
18570 * manual/errno.texi (ESTALE): Update to account for more than
18571 just NFS file systems.
18572 * sysdeps/gnu/errlist.c: Regenerated.
18573
185742013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18575
18576 [BZ #15465]
18577 * elf/Makefile (tests): Add tst-null-argv.
18578 (modules-names): Add tst-null-argv-lib.
18579 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18580 (tst-null-argv-ENV): Set environment for tst-null-argv.
18581 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18582 (RTLD_PROGNAME): New macro.
18583 * elf/tst-null-argv.c: New test case.
18584 * elf/tst-null-argv-lib.c: Library for test case.
18585 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18586 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18587 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18588 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18589 * elf/dl-init.c (call_init): Likewise.
18590 (_dl_init): Likewise.
18591 * elf/dl-load.c (print_search_path): Likewise.
18592 (_dl_map_object): Likewise.
18593 * elf/dl-lookup.c (do_lookup_x): Likewise.
18594 (add_dependency): Likewise.
18595 (_dl_lookup_symbol_x): Likewise.
18596 (_dl_debug_bindings): Likewise.
18597 * elf/dl-open.c (_dl_show_scope): Likewise.
18598 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18599 * elf/dl-version.c (match_symbol): Likewise.
18600 (_dl_check_map_versions): Likewise.
18601 * elf/rtld.c (dl_main): Likewise.
18602 (print_unresolved): Use RTLD_PROGNAME.
18603 (print_missing_version): Likewise.
18604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18605 (elf_machine_rela): Likewise.
18606 * sysdeps/powerpc/powerpc32/dl-machine.c
18607 (__process_machine_rela): Likewise.
18608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18609 Likewise.
18610 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18611 Likewise.
18612 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18613 Likewise.
18614 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18615 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18616 Likewise.
18617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18618 Likewise.
18619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18620
186212013-05-28 Carlos O'Donell <carlos@redhat.com>
18622
18623 * po/be.po: Add descriptive title.
18624 * po/zh_CN.po: Likewise.
18625 * po/header.pot: Likewise.
18626
186272013-05-28 Mike Frysinger <vapier@gentoo.org>
18628
18629 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18630 error message.
18631 (enlarge_archive): Likewise.
18632
186332013-05-28 Ben North <ben@redfrontdoor.org>
18634
18635 * manual/arith.texi (frexp): It is the magnitude of the return
18636 value which lies in [0.5, 1), not the return value itself.
18637
186382013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18639
18640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18641
186422013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18643
18644 * stdio-common/bug26.c (main): Correct fscanf template.
18645
18646 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18647 declare _dl_skip_args.
18648
18649 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18650 Don't declare.
18651
18652 * manual/platform.texi: Add missing @end deftypefun.
18653
186542013-05-24 Joseph Myers <joseph@codesourcery.com>
18655
18656 [BZ #15529]
18657 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18658 bit of mantissa of 2^16382.
18659 * math/libm-test.inc (hypot_test_data): Add more tests.
18660
18661 * math/libm-test.inc: Add drem and pow10 to list of tested
18662 functions.
18663 (pow10_test): New function.
18664 (drem_test): Likewise.
18665 (drem_test_tonearest): Likewise.
18666 (drem_test_towardzero): Likewise.
18667 (drem_test_downward): Likewise.
18668 (drem_test_upward): Likewise.
18669 (main): Call the new functions.
18670
18671 * math/libm-test.inc (finite_test_data): Remove.
18672 (finite_test): Run tests from isfinite_test_data.
18673 (gamma_test_data): Remove.
18674 (gamma_test): Run tests from lgamma_test_data.
18675 * sysdeps/i386/fpu/libm-test-ulps: Update.
18676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18677
186782013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18679
18680 * manual/platform.texi: Add PowerPC PPR function set documentation.
18681 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18682 implementation.
18683
186842013-05-24 Carlos O'Donell <carlos@redhat.com>
18685
18686 * math/libm-test.inc (MAX_EXP): Define.
18687 (ULPDIFF): Define.
18688 (ulp): New function.
18689 (check_float_internal): Use ULPDIFF.
18690 (cpow_test): Disable failing test.
18691 (check_ulp): Test ulp() implemetnation.
18692 (main): Call check_ulp before starting tests.
18693
186942013-05-24 Joseph Myers <joseph@codesourcery.com>
18695
18696 * math/gen-libm-test.pl (generate_testfile): Do not handle
18697 START_DATA and END_DATA.
18698 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18699 END_DATA.
18700 (acos_tonearest_test_data): Likewise.
18701 (acos_towardzero_test_data): Likewise.
18702 (acos_downward_test_data): Likewise.
18703 (acos_upward_test_data): Likewise.
18704 (acosh_test_data): Likewise.
18705 (asin_test_data): Likewise.
18706 (asin_tonearest_test_data): Likewise.
18707 (asin_towardzero_test_data): Likewise.
18708 (asin_downward_test_data): Likewise.
18709 (asin_upward_test_data): Likewise.
18710 (asinh_test_data): Likewise.
18711 (atan_test_data): Likewise.
18712 (atanh_test_data): Likewise.
18713 (atan2_test_data): Likewise.
18714 (cabs_test_data): Likewise.
18715 (cacos_test_data): Likewise.
18716 (cacosh_test_data): Likewise.
18717 (carg_test_data): Likewise.
18718 (casin_test_data): Likewise.
18719 (casinh_test_data): Likewise.
18720 (catan_test_data): Likewise.
18721 (catanh_test_data): Likewise.
18722 (cbrt_test_data): Likewise.
18723 (ccos_test_data): Likewise.
18724 (ccosh_test_data): Likewise.
18725 (ceil_test_data): Likewise.
18726 (cexp_test_data): Likewise.
18727 (cimag_test_data): Likewise.
18728 (clog_test_data): Likewise.
18729 (clog10_test_data): Likewise.
18730 (conj_test_data): Likewise.
18731 (copysign_test_data): Likewise.
18732 (cos_test_data): Likewise.
18733 (cos_tonearest_test_data): Likewise.
18734 (cos_towardzero_test_data): Likewise.
18735 (cos_downward_test_data): Likewise.
18736 (cos_upward_test_data): Likewise.
18737 (cosh_test_data): Likewise.
18738 (cosh_tonearest_test_data): Likewise.
18739 (cosh_towardzero_test_data): Likewise.
18740 (cosh_downward_test_data): Likewise.
18741 (cosh_upward_test_data): Likewise.
18742 (cpow_test_data): Likewise.
18743 (cproj_test_data): Likewise.
18744 (creal_test_data): Likewise.
18745 (csin_test_data): Likewise.
18746 (csinh_test_data): Likewise.
18747 (csqrt_test_data): Likewise.
18748 (ctan_test_data): Likewise.
18749 (ctan_tonearest_test_data): Likewise.
18750 (ctan_towardzero_test_data): Likewise.
18751 (ctan_downward_test_data): Likewise.
18752 (ctan_upward_test_data): Likewise.
18753 (ctanh_test_data): Likewise.
18754 (ctanh_tonearest_test_data): Likewise.
18755 (ctanh_towardzero_test_data): Likewise.
18756 (ctanh_downward_test_data): Likewise.
18757 (ctanh_upward_test_data): Likewise.
18758 (erf_test_data): Likewise.
18759 (erfc_test_data): Likewise.
18760 (exp_test_data): Likewise.
18761 (exp_tonearest_test_data): Likewise.
18762 (exp_towardzero_test_data): Likewise.
18763 (exp_downward_test_data): Likewise.
18764 (exp_upward_test_data): Likewise.
18765 (exp10_test_data): Likewise.
18766 (exp2_test_data): Likewise.
18767 (expm1_test_data): Likewise.
18768 (fabs_test_data): Likewise.
18769 (fdim_test_data): Likewise.
18770 (finite_test_data): Likewise.
18771 (floor_test_data): Likewise.
18772 (fma_test_data): Likewise.
18773 (fma_towardzero_test_data): Likewise.
18774 (fma_downward_test_data): Likewise.
18775 (fma_upward_test_data): Likewise.
18776 (fmax_test_data): Likewise.
18777 (fmin_test_data): Likewise.
18778 (fmod_test_data): Likewise.
18779 (fpclassify_test_data): Likewise.
18780 (frexp_test_data): Likewise.
18781 (gamma_test_data): Likewise.
18782 (hypot_test_data): Likewise.
18783 (ilogb_test_data): Likewise.
18784 (isfinite_test_data): Likewise.
18785 (isgreater_test_data): Likewise.
18786 (isgreaterequal_test_data): Likewise.
18787 (isinf_test_data): Likewise.
18788 (isless_test_data): Likewise.
18789 (islessequal_test_data): Likewise.
18790 (islessgreater_test_data): Likewise.
18791 (isnan_test_data): Likewise.
18792 (isnormal_test_data): Likewise.
18793 (issignaling_test_data): Likewise.
18794 (isunordered_test_data): Likewise.
18795 (j0_test_data): Likewise.
18796 (j1_test_data): Likewise.
18797 (jn_test_data): Likewise.
18798 (ldexp_test_data): Likewise.
18799 (lgamma_test_data): Likewise.
18800 (lrint_test_data): Likewise.
18801 (lrint_tonearest_test_data): Likewise.
18802 (lrint_towardzero_test_data): Likewise.
18803 (lrint_downward_test_data): Likewise.
18804 (lrint_upward_test_data): Likewise.
18805 (llrint_test_data): Likewise.
18806 (llrint_tonearest_test_data): Likewise.
18807 (llrint_towardzero_test_data): Likewise.
18808 (llrint_downward_test_data): Likewise.
18809 (llrint_upward_test_data): Likewise.
18810 (log_test_data): Likewise.
18811 (log10_test_data): Likewise.
18812 (log1p_test_data): Likewise.
18813 (log2_test_data): Likewise.
18814 (logb_test_data): Likewise.
18815 (logb_downward_test_data): Likewise.
18816 (lround_test_data): Likewise.
18817 (llround_test_data): Likewise.
18818 (modf_test_data): Likewise.
18819 (nearbyint_test_data): Likewise.
18820 (nextafter_test_data): Likewise.
18821 (nexttoward_test_data): Likewise.
18822 (pow_test_data): Likewise.
18823 (pow_tonearest_test_data): Likewise.
18824 (pow_towardzero_test_data): Likewise.
18825 (pow_downward_test_data): Likewise.
18826 (pow_upward_test_data): Likewise.
18827 (remainder_test_data): Likewise.
18828 (remainder_tonearest_test_data): Likewise.
18829 (remainder_towardzero_test_data): Likewise.
18830 (remainder_downward_test_data): Likewise.
18831 (remainder_upward_test_data): Likewise.
18832 (remquo_test_data): Likewise.
18833 (rint_test_data): Likewise.
18834 (rint_tonearest_test_data): Likewise.
18835 (rint_towardzero_test_data): Likewise.
18836 (rint_downward_test_data): Likewise.
18837 (rint_upward_test_data): Likewise.
18838 (round_test_data): Likewise.
18839 (scalb_test_data): Likewise.
18840 (scalbn_test_data): Likewise.
18841 (scalbln_test_data): Likewise.
18842 (signbit_test_data): Likewise.
18843 (sin_test_data): Likewise.
18844 (sin_tonearest_test_data): Likewise.
18845 (sin_towardzero_test_data): Likewise.
18846 (sin_downward_test_data): Likewise.
18847 (sin_upward_test_data): Likewise.
18848 (sincos_test_data): Likewise.
18849 (sinh_test_data): Likewise.
18850 (sinh_tonearest_test_data): Likewise.
18851 (sinh_towardzero_test_data): Likewise.
18852 (sinh_downward_test_data): Likewise.
18853 (sinh_upward_test_data): Likewise.
18854 (sqrt_test_data): Likewise.
18855 (tan_test_data): Likewise.
18856 (tan_tonearest_test_data): Likewise.
18857 (tan_towardzero_test_data): Likewise.
18858 (tan_downward_test_data): Likewise.
18859 (tan_upward_test_data): Likewise.
18860 (tanh_test_data): Likewise.
18861 (tgamma_test_data): Likewise.
18862 (trunc_test_data): Likewise.
18863 (y0_test_data): Likewise.
18864 (y1_test_data): Likewise.
18865 (yn_test_data): Likewise.
18866 (significand_test_data): Likewise.
18867
18868 * math/gen-libm-test.pl (@functions): Remove variable.
18869 (generate_testfile): Don't handle START and END lines.
18870 * math/libm-test.inc (START): New macro.
18871 (END): Likewise.
18872 (END_COMPLEX): Likewise.
18873 (acos_test): Use END macro without arguments.
18874 (acos_test_tonearest): Likewise.
18875 (acos_test_towardzero): Likewise.
18876 (acos_test_downward): Likewise.
18877 (acos_test_upward): Likewise.
18878 (acosh_test): Likewise.
18879 (asin_test): Likewise.
18880 (asin_test_tonearest): Likewise.
18881 (asin_test_towardzero): Likewise.
18882 (asin_test_downward): Likewise.
18883 (asin_test_upward): Likewise.
18884 (asinh_test): Likewise.
18885 (atan_test): Likewise.
18886 (atanh_test): Likewise.
18887 (atan2_test): Likewise.
18888 (cabs_test): Likewise.
18889 (cacos_test): Use END_COMPLEX macro without arguments.
18890 (cacosh_test): Likewise.
18891 (carg_test): Use END macro without arguments.
18892 (casin_test): Use END_COMPLEX macro without arguments.
18893 (casinh_test): Likewise.
18894 (catan_test): Likewise.
18895 (catanh_test): Likewise.
18896 (cbrt_test): Use END macro without arguments.
18897 (ccos_test): Use END_COMPLEX macro without arguments.
18898 (ccosh_test): Likewise.
18899 (ceil_test): Use END macro without arguments.
18900 (cexp_test): Use END_COMPLEX macro without arguments.
18901 (cimag_test): Use END macro without arguments.
18902 (clog_test): Use END_COMPLEX macro without arguments.
18903 (clog10_test): Likewise.
18904 (conj_test): Likewise.
18905 (copysign_test): Use END macro without arguments.
18906 (cos_test): Likewise.
18907 (cos_test_tonearest): Likewise.
18908 (cos_test_towardzero): Likewise.
18909 (cos_test_downward): Likewise.
18910 (cos_test_upward): Likewise.
18911 (cosh_test): Likewise.
18912 (cosh_test_tonearest): Likewise.
18913 (cosh_test_towardzero): Likewise.
18914 (cosh_test_downward): Likewise.
18915 (cosh_test_upward): Likewise.
18916 (cpow_test): Use END_COMPLEX macro without arguments.
18917 (cproj_test): Likewise.
18918 (creal_test): Use END macro without arguments.
18919 (csin_test): Use END_COMPLEX macro without arguments.
18920 (csinh_test): Likewise.
18921 (csqrt_test): Likewise.
18922 (ctan_test): Likewise.
18923 (ctan_test_tonearest): Likewise.
18924 (ctan_test_towardzero): Likewise.
18925 (ctan_test_downward): Likewise.
18926 (ctan_test_upward): Likewise.
18927 (ctanh_test): Likewise.
18928 (ctanh_test_tonearest): Likewise.
18929 (ctanh_test_towardzero): Likewise.
18930 (ctanh_test_downward): Likewise.
18931 (ctanh_test_upward): Likewise.
18932 (erf_test): Use END macro without arguments.
18933 (erfc_test): Likewise.
18934 (exp_test): Likewise.
18935 (exp_test_tonearest): Likewise.
18936 (exp_test_towardzero): Likewise.
18937 (exp_test_downward): Likewise.
18938 (exp_test_upward): Likewise.
18939 (exp10_test): Likewise.
18940 (exp2_test): Likewise.
18941 (expm1_test): Likewise.
18942 (fabs_test): Likewise.
18943 (fdim_test): Likewise.
18944 (finite_test): Likewise.
18945 (floor_test): Likewise.
18946 (fma_test): Likewise.
18947 (fma_test_towardzero): Likewise.
18948 (fma_test_downward): Likewise.
18949 (fma_test_upward): Likewise.
18950 (fmax_test): Likewise.
18951 (fmin_test): Likewise.
18952 (fmod_test): Likewise.
18953 (fpclassify_test): Likewise.
18954 (frexp_test): Likewise.
18955 (gamma_test): Likewise.
18956 (hypot_test): Likewise.
18957 (ilogb_test): Likewise.
18958 (isfinite_test): Likewise.
18959 (isgreater_test): Likewise.
18960 (isgreaterequal_test): Likewise.
18961 (isinf_test): Likewise.
18962 (isless_test): Likewise.
18963 (islessequal_test): Likewise.
18964 (islessgreater_test): Likewise.
18965 (isnan_test): Likewise.
18966 (isnormal_test): Likewise.
18967 (issignaling_test): Likewise.
18968 (isunordered_test): Likewise.
18969 (j0_test): Likewise.
18970 (j1_test): Likewise.
18971 (jn_test): Likewise.
18972 (ldexp_test): Likewise.
18973 (lgamma_test): Likewise.
18974 (lrint_test): Likewise.
18975 (lrint_test_tonearest): Likewise.
18976 (lrint_test_towardzero): Likewise.
18977 (lrint_test_downward): Likewise.
18978 (lrint_test_upward): Likewise.
18979 (llrint_test): Likewise.
18980 (llrint_test_tonearest): Likewise.
18981 (llrint_test_towardzero): Likewise.
18982 (llrint_test_downward): Likewise.
18983 (llrint_test_upward): Likewise.
18984 (log_test): Likewise.
18985 (log10_test): Likewise.
18986 (log1p_test): Likewise.
18987 (log2_test): Likewise.
18988 (logb_test): Likewise.
18989 (logb_test_downward): Likewise.
18990 (lround_test): Likewise.
18991 (llround_test): Likewise.
18992 (modf_test): Likewise.
18993 (nearbyint_test): Likewise.
18994 (nextafter_test): Likewise.
18995 (nexttoward_test): Likewise.
18996 (pow_test): Likewise.
18997 (pow_test_tonearest): Likewise.
18998 (pow_test_towardzero): Likewise.
18999 (pow_test_downward): Likewise.
19000 (pow_test_upward): Likewise.
19001 (remainder_test): Likewise.
19002 (remainder_test_tonearest): Likewise.
19003 (remainder_test_towardzero): Likewise.
19004 (remainder_test_downward): Likewise.
19005 (remainder_test_upward): Likewise.
19006 (remquo_test): Likewise.
19007 (rint_test): Likewise.
19008 (rint_test_tonearest): Likewise.
19009 (rint_test_towardzero): Likewise.
19010 (rint_test_downward): Likewise.
19011 (rint_test_upward): Likewise.
19012 (round_test): Likewise.
19013 (scalb_test): Likewise.
19014 (scalbn_test): Likewise.
19015 (scalbln_test): Likewise.
19016 (signbit_test): Likewise.
19017 (sin_test): Likewise.
19018 (sin_test_tonearest): Likewise.
19019 (sin_test_towardzero): Likewise.
19020 (sin_test_downward): Likewise.
19021 (sin_test_upward): Likewise.
19022 (sincos_test): Likewise.
19023 (sinh_test): Likewise.
19024 (sinh_test_tonearest): Likewise.
19025 (sinh_test_towardzero): Likewise.
19026 (sinh_test_downward): Likewise.
19027 (sinh_test_upward): Likewise.
19028 (sqrt_test): Likewise.
19029 (tan_test): Likewise.
19030 (tan_test_tonearest): Likewise.
19031 (tan_test_towardzero): Likewise.
19032 (tan_test_downward): Likewise.
19033 (tan_test_upward): Likewise.
19034 (tanh_test): Likewise.
19035 (tgamma_test): Likewise.
19036 (trunc_test): Likewise.
19037 (y0_test): Likewise.
19038 (y1_test): Likewise.
19039 (yn_test): Likewise.
19040 (significand_test): Likewise.
19041
190422013-05-24 Ondřej Bílka <neleai@seznam.cz>
19043
19044 [BZ #15381]
19045 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19046
190472013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19048
19049 [BZ #14894]
19050 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19051 __ppc_mdoio and __ppc_mdoom.
19052 * manual/platform.texi: Document new functions __ppc_yield,
19053 __ppc_mdoio and __ppc_mdoom.
19054
190552013-05-22 Carlos O'Donell <carlos@redhat.com>
19056
19057 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19058 (main): Mention "tls" pseudo-hwcap is legacy.
19059 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19060
190612013-05-22 Joseph Myers <joseph@codesourcery.com>
19062
19063 * math/gen-libm-test.pl (parse_args): Output only string of
19064 arguments as text for test name, not full call or descriptions of
19065 tests for extra outputs.
19066 (generate_testfile): Do not pass function name to parse_args.
19067 Generate this_func variable from START.
19068 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19069 field to arg_str.
19070 (struct test_ff_f_data): Likewise.
19071 (test_ff_f_data_nexttoward): Likewise.
19072 (struct test_fi_f_data): Likewise.
19073 (struct test_fl_f_data): Likewise.
19074 (struct test_if_f_data): Likewise.
19075 (struct test_fff_f_data): Likewise.
19076 (struct test_c_f_data): Likewise.
19077 (struct test_f_f1_data): Likewise. Remove field extra_name.
19078 (struct test_fF_f1_data): Likewise.
19079 (struct test_ffI_f1_data): Likewise.
19080 (struct test_c_c_data): Rename test_name field to arg_str.
19081 (struct test_cc_c_data): Likewise.
19082 (struct test_f_i_data): Likewise.
19083 (struct test_ff_i_data): Likewise.
19084 (struct test_f_l_data): Likewise.
19085 (struct test_f_L_data): Likewise.
19086 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19087 and extra2_name.
19088 (COMMON_TEST_SETUP): New macro.
19089 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19090 (COMMON_TEST_CLEANUP): Likewise.
19091 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19092 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19093 macros.
19094 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19095 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19096 macros.
19097 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19098 (RUN_TEST_fff_f): Take argument string. Call new setup and
19099 cleanup macros.
19100 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19101 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19102 macros.
19103 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19104 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19105 macros.
19106 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19107 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19108 cleanup macros.
19109 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19110 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19111 cleanup macros.
19112 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19113 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19114 cleanup macros.
19115 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19116 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19117 macros.
19118 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19119 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19120 macros.
19121 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19122 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19123 macros.
19124 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19125 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19126 cleanup macros.
19127 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19128 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19129 cleanup macros.
19130 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19131 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19132 macros.
19133 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19134 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19135 cleanup macros.
19136 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19137 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19138 macros.
19139 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19140 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19141 macros.
19142 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19143 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19144 cleanup macros.
19145 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19146
191472013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19148
19149 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19150 to _sifields.sigfault.
19151 (si_addr_lsb): Define new macro.
19152 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19153 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19154 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19155
191562013-05-03 Carlos O'Donell <carlos at redhat.com>
19157
19158 [BZ #15441]
19159 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19160 returns -1.
19161 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19162 null return -1.
19163 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19164 loading the domain.
19165
191662013-05-22 Joseph Myers <joseph@codesourcery.com>
19167
19168 * math/gen-libm-test.pl (parse_args): Do not include expected
19169 result in test name.
19170 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19171 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19172 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19174 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19176
191772013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19178
19179 * benchtests/Makefile: Sort function entries.
19180
19181 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19182 tanh, asinh, acosh, atanh.
19183 * benchtests/acos-inputs: New file.
19184 * benchtests/acosh-inputs: New file.
19185 * benchtests/asin-inputs: New file.
19186 * benchtests/asinh-inputs: New file.
19187 * benchtests/atanh-inputs: New file.
19188 * benchtests/cosh-inputs: New file.
19189 * benchtests/log-inputs: New file.
19190 * benchtests/sinh-inputs: New file.
19191 * benchtests/tanh-inputs: New file.
19192
191932013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19194
19195 [BZ #15339]
19196 * posix/tst-getaddrinfo4.c: New test.
19197 * posix/Makefile (tests): Add it.
19198
191992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19200
19201 [BZ #15339]
19202 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19203 when no services were used.
19204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19205 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19206
192072013-05-21 Andreas Schwab <schwab@suse.de>
19208
19209 [BZ #15014]
19210 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19211 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19212 successful.
19213 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19214 redundant variable declarations and reallocation of buffer when
19215 parsing as IPv6 address. Always set NSS status when called from
19216 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19217 buffer too small. Correct computation of needed size.
19218 * nss/Makefile (tests): Add test-digits-dots.
19219 * nss/test-digits-dots.c: New test.
19220
192212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19222
19223 * benchtests/Makefile: Remove instructions for adding
19224 benchmark tests.
19225 * benchtests/README: New file to explain how to execute and
19226 enhance the benchmark tests.
19227
192282013-05-21 Andreas Schwab <schwab@suse.de>
19229
19230 [BZ #15493]
19231 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19232 * setjmp/tst-sigsetjmp.c: New test.
19233
192342013-05-20 Ondřej Bílka <neleai@seznam.cz>
19235
19236 * sysdeps/x86_64/memset.S (memset): New implementation.
19237 (__bzero): Likewise.
19238 (__memset_tail): New function.
19239
192402013-05-20 Ondřej Bílka <neleai@seznam.cz>
19241
19242 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19243 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19244 __memcpy_sse2_unaligned ifunc selection.
19245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19246 Add memcpy-sse2-unaligned.S.
19247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19248 Add: __memcpy_sse2_unaligned.
19249
192502013-05-19 Joseph Myers <joseph@codesourcery.com>
19251
19252 [BZ #15490]
19253 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19254 math_force_eval before restoring floating-point envrionment.
19255 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19257 Likewise.
19258 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19259 <math_private.h>.
19260 (__nearbyintl): Use math_force_eval before restoring
19261 floating-point environment.
19262 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19263
19264 * math/gen-libm-test.pl (special_functions): Remove.
19265 (parse_args): Don't handle TEST_extra. Handle functions with no
19266 return value.
19267 * math/libm-test.inc (struct test_sincos_data): Replace with
19268 struct test_fFF_11_data.
19269 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19270 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19271 (sincos_test_data): Change element type to struct
19272 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19273 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19274 RUN_TEST_LOOP_sincos.
19275 * math/README.libm-test: Don't mention special handling of
19276 individual functions.
19277 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19279 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19283
19284 * math/gen-libm-test.pl (get_variable): Remove function.
19285 (parse_args): Don't show pointer parameters to call in test
19286 names. Use "extra output N" in test names for extra outputs
19287 rather than naming variables.
19288
192892013-05-18 Joseph Myers <joseph@codesourcery.com>
19290
19291 [BZ #15488]
19292 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19293 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19294 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19295 double tests.
19296 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19297 disable.
19298 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19299 check_long_double.
19300
19301 * math/gen-libm-test.pl (@tests): Remove variable.
19302 ($count): Likewise.
19303 (new_test): Remove function.
19304 (show_exceptions): New function.
19305 (special_functions): Use show_exceptions instead of new_test.
19306 (parse_args): Likewise.
19307 (generate_testfile): Pass only function name in generated call to
19308 print_max_error or print_complex_max_error.
19309 (get_ulps): Do not handle complex tests specially.
19310 (output_test): Rename to ...
19311 (get_all_ulps_for_test): ... this. Return a string rather than
19312 printing to a file. Require ulps to be present.
19313 (output_ulps): Generate arrays rather than #defines.
19314 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19315 (struct ulp_data): New type.
19316 (BUILD_COMPLEX_ULP): Remove macro.
19317 (compare_ulp_data): New function.
19318 (find_ulps): Likewise.
19319 (find_test_ulps): Likewise.
19320 (find_function_ulps): Likewise.
19321 (find_complex_function_ulps): Likewise.
19322 (print_max_error): Determine allowed ulps using
19323 find_function_ulps.
19324 (print_complex_max_error): Determine allowed ulps using
19325 find_complex_function_ulps.
19326 (check_float_internal): Determine max ulps using find_test_ulps.
19327 (check_float): Do not take max_ulp parameter. Update call to
19328 check_float_internal.
19329 (check_complex): Likewise.
19330 (check_int): Do not take max_ulp parameter.
19331 (check_long): Likewise.
19332 (check_bool): Likewise.
19333 (check_longlong): Likewise.
19334 (struct test_f_f_data): Remove max_ulp field.
19335 (struct test_ff_f_data): Likewise.
19336 (struct test_ff_f_data_nexttoward): Likewise.
19337 (struct test_fi_f_data): Likewise.
19338 (struct test_fl_f_data): Likewise.
19339 (struct test_if_f_data): Likewise.
19340 (struct test_fff_f_data): Likewise.
19341 (struct test_c_f_data): Likewise.
19342 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19343 (struct test_fF_f1_data): Likewise.
19344 (struct test_ffI_f1_data): Likewise.
19345 (struct test_c_c_data): Remove max_ulp field.
19346 (struct test_cc_c_data): Likewise.
19347 (struct test_f_i_data): Likewise.
19348 (struct test_ff_i_data): Likewise.
19349 (struct test_f_l_data): Likewise.
19350 (struct test_f_L_data): Likewise.
19351 (struct test_sincos_data): Likewise.
19352 (RUN_TEST_f_f): Do not handle ulps.
19353 (RUN_TEST_LOOP_f_f): Likewise.
19354 (RUN_TEST_2_f): Likewise.
19355 (RUN_TEST_LOOP_2_f): Likewise.
19356 (RUN_TEST_fff_f): Likewise.
19357 (RUN_TEST_LOOP_fff_f): Likewise.
19358 (RUN_TEST_c_f): Likewise.
19359 (RUN_TEST_LOOP_c_f): Likewise.
19360 (RUN_TEST_f_f1): Likewise.
19361 (RUN_TEST_LOOP_f_f1): Likewise.
19362 (RUN_TEST_fF_f1): Likewise.
19363 (RUN_TEST_LOOP_fF_f1): Likewise.
19364 (RUN_TEST_fI_f1): Likewise.
19365 (RUN_TEST_LOOP_fI_f1): Likewise.
19366 (RUN_TEST_ffI_f1): Likewise.
19367 (RUN_TEST_LOOP_ffI_f1): Likewise.
19368 (RUN_TEST_c_c): Likewise.
19369 (RUN_TEST_LOOP_c_c): Likewise.
19370 (RUN_TEST_cc_c): Likewise.
19371 (RUN_TEST_LOOP_cc_c): Likewise.
19372 (RUN_TEST_f_i): Likewise.
19373 (RUN_TEST_LOOP_f_i): Likewise.
19374 (RUN_TEST_f_i_tg): Likewise.
19375 (RUN_TEST_LOOP_f_i_tg): Likewise.
19376 (RUN_TEST_ff_i_tg): Likewise.
19377 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19378 (RUN_TEST_f_b): Likewise.
19379 (RUN_TEST_LOOP_f_b): Likewise.
19380 (RUN_TEST_f_b_tg): Likewise.
19381 (RUN_TEST_LOOP_f_b_tg): Likewise.
19382 (RUN_TEST_f_l): Likewise.
19383 (RUN_TEST_LOOP_f_l): Likewise.
19384 (RUN_TEST_f_L): Likewise.
19385 (RUN_TEST_LOOP_f_L): Likewise.
19386 (RUN_TEST_sincos): Likewise.
19387 (RUN_TEST_LOOP_sincos): Likewise.
19388
193892013-05-17 Joseph Myers <joseph@codesourcery.com>
19390
19391 [BZ #15480]
19392 [BZ #15485]
19393 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19394 main case of finite arguments, set rounding mode to FE_TONEAREST
19395 and discard exceptions.
19396 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19397 exceptions.
19398 (remainder_tonearest_test_data): New variable.
19399 (remainder_test_tonearest): New function.
19400 (remainder_towardzero_test_data): New variable.
19401 (remainder_test_towardzero): New function.
19402 (remainder_downward_test_data): New variable.
19403 (remainder_test_downward): New function.
19404 (remainder_upward_test_data): New variable.
19405 (remainder_test_upward): New function.
19406 (main): Call the new test functions.
19407
19408 * math/libm-test.inc (struct test_f_f1_data): Remove field
19409 extra_init.
19410 (struct test_fF_f1_data): Likewise.
19411 (struct test_ffI_f1_data): Likewise.
19412 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19413 based on value of EXTRA_EXPECTED.
19414 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19415 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19416 EXTRA_VAR based on value of EXTRA_EXPECTED.
19417 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19418 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19419 EXTRA_VAR based on value of EXTRA_EXPECTED.
19420 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19421 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19422 EXTRA_VAR based on value of EXTRA_EXPECTED.
19423 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19424 * math/gen-libm-test.pl (parse_args): Don't output initializers
19425 for extra output values.
19426
19427 * math/libm-test.inc (check_int): Expect result to be exactly
19428 equal to expected value and do not handle ulps.
19429 (check_long): Likewise.
19430 (check_longlong): Likewise.
19431
19432 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19433 exceptions.
19434 (cimag_test_data): Likewise.
19435 (conj_test_data): Likewise.
19436 (copysign_test_data): Likewise.
19437 (cproj_test_data): Likewise.
19438 (creal_test_data): Likewise.
19439 (fabs_test_data): Likewise.
19440 (fdim_test_data): Likewise.
19441 (finite_test_data): Likewise.
19442 (floor_test_data): Likewise.
19443 (fmax_test_data): Likewise.
19444 (fmin_test_data): Likewise.
19445 (fmod_test_data): Likewise.
19446 (fpclassify_test_data): Likewise.
19447 (frexp_test_data): Likewise.
19448 (ilogb_test_data): Likewise.
19449 (isfinite_test_data): Likewise.
19450 (isgreater_test_data): Likewise.
19451 (isgreaterequal_test_data): Likewise.
19452 (isinf_test_data): Likewise.
19453 (isless_test_data): Likewise.
19454 (islessequal_test_data): Likewise.
19455 (islessgreater_test_data): Likewise.
19456 (isnan_test_data): Likewise.
19457 (isnormal_test_data): Likewise.
19458 (issignaling_test_data): Likewise.
19459 (isunordered_test_data): Likewise.
19460 (ldexp_test_data): Likewise.
19461 (lrint_test_data): Likewise.
19462 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19463 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19464 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19465 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19466 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19467 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19468 test input.
19469 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19470 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19471 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19472 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19473 that test input.
19474 (lrint_downward_test_data): Test for "inexact" exceptions.
19475 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19476 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19477 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19478 test input.
19479 (lrint_upward_test_data): Test for "inexact" exceptions.
19480 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19481 test input.
19482 (llrint_test_data): Test for "inexact" exceptions.
19483 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19484 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19485 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19486 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19487 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19488 (llrint_downward_test_data): Test for "inexact" exceptions.
19489 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19490 (llrint_upward_test_data): Test for "inexact" exceptions.
19491 (logb_test_data): Likewise.
19492 (logb_downward_test_data): Likewise.
19493 (nextafter_test_data): Likewise.
19494 (nexttoward_test_data): Likewise.
19495 (remainder_test_data): Likewise.
19496 (remquo_test_data): Likewise.
19497 (scalbn_test_data): Likewise.
19498 (scalbln_test_data): Likewise.
19499 (signbit_test_data): Likewise.
19500 (sqrt_test_data): Likewise.
19501 (significand_test_data): Likewise.
19502
195032013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19504
19505 [BZ #15424]
19506 * benchtests/bench-modf.c (struct args): Mark arg0 as
19507 volatile.
19508 * scripts/bench.pl: Mark members of struct args as volatile.
19509
195102013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19511
19512 [BZ # 15497]
19513 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19514 negative infinity on POWER6 or lower.
19515 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19516
195172013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19518
19519 [BZ #15442]
19520 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19521 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19522 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19523 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19524 (_FP_SETQNAN): New macro.
19525 (_FP_SETQNAN_SEMIRAW): Likewise.
19526 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19527 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19528 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19529 (FP_EXTEND): Use _FP_FRAC_SNANP.
19530 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19531 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19532 into account.
19533 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19534 New macro.
19535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19536 Likewise.
19537
195382013-05-16 Joseph Myers <joseph@codesourcery.com>
19539
19540 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19541 with DIVIDE_BY_ZERO_EXCEPTION.
19542 (gamma_test_data): Likewise.
19543 (lgamma_test_data): Likewise.
19544 (log_test_data): Likewise.
19545 (log10_test_data): Likewise.
19546 (log2_test_data): Likewise.
19547 (tgamma_test_data): Likewise.
19548
19549 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19550 (acos_test_tonearest): Likewise.
19551 (acos_test_towardzero): Likewise.
19552 (acos_test_downward): Likewise.
19553 (acos_test_upward): Likewise.
19554 (acosh_test): Likewise.
19555 (asin_test): Likewise.
19556 (asin_test_tonearest): Likewise.
19557 (asin_test_towardzero): Likewise.
19558 (asin_test_downward): Likewise.
19559 (asin_test_upward): Likewise.
19560 (asinh_test): Likewise.
19561 (atan_test): Likewise.
19562 (atanh_test): Likewise.
19563 (atan2_test): Likewise.
19564 (cabs_test): Likewise.
19565 (cacos_test): Likewise.
19566 (cacosh_test): Likewise.
19567 (casin_test): Likewise.
19568 (casinh_test): Likewise.
19569 (catan_test): Likewise.
19570 (catanh_test): Likewise.
19571 (cbrt_test): Likewise.
19572 (ccos_test): Likewise.
19573 (ccosh_test): Likewise.
19574 (cexp_test): Likewise.
19575 (clog_test): Likewise.
19576 (clog10_test): Likewise.
19577 (cos_test): Likewise.
19578 (cos_test_tonearest): Likewise.
19579 (cos_test_towardzero): Likewise.
19580 (cos_test_downward): Likewise.
19581 (cos_test_upward): Likewise.
19582 (cosh_test): Likewise.
19583 (cosh_test_tonearest): Likewise.
19584 (cosh_test_towardzero): Likewise.
19585 (cosh_test_downward): Likewise.
19586 (cosh_test_upward): Likewise.
19587 (cpow_test): Likewise.
19588 (csin_test): Likewise.
19589 (csinh_test): Likewise.
19590 (csqrt_test): Likewise.
19591 (ctan_test): Likewise.
19592 (ctan_test_tonearest): Likewise.
19593 (ctan_test_towardzero): Likewise.
19594 (ctan_test_downward): Likewise.
19595 (ctan_test_upward): Likewise.
19596 (ctanh_test): Likewise.
19597 (ctanh_test_tonearest): Likewise.
19598 (ctanh_test_towardzero): Likewise.
19599 (ctanh_test_downward): Likewise.
19600 (ctanh_test_upward): Likewise.
19601 (erf_test): Likewise.
19602 (erfc_test): Likewise.
19603 (exp_test): Likewise.
19604 (exp_test_tonearest): Likewise.
19605 (exp_test_towardzero): Likewise.
19606 (exp_test_downward): Likewise.
19607 (exp_test_upward): Likewise.
19608 (exp10_test): Likewise.
19609 (exp2_test): Likewise.
19610 (expm1_test): Likewise.
19611 (fmod_test): Likewise.
19612 (gamma_test): Likewise.
19613 (hypot_test): Likewise.
19614 (j0_test): Likewise.
19615 (j1_test): Likewise.
19616 (jn_test): Likewise.
19617 (lgamma_test): Likewise.
19618 (log_test): Likewise.
19619 (log10_test): Likewise.
19620 (log1p_test): Likewise.
19621 (log2_test): Likewise.
19622 (logb_test_downward): Likewise.
19623 (pow_test): Likewise.
19624 (pow_test_tonearest): Likewise.
19625 (pow_test_towardzero): Likewise.
19626 (pow_test_downward): Likewise.
19627 (pow_test_upward): Likewise.
19628 (remainder_test): Likewise.
19629 (remquo_test): Likewise.
19630 (sin_test): Likewise.
19631 (sin_test_tonearest): Likewise.
19632 (sin_test_towardzero): Likewise.
19633 (sin_test_downward): Likewise.
19634 (sin_test_upward): Likewise.
19635 (sincos_test): Likewise.
19636 (sinh_test): Likewise.
19637 (sinh_test_tonearest): Likewise.
19638 (sinh_test_towardzero): Likewise.
19639 (sinh_test_downward): Likewise.
19640 (sinh_test_upward): Likewise.
19641 (sqrt_test): Likewise.
19642 (tan_test): Likewise.
19643 (tan_test_tonearest): Likewise.
19644 (tan_test_towardzero): Likewise.
19645 (tan_test_downward): Likewise.
19646 (tan_test_upward): Likewise.
19647 (tanh_test): Likewise.
19648 (tgamma_test): Likewise.
19649 (y0_test): Likewise.
19650 (y1_test): Likewise.
19651 (yn_test): Likewise.
19652
19653 * math/gen-libm-test.pl (adjust_arg): Remove function.
19654 (special_function): Remove argument $in_func. Only handle
19655 generating output for tables of tests, not inside functions.
19656 (parse_args): Likewise.
19657 (generate_testfile): Remove variable $in_func. Update call to
19658 parse_args.
19659 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19660 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19661 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19662 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19663 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19664 (MAX_VALUE_INIT): Rename macro to max_value.
19665 (MIN_VALUE_INIT): Rename macro to min_value.
19666 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19667 (plus_zero): Remove variable.
19668 (minus_zero): Likewise.
19669 (plus_infty): Likewise.
19670 (minus_infty): Likewise.
19671 (qnan_value): Likewise.
19672 (max_value): Likewise.
19673 (min_value): Likewise.
19674 (min_subnorm_value): Likewise.
19675
196762013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19677
19678 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19679 uint64_t or uint32_t usage.
19680 * crypt/sha256-block.c: Likewise.
19681 * crypt/sha256-crypt.c: Likewise.
19682 * crypt/sha256.c: Likewise.
19683 * crypt/sha512-block.c: Likewise.
19684 * crypt/sha512-crypt.c: Likewise.
19685 * crypt/sha512.c: Likewise.
19686 * debug/backtrace-tst.c: Likewise.
19687 * debug/pcprofiledump.c: Likewise.
19688 * elf/cache.c: Likewise.
19689 * elf/dl-cache.c: Likewise.
19690 * elf/dl-misc.c: Likewise.
19691 * elf/dl-profile.c: Likewise.
19692 * elf/dl-support.c: Likewise.
19693 * elf/ldconfig.c: Likewise.
19694 * elf/sprof.c: Likewise.
19695 * iconv/dummy-repertoire.c: Likewise.
19696 * iconv/iconv_charmap.c: Likewise.
19697 * iconv/skeleton.c: Likewise.
19698 * iconvdata/8bit-generic.c: Likewise.
19699 * iconvdata/cp737.h: Likewise.
19700 * iconvdata/cp775.h: Likewise.
19701 * iconvdata/ibm1008.h: Likewise.
19702 * iconvdata/ibm1025.h: Likewise.
19703 * iconvdata/ibm1046.h: Likewise.
19704 * iconvdata/ibm1097.h: Likewise.
19705 * iconvdata/ibm1112.h: Likewise.
19706 * iconvdata/ibm1122.h: Likewise.
19707 * iconvdata/ibm1123.h: Likewise.
19708 * iconvdata/ibm1124.h: Likewise.
19709 * iconvdata/ibm1129.h: Likewise.
19710 * iconvdata/ibm1130.h: Likewise.
19711 * iconvdata/ibm1132.h: Likewise.
19712 * iconvdata/ibm1133.h: Likewise.
19713 * iconvdata/ibm1137.h: Likewise.
19714 * iconvdata/ibm1140.h: Likewise.
19715 * iconvdata/ibm1141.h: Likewise.
19716 * iconvdata/ibm1142.h: Likewise.
19717 * iconvdata/ibm1143.h: Likewise.
19718 * iconvdata/ibm1144.h: Likewise.
19719 * iconvdata/ibm1145.h: Likewise.
19720 * iconvdata/ibm1146.h: Likewise.
19721 * iconvdata/ibm1147.h: Likewise.
19722 * iconvdata/ibm1148.h: Likewise.
19723 * iconvdata/ibm1149.h: Likewise.
19724 * iconvdata/ibm1153.h: Likewise.
19725 * iconvdata/ibm1154.h: Likewise.
19726 * iconvdata/ibm1155.h: Likewise.
19727 * iconvdata/ibm1156.h: Likewise.
19728 * iconvdata/ibm1157.h: Likewise.
19729 * iconvdata/ibm1158.h: Likewise.
19730 * iconvdata/ibm1160.h: Likewise.
19731 * iconvdata/ibm1161.h: Likewise.
19732 * iconvdata/ibm1162.h: Likewise.
19733 * iconvdata/ibm1163.h: Likewise.
19734 * iconvdata/ibm1164.h: Likewise.
19735 * iconvdata/ibm1166.h: Likewise.
19736 * iconvdata/ibm1167.h: Likewise.
19737 * iconvdata/ibm12712.h: Likewise.
19738 * iconvdata/ibm1390.h: Likewise.
19739 * iconvdata/ibm1399.h: Likewise.
19740 * iconvdata/ibm16804.h: Likewise.
19741 * iconvdata/ibm4517.h: Likewise.
19742 * iconvdata/ibm4899.h: Likewise.
19743 * iconvdata/ibm4909.h: Likewise.
19744 * iconvdata/ibm4971.h: Likewise.
19745 * iconvdata/ibm5347.h: Likewise.
19746 * iconvdata/ibm803.h: Likewise.
19747 * iconvdata/ibm856.h: Likewise.
19748 * iconvdata/ibm901.h: Likewise.
19749 * iconvdata/ibm902.h: Likewise.
19750 * iconvdata/ibm9030.h: Likewise.
19751 * iconvdata/ibm9066.h: Likewise.
19752 * iconvdata/ibm921.h: Likewise.
19753 * iconvdata/ibm922.h: Likewise.
19754 * iconvdata/ibm9448.h: Likewise.
19755 * iconvdata/isiri-3342.h: Likewise.
19756 * iconvdata/jis0201.h: Likewise.
19757 * include/link.h: Likewise.
19758 * include/netdb.h: Likewise.
19759 * inet/check_native.c: Likewise.
19760 * inet/check_pf.c: Likewise.
19761 * inet/getipv4sourcefilter.c: Likewise.
19762 * inet/getnameinfo.c: Likewise.
19763 * inet/getsourcefilter.c: Likewise.
19764 * inet/htonl.c: Likewise.
19765 * inet/setipv4sourcefilter.c: Likewise.
19766 * inet/setsourcefilter.c: Likewise.
19767 * inet/test-inet6_opt.c: Likewise.
19768 * inet/tst-network.c: Likewise.
19769 * locale/C-collate.c: Likewise.
19770 * locale/C-ctype.c: Likewise.
19771 * locale/C-time.c: Likewise.
19772 * locale/C-translit.h: Likewise.
19773 * locale/loadarchive.c: Likewise.
19774 * locale/programs/3level.h: Likewise.
19775 * locale/programs/charmap.c: Likewise.
19776 * locale/programs/charmap.h: Likewise.
19777 * locale/programs/ld-address.c: Likewise.
19778 * locale/programs/ld-collate.c: Likewise.
19779 * locale/programs/ld-ctype.c: Likewise.
19780 * locale/programs/ld-identification.c: Likewise.
19781 * locale/programs/ld-measurement.c: Likewise.
19782 * locale/programs/ld-messages.c: Likewise.
19783 * locale/programs/ld-monetary.c: Likewise.
19784 * locale/programs/ld-name.c: Likewise.
19785 * locale/programs/ld-numeric.c: Likewise.
19786 * locale/programs/ld-paper.c: Likewise.
19787 * locale/programs/ld-telephone.c: Likewise.
19788 * locale/programs/ld-time.c: Likewise.
19789 * locale/programs/linereader.c: Likewise.
19790 * locale/programs/locale.c: Likewise.
19791 * locale/programs/locarchive.c: Likewise.
19792 * locale/programs/locfile.h: Likewise.
19793 * locale/programs/repertoire.c: Likewise.
19794 * locale/programs/simple-hash.c: Likewise.
19795 * locale/programs/simple-hash.h: Likewise.
19796 * malloc/memusage.c: Likewise.
19797 * malloc/memusagestat.c: Likewise.
19798 * nis/nis_defaults.c: Likewise.
19799 * nis/nis_hash.c: Likewise.
19800 * nis/nis_print.c: Likewise.
19801 * nis/nis_xdr.c: Likewise.
19802 * nscd/connections.c: Likewise.
19803 * nscd/hstcache.c: Likewise.
19804 * nscd/nscd_gethst_r.c: Likewise.
19805 * nscd/nscd_getserv_r.c: Likewise.
19806 * nscd/nscd_helper.c: Likewise.
19807 * nscd/servicescache.c: Likewise.
19808 * nss/makedb.c: Likewise.
19809 * nss/nss_db/db-XXX.c: Likewise.
19810 * nss/nss_db/db-initgroups.c: Likewise.
19811 * nss/nss_db/db-netgrp.c: Likewise.
19812 * nss/nss_files/files-network.c: Likewise.
19813 * nss/nss_files/files-parse.c: Likewise.
19814 * posix/bug-regex5.c: Likewise.
19815 * posix/fnmatch_loop.c: Likewise.
19816 * posix/regcomp.c: Likewise.
19817 * posix/regexec.c: Likewise.
19818 * posix/tst-rfc3484-2.c: Likewise.
19819 * posix/tst-rfc3484-3.c: Likewise.
19820 * posix/tst-rfc3484.c: Likewise.
19821 * resolv/nss_dns/dns-canon.c: Likewise.
19822 * resolv/nss_dns/dns-network.c: Likewise.
19823 * resolv/res_init.c: Likewise.
19824 * resolv/res_mkquery.c: Likewise.
19825 * resolv/tst-aton.c: Likewise.
19826 * stdlib/cxa_atexit.c: Likewise.
19827 * stdlib/cxa_finalize.c: Likewise.
19828 * stdlib/gen-fpioconst.c: Likewise.
19829 * stdlib/strtol_l.c: Likewise.
19830 * string/tst-endian.c: Likewise.
19831 * sunrpc/auth_des.c: Likewise.
19832 * sunrpc/clnt_udp.c: Likewise.
19833 * sunrpc/rtime.c: Likewise.
19834 * sunrpc/svcauth_des.c: Likewise.
19835 * sunrpc/xdr.c: Likewise.
19836 * sunrpc/xdr_intXX_t.c: Likewise.
19837 * sunrpc/xdr_rec.c: Likewise.
19838 * sysdeps/generic/ldconfig.h: Likewise.
19839 * sysdeps/generic/ldsodefs.h: Likewise.
19840 * sysdeps/generic/memusage.h: Likewise.
19841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19843 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19851 * sysdeps/posix/getaddrinfo.c: Likewise.
19852 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19853 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19854 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19855 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19856 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19857 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19858 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19859 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19860 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19861 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19862 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19863 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19864 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19865 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19866 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19867 * sysdeps/x86_64/dl-tls.h: Likewise.
19868 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19869 * time/alt_digit.c: Likewise.
19870 * time/era.c: Likewise.
19871 * wcsmbs/tst-c16c32-1.c: Likewise.
19872
198732013-05-16 Joseph Myers <joseph@codesourcery.com>
19874
19875 * math/libm-test.inc (struct test_sincos_data): New type.
19876 (RUN_TEST_LOOP_sincos): New macro.
19877 (sincos_test_data): New variable.
19878 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19879
198802013-05-16 Richard Henderson <rth@redhat.com>
19881
19882 * math/atest-exp2.c (LIMB64): New macro.
19883 (CONSTSZ): New macro.
19884 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19885 (hexdig): Move ...
19886 (print_mpn_fp): ... to function scope.
19887 (read_mpn_hex): Remove.
19888 (get_log2): Remove.
19889 (exp2_mpn): Use mp_log2.
19890 (main): Use mp_exp1.
19891
198922013-05-16 Joseph Myers <joseph@codesourcery.com>
19893
19894 * math/libm-test.inc: Remove comment about not testing "inexact"
19895 exceptions.
19896 (INEXACT_EXCEPTION): New macro.
19897 (NO_INEXACT_EXCEPTION): Likewise.
19898 (INVALID_EXCEPTION_OK): Update value.
19899 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19900 (OVERFLOW_EXCEPTION_OK): Likewise.
19901 (UNDERFLOW_EXCEPTION_OK): Likewise.
19902 (IGNORE_ZERO_INF_SIGN): Likewise.
19903 (ERRNO_UNCHANGED): Likewise.
19904 (ERRNO_EDOM): Likewise.
19905 (ERRNO_ERANGE): Likewise.
19906 (test_exceptions): Handle testing "inexact" exceptions.
19907 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19908 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19909 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19910 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19911 INEXACT_EXCEPTION.
19912 (rint_towardzero_test_data): Likewise.
19913 (rint_downward_test_data): Likewise.
19914 (rint_upward_test_data): Likewise.
19915
19916 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19917 with OVERFLOW_EXCEPTION.
19918 (exp10_test_data): Likewise.
19919 (exp2_test_data): Likewise.
19920 (expm1_test_data): Likewise.
19921 (lgamma_test_data): Likewise.
19922 (pow_test_data): Likewise.
19923 (tgamma_test_data): Likewise.
19924 (yn_test_data): Remove duplicate test of overflow.
19925
19926 * math/libm-test.inc (struct test_cc_c_data): New type.
19927 (RUN_TEST_LOOP_cc_c): New macro.
19928 (cpow_test_data): New variable.
19929 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19930
19931 * math/libm-test.inc (struct test_f_L_data): New type.
19932 (RUN_TEST_LOOP_f_L): New macro.
19933 (llrint_test_data): New variable.
19934 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19935 (llrint_tonearest_test_data): New variable.
19936 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19937 (llrint_towardzero_test_data): New variable.
19938 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19939 (llrint_downward_test_data): New variable.
19940 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19941 (llrint_upward_test_data): New variable.
19942 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19943 (llround_test_data): New variable.
19944 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19945
199462013-05-13 Peter Collingbourne <pcc@google.com>
19947
19948 * math/atest-exp2.c (get_log2): Remove const attribute.
19949
199502013-05-15 Joseph Myers <joseph@codesourcery.com>
19951
19952 * math/libm-test.inc (struct test_f_l_data): New type.
19953 (RUN_TEST_LOOP_f_l): New macro.
19954 (lrint_test_data): New variable.
19955 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19956 (lrint_tonearest_test_data): New variable.
19957 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19958 (lrint_towardzero_test_data): New variable.
19959 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19960 (lrint_downward_test_data): New variable.
19961 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19962 (lrint_upward_test_data): New variable.
19963 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19964 (lround_test_data): New variable.
19965 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19966
199672013-05-15 Peter Collingbourne <pcc@google.com>
19968
19969 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19970 (EXTRACT_WORDS64) Use where appropriate.
19971 (INSERT_WORDS64) Likewise.
19972
19973 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19974 constraints with x constraints.
19975 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19976
19977 * malloc/obstack.c (_obstack_compat): Add initializer.
19978
199792013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19980
19981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19982 si_trapno and add si_addr_lsb to _sifields.sigfault.
19983 (si_trapno): Remove macro.
19984 (si_addr_lsb): Define new macro.
19985 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19986
199872013-05-15 Joseph Myers <joseph@codesourcery.com>
19988
19989 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19990 instead of TEST_f_l.
19991 (llrint_test_tonearest): Likewise.
19992 (llrint_test_towardzero): Likewise.
19993 (llrint_test_downward): Likewise.
19994 (llrint_test_upward): Likewise.
19995 (llround_test): Likewise.
19996
19997 * math/libm-test.inc (struct test_f_i_data): Add comment.
19998 (RUN_TEST_LOOP_f_b): New macro.
19999 (RUN_TEST_LOOP_f_b_tg): Likewise.
20000 (finite_test_data): New variable.
20001 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20002 (isfinite_test_data): New variable.
20003 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20004 (isinf_test_data): New variable.
20005 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20006 (isnan_test_data): New variable.
20007 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20008 (isnormal_test_data): New variable.
20009 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20010 (issignaling_test_data): New variable.
20011 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20012 (signbit_test_data): New variable.
20013 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20014
20015 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20016 with INVALID_EXCEPTION.
20017 (acosh_test_data): Likewise.
20018 (asin_test_data): Likewise.
20019 (atanh_test_data): Likewise.
20020 (fmod_test_data): Likewise.
20021 (log_test_data): Likewise.
20022 (log10_test_data): Likewise.
20023 (log2_test_data): Likewise.
20024 (pow_test_data): Likewise.
20025 (sqrt_test_data): Likewise.
20026 (y0_test_data): Likewise.
20027 (y1_test_data): Likewise.
20028 (yn_test_data): Likewise.
20029
20030 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20031 function contents.
20032
20033 * math/libm-test.inc (struct test_ff_i_data): New type.
20034 (RUN_TEST_LOOP_ff_i_tg): New macro.
20035 (isgreater_test_data): New variable.
20036 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20037 (isgreaterequal_test_data): New variable.
20038 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20039 (isless_test_data): New variable.
20040 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20041 (islessequal_test_data): New variable.
20042 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20043 (islessgreater_test_data): New variable.
20044 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20045 (isunordered_test_data): New variable.
20046 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20047
200482013-05-14 David S. Miller <davem@davemloft.net>
20049
20050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20051
200522013-05-14 Joseph Myers <joseph@codesourcery.com>
20053
20054 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20055
20056 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20057 extra_test to int.
20058 (struct test_f_i_data): Change type of max_ulp to int.
20059
20060 * math/libm-test.inc (test_ffI_f1_data): New type.
20061 (RUN_TEST_LOOP_ffI_f1): New macro.
20062 (remquo_test_data): New variable.
20063 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20064
20065 * setjmp/tst-setjmp-fp.c: New file.
20066 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20067 (link-libm): New variable.
20068 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20069
20070 * math/libm-test.inc (struct test_f_i_data): New type.
20071 (RUN_TEST_LOOP_f_i): New macro.
20072 (RUN_TEST_LOOP_f_i_tg): Likewise.
20073 (fpclassify_test_data): New variable.
20074 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20075 (ilogb_test_data): New variable.
20076 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20077
20078 * math/libm-test.inc (scalbln_test): Correct function name in END
20079 call.
20080
20081 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20082 (RUN_TEST_LOOP_fI_f1): New macro.
20083 (frexp_test_data): New variable.
20084 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20085
20086 * math/libm-test.inc (struct test_fF_f1_data): New type.
20087 (RUN_TEST_LOOP_fF_f1): New macro.
20088 (modf_test_data): New variable.
20089 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20090
20091 * math/libm-test.inc (struct test_f_f1_data): New type.
20092 (RUN_TEST_LOOP_f_f1): New macro.
20093 (gamma_test_data): New variable.
20094 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20095 (lgamma_test_data): New variable.
20096 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20097
200982013-05-13 Carlos O'Donell <carlos@redhat.com>
20099
20100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20101 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20102 (main): Comment "tls" pseudo-hwcap.
20103
201042013-05-13 Joseph Myers <joseph@codesourcery.com>
20105
20106 * math/libm-test.inc (struct test_fl_f_data): New type.
20107 (RUN_TEST_LOOP_fl_f): New variable.
20108 (scalbln_test_data): New variable.
20109 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20110
20111 * math/libm-test.inc (struct test_fi_f_data): New type.
20112 (RUN_TEST_LOOP_fi_f): New macro.
20113 (ldexp_test_data): New variable.
20114 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20115 (scalbn_test_data): New variable.
20116 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20117
20118 * math/libm-test.inc (struct test_c_f_data): New type.
20119 (RUN_TEST_LOOP_c_f): New macro.
20120 (cabs_test_data): New variable.
20121 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20122 (carg_test_data): New variable.
20123 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20124 (cimag_test_data): New variable.
20125 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20126 (creal_test_data): New variable.
20127 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20128
20129 * math/libm-test.inc (struct test_if_f_data): New type.
20130 (RUN_TEST_LOOP_if_f): New macro.
20131 (jn_test_data): New variable.
20132 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20133 (yn_test_data): New variable.
20134 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20135
20136 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20137
201382013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20139
20140 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20141 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20142
201432013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20144
20145 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20146 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20147 (bench-deps): Add bench-timing.h.
20148 * benchtests-bench-skeleton.c: Include bench-timing.h.
20149 (main): Use TIMING_* macros instead of clock_gettime.
20150 * benchtests/bench-timing.h: New file.
20151
20152 [BZ #14582]
20153 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20154 Renamed from _LIB_VERSION.
20155 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20156
201572013-05-12 Joseph Myers <joseph@codesourcery.com>
20158
20159 * math/libm-test.inc (struct test_fff_f_data): New type.
20160 (RUN_TEST_LOOP_fff_f): New macro.
20161 (fma_test_data): New variable.
20162 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20163 (fma_towardzero_test_data): New variable.
20164 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20165 (fma_downward_test_data): New variable.
20166 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20167 (fma_upward_test_data): New variable.
20168 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20169
20170 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20171 (struct test_c_c_data): New type.
20172 (RUN_TEST_LOOP_c_c): New macro.
20173 (cacos_test_data): New variable.
20174 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20175 (cacosh_test_data): New variable.
20176 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20177 (casin_test_data): New variable.
20178 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20179 (casinh_test_data): New variable.
20180 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20181 (catan_test_data): New variable.
20182 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20183 (catanh_test_data): New variable.
20184 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20185 (ccos_test_data): New variable.
20186 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20187 (ccosh_test_data): New variable.
20188 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20189 (cexp_test_data): New variable.
20190 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20191 (clog_test_data): New variable.
20192 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20193 (clog10_test_data): New variable.
20194 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20195 (conj_test_data): New variable.
20196 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20197 (cproj_test_data): New variable.
20198 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20199 (csin_test_data): New variable.
20200 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20201 (csinh_test_data): New variable.
20202 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20203 (csqrt_test_data): New variable.
20204 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20205 (ctan_test_data): New variable.
20206 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20207 (ctan_tonearest_test_data): New variable.
20208 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20209 (ctan_towardzero_test_data): New variable.
20210 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20211 (ctan_downward_test_data): New variable.
20212 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20213 (ctan_upward_test_data): New variable.
20214 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20215 (ctanh_test_data): New variable.
20216 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20217 (ctanh_tonearest_test_data): New variable.
20218 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20219 (ctanh_towardzero_test_data): New variable.
20220 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20221 (ctanh_downward_test_data): New variable.
20222 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20223 (ctanh_upward_test_data): New variable.
20224 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20225 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20226 of BUILD_COMPLEX.
20227
20228 * math/libm-test.inc (struct test_ff_f_data): New type.
20229 (struct test_ff_f_data_nexttoward): Likewise.
20230 (RUN_TEST_LOOP_2_f): New macro.
20231 (RUN_TEST_LOOP_ff_f): Likewise.
20232 (atan2_test_data): New variable.
20233 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20234 (copysign_test_data): New variable.
20235 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20236 (fdim_test_data): New variable.
20237 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20238 (fmax_test_data): New variable.
20239 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20240 (fmin_test_data): New variable.
20241 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20242 (fmod_test_data): New variable.
20243 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20244 (hypot_test_data): New variable.
20245 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20246 (nextafter_test_data): New variable.
20247 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20248 (nexttoward_test_data): New variable.
20249 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20250 (pow_test_data): New variable.
20251 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20252 (pow_tonearest_test_data): New variable.
20253 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20254 (pow_towardzero_test_data): New variable.
20255 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20256 (pow_downward_test_data): New variable.
20257 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20258 (pow_upward_test_data): New variable.
20259 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20260 (remainder_test_data): New variable.
20261 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20262 (scalb_test_data): New variable.
20263 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20264 * sysdeps/i386/fpu/libm-test-ulps: Update.
20265
202662013-05-11 Joseph Myers <joseph@codesourcery.com>
20267
20268 * math/libm-test.inc (fma_test): Use max_value instead of local
20269 variable fltmax.
20270 (nextafter_test): Likewise.
20271
20272 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20273 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20274 (acos_downward_test_data): New variable.
20275 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20276 (acos_upward_test_data): New variable.
20277 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20278 (acosh_test_data): New variable.
20279 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20280 (asin_test_data): New variable.
20281 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20282 (asin_tonearest_test_data): New variable.
20283 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20284 (asin_towardzero_test_data): New variable.
20285 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20286 (asin_downward_test_data): New variable.
20287 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20288 (asin_upward_test_data): New variable.
20289 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20290 (asinh_test_data): New variable.
20291 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20292 (atan_test_data): New variable.
20293 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20294 (atanh_test_data): New variable.
20295 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20296 (cbrt_test_data): New variable.
20297 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20298 (ceil_test_data): New variable.
20299 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20300 (cos_test_data): New variable.
20301 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20302 (cos_tonearest_test_data): New variable.
20303 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20304 (cos_towardzero_test_data): New variable.
20305 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20306 (cos_downward_test_data): New variable.
20307 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20308 (cos_upward_test_data): New variable.
20309 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20310 (cosh_test_data): New variable.
20311 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20312 (cosh_tonearest_test_data): New variable.
20313 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20314 (cosh_towardzero_test_data): New variable.
20315 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20316 (cosh_downward_test_data): New variable.
20317 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20318 (cosh_upward_test_data): New variable.
20319 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20320 (erf_test_data): New variable.
20321 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20322 (erfc_test_data): New variable.
20323 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20324 (exp_test_data): New variable.
20325 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20326 (exp_tonearest_test_data): New variable.
20327 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20328 (exp_towardzero_test_data): New variable.
20329 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20330 (exp_downward_test_data): New variable.
20331 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20332 (exp_upward_test_data): New variable.
20333 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20334 (exp10_test_data): New variable.
20335 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20336 (exp2_test_data): New variable.
20337 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20338 (expm1_test_data): New variable.
20339 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20340 (fabs_test_data): New variable.
20341 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20342 (floor_test_data): New variable.
20343 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20344 (j0_test_data): New variable.
20345 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20346 (j1_test_data): New variable.
20347 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20348 (log_test_data): New variable.
20349 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20350 (log10_test_data): New variable.
20351 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20352 (log1p_test_data): New variable.
20353 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20354 (log2_test_data): New variable.
20355 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20356 (logb_test_data): New variable.
20357 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20358 (logb_downward_test_data): New variable.
20359 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20360 (nearbyint_test_data): New variable.
20361 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20362 (rint_test_data): New variable.
20363 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20364 (rint_tonearest_test_data): New variable.
20365 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20366 (rint_towardzero_test_data): New variable.
20367 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20368 (rint_downward_test_data): New variable.
20369 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20370 (rint_upward_test_data): New variable.
20371 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20372 (round_test_data): New variable.
20373 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20374 (sin_test_data): New variable.
20375 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20376 (sin_tonearest_test_data): New variable.
20377 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20378 (sin_towardzero_test_data): New variable.
20379 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20380 (sin_downward_test_data): New variable.
20381 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20382 (sin_upward_test_data): New variable.
20383 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20384 (sinh_test_data): New variable.
20385 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20386 (sinh_tonearest_test_data): New variable.
20387 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20388 (sinh_towardzero_test_data): New variable.
20389 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20390 (sinh_downward_test_data): New variable.
20391 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20392 (sinh_upward_test_data): New variable.
20393 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20394 (sqrt_test_data): New variable.
20395 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20396 (tan_test_data): New variable.
20397 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20398 (tan_tonearest_test_data): New variable.
20399 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20400 (tan_towardzero_test_data): New variable.
20401 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20402 (tan_downward_test_data): New variable.
20403 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20404 (tan_upward_test_data): New variable.
20405 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20406 (tanh_test_data): New variable.
20407 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20408 (tgamma_test_data): New variable.
20409 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20410 (trunc_test_data): New variable.
20411 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20412 (y0_test_data): New variable.
20413 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20414 (y1_test_data): New variable.
20415 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20416 (significand_test_data): New variable.
20417 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20418
204192013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20420
20421 [BZ #12387]
20422 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20423
204242013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20425
20426 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20427
204282013-05-10 Andreas Jaeger <aj@suse.de>
20429
20430 [BZ #15448]
20431 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20432 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20433
204342013-05-10 Joseph Myers <joseph@codesourcery.com>
20435
20436 * math/gen-libm-test.pl (adjust_arg): New function.
20437 (special_functions): Handle generating output in both functions
20438 and arrays.
20439 (parse_args): Likewise.
20440 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20441 $in_func argument to parse_args.
20442 * math/libm-test.inc (struct test_f_f_data): New type.
20443 (IF_ROUND_INIT_): New macro.
20444 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20445 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20446 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20447 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20448 (ROUND_RESTORE_): Likewise.
20449 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20450 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20451 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20452 (ROUND_RESTORE_FE_UPWARD): Likewise.
20453 (RUN_TEST_LOOP_f_f): New macro.
20454 (acos_test_data): New variable.
20455 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20456 (acos_tonearest_test_data): New variable.
20457 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20458
204592013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20460
20461 * benchtests/bench-skeleton.c (startup): Fix coding style.
20462
204632013-05-10 Joseph Myers <joseph@codesourcery.com>
20464
20465 [BZ #6809]
20466 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20467 negative infinity argument.
20468 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20469 negative infinity argument.
20470 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20471 negative infinity argument.
20472 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20473 domain errors.
20474
204752013-05-10 Florian Weimer <fweimer@redhat.com>
20476
20477 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20478 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20479 * iconv/iconv_prog.c (main): Likewise.
20480 * locale/programs/charmap-dir.c (charmap_readdir)
20481 (fopen_uncompressed): Likewise.
20482 * locale/programs/locfile.c (siblings_uncached)
20483 (write_locale_data): Use lstat64 instead of lstat.
20484 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20485 stat.
20486
204872013-05-10 Andreas Jaeger <aj@suse.de>
20488
20489 [BZ #15395]
20490 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20491 localization.
20492 Include <locale.h>.
20493
204942013-05-09 Carlos O'Donell <carlos@redhat.com>
20495
20496 * elf/dl-close.c (_dl_close_worker): Add comments.
20497
204982013-05-09 Joseph Myers <joseph@codesourcery.com>
20499
20500 [BZ #15359]
20501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20502 high part of pi/2.
20503 (__ieee754_rem_pio2l): Update comments.
20504
20505 [BZ #15429]
20506 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20507 high part of pi/2.
20508 (__ieee754_rem_pio2l): Update comments.
20509
20510 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20511 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20512
20513 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20514 M_PI_4l.
20515
20516 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20517 (M_PI_34_LOG10El): Likewise.
20518 (M_PI2_LOG10El): Likewise.
20519 (M_PI4_LOG10El): Likewise.
20520 (M_PI_LOG10El): Likewise.
20521
205222013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20523
20524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20525
205262013-05-08 Joseph Myers <joseph@codesourcery.com>
20527
20528 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20529 (MINUS_ZERO_INIT): Likewise.
20530 (PLUS_INFTY_INIT): Likewise.
20531 (MINUS_INFTY_INIT): Likewise.
20532 (QNAN_VALUE_INIT): Likewise.
20533 (MAX_VALUE_INIT): Likewise.
20534 (MIN_VALUE_INIT): Likewise.
20535 (MIN_SUBNORM_VALUE_INIT): Likewise.
20536 (plus_zero): Initialize with PLUS_ZERO_INIT.
20537 (minus_zero): Initialize with MINUS_ZERO_INIT.
20538 (plus_infty): Initialize with PLUS_INFTY_INIT.
20539 (minus_infty): Initialize with MINUS_INFTY_INIT.
20540 (qnan_value): Initialize with QNAN_VALUE_INIT.
20541 (max_value): Initialize with MAX_VALUE_INIT.
20542 (min_value): Initialize with MIN_VALUE_INIT.
20543 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20544
20545 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20546 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20547 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20548 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20549
20550 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20551 (RUN_TEST_2_f): Likewise.
20552 (RUN_TEST_ff_f): Likewise.
20553 (RUN_TEST_fi_f): Likewise.
20554 (RUN_TEST_fl_f): Likewise.
20555 (RUN_TEST_fff_f): Likewise.
20556 (RUN_TEST_c_f): Likewise.
20557 (RUN_TEST_f_f1): Likewise.
20558 (RUN_TEST_fF_f1): Likewise.
20559 (RUN_TEST_fI_f1): Likewise.
20560 (RUN_TEST_ffI_f1): Likewise.
20561 (RUN_TEST_c_c): Likewise.
20562 (RUN_TEST_cc_c): Likewise.
20563 (RUN_TEST_f_i): Likewise.
20564 (RUN_TEST_f_i_tg): Likewise.
20565 (RUN_TEST_ff_i_tg): Likewise.
20566 (RUN_TEST_f_b): Likewise.
20567 (RUN_TEST_f_b_tg): Likewise.
20568 (RUN_TEST_f_l): Likewise.
20569 (RUN_TEST_f_L): Likewise.
20570 (RUN_TEST_sincos): Likewise.
20571 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20572 whether to show exceptions. Do not include ");\n" in return
20573 value.
20574 (special_functions): Output call to RUN_TEST_sincos instead of
20575 check_float calls. Update calls to new_test.
20576 (parse_args): Output call to single RUN_TEST_* macro instead of
20577 check_* calls and other assignments. Update calls to new_test.
20578
20579 [BZ #2546]
20580 [BZ #2560]
20581 [BZ #5159]
20582 [BZ #15426]
20583 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20584 input to result for tgamma overflow.
20585 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20586 (gamma_coeff): New variable.
20587 (NCOEFF): New macro.
20588 (gamma_positive): New function.
20589 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20590 underflow here. Use gamma_positive instead of exp (lgamma) for
20591 other arguments.
20592 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20593 (gamma_coeff): New variable.
20594 (NCOEFF): New macro.
20595 (gammaf_positive): New function.
20596 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20597 underflow here. Use gamma_positive instead of exp (lgamma) for
20598 other arguments.
20599 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20600 (gamma_coeff): New variable.
20601 (NCOEFF): New macro.
20602 (gammal_positive): New function.
20603 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20604 underflow here. Use gamma_positive instead of exp (lgamma) for
20605 other arguments.
20606 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20607 (gamma_coeff): New variable.
20608 (NCOEFF): New macro.
20609 (gammal_positive): New function.
20610 (__ieee754_gammal_r): Handle positive infinity, overflow and
20611 underflow here. Handle NaN the same as positive infinity. Remove
20612 check x < 0xffffffff for negative integers. Use gamma_positive
20613 instead of exp (lgamma) for other arguments.
20614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20615 (gamma_coeff): New variable.
20616 (NCOEFF): New macro.
20617 (gammal_positive): New function.
20618 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20619 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20620 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20621 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20622 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20623 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20624 * sysdeps/generic/math_private.h (__gamma_productf): New
20625 prototype.
20626 (__gamma_product): Likewise.
20627 (__gamma_productl): Likewise.
20628 * math/Makefile (libm-calls): Add gamma_product.
20629 * math/libm-test.inc (tgamma_test): Add more tests.
20630 * sysdeps/i386/fpu/libm-test-ulps: Update.
20631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20632
206332013-05-08 Ondřej Bílka <neleai@seznam.cz>
20634
20635 * benchtests/bench-skeleton.c (main): Preheat CPU.
20636
206372013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20638
20639 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20640
206412013-05-07 Roland McGrath <roland@hack.frob.com>
20642
20643 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20644 and _dl_skip_args_internal.
20645
206462013-05-07 Carlos O'Donell <carlos@redhat.com>
20647
20648 * manual/message.texi (Message Translation): Talk about users.
20649 Message to key mapping impacts design.
20650
206512013-05-06 Roland McGrath <roland@hack.frob.com>
20652
20653 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20654
20655 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20656
20657 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20658 * sysdeps/wordsize-64/glob64.c: ... here.
20659
20660 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20661 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20662 New macros.
20663
20664 * debug/getlogin_r_chk.c: Moved to ...
20665 * login/getlogin_r_chk.c: ... here.
20666 * debug/Makefile (routines): Move getlogin_r_chk to ...
20667 * login/Makefile (routines): ... here.
20668 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20669 * login/Versions (libc: GLIBC_2.4): ... here.
20670
20671 * io/poll.c (__poll): Renamed from poll.
20672 Add libc_hidden_def.
20673 (poll): Define as weak alias.
20674
20675 * debug/ptsname_r_chk.c: Moved to ...
20676 * login/ptsname_r_chk.c: ... here.
20677 * debug/Makefile (routines): Move ptsname_r_chk to ...
20678 * login/Makefile (routines): ... here.
20679 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20680 * login/Versions (libc: GLIBC_2.4): ... here.
20681
20682 * posix/getlogin.c: Moved to ...
20683 * login/getlogin.c: ... here.
20684 * posix/getlogin_r.c: Moved to ...
20685 * login/getlogin_r.c: ... here.
20686 * posix/getlogin_r.c: Moved to ...
20687 * login/getlogin_r.c: ... here.
20688 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20689 * login/Makefile (routines): ... here.
20690 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20691 * login/Versions (libc: GLIBC_2.0): ... here.
20692
20693 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20694 (setrlimit): Define as weak alias.
20695
20696 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20697 Call __ names for open, ftruncate, and close.
20698 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20699 (truncate): Define as weak alias.
20700
207012013-05-06 Joseph Myers <joseph@codesourcery.com>
20702
20703 * math/gen-libm-test.pl (parse_args): Initialize x before each
20704 test of frexp, modf and remquo.
20705
20706 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20707 test signgam value.
20708
207092013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20710
20711 [BZ #15418]
20712 [BZ #15419]
20713 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20714 internal tests.
20715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20716
207172013-05-06 Roland McGrath <roland@hack.frob.com>
20718
20719 * elf/dl-writev.h: New file.
20720 * elf/dl-misc.c: Include it.
20721 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20722 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20723
207242013-05-04 Joseph Myers <joseph@codesourcery.com>
20725
20726 * math/libm-test.inc (noXFails): Remove variable.
20727 (noXPasses): Likewise.
20728 (BUILD_COMPLEX_INT): Remove macro.
20729 (print_screen): Remove xfail argument.
20730 (print_screen_max_error): Likewise.
20731 (update_stats): Likewise.
20732 (print_max_error): Likewise. Update calls to other affected
20733 functions.
20734 (print_complex_max_error): Likewise.
20735 (test_single_exception): Update calls to print_screen.
20736 (test_single_errno): Likewise.
20737 (check_float_internal): Remove xfail argument. Update calls to
20738 other affected functions.
20739 (check_float): Likewise.
20740 (check_complex): Likewise.
20741 (check_int): Likewise.
20742 (check_long): Likewise.
20743 (check_bool): Likewise.
20744 (check_longlong): Likewise.
20745 (main): Don't print noXFails and noXPasses.
20746 * math/gen-libm-test.pl (top level): Don't mention expected
20747 failure handling in comment.
20748 (new_test): Don't handle expected failures.
20749 (parse_args): Don't mention expected failure handling in comment.
20750 (generate_testfile): Don't handle expected failures.
20751 (parse_ulps): Likewise.
20752 (print_ulps_file): Likewise.
20753 (get_failure): Remove function.
20754 (output_test): Don't handle expected failures.
20755 * make/README.libm-test: Don't mention expected failure handling.
20756
20757 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20758 (minus_zero): Likewise.
20759 (plus_infty): Likewise.
20760 (minus_infty): Likewise.
20761 (qnan_value): Likewise.
20762 (max_value): Likewise.
20763 (min_value): Likewise.
20764 (min_subnorm_value): Likewise.
20765 (initialize): Do not initialize those variables dynamically.
20766
207672013-05-03 Roland McGrath <roland@hack.frob.com>
20768
20769 * io/open.c (__open_2): Moved to ...
20770 * io/open_2.c: ... this new file.
20771 * io/open64.c (__open64_2): Moved to ...
20772 * io/open64_2.c: ... this new file.
20773 * io/openat.c (__openat_2): Moved to ...
20774 * io/openat_2.c: ... this new file.
20775 * io/openat64.c (__openat64_2): Moved to ...
20776 * io/openat64_2.c: ... this new file.
20777 * io/Makefile (routines): Add them.
20778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20779 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20780 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20781 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20782 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20783 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20784 (__openat64): Add hidden_ver.
20785 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20786 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20787
20788 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20789 Separately conditionalize setting of GLRO(dl_sysinfo) so
20790 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20791 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20792
207932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20794
20795 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20797 definition.
20798 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20799 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20800 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20801 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20802 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20803
208042013-05-03 Joseph Myers <joseph@codesourcery.com>
20805
20806 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20807 test signgam value.
20808
20809 * math/libm-test.inc (hypot_test): Do not use
20810 IGNORE_ZERO_INF_SIGN.
20811
208122013-05-03 Andreas Jaeger <aj@suse.de>
20813
20814 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20815 Linux 3.9.
20816 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20817 (PF_MAX): Adjust for VSOCK change.
20818
208192013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20820
20821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20822
208232013-05-02 Carlos O'Donell <carlos@redhat.com>
20824
20825 [BZ #15264]
20826 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20827 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20828 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20829
208302013-05-02 David S. Miller <davem@davemloft.net>
20831
20832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20833
208342013-05-01 Ondřej Bílka <neleai@seznam.cz>
20835
20836 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20837
208382013-05-01 Roland McGrath <roland@hack.frob.com>
20839
20840 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20841
208422013-05-01 Richard Smith <richard@metafoo.co.uk>
20843
20844 [BZ #14952]
20845 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20846 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20847 Use __attribute__ ((__gnu_inline__)).
20848 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20849 Don't use __attribute__ ((__gnu_inline__)).
20850
208512013-05-01 Joseph Myers <joseph@codesourcery.com>
20852
20853 [BZ #15423]
20854 * math/s_catan.c (__catan): Handle small real or imaginary part of
20855 input specially to avoid spurious underflow.
20856 * math/s_catanf.c (__catanf): Likewise.
20857 * math/s_catanh.c (__catanh): Likewise.
20858 * math/s_catanhf.c (__catanhf): Likewise.
20859 * math/s_catanhl.c (__catanhl): Likewise.
20860 * math/s_catanl.c (__catanl): Likewise.
20861 * math/libm-test.inc (catan_test): Add more tests.
20862 (catanh_test): Likewise.
20863 * sysdeps/i386/fpu/libm-test-ulps: Update.
20864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20865
208662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20867
20868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20869
208702013-04-30 Joseph Myers <joseph@codesourcery.com>
20871
20872 [BZ #15416]
20873 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20874 accurately for denominator in atan2.
20875 * math/s_catanf.c (__catanf): Likewise.
20876 * math/s_catanh.c (__catanh): Likewise.
20877 * math/s_catanhf.c (__catanhf): Likewise.
20878 * math/s_catanhl.c (__catanhl): Likewise.
20879 * math/s_catanl.c (__catanl): Likewise.
20880 * math/libm-test.inc (catan_test): Add more tests.
20881 (catanh_test): Likewise.
20882 * sysdeps/i386/fpu/libm-test-ulps: Update.
20883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20884
208852013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20886
20887 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20888
20889 * benchtests/Makefile (bench): Remove slow benchmarks.
20890 * benchtests/atan-inputs: Add slow benchmark inputs.
20891 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20892 (BENCH_FUNC): Accept variant offset.
20893 (VARIANT): Define.
20894 * benchtests/bench-skeleton.c (main): Run benchmark for each
20895 variant.
20896 * benchtests/cos-inputs: Add slow benchmark inputs.
20897 * benchtests/exp-inputs: Likewise.
20898 * benchtests/pow-inputs: Likewise.
20899 * benchtests/sin-inputs: Likewise.
20900 * benchtests/slowatan-inputs: Remove.
20901 * benchtests/slowatan.c: Remove.
20902 * benchtests/slowcos-inputs: Remove.
20903 * benchtests/slowcos.c: Remove.
20904 * benchtests/slowexp-inputs: Remove.
20905 * benchtests/slowexp.c: Remove.
20906 * benchtests/slowpow-inputs: Remove.
20907 * benchtests/slowpow.c: Remove.
20908 * benchtests/slowsin-inputs: Remove.
20909 * benchtests/slowsin.c: Remove.
20910 * benchtests/slowtan-inputs: Remove.
20911 * benchtests/slowtan.c: Remove.
20912 * benchtests/tan-inputs: Add slow benchmark inputs.
20913 * scripts/bench.pl: Parse comments and directives.
20914
20915 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20916 in CPPFLAGS.
20917 ($(objpfx)bench-%.c): Remove *-ITER.
20918 * benchtests/bench-modf.c: Remove definition of ITER.
20919 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20920 (main): Loop for DURATION seconds instead of fixed number of
20921 iterations.
20922 * scripts/bench.pl: Don't expect iterations in parameters.
20923
209242013-04-29 Roland McGrath <roland@hack.frob.com>
20925
20926 * io/fchdir.c (__fchdir): Renamed from fchdir.
20927 (fchdir): Define as weak alias.
20928
209292013-04-29 Joseph Myers <joseph@codesourcery.com>
20930
20931 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20932 (ERRNO_EDOM): Likewise.
20933 (ERRNO_ERANGE): Likewise.
20934 (noErrnoTests): New variable.
20935 (init_max_error): Set errno to 0.
20936 (test_single_errno): New function.
20937 (test_errno): Likewise.
20938 (check_float_internal): Call test_errno. Set errno to 0.
20939 (check_complex): Refer to errno tests in comment.
20940 (check_int): Call test_errno. Set errno to 0.
20941 (check_long): Likewise.
20942 (check_bool): Likewise.
20943 (check_longlong): Likewise.
20944 (cos_test): Use ERRNO_* flags for errno tests instead of
20945 check_int.
20946 (expm1_test): Likewise.
20947 (fmod_test): Likewise.
20948 (ilogb_test): Likewise.
20949 (lgamma_test): Likewise.
20950 (pow_test): Likewise.
20951 (remainder_test): Likewise.
20952 (sin_test): Likewise.
20953 (tan_test): Likewise.
20954 (yn_test): Likewise.
20955 (initialize): Set errno to 0.
20956 (main): Print number of errno tests.
20957 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20958
209592013-04-29 Andreas Jaeger <aj@suse.de>
20960
20961 [BZ #15084]
20962 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20963 and RES_USEVC.
20964
20965 [BZ #15085]
20966 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20967 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20968 unimplemented.
20969
20970 [BZ #15380]
20971 * stdlib/random.c (__initstate): Return NULL if
20972 __initstate fails.
20973
20974 [BZ #15086]
20975 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20976 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20977 RES_SNGLKUPREOP.
20978
209792013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20980
20981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20982
209832013-04-29 Joseph Myers <joseph@codesourcery.com>
20984
20985 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20986 of individual tests.
20987 (casin_test): Likewise.
20988 (casinh_test): Likewise.
20989
209902013-04-27 Joseph Myers <joseph@codesourcery.com>
20991
20992 [BZ #15409]
20993 * math/s_catan.c (__catan): Handle arguments with large real or
20994 imaginary part separately without squaring.
20995 * math/s_catanf.c (__catanf): Likewise.
20996 * math/s_catanh.c (__catanh): Likewise.
20997 * math/s_catanhf.c (__catanhf): Likewise.
20998 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20999 and redefine.
21000 (__catanhl): Handle arguments with large real or imaginary part
21001 separately without squaring.
21002 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21003 and redefine.
21004 (__catanl): Handle arguments with large real or imaginary part
21005 separately without squaring.
21006 * math/libm-test.inc (catan_test): Add more tests.
21007 (catanh_test): Likewise.
21008 * sysdeps/i386/fpu/libm-test-ulps: Update.
21009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21010
210112013-04-27 Andreas Jaeger <aj@suse.de>
21012
21013 [BZ #15007]
21014 * stdlib/stdlib.h: Update guards for qecvt.
21015 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21016 <stdlib.h>.
21017
210182013-04-27 Allan McRae <allan@archlinux.org>
21019
21020 * sysdeps/i386/fpu/libm-test-ulps: Update.
21021
210222013-04-26 Joseph Myers <joseph@codesourcery.com>
21023
21024 [BZ #15406]
21025 * math/s_catan.c: Include <float.h>.
21026 (__catan): Ensure underflow exception occurs for underflowed
21027 result.
21028 * math/s_catanf.c: Include <float.h>.
21029 (__catanf): Ensure underflow exception occurs for underflowed
21030 result.
21031 * math/s_catanh.c: Include <float.h>.
21032 (__catanh): Ensure underflow exception occurs for underflowed
21033 result.
21034 * math/s_catanhf.c: Include <float.h>.
21035 (__catanhf): Ensure underflow exception occurs for underflowed
21036 result.
21037 * math/s_catanhl.c: Include <float.h>.
21038 (__catanhl): Ensure underflow exception occurs for underflowed
21039 result.
21040 * math/s_catanl.c: Include <float.h>.
21041 (__catanl): Ensure underflow exception occurs for underflowed
21042 result.
21043 * math/libm-test.inc (catan_test): Add more tests.
21044 (catanh_test): Likewise.
21045
21046 [BZ #15405]
21047 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21048 underflowed result.
21049 * math/s_ccoshf.c (__ccoshf): Likewise.
21050 * math/s_ccoshl.c (__ccoshl): Likewise.
21051 * math/s_csin.c (__csin): Likewise.
21052 * math/s_csinf.c (__csinf): Likewise.
21053 * math/s_csinh.c (__csinh): Likewise.
21054 * math/s_csinhf.c (__csinhf): Likewise.
21055 * math/s_csinhl.c (__csinhl): Likewise.
21056 * math/s_csinl.c (__csinl): Likewise.
21057 * math/libm-test.inc (ccos_test): Add more tests.
21058 (ccosh_test): Likewise.
21059 (csin_test): Likewise.
21060 (csinh_test): Likewise.
21061
210622013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21063
21064 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21065 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21066 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21067 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21068 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21069 powerpc/power5+/fpu folders.
21070 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21071
21072
210732013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21074
21075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21076
210772013-04-25 Joseph Myers <joseph@codesourcery.com>
21078
21079 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21080 additions to variable.
21081 [$(config-machine) = x86_64] (modules-names): Likewise.
21082 ($(objpfx)tst-audit3): Remove dependency.
21083 ($(objpfx)tst-audit3.out): Likewise.
21084 ($(objpfx)tst-audit4): Likewise.
21085 ($(objpfx)tst-audit4.out): Likewise.
21086 ($(objpfx)tst-audit5): Likewise.
21087 ($(objpfx)tst-audit5.out): Likewise.
21088 ($(objpfx)tst-audit6): Likewise.
21089 ($(objpfx)tst-audit6.out): Likewise.
21090 ($(objpfx)tst-audit7): Likewise.
21091 ($(objpfx)tst-audit7.out): Likewise.
21092 (tst-audit3-ENV): Remove variable.
21093 (tst-audit4-ENV): Likewise.
21094 (tst-audit5-ENV): Likewise.
21095 (tst-audit6-ENV): Likewise.
21096 (tst-audit7-ENV): Likewise.
21097 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21098 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21099 addition to variable.
21100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21102 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21104 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21105 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21106 tst-audit3, tst-audit4 and tst-audit5.
21107 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21108 tst-audit6 and tst-audit7.
21109 [$(subdir) = elf] (modules-names): Add audit modules for those
21110 tests.
21111 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21112 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21113 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21114 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21115 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21116 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21117 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21118 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21119 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21120 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21121 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21122 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21123 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21124 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21125 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21126 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21127 Likewise.
21128 [$(subdir) = elf && $(config-cflags-avx) = yes]
21129 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21130 [$(subdir) = elf && $(config-cflags-avx) = yes]
21131 (CFLAGS-tst-auditmod4a.c): Likewise.
21132 [$(subdir) = elf && $(config-cflags-avx) = yes]
21133 (CFLAGS-tst-auditmod4b.c): Likewise.
21134 [$(subdir) = elf && $(config-cflags-avx) = yes]
21135 (CFLAGS-tst-auditmod6b.c): Likewise.
21136 [$(subdir) = elf && $(config-cflags-avx) = yes]
21137 (CFLAGS-tst-auditmod6c.c): Likewise.
21138 [$(subdir) = elf && $(config-cflags-avx) = yes]
21139 (CFLAGS-tst-auditmod7b.c): Likewise.
21140 * elf/tst-audit3.c: Move to ...
21141 * sysdeps/x86_64/tst-audit3.c: ... here.
21142 * elf/tst-audit4.c: Move to ...
21143 * sysdeps/x86_64/tst-audit4.c: ... here.
21144 * elf/tst-audit5.c: Move to ...
21145 * sysdeps/x86_64/tst-audit5.c: ... here.
21146 * elf/tst-audit6.c: Move to ...
21147 * sysdeps/x86_64/tst-audit6.c: ... here.
21148 * elf/tst-audit7.c: Move to ...
21149 * sysdeps/x86_64/tst-audit7.c: ... here.
21150 * elf/tst-auditmod3a.c: Move to ...
21151 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21152 * elf/tst-auditmod3b.c: Move to ...
21153 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21154 * elf/tst-auditmod4a.c: Move to ...
21155 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21156 * elf/tst-auditmod4b.c: Move to ...
21157 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21158 * elf/tst-auditmod5a.c: Move to ...
21159 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21160 * elf/tst-auditmod5b.c: Move to ...
21161 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21162 * elf/tst-auditmod6a.c: Move to ...
21163 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21164 * elf/tst-auditmod6b.c: Move to ...
21165 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21166 * elf/tst-auditmod6c.c: Move to ...
21167 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21168 * elf/tst-auditmod7a.c: Move to ...
21169 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21170 * elf/tst-auditmod7b.c: Move to ...
21171 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21172
211732013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21174
21175 [BZ #15366]
21176 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21177 define unconditionally.
21178 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21179 define unconditionally.
21180 (INT8_C, INT16_C, etc.): Likewise.
21181
211822013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21183
21184 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21185 __ehdr_start with hidden visibility.
21186
21187 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21188
211892013-04-24 Carlos O'Donell <carlos@redhat.com>
21190
21191 * math/libm-test.inc (cos_test): Use accurate hex constants.
21192 (sincost_test): Likewise.
21193
211942013-04-24 Joseph Myers <joseph@codesourcery.com>
21195
21196 * math/libm-test.inc (catan_test): Add more tests.
21197 (catanh_test): Likewise.
21198
21199 * math/s_catanf.c (__catanf): Use suffixed floating-point
21200 constants.
21201 * math/s_catanhf.c (__catanhf): Likewise.
21202 * math/s_catanhl.c (__catanhl): Likewise.
21203 * math/s_catanl.c (__catanl): Likewise.
21204
21205 [BZ #15394]
21206 * math/s_catan.c (__catan): Calculate imaginary part of result
21207 with log1p not log unless computing log of number close to 0.
21208 * math/s_catanf.c (__catanf): Likewise.
21209 * math/s_catanl.c (__catanl): Likewise.
21210 * math/s_catanh.c (__catanh): Calculate real part of result with
21211 log1p not log unless computing log of number close to 0.
21212 * math/s_catanhf.c (__catanhf): Likewise.
21213 * math/s_catanhl.c (__catanhl): Likewise.
21214 * math/libm-test.inc (catan_test): Add more tests.
21215 (catanh_test): Likewise.
21216 * sysdeps/i386/fpu/libm-test-ulps: Update.
21217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21218
212192013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21220
21221 * benchtests/Makefile: Mention files in which fast and slow
21222 paths of math functions are implemented.
21223
212242013-04-23 Roland McGrath <roland@hack.frob.com>
21225
21226 * sysdeps/posix/timespec_get.c: New file.
21227
212282013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21229
21230 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21231 POWER.
21232 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21233 for POWER.
21234 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21235 powerpc/power5/fpu folders.
21236 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21237 * benchtests/Makefile: Add modf testcase.
21238 * benchtests/bench-modf.c: New file: Benchmark test for mo
21239
212402013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21241
21242 [BZ #14888]
21243 * time/Makefile (tests): Add tst-strptime-whitespace.
21244 * time/strptime_l.c (get_number): Use ISSPACE.
21245 (__strptime_internal): Likewise.
21246 * time/tst-strptime-whitespace.c: New test case.
21247
212482013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21249
21250 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21251 member.
21252 (_nss_files_init): Set it here.
21253
212542013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21255
21256 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21257 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21258 unsigned.
21259
212602013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21261
21262 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21263
212642013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21265
21266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21267 size just once.
21268
212692013-04-21 David S. Miller <davem@davemloft.net>
21270
21271 * po/ru.po: Update Russion translation from translation project.
21272
212732013-04-17 Adam Conrad <adconrad@0c3.net>
21274
21275 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21276 and setfsgid.
21277
212782013-04-17 Carlos O'Donell <carlos@redhat.com>
21279
21280 * configure.in: Remove i386 configure warning. Remove i386 case.
21281 * configure: Regenerate.
21282 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21283 Add example to error message.
21284 * sysdeps/i386/configure: Regenerate.
21285
212862013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21287
21288 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21289 slowtan.
21290 * benchtests/cos-inputs: New file.
21291 * benchtests/slowcos-inputs: New file.
21292 * benchtests/slowcos.c: New file.
21293 * benchtests/slowtan-inputs: New file.
21294 * benchtests/slowtan.c: New file.
21295 * benchtests/tan-inputs: New file.
21296
212972013-04-16 Roland McGrath <roland@hack.frob.com>
21298
21299 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21300 considered kosher.
21301
213022013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21303
21304 * benchtests/Makefile: Include cppflags-iterator.mk to add
21305 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21306
21307 * Makefile.in (bench-clean): New target.
21308 * benchtests/Makefile (bench-clean): Likewise.
21309
213102013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21311
21312 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21313
213142013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21315
21316 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21317
213182013-04-15 Andreas Schwab <schwab@suse.de>
21319
21320 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21321 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21322 * nscd/pwdcache.c (cache_addpw): Likewise.
21323 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21324 more than recsize.
21325
213262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21327
21328 * benchtests/Makefile (bench): Write all output to
21329 bench-out.tmp together.
21330
213312013-04-15 Andreas Schwab <schwab@suse.de>
21332
21333 * nscd/nscd.c (main): Don't fork again after closing files.
21334
213352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21336
21337 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21338
21339 * benchtests/Rules (bench-deps): Collect dependencies into a
21340 single variable. Add Makefile to dependencies.
21341 ($(objpfx)bench-%.c): Depend on bench-deps.
21342
213432013-04-12 Roland McGrath <roland@hack.frob.com>
21344 Xavier Roche <roche+kml2@exalead.com>
21345
21346 [BZ #15361]
21347 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21348 just that it's a file descriptor.
21349 * manual/llio.texi (Synchronizing AIO Operations): Update description
21350 for EBADF error from aio_fsync.
21351
213522013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21353
21354 * Rules (bench): Move target definition...
21355 * benchtests/Makefile: ... here.
21356
213572013-04-11 Carlos O'Donell <carlos@redhat.com>
21358
21359 * math/libm-test.inc (cos_test): Fix PI/2 test.
21360 (sincos_test): Likewise.
21361 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21362 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21363
213642013-04-11 Andreas Schwab <schwab@suse.de>
21365
21366 [BZ #13988]
21367 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21368 accept exponent character only when digits were seen.
21369 * stdio-common/Makefile (tests): Add bug26.
21370 * stdio-common/bug26.c: New file.
21371
21372 [BZ #14293]
21373 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21374 non-freeable.
21375
213762013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21377
21378 * Makeconfig (rtld-prefix): Define built linker prefix.
21379 * Rules (run-bench): Use it.
21380 * math/Makefile (run-regen-ulps): Likewise.
21381
21382 * Rules (bench): Remove eval.
21383
213842013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21385 Roland McGrath <roland@hack.frob.com>
21386 Ondrej Bilka <neleai@seznam.cz>
21387
21388 [BZ #15346]
21389 * time/getdate.c: Include ctype.h and alloca.h.
21390 (__getdate_r): Trim leading and trailing spaces of input.
21391 * time/tst-getdate.c (tests): Add tests with leading and
21392 trailing spaces.
21393
213942013-04-08 Roland McGrath <roland@hack.frob.com>
21395
21396 [BZ #14280]
21397 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21398 when computing value.
21399
214002013-04-06 Carlos O'Donell <carlos@redhat.com>
21401
21402 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21403 Use testrun.sh to run libm tests.
21404
21405 [BZ #15309]
21406 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21407
214082013-04-06 Marko Myllynen <myllynen@redhat.com>
21409
21410 [BZ #15264]
21411 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21412
214132013-04-06 Carlos O'Donell <carlos@redhat.com>
21414
21415 * Makefile.in (regen-ulps): New target.
21416 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21417 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21418 [ifneq (no,$(PERL)] (regen-ulps): New target.
21419 [ifeq (no,$(PERL)] (regen-ulps): New target.
21420 * math/libm-test.inc (ulps_file_name): Define.
21421 (output_dir): New variable.
21422 (options): Add "output-dir" option.
21423 (parse_opt): Handle 'o' case.
21424 (main): If output_dir is non-NULL use it as a prefix
21425 otherwise use "".
21426 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21427
214282013-04-06 Carlos O'Donell <carlos@redhat.com>
21429
21430 [BZ #10060, #10062]
21431 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21432 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21433 fail configure if __sync_val_compare_and_swap is not inlined.
21434 * sysdeps/i386/configure: Regenerate.
21435 * configure.in: Build for i686 when configured for i386.
21436 * configure: Regenerate.
21437 * README: Remove i386 reference.
21438
214392013-04-06 Carlos O'Donell <carlos@redhat.com>
21440
21441 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21442 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21443
214442013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21445
21446 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21447 (lmsnanval): New variables.
21448 (F): Add conversion tests.
21449 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21450 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21451
21452 * stdio-common/tstdiomisc.c (F): Properly collect individual
21453 tests' results.
21454
21455 [BZ #14686, #15336]
21456 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21457 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21458 Instead, use input NaN values or generate a qNaN by arithmetic
21459 operation. Also fix bugs to comply with the standard.
21460 * math/libm-test.inc (remainder_test): Add more tests.
21461
21462 [BZ #15335, #15342]
21463 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21465 input NaN values or generate a qNaN by arithmetic operation.
21466
21467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21468 unreachable code.
21469
21470 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21471 definitions.
21472
214732013-04-03 Joseph Myers <joseph@codesourcery.com>
21474
21475 [BZ #14478]
21476 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21477 underflowed result.
21478 * math/s_cexpf.c (__cexpf): Likewise.
21479 * math/s_cexpl.c (__cexpl): Likewise.
21480 * math/libm-test.inc (cexp_test): Add more tests.
21481
214822013-04-03 Andreas Schwab <schwab@suse.de>
21483
21484 [BZ #15330]
21485 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21486 order arrays from heap if bigger than alloca cutoff.
21487
214882013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21489
21490 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21491 (SNAN_TESTS_double): Refer to GCC PR56831.
21492 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21493 GCC PR56828.
21494
214952013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21496
21497 * Rules (bench): Move bench.out after the run is complete.
21498
21499 * Rules (bench): Echo currently running benchmark.
21500
21501 * benchtests/Makefile (bench): Add atan and slowatan.
21502 * benchtests/atan-inputs: New file.
21503 * benchtests/slowatan-inputs: New file.
21504 * benchtests/slowatan.c: New file.
21505
21506 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21508 its value.
21509
21510 [BZ #15305]
21511 * sysdeps/unix/sysv/linux/kernel-features.h
21512 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21513 __ASSUME_XFS_RESTRICTED_CHOWN.
21514 * sysdeps/unix/sysv/linux/pathconf.c
21515 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21516 Save and restore errno.
21517
215182013-04-02 Joseph Myers <joseph@codesourcery.com>
21519
21520 [BZ #15327]
21521 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21522 arguments using __kernel_casinh.
21523 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21524 arguments using __kernel_casinhf.
21525 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21526 arguments using __kernel_casinhl.
21527 * math/libm-test.inc (cacosh_test): Add more tests.
21528 * sysdeps/i386/fpu/libm-test-ulps: Update.
21529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21530
215312013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21532
21533 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21535
21536 * bench/Makefile (bench): Add sin and slowsin.
21537 * benchtests/sin-inputs: New file.
21538 * benchtests/slowsin-inputs: New file.
21539 * benchtests/slowsin.c: New file.
21540
21541 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21542 (bench): Add slowexp and slowpow.
21543 (exp-ITER): Increase iterations.
21544 (pow-ITER): Likewise.
21545 * benchtests/exp-inputs: Change input.
21546 * benchtests/pow-inputs: Likewise.
21547 * benchtests/slowexp-inputs: New file.
21548 * benchtests/slowexp.c: New file.
21549 * benchtests/slowpow-inputs: New file.
21550 * benchtests/slowpow.c: New file.
21551
215522013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21553
21554 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21555 instructions.
21556 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21557 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21558 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21559 * benchtests/Makefile: Add rint benchtest.
21560 * benchtests/rint-inputs: Input for rint benchtest.
21561
215622013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21563
21564 * Versions.def (libm): Add GLIBC_2.18.
21565 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21566 hidden libm prototypes.
21567 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21568 * math/Makefile (libm-calls): Add s_issignaling.
21569 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21570 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21571 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21572 declaration.
21573 * math/math.h [__USE_GNU] (issignaling): New macro.
21574 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21575 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21576 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21577 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21580 * manual/arith.texi (issignaling): New section.
21581 * manual/libm-err-tab.pl (@all_functions): Update comment.
21582 * math/gen-libm-test.pl (parse_args): Apply special handling for
21583 issignaling.
21584 * math/libm-test.inc (print_float, issignaling_test): New
21585 functions.
21586 (check_float_internal): Add issignaling checks.
21587 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21588 default definition.
21589 * sysdeps/powerpc/math-tests.h: New file.
21590 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21591 tests.
21592 * math/test-snan.c (TEST_FUNC): Likewise.
21593
215942013-03-30 David S. Miller <davem@davemloft.net>
21595
21596 * po/de.po: Update from translation team.
21597
215982013-03-30 Joseph Myers <joseph@codesourcery.com>
21599
21600 [BZ #10357]
21601 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21602 imaginary part less than 1.0 and real part less than 0.5
21603 specially.
21604 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21605 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21606 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21607 (cacos_test): Add more tests.
21608 (casin_test): Likewise.
21609 (casinh_test): Likewise.
21610 * sysdeps/i386/fpu/libm-test-ulps: Update.
21611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21612
216132013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21614
21615 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21616 ONE with its value.
21617
21618 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21619 (__pow_mp): Replace ONE and MONE with their values.
21620 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21621 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21622 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21623 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21624 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21625 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21626
21627 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21628
21629 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21630 (__pow_mp): Replace ZERO and MZERO with their values.
21631 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21632 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21633 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21635 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21636 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21637 (__sqr): Likewise.
21638
21639 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21640
21641 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21642
216432013-03-28 Roland McGrath <roland@hack.frob.com>
21644
21645 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21646 Declare with __attribute__ ((weak)).
21647 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21648 Call __call_tls_dtors only if it's not NULL.
21649
216502013-03-28 Roland McGrath <roland@hack.frob.com>
21651
21652 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21653 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21654 magic __ehdr_start linker symbol if it's defined.
21655 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21656 them up here if it was already done.
21657
21658 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21659 (_dl_aux_init): Use const in cast when setting it.
21660 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21661 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21662 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21663
21664 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21665 Declare them here.
21666 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21667 * csu/libc-tls.c: Nor here.
21668 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21669
21670 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21671 (__libc_message): Never call vsyslog.
21672
216732013-03-28 Alan Modra <amodra@gmail.com>
21674
21675 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21676 Define as empty.
21677 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21678 Likewise.
21679
216802013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21681
21682 [BZ #15214]
21683 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21684 underflow.
21685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21686
216872013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21688
21689 [BZ #15304]
21690 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21691 Don't add gid passed as argument.
21692
21693 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21694
216952013-03-27 Joseph Myers <joseph@codesourcery.com>
21696
21697 [BZ #15307]
21698 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21699 imaginary part between 1.0 and 1.5 and real part less than 0.5
21700 specially.
21701 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21702 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21703 * math/libm-test.inc (cacos_test): Add more tests.
21704 (casin_test): Likewise.
21705 (casinh_test): Likewise.
21706 * sysdeps/i386/fpu/libm-test-ulps: Update.
21707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21708
217092013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21710
21711 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21712 constants.
21713 (norm): Likewise.
21714 (denorm): Likewise.
21715 (__dbl_mp): Likewise.
21716 (add_magnitudes): Likewise.
21717 (sub_magnitudes): Likewise.
21718 (__add): Likewise.
21719 (__sub): Likewise.
21720 (__mul): Likewise.
21721 (__sqr): Likewise.
21722 (__inv): Likewise.
21723 (__dvd): Likewise.
21724
21725 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21726 commented code.
21727 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21728 (__dubcos): Likewise.
21729 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21730 (__ieee754_acos): Likewise.
21731 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21732 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21733 (__exp1): Likewise.
21734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21735 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21736 (log1): Likewise.
21737 (my_log2): Likewise.
21738 (checkint): Likewise.
21739 * sysdeps/ieee754/dbl-64/e_remainder.c
21740 (__ieee754_remainder): Likewise.
21741 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21743 (bsloww): Likewise.
21744 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21745
21746 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21747 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21748 MANTISSA_STORE_T to store computations on mantissa. Use
21749 macros for rounding and division.
21750 (denorm): Likewise.
21751 (__dbl_mp): Likewise.
21752 (add_magnitudes): Likewise.
21753 (sub_magnitudes): Likewise.
21754 (__mul): Likewise.
21755 (__sqr): Likewise.
21756 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21757 powers of two in terms of TWOPOW macro.
21758 (mp_no): Make type of mantissa as MANTISSA_T.
21759 [!RADIXI]: Define RADIXI.
21760 [!TWO52]: Define TWO52.
21761 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21762
217632013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21764
21765 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21766 llroundl symbol when building for PPC32.
21767
217682013-03-24 Mark H Weaver <mhw@netris.org>
21769
21770 * manual/arith.texi (Normalization Functions): Fix prototypes for
21771 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21772
217732013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21774
21775 [BZ #13889]
21776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21777 high value to check if expl overflow.
21778 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21779 to check for underflow and overflow.
21780 * math/libm-test.inc: Add exp test.
21781
217822013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21783
21784 [BZ #11120]
21785 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21786 with NOT_IN_libc.
21787
217882013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21789
21790 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21791 symbol.
21792
217932013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21794
21795 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21796 wrap blocks consisting of several statements.
21797
21798 * sysdeps/generic/math-tests.h: New file.
21799 * sysdeps/i386/fpu/math-tests.h: Likewise.
21800 * math/test-snan.c: Include it.
21801 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21802
218032013-03-21 Joseph Myers <joseph@codesourcery.com>
21804
21805 [BZ #15285]
21806 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21807 (__ieee754_j0l): Do not improve calculations using cos of twice
21808 input for inputs above LDBL_MAX / 2.0L.
21809 (__ieee754_y0l): Likewise.
21810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21811 (__ieee754_j1l): Do not improve calculations using cos of twice
21812 input for inputs above LDBL_MAX / 2.0L.
21813 (__ieee754_y1l): Likewise.
21814 * math/libm-test.inc (j0_test): Add another test.
21815 (j1_test): Likewise.
21816 (y0_test): Likewise.
21817 (y1_test): Likewise.
21818 * sysdeps/i386/fpu/libm-test-ulps: Update.
21819
218202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21821
21822 * Rules ($(objpfx)bench-%.c): Include code from a C source
21823 file.
21824
218252013-03-21 Joseph Myers <joseph@codesourcery.com>
21826
21827 [BZ #15287]
21828 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21829 imaginary part 1.0 and real part less than 0.5 specially.
21830 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21831 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21832 * math/libm-test.inc (cacos_test): Add more tests.
21833 (casin_test): Likewise.
21834 (casinh_test): Likewise.
21835 * sysdeps/i386/fpu/libm-test-ulps: Update.
21836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21837
218382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21839
21840 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21841 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21842
218432013-03-20 Joseph Myers <joseph@codesourcery.com>
21844
21845 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21846 * config.make.in (config-cflags-sse4): Remove variable.
21847 (config-cflags-avx): Likewise.
21848 (config-cflags-sse2avx): Likewise.
21849 (config-cflags-novzeroupper): Likewise.
21850 (config-asflags-i686): Likewise.
21851 (have-mfma4): Likewise.
21852 (have-as-vis3): Likewise.
21853 (MIG): Likewise.
21854 * configure.in (MIG): Do not AC_SUBST.
21855 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21856 (libc_cv_cc_sse4): Do not AC_SUBST.
21857 (libc_cv_cc_avx): Likewise.
21858 (libc_cv_cc_sse2avx): Likewise.
21859 (libc_cv_cc_novzeroupper): Likewise.
21860 (libc_cv_cc_fma4): Likewise.
21861 (libc_cv_as_i686): Likewise.
21862 (libc_cv_sparc_as_vis3): Likewise.
21863 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21864 LIBC_CONFIG_VAR.
21865 (config-asflags-i686): Likewise.
21866 (config-cflags-avx): Likewise.
21867 (config-cflags-sse2avx): Likewise.
21868 (have-mfma4): Likewise.
21869 (config-cflags-novzeroupper): Likewise.
21870 * sysdeps/mach/configure.in (MIG): Likewise.
21871 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21872 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21873 LIBC_CONFIG_VAR.
21874 (config-cflags-avx): Likewise.
21875 (config-cflags-sse2avx): Likewise.
21876 (have-mfma4): Likewise.
21877 (config-cflags-novzeroupper): Likewise.
21878 * configure: Regenerated.
21879 * sysdeps/i386/configure: Likewise.
21880 * sysdeps/mach/configure: Likewise.
21881 * sysdeps/sparc/configure: Likewise.
21882 * sysdeps/x86_64/configure: Likewise.
21883
218842013-03-20 Roland McGrath <roland@hack.frob.com>
21885
21886 [BZ #14812]
21887 * locale/programs/localedef.c (options): Put N_ translation marker
21888 on argument names, not just descriptions.
21889
218902013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21891
21892 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21893
218942013-03-20 Ondřej Bílka <neleai@seznam.cz>
21895
21896 [BZ #14176]
21897 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21898
218992013-03-19 Roland McGrath <roland@hack.frob.com>
21900
21901 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21902 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21903 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21904 [!BEFORE_ABORT] (before_abort): New function.
21905 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21906 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21907 (writev_for_fatal): New function.
21908 (WRITEV_FOR_FATAL): New macro; call that.
21909 (backtrace_and_maps): New function.
21910 (BEFORE_ABORT): New macro; call that.
21911 (struct str_list): Type removed.
21912 (__libc_message, __libc_fatal): Functions removed.
21913 Include <sysdeps/posix/libc_fatal.c> instead.
21914
219152013-03-19 Joseph Myers <joseph@codesourcery.com>
21916
21917 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21918 constants.
21919 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21920 double constants.
21921
219222013-03-19 Andreas Schwab <schwab@suse.de>
21923
21924 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21925 * sysdeps/gnu/configure: Regenerate.
21926
21927 * configure.in: Substitute libc_cv_rtlddir.
21928 * configure: Regenerate.
21929 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21930 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21931 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21932 * elf/Makefile (install-others, CFLAGS-interp.c)
21933 (ldso_install, common-ldd-rewrite): Likewise.
21934 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21935 $(inst_slibdir)/$(rtld-installed-name).
21936 * scripts/rellns-sh: Add -p option.
21937 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21938 for source.
21939
219402013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21941
21942 * manual/nptl.texi: Renamed to ...
21943 * manual/threads.texi: ... this.
21944 * manual/Makefile (chapters): Update.
21945
219462013-03-18 Roland McGrath <roland@hack.frob.com>
21947
21948 [BZ #14812]
21949 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21950 on argument names, not just descriptions.
21951 * malloc/memusagestat.c (options): Likewise.
21952 * nss/getent.c (options): Likewise.
21953
219542013-03-18 Benno Schulenberg <bensberg@justemail.net>
21955
21956 [BZ #14812]
21957 * iconv/iconv_prog.c (options): Put N_ translation marker
21958 on argument names, not just descriptions.
21959 * iconv/iconvconfig.c (options): Likewise.
21960
219612013-03-18 Ondrej Bilka <neleai@seznam.cz>
21962
21963 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21964 implementation which is faster on all x86_64 architectures.
21965 Tested on AMD, Intel Nehalem, SNB, IVB.
21966 * sysdeps/x86_64/strnlen.S: Likewise.
21967
21968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21969 Remove all multiarch strlen and strnlen versions.
21970 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21971 Remove strlen and strnlen related parts.
21972
21973 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21974 Inline strlen part.
21975 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21976
21977 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21978 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21979 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21980 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21981 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21982 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21983
219842013-03-17 Carlos O'Donell <carlos@redhat.com>
21985
21986 * manual/memory.texi (Malloc Tunable Parameters):
21987 Sort parameters alphabetically. Add comments for missing entries.
21988
219892013-03-17 David S. Miller <davem@davemloft.net>
21990
21991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21992
219932013-03-16 Joseph Myers <joseph@codesourcery.com>
21994
21995 [BZ #15283]
21996 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21997 for arguments at most half maximum finite value.
21998 * math/libm-test.inc (j0_test): Add more tests.
21999 (j1_test): Likewise.
22000 (y0_test): Likewise.
22001 (y1_test): Likewise.
22002 * sysdeps/i386/fpu/libm-test-ulps: Update.
22003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22004
22005 [BZ #14155]
22006 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22007 1 / x and functions P and Q for arguments above 0x1p256L.
22008 (__ieee754_y0l): Likewise.
22009 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22010 (__ieee754_y1l): Likewise.
22011 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22012 (j1_test): Likewise.
22013 (y0_test): Likewise.
22014 (y1_test): Likewise.
22015
220162013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22017
22018 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22019 variable.
22020
220212013-03-15 Roland McGrath <roland@hack.frob.com>
22022
22023 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22024 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22025 zero since it's initialized to EXEC_PAGESIZE.
22026
22027 * sysdeps/unix/sysv/linux/ldsodefs.h
22028 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22029 * sysdeps/generic/ldsodefs.h: ... here.
22030
220312013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22032
22033 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22034
22035 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22036 math/test-snan.c.
22037 * math/test-snan.c: Renamed from
22038 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22039 * math/Makefile (tests): Add test-snan.
22040 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22041 test-powerpc-snan.
22042
22043 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22044 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22045 functions.
22046 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22047 __builtin_nan family of functions.
22048 * math/libm-test.inc (initialize): Initialize qnan_value with
22049 __builtin_nan family of functions.
22050 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22051 Remove variables.
22052 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22053 Remove functions.
22054 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22055 storage class. Initialize qNaN_var and sNaN_var with
22056 __builtin_nan and __builtin_nans families of functions,
22057 respectively.
22058
22059 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22060 (sqrt_test): Remove duplicate test with qNaN input.
22061 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22062 (round_test, signbit_test, significand_test): Note missing +/-Inf
22063 as well as qNaN tests.
22064
22065 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22066 qNaN_var. Fix a few strings, too.
22067 * math/libm-test.inc (nan_value): Rename to qnan_value.
22068 * math/gen-libm-test.pl (%beautify): Adjust to that.
22069 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22070 * math/test-misc.c (main): Likewise.
22071 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22072 to __qnan_bytes, and __qnan_union, respectively.
22073 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22074 Likewise.
22075 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22076 and lqnanval, respectively.
22077 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22078 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22079 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22080 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22081
22082 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22083 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22084 doubles.
22085
22086 * math/test-misc.c (main): Fix copy'n'pastos.
22087 * misc/tst-efgcvt.c (special): Likewise.
22088
22089 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22090 Remove declarations.
22091
220922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22093
22094 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22095 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22096 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22097 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22098
220992013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22100
22101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22102 macro to return vdso values correctly in IFUNC implementations.
22103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22104 Optimization by using IFUNC.
22105
221062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22107 Richard Henderson <rth@redhat.com>
22108 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22109
22110 * Makefile.in (bench): New target.
22111 * NEWS: Mention the benchmark framework.
22112 * Rules (bench): Likewise.
22113 (binaries-bench): Generate binaries for functions to
22114 benchmark.
22115 * benchtests/Makefile: New makefile for benchmark tests.
22116 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22117 programs.
22118 * benchtests/exp-inputs: New input file for EXP function.
22119 * benchtests/pow-inputs: New input file for POW function.
22120 * scripts/bench.pl: New script to generate source files for
22121 benchmark programs.
22122
221232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22124
22125 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22126 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22127 computations on mantissa. Use macros for rounding and
22128 division.
22129 (denorm): Likewise.
22130 (__dbl_mp): Likewise.
22131 (add_magnitudes): Likewise.
22132 (sub_magnitudes): Likewise.
22133 (__mul): Likewise.
22134 (__sqr): Likewise.
22135 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22136 powers of two in terms of TWOPOW macro.
22137 (mp_no): Make type of mantissa as MANTISSA_T.
22138 [!RADIXI]: Define RADIXI.
22139 [!TWO52]: Define TWO52.
22140 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22141
22142 * manual/nptl.texi (cindex): Modify threads to pthreads.
22143
221442013-03-15 Joseph Myers <joseph@codesourcery.com>
22145
22146 * sysdeps/x86_64/preconfigure: Regenerated.
22147
221482013-03-14 Joseph Myers <joseph@codesourcery.com>
22149
22150 [BZ #14155]
22151 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22152 0x1p28 and above.
22153 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22154 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22155 0x1p28 and above.
22156 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22157 * math/libm-test.inc (j0_test): Do not allow one spurious
22158 underflow exception.
22159 (y1_test): Likewise.
22160
221612013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22162
22163 * manual/Makefile (chapters): Add nptl.
22164 * manual/debug.texi (Debugging Support): Add link to Threads
22165 chapter.
22166 * manual/nptl.texi: New file.
22167
22168 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22169
221702013-03-14 Petr Baudis <pasky@ucw.cz>
22171
22172 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22173 for non-NULL pointer before the memory validity test. Pointed
22174 out by Holger Brunck <holger.brunck@keymile.com>.
22175
221762013-03-13 Andreas Schwab <schwab@suse.de>
22177
22178 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22179 instead of .os.
22180
221812013-03-13 Joseph Myers <joseph@codesourcery.com>
22182
22183 * timezone/zic.c: Update from tzcode 2013b.
22184
221852013-03-12 Carlos O'Donell <carlos@redhat.com>
22186
22187 * manual/install.texi (Configuring and compiling):
22188 Mention i686 and i586.
22189 * INSTALL: Regenerate.
22190
221912013-03-12 Roland McGrath <roland@hack.frob.com>
22192
22193 * sysdeps/init_array/elf-init.c: New file.
22194 * csu/elf-init.c
22195 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22196 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22197
22198 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22199 __gmon_start__ as global, but as static with a .preinit_array pointer.
22200 * sysdeps/init_array/gmon-start.c: New file. Use that.
22201 * sysdeps/init_array/crti.S: New file, empty except for comments.
22202 * sysdeps/init_array/crtn.S: Likewise.
22203
222042013-03-11 Ondřej Bílka <neleai@seznam.cz>
22205
22206 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22207 definining bcopy.
22208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22209 Remove Prefer_SSE_for_memop.
22210 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22211 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22212 HAS_PREFER_SSE_FOR_MEMOP.
22213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22214 memset-x86-64.
22215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22216 Remove bzero, memset ifunc support.
22217 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22218 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22219 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22220 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22221
222222013-03-11 Andreas Schwab <schwab@suse.de>
22223
22224 [BZ #15234]
22225 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22226 by SHLIB_COMPAT.
22227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22228 (GLIBC_2.16): Remove pthread_atfork.
22229
222302013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22231
22232 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22233 (ptestcases.h): Likewise.
22234
222352013-03-08 Roland McGrath <roland@hack.frob.com>
22236
22237 * Makeconfig ($(common-objpfx)config.status): Depend on
22238 sysdeps/*/preconfigure{,.in} too.
22239
222402013-03-08 Joseph Myers <joseph@codesourcery.com>
22241
22242 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22243 (__free_hook): Use void * instead of __malloc_ptr_t.
22244 (__malloc_hook): Likewise.
22245 (__realloc_hook): Likewise.
22246 (__memalign_hook): Likewise.
22247 (__after_morecore_hook): Likewise.
22248 * malloc/arena.c (save_malloc_hook): Likewise.
22249 (save_free_hook): Likewise.
22250 * malloc/hooks.c (malloc_hook_ini): Likewise.
22251 (realloc_hook_ini): Likewise.
22252 (memalign_hook_ini): Likewise.
22253 * malloc/malloc.c (malloc_hook_ini): Likewise.
22254 (realloc_hook_ini): Likewise.
22255 (memalign_hook_ini): Likewise.
22256 (__free_hook): Likewise.
22257 (__malloc_hook): Likewise.
22258 (__realloc_hook): Likewise.
22259 (__memalign_hook): Likewise.
22260 (__libc_malloc): Likewise.
22261 (__libc_free): Likewise.
22262 (__libc_realloc): Likewise.
22263 (__libc_memalign): Likewise.
22264 (__libc_valloc): Likewise.
22265 (__libc_pvalloc): Likewise.
22266 (__libc_calloc): Likewise.
22267 (__posix_memalign): Likewise.
22268 * malloc/morecore.c (__sbrk): Likewise.
22269 (__default_morecore): Likewise.
22270
22271 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22272
22273 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22274 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22275 __malloc_ptrdiff_t.
22276
22277 * malloc/malloc.h (__malloc_size_t): Remove macro.
22278 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22279 __malloc_size_t.
22280 (old_memalign_hook): Likewise.
22281 (old_realloc_hook): Likewise.
22282 (struct hdr): Likewise.
22283 (flood): Likewise.
22284 (mallochook): Likewise.
22285 (memalignhook): Likewise.
22286 (reallochook): Likewise.
22287 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22288 (tr_old_realloc_hook): Likewise.
22289 (tr_old_memalign_hook): Likewise.
22290 (tr_mallochook): Likewise.
22291 (tr_reallochook): Likewise.
22292 (tr_memalignhook): Likewise.
22293
222942013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22295
22296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22297 default_ldbl_pack and using as default implementation.
22298 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22299 implementation.
22300 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22301 redundant definition.
22302 (ldbl_insert_mantissa): Likewise.
22303 (ldbl_canonicalize): Likewise.
22304 (ldbl_nearbyint): Likewise.
22305 (ldbl_pack): Rename to ldbl_pack_ppc.
22306 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22307 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22308 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22309
223102013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22311
22312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22313 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22314 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22315 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22317 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22318 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22319 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22320
223212013-03-07 Andreas Jaeger <aj@suse.de>
22322
22323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22324 bits/mman-linux.h.
22325
223262013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22327
22328 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22329 Include mpa.h and declare __MPEXP.
22330 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22331 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22332 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22333 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22334 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22335 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22336 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22337
22338 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22339 (__slowpow): Use long double EXPL and LOGL functions to
22340 compute POW.
22341 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22342 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22343 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22344 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22345 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22346 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22347
22348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22349 intermediate variable to calculate exponent.
22350 (__sqr): Likewise.
22351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22352 Likewise.
22353 (__sqr): Likewise.
22354
22355 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22356 [!NO__SQR]: Define __sqr.
22357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22358 and NO__SQR. Remove all code except __mul and __sqr. Include
22359 sysdeps/ieee754/dbl-64/mpa.c.
22360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22361
22362 [BZ #12723]
22363 * posix/Makefile (tests): Add tst-pathconf.
22364 * posix/tst-pathconf.c: New test case.
22365 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22366 _PC_PIPE_BUF.
22367 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22368
223692013-03-06 Patsy Franklin <pfrankli@redhat.com>
22370
22371 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22372
223732013-03-06 Andreas Jaeger <aj@suse.de>
22374
22375 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22376 definition via __MAP_ANONYMOUS.
22377
22378 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22379 it's not part of Linux headers.
22380
22381 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22382 (MAP_HUGE_MASK): Define.
22383
22384 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22385 Define.
22386 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22388 Define.
22389 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22390 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22391 Define.
22392 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22393 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22394 Define.
22395 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22396
22397 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22398 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22399 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22400 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22401 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22402 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22403
22404 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22405 Handle f2fs.
22406
22407 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22408 Handle f2fs and efivarfs.
22409
22410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22411 f2fs.
22412
22413 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22414 (EFIVARFS_MAGIC): Add.
22415 (F2FS_LINK_MAX): Add.
22416
224172013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22418
22419 * stdio-common/vfprintf.c: Replace __builtin_expect with
22420 __glibc_unlikely.
22421
224222013-03-06 Joseph Myers <joseph@codesourcery.com>
22423
22424 [BZ #13550]
22425 * sysdeps/generic/bp-sym.h: Remove file.
22426 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22427 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22428 <bp-sym.h> and <bp-asm.h>.
22429 (__longjmp): Don't use BP_SYM.
22430 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22431 and <bp-asm.h>.
22432 (memcpy): Don't use BP_SYM.
22433 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22434 <bp-sym.h> and <bp-asm.h>.
22435 (memcpy): Don't use BP_SYM.
22436 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22437 <bp-asm.h>.
22438 (memcpy): Don't use BP_SYM.
22439 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22440 <bp-asm.h>.
22441 (memset): Don't use BP_SYM.
22442 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22443 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22444 (__bzero): Don't use BP_SYM.
22445 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22446 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22448 <bp-sym.h> and <bp-asm.h>.
22449 (memcmp): Don't use BP_SYM. Remove comment about bounded
22450 pointers.
22451 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22452 <bp-sym.h> and <bp-asm.h>.
22453 (memcpy): Don't use BP_SYM.
22454 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22455 <bp-sym.h> and <bp-asm.h>.
22456 (memset): Don't use BP_SYM.
22457 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22458 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22459 (__bzero): Don't use BP_SYM.
22460 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22461 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22462 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22463 <bp-sym.h> and <bp-asm.h>.
22464 (strncmp): Don't use BP_SYM. Remove comment about bounded
22465 pointers.
22466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22467 <bp-sym.h> and <bp-asm.h>.
22468 (memcpy): Don't use BP_SYM.
22469 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22470 <bp-sym.h> and <bp-asm.h>.
22471 (memset): Don't use BP_SYM.
22472 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22473 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22474 (__bzero): Don't use BP_SYM.
22475 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22476 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22478 <bp-sym.h> and <bp-asm.h>.
22479 (__memchr): Don't use BP_SYM.
22480 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22481 <bp-sym.h> and <bp-asm.h>.
22482 (memcmp): Don't use BP_SYM. Remove comment about bounded
22483 pointers.
22484 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22485 <bp-sym.h> and <bp-asm.h>.
22486 (memcpy): Don't use BP_SYM.
22487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22488 <bp-sym.h> and <bp-asm.h>.
22489 (__mempcpy): Don't use BP_SYM.
22490 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22491 <bp-sym.h> and <bp-asm.h>.
22492 (__memrchr): Don't use BP_SYM.
22493 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22494 <bp-sym.h> and <bp-asm.h>.
22495 (memset): Don't use BP_SYM.
22496 (__bzero): Likewise.
22497 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22498 <bp-sym.h> and <bp-asm.h>.
22499 (__rawmemchr): Don't use BP_SYM.
22500 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22501 <bp-sym.h> and <bp-asm.h>.
22502 (__STRCMP): Don't use BP_SYM.
22503 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22504 <bp-sym.h> and <bp-asm.h>.
22505 (strchr): Don't use BP_SYM.
22506 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22507 <bp-sym.h> and <bp-asm.h>.
22508 (__strchrnul): Don't use BP_SYM.
22509 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22510 <bp-sym.h> and <bp-asm.h>.
22511 (strlen): Don't use BP_SYM.
22512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22513 <bp-sym.h> and <bp-asm.h>.
22514 (strncmp): Don't use BP_SYM. Remove comment about bounded
22515 pointers.
22516 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22517 <bp-sym.h> and <bp-asm.h>.
22518 (__strnlen): Don't use BP_SYM.
22519 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22520 <bp-sym.h> and <bp-asm.h>.
22521 (__GI__setjmp): Don't use BP_SYM.
22522 (_setjmp): Likewise.
22523 (__sigsetjmp): Likewise.
22524 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22525 (L(start_addresses)): Don't use BP_SYM.
22526 (_start): Likewise.
22527 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22528 <bp-asm.h>.
22529 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22530 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22531 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22532 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22533 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22534 <bp-asm.h>.
22535 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22536 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22537 about bounded pointers.
22538 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22539 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22540 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22541 <bp-asm.h>.
22542 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22543 about bounded pointers. Remove GKM FIXME comments.
22544 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22545 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22546 <bp-asm.h>.
22547 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22548 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22549 Remove GKM FIXME comments.
22550 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22551 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22552 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22553 <bp-asm.h>.
22554 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22555 about bounded pointers. Remove GKM FIXME comment.
22556 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22557 and <bp-asm.h>.
22558 (strncmp): Don't use BP_SYM. Remove comment about bounded
22559 pointers.
22560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22561 <bp-sym.h> and <bp-asm.h>.
22562 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22564 <bp-sym.h> and <bp-asm.h>.
22565 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22566 comment.
22567
225682013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22569
22570 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22571 call free(NULL).
22572
225732013-03-05 David S. Miller <davem@davemloft.net>
22574
22575 * po/es.po: Update from translation team.
22576
225772013-03-05 Andreas Jaeger <aj@suse.de>
22578
22579 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22580 <bits/mman-linux.h>.
22581 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22582 is fine.
22583 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22584 <bits/mman-linux.h> to end of file.
22585 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22586 is fine.
22587 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22588 <bits/mman-linux.h> to end of file.
22589 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22590 is fine.
22591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22592 <bits/mman-linux.h> to end of file.
22593
22594 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22595 (MCL_CURRENT, MCL_FUTURE): Define here.
22596
225972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22598
22599 [BZ #15232]
22600 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22601 attribute_hidden.
22602 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22603
226042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22605
22606 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22607 fourth parameter needed for rt_sigprocmask syscall.
22608 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22609 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22610 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22612 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22613 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22614
226152013-03-04 Joseph Myers <joseph@codesourcery.com>
22616
22617 [BZ #13550]
22618 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22619 comment about bounded pointers.
22620 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22621 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22622
226232013-03-04 Andreas Jaeger <aj@suse.de>
22624
22625 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22626 common definitions.
22627
22628 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22629 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22630 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22631 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22633 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22634
226352013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22636
22637 [BZ #15055]
22638 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22639 __ieee754_sqrl instead of __sqrl.
22640
226412013-03-01 Joseph Myers <joseph@codesourcery.com>
22642
22643 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22644 * sysdeps/powerpc/fpu_control.h: ... here.
22645 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22646 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22647 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22648 * sysdeps/powerpc/bits/mathinline.h: ... here.
22649
226502013-03-01 Roland McGrath <roland@hack.frob.com>
22651
22652 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22653 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22654 to just [NEED_DL_SYSINFO_DSO].
22655 * elf/dl-support.c: Likewise.
22656 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22657 * elf/rtld.c (dl_main): Likewise.
22658 * elf/setup-vdso.h (setup_vdso): Likewise.
22659 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22660 * sysdeps/unix/sysv/linux/dl-sysdep.c
22661 (_dl_discover_osversion): Likewise.
22662
226632013-03-01 Carlos O'Donell <carlos@redhat.com>
22664
22665 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22666 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22667
226682013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22669
22670 * NEWS: Mention libm performance improvements and non-x86 PI
22671 futex support.
22672
22673 * csu/libc-start.c (__pthread_initialize_minimal): Change
22674 function arguments.
22675 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22676
226772013-02-28 Joseph Myers <joseph@codesourcery.com>
22678
22679 [BZ #13550]
22680 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22681 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22682 <bp-sym.h> and <bp-asm.h>.
22683 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22684 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22685 and <bp-asm.h>.
22686 (memcpy): Don't use BP_SYM.
22687 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22688 <bp-asm.h>.
22689 (__mpn_add_n): Don't use BP_SYM.
22690 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22691 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22692 and <bp-asm.h>.
22693 (__mpn_addmul_1): Don't use BP_SYM.
22694 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22695 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22696 <bp-sym.h>.
22697 (_setjmp): Don't use BP_SYM.
22698 (__novmx_setjmp): Likewise.
22699 (__GI__setjmp): Likewise.
22700 (__vmx_setjmp): Likewise.
22701 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22702 <bp-sym.h>.
22703 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22704 (__bzero): Don't use BP_SYM.
22705 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22706 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22707 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22708 <bp-sym.h> and <bp-asm.h>.
22709 (memcpy): Don't use BP_SYM.
22710 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22711 <bp-sym.h> and <bp-asm.h>.
22712 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22713 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22714 <bp-sym.h> and <bp-asm.h>.
22715 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22716 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22717 <bp-asm.h>.
22718 (__mpn_lshift): Don't use BP_SYM.
22719 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22720 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22721 <bp-asm.h>.
22722 (memset): Don't use BP_SYM.
22723 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22724 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22725 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22726 <bp-asm.h>.
22727 (__mpn_mul_1): Don't use BP_SYM.
22728 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22730 <bp-sym.h> and <bp-asm.h>.
22731 (memcmp): Don't use BP_SYM.
22732 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22733 <bp-sym.h> and <bp-asm.h>.
22734 (memcpy): Don't use BP_SYM.
22735 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22736 <bp-sym.h> and <bp-asm.h>.
22737 (memset): Don't use BP_SYM.
22738 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22739 <bp-sym.h> and <bp-asm.h>.
22740 (strncmp): Don't use BP_SYM.
22741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22742 <bp-sym.h> and <bp-asm.h>.
22743 (memcpy): Don't use BP_SYM.
22744 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22745 <bp-sym.h> and <bp-asm.h>.
22746 (memset): Don't use BP_SYM.
22747 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22748 <bp-sym.h> and <bp-asm.h>.
22749 (__memchr): Don't use BP_SYM.
22750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22751 <bp-sym.h> and <bp-asm.h>.
22752 (memcmp): Don't use BP_SYM.
22753 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22754 <bp-sym.h> and <bp-asm.h>.
22755 (memcpy): Don't use BP_SYM.
22756 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22757 <bp-sym.h> and <bp-asm.h>.
22758 (__mempcpy): Don't use BP_SYM.
22759 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22760 <bp-sym.h> and <bp-asm.h>.
22761 (__memrchr): Don't use BP_SYM.
22762 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22763 <bp-sym.h> and <bp-asm.h>.
22764 (memset): Don't use BP_SYM.
22765 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22766 <bp-sym.h> and <bp-asm.h>.
22767 (__rawmemchr): Don't use BP_SYM.
22768 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22769 <bp-sym.h> and <bp-asm.h>.
22770 (__STRCMP): Don't use BP_SYM.
22771 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22772 <bp-sym.h> and <bp-asm.h>.
22773 (strchr): Don't use BP_SYM.
22774 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22775 <bp-sym.h> and <bp-asm.h>.
22776 (__strchrnul): Don't use BP_SYM.
22777 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22778 <bp-sym.h> and <bp-asm.h>.
22779 (strlen): Don't use BP_SYM.
22780 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22781 <bp-sym.h> and <bp-asm.h>.
22782 (strncmp): Don't use BP_SYM.
22783 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22784 <bp-sym.h> and <bp-asm.h>.
22785 (__strnlen): Don't use BP_SYM.
22786 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22787 <bp-asm.h>.
22788 (__mpn_rshift): Don't use BP_SYM.
22789 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22790 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22791 <bp-sym.h> and <bp-asm.h>.
22792 (__sigsetjmp): Don't use BP_SYM.
22793 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22794 (L(start_addresses)): Don't use BP_SYM.
22795 (_start): Likewise.
22796 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22797 <bp-asm.h>.
22798 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22799 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22800 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22801 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22802 <bp-asm.h>.
22803 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22804 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22805 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22806 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22807 <bp-asm.h>.
22808 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22809 comments.
22810 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22811 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22812 <bp-asm.h>.
22813 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22814 FIXME comments.
22815 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22816 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22817 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22818 <bp-asm.h>.
22819 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22820 comment.
22821 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22822 and <bp-asm.h>.
22823 (strncmp): Don't use BP_SYM,
22824 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22825 <bp-asm.h>.
22826 (__mpn_sub_n): Don't use BP_SYM.
22827 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22828 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22829 and <bp-asm.h>.
22830 (__mpn_submul_1): Don't use BP_SYM.
22831 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22833 <bp-sym.h> and <bp-asm.h>.
22834 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22836 <bp-sym.h> and <bp-asm.h>.
22837 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22838 comment.
22839
228402013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22841
22842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22843 Use ZK to minimize writes to Z.
22844 (sub_magnitudes): Simplify code a bit.
22845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22846 Use ZK to minimize writes to Z.
22847 (sub_magnitudes): Simplify code a bit.
22848
228492013-02-27 Roland McGrath <roland@hack.frob.com>
22850
22851 * csu/gmon-start.c: Add special exception to license text.
22852
228532013-02-27 Richard Henderson <rth@redhat.com>
22854
22855 * scripts/config.guess: Update from config.git.
22856 * scripts/config.sub: Likewise.
22857
228582013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22859
22860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22861
22862 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22863
22864 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22865
22866 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22867
22868 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22869
228702013-02-26 Roland McGrath <roland@hack.frob.com>
22871
22872 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22873 [$(build-shared = yes].
22874
228752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22876
22877 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22878 (__mul): Reduce iterations for calculating mantissa.
22879
22880 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22881 MPTWO.
22882 (__mpranred): Likewise.
22883
22884 [BZ #15160]
22885 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22886 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22887
228882013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22889
22890 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22891 Define __attribute__.
22892
228932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22894
22895 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22896 unused.
22897 * posix/regex_internal.h (__attribute): Remove.
22898 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22899 (re_string_context_at): Likewise.
22900 (bitset_not): Use __attribute__ and mark function as possibly
22901 unused.
22902 (bitset_merge): Likewise.
22903 (bitset_mask): Likewise.
22904 (re_string_char_size_at): Likewise.
22905 (re_string_wchar_at): Likewise.
22906 (re_string_elem_size_at): Likewise.
22907
229082013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22909
22910 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22911 code.
22912 (cc32): Likewise.
22913
22914 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22915 (__acr): Likewise.
22916 (__cpy): Likewise.
22917 (norm): Likewise.
22918 (denorm): Likewise.
22919 (__dbl_mp): Likewise.
22920 (add_magnitudes): Likewise.
22921 (sub_magnitudes): Likewise.
22922 (__mul): Likewise.
22923 (__inv): Likewise.
22924
22925 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22926 style.
22927
22928 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22929 style.
22930
22931 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22932 code.
22933
22934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22935 up changes with default code.
22936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22937 Likewise.
22938
229392013-02-24 Allan McRae <allan@archlinux.org>
22940
22941 * manual/socket.texi (The Internet Namespace): Order menu items
22942 to match that in the file.
22943
22944 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22945 node listing of the info page menu.
22946
229472013-02-21 Joseph Myers <joseph@codesourcery.com>
22948
22949 [BZ #13550]
22950 * sysdeps/i386/bp-asm.h: Remove file.
22951 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22952 (PARMS): Do not use macros from bp-asm.h.
22953 (S1): Likewise.
22954 (S2): Likewise.
22955 (SIZE): Likewise.
22956 (__mpn_add_n): Do not use BP_SYM
22957 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22958 "bp-asm.h".
22959 (PARMS): Do not use macros from bp-asm.h.
22960 (S1): Likewise.
22961 (SIZE): Likewise.
22962 (__mpn_addmul_1): Do not use BP_SYM
22963 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22964 "bp-asm.h".
22965 (PARMS): Do not use macros from bp-asm.h.
22966 (SIGMSK): Likewise.
22967 (_setjmp): Likewise. Do not use BP_SYM.
22968 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22969 "bp-asm.h".
22970 (PARMS): Do not use macros from bp-asm.h.
22971 (SIGMSK): Likewise.
22972 (setjmp): Likewise. Do not use BP_SYM.
22973 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22974 "bp-asm.h".
22975 (PARMS): Do not use macros from bp-asm.h.
22976 (__frexp): Do not use BP_SYM.
22977 (frexp): Likewise.
22978 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22979 "bp-asm.h".
22980 (PARMS): Do not use macros from bp-asm.h.
22981 (__frexpf): Do not use BP_SYM.
22982 (frexpf): Likewise.
22983 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22984 "bp-asm.h".
22985 (PARMS): Do not use macros from bp-asm.h.
22986 (__frexpl): Do not use BP_SYM.
22987 (frexpl): Likewise.
22988 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22989 "bp-asm.h".
22990 (PARMS): Do not use macros from bp-asm.h.
22991 (__remquo): Do not use BP_SYM.
22992 (remquo): Likewise.
22993 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22994 "bp-asm.h".
22995 (PARMS): Do not use macros from bp-asm.h.
22996 (__remquof): Do not use BP_SYM.
22997 (remquof): Likewise.
22998 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22999 "bp-asm.h".
23000 (PARMS): Do not use macros from bp-asm.h.
23001 (__remquol): Do not use BP_SYM.
23002 (remquol): Likewise.
23003 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23004 "bp-asm.h".
23005 (PARMS): Do not use macros from bp-asm.h.
23006 (DEST): Likewise.
23007 (SRC): Likewise.
23008 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23009 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23010 "bp-asm.h".
23011 (PARMS): Do not use macros from bp-asm.h.
23012 (strlen): Do not use BP_SYM.
23013 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23014 "bp-asm.h".
23015 (PARMS): Do not use macros from bp-asm.h.
23016 (S1): Likewise.
23017 (S2): Likewise.
23018 (SIZE): Likewise.
23019 (__mpn_add_n): Do not use BP_SYM.
23020 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23021 "bp-asm.h".
23022 (PARMS): Do not use macros from bp-asm.h.
23023 (S1): Likewise.
23024 (SIZE): Likewise.
23025 (__mpn_addmul_1): Do not use BP_SYM.
23026 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23027 weak_alias.
23028 (bzero): Likewise.
23029 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23030 "bp-asm.h".
23031 (PARMS): Do not use macros from bp-asm.h.
23032 (S): Likewise.
23033 (SIZE): Likewise.
23034 (__mpn_lshift): Do not use BP_SYM.
23035 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23036 "bp-asm.h".
23037 (PARMS): Do not use macros from bp-asm.h.
23038 (DEST): Likewise.
23039 (SRC): Likewise.
23040 (LEN): Likewise.
23041 (memcpy): Likewise. Do not use BP_SYM.
23042 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23043 libc_hidden_def and weak_alias.
23044 (mempcpy): Do not use BP_SYM in weak_alias.
23045 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23046 "bp-asm.h".
23047 (PARMS): Do not use macros from bp-asm.h.
23048 (DEST): Likewise.
23049 (LEN): Likewise.
23050 [!BZERO_P] (CHR): Likewise.
23051 (memset): Likewise. Do not use BP_SYM.
23052 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23053 "bp-asm.h".
23054 (PARMS): Do not use macros from bp-asm.h.
23055 (S1): Likewise.
23056 (SIZE): Likewise.
23057 (__mpn_mul_1): Do not use BP_SYM.
23058 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23059 "bp-asm.h".
23060 (PARMS): Do not use macros from bp-asm.h.
23061 (S): Likewise.
23062 (SIZE): Likewise.
23063 (__mpn_rshift): Do not use BP_SYM.
23064 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23065 "bp-asm.h".
23066 (PARMS): Do not use macros from bp-asm.h.
23067 (STR): Likewise.
23068 (CHR): Likewise.
23069 (strchr): Likewise. Do not use BP_SYM.
23070 (index): Do not use BP_SYM in weak_alias.
23071 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23072 "bp-asm.h".
23073 (PARMS): Do not use macros from bp-asm.h.
23074 (DEST): Likewise.
23075 (SRC): Likewise.
23076 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23077 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23078 "bp-asm.h".
23079 (PARMS): Do not use macros from bp-asm.h.
23080 (strlen): Do not use BP_SYM.
23081 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23082 "bp-asm.h".
23083 (PARMS): Do not use macros from bp-asm.h.
23084 (S1): Likewise.
23085 (S2): Likewise.
23086 (SIZE): Likewise.
23087 (__mpn_sub_n): Do not use BP_SYM.
23088 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23089 "bp-asm.h".
23090 (PARMS): Do not use macros from bp-asm.h.
23091 (S1): Likewise.
23092 (SIZE): Likewise.
23093 (__mpn_submul_1): Do not use BP_SYM.
23094 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23095 "bp-asm.h".
23096 (PARMS): Do not use macros from bp-asm.h.
23097 (S1): Likewise.
23098 (S2): Likewise.
23099 (SIZE): Likewise.
23100 (__mpn_add_n): Do not use BP_SYM.
23101 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23102 weak_alias.
23103 (bzero): Likewise.
23104 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23105 "bp-asm.h".
23106 (PARMS): Do not use macros from bp-asm.h.
23107 (BLK2): Likewise.
23108 (LEN): Likewise.
23109 (memcmp): Do not use BP_SYM.
23110 (bcmp): Do not use BP_SYM in weak_alias.
23111 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23112 "bp-asm.h".
23113 (PARMS): Do not use macros from bp-asm.h.
23114 (DEST): Likewise.
23115 (SRC): Likewise.
23116 (LEN): Likewise.
23117 (memcpy): Likewise. Do not use BP_SYM.
23118 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23119 "bp-asm.h".
23120 (PARMS): Do not use macros from bp-asm.h.
23121 (DEST): Likewise.
23122 (SRC): Likewise.
23123 (LEN): Likewise.
23124 (memmove): Likewise. Do not use BP_SYM.
23125 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23126 "bp-asm.h".
23127 (PARMS): Do not use macros from bp-asm.h.
23128 (DEST): Likewise.
23129 (SRC): Likewise.
23130 (LEN): Likewise.
23131 (__mempcpy): Likewise. Do not use BP_SYM.
23132 (mempcpy): Do not use BP_SYM in weak_alias.
23133 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23134 "bp-asm.h".
23135 (PARMS): Do not use macros from bp-asm.h.
23136 (DEST): Likewise.
23137 (LEN): Likewise.
23138 [!BZERO_P] (CHR): Likewise.
23139 (memset): Likewise. Do not use BP_SYM.
23140 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23141 "bp-asm.h".
23142 (PARMS): Do not use macros from bp-asm.h.
23143 (STR2): Likewise.
23144 (strcmp): Do not use BP_SYM.
23145 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23146 "bp-asm.h".
23147 (PARMS): Do not use macros from bp-asm.h.
23148 (STR): Likewise.
23149 (DELIM): Likewise.
23150 [USE_AS_STRTOK_R] (SAVE): Likewise.
23151 (FUNCTION): Likewise. Do not use BP_SYM.
23152 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23153 aliases.
23154 (strtok_r): Likewise.
23155 (__GI___strtok_r): Likewise.
23156 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23157 (PARMS): Do not use macros from bp-asm.h.
23158 (S): Likewise.
23159 (SIZE): Likewise.
23160 (__mpn_lshift): Do not use BP_SYM.
23161 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23162 (PARMS): Do not use macros from bp-asm.h.
23163 (STR): Likewise.
23164 (CHR): Likewise.
23165 (__memchr): Do not use BP_SYM.
23166 (memchr): Do not use BP_SYM in weak_alias.
23167 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23168 (PARMS): Do not use macros from bp-asm.h.
23169 (BLK2): Likewise.
23170 (LEN): Likewise.
23171 (memcmp): Do not use BP_SYM.
23172 (bcmp): Do not use BP_SYM in weak_alias.
23173 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23174 (PARMS): Do not use macros from bp-asm.h.
23175 (S1): Likewise.
23176 (SIZE): Likewise.
23177 (__mpn_mul_1): Do not use BP_SYM.
23178 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23179 "bp-asm.h".
23180 (PARMS): Do not use macros from bp-asm.h.
23181 (STR): Likewise.
23182 (CHR): Likewise.
23183 (__rawmemchr): Do not use BP_SYM.
23184 (rawmemchr): Do not use BP_SYM in weak_alias.
23185 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23186 (PARMS): Do not use macros from bp-asm.h.
23187 (S): Likewise.
23188 (SIZE): Likewise.
23189 (__mpn_rshift): Do not use BP_SYM.
23190 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23191 (PARMS): Do not use macros from bp-asm.h.
23192 (SIGMSK): Likewise.
23193 (__sigsetjmp): Likewise. Do not use BP_SYM.
23194 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23195 (_start): Do not use BP_SYM.
23196 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23197 (PARMS): Do not use macros from bp-asm.h.
23198 (DEST): Likewise.
23199 (SRC): Likewise.
23200 (__stpcpy): Likewise. Do not use BP_SYM.
23201 (stpcpy): Do not use BP_SYM in weak_alias.
23202 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23203 "bp-asm.h".
23204 (PARMS): Do not use macros from bp-asm.h.
23205 (DEST): Likewise.
23206 (SRC): Likewise.
23207 (LEN): Likewise.
23208 (__stpncpy): Likewise. Do not use BP_SYM.
23209 (stpncpy): Do not use BP_SYM in weak_alias.
23210 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23211 (PARMS): Do not use macros from bp-asm.h.
23212 (STR): Likewise.
23213 (CHR): Likewise.
23214 (strchr): Likewise. Do not use BP_SYM.
23215 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23216 "bp-asm.h".
23217 (PARMS): Do not use macros from bp-asm.h.
23218 (STR): Likewise.
23219 (CHR): Likewise.
23220 (__strchrnul): Likewise. Do not use BP_SYM.
23221 (strchrnul): Do not use BP_SYM in weak_alias.
23222 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23223 "bp-asm.h".
23224 (PARMS): Do not use macros from bp-asm.h.
23225 (STOP): Likewise.
23226 (strcspn): Do not use BP_SYM.
23227 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23228 "bp-asm.h".
23229 (PARMS): Do not use macros from bp-asm.h.
23230 (STR): Likewise.
23231 (STOP): Likewise.
23232 (strpbrk): Likewise. Do not use BP_SYM.
23233 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23234 "bp-asm.h".
23235 (PARMS): Do not use macros from bp-asm.h.
23236 (STR): Likewise.
23237 (CHR): Likewise.
23238 (strrchr): Likewise. Do not use BP_SYM.
23239 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23240 (PARMS): Do not use macros from bp-asm.h.
23241 (SKIP): Likewise.
23242 (strspn): Do not use BP_SYM.
23243 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23244 (PARMS): Do not use macros from bp-asm.h.
23245 (STR): Likewise.
23246 (DELIM): Likewise.
23247 (SAVE): Likewise.
23248 (FUNCTION): Likewise. Do not use BP_SYM.
23249 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23250 aliases.
23251 (strtok_r): Likewise.
23252 (__GI___strtok_r): Likewise.
23253 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23254 (PARMS): Do not use macros from bp-asm.h.
23255 (S1): Likewise.
23256 (S2): Likewise.
23257 (SIZE): Likewise.
23258 (__mpn_sub_n): Do not use BP_SYM.
23259 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23260 "bp-asm.h".
23261 (PARMS): Do not use macros from bp-asm.h.
23262 (S1): Likewise.
23263 (SIZE): Likewise.
23264 (__mpn_submul_1): Do not use BP_SYM.
23265 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23266 <bp-sym.h>.
23267 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23268 and <bp-asm.h>.
23269 (PARMS): Do not use macros from bp-asm.h.
23270 (FLAGS): Likewise.
23271 (PTID): Likewise.
23272 (TLS): Likewise.
23273 (CTID): Likewise.
23274 (__clone): Do not use BP_SYM.
23275 (clone): Do not use BP_SYM in weak_alias.
23276 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23277 and <bp-asm.h>.
23278 (PARMS): Do not use macros from bp-asm.h.
23279 (LEN): Likewise.
23280 (__mmap64): Do not use BP_SYM.
23281 (mmap64): Do not use BP_SYM in weak_alias.
23282 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23283 <bp-sym.h> and <bp-asm.h>.
23284 (PARMS): Do not use macros from bp-asm.h.
23285 (__posix_fadvise64_l64): Do not use BP_SYM.
23286 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23287 (PARMS): Do not use macros from bp-asm.h.
23288 (NSOPS): Likewise.
23289 (semtimedop): Do not use BP_SYM.
23290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23291 and <bp-asm.h>.
23292
232932013-02-21 Allan McRae <allan@archlinux.org>
23294
23295 * manual/message.texi (Charset conversion in gettext):
23296 Move @end statement to beginning of line.
23297
232982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23299
23300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23301 static.
23302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23303 Likewise.
23304
23305 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23306 (denorm): Likewise.
23307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23309
233102013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23311
23312 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23313 tail-call to the resolved function if pltexit isn't needed.
23314
233152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23316
23317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23318 or Y being zero as being unlikely.
23319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23320 Likewise.
23321
233222013-02-20 Carlos O'Donell <carlos@redhat.com>
23323
23324 * manual/nss.texi (System Databases and Name Service Switch):
23325 Remove frobnicate @pxref.
23326
233272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23328
23329 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23330 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23331
233322013-02-20 Petr Machata <pmachata@redhat.com>
23333
23334 * elf/elf.h (R_ARM_TARGET1): New macro.
23335 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23336 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23337 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23338 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23339 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23340 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23341 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23342 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23343 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23344 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23345 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23346 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23347 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23348 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23349 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23350 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23351 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23352 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23353 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23354 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23355 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23356 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23357 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23358 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23359 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23360 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23361 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23362 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23363 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23364 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23365 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23366 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23367 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23368 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23369 (R_ARM_THM_GOT_BREL12): Likewise.
23370 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23371 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23372 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23373 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23374 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23375 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23376 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23377 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23378 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23379
233802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23381
23382 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23383 __attribute_used__ to __attribute__ ((unused)).
23384
233852013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23386
23387 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23388 powerpc mpa.c.
23389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23390 comment formatting.
23391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23392
233932013-02-19 Joseph Myers <joseph@codesourcery.com>
23394
23395 [BZ #13550]
23396 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23397 Remove macro.
23398 (ENTER): Remove both macro definitions.
23399 (LEAVE): Likewise.
23400 (CHECK_BOUNDS_LOW): Likewise.
23401 (CHECK_BOUNDS_HIGH): Likewise.
23402 (CHECK_BOUNDS_BOTH): Likewise.
23403 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23404 (RETURN_BOUNDED_POINTER): Likewise.
23405 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23406 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23407 (POP_ERRNO_LOCATION_RETURN): Likewise.
23408 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23409 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23410 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23411 macros.
23412 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23413 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23414 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23415 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23416 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23417 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23418 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23419 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23420 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23421 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23422 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23423 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23424 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23425 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23426 removed macros.
23427 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23428 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23429 macros.
23430 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23431 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23432 * sysdeps/i386/i586/memset.S (memset): Likewise.
23433 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23434 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23435 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23436 macros.
23437 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23438 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23439 Change uses of L(2) to L(out).
23440 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23441 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23442 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23443 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23444 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23445 removed macros.
23446 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23447 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23448 macros.
23449 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23450 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23451 (RETURN): Do not use macro LEAVE.
23452 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23453 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23454 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23455 * sysdeps/i386/i686/memset.S (memset): Likewise.
23456 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23457 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23458 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23459 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23460 Likewise.
23461 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23462 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23463 L(1_2) and L(1_3) into L(1).
23464 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23465 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23466 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23467 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23468 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23469 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23470 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23471 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23472 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23473 macros.
23474 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23475 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23476 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23477 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23478 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23479 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23480 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23481 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23482 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23483 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23484 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23485 * sysdeps/i386/strspn.S (strspn): Likewise.
23486 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23487 conditional code.
23488 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23489 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23490 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23491 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23492 L(1_3) into L(1_1).
23493 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23494 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23495 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23496 macros.
23497 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23498
234992013-02-19 Jakub Jelinek <jakub@redhat.com>
23500
23501 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23502 macro.
23503
235042013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23505
23506 * math/atest-exp.c (exp_mpn): Remove ROUND.
23507 * math/atest-exp2.c (exp_mpn): Likewise.
23508 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23509
23510 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23511 * stdlib/tst-tls-atexit-lib.c: Likewise.
23512 * stdlib/tst-tls-atexit.c: Likewise.
23513
235142013-02-18 Mike Frysinger <vapier@gentoo.org>
23515
23516 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23517 and __attribute_alloc_size__.
23518
235192013-02-18 Mike Frysinger <vapier@gentoo.org>
23520
23521 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23522 __attribute_alloc_size__.
23523 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23524 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23525
235262013-02-18 Mike Frysinger <vapier@gentoo.org>
23527
23528 * include/programs/xmalloc.h: New file.
23529 * catgets/gencat.c: Include it.
23530 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23531 * elf/pldd.c: Likewise.
23532 * iconv/iconv_charmap.c: Likewise.
23533 * iconv/iconvconfig.c: Likewise.
23534 * iconv/strtab.c: Likewise.
23535 * locale/programs/locale.c: Likewise.
23536 * locale/programs/localedef.h: Likewise.
23537 * locale/programs/simple-hash.c: Likewise.
23538 * nscd/nscd.h: Likewise.
23539 * nss/makedb.c: Likewise.
23540 * sysdeps/generic/ldconfig.h: Likewise.
23541
235422013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23543
23544 * Versions.def: Add GLIBC_2.18.
23545 * include/link.h (struct link_map): New member l_tls_dtor_count.
23546 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23547 (__call_tls_dtors): Likewise.
23548 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23549 __cxa_thread_atexit_impl.
23550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23551 Likewise.
23552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23553 Likewise.
23554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23555 Likewise.
23556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23557 Likewise.
23558 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23560 Likewise.
23561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23562 Likewise.
23563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23565 Likewise.
23566 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23567 (tests): Add test case tst-tls-atexit.
23568 (modules-names): Add shared library for tst-tls-atexit.
23569 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23570 (GLIBC_PRIVATE): Add __call_tls_dtors.
23571 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23572 for libstdc++.
23573 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23574 * stdlib/tst-tls-atexit.c: New test case.
23575 * stdlib/tst-tls-atexit-lib.c: New test case.
23576
23577 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23578
23579 * elf/Versions (ld): Add _dl_find_dso_for_object.
23580 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23581 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23582 (dl_open_worker): Use _dl_find_dso_for_object.
23583 * elf/dl-sym.c (do_sym): Likewise.
23584 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23585
235862013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23587
23588 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23589 Syntactic changes only.
23590 (_dl_runtime_profile): Do a tail-call to the resolved function.
23591
235922013-02-17 Joseph Myers <joseph@codesourcery.com>
23593
23594 [BZ #13550]
23595 * sysdeps/x86_64/bp-asm.h: Remove file.
23596 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23597 <bp-sym.h> and <bp-asm.h>.
23598 (__clone): Do not use BP_SYM.
23599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23600 <bp-sym.h> and <bp-asm.h>.
23601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23602 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23603 "bp-asm.h".
23604 (_setjmp): Do not use BP_SYM.
23605 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23606 "bp-asm.h".
23607 (setjmp): Do not use BP_SYM.
23608 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23609 libc_hidden_def.
23610 (mempcpy): Do not use BP_SYM in weak_alias.
23611 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23612 "bp-asm.h".
23613 (strchr): Do not use BP_SYM.
23614 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23615 "bp-asm.h".
23616 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23617 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23618 (_start): Do not use BP_SYM.
23619 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23620 "bp-asm.h".
23621 (strcat): Do not use BP_SYM.
23622 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23623 "bp-asm.h".
23624 (STRCMP): Do not use BP_SYM.
23625 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23626 "bp-asm.h".
23627 (STRCPY): Do not use BP_SYM.
23628 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23629 "bp-asm.h".
23630 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23631 "bp-asm.h".
23632 (FUNCTION): Do not use BP_SYM.
23633 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23634 weak_alias.
23635 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23636
236372013-02-17 Andreas Jaeger <aj@suse.de>
23638
23639 * time/Versions: Sort entries.
23640 * string/Versions: Likewise.
23641 * resolv/Versions: Likewise.
23642 * posix/Versions: Likewise.
23643 * iconv/Versions: Likewise.
23644 * elf/Versions: Likewise.
23645 * wcsmbs/Versions: Likewise.
23646
236472013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23648
23649 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23650 loop termination condition.
23651
23652 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23653 variable to calculate EZ.
23654 (__sqr): Likewise.
23655
23656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23657 the lower precision input.
23658
236592013-02-15 Joseph Myers <joseph@codesourcery.com>
23660
23661 [BZ #13550]
23662 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23663 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23664 (run-via-rtld-prefix): Do not handle %-bp tests.
23665 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23666 (all-object-suffixes): Remove .ob.
23667 (bppfx): Remove variable.
23668 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23669 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23670 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23671 [$(build-bounded) = yes] (libtype.ob): Likewise.
23672 * Makerules (elide-routines.ob): Remove variable.
23673 (do-tests-clean): Do not handle *-bp.out.
23674 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23675 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23676 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23677 (tests): Do not include $(tests-bp.out).
23678 (xtests): Do not include $(xtests-bp.out).
23679 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23680 [$(build-bounded) = yes] ($(addprefix
23681 $(objpfx),$(binaries-bounded))): Remove rule.
23682 ($(objpfx)%-bp.out): Remove rule.
23683 * config.make.in (build-bounded): Remove variable.
23684 * crypt/Makefile [$(build-bounded) = yes]
23685 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23686 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23687 append to variable.
23688 [$(build-bounded) = yes] (install-lib): Likewise.
23689 [$(build-bounded) = yes] (generated): Likewise.
23690 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23691 Remove rule.
23692 * intl/Makefile [$(build-bounded) = yes]
23693 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23694 * math/Makefile [$(build-bounded) = yes]
23695 ($(tests:%=$(objpfx)%-bp): Likewise.
23696 * misc/Makefile [$(build-bounded) = yes]
23697 ($(objpfx)tst-tsearch-bp): Likewise.
23698 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23699 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23700 Remove dependency.
23701 * string/Makefile (o-objects.ob): Remove variable.
23702 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23703 (CFLAGS-.ob): Remove variable.
23704 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23705 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23706 both definitions of variable.
23707 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23708 (ASFLAGS-.ob): Remove variable.
23709
237102013-02-14 Joseph Myers <joseph@codesourcery.com>
23711
23712 [BZ #13550]
23713 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23714 Remove __BOUNDED_POINTERS__ from condition.
23715 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23716 * string/bits/string2.h [!__NO_STRING_INLINES &&
23717 !__BOUNDED_POINTERS__]: Likewise.
23718 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23719 Likewise.
23720 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23721 Remove conditional code.
23722 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23723 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23724 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23725 condition.
23726
23727 [BZ #13550]
23728 * csu/libc-start.c: Do not include <bp-sym.h>.
23729 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23730 * elf/dl-open.c: Do not include <bp-sym.h>.
23731 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23732 * math/fegetenv.c: Do not include <bp-sym.h>.
23733 (fegetenv): Do not use BP_SYM in versioned symbols.
23734 * nptl/sysdeps/pthread/bits/libc-lockP.h
23735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23736 <bp-sym.h>.
23737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23738 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23740 (__pthread_mutex_destroy): Likewise.
23741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23742 (__pthread_mutex_lock): Likewise.
23743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23744 (__pthread_mutex_trylock): Likewise.
23745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23746 (__pthread_mutex_unlock): Likewise.
23747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23748 (__pthread_mutexattr_init): Likewise.
23749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23750 (__pthread_mutexattr_destroy): Likewise.
23751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23752 (__pthread_mutexattr_settype): Likewise.
23753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23754 (__pthread_rwlock_init): Likewise.
23755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23756 (__pthread_rwlock_destroy): Likewise.
23757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23758 (__pthread_rwlock_rdlock): Likewise.
23759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23760 (__pthread_rwlock_tryrdlock): Likewise.
23761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23762 (__pthread_rwlock_wrlock): Likewise.
23763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23764 (__pthread_rwlock_trywrlock): Likewise.
23765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23766 (__pthread_rwlock_unlock): Likewise.
23767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23768 (__pthread_key_create): Likewise.
23769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23770 (__pthread_setspecific): Likewise.
23771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23772 (__pthread_getspecific): Likewise.
23773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23774 Likewise.
23775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23776 (_pthread_cleanup_push_defer): Likewise.
23777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23778 (_pthread_cleanup_pop_restore): Likewise.
23779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23780 (pthread_setcancelstate): Likewise.
23781 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23782 <bp-sym.h>.
23783 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23784 (memchr): Do not use BP_SYM in weak_alias.
23785 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23786 (fegetenv): Do not use BP_SYM in versioned symbols.
23787 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23788 (fesetenv): Do not use BP_SYM in versioned symbols.
23789 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23790 (feupdateenv): Do not use BP_SYM in versioned symbols.
23791 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23792 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23793 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23794 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23795 (open64): Do not use BP_SYM in weak_alias.
23796 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23797 (fegetenv): Do not use BP_SYM in versioned symbols.
23798 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23799 (fesetenv): Do not use BP_SYM in versioned symbols.
23800 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23801 (feupdateenv): Do not use BP_SYM in versioned symbols.
23802 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23803 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23804 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23805 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23806 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23807 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23808 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23809 <bp-sym.h>.
23810 (__libc_start_main): Do not use BP_SYM.
23811
238122013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23813
23814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23815 redundant return line.
23816 (norm): Likewise.
23817 (denorm): Likewise.
23818 (dbl_mp): Likewise.
23819 (sub_magnitudes): Likewise.
23820 (__add): Likewise.
23821 (__sub): Likewise.
23822 (__mul): Likewise.
23823 (__inv): Likewise.
23824 (__dvd): Likewise.
23825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23826 (norm): Likewise.
23827 (denorm): Likewise.
23828 (dbl_mp): Likewise.
23829 (sub_magnitudes): Likewise.
23830 (__add): Likewise.
23831 (__sub): Likewise.
23832 (__mul): Likewise.
23833 (__inv): Likewise.
23834 (__dvd): Likewise.
23835
23836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23837 instead of __mul.
23838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23839 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23840 (cc32): Likewise.
23841
23842 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23843 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23845 of __mul for squares.
23846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23847 function
23848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23849 Likewise.
23850 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23851 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23852
238532013-02-13 Joseph Myers <joseph@codesourcery.com>
23854
23855 [BZ #13550]
23856 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23857 code.
23858 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23859 prototype or function definition. Rename ubp_* variables and
23860 parameters. Remove argv definitions conditional on
23861 [__BOUNDED_POINTERS__].
23862 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23863 * elf/dl-runtime.c (_dl_fixup): Likewise.
23864 * include/set-hooks.h (RUN_HOOK): Likewise.
23865 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23866 definition.
23867 * string/strcpy.c (strcpy): Do not use __unbounded.
23868 * sysdeps/generic/frame.h (struct layout): Likewise.
23869 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23870 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23871 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23872 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23873 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23874 (__backtrace): Likewise.
23875 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23876 use __ptrvalue.
23877 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23878 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23879 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23880 Likewise.
23881 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23882 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23883 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23884 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23885 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23886 Do not use __unbounded.
23887 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23888 Rename __unboundedrlimits parameter to rlimits in prototype.
23889 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23890 Do not use __unbounded.
23891 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23892 not use __ptrvalue.
23893 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23894 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23895 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23896 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23897 __ptrvalue or __unbounded.
23898 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23899 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23900 use __unbounded.
23901 (__new_msgctl): Do not use __ptrvalue.
23902 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23903 __unbounded.
23904 (__libc_msgrcv): Do not use __ptrvalue.
23905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23906 startup_info): Do not use __unbounded.
23907 (__libc_start_main): Likewise. Rename ubp_* variables and
23908 parameters. Remove argv definitions conditional on
23909 [__BOUNDED_POINTERS__].
23910 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23911 __ptrvalue.
23912 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23913 use __unbounded.
23914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23915 or __ptrvalue.
23916 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23917 use __unbounded.
23918 (__new_shmctl): Do not use __ptrvalue.
23919 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23920 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23921 Likewise.
23922 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23924 (__libc_sigaction): Likewise.
23925 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23926 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23927 Likewise.
23928 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23929
239302013-02-13 Ondřej Bílka <neleai@seznam.cz>
23931
23932 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23933
23934 * string/mempcpy.c: Implement by calling memcpy.
23935
239362013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23937
23938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23939
23940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23941 evaluation.
23942
23943 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23944 values in the mantissa.
23945
23946 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23947 minimize writes to Z.
23948 (sub_magnitudes): Simplify code a bit.
23949
239502013-02-12 Roland McGrath <roland@hack.frob.com>
23951
23952 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23953 from the message. The linker prefixes all warnings with that already.
23954
239552013-02-12 Andreas Schwab <schwab@suse.de>
23956
23957 [BZ #15078]
23958 * posix/regexec.c (extend_buffers): Add parameter min_len.
23959 (check_matching): Pass minimum needed length.
23960 (clean_state_log_if_needed): Likewise.
23961 (get_subexp): Likewise.
23962 * posix/Makefile (tests): Add bug-regex34.
23963 (bug-regex34-ENV): Define.
23964 * posix/bug-regex34.c: New file.
23965
23966 [BZ #11561]
23967 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23968 elements compare against the byte sequence of it, not its name.
23969 * posix/Makefile (tests): Add bug-regex35.
23970 (bug-regex35-ENV): Define.
23971 * posix/bug-regex35.c: New file.
23972
239732013-02-11 Tom de Vries <tom@codesourcery.com>
23974
23975 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23976 comment.
23977 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23978 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23979 (CHECK_EOL): Add undef.
23980
239812013-02-11 Ondřej Bílka <neleai@seznam.cz>
23982
23983 * bits/stdlib-bsearch.h: New file.
23984 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23985 * stdlib/stdlib.h: Likewise.
23986
239872013-02-11 Roland McGrath <roland@hack.frob.com>
23988
23989 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23990 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23991 declaration.
23992 * manual/search.texi (Array Search Function): Add missing const in
23993 lfind prototype.
23994 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23995 declaration to use rlim_t.
23996 (Basic Scheduling Functions): Remove erroneous const from
23997 sched_getparam prototype. Remove erroneous * from
23998 sched_get_priority_max and sched_get_priority_min prototypes.
23999 (Resource Usage): Fix summary @comment on vtimes to refer to
24000 sys/vtimes.h rather than vtimes.h.
24001 Add missing *s in vtimes prototype.
24002 (Limits on Resources): Fix ulimit prototype to return long int.
24003 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24004 prototypes to use long int rather than double.
24005 (BSD Random): Fix initstate and setstate to use char *, not void *.
24006 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24007 prototype to make second argument 'struct aiocb64 *const[]'.
24008 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24009 (Status of AIO Operations): Remove erroneous const in aio_return and
24010 aio_return64 prototypes.
24011 (Synchronizing I/O): Fix sync prototype to return void.
24012 * manual/startup.texi (Suboptions): Remove an erroneous const in
24013 getsubopt prototype.
24014 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24015 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24016 use size_t rather than int.
24017 (Scanning All Users): Likewise for getpwent_r.
24018 (Setting Groups): Add missing const to setgroups prototype.
24019 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24020 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24021 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24022 'const void *' rather than 'const char *'.
24023 (Host Address Functions): Likewise for inet_ntop.
24024 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24025 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24026 ssize_t for return value.
24027 (Sending Data): Likewise for send, sendto, sendmsg.
24028 (Socket Option Functions): Add a missing const in setsockopt prototype.
24029 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24030 use wchar_t for the argument.
24031 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24032 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24033 take no arguments.
24034 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24035 double/float/long double for second argument.
24036 Fix return types of significand, significandf, significandl.
24037 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24038 argument in fchmod prototype.
24039 (File Owner): Use uid_t and gid_t in fchown prototype.
24040 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24041 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24042 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24043 use 'const struct dirent **' as argument types to CMP function pointer
24044 argument.
24045 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24046 (File Times): Fix summary magic @comment for struct utimbuf and utime
24047 to refer to utime.h, not time.h.
24048 * manual/string.texi (Argz Functions): Add missing const in
24049 argz_extract and argz_next prototypes.
24050 (Finding Tokens in a String): Likewise for basename.
24051 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24052 (Copying and Concatenation): Fix typo in wmemmove prototype.
24053 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24054 (Signal Stack): Remove erroneous const in sigstack prototype.
24055 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24056 prototype.
24057 (Simple Calendar Time): Likewise for stime.
24058 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24059 prototype.
24060 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24061 say sys/sysctl.h instead.
24062 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24063 and vsyslog prototypes.
24064
240652013-02-11 Tom de Vries <tom@codesourcery.com>
24066
24067 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24068 Remove.
24069
240702013-02-11 Roland McGrath <roland@hack.frob.com>
24071
24072 * misc/sys/mman.h: Fix typo in mremap comment.
24073
240742013-02-08 Roland McGrath <roland@hack.frob.com>
24075
24076 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24077 the '\0' terminator.
24078
240792013-02-08 Joseph Myers <joseph@codesourcery.com>
24080
24081 [BZ #13550]
24082 * debug/segfault.c: Don't include <bp-checks.h>.
24083 * sysdeps/generic/bp-checks.h: Remove file.
24084 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24085 (__GETDENTS): Don't use CHECK_N.
24086 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24087 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24088 (__getgroups): Don't use CHECK_N.
24089 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24090 (setgroups): Don't use CHECK_N.
24091 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24092 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24093 (__libc_msgrcv): Don't use CHECK_N.
24094 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24095 (__libc_msgsnd): Don't use CHECK_N.
24096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24097 <bp-checks.h>.
24098 (__libc_pread): Don't use CHECK_N.
24099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24100 include <bp-checks.h>.
24101 (__libc_pread64): Don't use CHECK_N.
24102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24103 include <bp-checks.h>.
24104 (__libc_pwrite): Don't use CHECK_N.
24105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24106 include <bp-checks.h>.
24107 (__libc_pwrite64): Don't use CHECK_N.
24108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24109 <bp-checks.h>.
24110 (__libc_pread): Don't use CHECK_N.
24111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24112 include <bp-checks.h>.
24113 (__libc_pread64): Don't use CHECK_N.
24114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24115 include <bp-checks.h>.
24116 (__libc_pwrite): Don't use CHECK_N.
24117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24118 include <bp-checks.h>.
24119 (__libc_pwrite64): Don't use CHECK_N.
24120 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24121 (do_pread): Don't use CHECK_N.
24122 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24123 (do_pread64): Don't use CHECK_N.
24124 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24125 (do_pwrite): Don't use CHECK_N.
24126 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24127 (do_pwrite64): Don't use CHECK_N.
24128 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24129 (__libc_readv): Don't use CHECK_N.
24130 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24131 (semop): Don't use CHECK_N.
24132 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24133 <bp-checks.h>.
24134 (semtimedop): Don't use CHECK_N.
24135 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24136 (__libc_pread): Don't use CHECK_N.
24137 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24138 <bp-checks.h>.
24139 (__libc_pread64): Don't use CHECK_N.
24140 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24141 <bp-checks.h>.
24142 (__libc_pwrite): Don't use CHECK_N.
24143 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24144 <bp-checks.h>.
24145 (__libc_pwrite64): Don't use CHECK_N.
24146 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24147 <bp-checks.h>.
24148 (__libc_msgrcv): Don't use CHECK_N.
24149 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24150 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24151 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24152 (__libc_writev): Don't use CHECK_N.
24153
241542013-02-08 Roland McGrath <roland@hack.frob.com>
24155
24156 * string/strcpy.c: Removed unused variable.
24157
24158 * Makeconfig (+sysdep-includes): Define with := rather than =.
24159 Use an existing include/ subdir of each sysdeps dir before it.
24160
241612013-02-08 Carlos O'Donell <carlos@redhat.com>
24162
24163 * nscd/connection.c (register_traced_file): Comment function.
24164 [HAVE_INOTIFY] (union __inev): Define.
24165 [HAVE_INOTIFY] (inotify_check_files): New function.
24166 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24167 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24168 clear_db_cache.
24169 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24170
241712013-02-08 Carlos O'Donell <carlos@redhat.com>
24172
24173 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24174 loaded if not already and that a failure is permanent.
24175
241762013-02-08 Carlos O'Donell <carlos@redhat.com>
24177
24178 [BZ #15006]
24179 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24180 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24181
241822013-02-08 Joseph Myers <joseph@codesourcery.com>
24183
24184 [BZ #13550]
24185 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24186 (CHECK_1_NULL_OK): Likewise.
24187 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24188 (__fxstat): Do not use CHECK_1.
24189 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24190 <bp-checks.h>.
24191 (___fxstat64): Do not use CHECK_1.
24192 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24193 <bp-checks.h>.
24194 (__fxstatat): Do not use CHECK_1.
24195 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24196 <bp-checks.h>.
24197 (__fxstatat64): Do not use CHECK_1.
24198 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24199 <bp-checks.h>.
24200 (__fxstat): Do not use CHECK_1.
24201 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24202 <bp-checks.h>.
24203 (__fxstatat): Do not use CHECK_1.
24204 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24205 <bp-checks.h>.
24206 (__getresgid): Do not use CHECK_1.
24207 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24208 <bp-checks.h>.
24209 (__getresuid): Do not use CHECK_1.
24210 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24211 <bp-checks.h>.
24212 (__lxstat): Do not use CHECK_1.
24213 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24214 <bp-checks.h>.
24215 (__old_msgctl): Do not use CHECK_1.
24216 (__new_msgctl): Likewise.
24217 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24218 <bp-checks.h>.
24219 (__new_setrlimit): Do not use CHECK_1.
24220 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24221 <bp-checks.h>.
24222 (__old_shmctl): Do not use CHECK_1.
24223 (__new_shmctl): Likewise.
24224 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24225 <bp-checks.h>.
24226 (__xstat): Do not use CHECK_1.
24227 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24228 (__lxstat): Do not use CHECK_1.
24229 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24230 <bp-checks.h>.
24231 (___lxstat64): Do not use CHECK_1.
24232 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24233 (__old_msgctl): Do not use CHECK_1.
24234 (__new_msgctl): Likewise.
24235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24236 <bp-checks.h>.
24237 (__gettimeofday): Do not use CHECK_1.
24238 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24239 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24240 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24241 <bp-checks.h>.
24242 (__gettimeofday): Do not use CHECK_1.
24243 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24244 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24245 (__new_shmctl): Do not use CHECK_1.
24246 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24247 <bp-checks.h>.
24248 (do_sigtimedwait): Do not use CHECK_1.
24249 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24250 <bp-checks.h>.
24251 (do_sigwaitinfo): Do not use CHECK_1.
24252 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24253 <bp-checks.h>.
24254 (msgctl): Do not use CHECK_1.
24255 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24256 <bp-checks.h>.
24257 (shmctl): Do not use CHECK_1.
24258 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24259 (ustat): Do not use CHECK_1.
24260 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24261 <bp-checks.h>.
24262 (__fxstat): Do not use CHECK_1.
24263 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24264 <bp-checks.h>.
24265 (__fxstatat): Do not use CHECK_1.
24266 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24267 <bp-checks.h>.
24268 (__lxstat): Do not use CHECK_1.
24269 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24270 <bp-checks.h>.
24271 (__xstat): Do not use CHECK_1.
24272 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24273 (__xstat): Do not use CHECK_1.
24274 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24275 (___xstat64): Do not use CHECK_1.
24276
24277 [BZ #13550]
24278 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24279 definitions.
24280 (CHECK_BOUNDS_HIGH): Likewise.
24281 * string/strcpy.c: Do not include <bp-checks.h>.
24282 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24283
242842013-02-07 Roland McGrath <roland@hack.frob.com>
24285
24286 * nscd/nscd-client.h (__nscd_drop_map_ref):
24287 Add __attribute__ ((unused)).
24288 * nis/nss-nisplus.h (niserr2nss): Likewise.
24289
24290 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24291 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24292
24293 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24294 Remove inline keyword.
24295 * include/rounding-mode.h (round_away): Likewise.
24296 * libio/wfileops.c (adjust_wide_data): Likewise.
24297 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24298 (__m128i_strloadu_tolower): Likewise.
24299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24300 (__m128i_strloadu_tolower): Likewise.
24301 * time/mktime.c (ydhms_diff): Likewise.
24302 * locale/elem-hash.h (elem_hash): Likewise.
24303 * locale/setlocale.c (setdata): Likewise.
24304 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24305 (re_string_wchar_at): Likewise.
24306 (bitset_not, bitset_merge, bitset_mask): Likewise.
24307 [!(__GNUC__ > 3)] (inline): Remove macro.
24308 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24309 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24310 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24311 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24312 * string/memcmp.c (memcmp_bytes): Likewise.
24313 * locale/programs/locarchive.c (compute_hashval): Likewise.
24314 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24315 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24316 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24317 * nss/getent.c (print_rpc, print_protocols): Likewise.
24318 (print_passwd, print_group, print_aliases): Likewise.
24319 * nis/nss-nisplus.h (niserr2nss): Likewise.
24320 * nscd/connections.c (restart_p): Likewise.
24321 Change return type to bool.
24322
243232013-02-05 Roland McGrath <roland@hack.frob.com>
24324
24325 * Makeconfig (all-Depend-files): Add existing
24326 $(sorted-subdirs:=/Depend) files.
24327 (all-subdirs): Remove nss.
24328 * sysdeps/unix/inet/Subdirs: Add it here instead.
24329 * hesiod/Depend: New file.
24330
24331 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24332 instead of calling alloca.
24333
24334 * io/lseek.c (__lseek): Rename to __libc_lseek.
24335 Define __lseek as an alias.
24336
24337 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24338
243392013-02-04 Carlos O'Donell <carlos@redhat.com>
24340
24341 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24342 else clause and remove check for non-standard endianness.
24343
243442013-02-04 David S. Miller <davem@davemloft.net>
24345
24346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24347
243482013-02-04 Joseph Myers <joseph@codesourcery.com>
24349
24350 [BZ #13550]
24351 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24352 (__ubp_memchr): Remove prototype.
24353 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24354 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24355 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24356 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24357 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24358 Remove alias.
24359 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24360 (__ubp_memchr): Likewise.
24361 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24362 (__ubp_memchr): Likewise.
24363 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24364 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24365 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24366 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24367 CHECK_STRING.
24368 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24369 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24370 (__getcwd): Do not use CHECK_STRING.
24371 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24372 <bp-checks.h>.
24373 (__real_chown): Do not use CHECK_STRING.
24374 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24375 <bp-checks.h>.
24376 (fchownat): Do not use CHECK_STRING.
24377 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24378 CHECK_STRING.
24379 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24380 <bp-checks.h>.
24381 (__lchown): Do not use CHECK_STRING.
24382 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24383 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24384 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24385 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24387 include <bp-checks.h>.
24388 (truncate64): Do not use CHECK_STRING.
24389 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24390 <bp-checks.h>.
24391 (__real_chown): Do not use CHECK_STRING.
24392 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24393 <bp-checks.h>.
24394 (__lchown): Do not use CHECK_STRING.
24395 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24396 <bp-checks.h>.
24397 (__chown): Do not use CHECK_STRING.
24398 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24399 <bp-checks.h>.
24400 (truncate64): Do not use CHECK_STRING.
24401 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24402 Likewise.
24403 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24404 (__xmknod): Do not use CHECK_STRING.
24405 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24406 <bp-checks.h>.
24407 (__xmknodat): Do not use CHECK_STRING.
24408 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24409 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24410
244112013-02-04 Andreas Schwab <schwab@suse.de>
24412
24413 [BZ #14142]
24414 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24415 * include/netdb.h: Likewise for h_errno.
24416 * elf/tst-stackguard1.c: Include <tls.h>.
24417
244182013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24419
24420 * elf/link.h (struct link_map): Extend the l_addr comment.
24421 * include/link.h (struct link_map): Likewise.
24422
244232013-02-01 Joseph Myers <joseph@codesourcery.com>
24424
24425 [BZ #13550]
24426 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24427 (BOUNDED_1): Remove macro.
24428 * debug/backtrace.c: Don't include <bp-checks.h>.
24429 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24430 (__backtrace): Likewise.
24431 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24432 <bp-checks.h>.
24433 (__backtrace): Don't use BOUNDED_1.
24434 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24435 <bp-checks.h>.
24436 (__backtrace): Don't use BOUNDED_1.
24437 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24438 (__backtrace): Don't use BOUNDED_1.
24439 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24440 (shmat): Don't use BOUNDED_N.
24441
244422013-01-31 Joseph Myers <joseph@codesourcery.com>
24443
24444 [BZ #13550]
24445 * sysdeps/generic/bp-start.h: Remove file.
24446 * csu/libc-start.c: Don't include <bp-start.h>.
24447 (LIBC_START_MAIN): Set up __environ directly instead of using
24448 INIT_ARGV_and_ENVIRON.
24449 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24450 <bp-start.h>.
24451
24452 [BZ #13550]
24453 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24454 definitions.
24455 (CHECK_FCNTL): Likewise.
24456 (CHECK_N_PAGES): Likewise.
24457
24458 [BZ #13550]
24459 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24460 definitions.
24461 (CHECK_SIGSET_NULL_OK): Likewise.
24462 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24463 <bp-checks.h>.
24464 (sigpending): Don't use CHECK_SIGSET.
24465 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24466 <bp-checks.h>.
24467 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24468 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24469 <bp-checks.h>.
24470 (do_sigsuspend): Don't use CHECK_SIGSET.
24471 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24472 use CHECK_SIGSET.
24473 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24474 (do_sigwait): Don't use CHECK_SIGSET.
24475 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24476 use CHECK_SIGSET.
24477 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24478 include <bp-checks.h>.
24479 (sigpending): Don't use CHECK_SIGSET.
24480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24481 include <bp-checks.h>.
24482 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24483 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24484 <bp-checks.h>.
24485 (sigpending): Don't use CHECK_SIGSET.
24486 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24487 <bp-checks.h>.
24488 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24489
24490 [BZ #13550]
24491 * sysdeps/generic/bp-semctl.h: Remove file.
24492 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24493 <bp-checks.h> and <bp-semctl.h>.
24494 (__old_semctl): Don't use CHECK_SEMCTL.
24495 (__new_semctl): Likewise.
24496 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24497 and <bp-semctl.h>.
24498 (__old_semctl): Don't use CHECK_SEMCTL.
24499 (__new_semctl): Likewise.
24500 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24501 <bp-checks.h> and <bp-semctl.h>.
24502 (__old_semctl): Don't use CHECK_SEMCTL.
24503 (__new_semctl): Likewise.
24504 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24505 <bp-checks.h> and <bp-semctl.h>.
24506 (semctl): Don't use CHECK_SEMCTL.
24507
24508 [BZ #13550]
24509 * Makerules (elide-bp-thunks): Remove variable.
24510 (elide-routines.oS): Don't use $(elide-bp-thunks).
24511 (elide-routines.os): Likewise.
24512 (elide-routines.o): Likewise.
24513 (elide-routines.op): Likewise.
24514 (elide-routines.og): Likewise.
24515 (objects): Don't use $(bp-thunks).
24516 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24517 include.
24518 (common-generated): Do not add s-proto-bp.d.
24519 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24520 (int): Likewise.
24521 (typ): Likewise.
24522 Do not generate makefile rules for bounded-pointer thunks.
24523 * sysdeps/generic/bp-thunks.h: Remove file.
24524 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24525 * sysdeps/unix/s-proto-bp.S: Likewise.
24526
24527 [BZ #15062]
24528 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24529 parts of result separately when argument is not close to line from
24530 -i to i and one part of argument is small.
24531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24533 * math/libm-test.inc (cacos_test): Add more tests.
24534 (casin_test): Likewise.
24535 (casinh_test): Likewise.
24536 * sysdeps/i386/fpu/libm-test-ulps: Update.
24537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24538
245392013-01-31 David S. Miller <davem@davemloft.net>
24540
24541 * po/de.po: Update from translation team.
24542
245432013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24544
24545 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24546
245472013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24548
24549 * configure.in (_AC_PROG_CC_C89): New definition.
24550 * configure: Regenerate.
24551
24552 * configure.in (AC_PROG_CPP): New definition.
24553 * configure: Regenerate.
24554
245552013-01-23 Joseph Myers <joseph@codesourcery.com>
24556
24557 * debug/tst-backtrace.h: New file.
24558 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24559 (ret): Remove variable.
24560 (x): Likewise.
24561 (FAIL): Remove macro.
24562 (NO_INLINE): Likewise.
24563 (fn1): Use match function instead of strstr.
24564 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24565 (ret): Remove variable.
24566 (x): Likewise.
24567 (FAIL): Remove macro.
24568 (NO_INLINE): Likewise.
24569 (fn): Use match function instead of strstr.
24570 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24571 (ret): Remove variable.
24572 (x): Likewise.
24573 (FAIL): Remove macro.
24574 (NO_INLINE): Likewise.
24575 (handle_signal): Use match function instead of strstr.
24576 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24577 (ret): Remove variable.
24578 (x): Likewise.
24579 (FAIL): Remove macro.
24580 (NO_INLINE): Likewise.
24581 (handle_signal): Use match function instead of strstr.
24582
245832013-01-23 Roland McGrath <roland@hack.frob.com>
24584
24585 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24586
245872013-01-23 David S. Miller <davem@davemloft.net>
24588
24589 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24590 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24591 argument of CAS if possible.
24592 * sysdeps/sparc/sparc64/bits/atomic.h
24593 (__arch_compare_and_exchange_val_32_acq): Likewise.
24594 (__arch_compare_and_exchange_val_64_acq): Likewise.
24595
245962013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24597
24598 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24599 * sysdeps/posix/ulimit.c: ... this.
24600 Include <limits.h>.
24601 * sysdeps/unix/bsd/ulimit.c: Remove file.
24602
246032013-01-23 Adam Conrad <adconrad@0c3.net>
24604
24605 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24606 (LDFLAGS-tst-array5): Likewise.
24607
246082013-01-23 Joseph Myers <joseph@codesourcery.com>
24609
24610 [BZ #15036]
24611 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24612 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24613 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24614 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24615
246162013-01-21 David S. Miller <davem@davemloft.net>
24617
24618 * sysdeps/sparc/backtrace.c: New file.
24619 * sysdeps/sparc/sparc32/backtrace.h: New file.
24620 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24621 * sysdeps/sparc/sparc64/backtrace.h: New file.
24622 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24623 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24624 -funwind-tables.
24625
246262013-01-21 Andreas Schwab <schwab@suse.de>
24627
24628 [BZ #15020]
24629 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24630 closed its stdout.
24631
246322013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24633
24634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24635 "mpa2.h".
24636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24637
246382013-01-18 Joseph Myers <joseph@codesourcery.com>
24639 Mark Mitchell <mark@codesourcery.com>
24640 Tom de Vries <tom@codesourcery.com>
24641 Paul Pluzhnikov <ppluzhnikov@google.com>
24642
24643 * debug/tst-backtrace2.c: New file.
24644 * debug/tst-backtrace3.c: Likewise.
24645 * debug/tst-backtrace4.c: Likewise.
24646 * debug/tst-backtrace5.c: Likewise.
24647 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24648 (CFLAGS-tst-backtrace3.c): Likewise.
24649 (CFLAGS-tst-backtrace4.c): Likewise.
24650 (CFLAGS-tst-backtrace5.c): Likewise.
24651 (LDFLAGS-tst-backtrace2): Likewise.
24652 (LDFLAGS-tst-backtrace3): Likewise.
24653 (LDFLAGS-tst-backtrace4): Likewise.
24654 (LDFLAGS-tst-backtrace5): Likewise.
24655 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24656 tst-backtrace4 and tst-backtrace5.
24657
246582013-01-18 Anton Blanchard <anton@samba.org>
24659 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24660
24661 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24662 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24663 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24664 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24666 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24667 "+r" and remove output regs list as redundant. Add explicit inline
24668 asm to specify register of return val to work around compiler codegen
24669 bug. Remove (int) cast on return value. Add return type parameter to
24670 use in macro so that this macro does not truncate return value for
24671 64-bit values.
24672 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24673 pass to INTERNAL_VSYSCALL_NCS.
24674 (INLINE_VSYSCALL): Add 'long int' as return type to
24675 INTERNAL_VSYSCALL_NCS macro invocation.
24676 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24677 INTERNAL_VSYSCALL_NCS macro invocation.
24678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24679
246802013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24681
24682 [BZ #14496]
24683 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24684 Fix application of SIMD FP exception mask.
24685
24686 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24687 mp_no from a power of two.
24688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24689 __mpexp_twomm1. Use __pow_mp.
24690
24691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24692 multiplication.
24693
246942013-01-17 David S. Miller <davem@davemloft.net>
24695
24696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24697
246982013-01-17 Joseph Myers <joseph@codesourcery.com>
24699
24700 [BZ #15023]
24701 * include/complex.h: Condition contents on [!_COMPLEX_H].
24702 (__kernel_casinhf): New prototype.
24703 (__kernel_casinh): Likewise.
24704 (__kernel_casinhl): Likewise.
24705 * math/Makefile (libm_calls): Add k_casinh.
24706 * math/k_casinh.c: New file.
24707 * math/k_casinhf.c: Likewise.
24708 * math/k_casinhl.c: Likewise.
24709 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24710 finite nonzero arguments.
24711 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24712 finite nonzero arguments.
24713 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24714 finite nonzero arguments.
24715 * math/s_casinh.c: Do not include <float.h>.
24716 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24717 * math/s_casinhf.c: Do not include <float.h>.
24718 (__casinhf): Move code for finite nonzero arguments to
24719 k_casinhf.c.
24720 * math/s_casinhl.c: Do not include <float.h>.
24721 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24722 redefine.
24723 (__casinhl): Move code for finite nonzero arguments to
24724 k_casinhl.c.
24725 * math/libm-test.inc (cacos_test): Add more tests.
24726 * sysdeps/i386/fpu/libm-test-ulps: Update.
24727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24728
247292013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24730
24731 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24732 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24733 [!HAVE_MREMAP]: Remove [defined linux] case.
24734 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24735
247362013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24737
24738 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24739
247402013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24741
24742 * elf/elf.h (R_386_SIZE32): New relocation.
24743 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24744 R_386_SIZE32.
24745 (elf_machine_rela): Likewise.
24746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24747 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24748
247492013-01-17 Joseph Myers <joseph@codesourcery.com>
24750
24751 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24752 (FP_FAST_FMA): Do not define.
24753 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24754 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24755 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24756 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24757 !_SOFT_FLOAT]: Likewise.
24758 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24759 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24760 value.
24761 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24762 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24763 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24764 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24765 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24766 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24767 file.
24768
247692013-01-16 Andreas Schwab <schwab@suse.de>
24770
24771 [BZ #14327]
24772 * include/stdlib.h (__mktemp): Add declaration.
24773 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24774 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24775
247762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24777
24778 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24779 definitions.
24780 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24781 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24782 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24783 definitions here.
24784 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24785 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24786 definitions.
24787 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24788 and ONE.
24789 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24790 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24791 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24792 definitions.
24793 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24794 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24795 definitions.
24796 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24797
24798 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24799
248002013-01-15 David S. Miller <davem@davemloft.net>
24801
24802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24803 trunc{,f} to libm-sysdep_routes.
24804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24806 file.
24807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24809 file.
24810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24811 file.
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24815 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24817 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24818 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24819 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24820
24821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24822 nearbyint{,f} to libm-sysdep_routes.
24823 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24825 New file.
24826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24827 file.
24828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24829 New file.
24830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24831 file.
24832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24834 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24835 file.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24837 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24838 file.
24839 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24840 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24841 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24842
24843 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24844 libc_feholdexcept and libc_fesetenv.
24845
248462013-01-15 Mike Frysinger <vapier@gentoo.org>
24847
24848 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24849
248502013-01-14 David S. Miller <davem@davemloft.net>
24851
24852 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24853 (SPARC_ASM_VIS2_IFUNC): Likewise.
24854 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24856 use of 'siam' instruction.
24857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24858 Likewise.
24859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24860 Likewise.
24861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24862 Likewise.
24863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24868 file.
24869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24870 file.
24871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24872 file.
24873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24874 file.
24875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24880 new VIS2 routines.
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24884 Likewise.
24885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24890 routines to libm-sysdep_routines.
24891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24892
24893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24894 fdim/fdimf to libm-sysdep_routines.
24895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24896 file.
24897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24899 file.
24900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24903 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24904 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24905 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24906 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24907
249082013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24909
24910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24911 to optimize copies.
24912
24913 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24916
24917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24918 local variable MPTWO.
24919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24920 Likewise.
24921
249222013-01-13 Mike Frysinger <vapier@gentoo.org>
24923
24924 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24925 GLOB_NOESCAPE.
24926
249272013-01-13 Mike Frysinger <vapier@gentoo.org>
24928
24929 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24930
249312013-01-13 Mike Frysinger <vapier@gentoo.org>
24932
24933 * manual/pattern.texi (glob_t): Document gl_flags.
24934 (glob64_t): Likewise.
24935
249362013-01-11 David S. Miller <davem@davemloft.net>
24937
24938 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24939 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24940 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24941 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24942 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24943 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24944 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24945 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24946 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24947 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24948 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24949 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24950 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24951
24952 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24953 sparc V9 rather than using V8 code.
24954 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24955 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24956
24957 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24958 Move to...
24959 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24960 Here.
24961
249622013-01-11 Roland McGrath <roland@hack.frob.com>
24963
24964 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24965 not in the main loop.
24966 * configure: Regenerated.
24967
249682013-01-11 Joseph Myers <joseph@codesourcery.com>
24969
24970 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24971 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24972 to just #else.
24973 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24974 [!__GLIBC_HAVE_LONG_LONG] case.
24975 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24976 condition to just #else.
24977 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24978 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24979 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24980 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24981 unconditional.
24982 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24983 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24984 #elif condition to just #else.
24985 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24986 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24987 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24988 #elif condition to just #else.
24989
249902013-01-11 Steve Ellcey <sellcey@mips.com>
24991
24992 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24993 (EF_MIPS_ARCH_64): Fix value.
24994 (EF_MIPS_ARCH_32R2): New.
24995 (EF_MIPS_ARCH_64R2): New.
24996
249972013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24998
24999 * Makeconfig (+link-pie-before-libc): New.
25000 (+link-pie-after-libc): Likewise.
25001 (+link-pie-tests): Likewise.
25002 (+link-pie): Rewritten.
25003 (link-before-libc): Remove $(config-LDFLAGS).
25004 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25005 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25006 (config-LDFLAGS): Renamed to ...
25007 (rtld-LDFLAGS): This.
25008 (rtld-tests-LDFLAGS): New macro.
25009 (link-libc-rpath-link): Likewise.
25010 (link-libc-tests-rpath-link): Likewise.
25011 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25012 (link-libc): Prepand $(link-libc-rpath-link).
25013 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25014 (test-program-prefix): New macro.
25015 (test-via-rtld-prefix): Likewise.
25016 (test-program-cmd): Likewise.
25017 (host-test-program-cmd): Likewise.
25018 * Makefile ($(common-objpfx)testrun.sh): Replace
25019 $(run-program-prefix) with $(test-program-prefix).
25020 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25021 $(rtld-LDFLAGS).
25022 ($(common-objpfx)shlib.lds): Likewise.
25023 (build-module-helper): Likewise.
25024 ($(common-objpfx)format.lds): Likewise.
25025 * Rules (binaries-pie-tests): New.
25026 (binaries-pie-notests): Likewise.
25027 (binaries-pie): Rewritten.
25028 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25029 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25030 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25031 (make-test-out): Replace $(host-built-program-cmd) with
25032 $(host-test-program-cmd).
25033 * config.make.in (build-hardcoded-path-in-tests): New variable.
25034 * configure.in (--enable-hardcoded-path-in-tests): New configure
25035 option.
25036 (hardcoded_path_in_tests): New AC_SUBST.
25037 * configure: Regenerated.
25038 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25039 $(built-program-cmd) with $(test-program-cmd).
25040 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25041 (test_program_cmd): This.
25042 * elf/Makefile ($(objpfx)order.out): Run test with
25043 $(test-program-prefix).
25044 ($(objpfx)order2.out): Likewise.
25045 ($(objpfx)tst-initorder.out): Likewise.
25046 ($(objpfx)tst-initorder2.out): Likewise.
25047 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25048 $(test-program-cmd).
25049 ($(objpfx)tst-array1-static.out): Likewise.
25050 ($(objpfx)tst-array2.out): Likewise.
25051 ($(objpfx)tst-array3.out): Likewise.
25052 ($(objpfx)tst-array4.out): Likewise.
25053 ($(objpfx)tst-array5.out): Likewise.
25054 ($(objpfx)tst-array5-static.out): Likewise.
25055 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25056 $(test-program-cmd).
25057 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25058 $(run-program-prefix) with $(test-program-prefix).
25059 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25060 (test_program_prefix): This.
25061 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25062 $(run-program-prefix) with $(test-program-prefix).
25063 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25064 (test_program_prefix): This.
25065 * iconvdata/tst-tables.sh: Likewise.
25066 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25067 $(run-program-prefix) with $(test-program-prefix).
25068 ($(objpfx)tst-translit.out): Likewise.
25069 ($(objpfx)tst-gettext2.out): Likewise.
25070 ($(objpfx)tst-gettext4.out): Likewise.
25071 ($(objpfx)tst-gettext6.out): Likewise.
25072 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25073 (test_program_prefix): This.
25074 * intl/tst-gettext2.sh: Likewise.
25075 * intl/tst-gettext4.sh Likewise.
25076 * intl/tst-gettext6.sh: Likewise.
25077 * intl/tst-translit.sh: Likewise.
25078 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25079 with $(test-program-cmd).
25080 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25081 $(run-program-prefix) with $(test-program-prefix).
25082 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25083 (test_program_prefix): This.
25084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25085 $(run-program-prefix) with $(test-program-prefix).
25086 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25087 (test_program_prefix): This.
25088 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25089 * posix/Makefile ($(objpfx)globtest.out): Replace
25090 $(run-via-rtld-prefix) and $(test-wrapper) with
25091 $(test-program-prefix) and $(test-via-rtld-prefix).
25092 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25093 $(test-program-prefix).
25094 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25095 $(host-test-program-cmd).
25096 (tst-spawn-ARGS): Likewise.
25097 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25098 $(test-program-prefix).
25099 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25100 (test_via_rtld_prefix): This.
25101 (test_wrapper): Renamed to ...
25102 (test_program_prefix): This.
25103 (run_program_prefix): Replaced by test_program_prefix.
25104 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25105 (test_program_prefix): This.
25106 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25107 with $(host-test-program-cmd).
25108 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25109 $(run-program-prefix) with $(test-program-prefix).
25110 ($(objpfx)tst-printf.out): Likewise.
25111 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25112 $(test-program-cmd).
25113 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25114 (test_program_prefix): This.
25115 * stdio-common/tst-unbputc.sh: Likewise.
25116 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25117 $(run-program-prefix) with $(test-program-prefix).
25118 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25119 (test_program_prefix): This.
25120 * string/Makefile ($(objpfx)tst-svc.out): Replace
25121 $(built-program-cmd) with $(test-program-cmd).
25122
251232013-01-11 Andreas Jaeger <aj@suse.de>
25124
25125 [BZ #15003]
25126 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25127 value. Sync with Linux 3.7.
25128
251292013-01-10 David S. Miller <davem@davemloft.net>
25130
25131 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25132 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25133 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25134
251352013-01-10 Roland McGrath <roland@hack.frob.com>
25136
25137 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25138 never set.
25139 * configure: Regenerated.
25140
251412013-01-10 David S. Miller <davem@davemloft.net>
25142
25143 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25144 sparc V9 rather than using V8 code.
25145 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25146 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25147
251482013-01-10 Roland McGrath <roland@hack.frob.com>
25149
25150 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25151 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25152 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25153 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25154 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25155 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25156 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25157 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25158 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25159 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25160 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25161 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25162 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25163 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25164 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25165 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25166 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25167 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25168 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25169 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25170 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25171 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25172 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25173 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25174 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25175 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25176 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25177
251782013-01-10 David S. Miller <davem@davemloft.net>
25179
25180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25181
251822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25183
25184 * posix/Makefile (tests-static): New variable.
25185 (tests): Add $(tests-static).
25186 (tst-exec-static-ARGS): New variable.
25187 (tst-spawn-static-ARGS): Likewise.
25188 * posix/tst-exec-static.c: New file.
25189 * posix/tst-spawn-static.c: Likewise.
25190 * posix/tst-exec.c: Support run directly.
25191 * posix/tst-spawn.c: Likewise.
25192
251932013-01-10 Joseph Myers <joseph@codesourcery.com>
25194
25195 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25196 long.
25197 * math/bits/mathcalls.h (llrint): Likewise.
25198 (llround): Likewise.
25199 * stdlib/stdlib.h (struct drand48_data): Likewise.
25200 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25201 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25202 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25203 Likewise.
25204 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25205 Likewise.
25206 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25207 (elf_greg_t): Likewise.
25208 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25209 (__jmp_buf): Likewise.
25210 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25211 definitions.
25212 (llrint): Likewise, for all definitions.
25213 (llrintl): Likewise.
25214
25215 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25216 Remove [__GNUC__] condition.
25217 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25218 condition to just [__USE_ISOC99].
25219 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25220
252212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25222
25223 [BZ #14200]
25224 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25225 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25226 defined.
25227 (_POSIX_V6_ILP32_OFF32): Likewise.
25228 (_XBS5_ILP32_OFF32): Likewise.
25229 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25230 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25231
252322013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25233
25234 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25235
25236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25237 doubles __mpexp_twomm1. Adjust usage.
25238 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25239 Remove.
25240
252412013-01-10 Andreas Schwab <schwab@suse.de>
25242
25243 [BZ #14964]
25244 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25245 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25246
252472013-01-09 David S. Miller <davem@davemloft.net>
25248
25249 [BZ #15003]
25250 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25251 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25252 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25253 (TCP_FASTOPEN): Define.
25254 (tcp_repair_opt): New structure.
25255 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25256 enum values.
25257 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25258 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25259 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25260 (tcp_cookie_transactions): New structure.
25261
252622013-01-09 Anton Blanchard <anton@samba.org>
25263
25264 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25265 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25266 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25267 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25268
252692013-01-09 Joseph Myers <joseph@codesourcery.com>
25270
25271 * include/features.h (__USE_ANSI): Remove.
25272
252732013-01-09 Roland McGrath <roland@hack.frob.com>
25274
25275 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25276
25277 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25278
252792013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25280
25281 * sysdeps/s390/fpu/libm-test-ulps: Update.
25282
25283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25284
25285 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25286 (__acr): Likewise.
25287 (__cpy): Likewise.
25288 (norm): Likewise.
25289 (denorm): Likewise.
25290 (__mp_dbl): Likewise.
25291 (__dbl_mp): Likewise.
25292 (add_magnitudes): Likewise.
25293 (sub_magnitudes): Likewise.
25294 (__add): Likewise.
25295 (__sub): Likewise.
25296 (__mul): Likewise.
25297 (__inv): Likewise.
25298 (__dvd): Likewise.
25299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25300 (__acr): Likewise.
25301 (__cpy): Likewise.
25302 (norm): Likewise.
25303 (denorm): Likewise.
25304 (__mp_dbl): Likewise.
25305 (__dbl_mp): Likewise.
25306 (add_magnitudes): Likewise.
25307 (sub_magnitudes): Likewise.
25308 (__add): Likewise.
25309 (__sub): Likewise.
25310 (__mul): Likewise.
25311 (__inv): Likewise.
25312 (__dvd): Likewise.
25313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25314 (__acr): Likewise.
25315 (__cpy): Likewise.
25316 (norm): Likewise.
25317 (denorm): Likewise.
25318 (__mp_dbl): Likewise.
25319 (__dbl_mp): Likewise.
25320 (add_magnitudes): Likewise.
25321 (sub_magnitudes): Likewise.
25322 (__add): Likewise.
25323 (__sub): Likewise.
25324 (__mul): Likewise.
25325 (__inv): Likewise.
25326 (__dvd): Likewise.
25327
253282013-01-08 Joseph Myers <joseph@codesourcery.com>
25329
25330 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25331 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25332 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25333 2 && __USE_EXTERN_INLINES]: Likewise.
25334
253352013-01-08 Andreas Jaeger <aj@suse.de>
25336
25337 [BZ# 14985]
25338 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25339 Remove.
25340 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25341 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25342
253432013-01-07 Anton Blanchard <anton@samba.org>
25344
25345 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25346 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25347 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25348 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25349 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25350 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25351 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25352 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25356 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25357 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25358 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25359 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25361 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25363 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25365 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25366 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25368 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25369 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25370 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25371 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25372 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25374 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25375 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25378 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25379 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25380 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25381 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25382 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25383 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25384 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25385 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25387 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25388
253892013-01-07 Joseph Myers <joseph@codesourcery.com>
25390
25391 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25392 (__MALLOC_PMT): Likewise.
25393 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25394 [__GNUC__], only on [_LIBC].
25395 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25396 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25397 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25398 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25399 forward declaration.
25400 (realloc_hook_ini): Likewise.
25401 (memalign_hook_ini): Likewise.
25402 (__libc_memalign): Do not use __MALLOC_PMT in variable
25403 declaration.
25404 (__libc_valloc): Likewise.
25405 (__libc_pvalloc): Likewise.
25406 (__libc_calloc): Likewise.
25407 (__posix_memalign): Likewise.
25408
25409 [BZ #14996]
25410 * math/s_casinh.c: Include <float.h>.
25411 (__casinh): Do not do computation with squaring and square root
25412 for large arguments.
25413 * math/s_casinhf.c: Include <float.h>.
25414 (__casinhf): Do not do computation with squaring and square root
25415 for large arguments.
25416 * math/s_casinhl.c: Include <float.h>.
25417 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25418 (__casinhl): Do not do computation with squaring and square root
25419 for large arguments.
25420 * math/libm-test.inc (casin_test): Add more tests.
25421 (casinh_test): Likewise.
25422 * sysdeps/i386/fpu/libm-test-ulps: Update.
25423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25424
254252013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25426
25427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25428 (__x86_64_raw_data_cache_size): Likewise.
25429 (__x86_64_data_cache_size_half): Likewise.
25430 (__x86_64_raw_data_cache_size_half): Likewise.
25431 (__x86_64_shared_cache_size): Likewise.
25432 (__x86_64_raw_shared_cache_size): Likewise.
25433 (__x86_64_shared_cache_size_half): Likewise.
25434 (__x86_64_raw_shared_cache_size_half): Likewise.
25435 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25436 to ...
25437 (__x86_data_cache_size): This.
25438 (__x86_64_raw_data_cache_size): Renamed to ...
25439 (__x86_raw_data_cache_size): This.
25440 (__x86_64_data_cache_size_half): Renamed to ...
25441 (__x86_data_cache_size_half): This.
25442 (__x86_64_raw_data_cache_size_half): Renamed to ...
25443 (__x86_raw_data_cache_size_half): This.
25444 (__x86_64_shared_cache_size): Renamed to ...
25445 (__x86_shared_cache_size): This.
25446 (__x86_64_raw_shared_cache_size): Renamed to ...
25447 (__x86_raw_shared_cache_size): This.
25448 (__x86_64_shared_cache_size_half): Renamed to ...
25449 (__x86_shared_cache_size_half): This.
25450 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25451 (__x86_raw_shared_cache_size_half): This.
25452 * sysdeps/x86_64/memcpy.S: Updated.
25453 * sysdeps/x86_64/memset.S: Likewise.
25454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25455 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25457
254582013-01-04 David S. Miller <davem@davemloft.net>
25459
25460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25461
254622013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25463
25464 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25465 1 to avoid redefinition warning.
25466 (__USE_GNU): Don't define.
25467 (init_signaling_nan): Protoize.
25468
25469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25470
254712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25472
25473 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25475 (__cpymn): Likewise.
25476 (norm): Remove commented code.
25477 (denorm): Likewise.
25478 (__mp_dbl): Likewise.
25479 (__inv): Likewise.
25480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25481 (__cpymn): Likewise.
25482 (norm): Remove commented code.
25483 (denorm): Likewise.
25484 (__mp_dbl): Likewise.
25485 (__inv): Likewise.
25486
25487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25488 mp_no value for 1.0 and 2.0.
25489 (norm): Use RADIXI instead of radixi.d.
25490 (denorm): Likewise.
25491 (__mul): Use 0.0 instead of zero.d.
25492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25493 mp_no value for 1.0 and 2.0.
25494 (norm): Use RADIXI instead of radixi.d.
25495 (denorm): Likewise.
25496 (__mul): Use 0.0 instead of zero.d.
25497
254982013-01-04 Joseph Myers <joseph@codesourcery.com>
25499
25500 [BZ #14994]
25501 * math/s_casinh.c (__casinh): Reduce finite argument to first
25502 quadrant then set signs of results at the end.
25503 * math/s_casinhf.c (__casinhf): Likewise.
25504 * math/s_casinhl.c (__casinhl): Likewise.
25505 * math/libm-test.inc (casin_test): Add more tests.
25506 (casinh_test): Likewise.
25507 * sysdeps/i386/fpu/libm-test-ulps: Update.
25508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25509
255102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25511
25512 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25513
25514 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25515
25516 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25517 declarations.
25518 (denorm): Likewise.
25519 (__mp_dbl): Likewise.
25520 (__inv): Likewise.
25521
25522 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25523 and adjust the header comment.
25524
25525 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25526 variable name from declaration.
25527
255282013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25529
25530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25531 Initialize COMMON_CPUID_INDEX_7 element.
25532 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25533 (CPUID_RTM): Likewise.
25534 (HAS_RTM): Likewise.
25535 (COMMON_CPUID_INDEX_7): New enum.
25536
255372013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25538
25539 [BZ #14981]
25540 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25541 size is zero, record memory as freed.
25542
255432013-01-03 Andreas Jaeger <aj@suse.de>
25544
25545 * po/ia.po: Add new Interlingua translation.
25546
255472012-01-03 Allan McRae <allan@archlinux.org>
25548
25549 * locale/programs/localedef.c: Fix description of '--posix' flag.
25550
255512013-01-02 Joseph Myers <joseph@codesourcery.com>
25552
25553 * NEWS: Update dates in second copyright notice.
25554 * README: Update copyright dates in example.
25555 * manual/libc.texinfo: Update copyright dates.
25556 * scripts/test-installation.pl: Update copyright date in --version
25557 output.
25558
25559 * hurd/ctty-input.c: Fix copyright notice formatting.
25560 * hurd/ctty-output.c: Likewise.
25561 * hurd/dtable.c: Likewise.
25562 * hurd/hurd-raise.c: Likewise.
25563 * hurd/hurdprio.c: Likewise.
25564 * hurd/msgportdemux.c: Likewise.
25565 * misc/sys/file.h: Likewise.
25566 * misc/sys/ioctl.h: Likewise.
25567 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25568 * sysdeps/mach/hurd/chdir.c: Likewise.
25569 * sysdeps/mach/hurd/fchdir.c: Likewise.
25570 * sysdeps/mach/hurd/rename.c: Likewise.
25571 * sysdeps/mach/hurd/rmdir.c: Likewise.
25572 * sysdeps/mach/hurd/seekdir.c: Likewise.
25573 * sysdeps/mach/hurd/setsid.c: Likewise.
25574 * sysdeps/posix/wait3.c: Likewise.
25575
25576 * All files with FSF copyright notices: Update copyright dates
25577 using scripts/update-copyrights.
25578 * intl/plural.c: Regenerated.
25579 * locale/programs/charmap-kw.h: Likewise.
25580 * locale/programs/locfile-kw.h: Likewise.
25581
255822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25583
25584 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25585 four values.
25586
25587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25588 calculation loop and add branch prediction.
25589
25590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25591 check access beyond bounds of m1np.
25592
25593 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25594 MPTWO.
25595 (__inv): Remove local variable MPTWO to use the global
25596 constant.
25597 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25598 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25599 variable MPTWO.
25600 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25601 MP3HALFS static const.
25602
256032013-01-01 David S. Miller <davem@davemloft.net>
25604
25605 * po/ca.po: Update from translation team.
25606
256072013-01-01 Joseph Myers <joseph@codesourcery.com>
25608
25609 * scripts/update-copyrights: New file.
25610 * Makeconfig: Reformat copyright notice.
25611 * ctype/ctype.h: Likewise.
25612 * debug/swprintf_chk.c: Likewise.
25613 * elf/dl-cache.c: Likewise.
25614 * elf/dl-debug.c: Likewise.
25615 * elf/dl-object.c: Likewise.
25616 * grp/initgroups.c: Likewise.
25617 * hurd/Makefile: Likewise.
25618 * hurd/hurd/signal.h: Likewise.
25619 * hurd/hurdfault.c: Likewise.
25620 * hurd/hurdioctl.c: Likewise.
25621 * hurd/hurdlookup.c: Likewise.
25622 * hurd/intr-msg.c: Likewise.
25623 * iconv/gconv_open.c: Likewise.
25624 * libio/swprintf.c: Likewise.
25625 * locale/lc-ctype.c: Likewise.
25626 * locale/nl_langinfo.c: Likewise.
25627 * mach/Machrules: Likewise.
25628 * mach/Makefile: Likewise.
25629 * malloc/obstack.h: Likewise.
25630 * manual/Makefile: Likewise.
25631 * manual/tsort.awk: Likewise.
25632 * misc/bits/stab.def: Likewise.
25633 * nis/nis_print_group_entry.c: Likewise.
25634 * nis/nis_table.c: Likewise.
25635 * nis/nss_compat/compat-pwd.c: Likewise.
25636 * nis/nss_compat/compat-spwd.c: Likewise.
25637 * po/Makefile: Likewise.
25638 * posix/fnmatch.c: Likewise.
25639 * posix/regex.h: Likewise.
25640 * resolv/Makefile: Likewise.
25641 * resolv/nss_dns/dns-network.c: Likewise.
25642 * resolv/res_hconf.c: Likewise.
25643 * scripts/gen-sorted.awk: Likewise.
25644 * soft-fp/soft-fp.h: Likewise.
25645 * stdio-common/printf.h: Likewise.
25646 * stdlib/monetary.h: Likewise.
25647 * stdlib/random.c: Likewise.
25648 * stdlib/random_r.c: Likewise.
25649 * sysdeps/generic/Makefile: Likewise.
25650 * sysdeps/gnu/Makefile: Likewise.
25651 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25655 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25658 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25664 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25665 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25666 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25667 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25669 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25673 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25679 * sysdeps/mach/hurd/errnos.awk: Likewise.
25680 * sysdeps/mach/hurd/fork.c: Likewise.
25681 * sysdeps/mach/hurd/getcwd.c: Likewise.
25682 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25683 * sysdeps/mach/hurd/mmap.c: Likewise.
25684 * sysdeps/mach/hurd/utimes.c: Likewise.
25685 * sysdeps/mach/hurd/xmknod.c: Likewise.
25686 * sysdeps/posix/profil.c: Likewise.
25687 * sysdeps/posix/readdir_r.c: Likewise.
25688 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25689 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25690 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25691 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25695 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25697 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25698 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25699 * sysdeps/pthread/lio_listio.c: Likewise.
25700 * sysdeps/sparc/dl-procinfo.h: Likewise.
25701 * sysdeps/unix/i386/sysdep.S: Likewise.
25702 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25703 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25704 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25705 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25707 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25708 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25709 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25710 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25711 * sysdeps/wordsize-32/divdi3.c: Likewise.
25712 * time/sys/time.h: Likewise.
25713 * wcsmbs/Makefile: Likewise.
25714
257152013-01-01 David S. Miller <davem@davemloft.net>
25716
25717 * po/fr.po: Update from translation team.
25718
25719 * catgets/gencat.c: Update copyright year.
25720 * csu/version.c: Likewise.
25721 * debug/catchsegv.sh: Likewise.
25722 * debug/pcprofiledump.c: Likewise.
25723 * debug/xtrace.sh: Likewise.
25724 * elf/ldconfig.c: Likewise.
25725 * elf/ldd.bash.in: Likewise.
25726 * elf/pldd.c: Likewise.
25727 * elf/sotruss.ksh: Likewise.
25728 * elf/sprof.c: Likewise.
25729 * iconv/iconv_prog.c: Likewise.
25730 * iconv/iconvconfig.c: Likewise.
25731 * locale/programs/locale.c: Likewise.
25732 * locale/programs/localedef.c: Likewise.
25733 * login/programs/pt_chown.c: Likewise.
25734 * malloc/memusage.sh: Likewise.
25735 * malloc/memusagestat.c: Likewise.
25736 * malloc/mtrace.pl: Likewise.
25737 * nscd/nscd.c: Likewise.
25738 * nss/getent.c: Likewise.
25739 * nss/makedb.c: Likewise.
25740 * posix/getconf.c: Likewise.
25741
257422012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25743
25744 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25745 numbers.
25746
257472012-12-30 Mike Frysinger <vapier@gentoo.org>
25748
25749 * math/bits/mathcalls.h (modf): Use __nonnull.
25750
257512012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25752
25753 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25754 (split): Use macro CN instead of the bare value.
25755 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25756 could be used.
25757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25758 instead of the bare value.
25759 (power1): Likewise.
25760
257612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25762
25763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25764 __ATAN_TWOM.
25765 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25766
25767 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25768 their values.
25769 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25770 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25771 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25772 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25773
257742012-12-28 Andreas Jaeger <aj@suse.de>
25775
25776 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25777 values are from Linux 3.7.
25778
25779 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25780 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25781
257822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25783
25784 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25785 TRUE case.
25786
25787 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25788 (norm): Likewise.
25789 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25790 variables with preprocessor constants.
25791 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25793 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25794
257952012-12-27 Bruno Haible <bruno@clisp.org>
25796
25797 [BZ #14317]
25798 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25799 only if needed.
25800
258012012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25802
25803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25804 and use variable directly.
25805 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25806
25807 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25808 MPONE.
25809 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25810 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25811 variable MPONE.
25812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25814 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25815 include directive. Remove local variable MPONE.
25816 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25819
258202012-12-25 David S. Miller <davem@davemloft.net>
25821
25822 * version.h (RELEASE): Set to "development".
25823 (VERSION): Set to "2.17.90".
25824 * NEWS: Add 2.18 section.
25825
258262012-12-21 David S. Miller <davem@davemloft.net>
25827
25828 * po/hr.po: Update from translation team.
25829
258302012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25831
25832 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25833
258342012-12-19 Steve Ellcey <sellcey@mips.com>
25835
25836 * NEWS: Mention new memcpy for MIPS.
25837
258382012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25839
25840 * manual/contrib.texi (Contributors): Spelling correction.
25841
258422012-12-15 David S. Miller <davem@davemloft.net>
25843
25844 * po/ru.po: Update from translation team.
25845
258462012-12-13 David S. Miller <davem@davemloft.net>
25847
25848 * NEWS: Mention IFUNC testsuite enhancements.
25849
25850 * po/pl.po: Update from translation team.
25851 * po/bg.po: Likewise.
25852
25853 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25854 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25855
258562012-12-11 David S. Miller <davem@davemloft.net>
25857
25858 * po/sv.po: Update from translation team.
25859
25860 * po/vi.po: Update from translation team.
25861
25862 * po/cs.po: Update from translation team.
25863
25864 * po/de.po: Update from translation team.
25865 * po/eo.po: Likewise.
25866 * po/nl.po: Likewise.
25867
258682012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25869
25870 [BZ #14246]
25871 * manual/argp.texi (Argp Helper Functions): Move node to follow
25872 Argp Parsing State.
25873
25874 [BZ #14872]
25875 * manual/conf.texi (Limits on File System Capacity): Mention if
25876 terminating null is included in the max size.
25877
258782012-12-10 Andreas Jaeger <aj@suse.de>
25879
25880 * po/cs.po: Update from translation team.
25881
258822012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25883
25884 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25885 void pointer and cast to uintptr_t.
25886 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25887 path.
25888 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25889 * sysdeps/s390/s390-64/memset.S: Likewise.
25890
258912012-12-08 Benno Schulenberg <bensberg@justemail.net>
25892
25893 [BZ #14833]
25894 * menual/message.texi (Message Translation): Fix typos.
25895 (Helper programs for gettext): Likewise.
25896
258972012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25898
25899 [BZ #14898]
25900 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25901 Change to -1.
25902
259032012-12-07 David S. Miller <davem@davemloft.net>
25904
25905 * po/libc.pot: Update.
25906
259072012-12-07 Richard Henderson <rth@redhat.com>
25908
25909 [BZ #10114]
25910 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25911 normal/normal case to before the switch.
25912 (_FP_DIV): Likewise.
25913
259142012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25915 Mike Frysinger <vapier@gentoo.org>
25916
25917 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25918 check for __NR_fadvise64_64.
25919
259202012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25921
25922 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25923 0, not just to plain "0" as a statement.
25924 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25925 with cw.
25926
259272012-12-06 Joseph Myers <joseph@codesourcery.com>
25928
25929 * NEWS: Use sourceware.org in Bugzilla URL.
25930
259312012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25932
25933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25934 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25935
25936 * stdio-common/tst-put-error.c (do_test): Add newline to the
25937 padded test to ensure flush.
25938
259392012-12-05 Jeff Law <law@redhat.com>
25940
25941 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25942
259432012-12-05 Joseph Myers <joseph@codesourcery.com>
25944
25945 * README: Don't refer to ports add-on as distributed separately.
25946 Mention AArch64 in list of systems supported in the ports add-on.
25947
25948 * LICENSES: Add more non-FSF copyright and license notices.
25949
25950 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25951 ((unused)).
25952
25953 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25954
25955 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25956 10000 as width of padded output.
25957
259582012-12-04 Joseph Myers <joseph@codesourcery.com>
25959
25960 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25961
25962 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25963 variable LX with __attribute__ ((unused)).
25964 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25965 Likewise.
25966 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25969 with __attribute__ ((unused)).
25970
259712012-12-04 David S. Miller <davem@abraco.davemloft.net>
25972
25973 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25974
259752012-12-04 Joseph Myers <joseph@codesourcery.com>
25976
25977 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25978 (CFLAGS-nldbl-acos.c): New variable.
25979 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25980 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25981 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25982 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25983 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25984 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25985 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25986 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25987 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25988 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25989 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25990 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25991 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25992 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25993 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25994 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25995 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25996 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25997 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25998 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25999 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26000 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26001 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26002 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26003 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26004 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26005 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26006 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26007 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26008 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26009 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26010 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26011 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26012 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26013 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26014 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26015 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26016 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26017 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26018 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26019 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26020 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26021 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26022 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26023 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26024 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26025 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26026 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26027 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26028 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26029 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26030 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26031 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26032 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26033 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26034 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26035 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26036 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26037 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26038 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26039 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26040 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26041 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26042 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26043 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26044 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26045 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26046 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26047 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26048 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26049 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26050 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26051 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26052 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26053 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26054 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26055 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26056 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26057 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26058 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26059 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26060 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26061 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26062 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26063 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26064 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26065 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26066 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26067 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26068 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26069 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26070 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26071 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26072 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26073 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26074 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26075 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26076
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26078 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26079
26080 [BZ #14914]
26081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26082 whole low double instead of just low 47 bits when splitting values
26083 into two parts.
26084
260852012-12-03 Allan McRae <allan@archlinux.org>
26086
26087 * manual/stdio.texi (Predefined Printf Handlers): Remove
26088 @hsep and @vsep usage.
26089
260902012-12-03 Mike Frysinger <vapier@gentoo.org>
26091
26092 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26093 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26094
260952012-12-03 Jeff Law <law@redhat.com>
26096
26097 * time/sys/time.h (settimeofday): Do not mark TV argument
26098 as __nonnull.
26099
261002012-12-01 Mike Frysinger <vapier@gentoo.org>
26101
26102 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26103 when currently writing and seek to current position when not.
26104 * libio/Makefile (tests): Remove bug-fclose1.
26105 * libio/bug-fclose1.c: Delete.
26106
261072012-12-01 Joseph Myers <joseph@codesourcery.com>
26108
26109 * manual/arith.texi (feenableexcept): Fix typo.
26110 (fedisableexcept): Likewise.
26111
261122012-11-30 Roland McGrath <roland@hack.frob.com>
26113
26114 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26115 second, differently-typed declaration, rather than a cast.
26116
261172012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26118
26119 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26120 * include/rpc/svc.h: ... here.
26121
261222012-11-30 Aurelien Jarno <aurel32@debian.org>
26123
26124 [BZ #13013]
26125 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26126 depending n and resplen2 to catch cases where answer
26127 equals answerp2.
26128
261292012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26130
26131 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26132 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26133
261342012-11-29 Mike Frysinger <vapier@gentoo.org>
26135
26136 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26137
261382012-11-29 Roland McGrath <roland@hack.frob.com>
26139
26140 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26141
261422012-11-28 Jeff Law <law@redhat.com>
26143
26144 [BZ #13761]
26145 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26146 dataset_temporary. Track alloca usage into alloca_used.
26147 If dataset is large allocate and release it via malloc/free.
26148
261492012-06-04 Florian Weimer <fweimer@redhat.com>
26150
26151 [BZ #14197]
26152 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26153
261542012-11-28 David S. Miller <davem@davemloft.net>
26155
26156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26157
261582012-11-28 Joseph Myers <joseph@codesourcery.com>
26159
26160 [BZ #14803]
26161 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26162 of pi/2 rounded to nearest to 64 bits.
26163 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26164 nearest to 64 bits.
26165 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26166 bits.
26167
261682012-11-28 Jeff Law <law@redhat.com>
26169 Martin Osvald <mosvald@redhat.com>
26170
26171 [BZ #14889]
26172 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26173 * sunrpc/svc.c: Include time.h.
26174 (__svc_accept_failed): New function.
26175 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26176 any reason other than EINTR, call __svc_accept_failed.
26177 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26178 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26179
261802012-11-28 Andreas Schwab <schwab@suse.de>
26181
26182 * scripts/abilist.awk: Also handle indirect functions in .opd
26183 section.
26184
261852012-11-28 Joseph Myers <joseph@codesourcery.com>
26186
26187 [BZ #13881]
26188 * sysdeps/x86/fpu/powl_helper.c: New file.
26189 * sysdeps/x86/fpu/Makefile: Likewise.
26190 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26191 (p3): New object.
26192 (__ieee754_powl): Use __powl_helper for finite arguments except
26193 integer exponents below 8.
26194 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26195 (p3): New object.
26196 (__ieee754_powl): Use __powl_helper for finite arguments except
26197 integer exponents below 8.
26198 * math/libm-test.inc (pow_test): Add more tests and enable some
26199 previously disabled tests.
26200 * sysdeps/i386/fpu/libm-test-ulps: Update.
26201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26202
262032012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26204 Carlos O'Donell <carlos_odonell@mentor.com>
26205
26206 * nss/makedb.c (is_prime): Assert that input is odd and greater
26207 than 4. Note that fact in a comment too.
26208 (next_prime): Add 4 to input.
26209
262102012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26211
26212 [BZ #11741]
26213 * libio/Makefile (tests): Add test case tst-fwrite-error.
26214 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26215 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26216 * libio/tst-fwrite-error.c: New test case.
26217
262182012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26219
26220 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26221 before casting to void *.
26222 * include/libc-internal.h (__pointer_type): New macro.
26223 (__integer_if_pointer_type_sub): Likewise.
26224 (__integer_if_pointer_type): Likewise.
26225 (cast_to_integer): Likewise.
26226 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26227 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26228 before casting to atomic64_t.
26229 (atomic_exchange_acq): Likewise.
26230 (__arch_exchange_and_add_body): Likewise.
26231 (__arch_add_body): Likewise.
26232 (atomic_add_negative): Likewise.
26233 (atomic_add_zero): Likewise.
26234
262352012-11-26 Joseph Myers <joseph@codesourcery.com>
26236
26237 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26238 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26239 (add_fdes): Likewise.
26240 (linear_search_fdes): Likewise.
26241 (binary_search_unencoded_fdes): Likewise.
26242
262432012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26244
26245 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26246
262472012-11-24 Adam Conrad <adconrad@0c3.net>
26248
26249 * configure.in: Autodetect C++ header directories.
26250 * configure: Regenerated.
26251
262522012-11-23 Mike Frysinger <vapier@gentoo.org>
26253
26254 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26255
262562012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26257
26258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26259
262602012-11-22 Joseph Myers <joseph@codesourcery.com>
26261
26262 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26263 LDBL_MANT_DIG == 106]: Disable some tests.
26264 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26265 Likewise.
26266 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26267 Likewise.
26268
26269 [BZ #14871]
26270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26271 input for small inputs. Return +/- pi/2 for large inputs.
26272 * math/libm-test.inc (atan_test): Add more tests.
26273
26274 * sysdeps/generic/unwind-dw2-fde-glibc.c
26275 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26276 __attribute__ ((unused)).
26277
26278 [BZ #14645]
26279 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26280 x * y if x and y are nonzero and z is zero.
26281
26282 [BZ #14811]
26283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26284 nonzero exponents with absolute value below 0x1p-117 to +/-
26285 0x1p-117.
26286
26287 [BZ #14869]
26288 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26289 up arguments below 2**-450, not just those below 2**-500.
26290 * math/libm-test.inc (hypot_test): Add another test.
26291
26292 [BZ #14868]
26293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26294 Return a+b for ratio over 2**120, not 2**60.
26295 * math/libm-test.inc (hypot_test): Add another test.
26296
26297 * math/libm-test.inc (clog_test): Use
26298 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26299 (clog10_test): Likewise.
26300
26301 [BZ #6778]
26302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26303
263042012-11-22 Andreas Schwab <schwab@suse.de>
26305
26306 * sysdeps/i386/fpu/libm-test-ulps: Update.
26307
263082012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26309
26310 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26311 printf output with newline.
26312
263132012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26314
26315 [BZ #14865]
26316 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26317 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26318 -z nodlopen, -z initfirst and -z execstack support.
26319 * configure: Regenerated.
26320
26321 * elf/elf.h (DF_1_NODIRECT): New macro.
26322 (DF_1_IGNMULDEF): Likewise.
26323 (DF_1_NOKSYMS): Likewise.
26324 (DF_1_NOHDR): Likewise.
26325 (DF_1_EDITED): Likewise.
26326 (DF_1_NORELOC): Likewise.
26327 (DF_1_SYMINTPOSE): Likewise.
26328 (DF_1_GLOBAUDIT): Likewise.
26329 (DF_1_SINGLETON): Likewise.
26330 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26331 DT_1_SUPPORTED_MASK bits.
26332 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26333
263342012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26335
26336 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26337
263382012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26339
26340 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26341 macro.
26342
26343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26344 (sendmmsg): Move declarations...
26345 * socket/sys/socket.h: ... here.
26346 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26347 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26348 include it from...
26349 * socket/recvmmsg.c: ... this new file.
26350 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26351 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26352 definition of __sendmmsg hidden.
26353 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26354 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26355 Move ENOSYS stub into and include it from...
26356 * socket/sendmmsg.c: ... this new file.
26357 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26358 (sysdep_routines): Move recvmmsg and sendmmsg...
26359 * socket/Makefile (routines): ... here.
26360 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26361 (GLIBC_PRIVATE): Add __sendmmsg.
26362 * include/sys/socket.h (__sendmmsg): Add declarations.
26363 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26364 sendmmsg.
26365
263662012-11-20 Joseph Myers <joseph@codesourcery.com>
26367
26368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26369 variable I1 with __attribute__ ((unused)).
26370 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26371
263722012-11-19 Joseph Myers <joseph@codesourcery.com>
26373
26374 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26375 DUMMY variables with __attribute__ ((unused)).
26376
26377 * bits/byteswap.h: Include <bits/types.h>.
26378 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26379
263802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26381
26382 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26383 string_t. Do not manually set errno.
26384 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26385 length with __strnlen. Make sure to both set errno and return it on
26386 failure.
26387
263882012-11-19 David S. Miller <davem@davemloft.net>
26389
26390 With help from Joseph Myers.
26391 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26392 very large arguments properly.
26393 * math/libm-test.inc (atan_test): New tests.
26394 (atan2_test): New tests.
26395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26397
263982012-11-19 Joseph Myers <joseph@codesourcery.com>
26399
26400 [BZ #14856]
26401 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26402 Define to 3.
26403
26404 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26405 [POSIX] (EADDRNOTAVAIL): Likewise.
26406 [POSIX] (EAFNOSUPPORT): Likewise.
26407 [POSIX] (EALREADY): Likewise.
26408 [POSIX] (ECONNABORTED): Likewise.
26409 [POSIX] (ECONNREFUSED): Likewise.
26410 [POSIX] (ECONNRESET): Likewise.
26411 [POSIX] (EDESTADDRREQ): Likewise.
26412 [POSIX] (EDQUOT): Likewise.
26413 [POSIX] (EHOSTUNREACH): Likewise.
26414 [POSIX] (EIDRM): Likewise.
26415 [POSIX] (EISCONN): Likewise.
26416 [POSIX] (ELOOP): Likewise.
26417 [POSIX] (EMULTIHOP): Likewise.
26418 [POSIX] (ENETDOWN): Likewise.
26419 [POSIX] (ENETUNREACH): Likewise.
26420 [POSIX] (ENOBUFS): Likewise.
26421 [POSIX] (ENODATA): Likewise.
26422 [POSIX] (ENOLINK): Likewise.
26423 [POSIX] (ENOMSG): Likewise.
26424 [POSIX] (ENOPROTOOPT): Likewise.
26425 [POSIX] (ENOSR): Likewise.
26426 [POSIX] (ENOSTR): Likewise.
26427 [POSIX] (ENOTCONN): Likewise.
26428 [POSIX] (ENOTSOCK): Likewise.
26429 [POSIX] (EOPNOTSUPP): Likewise.
26430 [POSIX] (EOVERFLOW): Likewise.
26431 [POSIX] (EPROTO): Likewise.
26432 [POSIX] (EPROTONOSUPPORT): Likewise.
26433 [POSIX] (EPROTOTYPE): Likewise.
26434 [POSIX] (ESTALE): Likewise.
26435 [POSIX] (ETIME): Likewise.
26436 [POSIX] (ETXTBSY): Likewise.
26437 [POSIX] (EWOULDBLOCK): Likewise.
26438 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26439 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26440 [POSIX] (SEEK_CUR): Likewise.
26441 [POSIX] (SEEK_END): Likewise.
26442 [POSIX || UNIX98] (mode_t): Do not require.
26443 [POSIX] (off_t): Likewise.
26444 [POSIX] (pid_t): Likewise.
26445 [POSIX] (sys/stat.h): Do not allow header.
26446 [POSIX] (unistd.h): Likewise.
26447 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26448 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26449 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26450 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26451 require.
26452 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26453 sigevent): Specify elements.
26454 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26455 entry.
26456 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26457 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26458
26459 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26460 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26461 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26462 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26463 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26464 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26465 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26466 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26467 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26468 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26469 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26470 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26471 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26472 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26473 Likewise.
26474 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26475 Likewise.
26476 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26477 Likewise.
26478 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26479 Likewise.
26480 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26481 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26482 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26483 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26484 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26485 Specify lower bound on value.
26486 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26487 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26488 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26489 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26490 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26491 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26492 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26493 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26494 value.
26495 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26496 as optional.
26497 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26498 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26499 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26500 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26501 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26502 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26503 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26504 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26505 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26506 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26507 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26508 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26509 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26510 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26511 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26512 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26513 entry.
26514 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26515 optional.
26516 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26517 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26518 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26519 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26520 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26521 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26522 Likewise.
26523 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26524 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26525 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26526 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26527 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26528 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26529 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26530 as optional.
26531 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26533 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26534 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26535 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26536 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26537 specify as optional.
26538 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26539 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26540 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26541 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26542 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26543 [XPG3] (NL_LANGMAX): Likewise.
26544 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26545 [POSIX || XPG3] (NL_NMAX): Likewise.
26546 [POSIX || XPG3] (NL_SETMAX): Likewise.
26547 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26548 [XPG3] (NZERO): Likewise.
26549 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26550 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26551 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26552 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26553 (REG_ERANGE): Expect.
26554 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26555 optional-constant.
26556 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26557 Use (void) in prototype.
26558 [POSIX] (*_t): Allow.
26559 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26560 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26561 (WRDE_BADVAL): Expect.
26562
26563 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26564 expect.
26565 [XPG3 || XPG4] (O_RSYNC): Likewise.
26566 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26567 Likewise.
26568 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26569 [XPG3 || XPG4] (sigqueue): Likewise.
26570 [XPG3 || XPG4] (sigtimedwait): Likewise.
26571 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26572 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26573 [XPG3 || XPG4] (vsnprintf): Likewise.
26574 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26575 Likewise.
26576 [XPG3 || XPG4] (blksize_t): Likewise.
26577 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26578 Likewise.
26579 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26580 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26581 [XPG3 || XPG4] (struct itimerspec): Likewise.
26582 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26583 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26584 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26585 [XPG3 || XPG4] (clockid_t): Likewise.
26586 [XPG3 || XPG4] (timer_t): Likewise.
26587 [XPG3 || XPG4] (clock_getres): Likewise.
26588 [XPG3 || XPG4] (clock_gettime): Likewise.
26589 [XPG3 || XPG4] (clock_settime): Likewise.
26590 [XPG3 || XPG4] (nanosleep): Likewise.
26591 [XPG3 || XPG4] (timer_create): Likewise.
26592 [XPG3 || XPG4] (timer_delete): Likewise.
26593 [XPG3 || XPG4] (timer_gettime): Likewise.
26594 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26595 [XPG3 || XPG4] (timer_settime): Likewise.
26596 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26597 [XPG3 || XPG4] (getlogin_r): Likewise.
26598 [XPG3 || XPG4] (pread): Likewise.
26599 [XPG3 || XPG4] (pthread_atfork): Likewise.
26600 [XPG3 || XPG4] (pwrite): Likewise.
26601
26602 [BZ #14835]
26603 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26604 <bits/siginfo.h>.
26605
266062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26607
26608 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26609 finalizing MALLSTREAM.
26610
26611 * sysdeps/mach/hurd/syncfs.c: New file.
26612
266132012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26614
26615 [BZ #14719]
26616 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26617 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26618 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26619 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26620 (_nss_dns_gethostbyname4_r): Likewise.
26621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26622 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26623
266242012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26625
26626 [BZ #13763]
26627 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26628
266292012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26630
26631 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26632 * elf/cache.c (print_entry): Print ",AArch64" for
26633 FLAG_AARCH64_LIB64
26634
26635 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26636 * elf/cache.c (print_entry): Print ",hard-float" for
26637 FLAG_ARM_LIBHF.
26638
266392012-11-18 David S. Miller <davem@davemloft.net>
26640
26641 With help from Joseph Myers.
26642 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26643 cutoff to 2**-13.
26644 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26645 cutoff to 2**-25.
26646 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26647 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26648 small.
26649 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26650 * math/libm-test.inc (y0_test): New tests.
26651 (y1_test): New tests.
26652 * sysdeps/i386/fpu/libm-test-ulps: Update.
26653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26655
266562012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26657
26658 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26659 64-bit targets.
26660 * configure: Regenerated.
26661
266622012-11-17 David S. Miller <davem@davemloft.net>
26663
26664 [BZ #14811]
26665 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26666 nonzero exponents with absolute value below 0x1p-128 to +/-
26667 0x1p-128.
26668
266692012-11-17 Joseph Myers <joseph@codesourcery.com>
26670
26671 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26672
26673 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26674
26675 * posix/getconf-speclist.c: New file.
26676 * posix/posix-envs.def: Likewise.
26677 * posix/confstr.c (START_ENV_GROUP): New macro.
26678 (END_ENV_GROUP): Likewise.
26679 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26680 (KNOWN_PRESENT_ENV_STRING): Likewise.
26681 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26682 (UNKNOWN_ENVIRONMENT): Likewise.
26683 (confstr): Include posix-envs.def instead of handling
26684 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26685 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26686 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26687 (END_ENV_GROUP): Likewise.
26688 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26689 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26690 (UNKNOWN_ENVIRONMENT): Likewise.
26691 (__sysconf): Include posix-envs.def instead of handling associated
26692 cases directly here.
26693 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26694 preprocessing getconf-speclist.c rather than running getconf or
26695 generating empty file.
26696
266972012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26698
26699 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26700
267012012-11-16 Andrej Lajovic <natrij@gmail.com>
26702
26703 [BZ #14672]
26704 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26705
267062012-11-16 David S. Miller <davem@davemloft.net>
26707
26708 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26709 smaller than LDBL_EPSILON/2.0L, just return xm1.
26710
267112012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26712
26713 * elf/tst-array1.c (init): Set constructor priority to 1000.
26714 (fini): Set destructor priority to 1000.
26715 * elf/tst-array2dep.c: Likewise.
26716
267172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26718
26719 [BZ #11741]
26720 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26721 (_IO_new_file_xsputn): Also return EOF if none of the input
26722 data was written when overflow failed.
26723 * libio/iopadn.c (_IO_padn): Likewise.
26724 * libio/iowpadn.c (_IO_wpadn): Likewise.
26725 * stdio-common/tst-put-error.c: Add copyright notice.
26726 (do_test): Add case for printing padded string.
26727 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26728 _IO_padn returned error.
26729 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26730 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26731 return EOF.
26732
267332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26734
26735 * libio/libioP.h: Add comment note that the references to C++
26736 bits are now obsolete.
26737
267382012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26739
26740 * math/libm-test.inc (check_complex): Use asprintf.
26741
267422012-11-14 Joseph Myers <joseph@codesourcery.com>
26743
26744 * debug/pcprofiledump.c (print_version): Update copyright year.
26745 * malloc/memusagestat.c (print_version): Likewise.
26746
267472012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26748
26749 [BZ #14831]
26750 * elf/Makefile (tests): Add tst-audit8.
26751 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26752 ($(objpfx)tst-audit8.out): New target.
26753 (tst-audit8-ENV): New variable.
26754 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26755 audit if l_reloc_result is NULL.
26756 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26757 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26758 * elf/tst-audit8.c: New file.
26759
267602012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26761
26762 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26763 * misc/Makefile (CFLAGS-select.c): Define.
26764 * posix/Makefile (CFLAGS-pause.c): Define.
26765
267662012-11-13 David S. Miller <davem@davemloft.net>
26767
26768 * crypt/Makefile: Move test targets after toplevel Rules
26769 inclusion. Grab any necessary sysdep routines when linking.
26770 * crypt/md5.c (md5_process_block): Remove define, we will always
26771 name it __md5_process_block.
26772 (md5_finish_ctx): Update md5_process_block call.
26773 (md5_stream): Likewise.
26774 (md5_process_bytes): Likewise.
26775 (md5_process_block): Rename to __md5_process_block and move to ...
26776 * crypt/md5-block.c: ... here.
26777 * crypt/sha256.c (sha256_process_block): Move to ...
26778 * crypt/sha256-block.c: ... here.
26779 * crypt/sha512.c (sha512_process_block): Move to ...
26780 * crypt/sha512-block.c: ... here.
26781 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26782 path.
26783 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26784 * sysdeps/sparc/sparc64/multiarch/Makefile
26785 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26786 crypt subdir.
26787 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26788 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26789 multiarch changes.
26790 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26791 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26792 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26793 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26794 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26795 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26796 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26797 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26798 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26799 file.
26800 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26801 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26802 file.
26803 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26804
268052012-11-13 Joseph Myers <joseph@codesourcery.com>
26806
26807 * timezone/tzselect.ksh: Update from tzcode git revision
26808 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26809 * timezone/zdump.c: Likewise.
26810 * timezone/zic.c: Likewise.
26811 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26812 in TZVERSION setting, not $(PKGVERSION).
26813 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26814 REPORT_BUGS_TO settings.
26815
26816 [BZ #14838]
26817 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26818 macro.
26819
268202012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26821
26822 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26823 detection to immediately after _FP_ROUND().
26824 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26825 bits are 0.
26826
268272012-11-11 David S. Miller <davem@davemloft.net>
26828
26829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26830 inttypes.h
26831 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26832 __close rather than their public counterparts.
26833
268342012-11-10 Joseph Myers <joseph@codesourcery.com>
26835
26836 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26837 file.
26838 [UNIX98] (sem_timedwait): Do not expect.
26839 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26840 [XPG4 || UNIX98] (sockatmark): Do not expect.
26841 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26842 (clock_getcpuclockid): Do not expect.
26843 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26844 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26845 Do not expect.
26846 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26847 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26848 [UNIX98] (vwscanf): Likewise.
26849 [UNIX98] (vswscanf): Likewise.
26850
268512012-11-09 Joseph Myers <joseph@codesourcery.com>
26852
26853 * timezone/version.h: Remove file.
26854 * timezone/README: Do not refer to version.h.
26855 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26856 $(objpfx)version.h.
26857 ($(objpfx)zdump.o): Likewise.
26858 ($(objpfx)version.h): New target.
26859
26860 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26861 2012i.
26862 * timezone/README: Don't mention modification to tzselect.ksh.
26863 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26864 work on unmodified tzselect.ksh. Substitute version numbers in
26865 tzselect.ksh.
26866
26867 * Makefile (format-me): Remove.
26868 (INSTALL): Adjust indentation. Use commands directly instead of
26869 using $(format-me).
26870
26871 * aclocal.m4 (ACX_PKGVERSION): New macro.
26872 (ACX_BUGURL): Likewise.
26873 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26874 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26875 (REPORT_BUGS_TO): Likewise.
26876 * configure: Regenerated.
26877 * config.h.in (PKGVERSION): New macro.
26878 (REPORT_BUGS_TO): Likewise.
26879 * config.make.in (PKGVERSION): New variable.
26880 (PKGVERSION_TEXI): Likewise.
26881 (REPORT_BUGS_TO): Likewise.
26882 (REPORT_BUGS_TEXI): Likewise.
26883 * Makefile (format-me): Use -I$(common-objpfx)manual.
26884 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26885 ($(common-objpfx)manual/%): New target.
26886 (manual/%): Remove target.
26887 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26888 (print_version): Use PKGVERSION.
26889 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26890 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26891 and REPORT_BUGS_TO.
26892 ($(objpfx)xtrace): Likewise.
26893 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26894 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26895 (print_version): Use PKGVERSION.
26896 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26897 (do_version): Use PKGVERSION.
26898 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26899 REPORT_BUGS_TO.
26900 (common-ldd-rewrite): Likewise.
26901 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26902 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26903 (print_version): Use PKGVERSION.
26904 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26905 * elf/pldd.c (argp_program_bug_address): Remove variable.
26906 (more_help): New function.
26907 (argp): Use more_help.
26908 (print_version): Use PKGVERSION.
26909 * elf/sln.c (main): Use PKGVERSION.
26910 (usage): Use REPORT_BUGS_TO.
26911 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26912 (top level): Use PKGVERSION.
26913 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26914 (print_version): Use PKGVERSION.
26915 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26916 (print_version): Use PKGVERSION.
26917 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26918 (print_version): Use PKGVERSION.
26919 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26920 (print_version): Use PKGVERSION.
26921 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26922 (print_version): Use PKGVERSION.
26923 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26924 (print_version): Use PKGVERSION.
26925 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26926 and BUGURL.
26927 ($(objpfx)memusage): Likewise.
26928 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26929 (do_version): Use PKGVERSION.
26930 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26931 (print_version): Use PKGVERSION.
26932 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26933 ($PKGVERSION): New variable.
26934 ($REPORT_BUGS_TO): Likewise.
26935 (usage): Use $REPORT_BUGS_TO.
26936 (top level): Use $PKGVERSION.
26937 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26938 ($(objpfx)pkgvers.texi): New rule.
26939 ($(objpfx)stamp-pkgvers): Likewise.
26940 * manual/install.texi: Include pkgvers.texi.
26941 (--with-pkgversion): Document new configure option.
26942 (--with-bugurl): Likewise.
26943 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26944 than necessarily for this particular distribution. Use
26945 REPORT_BUGS_TO for where to report bugs.
26946 * INSTALL: Regenerated.
26947 * manual/libc.texinfo: Include pkgvers.texi.
26948 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26949 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26950 (print_version): Use PKGVERSION.
26951 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26952 (print_version): Use PKGVERSION.
26953 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26954 (print_version): Use PKGVERSION.
26955 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26956 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26957 macro.
26958 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26959 (print_version): Use PKGVERSION.
26960 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26961 (print_version): Use PKGVERSION.
26962 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26963 and PKGVERSION.
26964
26965 * timezone/checktab.awk: Update from tzcode 2012i.
26966 * timezone/ialloc.c: Likewise.
26967 * timezone/private.h: Likewise.
26968 * timezone/scheck.c: Likewise.
26969 * timezone/tzfile.h: Likewise.
26970 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26971 (TZVERSION): Hardcode tzcode version number.
26972 * timezone/zdump.c: Update from tzcode 2012i.
26973 * timezone/zic.c: Likewise.
26974 * timezone/version.h: New file.
26975 * timezone/README: Describe version.h. Update upstream location.
26976
26977 [BZ #14824]
26978 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26979 (mktemp): Enable declaration.
26980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26984 Likewise.
26985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26986 Likewise.
26987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26988 Likewise.
26989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26990 Likewise.
26991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26992 Likewise.
26993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26994 Likewise.
26995
26996 [BZ #14821]
26997 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26998 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26999 for copies of such integer values.
27000 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27001 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27002
270032012-11-09 Andreas Jaeger <aj@suse.de>
27004
27005 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27006 definitions and declarations that are provided by
27007 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27008
270092012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27010
27011 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27012 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27013 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27014 definition.
27015
270162012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27017
27018 * elf/elf.h: Update comment before AArch64 relocations.
27019
270202012-11-07 David S. Miller <davem@davemloft.net>
27021
27022 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27023 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27024 (__start_context): Declare.
27025 (__makecontext_ret): Delete.
27026 (__makecontext): Hook up __start_context instead of
27027 __makecontext_ret.
27028 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27029 (sysdep_routines): Add __start_context when in stdlib.
27030
270312012-11-07 Joseph Myers <joseph@codesourcery.com>
27032
27033 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27034 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27035 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27036 hardcoded "nm".
27037 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27038 (READELF): New variable. Use it instead of hardcoded "readelf".
27039
270402012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27041
27042 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27043 * sysdeps/x86/Makefile: Here.
27044 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27045 * sysdeps/x86/tst-xmmymm.sh: This.
27046
270472012-11-07 Joseph Myers <joseph@codesourcery.com>
27048
27049 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27050 expectations.
27051 [UNIX98] (pthread_barrier_t): Do not expect.
27052 [UNIX98] (pthread_barrierattr_t): Likewise.
27053 [UNIX98] (pthread_spinlock_t): Likewise.
27054 [UNIX98] (pthread_barrier_destroy): Likewise.
27055 [UNIX98] (pthread_barrier_init): Likewise.
27056 [UNIX98] (pthread_barrier_wait): Likewise.
27057 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27058 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27059 [UNIX98] (pthread_barrierattr_init): Likewise.
27060 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27061 [UNIX98] (pthread_getcpuclockid): Likewise.
27062 [UNIX98] (pthread_mutex_timedlock): Likewise.
27063 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27064 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27065 [UNIX98] (pthread_sigmask): Likewise.
27066 [UNIX98] (pthread_spin_destroy): Likewise.
27067 [UNIX98] (pthread_spin_init): Likewise.
27068 [UNIX98] (pthread_spin_lock): Likewise.
27069 [UNIX98] (pthread_spin_trylock): Likewise.
27070 [UNIX98] (pthread_spin_unlock): Likewise.
27071 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27072 Do not expect.
27073 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27074 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27075 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27076 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27077 [XPG3 || XPG4] (pthread_key_t): Likewise.
27078 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27079 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27080 [XPG3 || XPG4] (pthread_once_t): Likewise.
27081 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27082 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27083 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27084 [XPG3 || XPG4] (pthread_t): Likewise.
27085
27086 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27087 not expect.
27088 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27089
27090 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27091 Change function return type to int.
27092
27093 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27094 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27095 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27096 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27097 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27098 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27099 [!POSIX] (posix_madvise): Likewise.
27100 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27101 && !UNIX98].
27102 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27103 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27104 (mode_t): Likewise.
27105 (posix_mem_offset): Likewise.
27106 (posix_typed_mem_get_info): Likewise.
27107 (posix_typed_mem_open): Likewise.
27108
27109 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27110 Change condition to [XOPEN2K8].
27111
27112 * conform/conformtest.pl: Preprocess allow-header data with -x c
27113 instead of from stdin.
27114 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27115 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27116 [C99-based standards] (cerfc): Likewise.
27117 [C99-based standards] (cexp2): Likewise.
27118 [C99-based standards] (cexpm1): Likewise.
27119 [C99-based standards] (clog10): Likewise.
27120 [C99-based standards] (clog1p): Likewise.
27121 [C99-based standards] (clog2): Likewise.
27122 [C99-based standards] (clgamma): Likewise.
27123 [C99-based standards] (ctgamma): Likewise.
27124 [C99-based standards] (cerff): Likewise.
27125 [C99-based standards] (cerfcf): Likewise.
27126 [C99-based standards] (cexp2f): Likewise.
27127 [C99-based standards] (cexpm1f): Likewise.
27128 [C99-based standards] (clog10f): Likewise.
27129 [C99-based standards] (clog1pf): Likewise.
27130 [C99-based standards] (clog2f): Likewise.
27131 [C99-based standards] (clgammaf): Likewise.
27132 [C99-based standards] (ctgammaf): Likewise.
27133 [C99-based standards] (cerfl): Likewise.
27134 [C99-based standards] (cerfcl): Likewise.
27135 [C99-based standards] (cexp2l): Likewise.
27136 [C99-based standards] (cexpm1l): Likewise.
27137 [C99-based standards] (clog10l): Likewise.
27138 [C99-based standards] (clog1pl): Likewise.
27139 [C99-based standards] (clog2l): Likewise.
27140 [C99-based standards] (clgammal): Likewise.
27141 [C99-based standards] (ctgammal): Likewise.
27142 * conform/data/inttypes.h-data [C99-based standards]: Include
27143 stdint.h-data. Remove all expectations for stdint.h contents.
27144 [C99-based standards] (PRI*): Do not allow.
27145 [C99-based standards] (SCN*): Likewise.
27146 [C99-based standards] (*_t): Likewise.
27147 [C99-based-standards] (PRId8): Expect macro.
27148 [C99-based-standards] (PRIi8): Likewise.
27149 [C99-based-standards] (PRIo8): Likewise.
27150 [C99-based-standards] (PRIu8): Likewise.
27151 [C99-based-standards] (PRIx8): Likewise.
27152 [C99-based-standards] (PRIX8): Likewise.
27153 [C99-based-standards] (SCNd8): Likewise.
27154 [C99-based-standards] (SCNi8): Likewise.
27155 [C99-based-standards] (SCNo8): Likewise.
27156 [C99-based-standards] (SCNu8): Likewise.
27157 [C99-based-standards] (SCNx8): Likewise.
27158 [C99-based-standards] (PRIdLEAST8): Likewise.
27159 [C99-based-standards] (PRIiLEAST8): Likewise.
27160 [C99-based-standards] (PRIoLEAST8): Likewise.
27161 [C99-based-standards] (PRIuLEAST8): Likewise.
27162 [C99-based-standards] (PRIxLEAST8): Likewise.
27163 [C99-based-standards] (PRIXLEAST8): Likewise.
27164 [C99-based-standards] (SCNdLEAST8): Likewise.
27165 [C99-based-standards] (SCNiLEAST8): Likewise.
27166 [C99-based-standards] (SCNoLEAST8): Likewise.
27167 [C99-based-standards] (SCNuLEAST8): Likewise.
27168 [C99-based-standards] (SCNxLEAST8): Likewise.
27169 [C99-based-standards] (PRIdFAST8): Likewise.
27170 [C99-based-standards] (PRIiFAST8): Likewise.
27171 [C99-based-standards] (PRIoFAST8): Likewise.
27172 [C99-based-standards] (PRIuFAST8): Likewise.
27173 [C99-based-standards] (PRIxFAST8): Likewise.
27174 [C99-based-standards] (PRIXFAST8): Likewise.
27175 [C99-based-standards] (SCNdFAST8): Likewise.
27176 [C99-based-standards] (SCNiFAST8): Likewise.
27177 [C99-based-standards] (SCNoFAST8): Likewise.
27178 [C99-based-standards] (SCNuFAST8): Likewise.
27179 [C99-based-standards] (SCNxFAST8): Likewise.
27180 [C99-based-standards] (PRId16): Likewise.
27181 [C99-based-standards] (PRIi16): Likewise.
27182 [C99-based-standards] (PRIo16): Likewise.
27183 [C99-based-standards] (PRIu16): Likewise.
27184 [C99-based-standards] (PRIx16): Likewise.
27185 [C99-based-standards] (PRIX16): Likewise.
27186 [C99-based-standards] (SCNd16): Likewise.
27187 [C99-based-standards] (SCNi16): Likewise.
27188 [C99-based-standards] (SCNo16): Likewise.
27189 [C99-based-standards] (SCNu16): Likewise.
27190 [C99-based-standards] (SCNx16): Likewise.
27191 [C99-based-standards] (PRIdLEAST16): Likewise.
27192 [C99-based-standards] (PRIiLEAST16): Likewise.
27193 [C99-based-standards] (PRIoLEAST16): Likewise.
27194 [C99-based-standards] (PRIuLEAST16): Likewise.
27195 [C99-based-standards] (PRIxLEAST16): Likewise.
27196 [C99-based-standards] (PRIXLEAST16): Likewise.
27197 [C99-based-standards] (SCNdLEAST16): Likewise.
27198 [C99-based-standards] (SCNiLEAST16): Likewise.
27199 [C99-based-standards] (SCNoLEAST16): Likewise.
27200 [C99-based-standards] (SCNuLEAST16): Likewise.
27201 [C99-based-standards] (SCNxLEAST16): Likewise.
27202 [C99-based-standards] (PRIdFAST16): Likewise.
27203 [C99-based-standards] (PRIiFAST16): Likewise.
27204 [C99-based-standards] (PRIoFAST16): Likewise.
27205 [C99-based-standards] (PRIuFAST16): Likewise.
27206 [C99-based-standards] (PRIxFAST16): Likewise.
27207 [C99-based-standards] (PRIXFAST16): Likewise.
27208 [C99-based-standards] (SCNdFAST16): Likewise.
27209 [C99-based-standards] (SCNiFAST16): Likewise.
27210 [C99-based-standards] (SCNoFAST16): Likewise.
27211 [C99-based-standards] (SCNuFAST16): Likewise.
27212 [C99-based-standards] (SCNxFAST16): Likewise.
27213 [C99-based-standards] (PRId32): Likewise.
27214 [C99-based-standards] (PRIi32): Likewise.
27215 [C99-based-standards] (PRIo32): Likewise.
27216 [C99-based-standards] (PRIu32): Likewise.
27217 [C99-based-standards] (PRIx32): Likewise.
27218 [C99-based-standards] (PRIX32): Likewise.
27219 [C99-based-standards] (SCNd32): Likewise.
27220 [C99-based-standards] (SCNi32): Likewise.
27221 [C99-based-standards] (SCNo32): Likewise.
27222 [C99-based-standards] (SCNu32): Likewise.
27223 [C99-based-standards] (SCNx32): Likewise.
27224 [C99-based-standards] (PRIdLEAST32): Likewise.
27225 [C99-based-standards] (PRIiLEAST32): Likewise.
27226 [C99-based-standards] (PRIoLEAST32): Likewise.
27227 [C99-based-standards] (PRIuLEAST32): Likewise.
27228 [C99-based-standards] (PRIxLEAST32): Likewise.
27229 [C99-based-standards] (PRIXLEAST32): Likewise.
27230 [C99-based-standards] (SCNdLEAST32): Likewise.
27231 [C99-based-standards] (SCNiLEAST32): Likewise.
27232 [C99-based-standards] (SCNoLEAST32): Likewise.
27233 [C99-based-standards] (SCNuLEAST32): Likewise.
27234 [C99-based-standards] (SCNxLEAST32): Likewise.
27235 [C99-based-standards] (PRIdFAST32): Likewise.
27236 [C99-based-standards] (PRIiFAST32): Likewise.
27237 [C99-based-standards] (PRIoFAST32): Likewise.
27238 [C99-based-standards] (PRIuFAST32): Likewise.
27239 [C99-based-standards] (PRIxFAST32): Likewise.
27240 [C99-based-standards] (PRIXFAST32): Likewise.
27241 [C99-based-standards] (SCNdFAST32): Likewise.
27242 [C99-based-standards] (SCNiFAST32): Likewise.
27243 [C99-based-standards] (SCNoFAST32): Likewise.
27244 [C99-based-standards] (SCNuFAST32): Likewise.
27245 [C99-based-standards] (SCNxFAST32): Likewise.
27246 [C99-based-standards] (PRId64): Likewise.
27247 [C99-based-standards] (PRIi64): Likewise.
27248 [C99-based-standards] (PRIo64): Likewise.
27249 [C99-based-standards] (PRIu64): Likewise.
27250 [C99-based-standards] (PRIx64): Likewise.
27251 [C99-based-standards] (PRIX64): Likewise.
27252 [C99-based-standards] (SCNd64): Likewise.
27253 [C99-based-standards] (SCNi64): Likewise.
27254 [C99-based-standards] (SCNo64): Likewise.
27255 [C99-based-standards] (SCNu64): Likewise.
27256 [C99-based-standards] (SCNx64): Likewise.
27257 [C99-based-standards] (PRIdLEAST64): Likewise.
27258 [C99-based-standards] (PRIiLEAST64): Likewise.
27259 [C99-based-standards] (PRIoLEAST64): Likewise.
27260 [C99-based-standards] (PRIuLEAST64): Likewise.
27261 [C99-based-standards] (PRIxLEAST64): Likewise.
27262 [C99-based-standards] (PRIXLEAST64): Likewise.
27263 [C99-based-standards] (SCNdLEAST64): Likewise.
27264 [C99-based-standards] (SCNiLEAST64): Likewise.
27265 [C99-based-standards] (SCNoLEAST64): Likewise.
27266 [C99-based-standards] (SCNuLEAST64): Likewise.
27267 [C99-based-standards] (SCNxLEAST64): Likewise.
27268 [C99-based-standards] (PRIdFAST64): Likewise.
27269 [C99-based-standards] (PRIiFAST64): Likewise.
27270 [C99-based-standards] (PRIoFAST64): Likewise.
27271 [C99-based-standards] (PRIuFAST64): Likewise.
27272 [C99-based-standards] (PRIxFAST64): Likewise.
27273 [C99-based-standards] (PRIXFAST64): Likewise.
27274 [C99-based-standards] (SCNdFAST64): Likewise.
27275 [C99-based-standards] (SCNiFAST64): Likewise.
27276 [C99-based-standards] (SCNoFAST64): Likewise.
27277 [C99-based-standards] (SCNuFAST64): Likewise.
27278 [C99-based-standards] (SCNxFAST64): Likewise.
27279 [C99-based-standards] (PRIdMAX): Likewise.
27280 [C99-based-standards] (PRIiMAX): Likewise.
27281 [C99-based-standards] (PRIoMAX): Likewise.
27282 [C99-based-standards] (PRIuMAX): Likewise.
27283 [C99-based-standards] (PRIxMAX): Likewise.
27284 [C99-based-standards] (PRIXMAX): Likewise.
27285 [C99-based-standards] (SCNdMAX): Likewise.
27286 [C99-based-standards] (SCNiMAX): Likewise.
27287 [C99-based-standards] (SCNoMAX): Likewise.
27288 [C99-based-standards] (SCNuMAX): Likewise.
27289 [C99-based-standards] (SCNxMAX): Likewise.
27290 [C99-based-standards] (PRIdPTR): Likewise.
27291 [C99-based-standards] (PRIiPTR): Likewise.
27292 [C99-based-standards] (PRIoPTR): Likewise.
27293 [C99-based-standards] (PRIuPTR): Likewise.
27294 [C99-based-standards] (PRIxPTR): Likewise.
27295 [C99-based-standards] (PRIXPTR): Likewise.
27296 [C99-based-standards] (SCNdPTR): Likewise.
27297 [C99-based-standards] (SCNiPTR): Likewise.
27298 [C99-based-standards] (SCNoPTR): Likewise.
27299 [C99-based-standards] (SCNuPTR): Likewise.
27300 [C99-based-standards] (SCNxPTR): Likewise.
27301 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27302 allow.
27303 * conform/data/stdint.h-data: Update comments to clarify
27304 requirements.
27305 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27306 type.
27307 [C99-based standards] (INT8_MAX): Likewise.
27308 [C99-based standards] (INT16_MIN): Likewise.
27309 [C99-based standards] (INT16_MAX): Likewise.
27310 [C99-based standards] (INT32_MIN): Likewise.
27311 [C99-based standards] (INT32_MAX): Likewise.
27312 [C99-based standards] (INT64_MIN): Likewise.
27313 [C99-based standards] (INT64_MAX): Likewise.
27314 [C99-based standards] (UINT8_MAX): Likewise.
27315 [C99-based standards] (UINT16_MAX): Likewise.
27316 [C99-based standards] (UINT32_MAX): Likewise.
27317 [C99-based standards] (UINT64_MAX): Likewise.
27318 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27319 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27320 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27321 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27322 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27323 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27324 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27325 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27326 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27327 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27328 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27329 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27330 [C99-based standards] (INT_FAST8_MIN): Likewise.
27331 [C99-based standards] (INT_FAST8_MAX): Likewise.
27332 [C99-based standards] (INT_FAST16_MIN): Likewise.
27333 [C99-based standards] (INT_FAST16_MAX): Likewise.
27334 [C99-based standards] (INT_FAST32_MIN): Likewise.
27335 [C99-based standards] (INT_FAST32_MAX): Likewise.
27336 [C99-based standards] (INT_FAST64_MIN): Likewise.
27337 [C99-based standards] (INT_FAST64_MAX): Likewise.
27338 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27339 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27340 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27341 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27342 [C99-based standards] (INTPTR_MIN): Likewise.
27343 [C99-based standards] (INTPTR_MAX): Likewise.
27344 [C99-based standards] (UINTPTR_MAX): Likewise.
27345 [C99-based standards] (INTMAX_MIN): Likewise.
27346 [C99-based standards] (INTMAX_MAX): Likewise.
27347 [C99-based standards] (UINTMAX_MAX): Likewise.
27348 [C99-based standards] (PTRDIFF_MIN): Likewise.
27349 [C99-based standards] (PTRDIFF_MAX): Likewise.
27350 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27351 [C99-based standards] (SIZE_MAX): Likewise.
27352 [C99-based standards] (WCHAR_MAX): Likewise.
27353 [C99-based standards] (WINT_MAX): Likewise.
27354 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27355 constraint on value.
27356 [C99-based standards] (WCHAR_MIN): Likewise.
27357 [C99-based standards] (WINT_MIN): Likewise.
27358 [C99-based standards] (*_t): Allow.
27359 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27360 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27361 Include math.h-data and complex.h-data. Remove all expectations
27362 of math.h and complex.h contents.
27363 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27364 at end of line.
27365 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27366 (struct tm): Expect tag.
27367 [C99-based-standards] (wcstof): Expect function.
27368 [C99-based-standards] (wcstold): Likewise.
27369 [C99-based-standards] (wcstoll): Likewise.
27370 [C99-based-standards] (wcstoull): Likewise.
27371 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27372 macro-int-constant. Specify type.
27373 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27374 constraint on value.
27375 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27376 Specify type.
27377 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27378 Specify value.
27379 [ISO C standards]: Do not allow headers.
27380 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27381 wcs[abcdefghijklmnopqrstuvwxyz]*.
27382 [ISO C standards] (*_t): Do not allow.
27383 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27384 Expect function.
27385 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27386 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27387 Specify type.
27388 [ISO C standards]: Do not allow headers.
27389 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27390 is[abcdefghijklmnopqrstuvwxyz]*.
27391 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27392 to[abcdefghijklmnopqrstuvwxyz]*.
27393 [ISO C standards] (*_t): Do not allow.
27394 * conform/data/stdalign.h-data: New file.
27395 * conform/data/stdbool.h-data: Likewise.
27396 * conform/data/stdnoreturn.h-data: Likewise.
27397
273982012-11-07 Roland McGrath <roland@hack.frob.com>
27399
27400 [BZ #14815]
27401 * manual/filesys.texi (Directory Entries): Typo fix.
27402 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27403
274042012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27405
27406 * elf/elf.h (EM_AARCH64): New macro.
27407 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27408 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27409 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27410 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27411 (R_AARCH64_TLSDESC): Likewise.
27412 (NT_ARM_TLS): Likewise.
27413 (NT_ARM_HW_BREAK): Likewise.
27414 (NT_ARM_HW_WATCH): Likewise.
27415
274162012-11-07 Joseph Myers <joseph@codesourcery.com>
27417
27418 [BZ #14811]
27419 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27420 (__ieee754_powl): Saturate nonzero exponents with absolute value
27421 below 0x1p-79 to +/- 0x1p-79.
27422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27423 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27424 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27425 nonzero exponents with absolute value below 0x1p-32 to +/-
27426 0x1p-32.
27427 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27428 (__ieee754_powl): Saturate nonzero exponents with absolute value
27429 below 0x1p-79 to +/- 0x1p-79.
27430 * math/libm-test.inc (pow_test): Add more tests.
27431
274322012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27433
27434 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27435 _dl_s390_cap_flags with kernel. Increase string length.
27436 (_dl_s390_platforms): Add z196 and zEC12.
27437
274382012-11-07 Joseph Myers <joseph@codesourcery.com>
27439
27440 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27441 Change XOPEN21K to XOPEN2K.
27442
274432012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27444
27445 * string/memmove.c: Use memcpy when possible.
27446
274472012-11-06 Andreas Jaeger <aj@suse.de>
27448
27449 * po/eo.po: Update from translation team.
27450
274512012-11-06 Joseph Myers <joseph@codesourcery.com>
27452
27453 [BZ #14793]
27454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27455 exponent and small x and y exponents, scale x or y up. Increase
27456 by 2 the exponent used in scaling up.
27457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27459 * math/libm-test.inc (fma_test): Add more tests.
27460 (fma_test_towardzero): Likewise.
27461 (fma_test_downward): Likewise.
27462 (fma_test_upward): Likewise.
27463
274642012-11-05 Joseph Myers <joseph@codesourcery.com>
27465
27466 [BZ #14805]
27467 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27468 fenv_t *.
27469
27470 [BZ #14801]
27471 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27472 namespace for names of struct fields.
27473 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27474 fenv_t fields.
27475 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27476 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27477
274782012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27479
27480 [BZ #3665]
27481 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27482
274832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27484
27485 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27486 PTR_DEMANGLE.
27487
27488 [BZ #5246]
27489 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27490 PTR_DEMANGLE.
27491
274922012-11-04 Joseph Myers <joseph@codesourcery.com>
27493
27494 [BZ #14797]
27495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27496 definitely overflow as x * y not x * y + z.
27497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27499 * math/libm-test.inc (fma_test): Add more tests.
27500 (fma_test_towardzero): Likewise.
27501 (fma_test_downward): Likewise.
27502 (fma_test_upward): Likewise.
27503
275042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27505
27506 [BZ #157]
27507
27508 * include/stub-tag.h: Remove file.
27509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27510 '#include' of it.
27511 * manual/maint.texi (Porting): Don't reference it.
27512 * Makerules ($(objpfx)stubs): Likewise.
27513 * dirent/closedir.c: Don't include <stub-tag.h>.
27514 * dirent/dirfd.c: Likewise.
27515 * dirent/fdopendir.c: Likewise.
27516 * dirent/getdents.c: Likewise.
27517 * dirent/getdents64.c: Likewise.
27518 * dirent/opendir.c: Likewise.
27519 * dirent/readdir.c: Likewise.
27520 * dirent/readdir64.c: Likewise.
27521 * dirent/readdir64_r.c: Likewise.
27522 * dirent/readdir_r.c: Likewise.
27523 * dirent/rewinddir.c: Likewise.
27524 * dirent/seekdir.c: Likewise.
27525 * dirent/telldir.c: Likewise.
27526 * gmon/profil.c: Likewise.
27527 * grp/setgroups.c: Likewise.
27528 * inet/if_index.c: Likewise.
27529 * io/access.c: Likewise.
27530 * io/chdir.c: Likewise.
27531 * io/chmod.c: Likewise.
27532 * io/chown.c: Likewise.
27533 * io/close.c: Likewise.
27534 * io/dup.c: Likewise.
27535 * io/dup2.c: Likewise.
27536 * io/dup3.c: Likewise.
27537 * io/euidaccess.c: Likewise.
27538 * io/faccessat.c: Likewise.
27539 * io/fchdir.c: Likewise.
27540 * io/fchmod.c: Likewise.
27541 * io/fchmodat.c: Likewise.
27542 * io/fchown.c: Likewise.
27543 * io/fchownat.c: Likewise.
27544 * io/fcntl.c: Likewise.
27545 * io/flock.c: Likewise.
27546 * io/fstatfs.c: Likewise.
27547 * io/fstatfs64.c: Likewise.
27548 * io/fstatvfs.c: Likewise.
27549 * io/fstatvfs64.c: Likewise.
27550 * io/futimens.c: Likewise.
27551 * io/fxstat.c: Likewise.
27552 * io/fxstat64.c: Likewise.
27553 * io/fxstatat.c: Likewise.
27554 * io/fxstatat64.c: Likewise.
27555 * io/getcwd.c: Likewise.
27556 * io/isatty.c: Likewise.
27557 * io/lchmod.c: Likewise.
27558 * io/lchown.c: Likewise.
27559 * io/link.c: Likewise.
27560 * io/linkat.c: Likewise.
27561 * io/lseek.c: Likewise.
27562 * io/lseek64.c: Likewise.
27563 * io/lxstat64.c: Likewise.
27564 * io/mkdir.c: Likewise.
27565 * io/mkdirat.c: Likewise.
27566 * io/mkfifo.c: Likewise.
27567 * io/mkfifoat.c: Likewise.
27568 * io/open.c: Likewise.
27569 * io/open64.c: Likewise.
27570 * io/openat.c: Likewise.
27571 * io/openat64.c: Likewise.
27572 * io/pipe.c: Likewise.
27573 * io/pipe2.c: Likewise.
27574 * io/poll.c: Likewise.
27575 * io/posix_fadvise.c: Likewise.
27576 * io/posix_fadvise64.c: Likewise.
27577 * io/posix_fallocate.c: Likewise.
27578 * io/posix_fallocate64.c: Likewise.
27579 * io/read.c: Likewise.
27580 * io/readlink.c: Likewise.
27581 * io/readlinkat.c: Likewise.
27582 * io/rmdir.c: Likewise.
27583 * io/sendfile.c: Likewise.
27584 * io/sendfile64.c: Likewise.
27585 * io/statfs.c: Likewise.
27586 * io/statfs64.c: Likewise.
27587 * io/statvfs.c: Likewise.
27588 * io/statvfs64.c: Likewise.
27589 * io/symlink.c: Likewise.
27590 * io/symlinkat.c: Likewise.
27591 * io/ttyname.c: Likewise.
27592 * io/ttyname_r.c: Likewise.
27593 * io/umask.c: Likewise.
27594 * io/unlink.c: Likewise.
27595 * io/unlinkat.c: Likewise.
27596 * io/utime.c: Likewise.
27597 * io/utimensat.c: Likewise.
27598 * io/write.c: Likewise.
27599 * io/xmknod.c: Likewise.
27600 * io/xmknodat.c: Likewise.
27601 * io/xstat.c: Likewise.
27602 * io/xstat64.c: Likewise.
27603 * login/getpt.c: Likewise.
27604 * login/grantpt.c: Likewise.
27605 * login/unlockpt.c: Likewise.
27606 * math/e_acoshl.c: Likewise.
27607 * math/e_acosl.c: Likewise.
27608 * math/e_asinl.c: Likewise.
27609 * math/e_atan2l.c: Likewise.
27610 * math/e_atanhl.c: Likewise.
27611 * math/e_coshl.c: Likewise.
27612 * math/e_expl.c: Likewise.
27613 * math/e_fmodl.c: Likewise.
27614 * math/e_gammal_r.c: Likewise.
27615 * math/e_hypotl.c: Likewise.
27616 * math/e_j0l.c: Likewise.
27617 * math/e_j1l.c: Likewise.
27618 * math/e_jnl.c: Likewise.
27619 * math/e_lgammal_r.c: Likewise.
27620 * math/e_log10l.c: Likewise.
27621 * math/e_log2l.c: Likewise.
27622 * math/e_logl.c: Likewise.
27623 * math/e_powl.c: Likewise.
27624 * math/e_rem_pio2l.c: Likewise.
27625 * math/e_sinhl.c: Likewise.
27626 * math/e_sqrtl.c: Likewise.
27627 * math/fclrexcpt.c: Likewise.
27628 * math/fedisblxcpt.c: Likewise.
27629 * math/feenablxcpt.c: Likewise.
27630 * math/fegetenv.c: Likewise.
27631 * math/fegetexcept.c: Likewise.
27632 * math/fegetround.c: Likewise.
27633 * math/feholdexcpt.c: Likewise.
27634 * math/fesetenv.c: Likewise.
27635 * math/fesetround.c: Likewise.
27636 * math/feupdateenv.c: Likewise.
27637 * math/fgetexcptflg.c: Likewise.
27638 * math/fraiseexcpt.c: Likewise.
27639 * math/fsetexcptflg.c: Likewise.
27640 * math/ftestexcept.c: Likewise.
27641 * math/k_cosl.c: Likewise.
27642 * math/k_rem_pio2l.c: Likewise.
27643 * math/k_sinl.c: Likewise.
27644 * math/k_tanl.c: Likewise.
27645 * math/s_asinhl.c: Likewise.
27646 * math/s_atanl.c: Likewise.
27647 * math/s_cbrtl.c: Likewise.
27648 * math/s_erfl.c: Likewise.
27649 * math/s_expm1l.c: Likewise.
27650 * math/s_log1pl.c: Likewise.
27651 * math/s_tanhl.c: Likewise.
27652 * misc/acct.c: Likewise.
27653 * misc/brk.c: Likewise.
27654 * misc/chflags.c: Likewise.
27655 * misc/chroot.c: Likewise.
27656 * misc/fchflags.c: Likewise.
27657 * misc/fgetxattr.c: Likewise.
27658 * misc/flistxattr.c: Likewise.
27659 * misc/fremovexattr.c: Likewise.
27660 * misc/fsetxattr.c: Likewise.
27661 * misc/fsync.c: Likewise.
27662 * misc/ftruncate.c: Likewise.
27663 * misc/futimes.c: Likewise.
27664 * misc/futimesat.c: Likewise.
27665 * misc/getdomain.c: Likewise.
27666 * misc/getdtsz.c: Likewise.
27667 * misc/gethostid.c: Likewise.
27668 * misc/gethostname.c: Likewise.
27669 * misc/getloadavg.c: Likewise.
27670 * misc/getpagesize.c: Likewise.
27671 * misc/getsysstats.c: Likewise.
27672 * misc/getxattr.c: Likewise.
27673 * misc/gtty.c: Likewise.
27674 * misc/ioctl.c: Likewise.
27675 * misc/lgetxattr.c: Likewise.
27676 * misc/listxattr.c: Likewise.
27677 * misc/llistxattr.c: Likewise.
27678 * misc/lremovexattr.c: Likewise.
27679 * misc/lsetxattr.c: Likewise.
27680 * misc/lutimes.c: Likewise.
27681 * misc/madvise.c: Likewise.
27682 * misc/mincore.c: Likewise.
27683 * misc/mlock.c: Likewise.
27684 * misc/mlockall.c: Likewise.
27685 * misc/mmap.c: Likewise.
27686 * misc/mprotect.c: Likewise.
27687 * misc/msync.c: Likewise.
27688 * misc/munlock.c: Likewise.
27689 * misc/munlockall.c: Likewise.
27690 * misc/munmap.c: Likewise.
27691 * misc/preadv.c: Likewise.
27692 * misc/preadv64.c: Likewise.
27693 * misc/ptrace.c: Likewise.
27694 * misc/pwritev.c: Likewise.
27695 * misc/pwritev64.c: Likewise.
27696 * misc/readv.c: Likewise.
27697 * misc/reboot.c: Likewise.
27698 * misc/remap_file_pages.c: Likewise.
27699 * misc/removexattr.c: Likewise.
27700 * misc/revoke.c: Likewise.
27701 * misc/select.c: Likewise.
27702 * misc/setdomain.c: Likewise.
27703 * misc/setegid.c: Likewise.
27704 * misc/seteuid.c: Likewise.
27705 * misc/sethostid.c: Likewise.
27706 * misc/sethostname.c: Likewise.
27707 * misc/setregid.c: Likewise.
27708 * misc/setreuid.c: Likewise.
27709 * misc/setxattr.c: Likewise.
27710 * misc/sstk.c: Likewise.
27711 * misc/stty.c: Likewise.
27712 * misc/swapoff.c: Likewise.
27713 * misc/swapon.c: Likewise.
27714 * misc/sync.c: Likewise.
27715 * misc/syncfs.c: Likewise.
27716 * misc/syscall.c: Likewise.
27717 * misc/truncate.c: Likewise.
27718 * misc/ualarm.c: Likewise.
27719 * misc/usleep.c: Likewise.
27720 * misc/ustat.c: Likewise.
27721 * misc/utimes.c: Likewise.
27722 * misc/vhangup.c: Likewise.
27723 * misc/writev.c: Likewise.
27724 * posix/_exit.c: Likewise.
27725 * posix/alarm.c: Likewise.
27726 * posix/execve.c: Likewise.
27727 * posix/fexecve.c: Likewise.
27728 * posix/fork.c: Likewise.
27729 * posix/fpathconf.c: Likewise.
27730 * posix/getaddrinfo.c: Likewise.
27731 * posix/getegid.c: Likewise.
27732 * posix/geteuid.c: Likewise.
27733 * posix/getgid.c: Likewise.
27734 * posix/getgroups.c: Likewise.
27735 * posix/getlogin.c: Likewise.
27736 * posix/getlogin_r.c: Likewise.
27737 * posix/getpgid.c: Likewise.
27738 * posix/getpid.c: Likewise.
27739 * posix/getppid.c: Likewise.
27740 * posix/getresgid.c: Likewise.
27741 * posix/getresuid.c: Likewise.
27742 * posix/getsid.c: Likewise.
27743 * posix/getuid.c: Likewise.
27744 * posix/glob64.c: Likewise.
27745 * posix/nanosleep.c: Likewise.
27746 * posix/pathconf.c: Likewise.
27747 * posix/pause.c: Likewise.
27748 * posix/posix_madvise.c: Likewise.
27749 * posix/pread.c: Likewise.
27750 * posix/pread64.c: Likewise.
27751 * posix/pwrite.c: Likewise.
27752 * posix/pwrite64.c: Likewise.
27753 * posix/sched_getaffinity.c: Likewise.
27754 * posix/sched_getp.c: Likewise.
27755 * posix/sched_gets.c: Likewise.
27756 * posix/sched_primax.c: Likewise.
27757 * posix/sched_primin.c: Likewise.
27758 * posix/sched_rr_gi.c: Likewise.
27759 * posix/sched_setaffinity.c: Likewise.
27760 * posix/sched_setp.c: Likewise.
27761 * posix/sched_sets.c: Likewise.
27762 * posix/sched_yield.c: Likewise.
27763 * posix/setgid.c: Likewise.
27764 * posix/setlogin.c: Likewise.
27765 * posix/setpgid.c: Likewise.
27766 * posix/setresgid.c: Likewise.
27767 * posix/setresuid.c: Likewise.
27768 * posix/setsid.c: Likewise.
27769 * posix/setuid.c: Likewise.
27770 * posix/sleep.c: Likewise.
27771 * posix/spawni.c: Likewise.
27772 * posix/sysconf.c: Likewise.
27773 * posix/times.c: Likewise.
27774 * posix/wait.c: Likewise.
27775 * posix/wait3.c: Likewise.
27776 * posix/wait4.c: Likewise.
27777 * posix/waitpid.c: Likewise.
27778 * resolv/gai_sigqueue.c: Likewise.
27779 * resource/getpriority.c: Likewise.
27780 * resource/getrlimit.c: Likewise.
27781 * resource/getrusage.c: Likewise.
27782 * resource/nice.c: Likewise.
27783 * resource/setpriority.c: Likewise.
27784 * resource/setrlimit.c: Likewise.
27785 * resource/ulimit.c: Likewise.
27786 * rt/aio_cancel.c: Likewise.
27787 * rt/aio_fsync.c: Likewise.
27788 * rt/aio_read.c: Likewise.
27789 * rt/aio_sigqueue.c: Likewise.
27790 * rt/aio_suspend.c: Likewise.
27791 * rt/aio_write.c: Likewise.
27792 * rt/clock_getres.c: Likewise.
27793 * rt/clock_gettime.c: Likewise.
27794 * rt/clock_nanosleep.c: Likewise.
27795 * rt/clock_settime.c: Likewise.
27796 * rt/lio_listio.c: Likewise.
27797 * rt/mq_close.c: Likewise.
27798 * rt/mq_getattr.c: Likewise.
27799 * rt/mq_notify.c: Likewise.
27800 * rt/mq_open.c: Likewise.
27801 * rt/mq_receive.c: Likewise.
27802 * rt/mq_send.c: Likewise.
27803 * rt/mq_setattr.c: Likewise.
27804 * rt/mq_timedreceive.c: Likewise.
27805 * rt/mq_timedsend.c: Likewise.
27806 * rt/mq_unlink.c: Likewise.
27807 * rt/shm_open.c: Likewise.
27808 * rt/shm_unlink.c: Likewise.
27809 * rt/timer_create.c: Likewise.
27810 * rt/timer_delete.c: Likewise.
27811 * rt/timer_getoverr.c: Likewise.
27812 * rt/timer_gettime.c: Likewise.
27813 * rt/timer_settime.c: Likewise.
27814 * setjmp/__longjmp.c: Likewise.
27815 * setjmp/setjmp.c: Likewise.
27816 * signal/kill.c: Likewise.
27817 * signal/killpg.c: Likewise.
27818 * signal/raise.c: Likewise.
27819 * signal/sigaction.c: Likewise.
27820 * signal/sigaltstack.c: Likewise.
27821 * signal/sigblock.c: Likewise.
27822 * signal/sigignore.c: Likewise.
27823 * signal/sigintr.c: Likewise.
27824 * signal/signal.c: Likewise.
27825 * signal/sigpause.c: Likewise.
27826 * signal/sigpending.c: Likewise.
27827 * signal/sigqueue.c: Likewise.
27828 * signal/sigreturn.c: Likewise.
27829 * signal/sigset.c: Likewise.
27830 * signal/sigsetmask.c: Likewise.
27831 * signal/sigstack.c: Likewise.
27832 * signal/sigsuspend.c: Likewise.
27833 * signal/sigtimedwait.c: Likewise.
27834 * signal/sigvec.c: Likewise.
27835 * signal/sigwait.c: Likewise.
27836 * signal/sigwaitinfo.c: Likewise.
27837 * signal/sysv_signal.c: Likewise.
27838 * socket/accept.c: Likewise.
27839 * socket/accept4.c: Likewise.
27840 * socket/bind.c: Likewise.
27841 * socket/connect.c: Likewise.
27842 * socket/getpeername.c: Likewise.
27843 * socket/getsockname.c: Likewise.
27844 * socket/getsockopt.c: Likewise.
27845 * socket/isfdtype.c: Likewise.
27846 * socket/listen.c: Likewise.
27847 * socket/recv.c: Likewise.
27848 * socket/recvfrom.c: Likewise.
27849 * socket/recvmsg.c: Likewise.
27850 * socket/send.c: Likewise.
27851 * socket/sendmsg.c: Likewise.
27852 * socket/sendto.c: Likewise.
27853 * socket/setsockopt.c: Likewise.
27854 * socket/shutdown.c: Likewise.
27855 * socket/sockatmark.c: Likewise.
27856 * socket/socket.c: Likewise.
27857 * socket/socketpair.c: Likewise.
27858 * stdio-common/ctermid.c: Likewise.
27859 * stdio-common/cuserid.c: Likewise.
27860 * stdio-common/remove.c: Likewise.
27861 * stdio-common/rename.c: Likewise.
27862 * stdio-common/renameat.c: Likewise.
27863 * stdio-common/tempname.c: Likewise.
27864 * stdlib/getcontext.c: Likewise.
27865 * stdlib/makecontext.c: Likewise.
27866 * stdlib/setcontext.c: Likewise.
27867 * stdlib/swapcontext.c: Likewise.
27868 * stdlib/system.c: Likewise.
27869 * streams/fattach.c: Likewise.
27870 * streams/fdetach.c: Likewise.
27871 * streams/getmsg.c: Likewise.
27872 * streams/getpmsg.c: Likewise.
27873 * streams/putmsg.c: Likewise.
27874 * streams/putpmsg.c: Likewise.
27875 * sysdeps/unix/bsd/getpt.c: Likewise.
27876 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27877 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27878 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27880 Likewise.
27881 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27882 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27883 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27884 * sysvipc/msgctl.c: Likewise.
27885 * sysvipc/msgget.c: Likewise.
27886 * sysvipc/msgrcv.c: Likewise.
27887 * sysvipc/msgsnd.c: Likewise.
27888 * sysvipc/semctl.c: Likewise.
27889 * sysvipc/semget.c: Likewise.
27890 * sysvipc/semop.c: Likewise.
27891 * sysvipc/semtimedop.c: Likewise.
27892 * sysvipc/shmat.c: Likewise.
27893 * sysvipc/shmctl.c: Likewise.
27894 * sysvipc/shmdt.c: Likewise.
27895 * sysvipc/shmget.c: Likewise.
27896 * termios/tcdrain.c: Likewise.
27897 * termios/tcflow.c: Likewise.
27898 * termios/tcflush.c: Likewise.
27899 * termios/tcgetattr.c: Likewise.
27900 * termios/tcgetpgrp.c: Likewise.
27901 * termios/tcsendbrk.c: Likewise.
27902 * termios/tcsetattr.c: Likewise.
27903 * termios/tcsetpgrp.c: Likewise.
27904 * time/adjtime.c: Likewise.
27905 * time/clock.c: Likewise.
27906 * time/getitimer.c: Likewise.
27907 * time/gettimeofday.c: Likewise.
27908 * time/setitimer.c: Likewise.
27909 * time/settimeofday.c: Likewise.
27910 * time/stime.c: Likewise.
27911 * time/time.c: Likewise.
27912
279132012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27914
27915 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27916 /usr/old/bin.
27917
27918 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27919 instead of spaces.
27920 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27921
279222012-11-03 Joseph Myers <joseph@codesourcery.com>
27923
27924 [BZ #14796]
27925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27926 FE_TONEAREST before applying Dekker multiplication and Knuth
27927 addition. Clear inexact exceptions and check for exact zero
27928 results afterwards.
27929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27930 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27932 * math/libm-test.inc (fma_test): Add more tests.
27933 (fma_test_towardzero): Likewise.
27934 (fma_test_downward): Likewise.
27935 (fma_test_upward): Likewise.
27936 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27937 function.
27938 (libc_fesetround): New macro.
27939 (libc_fesetroundf): Likewise.
27940 (libc_fesetroundl): Likewise.
27941 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27942 function.
27943 (libc_fesetround_387): Likewise.
27944 (libc_fesetroundf): New macro.
27945 (libc_fesetround): Likewise.
27946 (libc_fesetroundl): Likewise.
27947 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27948 function.
27949 (libc_fesetroundf): New macro.
27950 (libc_fesetround): Likewise.
27951 (libc_fesetroundl): Likewise.
27952 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27953 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27954 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27955 libm_hidden_ver.
27956 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27957 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27958 libm_hidden_def.
27959 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27960 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27961 libm_hidden_ver.
27962 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27963 libm_hidden_def.
27964
27965 [BZ #3439]
27966 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27967 integer constant usable in #if and use that to give value to enum
27968 constant.
27969 (FE_DIVBYZERO): Likewise.
27970 (FE_UNDERFLOW): Likewise.
27971 (FE_OVERFLOW): Likewise.
27972 (FE_INVALID): Likewise.
27973 (FE_INVALID_SNAN): Likewise.
27974 (FE_INVALID_ISI): Likewise.
27975 (FE_INVALID_IDI): Likewise.
27976 (FE_INVALID_ZDZ): Likewise.
27977 (FE_INVALID_IMZ): Likewise.
27978 (FE_INVALID_COMPARE): Likewise.
27979 (FE_INVALID_SOFTWARE): Likewise.
27980 (FE_INVALID_SQRT): Likewise.
27981 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27982 (FE_TONEAREST): Likewise.
27983 (FE_TOWARDZERO): Likewise.
27984 (FE_UPWARD): Likewise.
27985 (FE_DOWNWARD): Likewise.
27986 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27987 (FE_DIVBYZERO): Likewise.
27988 (FE_OVERFLOW): Likewise.
27989 (FE_UNDERFLOW): Likewise.
27990 (FE_INEXACT): Likewise.
27991 (FE_TONEAREST): Likewise.
27992 (FE_DOWNWARD): Likewise.
27993 (FE_UPWARD): Likewise.
27994 (FE_TOWARDZERO): Likewise.
27995 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27996 (FE_UNDERFLOW): Likewise.
27997 (FE_OVERFLOW): Likewise.
27998 (FE_DIVBYZERO): Likewise.
27999 (FE_INVALID): Likewise.
28000 (FE_TONEAREST): Likewise.
28001 (FE_TOWARDZERO): Likewise.
28002 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28003 (FE_OVERFLOW): Likewise.
28004 (FE_UNDERFLOW): Likewise.
28005 (FE_DIVBYZERO): Likewise.
28006 (FE_INEXACT): Likewise.
28007 (FE_TONEAREST): Likewise.
28008 (FE_TOWARDZERO): Likewise.
28009 (FE_UPWARD): Likewise.
28010 (FE_DOWNWARD): Likewise.
28011 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28012 (FE_DIVBYZERO): Likewise.
28013 (FE_OVERFLOW): Likewise.
28014 (FE_UNDERFLOW): Likewise.
28015 (FE_INEXACT): Likewise.
28016 (FE_TONEAREST): Likewise.
28017 (FE_DOWNWARD): Likewise.
28018 (FE_UPWARD): Likewise.
28019 (FE_TOWARDZERO): Likewise.
28020
280212012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28022
28023 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28024
280252012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28026
28027 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28028 commands. Quote $PWD.
28029 (blacklist_exports): Don't use remove_newlines. Replace "declare
28030 -x" by "export".
28031 (remove_newlines): Remove.
28032
280332012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28034
28035 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28036 * stdlib/stdlib.h (atof): Moved to ...
28037 * include/bits/stdlib-float.h: Here. New file.
28038 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28039 * stdlib/bits/stdlib-float.h: New file.
28040 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28041 -mno-sse -mno-mmx.
28042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28043 <xmmintrin.h>.
28044
280452012-11-02 Joseph Myers <joseph@codesourcery.com>
28046
28047 * conform/conformtest.pl (@headers): Add fenv.h.
28048 * conform/data/fenv.h-data: New file.
28049 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28050 include of <math/fenv.h>.
28051
28052 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28053 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28054 && !UNIX98]. Enables tests for XOPEN2K8.
28055 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28056 POSIX2008]: Likewise.
28057
28058 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28059 (struct rusage): Do not expect type or its members.
28060
28061 [BZ #3439]
28062 * math/math.h (FP_NAN): Define macro to integer constant usable in
28063 #if and use that to give value to enum constant.
28064 (FP_INFINITE): Likewise.
28065 (FP_ZERO): Likewise.
28066 (FP_SUBNORMAL): Likewise.
28067 (FP_NORMAL): Likewise.
28068
280692012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28070
28071 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28072 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28073 arguments.
28074
280752012-11-02 Roland McGrath <roland@hack.frob.com>
28076
28077 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28078 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28079 autoconf-time if not.
28080 * configure.in: Remove AC_PREREQ.
28081
280822012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28083
28084 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28085 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28086 of the internal implementation.
28087
280882012-11-02 Joseph Myers <joseph@codesourcery.com>
28089
28090 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28091 except include of <misc/sys/syslog.h>.
28092
280932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28094
28095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28096 function returns with a NULL context exit with zero.
28097
280982012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28099
28100 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28101
281022012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28103
28104 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28105 (run_program_cmd): This.
28106 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28107 (tst_langinfo): New variable. Use it.
28108
281092012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28110
28111 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28112 floating point opcodes.
28113
281142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28115
28116 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28117 variable.
28118
28119 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28120
28121 * sysdeps/mach/hurd/powerpc: Remove directory.
28122 * sysdeps/mach/powerpc: Likewise.
28123
281242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28125
28126 * scripts/check-local-headers.sh: Ignore c++ headers.
28127
281282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28129
28130 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28131 __libc_cleanup_region_start argument.
28132
281332012-11-01 Joseph Myers <joseph@codesourcery.com>
28134
28135 [BZ #14784]
28136 [BZ #14785]
28137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28138 x * y using scaling, not as x * y + z.
28139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28141 * math/libm-test.inc (fma_test): Add more tests.
28142 (fma_test_towardzero): Likewise.
28143 (fma_test_downward): Likewise.
28144 (fma_test_upward): Likewise.
28145
281462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28147
28148 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28149
281502012-10-31 Joseph Myers <joseph@codesourcery.com>
28151
28152 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28153 New variable.
28154
281552012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28156
28157 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28158
281592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28160
28161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28162 Fix sort order.
28163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28164 Likewise.
28165
281662012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28167
28168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28169 Fix the order of the list for glibc 2.17.
28170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28171 Likewise.
28172
281732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28174
28175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28176
281772012-10-31 Joseph Myers <joseph@codesourcery.com>
28178
28179 [BZ #14610]
28180 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28181 for low part of x being zero before using __atanl (y).
28182 * math/libm-test.inc (atan2_test): Add another test.
28183
28184 * manual/install.texi (Configuring and compiling): Document
28185 general use of test-wrapper and test-wrapper-env.
28186 * INSTALL: Regenerated.
28187
28188 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28189 (__fma): Do not extract and scale down low bits on after-rounding
28190 systems when result rounded to normal precision would have normal
28191 exponent.
28192 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28193 (__fmal): Do not extract and scale down low bits on after-rounding
28194 systems when result rounded to normal precision would have normal
28195 exponent.
28196 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28197 (__fmal): Do not extract and scale down low bits on after-rounding
28198 systems when result rounded to normal precision would have normal
28199 exponent.
28200 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28201 macro.
28202 (fma_test): Add more tests.
28203 (fma_test_towardzero): Likewise.
28204 (fma_test_downward): Likewise.
28205 (fma_test_upward): Likewise.
28206
282072012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28208
28209 * sysdeps/i386/tininess.h: Renamed to ...
28210 * sysdeps/x86/tininess.h: This.
28211 * sysdeps/x86_64/tininess.h: Removed.
28212
282132012-10-30 Joseph Myers <joseph@codesourcery.com>
28214
28215 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28216 input. Use $(build-program-cmd).
28217 ($(objpfx)tst-array1-static.out): Likewise.
28218 ($(objpfx)tst-array2.out): Likewise.
28219 ($(objpfx)tst-array3.out): Likewise.
28220 ($(objpfx)tst-array4.out): Likewise.
28221 ($(objpfx)tst-array5.out): Likewise.
28222 ($(objpfx)tst-array5-static.out): Likewise.
28223
282242012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28225
28226 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28227 if defined.
28228
28229 * nss/nsswitch.h (nss_interface_function): Provide new
28230 macro for use with NSS functions.
28231 * grp/initgroups.c: Use new macro.
28232 * nss/getXXbyYY.c: Likewise.
28233 * nss/getXXbyYY_r.c: Likewise.
28234 * nss/getXXent.c: Likewise.
28235 * nss/getXXent_r.c: Likewise.
28236 * sysdeps/posix/getaddrinfo.c: Likewise.
28237
282382012-10-30 Andreas Jaeger <aj@suse.de>
28239
28240 * po/ru.po: Update Russion translation from translation project.
28241
282422012-10-30 Joseph Myers <joseph@codesourcery.com>
28243
28244 [BZ #14152]
28245 [BZ #14783]
28246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28247 result and shift together with sticky bit instead of replicating
28248 round-to-nearest rounding.
28249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28250 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28251 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28252 missing underflow exceptions.
28253 (fma_test_towardzero): Add more tests.
28254 (fma_test_downward): Likewise.
28255 (fma_test_upward): Likewise.
28256
28257 [BZ #14047]
28258 * sysdeps/generic/tininess.h: New file.
28259 * sysdeps/i386/tininess.h: Likewise.
28260 * sysdeps/sh/tininess.h: Likewise.
28261 * sysdeps/x86_64/tininess.h: Likewise.
28262 * stdlib/tst-strtod-underflow.c: Likewise.
28263 * stdlib/tst-tininess.c: Likewise.
28264 * stdlib/strtod_l.c: Include <tininess.h>.
28265 (round_and_return): Do not set errno for exact underflow cases.
28266 Force an underflow exception when setting errno for underflow.
28267 Determine underflow based on rounding to normal precision if
28268 TININESS_AFTER_ROUNDING.
28269 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28270 ERANGE for exact underflow cases.
28271 * stdlib/Makefile (tests): Add tst-tininess and
28272 tst-strtod-underflow.
28273 ($(objpfx)tst-tininess): Use $(link-libm).
28274 ($(objpfx)tst-strtod-underflow): Likewise.
28275
282762012-10-30 Andreas Jaeger <aj@suse.de>
28277
28278 [BZ#14767]
28279 * elf/Makefile (tests): Remove conditional for have-initfini-array
28280 since this is now always required and the variable does not exist
28281 anymore.
28282 (tests-static): Likewise.
28283 (modules-names): Likewise.
28284
28285 * po/eo.po: Add Esperanto translation from translation project.
28286
28287 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28288 merged with constructor/destructor.
28289 (init_array): Likewise.
28290 * elf/tst-array2dep.c (fini_array): Likewise.
28291 (init_array): Likewise.
28292
282932012-10-29 Mike Frysinger <vapier@gentoo.org>
28294
28295 * manual/message.texi: Delete @cartouche tags.
28296
282972012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28298
28299 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28300 EOPNOTSUPP.
28301 * sysdeps/mach/hurd/fsync.c: Likewise.
28302
28303 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28304 [_POSIX_REALTIME_SIGNALS]: Change condition to
28305 [_POSIX_REALTIME_SIGNALS > 0].
28306
283072012-10-27 Andreas Jaeger <aj@suse.de>
28308
28309 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28310 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28312 [__WORDSIZE != 64]: Likewise.
28313
283142012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28315
28316 * iconvdata/tst-table.sh: Remove ${SHELL}.
28317 * iconvdata/tst-tables.sh: Likewise.
28318
283192012-10-25 David S. Miller <davem@davemloft.net>
28320
28321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28322 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28323 of strtoull.
28324
28325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28326 ifunc-impl-list.c
28327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28328 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28329 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28330 file.
28331
283322012-10-25 Roland McGrath <roland@hack.frob.com>
28333
28334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28335 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28336 __getdirentries.
28337
283382012-10-25 Joseph Myers <joseph@codesourcery.com>
28339 Jim Blandy <jimb@codesourcery.com>
28340
28341 * scripts/cross-test-ssh.sh: New file.
28342 * manual/install.texi (Configuring and compiling): Document use of
28343 cross-test-ssh.sh.
28344 * INSTALL: Regenerated.
28345
283462012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28347
28348 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28349 EOPNOTSUPP.
28350
283512012-10-25 Joseph Myers <joseph@codesourcery.com>
28352
28353 * Makeconfig (run-program-prefix): Fix comment.
28354
283552012-10-24 Joseph Myers <joseph@codesourcery.com>
28356 Jim Blandy <jimb@codesourcery.com>
28357
28358 * Makeconfig (test-wrapper): New variable,
28359 (test-wrapper-env): Likewise.
28360 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28361 (run-built-tests): Define to yes.
28362 (run-program-prefix): Use $(test-wrapper).
28363 (built-program-cmd): Likewise.
28364 * Rules (make-test-out): Use $(test-wrapper-env) and
28365 $(host-built-program-cmd).
28366 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28367 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28368 tst-pathopt.sh.
28369 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28370 $(test-wrapper-env) to tst-rtld-load-self.sh.
28371 ($(objpfx)order2.out): Use $(test-wrapper).
28372 ($(objpfx)tst-initorder.out): Likewise.
28373 ($(objpfx)tst-initorder2.out): Likewise.
28374 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28375 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28376 (test_wrapper_env): New variable. Use it to run ld.so.
28377 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28378 Use it to run ld.so.
28379 (test_wrapper_env): Likewise.
28380 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28381 $(test-wrapper) to run-iconv-test.sh.
28382 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28383 (ICONV): Use $test_wrapper.
28384 * posix/Makefile ($(objpfx)globtest.out): Pass
28385 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28386 globtest.sh, not $(run-program-prefix).
28387 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28388 (test_wrapper): Likewise.
28389 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28390 set together with run_via_rtld_prefix.
28391 (run_program_prefix): Define in terms of test_wrapper and
28392 run_via_rtld_prefix.
28393
283942012-10-24 Roland McGrath <roland@hack.frob.com>
28395
28396 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28397 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28398 Targets removed.
28399
28400 [BZ #14743]
28401 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28402 Declare __clock_getres, __clock_gettime, __clock_settime,
28403 __clock_nanosleep, and __clock_getcpuclockid.
28404 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28405 Remove librt_hidden_def (clock_gettime).
28406 * sysdeps/unix/clock_gettime.c: Likewise.
28407 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28408 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28409 * rt/clock_getres.c: Define __clock_getres as an alias.
28410 * sysdeps/posix/clock_getres.c: Likewise.
28411 * rt/clock_settime.c: Define __clock_settime as an alias.
28412 * sysdeps/unix/clock_settime.c: Likewise.
28413 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28414 * sysdeps/unix/clock_nanosleep.c: Likewise.
28415 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28416 * rt/clock-compat.c: New file.
28417 * rt/Makefile (librt-routines): Add clock-compat and move
28418 $(clock-routines) to ...
28419 (routines): ... here, new variable.
28420 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28421 Don't add get_clockfreq here.
28422 * rt/Versions (libc: GLIBC_2.17): New version set.
28423 Add clock_* symbols here.
28424 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28426 (GLIBC_2.17): Add clock_* symbols.
28427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28431 Likewise.
28432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28433 Likewise.
28434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28438 * NEWS: Mention the move.
28439
28440 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28441 Use __open, __read, __close rather than their public counterparts.
28442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28443 (__get_clockfreq_via_cpuinfo): Likewise.
28444 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28445 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28446
28447 * config.h.in (HAVE_IFUNC): New #undef.
28448 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28449 was successful.
28450 * configure: Regenerated.
28451
284522012-10-24 Mike Frysinger <vapier@gentoo.org>
28453
28454 * configure.in: Move READELF check to start of file.
28455 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28456 libc_cv_asm_gnu_indirect_function in the process.
28457 * configure: Regenerated.
28458
284592012-10-24 Mike Frysinger <vapier@gentoo.org>
28460
28461 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28462 send the output to /dev/null.
28463 (libc_cv_cc_with_libunwind): Likewise.
28464 (libc_cv_as_noexecstack): Likewise.
28465 * configure: Regenerate.
28466
284672012-10-24 Joseph Myers <joseph@codesourcery.com>
28468
28469 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28470
28471 * posix/globtest.sh (TMPDIR): Do not set.
28472 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28473 (testout): Likewise.
28474
284752012-10-24 Andreas Jaeger <aj@suse.de>
28476
28477 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28478 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28479 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28480 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28481 posix_fadvise64, posix_fallocate64.
28482
28483 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28484 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28485 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28486 Likewise.
28487 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28488 Likewise.
28489 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28490
28491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28492 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28493 <bits/fcntl-linux.h>.
28494 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28495
28496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28497 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28498 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28499 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28500 [__WORDSIZE != 64]: Likewise.
28501
285022012-10-23 Joseph Myers <joseph@codesourcery.com>
28503
28504 * Makeconfig (run-built-tests): New variable.
28505 * Rules [$(cross-compiling) = yes]: Change condition to
28506 [$(run-built-tests) = no].
28507 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28508 to [$(run-built-tests) = yes].
28509 * elf/Makefile [$(cross-compiling) = no]: Likewise
28510 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28511 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28512 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28513 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28514 * io/Makefile [$(cross-compiling) = no]: Likewise.
28515 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28516 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28517 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28518 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28519 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28520 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28521 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28522 * string/Makefile [$(cross-compiling) = no]: Likewise.
28523
28524 * posix/Makefile ($(objpfx)globtest.out): Pass
28525 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28526 $(rtld-installed-name).
28527 * posix/globtest.sh (elf_objpfx): Remove variable.
28528 (rtld_installed_name): Likewise.
28529 (library_path): Likewise.
28530 (run_program_prefix): New variable. Use for running globtest
28531 binary.
28532
285332012-10-23 Jim Blandy <jimb@codesourcery.com>
28534 Joseph Myers <joseph@codesourcery.com>
28535
28536 * Makeconfig (host-built-program-cmd): New variable.
28537 * elf/Makefile (tst-stackguard1-ARGS): Use
28538 $(host-built-program-cmd).
28539 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28540 (tst-spawn-ARGS): Likewise.
28541 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28542
285432012-10-23 Joseph Myers <joseph@codesourcery.com>
28544 Jim Blandy <jimb@codesourcery.com>
28545
28546 * Makeconfig (run-via-rtld-prefix): New variable.
28547 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28548 (built-program-cmd): Likewise.
28549
285502012-10-22 Andreas Jaeger <aj@suse.de>
28551
28552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28553 __O_RSYNC if it exists, otherwise to O_SYNC.
28554
285552012-10-22 Jim Blandy <jimb@codesourcery.com>
28556 Joseph Myers <joseph@codesourcery.com>
28557
28558 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28559 /dev/null.
28560 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28561 from /dev/null
28562 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28563 /dev/null.
28564
285652012-10-22 Andreas Jaeger <aj@suse.de>
28566
28567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28568 Define always.
28569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28570
28571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28572 bits/fcntl-linux.h.
28573
28574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28575 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28576
28577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28578 to __O_LARGEFILE.
28579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28580 to __O_LARGEFILE.
28581
285822012-10-21 Jim Blandy <jimb@codesourcery.com>
28583 Joseph Myers <joseph@codesourcery.com>
28584
28585 * config.make.in (NM): New variable.
28586
285872012-10-21 Andreas Jaeger <aj@suse.de>
28588
28589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28590 definitions and declarations that are provided by
28591 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28592
285932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28594
28595 [BZ #14683]
28596 * elf/Makefile (tests-static): Add tst-leaks1-static.
28597 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28598 ($(objpfx)tst-leaks1-static): New rule.
28599 ($(objpfx)tst-leaks1-static-mem): Likewise.
28600 (tst-leaks1-static-ENV): New macro.
28601 * elf/dl-open.c (dl_open_worker): Check the main application
28602 only if SHARED is defined.
28603 * elf/tst-leaks1-static.c: New file.
28604
286052012-10-20 Andreas Jaeger <aj@suse.de>
28606
28607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28608 generic values for Linux.
28609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28610 and declarations that are provided by <bits/fcntl-linux.h> and
28611 include <bits/fcntl-linux.h>.
28612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28614
286152012-10-20 Roland McGrath <roland@hack.frob.com>
28616
28617 * io/fcntl.h: Move include of <bits/types.h> to the top and
28618 include it unconditionally.
28619
286202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28621
28622 * wcsmbs/Makefile (tests-ifunc): New variable.
28623 (tests): Add $(tests-ifunc).
28624 * wcsmbs/test-wcschr-ifunc.c: New file.
28625 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28626 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28627 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28628 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28629 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28630
28631 * string/Makefile (tests-ifunc): New variable.
28632 (tests): Add $(tests-ifunc).
28633 * string/test-memccpy.c (TEST_NAME): New macro.
28634 * string/test-memchr.c (TEST_NAME): Likewise.
28635 * string/test-memcmp.c (TEST_NAME): Likewise.
28636 * string/test-memcpy.c (TEST_NAME): Likewise.
28637 * string/test-memmem.c (TEST_NAME): Likewise.
28638 * string/test-memmove.c (TEST_NAME): Likewise.
28639 * string/test-memset.c (TEST_NAME): Likewise.
28640 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28641 * string/test-stpcpy.c (TEST_NAME): Likewise.
28642 * string/test-stpncpy.c (TEST_NAME): Likewise.
28643 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28644 * string/test-strcasestr.c (TEST_NAME): Likewise.
28645 * string/test-strcat.c (TEST_NAME): Likewise.
28646 * string/test-strchr.c (TEST_NAME): Likewise.
28647 * string/test-strcmp.c(TEST_NAME): Likewise.
28648 * string/test-strcpy.c (TEST_NAME): Likewise.
28649 * string/test-strcspn.c (TEST_NAME): Likewise.
28650 * string/test-strlen.c (TEST_NAME): Likewise.
28651 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28652 * string/test-strncmp.c (TEST_NAME): Likewise.
28653 * string/test-strncpy.c (TEST_NAME): Likewise.
28654 * string/test-strnlen.c (TEST_NAME): Likewise.
28655 * string/test-strpbrk.c (TEST_NAME): Likewise.
28656 * string/test-strrchr.c (TEST_NAME): Likewise.
28657 * string/test-strspn.c (TEST_NAME): Likewise.
28658 * string/test-strstr.c (TEST_NAME): Likewise.
28659 * string/test-bcopy-ifunc.c: New file.
28660 * string/test-bzero-ifunc.c: Likewise.
28661 * string/test-memccpy-ifunc.c: Likewise.
28662 * string/test-memchr-ifunc.c: Likewise.
28663 * string/test-memcmp-ifunc.c: Likewise.
28664 * string/test-memcpy-ifunc.c: Likewise.
28665 * string/test-memmem-ifunc.c: Likewise.
28666 * string/test-memmove-ifunc.c: Likewise.
28667 * string/test-mempcpy-ifunc.c: Likewise.
28668 * string/test-memset-ifunc.c: Likewise.
28669 * string/test-rawmemchr-ifunc.c: Likewise.
28670 * string/test-stpcpy-ifunc.c: Likewise.
28671 * string/test-stpncpy-ifunc.c: Likewise.
28672 * string/test-strcasecmp-ifunc.c: Likewise.
28673 * string/test-strcasestr-ifunc.c: Likewise.
28674 * string/test-strcat-ifunc.c: Likewise.
28675 * string/test-strchr-ifunc.c: Likewise.
28676 * string/test-strchrnul-ifunc.c: Likewise.
28677 * string/test-strcmp-ifunc.c: Likewise.
28678 * string/test-strcpy-ifunc.c: Likewise.
28679 * string/test-strcspn-ifunc.c: Likewise.
28680 * string/test-strlen-ifunc.c: Likewise.
28681 * string/test-strncasecmp-ifunc.c: Likewise.
28682 * string/test-strncat-ifunc.c: Likewise.
28683 * string/test-strncmp-ifunc.c: Likewise.
28684 * string/test-strncpy-ifunc.c: Likewise.
28685 * string/test-strnlen-ifunc.c: Likewise.
28686 * string/test-strpbrk-ifunc.c: Likewise.
28687 * string/test-strrchr-ifunc.c: Likewise.
28688 * string/test-strspn-ifunc.c: Likewise.
28689 * string/test-strstr-ifunc.c: Likewise.
28690
28691 * debug/Makefile (tests-ifunc): New variable.
28692 (tests): Add $(tests-ifunc).
28693 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28694 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28695 * debug/test-stpcpy_chk-ifunc.c: New file.
28696 * debug/test-strcpy_chk-ifunc.c: Likewise.
28697
286982012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28699
28700 [BZ #13601]
28701 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28702 header is not read in.
28703
287042012-10-19 Joseph Myers <joseph@codesourcery.com>
28705
28706 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28707 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28708 directly. Pass built executable to script as
28709 $(built-program-cmd).
28710 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28711 $testprogram without using LD_LIBRARY_PATH and $ldso.
28712
28713 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28714 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28715 $(rtld-installed-name).
28716 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28717 (rtld_installed_name): Likewise.
28718 (library_path): Likewise.
28719 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28720 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28721 $(run-program-prefix) to tst-tables.sh.
28722 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28723 it to run tst-table-from and tst-table-to.
28724 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28725 Pass it to tst-table.sh.
28726 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28727 $(run-program-prefix) to tst-gettext.sh.
28728 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28729 tst-translit.sh.
28730 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28731 tst-gettext2.sh.
28732 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28733 to run tst-gettext.
28734 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28735 to run tst-gettext2.
28736 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28737 to run tst-translit.
28738 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28739 $(run-program-prefix) to tst-mtrace.sh.
28740 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28741 to run tst-mtrace.
28742 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28743 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28744 $(rtld-installed-name).
28745 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28746 (rtld_installed_name): Likewise.
28747 (run_program_prefix): New variable. Use it to run wordexp-test.
28748
28749 * Makeconfig (ARCH): Remove all definitions.
28750 (machine): Likewise.
28751 [ARCH]: Remove conditional code.
28752 [!objdir]: Give error.
28753 [!objdir] (objpfx): Remove.
28754 [!objdir] (common-objpfx): Likewise.
28755 [!objdir] (common-objdir): Likewise.
28756 * configure.in (config_makefile): Remove. Hardcode Makefile in
28757 AC_CONFIG_FILES call.
28758 * configure: Regenerated.
28759
28760 [BZ #13888]
28761 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28762 or TMPDIR.
28763 (testout): Likewise.
28764
28765 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28766 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28767 $(rtld-installed-name).
28768 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28769 (rtld_installed_name): Likwise.
28770 (runit): Remove function.
28771 (run_getconf): New variable, Use it for running getconf binary.
28772
287732012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28774
28775 [BZ #14716]
28776 * string/test-memmem.c (check_result): New function.
28777 (do_one_test): Use it.
28778 (check1): New function.
28779 (test_main): Use it.
28780
287812012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28782
28783 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28784
287852012-10-18 Joseph Myers <joseph@codesourcery.com>
28786
28787 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28788 (_G_LSEEK64): Likewise.
28789 (_G_MMAP64): Likewise.
28790 (_G_FSTAT64): Likewise.
28791 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28792 (_G_LSEEK64): Likewise.
28793 (_G_MMAP64): Likewise.
28794 (_G_FSTAT64): Likewise.
28795 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28796 unconditional. Call __mmap64 directly.
28797 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28798 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28799 __lseek64 directly.
28800 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28801 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28802 __mmap64 directly.
28803 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28804 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28805 __lseek64 directly.
28806 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28807 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28808 __lseek64 directly.
28809 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28810 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28811 __lseek64 directly.
28812 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28813 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28814 __fxstat64 directly.
28815 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28816 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28817 unconditional.
28818 (freopen64) [!_G_OPEN64]: Remove conditional code.
28819 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28820 unconditional.
28821 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28822 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28823 unconditional.
28824 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28825 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28826 unconditional.
28827 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28828 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28829 unconditional.
28830 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28831 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28832 unconditional.
28833 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28834 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28835 unconditional.
28836 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28837 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28838 unconditional.
28839 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28840
288412012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28842
28843 [BZ #12140]
28844 * manual/memory.texi (Malloc Tunable Parameters): Add note
28845 about free list pointers overwriting some perturb bytes.
28846 Wording suggested by Roland McGrath.
28847
288482012-10-17 Joseph Myers <joseph@codesourcery.com>
28849
28850 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28851 (lgamma_test): Likewise.
28852 (tgamma_test): Likewise.
28853
288542012-10-16 Florian Weimer <fweimer@redhat.com>
28855
28856 [BZ #14700]
28857 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28858 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28859
288602012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28861
28862 * NEWS: Mention BZ #14716.
28863 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28864 when removing AVAILABLE1_USES_J macro.
28865
288662012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28867
28868 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28869 (__bswap_64): __uint64_t for unsigned 64-bit int.
28870
288712012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28872
28873 * include/string.h (memmem): Declare libc hidden alias.
28874 * string/memmem.c (memmem): Define libc hidden alias.
28875 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28876 __read, __close instead of open, read, close.
28877
288782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28879
28880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28881 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28882 global and hidden.
28883 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28884 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28885 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28886 Likewise.
28887 (__rawmemchr_sse2): Likewise.
28888 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28889 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28890 (__strchr_sse2): Likewise.
28891 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28892 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28893 (__strcasecmp_sse2): Likewise.
28894 (__strncasecmp_sse2): Likewise.
28895 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28896 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28897 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28898 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28899 (__strrchr_sse2): Likewise.
28900 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28901 ifunc-impl-list.c.
28902 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28903 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28904 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28905 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28906 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28907 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28908 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28909 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28910 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28911 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28912 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28913 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28914 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28915 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28916 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28918 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28919 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28920 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28921 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28922 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28923 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28924 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28925 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28926 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28927 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28928 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28929 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28930 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28931 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28932
28933 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28934 global and hidden.
28935 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28936 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28937 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28938 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28939 Likewise.
28940 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28941 Likewise.
28942 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28943 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28944 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28945 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28946 ifunc-impl-list.c.
28947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28950 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28951 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28952 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28953 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28954 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28956 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28960 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28961 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28964 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28965 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28966 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28972 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28973 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28974 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28975 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28976 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28977 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28980 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28983 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28984 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28985 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28987 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28988
28989 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28990 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28991 * include/ifunc-impl-list.h: New file.
28992 * misc/ifunc-impl-list.c: Likewise.
28993 * misc/Makefile (routines): Add ifunc-impl-list.
28994 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28995 * string/test-string.h: Include <ifunc-impl-list.h>.
28996 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28997 TEST_NAME]: New variables.
28998 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28999 are defined.
29000 (test_init): Call __libc_ifunc_impl_list to initialize
29001 func_list if TEST_IFUNC and TEST_NAME are defined.
29002
29003 * string/Makefile (strop-tests): Add bcopy and bzero.
29004 * string/test-bcopy.c: New file.
29005 * string/test-bzero.c: Likewise.
29006 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29007 defined.
29008 * string/test-memset.c: Support bzero test if TEST_BZERO is
29009 defined.
29010 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29011 __libc_memmove.
29012 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29013 __libc_memset.
29014 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29015 of memset.
29016
290172012-10-10 Joseph Myers <joseph@codesourcery.com>
29018
29019 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29020 * configure: Regenerated.
29021
29022 * Makeconfig (+link-static-before-libc): Don't include
29023 $(link-static-libc).
29024
29025 * libio/libio.h (_IO_pos_t): Remove.
29026
290272012-10-10 Alexandre Oliva <aoliva@redhat.com>
29028
29029 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29030 McGrath.
29031
290322012-10-10 Alexandre Oliva <aoliva@redhat.com>
29033
29034 * crypt/crypt-entry.c: Include fips-private.h.
29035 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29036 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29037 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29038 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29039
290402012-10-10 Alexandre Oliva <aoliva@redhat.com>
29041
29042 * crypt/crypt-private.h: Include stdbool.h.
29043 (_ufc_setup_salt_r): Return bool.
29044 * crypt/crypt-entry.c: Include errno.h.
29045 (__crypt_r): Return NULL with EINVAL for bad salt.
29046 * crypt/crypt_util.c (bad_for_salt): New.
29047 (_ufc_setup_salt_r): Check that salt is long enough and within
29048 the specified alphabet.
29049 * crypt/badsalttest.c: New file.
29050 * crypt/Makefile (tests): Add it.
29051 ($(objpfx)badsalttest): New.
29052
290532012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29054
29055 * NEWS: Add entry for BZ #14602.
29056
290572012-10-09 Joseph Myers <joseph@codesourcery.com>
29058
29059 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29060 type-generic.
29061 * math/libm-test.inc: Update comment listing what functions and
29062 macros are tested.
29063 (isgreater_test): New function.
29064 (isgreaterequal_test): Likewise.
29065 (isless_test): Likewise.
29066 (islessequal_test): Likewise.
29067 (islessgreater_test): Likewise.
29068 (isunordered_test): Likewise.
29069 (main): Call the new functions.
29070
290712012-10-09 Roland McGrath <roland@hack.frob.com>
29072
29073 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29074 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29075 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29076 * sysdeps/i386/configure: Regenerated.
29077 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29078 * sysdeps/mach/configure: Regenerated.
29079 * sysdeps/mach/hurd/configure: Regenerated.
29080 * sysdeps/powerpc/configure: Regenerated.
29081 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29082 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29083 * sysdeps/s390/s390-32/configure: Regenerated.
29084 * sysdeps/s390/s390-64/configure: Regenerated.
29085 * sysdeps/sh/configure: Regenerated.
29086 * sysdeps/sparc/configure: Regenerated.
29087 * sysdeps/unix/sysv/linux/configure: Regenerated.
29088 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29089 * sysdeps/x86_64/configure: Regenerated.
29090
29091 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29092 defined. Don't check if MAP is NULL.
29093
290942012-10-09 Joseph Myers <joseph@codesourcery.com>
29095
29096 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29097 (_G_stat64): Likewise.
29098 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29099 (_G_stat64): Likewise.
29100 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29101 instead of struct _G_stat64.
29102 * libio/fileops.c (mmap_remap_check): Likewise.
29103 (decide_maybe_mmap): Likewise.
29104 (_IO_new_file_seekoff): Likewise.
29105 (_IO_file_stat): Likewise.
29106 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29107 _G_off64_t.
29108 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29109 instead of struct _G_stat64.
29110 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29111
291122012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29113
29114 [BZ #14602]
29115 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29116 Replace with ...
29117 (CHECK_EOL): New macro.
29118 (two_way_short_needle): Check beginning of haystack for EOL. Use
29119 CHECK_EOL.
29120 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29121 Replace with CHECK_EOL.
29122 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29123 Replace with CHECK_EOL.
29124
291252012-10-08 Joseph Myers <joseph@codesourcery.com>
29126
29127 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29128 type-generic.
29129 * math/libm-test.inc: Update comment listing what functions and
29130 macros are tested.
29131 (finite_test): New function.
29132 (isinf_test): Likewise.
29133 (isnan_test): Likewise.
29134 (fpclassify_test): Test subnormal input.
29135 (isfinite_test): Likewise.
29136 (isnormal_test): Likewise.
29137 (main): Call the new functions.
29138
291392012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29140
29141 [BZ #14660]
29142 * Makerules (%.dynsym): Force C locale when running
29143 $(OBJDUMP) --dynamic-syms.
29144
291452012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29146
29147 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29148 <stdint.h>.
29149
291502012-10-06 David S. Miller <davem@davemloft.net>
29151
29152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29153 upper 32-bits of the length value in %o2 since we use branch-on-register
29154 tests which consider the entire 64-bit register.
29155
291562012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29157
29158 * string/test-strstr.c (check2): Add a test for page boundary.
29159
291602012-10-05 David S. Miller <davem@davemloft.net>
29161
29162 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29163 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29164 file.
29165 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29166 sysdep_routines.
29167 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29168 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29169 and bzero when HWCAP_SPARC_CRYPTO is present.
29170
291712012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29172
29173 [BZ #14602]
29174 * string/test-strstr.c (check2): New function.
29175 (test_main): Call check2.
29176
29177 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29178 and bug-strchr1.
29179 * string/bug-strcasestr1.c (do_test): Moved to ...
29180 * string/test-strcasestr.c (check1): Here. New function.
29181 (do_one_test): Break out result checking code into ...
29182 (check_result): This. New function.
29183 (do_one_test): Call check_result.
29184 (test_main): Call check1.
29185 * string/bug-strchr1.c (do_test): Moved to ...
29186 * string/test-strchr.c (check1): Here. New function.
29187 (do_one_test): Break out result checking code into ...
29188 (check_result): This. New function.
29189 (do_one_test): Call check_result.
29190 (test_main): Call check1.
29191 * string/bug-strstr1.c (main): Moved to ...
29192 * string/test-strstr.c (check1): Here. New function.
29193 (do_one_test): Break out result checking code into ...
29194 (check_result): This. New function.
29195 (do_one_test): Call check_result.
29196 (test_main): Call check1.
29197 * string/bug-strcasestr1.c: Removed.
29198 * string/bug-strchr1.c: Likewise.
29199 * string/bug-strstr1.c: Likewise.
29200
29201 * elf/Makefile (dl-routines): Add hwcaps.
29202 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29203 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29204 (_dl_important_hwcaps): Moved to ...
29205 * elf/dl-hwcaps.c: Here. New file.
29206 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29207
29208 [BZ #14557]
29209 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29210 if IS_IN_rtld isn't defined.
29211
29212 * elf/dl-support.c (_dl_sysinfo_map): New.
29213 Include "get-dynamic-info.h" and "setup-vdso.h".
29214 (_dl_non_dynamic_init): Call setup_vdso.
29215 * elf/dynamic-link.h: Don't include <assert.h>.
29216 (elf_get_dynamic_info): Moved to ...
29217 * elf/get-dynamic-info.h: Here. New file.
29218 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29219 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29220 * elf/setup-vdso.h: Here. New file.
29221 * elf/rtld.c: Include "setup-vdso.h".
29222 (dl_main): Call setup_vdso.
29223
292242012-10-05 Joseph Myers <joseph@codesourcery.com>
29225
29226 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29227 creal in comment listing functions tested. List finite, isinf,
29228 isnan, isless, islessequal, isgreater, isgreaterequal,
29229 islessgreater, isunordered, lgamma_r and pow10 as functions and
29230 macros not tested. Mention which functions not tested are aliases
29231 for other functions. Fix typo. Note that signs of NaNs are not
29232 tested.
29233
29234 * scripts/config.guess: Update from config.git.
29235 * scripts/config.sub: Likewise.
29236
292372012-10-04 Roland McGrath <roland@hack.frob.com>
29238
29239 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29240 * misc/madvise.c (madvise): Renamed to __madvise.
29241 Make madvise a weak alias.
29242 * include/sys/mman.h: Declare __madvise.
29243 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29244 * sysdeps/unix/syscalls.list
29245 (madvise): Make __madvise the strong name, and madvise a weak alias.
29246 * sysdeps/unix/sysv/linux/syscalls.list
29247 (madvise, mmap): Remove redundant entries.
29248 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29249 * malloc/malloc.c (mtrim): Likewise.
29250 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29251
292522012-10-03 Roland McGrath <roland@hack.frob.com>
29253
29254 * sysdeps/mach/hurd/dl-cache.c: File removed.
29255 * config.h.in (USE_LDCONFIG): New #undef.
29256 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29257 * configure: Regenerated.
29258 * elf/Makefile (dl-routines): Add dl-cache only under
29259 [$(use-ldconfig) = yes].
29260 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29261 cache on [USE_LDCONFIG].
29262 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29263 [USE_LDCONFIG].
29264 * elf/rtld.c (dl_main): Likewise.
29265
292662012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29267
29268 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29269 _SC_LEVEL4_CACHE_LINESIZE.
29270
292712012-10-03 Roland McGrath <roland@hack.frob.com>
29272
29273 * sysdeps/unix/bsd/confstr.h: File removed.
29274
292752012-10-02 Alexandre Oliva <aoliva@redhat.com>
29276
29277 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29278 sys/sdt-config.h.
29279
292802012-10-02 Roland McGrath <roland@hack.frob.com>
29281
29282 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29283 Make 'mapoff' field ElfW(Off) rather than off_t.
29284
292852012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29286
29287 * nscd/Makefile: Remove nscd-cflags and all its users.
29288 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29289 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29290
29291 [BZ #10631]
29292 * malloc.c (malloc_printerr): Clarify error message.
29293
292942012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29295
29296 [BZ #14648]
29297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29298 Set bit_FMA_Usable if FMA is supported.
29299 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29300 macro.
29301 (bit_FMA4_Usable): Updated.
29302 (index_FMA_Usable): New macro.
29303 (CPUID_FMA): Likewise
29304 (HAS_FMA): Defined with bit_FMA_Usable.
29305
293062012-10-01 Roland McGrath <roland@hack.frob.com>
29307
29308 * bits/types.h (__swblk_t): Type removed.
29309 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29310 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29312 (__SWBLK_T_TYPE): Likewise.
29313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29314 (__SWBLK_T_TYPE): Likewise.
29315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29316 (__SWBLK_T_TYPE): Likewise.
29317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29318 (__SWBLK_T_TYPE): Likewise.
29319
293202012-10-01 Patsy Franklin <pfrankli@redhat.com>
29321 Honza Horak <hhorak@redhat.com>
29322
29323 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29324 (xdr_mapname): Use YPMAXMAP as maxsize.
29325 (xdr_peername): Use YPMAXPEER as maxsize.
29326 (xdr_keydat): Use YPAXRECORD as maxsize.
29327 (xdr_valdat): Use YPMAXRECORD as maxsize.
29328
293292012-10-01 Roland McGrath <roland@hack.frob.com>
29330
29331 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29332
29333 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29334 * csu/init-first.c: ... here.
29335 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29336 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29337 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29338 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29339 * sysdeps/i386/init-first.c: File removed.
29340 * sysdeps/sh/init-first.c: File removed.
29341
293422012-10-01 Joseph Myers <joseph@codesourcery.com>
29343
29344 [BZ #14645]
29345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29346 if x * y might underflow to zero and z is zero.
29347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29349 * math/libm-test.inc (min_subnorm_value): New variable.
29350 (fma_test): Add more tests.
29351 (fma_test_towardzero): Likewise.
29352 (fma_test_downward): Likewise
29353 (fma_test_upward): Likewise.
29354 (initialize): Set min_subnorm_value.
29355
293562012-09-29 Joseph Myers <joseph@codesourcery.com>
29357
29358 [BZ #14638]
29359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29360 0 + 0.
29361 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29362 mode for addition resulting in exact zero.
29363 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29365 exact 0 + 0.
29366 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29368 * math/libm-test.inc (fma_test): Add more tests.
29369 (fma_test_towardzero): New function.
29370 (fma_test_downward): Likewise.
29371 (fma_test_upward): Likewise.
29372 (main): Call the new functions.
29373
293742012-09-28 David S. Miller <davem@davemloft.net>
29375
29376 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29377
293782012-09-28 Roland McGrath <roland@hack.frob.com>
29379
29380 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29381 instead of SIGALRM.
29382
29383 * sysdeps/gnu/_G_config.h: Moved to ...
29384 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29385 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29386 * sysdeps/generic/_G_config.h: ... here.
29387
29388 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29389
29390 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29391
29392 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29393 Conditionalize target on [libnss_test1.so-version].
29394
29395 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29396
29397 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29398 (elfobjdir): Move out of conditionals.
29399
29400 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29401 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29402 (__nss_lookup_function): Conditionalize label remove_from_tree on
29403 [!DO_STATIC_NSS || SHARED], matching its only use.
29404
294052012-09-28 David S. Miller <davem@davemloft.net>
29406
29407 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29408 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29409 file.
29410 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29411 sysdep_routines.
29412 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29414 when HWCAP_SPARC_CRYPTO is present.
29415
294162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29417
29418 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29419
294202012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29421
29422 [BZ #6530]
29423 * stdio-common/vfprintf.c (process_string_arg): Revert
29424 2000-07-22 change.
29425
294262011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29427
29428 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29429 for testcase.
29430 * stdio-common/tst-sprintf.c: Include <locale.h>
29431 (main): Test sprintf's handling of incomplete multibyte
29432 characters.
29433
294342012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29435
29436 * elf/dl-runtime.c (VERSYMIDX): Removed.
29437 * elf/dl-version.c (VERSYMIDX): Likewise.
29438 * elf/do-rel.h (VERSYMIDX): Likewise.
29439 (VALIDX): Likewise.
29440 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29441 * elf/rtld.c (VALIDX): Likewise.
29442 (ADDRIDX): Likewise.
29443 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29444 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29445 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29446 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29447 (VALIDX): Likewise.
29448 (ADDRIDX): Likewise.
29449
294502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29451
29452 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29453
294542012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29455
29456 [BZ #11438]
29457 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29458 to global scope.
29459 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29460 addresses are in the same scope as 192.0.2/24.
29461 * posix/gai.conf: Document new scope table defaults.
29462
294632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29464
29465 [BZ #5298]
29466 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29467 for ftell. Compute offsets from write pointers instead.
29468 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29469
294702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29471
29472 [BZ #14543]
29473 * libio/Makefile (tests): New test case tst-fseek.
29474 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29475 combination works in wide mode.
29476 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29477 state when the external buffer state changes.
29478
294792012-09-27 David S. Miller <davem@davemloft.net>
29480
29481 [BZ #14376]
29482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29483 pass reloc->r_addend in as the 'high' argument to
29484 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29485
29486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29487
294882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29489
29490 * rt/tst-aio2.c: Include <pthread.h>.
29491 * rt/tst-aio3.c: Likewise.
29492
294932012-09-27 Steve Ellcey <sellcey@mips.com>
29494
29495 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29496
294972012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29498
29499 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29500 contents on [SHARED].
29501
295022012-09-26 Marek Polacek <polacek@redhat.com>
29503
29504 [BZ #14530]
29505 [BZ #13741]
29506 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29507 for C++ and GCC <4.3 as well as for non GCC compilers.
29508
295092012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29510
29511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29512
295132012-09-25 Roland McGrath <roland@hack.frob.com>
29514
29515 * Makefile.in (all, install): Declare with .PHONY.
29516 Reported by Michael Hope <michael.hope@linaro.org>.
29517
295182012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29519
29520 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29521 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29522 system header.
29523 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29524 Likewise.
29525 (sydep_routines): Add the new and the internal functions.
29526 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29527 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29529 (GLIBC_2.17): Add the new function.
29530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29531 (GLIBC_2.17): Likewise.
29532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29533 (GLIBC_2.17): Likewise.
29534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29535 (GLIBC_2.17): Likewise.
29536 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29537
295382012-09-25 Alan Modra <amodra@gmail.com>
29539
29540 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29541 Add release barrier before setting once_control to say
29542 initialisation is done. Add hints on lwarx. Use macro in
29543 place of isync.
29544 (clear_once_control): Add release barrier.
29545
295462012-09-25 Joseph Myers <joseph@codesourcery.com>
29547
29548 [BZ #13629]
29549 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29550 specially.
29551 * math/s_clog10.c (__clog10): Likewise.
29552 * math/s_clog10f.c (__clog10f): Likewise.
29553 * math/s_clog10l.c (__clog10l): Likewise.
29554 * math/s_clogf.c (__clogf): Likewise.
29555 * math/s_clogl.c (__clogl): Likewise.
29556 * math/Makefile (libm-calls): Add x2y2m1.
29557 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29558 (__x2y2m1): Likewise.
29559 (__x2y2m1l): Likewise.
29560 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29561 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29562 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29563 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29564 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29565 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29566 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29567 * sysdeps/i386/fpu/libm-test-ulps: Update.
29568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29569
29570 [BZ #14621]
29571 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29572 int as type of variable DEPTH.
29573 (glob): Use size_t instead of int as type of variables NEWCOUNT
29574 and OLD_PATHC.
29575
295762012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29577
29578 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29579 Add s_sincosf-sse2.
29580 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29581 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29582 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29583 macros for using routine as __sincosf_ia32.
29584 Use macro for function declaration and weak_alias.
29585 * sysdeps/i386/fpu/libm-test-ulps: Update.
29586
29587 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29589
29590 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29591 subnormal argument.
29592 * math/s_cexpf.c (__cexpf): Likewise.
29593 * math/s_csinf.c (__csinf): Likewise.
29594 * math/s_csinhf.c (__csinhf): Likewise.
29595 * math/s_ctanf.c (__ctanf): Likewise.
29596 * math/s_ctanhf.c (__ctanhf): Likewise.
29597 * math/s_ccosh.c (__ccoshf): Likewise.
29598 * math/s_cexp.c (__cexpl): Likewise.
29599 * math/s_csin.c (__csin): Likewise.
29600 * math/s_csinh.c (__csinh): Likewise.
29601 * math/s_ctan.c (__ctan): Likewise.
29602 * math/s_ctanh.c (ctanh): Likewise.
29603 * math/s_ccoshl.c (__ccoshl): Likewise.
29604 * math/s_cexpl.c (__cexpl): Likewise.
29605 * math/s_csinl.c (__csinl): Likewise.
29606 * math/s_csinhl.c (__csinhl): Likewise.
29607 * math/s_ctanl.c (__ctanl): Likewise.
29608 * math/s_ctanhl.c (__ctanhl): Likewise.
29609
296102012-09-25 Joseph Myers <joseph@codesourcery.com>
29611
29612 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29613 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29614 (_IO_off_t): Define to __off_t, not _G_off_t.
29615 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29616 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29617 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29618 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29619 type of __dummy and __dummy2 fields.
29620 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29621 (_G_ssize_t): Likewise.
29622 (_G_off_t): Likewise.
29623 (_G_pid_t): Likewise.
29624 (_G_uid_t): Likewise.
29625 (_G_wchar_t): Likewise.
29626 (_G_wint_t): Likewise.
29627 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29628 (_G_ssize_t): Likewise.
29629 (_G_off_t): Likewise.
29630 (_G_pid_t): Likewise.
29631 (_G_uid_t): Likewise.
29632 (_G_wchar_t): Likewise.
29633 (_G_wint_t): Likewise.
29634 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29635 (_G_ssize_t): Likewise.
29636 (_G_off_t): Likewise.
29637 (_G_pid_t): Likewise.
29638 (_G_uid_t): Likewise.
29639 (_G_wchar_t): Likewise.
29640 (_G_wint_t): Likewise.
29641
296422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29643
29644 * malloc/arena.c: Include malloc-sysdep.h.
29645 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29646 is sufficient to shrink the heap or an unmap is needed.
29647 * sysdeps/generic/malloc-sysdep.h: New file. Define
29648 new function check_may_shrink_heap.
29649 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29650 new function check_may_shrink_heap.
29651
296522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29653
29654 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29655 comments.
29656
296572012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29658
29659 * catgets/test-gencat.sh: Add "set -e".
29660 * elf/tst-pathopt.sh: Likewise.
29661 * grp/tst_fgetgrent.sh: Likewise.
29662 * iconvdata/run-iconv-test.sh: Likewise.
29663 * intl/tst-gettext.sh: Likewise.
29664 * intl/tst-gettext2.sh: Likewise.
29665 * intl/tst-gettext4.sh: Likewise.
29666 * intl/tst-gettext6.sh: Likewise.
29667 * intl/tst-translit.sh: Likewise.
29668 * io/ftwtest-sh: Likewise.
29669 * libio/test-freopen.sh: Likewise.
29670 * malloc/tst-mtrace.sh: Likewise.
29671 * posix/globtest.sh: Likewise.
29672 * posix/tst-getconf.sh: Likewise.
29673 * posix/wordexp-tst.sh: Likewise.
29674 * stdio-common/tst-printf.sh: Likewise.
29675 * stdio-common/tst-unbputc.sh: Likewise.
29676 * stdlib/tst-fmtmsg.sh: Likewise.
29677 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29678 * catgets/Makefile: Do not specify -e option when running
29679 testsuite shell scripts.
29680 * elf/Makefile: Likewise.
29681 * grp/Makefile: Likewise.
29682 * iconvdata/Makefile: Likewise.
29683 * intl/Makefile: Likewise.
29684 * io/Makefile: Likewise.
29685 * libio/Makefile: Likewise.
29686 * malloc/Makefile: Likewise.
29687 * posix/Makefile: Likewise.
29688 * stdio-common/Makefile: Likewise.
29689 * stdlib/Makefile: Likewise.
29690 * sysdeps/x86_64/Makefile: Likewise.
29691
29692 * io/ftwtest-sh: Add copyright header.
29693 * posix/globtest.sh: Likewise.
29694 * posix/tst-getconf.sh: Likewise.
29695 * posix/wordexp-tst.sh: Likewise.
29696 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29697
296982012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29699
29700 [BZ #13679]
29701 * Makeconfig (+link): Defined as $(+link-static) if
29702 $(build-shared) isn't yes.
29703 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29704 isn't yes.
29705 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29706
29707 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29708
29709 [BZ #14562]
29710 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29711 new chunk size with MALLOC_ALIGN_MASK.
29712
297132012-09-24 Joseph Myers <joseph@codesourcery.com>
29714
29715 [BZ #5044]
29716 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29717 <rounding-mode.h>.
29718 (__printf_fphex): Determine rounding using get_rounding_mode and
29719 round_away.
29720 * stdio-common/tst-printf-round.c (struct hex_test): New
29721 structure.
29722 (hex_tests): New variable.
29723 (test_hex_in_one_mode): New function.
29724 (do_test): Also run tests for hex float output.
29725
297262012-09-21 Joseph Myers <joseph@codesourcery.com>
29727
29728 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29729 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29730 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29731 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29732 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29733 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29734 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29735 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29736
297372012-09-20 Joseph Myers <joseph@codesourcery.com>
29738
29739 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29740 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29741 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29742 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29743
297442012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29745
29746 [BZ #14579]
29747 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29748 mode only.
29749 * elf/tst-rtld-load-self.sh: New test.
29750 * elf/Makefile: Run it.
29751
297522012-09-18 Joseph Myers <joseph@codesourcery.com>
29753
29754 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29755 (tst-writev-ENV): Remove.
29756 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29757
297582012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29759
29760 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29761
297622012-09-17 Joseph Myers <joseph@codesourcery.com>
29763
29764 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29765 unconditional.
29766 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29767 Likewise.
29768 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29769 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29770 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29771 Likewise.
29772
297732012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29774
29775 [BZ #14587]
29776 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29777 * config.make.in (have-cpp-asm-debuginfo): Removed.
29778 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29779 * configure: Regenerated.
29780
297812012-09-14 Joseph Myers <joseph@codesourcery.com>
29782
29783 [BZ #5044]
29784 * stdio-common/printf_fp.c: Include <stdbool.h> and
29785 <rounding-mode.h>.
29786 (___printf_fp): Determine rounding using get_rounding_mode and
29787 round_away.
29788 * stdio-common/tst-printf-round.c: New file.
29789 * stdio-common/Makefile (tests): Add tst-printf-round.
29790 (link-libm): New variable.
29791 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29792
297932012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29794
29795 [BZ #14576]
29796 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29797 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29798 Likewise.
29799 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29800 Likewise.
29801
298022012-09-13 Joseph Myers <joseph@codesourcery.com>
29803
29804 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29805 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29806 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29807 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29808
298092012-09-12 Joseph Myers <joseph@codesourcery.com>
29810
29811 [BZ #14518]
29812 * include/rounding-mode.h: New file.
29813 * sysdeps/generic/get-rounding-mode.h: Likewise.
29814 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29815 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29816 (MAX_VALUE): New macro.
29817 (MIN_VALUE): Likewise.
29818 (overflow_value): New function.
29819 (underflow_value): Likewise.
29820 (round_and_return): Use overflow_value and underflow_value to
29821 determine return values in overflow and underflow cases. Use
29822 round_away to determine rounding depending on rounding mode.
29823 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29824 determine return values in overflow and underflow cases.
29825 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29826 (struct test_results): New structure.
29827 (struct test): Use struct test_results to store expected results
29828 for all rounding modes.
29829 (TEST): Include expected results for all rounding modes.
29830 (test_in_one_mode): New function.
29831 (do_test): Use test_in_one_mode to compute and check results.
29832 Check results for all rounding modes.
29833 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29834 $(link-libm).
29835
298362012-12-09 Allan McRae <allan@archlinux.org>
29837
29838 * sysdeps/i386/fpu/libm-test-ulps: Update
29839
298402012-09-11 Joseph Myers <joseph@codesourcery.com>
29841
29842 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29843 (_G_int32_t): Likewise.
29844 (_G_uint16_t): Likewise.
29845 (_G_uint32_t): Likewise.
29846 (_G_HAVE_BOOL): Likewise.
29847 (_G_HAVE_ATEXIT): Likewise.
29848 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29849 (_G_HAVE_IO_FILE_OPEN): Likewise.
29850 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29851 (_G_int32_t): Likewise.
29852 (_G_uint16_t): Likewise.
29853 (_G_uint32_t): Likewise.
29854 (_G_HAVE_BOOL): Likewise.
29855 (_G_HAVE_ATEXIT): Likewise.
29856 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29857 (_G_HAVE_IO_FILE_OPEN): Likewise.
29858 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29859 (_G_int32_t): Likewise.
29860 (_G_uint16_t): Likewise.
29861 (_G_uint32_t): Likewise.
29862 (_G_HAVE_BOOL): Likewise.
29863 (_G_HAVE_ATEXIT): Likewise.
29864 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29865 (_G_HAVE_IO_FILE_OPEN): Likewise.
29866
298672012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29868
29869 * csu/libc-tls.c: Update copyright years.
29870
298712012-09-10 Joseph Myers <joseph@codesourcery.com>
29872
29873 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29874 [!_G_USING_THUNKS]: Remove conditional code.
29875 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29876 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29877
29878 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29879 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29880 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29881 (_G_VTABLE_LABEL_PREFIX): Likewise.
29882 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29883 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29884 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29885 (_G_VTABLE_LABEL_PREFIX): Likewise.
29886 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29887 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29888 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29889 (_G_VTABLE_LABEL_PREFIX): Likewise.
29890 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29891
298922012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29893
29894 * libio/Makefile: Include ../Makeconfig before tests.
29895 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29896 only if $(build-shared) is yes.
29897
29898 * iconv/gconv_db.c: Update copyright years.
29899
299002012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29901
29902 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29903 unwind info if defined PIC. Fix special cases description.
29904 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29905
29906 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29907 DP_HI_MASK entry.
29908 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29909
299102012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29911
29912 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29913
29914 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29915 is NULL.
29916
29917 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29918 (LDLIBS-tst-chk4): This.
29919 (LDFLAGS-tst-chk5): Renamed to ...
29920 (LDLIBS-tst-chk5): This.
29921 (LDFLAGS-tst-chk6): Renamed to ...
29922 (LDLIBS-tst-chk6): This.
29923 (LDFLAGS-tst-lfschk4): Renamed to ...
29924 (LDLIBS-tst-lfschk4): This.
29925 (LDFLAGS-tst-lfschk5): Renamed to ...
29926 (LDLIBS-tst-lfschk5): This.
29927 (LDFLAGS-tst-lfschk6): Renamed to ...
29928 (LDLIBS-tst-lfschk6): This.
29929
29930 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29931 on $(common-objpfx)soversions.mk.
29932
299332012-09-07 Joseph Myers <joseph@codesourcery.com>
29934
29935 [BZ #10014]
29936 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29937 example host name.
29938
299392012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29940
29941 * malloc/arena.c (arena_get_retry): New function that gets
29942 another arena for the caller to try its request on.
29943 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29944 current arena cannot fulfill the request.
29945 (__libc_memalign): Likewise.
29946 (__libc_memalign): Likewise.
29947 (__libc_pvalloc): Likewise.
29948 (__libc_calloc): Likewise.
29949
299502012-09-05 John Tobey <john.tobey@gmail.com>
29951
29952 [BZ #13542]
29953 * manual/arith.texi (Operations on Complex): Fix description
29954 of carg branch cut.
29955
299562012-09-06 Joseph Myers <joseph@codesourcery.com>
29957
29958 [BZ #10014]
29959 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29960 host name.
29961
29962 [BZ #10038]
29963 * manual/memory.texi (Memory): Make order of menu items match
29964 order of sections.
29965
299662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29967
29968 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29969 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29970 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29971
299722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29973
29974 * csu/libc-tls.c (static_dtv): Renamed to ...
29975 (_dl_static_dtv): This. Make it global.
29976 (_dl_initial_dtv): Removed.
29977 (__libc_setup_tls): Updated.
29978 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29979 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29980 DL_INITIAL_DTV.
29981
299822012-09-06 Petr Machata <pmachata@redhat.com>
29983
29984 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29985 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29986 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29987 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29988
299892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29990
29991 [BZ #14545]
29992 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29993 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29994 freeing dtv[-1].
29995
299962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29997
29998 [BZ #14544]
29999 * Makeconfig (link-static-before-libc): Replace $(+prector)
30000 with $(+prectorT).
30001 (link-static-after-libc): Replace $(+postctor) with
30002 $(+postctorT).
30003 (link-bounded): Replace $(+prector)/$(+postctor) with
30004 $(+prectorT)/$(+postctorT).
30005 (+prectorT): New macro.
30006 (+postctorT): Likewise.
30007
300082012-09-06 Joseph Myers <joseph@codesourcery.com>
30009
30010 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30011 (round_str): Handle values above the maximum for IBM long double
30012 as inexact.
30013 * stdlib/tst-strtod-round.c (tests): Regenerated.
30014
300152012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30016
30017 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30018 assembler flag.
30019 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30020 zarch_nohighgprs around the zarch optimized routines.
30021 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30022 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30023 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30024 for zarch.
30025
300262012-09-05 David S. Miller <davem@davemloft.net>
30027
30028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30029
30030 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30031 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30032 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30033 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30034 entries.
30035
300362012-09-05 Alexandre Oliva <aoliva@redhat.com>
30037
30038 * malloc/arena.c: Fold copyright years.
30039 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30040
300412012-09-05 Alexandre Oliva <aoliva@redhat.com>
30042
30043 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30044
300452012-09-05 Alexandre Oliva <aoliva@redhat.com>
30046
30047 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30048
300492012-09-05 Alexandre Oliva <aoliva@redhat.com>
30050
30051 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30052 change internal state upon failure.
30053
300542012-09-05 Alexandre Oliva <aoliva@redhat.com>
30055
30056 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30057 * malloc/memusage.c (mmap): Likewise.
30058 (mmap64, mremap): Likewise. Adjust name in comment.
30059
300602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30061
30062 * libio/fileops.c: Fix typos in comments.
30063 * libio/oldfileops.c: Likewise.
30064 * libio/wfileops.c: Likewise.
30065
300662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30067
30068 [BZ #1349]
30069 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30070 (tst-malloc-usable-ENV): Set environment for test case.
30071 * malloc/hooks.c (malloc_check_get_size): New function to get
30072 requested size.
30073 * malloc/malloc.c (musable): Use malloc_check_get_size.
30074 * malloc/tst-malloc-usable.c: New test case.
30075
300762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30077
30078 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30079
300802012-09-05 Allan McRae <allan@archlinux.org>
30081
30082 [BZ #13966]
30083 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30084 determine header location.
30085 * configure: Regenerated.
30086
300872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30088
30089 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30090 float format.
30091 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30092 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30093 format.
30094 (test): Regenerate.
30095
300962012-09-04 David S. Miller <davem@davemloft.net>
30097
30098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30101
301022012-09-04 Florian Weimer <fweimer@redhat.com>
30103
30104 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30105 failures.
30106
30107 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30108
301092012-09-04 Joseph Myers <joseph@codesourcery.com>
30110
30111 [BZ #9914]
30112 * libio/iogetdelim.c: Include <limits.h>.
30113 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30114 + len + 1 would overflow.
30115
301162012-09-03 Andreas Jaeger <aj@suse.de>
30117
30118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30119 * sysdeps/i386/fpu/libm-test-ulps: Update.
30120
301212012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30122
30123 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30124 Add s_sinf-sse2, s_conf-sse2.
30125
30126 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30127 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30128 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30129 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30130
30131 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30132 for using routine as __sinf_ia32.
30133 Use macro for function declaration and weak_alias.
30134 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30135 for using routine as __cosf_ia32.
30136 Use macro for function declaration and weak_alias.
30137
30138 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30139 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30140
30141 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30142 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30144
30145 * math/libm-test.inc (cos_test): Add more test cases.
30146 (sin_test): Likewise.
30147 (sincos_test): Likewise.
30148
301492012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30150
30151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30152 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30153 hidden.
30154 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30155
301562012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30157
30158 [BZ #14538]
30159 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30160 first element of the GOT.
30161 (elf_machine_load_address): Return the difference between
30162 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30163
301642012-09-01 Allan McRae <allan@archlinux.org>
30165
30166 [BZ #13412]
30167 * configure.in (AWK): Require gawk version 3.0 or later.
30168 * configure: Regenerated.
30169
301702012-09-01 Joseph Myers <joseph@codesourcery.com>
30171
30172 * sysdeps/unix/sysv/linux/kernel-features.h
30173 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30175 [__NR_clock_getres]: Make code unconditional.
30176 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30177 (clock_getcpuclockid): Remove code left unreachable by removal of
30178 conditionals.
30179 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30180 code unconditional.
30181 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30182 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30183 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30184 Make code unconditional.
30185 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30186 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30187 * sysdeps/unix/sysv/linux/clock_settime.c
30188 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30189 conditional code.
30190 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30191 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30192
301932012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30194
30195 [BZ #14476]
30196 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30197 scripts/test-installation.pl.
30198
30199 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30200 and $ld_so_version if it is set.
30201
302022012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30203
30204 [BZ #14516]
30205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30206 failure if reading from procfs failed.
30207 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30208
302092012-08-27 Joseph Myers <joseph@codesourcery.com>
30210
30211 * sysdeps/unix/sysv/linux/kernel-features.h
30212 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30213 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30214 Remove conditional code.
30215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30216 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30217 Remove conditional code.
30218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30219 * sysdeps/unix/sysv/linux/i386/fxstat.c
30220 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30222 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30223 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30225 * sysdeps/unix/sysv/linux/i386/lxstat.c
30226 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30228 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30229 Remove conditional code.
30230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30231 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30232 Remove conditional code.
30233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30234 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30235 <kernel-features.h>.
30236 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30237 Remove.
30238 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30239 Remove conditional code.
30240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30241 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30242 Remove conditional.
30243
302442012-08-27 Mike Frysinger <vapier@gentoo.org>
30245
30246 [BZ #5400]
30247 * NEWS: Add fixed bug number.
30248
302492012-08-27 Joseph Myers <joseph@codesourcery.com>
30250
30251 [BZ #14519]
30252 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30253 underflowing exponent in case of negative sign.
30254 * stdlib/tst-strtod-round-data: Add more tests.
30255 * stdlib/tst-strtod-round.c (tests): Regenerated.
30256
30257 [BZ #3479]
30258 * stdlib/strtod_l.c (NDIG): Remove.
30259 (HEXNDIG): Likewise.
30260 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30261 smallest representable value.
30262 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30263 lie within an exact representation of 1/2 ulp of the result.
30264 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30265 unconditionally.
30266 (TENS_P9_IDX): Define unconditionally.
30267 (TENS_P9_SIZE): Likewise.
30268 (TENS_P10_IDX): Likewise.
30269 (TENS_P10_SIZE): Likewise.
30270 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30271 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30272 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30273 entries for 10^2^13 and 10^2^14.
30274 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30275 (TENS_P13_IDX): Define.
30276 (TENS_P13_SIZE): Likewise.
30277 (TENS_P14_IDX): Likewise.
30278 (TENS_P14_SIZE): Likewise.
30279 (_fpioconst_pow10): Change array size to
30280 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30281 unconditional.
30282 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30283 1024]: Add entries for 10^2^13 and 10^2^14.
30284 [LAST_POW10 > _LAST_POW10]: Remove #error.
30285 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30286 (_fpioconst_pow10): Change array size to
30287 FPIOCONST_POW10_ARRAY_SIZE.
30288 * stdlib/gen-fpioconst.c: New file.
30289 * stdlib/gen-tst-strtod-round.c: Likewise.
30290 * stdlib/tst-strtod-round-data: Likewise.
30291 * stdlib/tst-strtod-round.c: Likewise.
30292 * stdlib/Makefile (tests): Add tst-strtod-round.
30293
30294 [BZ #14459]
30295 * stdlib/strtod_l.c: Include <stdint.h>.
30296 (NDEBUG): Do not define.
30297 (round_and_return): Change EXPONENT parameter to type intmax_t.
30298 Rearrange calculations to avoid internal overflow possibilities.
30299 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30300 Rearrange calculations to avoid internal overflow possibilities.
30301 Assert that number fits inside MPNSIZE limbs.
30302 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30303 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30304 calculations and add assertions to avoid internal overflow
30305 possibilities. Add casts to avoid signed/unsigned operations.
30306 * stdlib/tst-strtod-overflow.c: New file.
30307 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30308
303092012-08-25 Marek Polacek <polacek@redhat.com>
30310
30311 * time/time.h: Fix some typos in comments.
30312
303132012-08-23 Roland McGrath <roland@hack.frob.com>
30314
30315 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30316 * posix/tst-rfc3484-2.c: Likewise.
30317 * posix/tst-rfc3484-3.c: Likewise.
30318
303192012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30320
30321 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30322 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30323
303242012-08-23 Joseph Myers <joseph@codesourcery.com>
30325
30326 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30327 #include of fxstatat64.c.
30328
303292012-08-22 Roland McGrath <roland@hack.frob.com>
30330
30331 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30332 * shadow/getspent_r.c: Likewise.
30333 * shadow/getspnam.c: Likewise.
30334 * shadow/getspnam_r.c: Likewise.
30335 * gshadow/getsgent.c: Likewise.
30336 * gshadow/getsgent_r.c: Likewise.
30337 * gshadow/getsgnam.c: Likewise.
30338 * gshadow/getsgnam_r.c: Likewise.
30339 * inet/getnetbyad.c: Likewise.
30340 * inet/getnetbyad_r.c: Likewise.
30341 * inet/getnetbynm.c: Likewise.
30342 * inet/getnetbynm_r.c: Likewise.
30343 * inet/getnetent.c: Likewise.
30344 * inet/getnetent_r.c: Likewise.
30345 * inet/getproto.c: Likewise.
30346 * inet/getproto_r.c: Likewise.
30347 * inet/getprtent.c: Likewise.
30348 * inet/getprtent_r.c: Likewise.
30349 * inet/getprtname.c: Likewise.
30350 * inet/getprtname_r.c: Likewise.
30351 * inet/getrpcbyname.c: Likewise.
30352 * inet/getrpcbyname_r.c: Likewise.
30353 * inet/getrpcbynumber.c: Likewise.
30354 * inet/getrpcbynumber_r.c: Likewise.
30355 * inet/getrpcent.c: Likewise.
30356 * inet/getrpcent_r.c: Likewise.
30357 * inet/getaliasent.c: Likewise.
30358 * inet/getaliasent_r.c: Likewise.
30359 * inet/getaliasname.c: Likewise.
30360 * inet/getaliasname_r.c: Likewise.
30361 * nscd/getgrgid_r.c: Likewise.
30362 * nscd/getgrnam_r.c: Likewise.
30363 * nscd/gethstbyad_r.c: Likewise.
30364 * nscd/gethstbynm3_r.c: Likewise.
30365 * nscd/getpwnam_r.c: Likewise.
30366 * nscd/getpwuid_r.c: Likewise.
30367 * nscd/getsrvbynm_r.c: Likewise.
30368 * nscd/getsrvbypt_r.c: Likewise.
30369 * nscd/gai.c: Likewise.
30370
30371 * configure.in (build_nscd): New substituted variable, set
30372 by --disable-build-nscd and defaults to $use_nscd.
30373 * configure: Regenerated.
30374 * config.make.in (build-nscd): New substituted variable.
30375 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30376 Change conditional to require [$(build-nscd) = yes] as well.
30377 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30378
30379 [BZ# 13696]
30380 * configure.in (use_nscd): New substituted variable, set by
30381 --disable-nscd. If enabled, define USE_NSCD.
30382 * configure: Regenerated.
30383 * config.h.in: Add USE_NSCD.
30384 * config.make.in (use-nscd): New substituted variable.
30385 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30386 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30387 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30388 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30389 (CFLAGS-getgrnam_r.c): Likewise.
30390 (CFLAGS-initgroups.c): Likewise.
30391 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30392 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30393 Variables removed.
30394 * inet/getnetgrent_r.c
30395 (nscd_setnetgrent): New function, broken out of ...
30396 (setnetgrent): ... here. Call it.
30397 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30398 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30399 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30400 * nscd/Makefile (routines, aux): Move definitions after include of
30401 Makeconfig. Conditionalize on [$(use-nscd) != no].
30402 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30403 Conditionalize on [USE_NSCD].
30404 (is_nscd, nscd_init_cb): Likewise.
30405 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30406 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30407 * nss/nss_db/db-init.c: Likewise.
30408 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30409 [USE_NSCD].
30410 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30411 (make_request): Use it.
30412 (cache_valid_p): New function.
30413 (__check_pf): Use it.
30414 * NEWS: Add item for --disable-nscd.
30415
304162012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30417
30418 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30419 to support sed >= 4.2.1-20-ga9bf076.
30420 * configure: Regenerated.
30421
304222012-08-22 Roland McGrath <roland@hack.frob.com>
30423
30424 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30425 Conditionalize whole body on [IREL].
30426
304272012-08-22 Jeff Law <law@redhat.com>
30428
30429 [BZ #14505]
30430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30431 if the family is PF_UNSPEC.
30432
304332012-08-22 Mike Frysinger <vapier@gentoo.org>
30434
30435 * Makerules (lib-version): Rename from V.
30436 (install-lib-nosubdir): Change V to lib-version.
30437
304382012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30439
30440 [BZ #14252]
30441 * powerpc32/power6/wcschr.c: New file.
30442 * powerpc32/power6/wcscpy.c: New file.
30443 * powerpc32/power6/wcsrchr.c: New file.
30444 * powerpc64/power6/wcschr.c: New file.
30445 * powerpc64/power6/wcscpy.c: New file.
30446 * powerpc64/power6/wcsrchr.c: New file.
30447
304482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30449
30450 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30451 (two_way_short_needle): Use it.
30452 * string/strstr.c (AVAILABLE1_USES_J): Define.
30453 * string/strcasestr.c: Likewise.
30454
30455 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30456 array references.
30457 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30458
30459 [BZ #11607]
30460 * NEWS: Add an entry.
30461 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30462 define their defaults.
30463 (two_way_short_needle): Detect end-of-string on-the-fly.
30464 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30465 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30466 * string/bug-strcasestr1.c: New test.
30467 * string/Makefile: Run it.
30468
304692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30470
30471 [BZ #11607]
30472 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30473 the first character.
30474
304752012-08-21 Roland McGrath <roland@hack.frob.com>
30476
30477 * csu/elf-init.c (__libc_csu_irel): Function removed.
30478 * csu/libc-start.c (apply_irel): New function.
30479 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30480
304812012-08-21 Joseph Myers <joseph@codesourcery.com>
30482
30483 * sysdeps/unix/sysv/linux/kernel-features.h
30484 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30485 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30486 <kernel-features.h>.
30487 [__NR_fadvise64_64]: Make code unconditional.
30488 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30489 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30490 !__NR_fadvise64_64)]: Likewise.
30491 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30492 !__NR_fadvise64_64))]: Likewise.
30493 [__NR_fadvise64]: Make code unconditional.
30494 [!__NR_fadvise64]: Remove conditional code.
30495 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30496 <kernel-features.h>.
30497 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30498 unconditional.
30499 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30500 conditional code.
30501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30502 not include <kernel-features.h>.
30503 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30504 unconditional.
30505 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30506 conditional code.
30507 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30508 include <kernel-features.h>.
30509 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30510 unconditional.
30511 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30512 conditional code.
30513
305142012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30515
30516 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30517 slight instruction rearrangements per scrollpipe analysis.
30518 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30519
305202012-08-20 Roland McGrath <roland@hack.frob.com>
30521
30522 * manual/syslog.texi (syslog; vsyslog, closelog):
30523 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30524 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30525
30526 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30527 DSOCAPS to match condition on defining it.
30528
305292012-08-20 Joseph Myers <joseph@codesourcery.com>
30530
30531 * sysdeps/unix/sysv/linux/kernel-features.h
30532 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30534 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30535 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30537 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30538 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30540 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30541 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30542
30543 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30544 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30545
30546 * sysdeps/unix/sysv/linux/kernel-features.h
30547 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30548 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30549 unconditional.
30550 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30551 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30552 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30553 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30554 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30555 Make code unconditional.
30556 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30557 (__mmap64) [!__NR_mmap2]: Likewise.
30558 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30559 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30560 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30561 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30562 [__NR_mmap2]: Make code unconditional.
30563 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30564 (__mmap64) [!__NR_mmap2]: Likewise.
30565
305662012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30567
30568 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30569
305702012-08-18 Andreas Jaeger <aj@suse.de>
30571
30572 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30573
305742012-08-18 Mike Frysinger <vapier@gentoo.org>
30575
30576 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30577 * include/unistd.h (__have_sock_cloexec): Likewise.
30578 (__have_pipe2): Likewise.
30579 (__have_dup3): Likewise.
30580
305812012-08-18 Mike Frysinger <vapier@gentoo.org>
30582
30583 [BZ #9685]
30584 * include/unistd.h (__have_pipe2): Change define into an extern int.
30585 (__have_dup3): Likewise.
30586 * socket/have_sock_cloexec.c: Include fcntl.h.
30587 (__have_pipe2): New variable.
30588 (__have_dup3): Likewise.
30589
305902012-08-17 Mike Frysinger <vapier@gentoo.org>
30591
30592 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30593
305942012-08-17 Marek Polacek <polacek@redhat.com>
30595
30596 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30597 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30598
305992012-08-17 Roland McGrath <roland@hack.frob.com>
30600
30601 * configure.in: Add AC_SUBST for sysheaders.
30602 * configure: Regenerated.
30603 * config.make.in (sysheaders): New substituted variable.
30604
30605 * sysdeps/unix/mkfifo.c: Moved ...
30606 * sysdeps/posix/mkfifo.c: ... here.
30607 * sysdeps/unix/mkfifoat.c: Moved ...
30608 * sysdeps/posix/mkfifoat.c: ... here.
30609
30610 * sysdeps/unix/utime.c: Moved ...
30611 * sysdeps/posix/utime.c: ... here.
30612
30613 * sysdeps/unix/time.c: Moved ...
30614 * sysdeps/posix/time.c: ... here.
30615 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30616 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30617
30618 * sysdeps/unix/nice.c: Moved ...
30619 * sysdeps/posix/nice.c: ... here.
30620
30621 * sysdeps/unix/alarm.c: Moved ...
30622 * sysdeps/posix/alarm.c: ... here.
30623
30624 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30625
306262012-08-17 Jeff Law <law@redhat.com>
30627
30628 * intl/Makefile (codeset_mo): New variable.
30629 ($(codeset_mo)): New target.
30630 (tst-codeset.out): Depend on that. Remove explicit rule.
30631 (tst-gettext3.out, tst-gettext5.out): Likewise.
30632 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30633 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30634 * intl/tst-codeset.sh: Remove.
30635 * intl/tst-gettext3.sh: Likewise.
30636 * intl/tst-gettext5.sh: Likewise.
30637
306382012-08-17 Roland McGrath <roland@hack.frob.com>
30639
30640 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30641 * sysdeps/unix/syscalls.list: ... here.
30642
30643 * sysdeps/posix/getaddrinfo.c
30644 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30645 (gaiconf_init, gaiconf_reload): Use them.
30646 [!_STATBUF_ST_NSEC]
30647 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30648 Define using time_t rather than struct timespec.
30649
30650 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30651 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30652 Macros removed.
30653 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30654 [!NO_THREADS].
30655 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30656 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30657 Likewise.
30658
30659 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30660 __libc_cleanup_push argument.
30661
30662 * bits/param.h: New file.
30663 * misc/sys/param.h: New file.
30664 * include/sys/param.h: New file.
30665 * misc/Makefile (headers): Add bits/param.h.
30666 * sysdeps/generic/sys/param.h: File removed.
30667 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30668 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30669 * sysdeps/mach/hurd/bits/param.h: New file.
30670 * sysdeps/mach/hurd/sys/param.h: File removed.
30671
30672 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30673 last change.
30674
30675 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30676 [_IO_MTSAFE_IO].
30677 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30678 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30679 New macros.
30680
30681 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30682 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30683 rather than -D_IO_MTSAFE_IO conditionally.
30684 * stdio-common/Makefile (CPPFLAGS): Likewise.
30685 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30686 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30687 Use $(libio-mtsafe).
30688 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30689 of -D_IO_MTSAFE_IO.
30690 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30691 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30692 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30693 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30694 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30695 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30696 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30697 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30698 (CFLAGS-fread_u_chk.c): Likewise.
30699 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30700 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30701 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30702 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30703 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30704 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30705 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30706 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30707 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30708
30709 * libio/Makefile: Test [$(libc-reentrant) = yes]
30710 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30711
30712 * Makeconfig
30713 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30714 * sysdeps/pthread/configure: File removed.
30715 * sysdeps/pthread/Makeconfig: New file.
30716 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30717 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30718
307192012-08-16 Gary Benson <gbenson@redhat.com>
30720
30721 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30722 unmapping the first object in a namespace.
30723
307242012-08-16 Roland McGrath <roland@hack.frob.com>
30725
30726 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30727 (__internal_setnetgrent): ... this. Add internal_function to
30728 definition. Add libc_hidden_def.
30729 (setnetgrent): Update caller.
30730 (internal_endnetgrent): Renamed to ...
30731 (__internal_endnetgrent): ... this. Add internal_function to
30732 definition. Add libc_hidden_def.
30733 (endnetgrent): Update caller.
30734 (internal_getnetgrent_r): Renamed to ...
30735 (__internal_getnetgrent_r): ... this. Add internal_function to
30736 definition. Add libc_hidden_def.
30737 (__getnetgrent_r): Update caller.
30738 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30739
307402012-08-16 Joseph Myers <joseph@codesourcery.com>
30741
30742 * stdlib/longlong.h: Update from GCC.
30743
307442012-08-16 Roland McGrath <roland@hack.frob.com>
30745
30746 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30747 on _QL, which is set by umul_ppmm but never used.
30748 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30749 variables, which are set by GMP macros but never used.
30750 * stdio-common/_itowa.c (_itowa): Likewise.
30751 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30752 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30753
307542012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30755
30756 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30757 struct La_sh_regs is not constant.
30758 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30759 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30760 and struct La_sparc64_regs are not constant.
30761
307622012-08-16 Joseph Myers <joseph@codesourcery.com>
30763
30764 * sysdeps/unix/sysv/linux/kernel-features.h
30765 (__ASSUME_POSIX_TIMERS): Remove.
30766 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30767 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30768 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30769 Make code unconditional.
30770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30771 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30772 Make code unconditional.
30773 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30774 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30775 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30777 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30778 Make code unconditional.
30779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30780 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30781 (__libc_missing_posix_timers): Remove.
30782
307832012-08-15 Roland McGrath <roland@hack.frob.com>
30784
30785 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30786 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30787
30788 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30789
30790 * elf/dl-sym.c: Include <stdlib.h>.
30791
30792 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30793 constants, which avoids warnings in 32-bit builds.
30794
30795 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30796 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30797
30798 * misc/lseek.c: File moved to ...
30799 * io/lseek.c: ... here.
30800
30801 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30802
30803 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30804 shifting LEN more than 31 bits at once.
30805
308062012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30807
30808 [BZ #14195]
30809 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30810 segmentation fault for a case of two empty input strings.
30811 * string/test-strncasecmp.c (check1): Renamed to...
30812 (bz12205): ...this.
30813 (bz14195): Add new testcase for two empty input strings and N > 0.
30814 (test_main): Call new testcase, adapt for renamed function.
30815
308162012-08-15 Andreas Jaeger <aj@suse.de>
30817
30818 [BZ #14090]
30819 * crypt/md5test2.c: New test, based on test supplied by Serge
30820 Belyshev <belyshev@depni.sinp.msu.ru>.
30821 * crypt/Makefile (xtests): Add md5test-giant..
30822 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30823
308242012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30825
30826 [BZ #14090]
30827 * crypt/md5.c (md5_process_block): Don't assume the buffer
30828 length is less than 2**32.
30829 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30830 length is less than 2**64.
30831
308322012-08-15 Roland McGrath <roland@hack.frob.com>
30833
30834 * string/str-two-way.h: Include <sys/param.h>.
30835 (MAX): Macro removed.
30836
30837 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30838 Move #define and #undef of memmove to just before and after
30839 including <string.h>.
30840
30841 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30842 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30843 and after including <string.h>. Move declarations of
30844 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30845 to before #include "string/memmove.c".
30846
30847 * include/dirent.h: Declare __getdirentries.
30848
30849 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30850 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30851
308522012-08-14 Mike Frysinger <vapier@gentoo.org>
30853
30854 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30855 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30856 * sysdeps/i386/configure: Regenerated.
30857 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30858 STABS_CURRENT_FILE, and STABS_FUN.
30859 (END): Remove call to STABS_FUN_END.
30860 (STABS_CURRENT_FILE1): Delete.
30861 (STABS_CURRENT_FILE): Likewise.
30862 (STABS_FUN): Likewise.
30863 (STABS_FUN_END): Likewise.
30864 (STABS_FUN2): Likewise.
30865 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30866 * sysdeps/x86_64/configure: Regenerated.
30867
308682012-08-14 Roland McGrath <roland@hack.frob.com>
30869
30870 * elf/dl-open.c: Include <atomic.h>.
30871 * elf/dl-lookup.c: Likewise.
30872
308732012-08-14 Joseph Myers <joseph@codesourcery.com>
30874
30875 * sysdeps/unix/sysv/linux/kernel-features.h
30876 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30877 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30878 unconditionally.
30879 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30880 unconditionally.
30881 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30882 condition on __ASSUME_CLONE_THREAD_FLAGS.
30883
308842012-08-14 Andreas Jaeger <aj@suse.de>
30885
30886 * sysdeps/i386/fpu/libm-test-ulps: Update.
30887
308882012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30889
30890 * include/atomic.h (atomic_exchange_and_add): Split into ...
30891 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30892 New atomic macros.
30893
308942012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30895
30896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30897
308982012-08-13 Jeff Law <law@redhat.com>
30899
30900 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30901 null byte in the output string.
30902
309032012-08-10 Joseph Myers <joseph@codesourcery.com>
30904
30905 * sysdeps/unix/sysv/linux/kernel-features.h
30906 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30907 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30908 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30910 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30911 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30912 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30913
309142012-08-09 Jeff Law <law@redhat.com>
30915
30916 [BZ #13939]
30917 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30918 When avoid_arena is set, don't retry in the that arena. Pick the
30919 next one, whatever it might be.
30920 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30921 (arena_lock): Pass in new parameter to arena_get2.
30922 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30923 arena_get2.
30924 (__libc_malloc): Unify retrying after main arena failure with
30925 __libc_memalign version.
30926 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30927
309282012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30929
30930 [BZ #14166]
30931 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30932 to __redirect_strstr.
30933 (__strstr_sse42): Use typeof __redirect_strstr.
30934 (__strstr_ia32): Likewise.
30935 (__libc_strstr): New prototype.
30936 (strstr): Renamed to ...
30937 (__libc_strstr): This.
30938 (strstr): New strong alias of __libc_strstr.
30939 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30940 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30941 __redirect_time.
30942 Include <time.h>.
30943 (__libc_time): New prototype.
30944 (time_ifunc): Replace time with __libc_time.
30945 (time): New strong alias and hidden definition of __libc_time.
30946 (__GI_time): Remove strong alias.
30947 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30948 Include <stddef.h>.
30949 (memmove): Redefined to __redirect_memmove.
30950 (__memmove_sse2): Use typeof __redirect_memmove.
30951 (__memmove_ssse3): Likewise.
30952 (__memmove_ssse3_back): Likewise.
30953 (__libc_memmove): New prototype.
30954 (memmove): Renamed to ...
30955 (__libc_memmove): This.
30956 (memmove): New strong alias of __libc_memmove.
30957
309582012-08-08 Mark Salter <msalter@redhat.com>
30959
30960 * elf/elf.h
30961 (R_MN10300_TLS_GD): Define.
30962 (R_MN10300_TLS_LD): Likewise.
30963 (R_MN10300_TLS_LDO): Likewise.
30964 (R_MN10300_TLS_GOTIE): Likewise.
30965 (R_MN10300_TLS_IE): Likewise.
30966 (R_MN10300_TLS_LE): Likewise.
30967 (R_MN10300_TLS_DTPMOD): Likewise.
30968 (R_MN10300_TLS_DTPOFF): Likewise.
30969 (R_MN10300_TLS_TPOFF): Likewise.
30970 (R_MN10300_SYM_DIFF): Likewise.
30971 (R_MN10300_ALIGN): Likewise.
30972 (R_MN10300_NUM): Update.
30973
309742012-08-08 Joseph Myers <joseph@codesourcery.com>
30975
30976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30977 Remove.
30978
309792012-08-08 Roland McGrath <roland@hack.frob.com>
30980
30981 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30982
30983 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30984 sysdeps/unix -> sysdeps/posix move.
30985 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30986
309872012-08-07 Allan McRae <allan@archlinux.org>
30988
30989 [BZ #14303]
30990 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30991 (SUNOS_CPP): Likewise.
30992 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30993 not found.
30994 (open_input): Call CPP using execvp.
30995
309962012-08-07 Joseph Myers <joseph@codesourcery.com>
30997
30998 * sysdeps/unix/sysv/linux/kernel-features.h
30999 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31000 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31001 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31002 (__ASSUME_WAITID_SYSCALL): Likewise.
31003 * sysdeps/unix/sysv/linux/dl-execstack.c
31004 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31005 code unconditional.
31006 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31007 conditional code.
31008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31009 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31010 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31011 code.
31012 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31013 unconditional.
31014 [__ASSUME_WAITID_SYSCALL]: Likewise.
31015 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31016
310172012-08-07 Roland McGrath <roland@hack.frob.com>
31018
31019 * sysdeps/unix/closedir.c: Renamed to ...
31020 * sysdeps/posix/closedir.c: ... here.
31021 * sysdeps/unix/dirfd.c: Renamed to ...
31022 * sysdeps/posix/dirfd.c: ... here.
31023 * sysdeps/unix/dirstream.h: Renamed to ...
31024 * sysdeps/posix/dirstream.h: ... here.
31025 * sysdeps/unix/fdopendir.c: Renamed to ...
31026 * sysdeps/posix/fdopendir.c: ... here.
31027 * sysdeps/unix/opendir.c: Renamed to ...
31028 * sysdeps/posix/opendir.c: ... here.
31029 * sysdeps/unix/readdir.c: Renamed to ...
31030 * sysdeps/posix/readdir.c: ... here.
31031 * sysdeps/unix/readdir_r.c: Renamed to ...
31032 * sysdeps/posix/readdir_r.c: ... here.
31033 * sysdeps/unix/rewinddir.c: Renamed to ...
31034 * sysdeps/posix/rewinddir.c: ... here.
31035 * sysdeps/unix/seekdir.c: Renamed to ...
31036 * sysdeps/posix/seekdir.c: ... here.
31037 * sysdeps/unix/telldir.c: Renamed to ...
31038 * sysdeps/posix/telldir.c: ... here.
31039 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31040 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31041 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31042 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31043
31044 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31045 * bits/fcntl.h: ... here.
31046
31047 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31048 not 0.
31049 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31050 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31051 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31052 (struct flock): Move l_start, l_len to the beginning.
31053 Use __pid_t for l_pid.
31054 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31055 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31056 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31057 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31058 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31059 [__USE_LARGEFILE64] (struct flock64): New type.
31060 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31061
31062 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31063 * bits/dirent.h: ... here.
31064
31065 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31066 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31067
310682012-08-07 Joseph Myers <joseph@codesourcery.com>
31069
31070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31071 Change from 2.6.0 to 2.6.16.
31072 * sysdeps/unix/sysv/linux/configure: Regenerated.
31073 * sysdeps/unix/sysv/linux/kernel-features.h
31074 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31075 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31076 version.
31077 (__ASSUME_UTIMES): Likewise.
31078 (__ASSUME_CLONE_STOPPED): Remove.
31079 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31080 architectures, not kernel version.
31081 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31082 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31083 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31084 (__ASSUME_WAITID_SYSCALL): Likewise.
31085 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31086 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31087 * README: State 2.6.16 as minimum Linux kernel version. Do not
31088 refer to older versions.
31089
310902012-08-06 Roland McGrath <roland@hack.frob.com>
31091
31092 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31093 Define alphasort64 as an alias.
31094 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31095 Define versionsort64 as an alias.
31096 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31097 Define scandir64 as an alias.
31098 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31099 Define scandirat64 as an alias.
31100 * dirent/alphasort64.c (alphasort64):
31101 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31102 * dirent/versionsort64.c: Likewise.
31103 * dirent/scandir64.c: Likewise.
31104 * dirent/scandirat64.c: Likewise.
31105 * sysdeps/wordsize-64/alphasort.c: File removed.
31106 * sysdeps/wordsize-64/alphasort64.c: File removed.
31107 * sysdeps/wordsize-64/scandir.c: File removed.
31108 * sysdeps/wordsize-64/scandir64.c: File removed.
31109 * sysdeps/wordsize-64/scandirat.c: File removed.
31110 * sysdeps/wordsize-64/scandirat64.c: File removed.
31111 * sysdeps/wordsize-64/versionsort.c: File removed.
31112 * sysdeps/wordsize-64/versionsort64.c: File removed.
31113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31121
31122 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31124 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31126 [defined __arch64__ || defined __sparcv9]
31127 (__INO_T_MATCHES_INO64_T): New macro.
31128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31129 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31130 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31131 * sysdeps/unix/sysv/linux/bits/dirent.h
31132 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31133 (_DIRENT_MATCHES_DIRENT64): New macro.
31134
31135 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31136 Define lockf64 as an alias.
31137 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31138 Define fseeko64 as an alias.
31139 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31140 Define ftello64 as an alias.
31141 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31142 Define _IO_fgetpos64 and fgetpos64 as aliases.
31143 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31144 Define _IO_fsetpos64 and fsetpos64 as aliases.
31145 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31146 Conditionalize body on this.
31147 * libio/fseeko64.c: Likewise.
31148 * libio/ftello64.c: Likewise.
31149 * libio/iofgetpos64.c: Likewise.
31150 * libio/iofsetpos64.c: Likewise.
31151 * sysdeps/wordsize-64/lockf.c: File removed.
31152 * sysdeps/wordsize-64/lockf64.c: File removed.
31153 * sysdeps/wordsize-64/fseeko.c: File removed.
31154 * sysdeps/wordsize-64/fseeko64.c: File removed.
31155 * sysdeps/wordsize-64/ftello.c: File removed.
31156 * sysdeps/wordsize-64/ftello64.c: File removed.
31157 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31158 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31159 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31160 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31162 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31164 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31166 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31167 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31168 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31170 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31171
31172 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31174 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31176 [defined __arch64__ || defined __sparcv9]
31177 (__OFF_T_MATCHES_OFF64_T): New macro.
31178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31179 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31181 (__OFF_T_MATCHES_OFF64_T): New macro.
31182
311832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31184
31185 * stdlib/secure-getenv.c (__secure_getenv): Replace
31186 GLIBC_2_16 with GLIBC_2_17.
31187
311882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31189
31190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31192
311932012-08-03 David S. Miller <davem@davemloft.net>
31194
31195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31196
311972012-08-03 Joseph Myers <joseph@codesourcery.com>
31198
31199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31200 Remove.
31201 (__ASSUME_CORRECT_SI_PID): Likewise.
31202 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31203 (__ASSUME_TMPFS_NAME): Likewise.
31204 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31205 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31206 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31207 (HAVE_AUX_SECURE): Make definition unconditional.
31208 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31209 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31210
312112012-08-03 Roland McGrath <roland@hack.frob.com>
31212
31213 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31214 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31215 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31216 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31217 __eloop_threshold instead of SYMLOOP_MAX.
31218
31219 * sysdeps/generic/eloop-threshold.h: New file.
31220 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31221 of MAXSYMLINKS.
31222 * elf/chroot_canon.c (chroot_canon): Likewise.
31223
312242012-08-03 Joseph Myers <joseph@codesourcery.com>
31225
31226 [BZ #13717]
31227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31228 Change to 2.6.0 everywhere.
31229 * sysdeps/unix/sysv/linux/configure: Regenerated.
31230 * sysdeps/unix/sysv/linux/kernel-features.h
31231 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31232 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31233 kernel versions.
31234 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31235 (__ASSUME_FUTEX_REQUEUE): Remove.
31236 (__ASSUME_STATFS64): Define unconditionally.
31237 (__ASSUME_AT_SECURE): Likewise.
31238 (__ASSUME_CORRECT_SI_PID): Likewise.
31239 (__ASSUME_TGKILL): Define without depending on kernel version for
31240 i386.
31241 (__ASSUME_UTIMES): Likewise.
31242 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31243 kernel version.
31244 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31245 (__ASSUME_TMPFS_NAME): Likewise.
31246 * README: Update reference to Linux kernel versions.
31247
312482012-08-02 Marek Polacek <polacek@redhat.com>
31249
31250 [BZ# 14150]
31251 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31252 libc_cv_asm_type_prefix with %.
31253 * configure: Regenerated.
31254 * include/libc-symbols.h: Remove comment about
31255 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31256 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31257 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31258 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31259 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31260 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31261 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31262 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31263 * elf/tst-unique2mod1.c: Likewise.
31264 * elf/tst-unique1mod2.c: Likewise.
31265 * elf/tst-unique1mod1.c: Likewise.
31266 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31267 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31268 Replace ASM_TYPE_DIRECTIVE with .type.
31269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31270 * sysdeps/i386/sysdep.h: Likewise.
31271 * sysdeps/x86_64/sysdep.h: Likewise.
31272 * sysdeps/sh/sysdep.h: Likewise.
31273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31274 Do not define ASM_TYPE_DIRECTIVE.
31275 * sysdeps/powerpc/sysdep.h: Likewise.
31276 * sysdeps/powerpc/powerpc32/sysdep.h:
31277 Replace ASM_TYPE_DIRECTIVE with .type.
31278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31279 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31280 * sysdeps/i386/fpu/e_powf.S: Likewise.
31281 * sysdeps/i386/fpu/e_expl.S: Likewise.
31282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31284 * sysdeps/i386/fpu/e_pow.S: Likewise.
31285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31289 * sysdeps/i386/fpu/e_log2.S: Likewise.
31290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31292 * sysdeps/i386/fpu/e_powl.S: Likewise.
31293 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31294 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31295 * sysdeps/i386/fpu/e_logl.S: Likewise.
31296 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31297 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31298 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31299 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31300 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31301 * sysdeps/i386/fpu/e_log.S: Likewise.
31302 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31303 * sysdeps/i386/fpu/e_logf.S: Likewise.
31304 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31305 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31306 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31307 * sysdeps/i386/fpu/e_log10.S: Likewise.
31308 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31309 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31310 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31311 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31312 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31314 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31315 * sysdeps/i386/i686/strtok.S: Likewise.
31316 * sysdeps/i386/i386-mcount.S: Likewise.
31317 * sysdeps/i386/strtok.S: Likewise.
31318 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31319 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31320 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31321 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31322 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31323 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31324 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31325 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31326 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31327 * sysdeps/x86_64/_mcount.S: Likewise.
31328 * sysdeps/x86_64/strtok.S: Likewise.
31329 * sysdeps/sh/_mcount.S: Likewise.
31330
313312012-08-01 Roland McGrath <roland@hack.frob.com>
31332
31333 * libio/iofopen.c: Include <fcntl.h>.
31334 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31335 (_IO_fopen64, fopen64): Define as aliases.
31336 * libio/iofopen64.c: Include <fcntl.h>.
31337 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31338 Conditionalize body on this.
31339 * sysdeps/wordsize-64/iofopen.c: File removed.
31340 * sysdeps/wordsize-64/iofopen64.c: File removed.
31341
313422012-08-01 Marek Polacek <polacek@redhat.com>
31343
31344 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31345 Use dlfcn directly instead of a variable.
31346 (binfmt-subdir): Do not define.
31347 (dlfcn): Likewise.
31348
313492012-08-01 Joseph Myers <joseph@codesourcery.com>
31350
31351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31352 Remove all definitions.
31353 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31354 <kernel-features.h>.
31355 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31356 (miss_F_GETOWN_EX): Remove all definitions.
31357 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31358 macro definition.
31359 [!__ASSUME_FCNTL64]: Remove conditional code.
31360 [__ASSUME_FCNTL64]: Make code unconditional.
31361 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31362 <kernel-features.h>.
31363 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31364 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31365 (lockf64) [__NR_fcntl64]: Make code unconditional.
31366 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31367
31368 * sysdeps/unix/sysv/linux/kernel-features.h
31369 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31370 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31371 Make code unconditional.
31372 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31373 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31375 [__NR_vfork]: Make code unconditional.
31376 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31377 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31379 [__NR_vfork]: Make code unconditional.
31380 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31381 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31382
313832012-08-01 Roland McGrath <roland@hack.frob.com>
31384
31385 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31386 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31387
31388 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31389 Define mkstemp64 as an alias.
31390 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31391 Define mkstemps64 as an alias.
31392 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31393 Define mkostemp64 as an alias.
31394 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31395 Define mkostemps64 as an alias.
31396 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31397 Conditionalize body on this.
31398 * misc/mkostemp64.c: Likewise.
31399 * misc/mkostemps64.c: Likewise.
31400 * misc/mkstemps64.c: Likewise.
31401 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31402 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31403 * sysdeps/wordsize-64/mkostemp.c: File removed.
31404 * sysdeps/wordsize-64/mkstemp.c: File removed.
31405 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31407 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31409
31410 [BZ #14138]
31411 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31413 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31414 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31415
31416 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31417 compat_symbol macros from <shlib-compat.h> rather than the underlying
31418 default_symbol_version and symbol_version macros, so that DEFAULT
31419 lines in shlib-versions are respected.
31420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31421
314222012-08-01 Florian Weimer <fweimer@redhat.com>
31423
31424 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31425 Declare with warn_unused_result.
31426 (setgid, setregid, setegid, setresgid): Likewise.
31427 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31428 Likewise.
31429 * WUR-REPORT: Remove set*id functions.
31430
314312012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31432
31433 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31434
314352012-07-31 Roland McGrath <roland@hack.frob.com>
31436
31437 [BZ #10191]
31438 * include/sys/socket.h (__libc_accept, __libc_accept4):
31439 Add attribute_hidden.
31440 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31441
31442 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31443 use of PTR_MANGLE.
31444 * inet/getnetgrent_r.c (setup): Likewise.
31445
31446 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31447
314482012-07-31 David S. Miller <davem@davemloft.net>
31449
31450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31451
314522012-07-31 Joseph Myers <joseph@codesourcery.com>
31453
31454 [BZ #13629]
31455 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31456 value between 1.0 and 2.0 and smaller part has absolute value less
31457 than 1.0.
31458 * math/s_clog10.c (__clog10): Likewise.
31459 * math/s_clog10f.c (__clog10f): Likewise.
31460 * math/s_clog10l.c (__clog10l): Likewise.
31461 * math/s_clogf.c (__clogf): Likewise.
31462 * math/s_clogl.c (__clogl): Likewise.
31463 * math/libm-test.inc (clog_test): Add more tests.
31464 (clog10_test): Likewise.
31465 * sysdeps/i386/fpu/libm-test-ulps: Update.
31466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31467
314682012-07-31 Florian Weimer <fweimer@redhat.com>
31469
31470 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31471 Exit with zero in case no suitable GID is found, and write a
31472 message to standard error.
31473
314742012-07-30 Roland McGrath <roland@hack.frob.com>
31475
31476 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31477 rather than to 1.
31478 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31479 (MAXPATHLEN): Removed.
31480 (NOGROUP, NODEV): New macros.
31481 (setbit, clrbit, isset, isclr): New macros.
31482 (howmany, roundup, powerof2): New macros.
31483 (DEV_BSIZE): New macro.
31484
31485 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31486 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31487
31488 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31489 definition on [!__NO_LONG_DOUBLE_MATH].
31490
31491 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31492 PTR_MANGLE and PTR_DEMANGLE.
31493
31494 * socket/accept4.c (accept4): Rename to __libc_accept4.
31495 Define accept4 as a weak alias.
31496
31497 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31498 on [_DIRENT_HAVE_D_TYPE].
31499 * io/ftw.c (ftw_dir): Likewise.
31500
31501 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31502
31503 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31504
31505 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31506 Use the BSD numbers rather than the arbitrary ones we had.
31507 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31508 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31509 (SIGXCPU, SIGXFSZ): New macros.
31510 (_NSIG): Now 32.
31511
31512 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31513 initializer on [_LIBC_REENTRANT].
31514
31515 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31516 definitions inside [_POSIX_MAPPED_FILES].
31517
31518 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31519
31520 * dirent/opendir.c: Include <fcntl.h>.
31521
31522 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31523 (__libc_getspecific): Likewise.
31524 (__libc_key_create): Likewise.
31525
31526 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31527 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31528 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31529 (tmpfile64): Define as alias.
31530 * sysdeps/wordsize-64/tmpfile.c: File removed.
31531 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31532 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31533 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31534
31535 * stdio-common/vfscanf.c: Include <stdbool.h>.
31536 * nss/makedb.c: Likewise.
31537 * stdio-common/_i18n_number.h: Likewise.
31538 * argp/argp-help.c: Likewise.
31539 * posix/wordexp.c: Likewise.
31540 * sysdeps/posix/spawni.c: Likewise.
31541 * nss/nss_files/files-initgroups.c: Likewise.
31542 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31543 * nss/nss_files/files-initgroups.c: Likewise.
31544 * nss/nss_db/db-netgrp.c: Likewise.
31545 * nss/nss_db/db-initgroups.c: Likewise.
31546 * io/fchmodat.c: Include <sys/stat.h>.
31547
31548 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31549 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31550
31551 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31552 [HAVE_MMAP].
31553
31554 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31555 Add multiple inclusion protection.
31556
315572012-07-27 David S. Miller <davem@davemloft.net>
31558
31559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31560
315612012-07-27 Gary Benson <gbenson@redhat.com>
31562
31563 [BZ #14298]
31564 * elf/rtld.c: Include <stap-probe.h>.
31565 (dl_main): Added static probes "init_start" and "init_complete".
31566 * elf/dl-load.c: Include <stap-probe.h>.
31567 (lose): Take new parameter "nsid".
31568 Added static probe "map_failed".
31569 (_dl_map_object_from_fd): Pass namespace id to lose.
31570 Added static probe "map_start".
31571 (open_verify): Pass namespace id to lose.
31572 * elf/dl-open.c: Include <stap-probe.h>.
31573 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31574 and "reloc_complete".
31575 * elf/dl-close.c: Include <stap-probe.h>.
31576 (_dl_close_worker): Added static probes "unmap_start" and
31577 "unmap_complete".
31578 * elf/rtld-debugger-interface.txt: New file documenting the above.
31579
315802012-07-26 Roland McGrath <roland@hack.frob.com>
31581
31582 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31583 rather than a string variable.
31584 * sunrpc/rpc_main.c (h_output): Likewise.
31585 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31586
315872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31588
31589 * inet/check_native.c: New file.
31590
315912012-07-26 Joseph Myers <joseph@codesourcery.com>
31592
31593 [BZ #13629]
31594 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31595 if larger part has absolute value 1.0.
31596 * math/s_clog10.c (__clog10): Likewise.
31597 * math/s_clog10f.c (__clog10f): Likewise.
31598 * math/s_clog10l.c (__clog10l): Likewise.
31599 * math/s_clogf.c (__clogf): Likewise.
31600 * math/s_clogl.c (__clogl): Likewise.
31601 * math/libm-test.inc (clog_test): Add more tests.
31602 (clog10_test): Likewise.
31603 * sysdeps/i386/fpu/libm-test-ulps: Update.
31604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31605
31606 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31607 (pltexit): Likewise.
31608 (La_regs): Likewise.
31609 (La_retval): Likewise.
31610 (int_retval): Likewise.
31611 Update #error for removed macros to refer only to definitions in
31612 tst-audit.h.
31613 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31614 macro.
31615 (pltexit): Likewise.
31616 (La_regs): Likewise.
31617 (La_retval): Likewise.
31618 (int_retval): Likewise.
31619 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31620 macro.
31621 (pltexit): Likewise.
31622 (La_regs): Likewise.
31623 (La_retval): Likewise.
31624 (int_retval): Likewise.
31625 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31626 macro.
31627 (pltexit): Likewise.
31628 (La_regs): Likewise.
31629 (La_retval): Likewise.
31630 (int_retval): Likewise.
31631 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31632 macro.
31633 (pltexit): Likewise.
31634 (La_regs): Likewise.
31635 (La_retval): Likewise.
31636 (int_retval): Likewise.
31637 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31638 macro.
31639 (pltexit): Likewise.
31640 (La_regs): Likewise.
31641 (La_retval): Likewise.
31642 (int_retval): Likewise.
31643 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31644 macro.
31645 (pltexit): Likewise.
31646 (La_regs): Likewise.
31647 (La_retval): Likewise.
31648 (int_retval): Likewise.
31649 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31650 macro definitions in tst-audit.h.
31651 * sysdeps/i386/tst-audit.h: New file.
31652 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31653 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31654 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31655 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31656 * sysdeps/sh/tst-audit.h: Likewise.
31657 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31658 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31659 * sysdeps/x86_64/tst-audit.h: Likewise.
31660
316612012-07-26 Andreas Jaeger <aj@suse.de>
31662
31663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31664 ptrace.
31665
31666 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31667 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31668 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31669 PTRACE_O_MASK.
31670 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31671 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31672 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31673
31674 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31675 value.
31676
31677 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31678 _sigsys.
31679 (si_call_addr, si_syscall, si_arch): Define new macro.
31680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31681 _sigsys.
31682 (si_call_addr, si_syscall, si_arch): Define new marcro.
31683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31684 _sigsys.
31685 (si_call_addr, si_syscall, si_arch): Define new macro.
31686 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31687 _sigsys.
31688 (si_call_addr, si_syscall, si_arch): Define new macro.
31689
316902012-07-25 Joseph Myers <joseph@codesourcery.com>
31691
31692 [BZ #13717]
31693 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31694 Change to 2.4.21 where previously 2.4.1.
31695 * sysdeps/unix/sysv/linux/configure: Regenerated.
31696 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31697 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31698 Linux kernel version.
31699 (__ASSUME_STD_AUXV): Remove.
31700 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31701 kernel version.
31702 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31703 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31704 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31705 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31706 (__ASSUME_NETLINK_SUPPORT): Likewise.
31707 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31708 (__no_netlink_support): Remove conditional definition.
31709 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31710 Remove.
31711 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31712 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31713 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31714 (if_nameindex_ioctl): Remove.
31715 (if_nameindex_netlink): Do not handle __no_netlink_support.
31716 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31717 code.
31718 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31719 Remove conditional code.
31720 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31721 code.
31722 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31723 unconditional.
31724 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31725 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31726 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31727 Remove.
31728 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31729 [!__ASSUME_STD_AUXV]: Remove conditional code.
31730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31731 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31732 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31734 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31735 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31736 code.
31737 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31739 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31740 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31741 conditional code.
31742 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31744 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31745 code.
31746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31747 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31748 conditional code.
31749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31750 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31751 code unconditional.
31752 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31753 conditional code.
31754 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31755 unconditional.
31756 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31757 conditional code.
31758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31759 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31760 unconditional.
31761 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31762 conditional code.
31763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31764 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31765 code unconditional.
31766 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31767 conditional code.
31768 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31769 unconditional.
31770 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31771 conditional code.
31772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31773 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31774 code unconditional.
31775 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31776 conditional code.
31777 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31778 unconditional.
31779 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31780 conditional code.
31781
317822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31783
31784 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31785 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31786 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31787 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31788 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31789 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31790 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31791 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31792 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31793 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31794 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31795 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31796 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31797 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31798 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31799 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31800 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31802 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31804 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31805 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31806 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31807
318082012-07-25 Florian Weimer <fweimer@redhat.com>
31809
31810 * Versions.def: Add GLIBC_2.17.
31811 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31812 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31813 Introduce __libc_secure_getenv.
31814 * stdlib/Versions (2.17): Add secure_getenv
31815 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31816 * stdlib/secure-getenv.c: Rename __secure_getenv to
31817 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31818 symbol __secure_getenv for GLIBC_2.0.
31819 * stdlib/tst-secure-getenv.c: New.
31820 * stdlib/Makefile (tests): Add testcase.
31821 * manual/startup.texi (Environment Access): Document
31822 secure_getenv.
31823 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31824 __libc_secure_getenv.
31825 * inet/ruserpass.c (ruserpass): Likewise.
31826 * malloc/mtrace.c (mtrace): Likewise.
31827 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31828 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31829 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31830 * sysdeps/posix/tempname.c: Likewise. Evaluate
31831 HAVE_SECURE_GETENV.
31832 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31833 __secure_getenv to __libc_secure_getenv.
31834 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31836 Likewise.
31837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31838 Likewise.
31839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31846
318472012-07-25 Joseph Myers <joseph@codesourcery.com>
31848
31849 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31850 (struct La_i86_retval): Likewise.
31851 (struct La_x86_64_regs): Likewise.
31852 (struct La_x86_64_retval): Likewise.
31853 (struct La_x32_regs): Likewise.
31854 (struct La_x32_retval): Likewise.
31855 (struct La_ppc32_regs): Likewise.
31856 (struct La_ppc32_retval): Likewise.
31857 (struct La_ppc64_regs): Likewise.
31858 (struct La_ppc64_retval): Likewise.
31859 (struct La_sh_regs): Likewise.
31860 (struct La_sh_retval): Likewise.
31861 (struct La_s390_32_regs): Likewise.
31862 (struct La_s390_32_retval): Likewise.
31863 (struct La_s390_64_regs): Likewise.
31864 (struct La_s390_64_retval): Likewise.
31865 (struct La_sparc32_regs): Likewise.
31866 (struct La_sparc32_retval): Likewise.
31867 (struct La_sparc64_regs): Likewise.
31868 (struct La_sparc64_retval): Likewise.
31869 (struct audit_ifaces): Remove architecture-specific pltenter and
31870 pltexit members.
31871 * sysdeps/i386/ldsodefs.h: New file.
31872 * sysdeps/powerpc/ldsodefs.h: Likewise.
31873 * sysdeps/s390/ldsodefs.h: Likewise.
31874 * sysdeps/sh/ldsodefs.h: Likewise.
31875 * sysdeps/sparc/ldsodefs.h: Likewise.
31876 * sysdeps/x86_64/ldsodefs.h: Likewise.
31877
318782012-07-25 Marek Polacek <polacek@redhat.com>
31879
31880 [BZ #6808]
31881 * math/libm-test.inc (yn_test): Add another test.
31882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31883 to ERANGE when the result is +-Inf.
31884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31885 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31886 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31887 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31888
318892012-07-24 Joseph Myers <joseph@codesourcery.com>
31890
31891 * conform/data/time.h-data (NULL): Use macro-constant. Require
31892 equal to 0.
31893 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31894 clock_t.
31895 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31896
318972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31898
31899 * configure.in <sysdeps resolving>: Correct printing
31900 Implies_before.
31901 * configure: Regenerate.
31902
319032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31904
31905 * math/w_ilogb.c: Include <limits.h>.
31906 * math/w_ilogbl.c: Likewise.
31907
319082012-07-20 Joseph Myers <joseph@codesourcery.com>
31909
31910 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31911 va_copy. Document allowing for unavailable va_copy only as
31912 pre-C99 compatibility.
31913 * manual/string.texi (Copying and Concatenation): Use va_copy
31914 instead of __va_copy in concat example.
31915
319162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31917
31918 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31919 (__sendto): Use create_address_port. Initialize APORT and deallocate
31920 it if not null.
31921
31922 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31923 with O_NOLINK passed to __file_name_lookup.
31924
31925 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31926 with O_NOLINK passed to __file_name_lookup.
31927
31928 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31929 negative N or less than NGIDS.
31930
31931 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31932 type to string_t. Set ERANGE as errno and return it if NAME is not big
31933 enough. Use memcpy instead of strncpy.
31934
319352012-07-20 Joseph Myers <joseph@codesourcery.com>
31936
31937 * elf/Makefile (check-data): Remove.
31938 (localplt.data): New vpath directive.
31939 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31940 instead of $(check-data).
31941 * scripts/data/localplt-generic.data: Move to ...
31942 * sysdeps/generic/localplt.data: ... here.
31943 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31944 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31945 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31947 ... here.
31948 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31950 ... here.
31951 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31953 ... here.
31954 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31956 ... here.
31957 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31959 ... here.
31960 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31962 ... here.
31963
319642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31965
31966 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31967 PPC32 and PPC64 files.
31968 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31969 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31970
319712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31972
31973 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31974 __makecontext_ret to ...
31975 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31976 ... here and call exit if uc_link is NULL. New file.
31977 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31978 __makecontext_ret.S.
31979 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31980 __makecontext_ret to ...
31981 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31982 ... here and call exit if uc_link is NULL. New file.
31983 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31984 __makecontext_ret.S.
31985
319862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31987
31988 * elf/elf.h (R_390_IRELATIVE): New definition.
31989 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31990 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31991 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31992 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31993 (elf_machine_lazy_rel): Likewise.
31994 * sysdeps/s390/dl-irel.h: New file.
31995 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31996 * sysdeps/s390/s390-64/memset.S: New asm code.
31997 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31998 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32000 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32001 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32002 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32004 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32005 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32006 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32007 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32008 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32009 * sysdeps/s390/s390-32/memset.S: New asm code.
32010 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32011
320122012-07-17 Marek Polacek <polacek@redhat.com>
32013
32014 [BZ #14349]
32015 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32016 * sysdeps/s390/s390-64/configure.in: Likewise.
32017 * sysdeps/sparc/configure.in: Likewise.
32018 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32019 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32020 * sysdeps/i386/configure.in: Likewise.
32021 * sysdeps/x86_64/configure.in: Likewise.
32022 * sysdeps/sh/configure.in: Likewise.
32023 * sysdeps/s390/s390-32/configure: Regenerated.
32024 * sysdeps/s390/s390-64/configure: Likewise.
32025 * sysdeps/x86_64/configure: Likewise.
32026 * sysdeps/sh/configure: Likewise.
32027 * sysdeps/powerpc/powerpc64/configure: Likewise.
32028 * sysdeps/powerpc/powerpc32/configure: Likewise.
32029 * sysdeps/sparc/configure: Likwise.
32030 * sysdeps/i386/configure: Likewise.
32031
32032 * elf/dl-open.c: Comment fixes.
32033
320342012-07-17 Joseph Myers <joseph@codesourcery.com>
32035
32036 * Makefile [CXX] (check-data): Remove.
32037 [CXX] (c++-types.data): New vpath directive.
32038 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32039 vpath. Do not allow for C++ type data being missing.
32040 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32041 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32042 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32043 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32044 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32045 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32046 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32048 ... here.
32049 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32051 ... here.
32052 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32054 ... here.
32055 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32057 ... here.
32058 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32060 ... here.
32061 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32063 ... here.
32064 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32066 ... here.
32067 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32069
32070 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32071 definitions to architecture-specific files.
32072 (TLS_IE): Likewise.
32073 (TLS_LD): Likewise.
32074 (TLS_GD): Likewise.
32075 * sysdeps/i386/tls-macros.h: New file.
32076 * sysdeps/powerpc/tls-macros.h: Likewise.
32077 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32078 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32079 * sysdeps/sh/tls-macros.h: Likewise.
32080 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32081 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32082 * sysdeps/x86_64/tls-macros.h: Likewise.
32083
320842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32085
32086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32087 zero value for regular exit case.
32088
32089 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32090 (__start_context): Preserve zero value for regular exit case.
32091
320922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32093 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32094
32095 * manual/setjmp.texi (setcontext): Clarify normal process
32096 termination when uc_link is the null pointer.
32097 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32098 exit call.
32099
321002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32101
32102 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32103 preprocessor. Test for each exception mask separately.
32104
321052012-07-16 Andreas Jaeger <aj@suse.de>
32106
32107 * po/ru.po: Update from translation team.
32108
321092012-07-15 Joseph Myers <joseph@codesourcery.com>
32110
32111 * conform/data/string.h-data (NULL): Use macro-constant. Require
32112 equal to 0.
32113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32114 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32115 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32116 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32118
321192012-07-13 Andreas Jaeger <aj@suse.de>
32120
32121 * po/fr.po: Update from translation team.
32122
321232012-07-12 Marek Polacek <polacek@redhat.com>
32124
32125 [BZ #14173]
32126 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32127 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32128 loop condition.
32129
321302012-07-12 Joseph Myers <joseph@codesourcery.com>
32131
32132 [BZ #13717]
32133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32134 Change to 2.4.1 where previously 2.4.0.
32135 * sysdeps/unix/sysv/linux/configure: Regenerated.
32136 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32137 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32138 version.
32139 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32140 (__ASSUME_AT_CLKTCK): Remove.
32141 (__ASSUME_AT_PAGESIZE): Likewise.
32142 (__ASSUME_AT_XID): Likewise.
32143 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32144 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32145 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32146 unconditionally.
32147 (HAVE_AUX_PAGESIZE): Likewise.
32148 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32149 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32150 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32151
321522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32153
32154 [BZ #14307]
32155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32156 the temporary buffer used to invoke __gethostbyname2_r,
32157 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32158 host_data / struct gaih_addrtuple.
32159 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32160 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32161 header file nss/nsswitch.h.
32162 * nss/nsswitch.h (global scope): Add definition of implementation
32163 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32164 resolv/nss_dns/dns-host.c).
32165
321662012-07-11 Andreas Jaeger <aj@suse.de>
32167
32168 * po/fr.po: Update from translation team.
32169
32170 * po/sv.po: Update from translation team
32171 * po/fr.po: Another update from translation team.
32172
321732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32174
32175 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32176 for subnormals or multiply small sinh result by itself.
32177 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32179
321802012-07-11 David S. Miller <davem@davemloft.net>
32181
32182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32183
321842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32185
32186 [BZ #14347]
32187 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32188 (INTERNAL_MARK): Shift it here.
32189
321902012-07-10 Marek Polacek <polacek@redhat.com>
32191
32192 [BZ #14151]
32193 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32194 libc_cv_asm_global_directive with .globl.
32195 * configure: Regenerated.
32196 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32197 with .globl.
32198 * sysdeps/i386/configure: Regenerated.
32199 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32200 with .globl.
32201 * sysdeps/x86_64/configure: Regenerated.
32202 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32203 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32204 * elf/tst-unique2mod2.c: Likewise.
32205 * elf/tst-unique2mod1.c: Likewise.
32206 * elf/tst-unique1mod2.c: Likewise.
32207 * elf/tst-unique1mod1.c: Likewise.
32208 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32209 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32211 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32212 * sysdeps/mach/sysdep.h: Likewise.
32213 * sysdeps/i386/sysdep.h: Likewise.
32214 * sysdeps/i386/i386-mcount.S: Likewise.
32215 * sysdeps/x86_64/_mcount.S: Likewise.
32216 * sysdeps/x86_64/sysdep.h: Likewise.
32217 * sysdeps/sh/_mcount.S: Likewise.
32218 * sysdeps/sh/sysdep.h: Likewise.
32219 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32220 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32221 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32222 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32223 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32224 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32225 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32226 * locale/localeinfo.h: Likewise.
32227 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32228 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32229
322302012-07-09 Roland McGrath <roland@hack.frob.com>
32231
32232 [BZ #14336]
32233 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32234 system".
32235 * manual/message.texi (The Uniforum approach): Likewise.
32236 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32237 (glibc iconv Implementation): Likewise.
32238
322392012-07-09 Joseph Myers <joseph@codesourcery.com>
32240
32241 [BZ #14337]
32242 * math/s_clog.c (__clog): Avoid scaling a value down where that
32243 could result in underflow.
32244 * math/s_clog10.c (__clog10): Likewise.
32245 * math/s_clog10f.c (__clog10f): Likewise.
32246 * math/s_clog10l.c (__clog10l): Likewise.
32247 * math/s_clogf.c (__clogf): Likewise.
32248 * math/s_clogl.c (__clogl): Likewise.
32249 * math/libm-test.inc (clog_test): Add more tests.
32250 (clog10_test): Likewise.
32251 * sysdeps/i386/fpu/libm-test-ulps: Update.
32252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32253
322542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32255
32256 [BZ #14283]
32257 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32258 by 7 not 8 to examine high bit of fractional part.
32259
32260 [BZ #14042]
32261 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32262 for call to __mcount_internal.
32263 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32264 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32265 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32266
322672012-07-06 Joseph Myers <joseph@codesourcery.com>
32268
32269 [BZ #14154]
32270 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32271 approximation for values within 0x1p-13f of an odd multiple of
32272 pi/4.
32273 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32274 exception. Add more tests.
32275 * sysdeps/i386/fpu/libm-test-ulps: Update.
32276
32277 [BZ #6778]
32278 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32279 inputs and return -1 for them. Do not check for +Inf in case not
32280 reachable for +Inf.
32281 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32282 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32283 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32284 and return -1 for them. Do not check for +Inf in case not
32285 reachable for +Inf.
32286 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32287 define.
32288 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32289 and return -1 for them. Do not check for +Inf in case not
32290 reachable for +Inf.
32291 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32292 spurious underflow.
32293 * sysdeps/i386/fpu/libm-test-ulps: Update.
32294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32295
322962012-07-06 Mike Frysinger <vapier@gentoo.org>
32297
32298 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32299
323002012-07-05 Joseph Myers <joseph@codesourcery.com>
32301
32302 [BZ #14157]
32303 [BZ #14331]
32304 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32305 could result in spurious underflow. Scale down values above
32306 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32307 * math/s_csqrtf.c (__csqrtf): Likewise.
32308 * math/s_csqrtl.c (__csqrtl): Likewise.
32309 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32310 spurious underflow.
32311 * sysdeps/i386/fpu/libm-test-ulps: Update.
32312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32313
323142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32315
32316 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32317 xopen-msg.sed.
32318 * catgets/xopen-msg.awk: New file.
32319 * catgets/xopen-msg.sed: Removed.
32320
32321 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32322 po2text.sed.
32323 * intl/po2test.awk: New file.
32324 * intl/po2test.sed: Removed.
32325
323262012-07-04 Joseph Myers <joseph@codesourcery.com>
32327
32328 [BZ #14328]
32329 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32330 or multiply small sinh result by itself.
32331 * math/s_ctanf.c (__ctanf): Likewise.
32332 * math/s_ctanh.c (__ctanh): Likewise.
32333 * math/s_ctanhf.c (__ctanhf): Likewise.
32334 * math/s_ctanhl.c (__ctanhl): Likewise.
32335 * math/s_ctanl.c (__ctanl): Likewise.
32336 * math/libm-test.inc (ctan_test_tonearest): New function.
32337 (ctan_test_towardzero): Likewise.
32338 (ctan_test_downward): Likewise.
32339 (ctan_test_upward): Likewise.
32340 (ctanh_test_tonearest): Likewise.
32341 (ctanh_test_towardzero): Likewise.
32342 (ctanh_test_downward): Likewise.
32343 (ctanh_test_upward): Likewise.
32344 (main): Call these new functions.
32345 * sysdeps/i386/fpu/libm-test-ulps: Update.
32346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32347
323482012-07-03 Mike Frysinger <vapier@gentoo.org>
32349
32350 * .gitignore: Delete /ports entry.
32351
323522012-07-03 Andreas Jaeger <aj@suse.de>
32353
32354 * po/bg.po: Update from translation team.
32355 * po/cs.po: Likewise.
32356 * po/de.po: Likewise.
32357 * po/hr.po: Likewise.
32358 * po/nl.pl: Likewise.
32359 * po/pl.po: Likewise.
32360 * po/vi.po: Likewise.
32361
323622012-07-03 Joseph Myers <joseph@codesourcery.com>
32363
32364 * Makeconfig [!+link] (+link-before-libc): New variable.
32365 [!+link] (+link-after-libc): Likewise.
32366 [!+link] (+link-tests): Likewise.
32367 [!+link] (+link): Define in terms of $(+link-before-libc) and
32368 $(+link-after-libc).
32369 [!+link-static] (+link-static-before-libc): New variable.
32370 [!+link-static] (+link-static-after-libc): Likewise.
32371 [!+link-static] (+link-static-tests): Likewise.
32372 [!+link-static] (+link-static): Define in terms of
32373 $(+link-static-before-libc) and $(+link-static-after-libc).
32374 [build-shared] (link-libc-before-gnulib): New variable.
32375 [build-shared] (link-libc-tests): Likewise.
32376 [build-shared] (link-libc): Define in terms of
32377 $(link-libc-before-gnulib).
32378 [!build-shared] (link-libc-tests): New variable.
32379 (link-libc-static-tests): New variable.
32380 [!gnulib] (gnulib-arch): New variable.
32381 [!gnulib] (gnulib-tests): Likewise.
32382 [!gnulib] (static-gnulib-arch): Likewise.
32383 [!gnulib] (static-gnulib-tests): Likewise.
32384 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32385 Define with "=" instead of ":=".
32386 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32387 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32388 * Rules (binaries-all-notests): New variable.
32389 (binaries-all-tests): Likewise.
32390 (binaries-static-notests): Likewise.
32391 (binaries-static-tests): Likewise.
32392 (binaries-all): Define using $(binaries-all-notests) and
32393 $(binaries-all-tests).
32394 (binaries-static): Define using $(binaries-static-notests) and
32395 $(binaries-static-tests).
32396 (binaries-shared-tests): New variable.
32397 (binaries-shared-notests): Likewise.
32398 (binaries-shared): Remove variable.
32399 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32400 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32401 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32402 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32403 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32404 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32405 * elf/Makefile (sln-modules): New variable.
32406 (extra-objs): Add $(sln-modules:=.o).
32407 (ldconfig-modules): Add static-stubs.
32408 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32409 * elf/static-stubs.c: New file.
32410
32411 [BZ #14283]
32412 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32413 by 7 not 8 to examine high bit of fractional part. Use volatile
32414 variables when splitting into final array of floats if
32415 __FLT_EVAL_METHOD__ != 0.
32416 * math/libm-test.inc (cos_test): Add another test.
32417 (sin_test): Likewise.
32418 * sysdeps/i386/fpu/libm-test-ulps: Update.
32419
32420 [BZ #14273]
32421 * math/libm-test.inc (cosh_test): Add more tests.
32422
32423 * version.h (RELEASE): Set to "development".
32424 (VERSION): Set to "2.16.90".
32425
324262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32427
32428 * NEWS: Update copyright. Remove last-updated date.
32429 Mention math library bug fixes and timezone data changes.
32430 * README: Mention GNU/Hurd, x32, and HPPA support status.
32431
324322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32433
32434 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32435
324362012-06-27 Andreas Jaeger <aj@suse.de>
32437
32438 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32439
324402012-06-25 Andreas Jaeger <aj@suse.de>
32441
32442 * sysdeps/s390/fpu/libm-test-ulps: Update.
32443
324442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32445 Thomas Schwinge <thomas@codesourcery.com>
32446
32447 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32448 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32450 fanotify_mark.
32451
324522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32453
32454 * sysdeps/mach/start.c: Remove file.
32455 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32456 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32457 * sysdeps/sh/init-first.c: Likewise.
32458
32459 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32460 registers for frame unwinding purposes, add CFI directives.
32461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32462 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32463 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32464 Likewise.
32465
32466 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32467 __fortify_fail returning.
32468 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32469
32470 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32471 sysdeps/sh/____longjmp_chk.S.
32472 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32473 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32474 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32475 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32476
32477 * sysdeps/sh/abort-instr.h: New file.
32478 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32479 process in case exit returns.
32480
32481 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32482 initialize the GOT register before use.
32483
32484 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32485 calculation of ARGC > 4.
32486
32487 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32488 meaningful names to some local labels.
32489
324902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32491 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32492
32493 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32494 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32495 (__arch_compare_and_exchange_val_16_acq): Likewise.
32496 (__arch_compare_and_exchange_val_32_acq): Likewise.
32497 (atomic_exchange_and_add): Fix gUSA sequence.
32498 (atomic_add): Likewise.
32499 (atomic_add_negative): Likewise.
32500 (atomic_add_zero): Likewise.
32501 (atomic_bit_test_set): Likewise.
32502
325032012-06-22 Andreas Schwab <schwab@redhat.com>
32504
32505 [BZ #13579]
32506 * include/link.h (struct link_map): Add l_free_initfini.
32507 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32508 l_initfini.
32509 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32510 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32511 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32512 set.
32513
325142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32515
32516 * configure.in: Use AC_LANG_SOURCE.
32517 * configure: Regenerate.
32518
325192012-06-22 Roland McGrath <roland@hack.frob.com>
32520
32521 * configure.in (libc_cv_localstatedir): New substituted variable.
32522 * configure: Regenerated.
32523 * config.make.in (localstatedir): New variable, substituted from
32524 libc_cv_localstatedir.
32525 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32526 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32527 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32528 * sysdeps/gnu/configure: Regenerated.
32529
325302012-06-21 Jeff Law <law@redhat.com>
32531
32532 [BZ #14277]
32533 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32534 free. Simplify list management for _LIBC case.
32535
325362012-06-21 Joseph Myers <joseph@codesourcery.com>
32537
32538 [BZ #14273]
32539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32540 Clear sign bit of 64-bit integer value before comparing against
32541 overflow value.
32542
32543 * sysdeps/mach/configure: Regenerated.
32544
325452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32546
32547 [BZ #14278]
32548 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32549
325502012-06-21 Jeff Law <law@redhat.com>
32551
32552 [BZ #13882]
32553 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32554 uint16_t for elements in the "seen" array to avoid char overflows.
32555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32556 * elf/dl-open.c (dl_open_worker): Likewise.
32557
325582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32559
32560 * scripts/list-sources.sh: Scan PORTS for translations.
32561 * po/libc.pot: Regenerated.
32562
325632012-06-21 Andreas Jaeger <aj@suse.de>
32564
32565 [BZ #12194]
32566 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32567 warning.
32568 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32569 * bits/byteswap-16.h (__bswap_16): Likewise.
32570 * bits/byteswap.h (__bswap_constant_16): Likewise.
32571
325722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32573
32574 [BZ #14117]
32575 * sysdeps/i386/fpu_control.h: Removed.
32576 * sysdeps/x86_64/fpu_control.h: Moved to ...
32577 * sysdeps/x86/fpu_control.h: Here.
32578
32579 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32580 (_FPU_SETCW): Likewise.
32581
325822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32583
32584 [BZ #14117]
32585 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32586 * sysdeps/x86/fpu/bits/mathinline.h: This.
32587 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32588
32589 [BZ #14050]
32590 [BZ #14117]
32591 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32592 functions if __x86_64__ is defined.
32593
325942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32595
32596 * string/endian.h: Add !__ASSEMBLER__ condition for including
32597 conversion interfaces.
32598
325992012-06-15 Joseph Myers <joseph@codesourcery.com>
32600
32601 [BZ #14241]
32602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32603 of ABS(x) in calculating zero to negative powers other than odd
32604 integers.
32605 * math/libm-test.inc (pow_test): Add more tests.
32606
326072012-06-15 Andreas Jaeger <aj@suse.de>
32608
32609 * manual/contrib.texi (Contributors): Update entry of Liubov
32610 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32611 Machado Filho.
32612
326132012-06-15 Cyril Hrubis <metan@ucw.cz>
32614
32615 * string/string.h: Add __wur to GNU version of strerror_r.
32616
326172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32618
32619 [BZ #14229]
32620 * string/Makefile (tests): Add tst-strtok_r.
32621 * string/tst-strtok_r.c: New file.
32622 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32623 RAX_LP/RDX_LP on SAVE_PTR.
32624
326252012-06-14 Roland McGrath <roland@hack.frob.com>
32626
32627 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32628
326292012-06-14 Joseph Myers <joseph@codesourcery.com>
32630
32631 * libm_test.inc (csqrt_test): Allow more spurious underflow
32632 exceptions.
32633 (j0_test): Likewise.
32634 (j1_test): Likewise.
32635 (y0_test): Likewise.
32636 (y1_test): Likewise.
32637
326382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32639
32640 * po/Makefile (libc.pot): Use UTF-8 charset.
32641
326422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32643
32644 [BZ #14210]
32645 Suppress sign-conversion warning from FD_SET.
32646 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32647 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32648 not unsigned long int.
32649 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32650
326512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32652
32653 [BZ #14050]
32654 [BZ #14117]
32655 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32656 __extern_always_inline instead of __extern_inline.
32657 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32658 (__signbit): Likewise.
32659 (__signbitl): Support C++ namespace.
32660 (lrintf): New inline function.
32661 (lrint): Likewise.
32662 (llrintf): Likewise.
32663 (llrint): Likewise.
32664 (fmaxf): Likewise.
32665 (fmax): Likewise.
32666 (fminf): Likewise.
32667 (fmin): Likewise.
32668 (rint): Likewise.
32669 (rintf): Likewise.
32670 (ceil): Likewise.
32671 (ceilf): Likewise.
32672 (floor): Likewise.
32673 (floorf): Likewise.
32674 (nearbyint): Likewise.
32675 (nearbyintf): Likewise.
32676
326772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32678
32679 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32680 non-default versions.
32681
326822012-06-11 Roland McGrath <roland@hack.frob.com>
32683
32684 [BZ #14218]
32685 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32686
326872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32688
32689 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32690 (FE_UPWARD, FE_DOWNWARD): Don't define.
32691 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32693
32694 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32695 reading it.
32696 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32697 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32698
326992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32700
32701 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32703 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32704 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32705
327062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32707
32708 [BZ #14117]
32709 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32710 * sysdeps/i386/fpu/Implies: New file.
32711 * sysdeps/x86_64/fpu/Implies: Likewise.
32712 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32713 * sysdeps/x86/fpu/bits/fenv.h: This.
32714
32715 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32716 __SSE_MATH__.
32717
327182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32719
32720 [BZ #14134]
32721 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32722 character 0xffff that matches the last element of the
32723 conversion table.
32724
327252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32726
32727 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32728 fmodl commit.
32729
327302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32731
32732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32733 values higher than 25.6283.
32734
327352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32736
32737 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32738 subnormal exponent extraction and add some __builtin_expect.
32739 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32740 Fix for subnormal mantissa calculation.
32741
327422012-06-04 Mike Frysinger <vapier@gentoo.org>
32743
32744 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32745 cpu2 is -1 and errno is not ENOSYS.
32746
327472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32748
32749 [BZ #14117]
32750 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32751 * sysdeps/x86/bits/string.h: This.
32752 * sysdeps/x86_64/bits/string.h: Removed.
32753
32754 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32755 if not compiling for x86-64, but compiling for >= i486.
32756
32757 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32758 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32759
32760 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32761 New macro from Linux kernel 3.4.0.
32762 (FP_XSTATE_MAGIC2): Likewise.
32763 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32764 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32765 (struct _fpx_sw_bytes): New struct.
32766 (struct _xsave_hdr): Likewise.
32767 (struct _ymmh_state): Likewise.
32768 (struct _xstate): Likewise.
32769
32770 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32771 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32772 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32773 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32774 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32775 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32776
32777 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32779 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32780 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32781 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32782 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32783
327842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32785
32786 [BZ #13743]
32787 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32788 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32789 (sysdep_headers): Include sys/platform/ppc.h.
32790 * sysdeps/powerpc/test-gettimebase.c: Test for
32791 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32792 * manual/Makefile (appendices): Include platform.texi.
32793 * manual/contrib.texi (Contributors): Update @node pointers.
32794 * manual/maint.texi (Maintenance): Likewise.
32795 (Platform): New node.
32796 * manual/platform.texi: New file. Document the new features.
32797
327982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32799 Jakub Jelinek <jakub@redhat.com>
32800
32801 [BZ #14188]
32802 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32803 where __builtin_expect is unavailable.
32804
328052012-06-03 David S. Miller <davem@davemloft.net>
32806
32807 * stdlib/longlong.h: Updated from GCC.
32808
328092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32810
32811 [BZ #14042]
32812 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32813 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32814 __mcount_internal.
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32816 (GLIBC_2.16): Likewise.
32817
328182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32819
32820 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32821
328222012-06-01 Joseph Myers <joseph@codesourcery.com>
32823
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32825 (default-abi): New variable.
32826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32827 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32828 variable.
32829 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32830 Likewise.
32831 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32832 Likewise.
32833 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32834 Likewise.
32835
32836 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32837 definition. Document in comment.
32838
328392012-06-01 David S. Miller <davem@davemloft.net>
32840
32841 * stdlib/longlong.h: Updated from GCC.
32842
328432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32844
32845 [BZ #14117]
32846 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32847 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32848 sys/debugreg.h sys/io.h here.
32849 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32850 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32851 sys/io.h.
32852 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32853 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32854 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32855 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32856 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32857 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32858
32859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32860 Define only if __x86_64__ is defined.
32861
328622012-06-01 Joseph Myers <joseph@codesourcery.com>
32863
32864 [BZ #14048]
32865 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32866 Use int64_t for variable i.
32867 * math/libm-test.inc (fmod_test): Add more tests.
32868
32869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32870 z computation is not scheduled after fetestexcept.
32871 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32872 Use math_force_eval instead of asm to ensure calculation scheduled
32873 before exception test.
32874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32875 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32876
328772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32878
32879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32880 computation is not scheduled after fetestexcept.
32881
328822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32883
32884 [BZ #14117]
32885 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32886 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32887
328882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32889
32890 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32891 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32892
328932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32894
32895 [BZ #14117]
32896 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32897 <bits/wordsize.h>.
32898 (__WCHAR_MIN): Support __WORDSIZE == 64.
32899 (__WCHAR_MAX): Likewise.
32900
32901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32902 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32903
32904 [BZ #14183]
32905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32906 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32907
32908 [BZ #14117]
32909 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32910 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32911
32912 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32913 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32914
32915 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32916 Defined to 1 if __x86_64__ isn't defined.
32917 (_STAT_VER_LINUX_OLD): New.
32918 (st_atime): Remove duplicate.
32919 (st_mtime): Likewise.
32920 (st_ctime): Likewise.
32921
329222012-05-31 David S. Miller <davem@davemloft.net>
32923
32924 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32925 entries.
32926
329272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32928
32929 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32930 gen-libm-test.pl.
32931
32932 [BZ #14132]
32933 * elf/dl-reloc.c: Include <_itoa.h>.
32934 (_dl_reloc_bad_type): Remove use of INTUSE.
32935 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32936 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32937 * stdio-common/psiginfo.c (psiginfo): Likewise.
32938 * stdio-common/psignal.c (psignal): Likewise.
32939 * string/strsignal.c (strsignal): Likewise.
32940 * include/signal.h (_sys_siglist): Declare hidden proto.
32941 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32942 INTVARDEF with libc_hidden_data_def.
32943 * stdio-common/itoa-udigits.c: Likewise.
32944 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32945 (_itoa_lower_digits_internal): Remove declaration.
32946 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32947 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32948 (_sys_sigabbrev_internal): Remove aliases.
32949 (_sys_siglist): Define hidden alias.
32950
329512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32952
32953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32954 bits/sysctl.h.
32955
329562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32957
32958 [BZ #14117]
32959 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32960 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32961
32962 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32963 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32964 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32965 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32967 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32968
32969 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32970 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32971 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32972
32973 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32974 with __addr.
32975 (insw): Likewise.
32976 (insl): Likewise.
32977 (outsb): Likewise.
32978 (outsw): Likewise.
32979 (outsl): Likewise.
32980
32981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32983 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32984
32985 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32986 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32988 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32989 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32990 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32991
32992 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32993 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32994
32995 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32996 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32997
32998 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33001
33002 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33003 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33004 to ...
33005 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33006
33007 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33008 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33009 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33010
33011 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33012 for x86-64.
33013 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33014
330152012-05-31 Joseph Myers <joseph@codesourcery.com>
33016
33017 * math/math.h (M_El): Use two more decimal places.
33018 (M_LOG2El): Likewise.
33019 (M_LOG10El): Likewise.
33020 (M_LN2l): Likewise.
33021 (M_LN10l): Likewise.
33022 (M_PIl): Likewise.
33023 (M_PI_2l): Likewise.
33024 (M_PI_4l): Likewise.
33025 (M_1_PIl): Likewise.
33026 (M_2_PIl): Likewise.
33027 (M_2_SQRTPIl): Likewise.
33028 (M_SQRT2l): Likewise.
33029 (M_SQRT1_2l): Likewise.
33030
330312012-05-31 David S. Miller <davem@davemloft.net>
33032
33033 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33034 values between float registers.
33035 * sysdeps/sparc/sparc64/memset.S: Likewise.
33036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33037
330382012-05-31 Mike Frysinger <vapier@gentoo.org>
33039
33040 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33041 -D_FORTIFY_SOURCE=1.
33042 (CPPFLAGS-tst-longjmp_chk.c): Define.
33043 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33044 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33045 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33046 CFLAGS-tst-wchar-h.c.
33047
330482012-05-31 Marek Polacek <polacek@redhat.com>
33049
33050 [BZ #14132]
33051 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33052 __endmntent_internal): Remove declaration.
33053 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33054 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33055 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33056
330572012-05-30 David S. Miller <davem@davemloft.net>
33058
33059 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33060 (___Q_simulate_exceptions): Use real FP ops rather than writing
33061 into the %fsr.
33062 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33063 Likewise.
33064
330652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33066
33067 [BZ #14117]
33068 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33069 * sysdeps/x86/bits/xtitypes.h: This.
33070
33071 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33072 * sysdeps/x86/bits/wordsize.h: This.
33073
33074 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33075 * sysdeps/x86/bits/huge_vall.h: This.
33076
33077 * sysdeps/i386/bits/select.h: Removed.
33078 * sysdeps/x86_64/bits/select.h: Renamed to ...
33079 * sysdeps/x86/bits/select.h: This.
33080
33081 * sysdeps/i386/bits/setjmp.h: Removed.
33082 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33083 * sysdeps/x86/bits/setjmp.h: This.
33084
33085 * sysdeps/i386/bits/mathdef.h: Removed.
33086 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33087 * sysdeps/x86/bits/mathdef.h: This.
33088
330892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33090
33091 [BZ #14132]
33092 * include/sys/socket.h (__connect_internal)
33093 (__libc_sa_len_internal): Remove declaration.
33094 (__connect, __libc_sa_len): Declare hidden_proto.
33095 (SA_LEN): Remove use of INTUSE.
33096 * socket/connect.c: Add libc_hidden_def.
33097 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33098 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33099 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33100 alias.
33101 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33102 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33103 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33104 of adding _internal alias.
33105
331062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33107
33108 [BZ #14117]
33109 * sysdeps/i386/bits/link.h: Removed.
33110 * sysdeps/i386/bits/linkmap.h: Likewise.
33111 * sysdeps/x86_64/bits/link.h: Renamed to ...
33112 * sysdeps/x86/bits/link.h: This.
33113 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33114 * sysdeps/x86/bits/linkmap.h: This.
33115
33116 * sysdeps/i386/bits/endian.h: Removed.
33117 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33118 * sysdeps/x86/bits/endian.h: This.
33119
33120 * sysdeps/i386/bits/byteswap.h: Removed.
33121 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33122 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33123 * sysdeps/x86/bits/byteswap.h: This.
33124 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33125 * sysdeps/x86/bits/byteswap-16.h: This.
33126 * sysdeps/i386/Implies: Add x86.
33127 * sysdeps/x86_64/Implies: Likewise.
33128
331292012-05-30 David S. Miller <davem@davemloft.net>
33130
33131 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33132 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33133 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33134 (FP_TRAPPING_EXCEPTIONS): Define.
33135 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33136 (FP_TRAPPING_EXCEPTIONS): Define.
33137 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33138 subnormals only when inexact has been signalled or underflow
33139 exceptions are enabled.
33140 (_FP_PACK_CANONICAL): Likewise.
33141
331422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33143
33144 [BZ #14183]
33145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33146 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33147
331482012-05-30 Richard Henderson <rth@twiddle.net>
33149
33150 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33151 with #ifndef NOT_IN_libc.
33152
33153 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33154 marked to avoid plt entry.
33155
331562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33157
33158 [BZ #14112]
33159 * Makeconfig (default-abi): New macro.
33160 (abi-includes): Likewise.
33161 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33162 $(abi-$(default-abi)-lib-soname) for soname if defined.
33163 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33164 abi-variants.
33165 * Makefile (installed-stubs): Likewise.
33166 * include/stubs-biarch.h: Removed.
33167 * scripts/lib-names.awk: Only handle one library at a time.
33168 * scripts/soversions.awk: Remove WORDSIZE support.
33169 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33170 entries.
33171 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33172 Removed.
33173 (syscall-list-default-condition): Likewise.
33174 (syscall-list-default-condition): Likewise.
33175 (syscall-list-includes): Likewise.
33176 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33177 syscall-list-* with abi-*. Handle undefined abi-variants.
33178 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33179 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33180 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33181 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33182 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33183 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33184 Removed.
33185 (syscall-list-32-options): Likewise.
33186 (syscall-list-32-condition): Likewise.
33187 (syscall-list-64-options): Likewise.
33188 (syscall-list-64-condition): Likewise.
33189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33190 macro.
33191 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33192 Renamed to ...
33193 (abi-*): This.
33194 (abi-64-ld-soname): New macro.
33195 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33196 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33197 Renamed to ...
33198 (abi-*): This.
33199 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33200 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33201
332022012-05-30 Joseph Myers <joseph@codesourcery.com>
33203
33204 * sysdeps/unix/sysv/linux/kernel-features.h
33205 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33206 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33207 include <kernel-features.h>.
33208 [!__NR_ftruncate64]: Remove conditional code.
33209 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33210 [__NR_ftruncate64]: Make code unconditional.
33211 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33212 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33213 include <kernel-features.h>.
33214 [!__NR_ftruncate64]: Remove conditional code.
33215 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33216 [__NR_ftruncate64]: Make code unconditional.
33217 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33219 include <kernel-features.h>.
33220 [!__NR_ftruncate64]: Remove conditional code.
33221 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33222 [__NR_ftruncate64]: Make code unconditional.
33223 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33225 include <kernel-features.h>.
33226 [!__NR_ftruncate64]: Remove conditional code.
33227 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33228 [__NR_ftruncate64]: Make code unconditional.
33229 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33230
33231 * configure.in (libc_cv_fpie): Weaken to a compile test using
33232 LIBC_TRY_CC_OPTION.
33233 * configure: Regenerated.
33234
332352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33236
33237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33241 Refreshed.
33242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33248 Refreshed.
33249
332502012-05-27 David S. Miller <davem@davemloft.net>
33251
33252 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33253 (___Q_zero): New.
33254 (__Q_simulate_exceptions): Return void. Change to simulate
33255 exceptions by writing into the %fsr.
33256 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33257 (__Qp_handle_exceptions): Likewise.
33258 (numbers): Delete.
33259 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33260 __Qp_handle_exceptions.
33261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33262 __Qp_handle_exceptions.
33263 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33264 as unused and give dummy FP_RND_NEAREST initializer.
33265 (FP_INHIBIT_RESULTS): Define.
33266 (___Q_simulate_exceptions): Update declaration.
33267 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33268 formatting.
33269 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33270 as unused and give dummy FP_RND_NEAREST initializer.
33271 (__Qp_handle_exceptions): Update declaration.
33272 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33273 formatting.
33274
332752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33276
33277 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33278 the temporary FPU control word.
33279 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33280 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33281 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33282 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33284 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33285 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33286 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33287 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33288 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33290
332912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33292
33293 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33294 fields.
33295
332962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33297
33298 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33299 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33300 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33301 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33302 Likewise.
33303 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33304 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33305 Likewise.
33306
333072012-05-27 Ulrich Drepper <drepper@gmail.com>
33308
33309 * po/h.po: Update from translation team.
33310
333112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33312
33313 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33314
33315 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33316 handling of denormals.
33317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33318 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33319 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33320 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33324 Likewise.
33325
333262012-05-26 Marek Polacek <polacek@redhat.com>
33327
33328 [BZ #14152]
33329 * math/libm-test.inc (fma_test): Don't always expect underflow
33330 exception.
33331
333322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33333
33334 [BZ #12416]
33335 * elf/tst-execstack.c: Include stackinfo.h.
33336 (do_test): Adjust test case to ensure that pthread_getattr_np
33337 behaviour remains the same after marking stack executable.
33338
333392012-05-25 Joseph Myers <joseph@codesourcery.com>
33340
33341 * sysdeps/unix/sysv/linux/kernel-features.h
33342 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33343 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33344 kernel-features.h.
33345 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33346 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33347 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33348 kernel-features.h.
33349 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33350 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33351
333522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33353
33354 * configure.in: Define the default includes to being none.
33355 * configure: Regenerated.
33356
333572012-05-25 Roland McGrath <roland@hack.frob.com>
33358
33359 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33360 * sysdeps/x86_64/setjmp.S: Likewise.
33361 * sysdeps/i386/bsd-setjmp.S: Likewise.
33362 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33363 * sysdeps/i386/setjmp.S: Likewise.
33364 * sysdeps/i386/__longjmp.S: Likewise.
33365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33366 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33367
33368 * include/stap-probe.h: New file.
33369 * configure.in: Handle --enable-systemtap.
33370 * configure: Regenerated.
33371 * config.h.in (USE_STAP_PROBE): New #undef.
33372 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33373 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33374 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33375
333762012-05-25 Joseph Myers <joseph@codesourcery.com>
33377
33378 [BZ #13717]
33379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33380 to 2.4.0 where earlier.
33381 * sysdeps/unix/sysv/linux/configure: Regenerated.
33382 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33383 <kernel-features.h>.
33384 [__ASSUME_32BITUIDS]: Make code unconditional.
33385 [!__ASSUME_32BITUIDS]: Remove conditional code.
33386 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33387 <kernel-features.h>.
33388 [__ASSUME_32BITUIDS]: Make code unconditional.
33389 [!__ASSUME_32BITUIDS]: Remove conditional code.
33390 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33391 [__ASSUME_32BITUIDS]: Make code unconditional.
33392 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33393 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33394 <kernel-features.h>.
33395 [__ASSUME_32BITUIDS]: Make code unconditional.
33396 [!__ASSUME_32BITUIDS]: Remove conditional code.
33397 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33398 <kernel-features.h>.
33399 [__ASSUME_32BITUIDS]: Make code unconditional.
33400 [!__ASSUME_32BITUIDS]: Remove conditional code.
33401 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33402 <kernel-features.h>.
33403 [__ASSUME_32BITUIDS]: Make code unconditional.
33404 [!__ASSUME_32BITUIDS]: Remove conditional code.
33405 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33406 <kernel-features.h>.
33407 [__ASSUME_32BITUIDS]: Make code unconditional.
33408 [!__ASSUME_32BITUIDS]: Remove conditional code.
33409 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33410 <kernel-features.h>.
33411 [__ASSUME_32BITUIDS]: Make code unconditional.
33412 [!__ASSUME_32BITUIDS]: Remove conditional code.
33413 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33414 <kernel-features.h>.
33415 [__ASSUME_32BITUIDS]: Make code unconditional.
33416 [!__ASSUME_32BITUIDS]: Remove conditional code.
33417 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33418 <kernel-features.h>.
33419 [__ASSUME_32BITUIDS]: Make code unconditional.
33420 [!__ASSUME_32BITUIDS]: Remove conditional code.
33421 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33422 <kernel-features.h>.
33423 [__ASSUME_32BITUIDS]: Make code unconditional.
33424 [!__ASSUME_32BITUIDS]: Remove conditional code.
33425 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33426 <kernel-features.h>.
33427 [__ASSUME_32BITUIDS]: Make code unconditional.
33428 [!__ASSUME_32BITUIDS]: Remove conditional code.
33429 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33430 <kernel-features.h>.
33431 [__ASSUME_32BITUIDS]: Make code unconditional.
33432 [!__ASSUME_32BITUIDS]: Remove conditional code.
33433 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33434 <kernel-features.h>.
33435 [__NR_setresgid] (__setresgid): Do not declare.
33436 [__ASSUME_32BITUIDS]: Make code unconditional.
33437 [!__ASSUME_32BITUIDS]: Remove conditional code.
33438 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33439 <kernel-features.h>.
33440 [__NR_setresuid] (__setresuid): Do not declare.
33441 [__ASSUME_32BITUIDS]: Make code unconditional.
33442 [!__ASSUME_32BITUIDS]: Remove conditional code.
33443 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33444 <kernel-features.h>.
33445 [__ASSUME_32BITUIDS]: Make code unconditional.
33446 [!__ASSUME_32BITUIDS]: Remove conditional code.
33447 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33448 <kernel-features.h>.
33449 [__ASSUME_32BITUIDS]: Make code unconditional.
33450 [!__ASSUME_32BITUIDS]: Remove conditional code.
33451 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33452 <kernel-features.h>.
33453 [__ASSUME_32BITUIDS]: Make code unconditional.
33454 [!__ASSUME_32BITUIDS]: Remove conditional code.
33455 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33456 <kernel-features.h>.
33457 [__ASSUME_32BITUIDS]: Make code unconditional.
33458 [!__ASSUME_32BITUIDS]: Remove conditional code.
33459 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33460 <kernel-features.h>.
33461 [__ASSUME_32BITUIDS]: Make code unconditional.
33462 [!__ASSUME_32BITUIDS]: Remove conditional code.
33463 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33464 <kernel-features.h>.
33465 [__ASSUME_32BITUIDS]: Make code unconditional.
33466 [!__ASSUME_32BITUIDS]: Remove conditional code.
33467 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33468 <kernel-features.h>.
33469 [__ASSUME_32BITUIDS]: Make code unconditional.
33470 [!__ASSUME_32BITUIDS]: Remove conditional code.
33471 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33472 <kernel-features.h>.
33473 [__ASSUME_32BITUIDS]: Make code unconditional.
33474 [!__ASSUME_32BITUIDS]: Remove conditional code.
33475 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33476 <kernel-features.h>.
33477 [__ASSUME_32BITUIDS]: Make code unconditional.
33478 [!__ASSUME_32BITUIDS]: Remove conditional code.
33479 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33480 <kernel-features.h>.
33481 [__ASSUME_32BITUIDS]: Make code unconditional.
33482 [!__ASSUME_32BITUIDS]: Remove conditional code.
33483 * sysdeps/unix/sysv/linux/kernel-features.h
33484 (__ASSUME_SETRESUID_SYSCALL): Remove.
33485 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33486 (__ASSUME_32BITUIDS): Likewise.
33487 (__ASSUME_LDT_WORKS): Likewise.
33488 (__ASSUME_O_DIRECTORY): Likewise.
33489 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33490 architecture but not kernel version.
33491 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33492 (__ASSUME_MMAP2_SYSCALL): Likewise.
33493 (__ASSUME_STAT64_SYSCALL): Likewise.
33494 (__ASSUME_IPC64): Likewise.
33495 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33496 <kernel-features.h>.
33497 [__ASSUME_32BITUIDS]: Make code unconditional.
33498 [!__ASSUME_32BITUIDS]: Remove conditional code.
33499 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33500 <kernel-features.h>.
33501 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33502 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33503 132096]: Remove conditional code.
33504 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33506 <kernel-features.h>.
33507 [__ASSUME_32BITUIDS]: Make code unconditional.
33508 [!__ASSUME_32BITUIDS]: Remove conditional code.
33509 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33510 <kernel-features.h>.
33511 [__ASSUME_32BITUIDS]: Make code unconditional.
33512 [!__ASSUME_32BITUIDS]: Remove conditional code.
33513 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33514 <kernel-features.h>.
33515 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33516 unconditional.
33517 (__setresgid): Do not declare.
33518 [__ASSUME_32BITUIDS]: Make code unconditional.
33519 [!__ASSUME_32BITUIDS]: Remove conditional code.
33520 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33521 <kernel-features.h>.
33522 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33523 unconditional.
33524 (__setresuid): Do not declare.
33525 [__ASSUME_32BITUIDS]: Make code unconditional.
33526 [!__ASSUME_32BITUIDS]: Remove conditional code.
33527 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33528 <kernel-features.h>.
33529 [__ASSUME_32BITUIDS]: Make code unconditional.
33530 [!__ASSUME_32BITUIDS]: Remove conditional code.
33531 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33532 <kernel-features.h>.
33533 [__ASSUME_32BITUIDS]: Make code unconditional.
33534 [!__ASSUME_32BITUIDS]: Remove conditional code.
33535
335362012-05-25 Richard Henderson <rth@twiddle.net>
33537
33538 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33539 dl_hwcap to ifunc resolver.
33540 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33541 elf_ifunc_invoke.
33542 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33543 dl_hwcap to ifunc resolver.
33544 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33545
335462012-05-24 Joseph Myers <joseph@codesourcery.com>
33547
33548 [BZ #14153]
33549 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33550 for |x| <= 2**-26, not 2**-57.
33551 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33552 exception.
33553
335542012-05-24 Jeff Law <law@redhat.com>
33555
33556 * stdio-common/Makefile (tests): Add bug25.
33557 * stdio-common/bug25.c: New test.
33558
335592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33560
33561 [BZ #13576]
33562 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33563 multiple of MALLOC_ALIGNMENT in size.
33564 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33565
335662012-05-24 Joseph Myers <joseph@codesourcery.com>
33567
33568 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33569 Require >= 256.
33570 (FILENAME_MAX): Use macro-int-constant.
33571 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33572 (_IOFBF): Use macro-int-constant.
33573 (_IOLBF): Likewise.
33574 (_IONBF): Likewise.
33575 (SEEK_CUR): Likewise.
33576 (SEEK_END): Likewise.
33577 (SEEK_SET): Likewise.
33578 (TMP_MAX): Likewise.
33579 (EOF): Use macro-int-constant. Require < 0.
33580 (NULL): Use macro-constant. Require == 0.
33581 (stdin): Require type to be FILE *.
33582 (stdout): Likewise.
33583 (stderr): Likewise.
33584 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33585 macro-int-constant.
33586 (EXIT_SUCCESS): Likewise.
33587 (NULL): Use macro-constant. Require == 0.
33588 (RAND_MAX): Use macro-int-constant.
33589 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33590 [C99-based standards] (strtof): Require function.
33591 [C99-based standards] (strtold): Likewise.
33592 [C99-based standards] (strtoll): Likewise.
33593 [C99-based standards] (strtoull): Likewise.
33594 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33595 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33596 [ISO || ISO99 || ISO11] (math.h): Likewise.
33597 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33598 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33600
336012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33602
33603 [BZ #14132]
33604 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33605 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33606 * intl/dgettext.c (DCGETTEXT): Likewise.
33607 * intl/gettext.c (DCGETTEXT): Likewise.
33608 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33609 * posix/regex_internal.h (gettext): Likewise.
33610 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33611 Remove declaration.
33612 * include/argz.h (__argz_count_internal)
33613 (__argz_stringify_internal): Remove declaration.
33614 (__argz_count, __argz_stringify): Declare hidden proto.
33615 * intl/dcgettext.c: Remove use of INTDEF.
33616 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33617 * string/argz-stringify.c: Likewise.
33618 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33619 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33620 Declare hidden proto.
33621 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33622 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33623 Declare hidden proto.
33624 * include/stdio.h (__asprintf_internal): Don't declare.
33625 (__asprintf): Don't define as macro. Declare hidden proto.
33626 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33627 (__fsetlocking): Declare hidden proto.
33628 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33629 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33630 hidden proto.
33631 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33632 (_IO_setlinebuf): Remove use of INTUSE.
33633 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33634 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33635 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33636 Remove declaration.
33637 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33638 (_IO_do_flush): Remove use of INTUSE.
33639 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33640 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33641 (_IO_adjust_column, _IO_least_wmarker)
33642 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33643 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33644 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33645 (_IO_default_doallocate, _IO_wdefault_doallocate)
33646 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33647 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33648 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33649 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33650 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33651 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33652 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33653 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33654 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33655 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33656 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33657 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33658 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33659 proto.
33660 (_IO_flush_all_internal, _IO_adjust_column_internal)
33661 (_IO_default_uflow_internal, _IO_default_finish_internal)
33662 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33663 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33664 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33665 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33666 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33667 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33668 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33669 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33670 (_IO_file_close_internal, _IO_file_close_it_internal)
33671 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33672 (_IO_file_init_internal, _IO_file_attach_internal)
33673 (_IO_file_fopen_internal, _IO_file_read_internal)
33674 (_IO_file_sync_internal, _IO_file_seek_internal)
33675 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33676 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33677 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33678 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33679 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33680 (_IO_list_all_internal, _IO_link_in_internal)
33681 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33682 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33683 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33684 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33685 (_IO_do_write_internal, _IO_padn_internal)
33686 (_IO_getline_info_internal, _IO_getline_internal)
33687 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33688 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33689 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33690 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33691 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33692 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33693 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33694 with libc_hidden_ver, remove use of INTUSE.
33695 * libio/genops.c: Likewise.
33696 * libio/freopen.c: Likewise.
33697 * libio/freopen64.c: Likewise.
33698 * libio/iofclose.c: Likewise.
33699 * libio/iofdopen.c: Likewise.
33700 * libio/iofflush.c: Likewise.
33701 * libio/iofflush_u.c: Likewise.
33702 * libio/iofgets.c: Likewise.
33703 * libio/iofgets_u.c: Likewise.
33704 * libio/iofopen.c: Likewise.
33705 * libio/iofopncook.c: Likewise.
33706 * libio/iofread.c: Likewise.
33707 * libio/iofread_u.c: Likewise.
33708 * libio/ioftell.c: Likewise.
33709 * libio/iofwrite.c: Likewise.
33710 * libio/iogetline.c: Likewise.
33711 * libio/iogets.c: Likewise.
33712 * libio/iogetwline.c: Likewise.
33713 * libio/iopadn.c: Likewise.
33714 * libio/iopopen.c: Likewise.
33715 * libio/ioseekoff.c: Likewise.
33716 * libio/ioseekpos.c: Likewise.
33717 * libio/iosetbuffer.c: Likewise.
33718 * libio/iosetvbuf.c: Likewise.
33719 * libio/ioungetc.c: Likewise.
33720 * libio/ioungetwc.c: Likewise.
33721 * libio/iovdprintf.c: Likewise.
33722 * libio/iovsprintf.c: Likewise.
33723 * libio/iovsscanf.c: Likewise.
33724 * libio/memstream.c: Likewise.
33725 * libio/obprintf.c: Likewise.
33726 * libio/oldfileops.c: Likewise.
33727 * libio/oldiofclose.c: Likewise.
33728 * libio/oldiofdopen.c: Likewise.
33729 * libio/oldiofopen.c: Likewise.
33730 * libio/oldiopopen.c: Likewise.
33731 * libio/oldstdfiles.c: Likewise.
33732 * libio/putc.c: Likewise.
33733 * libio/setbuf.c: Likewise.
33734 * libio/setlinebuf.c: Likewise.
33735 * libio/stdfiles.c: Likewise.
33736 * libio/strops.c: Likewise.
33737 * libio/vasprintf.c: Likewise.
33738 * libio/vscanf.c: Likewise.
33739 * libio/vsnprintf.c: Likewise.
33740 * libio/vswprintf.c: Likewise.
33741 * libio/wfiledoalloc.c: Likewise.
33742 * libio/wfileops.c: Likewise.
33743 * libio/wgenops.c: Likewise.
33744 * libio/wmemstream.c: Likewise.
33745 * libio/wstrops.c: Likewise.
33746 * libio/__fpurge.c: Likewise.
33747 * libio/__fsetlocking.c: Likewise.
33748 * assert/assert.c: Likewise.
33749 * debug/fgets_chk.c: Likewise.
33750 * debug/fgets_u_chk.c: Likewise.
33751 * debug/fread_chk.c: Likewise.
33752 * debug/fread_u_chk.c: Likewise.
33753 * debug/gets_chk.c: Likewise.
33754 * debug/obprintf_chk.c: Likewise.
33755 * debug/vasprintf_chk.c: Likewise.
33756 * debug/vdprintf_chk.c: Likewise.
33757 * debug/vsnprintf_chk.c: Likewise.
33758 * debug/vsprintf_chk.c: Likewise.
33759 * malloc/mtrace.c: Likewise.
33760 * misc/error.c: Likewise.
33761 * misc/syslog.c: Likewise.
33762 * stdio-common/asprintf.c: Likewise.
33763 * stdio-common/fxprintf.c: Likewise.
33764 * stdio-common/getw.c: Likewise.
33765 * stdio-common/isoc99_fscanf.c: Likewise.
33766 * stdio-common/isoc99_scanf.c: Likewise.
33767 * stdio-common/isoc99_vfscanf.c: Likewise.
33768 * stdio-common/isoc99_vscanf.c: Likewise.
33769 * stdio-common/isoc99_vsscanf.c: Likewise.
33770 * stdio-common/printf-prs.c: Likewise.
33771 * stdio-common/printf_fp.c: Likewise.
33772 * stdio-common/printf_fphex.c: Likewise.
33773 * stdio-common/printf_size.c: Likewise.
33774 * stdio-common/putw.c: Likewise.
33775 * stdio-common/scanf.c: Likewise.
33776 * stdio-common/sprintf.c: Likewise.
33777 * stdio-common/tmpfile.c: Likewise.
33778 * stdio-common/vfprintf.c: Likewise.
33779 * stdio-common/vfscanf.c: Likewise.
33780 * stdlib/strfmon_l.c: Likewise.
33781 * sunrpc/openchild.c: Likewise.
33782 * sunrpc/xdr_stdio.c: Likewise.
33783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33784 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33785
337862012-05-24 Roland McGrath <roland@hack.frob.com>
33787
33788 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33789
33790 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33791 in the third column, to generate for the shared library an IFUNC
33792 that uses _dl_vdso_vsym.
33793 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33794 * Makeconfig (object-suffixes-noshared): New variable.
33795
33796 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33797 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33798 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33799 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33800
33801 [BZ #14132]
33802 * include/sys/time.h (__gettimeofday): Remove macro.
33803 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33804 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33805 Remove INTDEF.
33806 (__gettimeofday): Add libc_hidden_def.
33807 (gettimeofday): Add libc_hidden_weak.
33808 * sysdeps/mach/gettimeofday.c: Likewise.
33809 * sysdeps/posix/gettimeofday.c: Likewise.
33810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33811 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33813 (__gettimeofday_internal): Remove strong_alias.
33814 (__gettimeofday): Add libc_hidden_def.
33815 (gettimeofday): Add libc_hidden_weak.
33816 * sysdeps/unix/syscalls.list (gettimeofday):
33817 Remove __gettimeofday_internal alias.
33818
338192012-05-24 Daniel Jacobowitz <drow@false.org>
33820 H.J. Lu <hongjiu.lu@intel.com>
33821
33822 [BZ #12495]
33823 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33824 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33825 (largebin_index_32_big): New.
33826 (largebin_index): Use it for 16-byte alignment.
33827 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33828 correction with front_misalign.
33829
338302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33831
33832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33834 Likewise.
33835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33836 Likewise.
33837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33838 Likewise.
33839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33840 Likewise.
33841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33842 Likewise.
33843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33844 Likewise.
33845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33846 Likewise.
33847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33848 Likewise.
33849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33850 Likewise.
33851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33852 Likewise.
33853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33854 Likewise.
33855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33856 Likewise.
33857
33858 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33859 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33860
338612012-05-24 Joseph Myers <joseph@codesourcery.com>
33862
33863 [BZ #10846]
33864 [BZ #14036]
33865 * math/libm-test.inc (exp_test): Add test from bug 14036.
33866 (pow_test): Add test from bug 10846.
33867
33868 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33869 and other flags.
33870 (special_function): Do not include flags in test name.
33871 (parse_args): Likewise.
33872 * sysdeps/i386/fpu/libm-test-ulps: Update.
33873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33874 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33877
33878 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33879 exceptions.
33880 * math/libm-test.inc ("Philosophy"): Update comment about
33881 exception testing.
33882 (UNDERFLOW_EXCEPTION): New macro.
33883 (UNDERFLOW_EXCEPTION_OK): Likewise.
33884 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33885 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33886 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33887 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33888 (INVALID_EXCEPTION_OK): Update value.
33889 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33890 (OVERFLOW_EXCEPTION_OK): Likewise.
33891 (IGNORE_ZERO_INF_SIGN): Likewise.
33892 (test_exceptions): Handle underflow exceptions.
33893 (acos_test): Update for underflow exception expectations.
33894 (cexp_test): Likewise.
33895 (clog_test): Likewise.
33896 (clog10_test): Likewise.
33897 (csqrt_test): Likewise.
33898 (ctan_test): Likewise.
33899 (ctanh_test): Likewise.
33900 (exp_test): Likewise.
33901 (exp10_test): Likewise.
33902 (exp2_test): Likewise.
33903 (expm1_test): Likewise.
33904 (fma_test): Likewise.
33905 (j0_test): Likewise.
33906 (jn_test): Likewise.
33907 (nexttoward_test): Likewise.
33908 (pow_test): Likewise.
33909 (scalbn_test): Likewise.
33910 (scalbln_test): Likewise.
33911 (tan_test): Likewise.
33912 (y1_test): Likewise.
33913 * sysdeps/i386/fpu/libm-test-ulps: Update.
33914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33915
339162012-05-23 David S. Miller <davem@davemloft.net>
33917
33918 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33919 (__libc_sigaction): Remove unused local variables.
33920
339212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33922
33923 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33924
339252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33926
33927 mktime: avoid signed integer overflow
33928 * time/mktime.c (__mktime_internal): Do not mishandle the case
33929 where diff == INT_MIN.
33930
33931 mktime: simplify computation of average
33932 * time/mktime.c (ranged_convert): Use new time_t_avg function
33933 instead of rolling our own (probably-slower) code.
33934
33935 mktime: do not assume signed right shift propagates sign bit
33936 * time/mktime.c (isdst_differ): New static function.
33937 (__mktime_internal): No need to normalize tm_isdst now.
33938 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33939 tm_isdst values.
33940
33941 mktime: merge another wrapv change from gnulib
33942 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33943 from some compilers.
33944
33945 mktime: remove incorrect attempt at unusual arithmetics
33946 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33947 The code didn't really work on such machines anyway.
33948 (TYPE_MINIMUM): Assume two's complement.
33949 (twos_complement_arithmetic): Verify that long_int and time_t
33950 are two's complement (or unsigned, in the latter case).
33951
33952 mktime: check signed shifts on long_int and time_t, too
33953 * time/mktime.c (SHR): Check that shifts work as desired
33954 on the types long_int and time_t too, as SHR is used on
33955 such types.
33956
33957 mktime: do not assume 'long' is wide enough
33958 * time/mktime.c (verify): Move decl up.
33959 (long_int): New type.
33960 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33961 to remove assumption in the code that 'long' is wide enough to
33962 store year values. This assumption is not true on x32 and on
33963 some non-glibc platforms.
33964
33965 mktime: merge wrapv change from gnulib
33966 * time/mktime.c (WRAPV): New macro.
33967 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33968 (guess_time_tm, __mktime_internal): Do not assume that signed
33969 integer overflow wraps around; modern compilers generate code
33970 where this assumption is no longer valid.
33971
339722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33973
33974 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33975 Replace "jmp L(pseudo_end)" with "ret".
33976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33977 Likewise.
33978
339792012-05-23 Andreas Jaeger <aj@suse.de>
33980
33981 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33982 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33983
339842012-05-23 Andreas Jaeger <aj@suse.de>
33985 Maximilian Attems <max@stro.at>
33986
33987 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33988 New macros.
33989
339902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33991
33992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33993 code so that pseudo_end is just ret and the stack pointer is
33994 correct also for static library in error case.
33995
339962012-05-23 Joseph Myers <joseph@codesourcery.com>
33997
33998 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33999 move to syscalls.list.
34000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34004
34005 * manual/install.texi (Running make install): Do not mention Linux
34006 kernel version for which pt_chown is not needed.
34007 (Linux): Do not mention problems with nscd with 2.0 kernels.
34008 * INSTALL: Regenerated.
34009
340102012-05-23 Andreas Jaeger <aj@suse.de>
34011
34012 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34013 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34014 macro.
34015 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34016 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34017 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34018 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34019 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34020 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34022 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34024 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34025 * sysdeps/unix/sysv/linux/bits/in.h
34026 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34027
340282012-05-22 Roland McGrath <roland@hack.frob.com>
34029
34030 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34031 (PREPARE_VERSION): Just use assert instead, it will be elided
34032 under [NDEBUG] anyway.
34033
340342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34035
34036 * sysdeps/unix/sysv/linux/Makefile: Include
34037 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34038 (sysdep_routines): Remove sysctl.
34039 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34040 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34041 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34042 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34043 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34044
340452012-05-22 Andreas Jaeger <aj@suse.de>
34046
34047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34048 that pseudo_end is just ret and the stack pointer is correct also
34049 for static library in error case.
34050
340512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34052
34053 [BZ #14122]
34054 * nss/nsswitch.c (defconfig_entries): New variable.
34055 (__nss_database_lookup): Don't leak defconfig entries.
34056 (nss_parse_service_list): Don't leak on error paths.
34057 (free_database_entries): New function.
34058 (free_defconfig): New function.
34059 (free_mem): Move common code to free_database_entries.
34060
340612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34062
34063 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34064 Add arch_prctl.
34065 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34066
34067 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34068 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34070 New macro.
34071 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34072 (INTERNAL_SYSCALL_TYPES): Likewise.
34073 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34074 (LOAD_REGS_TYPES_[1-6]): Likewise.
34075 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34076 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34077
340782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34079
34080 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34081 copysignl for GLIBC_2_0.
34082 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34083 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34085 logbl for GLIBC_2_0.
34086 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34087 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34088
340892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34090
34091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34092 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34093
34094 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34095 Use "neg %eax".
34096
34097 * time/mktime.c: Update copyright years.
34098
340992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34100
34101 mktime: merge comment-quoting-style change from gnulib
34102 * time/mktime.c: Quote 'like this' in comments.
34103 The GNU coding standards suggest that we no longer quote `like this',
34104 as "`" and "'" are typically rendered asymmetrically nowadays.
34105 The typical gnulib style is to quote 'like this' when quoting
34106 code, and "like this" when quoting English.
34107
34108 * time/mktime.c (compile-command): Add "-I.".
34109
34110 mktime: merge mktime-internal.h change from gnulib
34111 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34112
34113 mktime: merge time_r change from gnulib
34114 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34115
34116 mktime: merge DEBUG change from gnulib
34117 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34118 case system <time.h> has a #define.
34119
34120 mktime: merge <sys/types.h> change from gnulib
34121 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34122 since <time.t> is now guaranteed to define time_t.
34123
34124 mktime: merge HAVE_CONFIG_H change from gnulib
34125 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34126
341272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34128
34129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34130 Use "neg %eax".
34131
34132 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34133 __rlim_t cast.
34134 (struct rusage): Use anonymous union to pad each field to
34135 __syscall_slong_t.
34136
341372012-05-21 David S. Miller <davem@davemloft.net>
34138
34139 * Makefules (o-iterator): Remove .s cases.
34140 (compile-command.s): Delete.
34141 (COMPILE.s): Delete.
34142 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34143
341442012-05-21 Joseph Myers <joseph@codesourcery.com>
34145
34146 * configure.in (libc_cv_predef_stack_protector): Only consider
34147 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34148 * configure: Regenerated.
34149
341502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34151
34152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34153 New macro. Use R*LP on int and pointer.
34154 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34155 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34156 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34157 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34158
34159 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34160 [__WORDSIZE_TIME64_COMPAT32] instead of
34161 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34162 (struct utmp): Likewise.
34163 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34164 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34165 Renamed to ...
34166 (__WORDSIZE_TIME64_COMPAT32): This.
34167 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34168 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34169 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34170 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34171 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34172 (__WORDSIZE_TIME64_COMPAT32): New macro.
34173
341742012-05-21 Andreas Jaeger <aj@suse.de>
34175
34176 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34177 only if [SHARED]. Add prototype for __wcschr_ia32.
34178
341792012-05-21 Roland McGrath <roland@hack.frob.com>
34180
34181 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34182 of %rbp unmolested in the jmp_buf while mangling the low bits.
34183 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34184 unmolested high bits of %rbp while demangling the low bits.
34185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34186
341872012-05-21 Andreas Jaeger <aj@suse.de>
34188
34189 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34190 * sunrpc/svc_simple.c: Use it for registerrpc.
34191 * sunrpc/xcrypt.c: Use it for passwd2des.
34192
34193 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34194
341952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34196
34197 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34198 Don't define if [__SYSCALL_WORDSIZE != 32].
34199 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34200 New macro.
34201
342022012-05-21 Bruno Haible <bruno@clisp.org>
34203 Andreas Jaeger <aj@suse.de>
34204
34205 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34206 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34207 inptr and inend for must_buffer_ch.
34208 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34209 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34210 * stdio-common/Makefile (tests): Remove bug15.
34211 (bug15-ENV): Remove macro.
34212 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34213 anymore.
34214
342152012-05-19 Andreas Jaeger <aj@suse.de>
34216 Roland McGrath <roland@hack.frob.com>
34217
34218 * manual/contrib.texi: Completely rewritten. It contains now an
34219 alphabetical list of contributors and their contributions.
34220
342212012-05-21 Richard Henderson <rth@twiddle.net>
34222
34223 * misc/getauxval.c (__getauxval): Use unsigned long int.
34224 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34225 (getauxval): Use unsigned long int.
34226
342272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34228
34229 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34230
342312012-05-21 Roland McGrath <roland@hack.frob.com>
34232
34233 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34234 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34235 __alignof__ (long double).
34236
342372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34238
34239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34240
342412012-05-20 Richard Henderson <rth@twiddle.net>
34242
34243 * misc/getauxval.c: New file.
34244 * misc/sys/auxv.h: New file.
34245 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34246 (routines): Add getauxval.
34247 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34248 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34249 * elf/dl-sysdep.c (_dl_auxv): Remove.
34250 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34251 * elf/dl-support.c (_dl_auxv): New variable.
34252 (_dl_aux_init): Initialize it.
34253 * manual/startup.texi (Auxiliary Vector): New node.
34254 * sysdeps/generic/bits/hwcap.h: New file.
34255 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34256 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34257 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34258 * sysdeps/sparc/sysdep.h: ... here. Include it.
34259 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34260 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34262 Update.
34263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34271
342722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34273
34274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34275
342762012-05-19 David S. Miller <davem@davemloft.net>
34277
34278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34279
342802012-05-19 Joseph Myers <joseph@codesourcery.com>
34281
34282 [BZ #14123]
34283 * math/s_ccosh.c: Include <float.h>
34284 (__ccosh): Avoid internal overflow calculating sinh and cosh
34285 values before multiplying by sin and cos values.
34286 * math/s_ccoshf.c: Likewise.
34287 * math/s_ccoshl.c: Likewise.
34288 * math/s_csin.c: Likewise.
34289 * math/s_csinf.c: Likewise.
34290 * math/s_csinl.c: Likewise.
34291 * math/s_csinh.c: Likewise.
34292 * math/s_csinhf.c: Likewise.
34293 * math/s_csinhl.c: Likewise.
34294 * math/libm-test.inc (ccos_test): Add more tests.
34295 (ccosh_test): Likewise.
34296 (csin_test): Likewise.
34297 (csinh_test): Likewise.
34298 * sysdeps/i386/fpu/libm-test-ulps: Update.
34299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34300
343012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34302
34303 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34304 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34305
34306 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34307
343082012-05-19 Joseph Myers <joseph@codesourcery.com>
34309
34310 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34311 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34312 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34313 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34314 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34315 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34316 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34317 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34318 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34319 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34320 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34321 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34322 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34323 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34324 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34325 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34326 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34327 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34328 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34329 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34330 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34331 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34332 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34333 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34334 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34335 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34336 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34337 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34338 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34339 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34340 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34341
343422012-05-18 Andreas Jaeger <aj@suse.de>
34343
34344 * csu/.gitignore: Delete.
34345
343462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34347
34348 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34349 (timex): Use __syscall_slong_t.
34350
343512012-05-18 Andreas Jaeger <aj@suse.de>
34352 Carlos O'Donell <carlos_odonell@mentor.com>
34353
34354 * manual/install.texi (Configuring and compiling): Update
34355 description about files modified in the source directory.
34356 * INSTALL: Regenerated.
34357
343582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34359
34360 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34361 value. Use "or" to set return value to -1.
34362 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34363 negate return value.
34364
343652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34366
34367 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34368 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34369 failure if the compiler has Graphite support disabled.
34370 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34371 Likewise.
34372 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34373 (CFLAGS-memmove.c): Likewise.
34374 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34375 Likewise.
34376
343772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34378
34379 * sysdeps/x86_64/x32/_itoa.h: New file.
34380
34381 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34382 getdents system call only if kernel and user dirents have the
34383 same d_ino and d_off.
34384
34385 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34386 LLONG_MAX != LONG_MAX.
34387 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34388 (_fitoa_word): Likewise.
34389
34390 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34391 years.
34392 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34395
34396 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34397 include <bits/wordsize.h>. Check __x86_64__ instead of
34398 __WORDSIZE.
34399 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34400 if __x86_64__ is defined. Use anonymous union on fpstate.
34401
34402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34403 anonymous union.
34404
344052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34406
34407 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34408 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34409 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34410 Refer to _rtld_local_ro instead of _rtld_global_ro.
34411 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34412 Likewise.
34413 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34414 Likewise.
34415 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34416 Likewise.
34417 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34418 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34419 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34420
34421 * sysdeps/powerpc/powerpc32/dl-machine.c
34422 (__elf_machine_runtime_setup) [PROF]: Don't reference
34423 _dl_prof_resolve.
34424
344252012-05-18 Andreas Jaeger <aj@suse.de>
34426
34427 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34428 function only available for GCCs before 3.4 since GCC 3.4
34429 introduced a builtin.
34430 (lrint): Likewise.
34431 (llrintf): Likewise.
34432 (llrint): Likewise.
34433 (fmaxf): Likewise.
34434 (fmax): Likewise.
34435 (fminf): Likewise.
34436 (fmin): Likewise.
34437 (rint): Likewise.
34438 (rintf): Likewise.
34439 (nearbyint): Likewise.
34440 (nearbyintf): Likewise.
34441 (ceil): Likewise.
34442 (ceilf): Likewise.
34443 (floor): Likewise.
34444 (floorf): Likewise.
34445
344462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34447
34448 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34449 on both fields and cast pointer to __syscall_ulong_t.
34450
34451 * bits/types.h (__fsword_t): New type.
34452 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34453 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34455 (__FSWORD_T_TYPE): Likewise.
34456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34457 (__FSWORD_T_TYPE): Likewise.
34458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34459 (__FSWORD_T_TYPE): Likewise.
34460 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34461 (__FSWORD_T_TYPE): Likewise.
34462 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34463 __SWORD_TYPE with __fsword_t.
34464 (statfs64): Likewise.
34465
344662012-05-17 David S. Miller <davem@davemloft.net>
34467
34468 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34469
344702012-05-17 Andreas Jaeger <aj@suse.de>
34471
34472 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34473 warning.
34474
344752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34476
34477 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34478
344792012-05-17 Andreas Jaeger <aj@suse.de>
34480
34481 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34482 when it is used.
34483
344842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34485
34486 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34487
344882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34489
34490 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34491 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34492
344932012-05-17 Andreas Jaeger <aj@suse.de>
34494 Carlos O'Donell <carlos_odonell@mentor.com>
34495
34496 [BZ #14059]
34497 * sysdeps/x86_64/multiarch/init-arch.h
34498 (bit_YMM_Usable): Rename to...
34499 (bit_AVX_Usable): ... this.
34500 (bit_FMA4_Usable): New macro.
34501 (bit_XMM_state): New macro.
34502 (bit_YMM_state): New macro.
34503 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34504 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34505 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34506 (CPUID_OSXSAVE): New macro.
34507 (CPUID_AVX): New macro.
34508 (CPUID_FMA4): New macro.
34509 (index_YMM_Usable): Rename to...
34510 (index_AVX_Usable): ... this.
34511 (HAS_AVX): Use HAS_ARCH_FEATURE.
34512 (HAS_FMA4): Likewise.
34513 (HAS_YMM_USABLE): Remove.
34514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34515 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34516 are present.
34517 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34518 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34519 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34520 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34521 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34522
345232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34524
34525 * math/libm-test.c: Support platforms without multiple rounding modes.
34526 * math/bug-nextafter.c: Support platforms without FP exceptions.
34527 * math/bug-nexttoward.c: Likewise.
34528 * math/test-fenv.c: Likewise.
34529 * math/test-misc.c: Likewise.
34530 * stdlib/bug-getcontext.c: Likewise.
34531
345322012-05-17 Andreas Jaeger <aj@suse.de>
34533
34534 * manual/examples/search.c (critter_cmp): Change signature to
34535 avoid warnings.
34536 * manual/string.texi (Collation Functions): Likewise.
34537
345382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34539
34540 * bits/types.h: Fold copyright years.
34541 * bits/typesizes.h: Likewise.
34542 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34546 * time/time.h: Likewise.
34547
345482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34549
34550 [BZ #208]
34551 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34552 in instead of returning them. Return void.
34553 (__libc_mallinfo): Accumulate over all arenas.
34554 (__malloc_stats): Adjust for change in int_mallinfo interface.
34555
345562012-05-16 Roland McGrath <roland@hack.frob.com>
34557
34558 [BZ #10375]
34559 * configure.in (NM): Add AC_CHECK_TOOL for it.
34560 (libc_extra_cflags): New substituted variable.
34561 Check for -fstack-protector being used implicitly.
34562 * configure: Regenerated.
34563 * config.make.in (config-extra-cflags): New variable,
34564 gets @libc_extra_cflags@.
34565 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34566
34567 [BZ #10375]
34568 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34569 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34570 * configure: Regenerated.
34571 * config.make.in (CPPUNDEFS): New substituted variable.
34572 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34573 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34574 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34575
345762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34577
34578 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34579 (mq_attr): Use __syscall_slong_t.
34580
345812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34582
34583 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34584 Check __x86_64__ instead of __WORDSIZE.
34585 (_STAT_VER_LINUX): Likewise.
34586 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34587 __syscall_ulong_t and __syscall_slong_t.
34588 (stat64): Likewise.
34589
345902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34591
34592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34593
345942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34595
34596 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34597
345982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34599
34600 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34601 __syscall_ulong_t.
34602
34603 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34604 include <bits/wordsize.h>. Check __x86_64__ instead of
34605 __WORDSIZE.
34606 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34607 defined.
34608 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34609
34610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34611 include <bits/wordsize.h>. Check __x86_64__ instead of
34612 __WORDSIZE.
34613 (user_regs_struct): Use "__extension__ unsigned long long"
34614 instead of "unsigned long" if __x86_64__ is defined.
34615 (user): Likewise. Pad after pointer field if __ILP32__ is
34616 defined.
34617
346182012-05-16 Joseph Myers <joseph@codesourcery.com>
34619
34620 * configure.in (makeinfo): Require version 4.5 or later. Allow
34621 versions 5 to 9.
34622 * configure: Regenerated.
34623 * manual/install.texi (texinfo): Increase version requirement to
34624 4.5 or later.
34625 * INSTALL: Regenerated.
34626
34627 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34628
346292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34630
34631 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34632
34633 * sysdeps/x86_64/x32/ffs.c: New file.
34634
34635 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34636 __syscall_ulong_t.
34637 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34638 defined. Use __syscall_ulong_t.
34639 (shminfo): Use __syscall_ulong_t.
34640 (shm_info): Likewise.
34641
34642 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34643 __syscall_ulong_t.
34644
34645 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34646 <bits/wordsize.h>.
34647 (msgqnum_t): Use __syscall_ulong_t.
34648 (msglen_t): Likewise.
34649 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34650 __syscall_ulong_t.
34651
34652 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34653 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34654
34655 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34656
34657 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34658 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34659
34660 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34661 __syscall_slong_t.
34662
34663 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34664 include <bits/wordsize.h>. Check __x86_64__ instead of
34665 __WORDSIZE.
34666
34667 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34668 "unsigned long long int" if __x86_64__ is defined.
34669 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34670
34671 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34672 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34673 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34674
34675 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34676 <stdint.h>.
34677 (GET_PC): Cast to uintptr_t first.
34678 (GET_FRAME): Likewise.
34679 (GET_STACK): Likewise.
34680
34681 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34682 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34687 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34688 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34689 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34690 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34691 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34692 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34693 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34694 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34695 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34697 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34698 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34699 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34700 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34701 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34702 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34703 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34704 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34705 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34709 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34710
347112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34712
34713 * Makerules (+depfiles): Also collect depfiles from .oS in
34714 $(extra-objs).
34715 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34716 .oS, $(libnldbl-routines)).
34717
34718 * Makerules (native-compile-mkdep-flags): Define.
34719 * sunrpc/Makefile (extra-objs): Add $(addprefix
34720 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34721 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34722 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34723 calling $(make-target-directory).
34724
347252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34726
34727 * bits/types.h (__snseconds_t): Removed.
34728 * time/time.h (struct timespec): Replace __snseconds_t with
34729 __syscall_slong_t.
34730 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34731 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34732 Likewise.
34733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34734 (__SNSECONDS_T_TYPE): Likewise.
34735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34736 (__SNSECONDS_T_TYPE): Likewise.
34737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34738 (__SNSECONDS_T_TYPE): Likewise.
34739
347402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34741
34742 * sysdeps/mach/hurd/bits/typesizes.h
34743 (__SYSCALL_SLONG_TYPE): New macro.
34744 (__SYSCALL_ULONG_TYPE): Likewise.
34745
347462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34747
34748 * bits/types.h (__syscall_slong_t): New type.
34749 (__syscall_ulong_t): Likewise.
34750
34751 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34752 (__SYSCALL_ULONG_TYPE): Likewise.
34753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34754 (__SYSCALL_SLONG_TYPE): Likewise.
34755 (__SYSCALL_ULONG_TYPE): Likewise.
34756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34757 (__SYSCALL_SLONG_TYPE): Likewise.
34758 (__SYSCALL_ULONG_TYPE): Likewise.
34759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34760 (__SYSCALL_SLONG_TYPE): Likewise.
34761 (__SYSCALL_ULONG_TYPE): Likewise.
34762
347632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34764
34765 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34766 Add sigaltstack-offsets.sym.
34767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34768 <sigaltstack-offsets.h>.
34769 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34770 longjmp_msg pointer.
34771 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34772 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34773 signal stack.
34774 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34775
347762012-05-15 Joseph Myers <joseph@codesourcery.com>
34777
34778 * elf/stackguard-macros.h: Remove file.
34779 * sysdeps/generic/stackguard-macros.h: New file.
34780 * sysdeps/i386/stackguard-macros.h: Likewise.
34781 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34782 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34783 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34784 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34785 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34786 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34787 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34788 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34789 <elf/stackguard-macros.h>.
34790
34791 [BZ #14109]
34792 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34793 __aligned__ in attribute.
34794 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34795 (gregset_t): Likewise.
34796
347972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34798
34799 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34800 * sysdeps/x86_64/64/Implies-after: Here. New file.
34801 * sysdeps/x86_64/x32/Implies-after: New file.
34802
348032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34804
34805 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34806 and access return value for _dl_profile_fixup. Use R10_LP to
34807 load frame size.
34808
348092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34810
34811 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34812
348132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34814
34815 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34816 * sysdeps/x86_64/x32/sysdep.h: New file.
34817
348182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34819
34820 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34821 * sysdeps/x86_64/setjmp.S: Likewise.
34822
348232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34824
34825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34826 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34827 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34828 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34829 remove unused global constant.
34830
348312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34832
34833 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34834 include of <not-cancel.h>.
34835
348362012-05-15 Roland McGrath <roland@hack.frob.com>
34837
34838 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34839
348402012-05-15 Jeff Law <law@redhat.com>
34841 Andreas Jaeger <aj@suse.de>
34842
34843 [BZ #13594]
34844 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34845 out from...
34846 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34847 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34848 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34849 code changing __hst_map_handle.map.
34850
348512012-05-15 Roland McGrath <roland@hack.frob.com>
34852
34853 * configure.in (sysnames): Look for Implies-before and Implies-after
34854 files.
34855 * configure: Regenerated.
34856
348572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34858
34859 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34860 8-byte data alignment with LP_SIZE alignment.
34861
348622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34863
34864 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34865 into R10_LP.
34866
348672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34868
34869 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34870
348712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34872
34873 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34874 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34876 Likewise.
34877 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34878
348792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34880
34881 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34882 (stackinfo_sub_sp): Likewise.
34883
348842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34885
34886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34887 RAX_LP.
34888
348892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34890
34891 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34892 into R*_LP.
34893
348942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34895
34896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34897 sizes into R*_LP.
34898
348992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34900
34901 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34902
349032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34904
34905 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34906 into R11_LP and load __x86_64_shared_cache_size_half into
34907 R8_LP.
34908
349092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34910
34911 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34912 R8_LP.
34913
349142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34915
34916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34917 logb for POWER7.
34918 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34919 logbf for POWER7.
34920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34921 logbl for POWER7.
34922 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34923 powerpc32/power7/fpu/s_logb.c via #include.
34924 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34925 powerpc32/power7/fpu/s_logbf.c via #include.
34926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34927 powerpc32/power7/fpu/s_logbl.c via #include.
34928
349292012-05-15 Joseph Myers <joseph@codesourcery.com>
34930
34931 * README.libm: Remove file.
34932
349332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34934
34935 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34936 count for x32. Use R*_LP and omit operand-size suffix.
34937
349382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34939
34940 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34941 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34942 * sysdeps/x86_64/x32/shlib-versions: New file.
34943
349442012-05-14 Roland McGrath <roland@hack.frob.com>
34945
34946 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34947 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34948 Use _dl_fatal_printf instead.
34949
349502012-05-14 Joseph Myers <joseph@codesourcery.com>
34951
34952 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34953 set if not set by the user. Do not allow for being unset.
34954 * sysdeps/unix/sysv/linux/configure: Regenerated.
34955
349562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34957
34958 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34959 the `q' suffix from lea and replace .quad with ASM_ADDR.
34960
349612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34962
34963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34964 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34965 instead of $17.
34966 (PTR_DEMANGLE): Likewise.
34967
349682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34969
34970 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34971 (LP_OP): Likewise.
34972 (ASM_ADDR): Likewise.
34973 (RAX_LP): Likewise.
34974 (RBP_LP): Likewise.
34975 (RBX_LP): Likewise.
34976 (RCX_LP): Likewise.
34977 (RDI_LP): Likewise.
34978 (RSI_LP): Likewise.
34979 (RSP_LP): Likewise.
34980 (R8_LP): Likewise.
34981 (R9_LP): Likewise.
34982 (R10_LP): Likewise.
34983 (R10_LP): Likewise.
34984 (R11_LP): Likewise.
34985 (R12_LP): Likewise.
34986 (R13_LP): Likewise.
34987 (R14_LP): Likewise.
34988 (R15_LP): Likewise.
34989
349902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34991
34992 * sysdeps/x86_64/x32/dl-machine.h: New file.
34993
349942012-05-14 Andreas Jaeger <aj@suse.de>
34995
34996 * manual/Makefile (subdir): Remove export of subdir.
34997 (all): Remove target.
34998 (.PHONY): Remove all from list.
34999 (mkinstalldirs): Remove.
35000 (.PHONY): Remove installdirs from list.
35001 ($(inst_infodir)/libc.info): Use make-target-directory.
35002 (installdirs): Remove.
35003 (subdir_%): Remove.
35004 (glibc-targets): Remove.
35005 (lib): Remove.
35006 (stubs): Remove.
35007 ($(objpfx)stubs ../po/manual.pot): Remove.
35008 ($(objpfx)stamp%): Remove.
35009 (make-target-directory): Remove.
35010 (subdir_install): Remove.
35011 (routines): Remove.
35012 (aux): Remove.
35013 (sources): Remove.
35014 (objects): Remove.
35015 (headers): Remove.
35016
35017 [BZ #13750]
35018 * manual/.gitignore: Remove, it's not needed anymore.
35019 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35020 all files in it.
35021 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35022 directory.
35023 (texis): Renamed to $(objpfx)texis.
35024 (texis-path): New, contains path to generated files.
35025 (chapters.%): Use texis-path for complete path, add extra argument
35026 libc-texinfo.sh.
35027 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35028 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35029 (summary,texi, stamp-summary): Use complete path of
35030 files. Generate files in build dir.
35031 (dir-add.texi): Build in build dir.
35032 (libm-err.texi,stamp-libm-err): Likewise.
35033 (version.texi, stamp-version): Likewise.
35034 (.%c.texi): Likewise.
35035 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35036 (mostlyclean): Remove target.
35037 (realclean): Remove target.
35038 (generated): Add new variable with contents from mostlyclean and
35039 realclean, remove entries duplicated in common-mostlyclean, add
35040 stamp-libm-err and stamp-version.
35041 (generated-dirs): Add libc directory.
35042 ($(inst_infodir)/libc.info): Install files from build dir.
35043
35044 * manual/install.texi (Configuring and compiling): Adjust since
35045 the info files are not part of the tar ball anymore.
35046
350472012-05-14 Andreas Jaeger <aj@suse.de>
35048
35049 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35050 variable.
35051
350522012-05-14 Joseph Myers <joseph@codesourcery.com>
35053
35054 [BZ #13717]
35055 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35056 to 2.2.0 where earlier.
35057 * sysdeps/unix/sysv/linux/configure: Regenerated.
35058 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35059 Remove conditional code.
35060 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35061 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35062 Remove conditional code.
35063 [!__NR_lchown]: Likewise.
35064 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35065 [__NR_lchown]: Likewise.
35066 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35067 comment referencing __ASSUME_LCHOWN_SYSCALL.
35068 * sysdeps/unix/sysv/linux/i386/sigaction.c
35069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35071 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35072 Remove conditional code.
35073 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35074 (__protocol_available): Remove #if 0 code.
35075 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35076 conditional code.
35077 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35078 * sysdeps/unix/sysv/linux/kernel-features.h
35079 (__ASSUME_GETCWD_SYSCALL): Don't define.
35080 (__ASSUME_REALTIME_SIGNALS): Likewise.
35081 (__ASSUME_PREAD_SYSCALL): Likewise.
35082 (__ASSUME_PWRITE_SYSCALL): Likewise.
35083 (__ASSUME_POLL_SYSCALL): Likewise.
35084 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35085 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35086 non-SPARC.
35087 (__ASSUME_SIOCGIFNAME): Don't define.
35088 (__ASSUME_MSG_NOSIGNAL): Likewise.
35089 (__ASSUME_SENDFILE): Define unconditionally.
35090 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35091 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35092 conditional code.
35093 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35094 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35095 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35096 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35097 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35098 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35099 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35101 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35107 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35108 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35116 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35122 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35124 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35125 Remove conditional code.
35126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35127 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35128 Remove conditional code.
35129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35130 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35131 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35132 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35133 Remove conditional code.
35134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35135 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35136 Remove conditional code.
35137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35138 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35139 Remove conditional code.
35140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35141 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35142 Remove conditional code.
35143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35144 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35145 Remove conditional code.
35146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35147 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35150 * sysdeps/unix/sysv/linux/sigaction.c
35151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35153 * sysdeps/unix/sysv/linux/sigpending.c
35154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35156 * sysdeps/unix/sysv/linux/sigprocmask.c
35157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35159 * sysdeps/unix/sysv/linux/sigsuspend.c
35160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35163 (__libc_missing_rt_sigs): Remove.
35164 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35165 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35166 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35167 Remove conditional code.
35168 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35169 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35170 return 1.
35171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35172 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35174 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35175
351762012-05-14 Andreas Jaeger <aj@suse.de>
35177
35178 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35179 it's not used in glibc.
35180 (__coshm1): Likewise.
35181 (__acosh1p): Likewise.
35182 (__sgn): Likewise.
35183
35184 * manual/string.texi (Copying and Concatenation): Add missing
35185 variable in concat example.
35186 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35187
351882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35189
35190 [BZ #14103]
35191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35192 __builtin_clzl with __builtin_clzll.
35193
351942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35195
35196 [BZ #14104]
35197 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35198 libc_freeres_ptr.
35199
352002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35201
35202 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35203 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35204 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35205 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35206
352072012-05-14 Mike Frysinger <vapier@gentoo.org>
35208
35209 * NEWS: Update ia64 info.
35210
352112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35212
35213 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35214 used as bcopy.
35215
352162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35217
35218 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35219 * sysdeps/unix/syscalls.list (dup3): Likewise.
35220 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35221 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35222
352232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35224
35225 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35226 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35227
352282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35229
35230 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35231 thread pointer.
35232 (TLS_IE): Use mov/add instead of movq/addq to load thread
35233 pointer.
35234 (TLS_GD_PREFIX): New.
35235 (TLS_GD): Use it.
35236
352372012-05-11 David S. Miller <davem@davemloft.net>
35238
35239 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35240 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35241 (_FPU_SETCW): Likewise.
35242
352432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35244
35245 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35246 is 32-byte aligned.
35247
352482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35249
35250 [BZ #11837]
35251 * iconvdata/gb18030.c: Update tables.
35252 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35253 characters specially.
35254 (BODY for TO_LOOP): Add encoding of missing ranges.
35255
352562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35257
35258 [BZ #13673]
35259 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35260 * sysdeps/mach/hurd/dup3.c: Likewise.
35261 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35262 * sysdeps/powerpc/memmove.c:: Likewise.
35263
352642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35265
35266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35267 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35268
352692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35270
35271 * elf/elf.h (R_X86_64_RELATIVE64): New.
35272 (R_X86_64_NUM): Updated.
35273 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35274 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35275 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35276 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35277 tst-quad1pie tst-quad2pie
35278 (modules-names): Add tst-quadmod1 tst-quadmod2.
35279 ($(objpfx)tst-quad1): New dependency.
35280 ($(objpfx)tst-quad2): Likewise.
35281 ($(objpfx)tst-quad1pie): Likewise.
35282 ($(objpfx)tst-quad2pie): Likewise.
35283 * sysdeps/x86_64/tst-quad1.c: New file.
35284 * sysdeps/x86_64/tst-quad1pie.c: New file.
35285 * sysdeps/x86_64/tst-quad2.c: Likewise.
35286 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35287 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35288 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35289 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35290 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35291
352922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35293
35294 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35295 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35296 * streams/stropts.h (t_scalar_t): Define type.
35297
35298 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35299 (_PATH_PRESERVE): Set to "/var/lib".
35300 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35301
35302 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35303 instead of int.
35304
35305 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35306 if __dir_mkfile succeeded.
35307
35308 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35309 checking for _hurd_dtablesize. Unlock it right after having
35310 finished _hurd_dtable allocation.
35311
353122012-05-10 Thomas Schwinge <thomas@schwinge.name>
35313
35314 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35315 * sysdeps/mach/hurd/configure: Regenerated.
35316 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35317 special-casing to...
35318 * sysdeps/gnu/configure.in: ... this new file.
35319 * sysdeps/unix/sysv/linux/configure: Regenerated.
35320 * sysdeps/gnu/configure: New generated file.
35321
35322 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35323 for Linux: use nsec instead of usec, as well as:
35324 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35325 members of type struct timespec.
35326 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35327 New macros.
35328 (struct stat64): Likewise.
35329 (_STATBUF_ST_NSEC): New macro.
35330 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35331
35332 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35333 __strtoul_internal rather than strtoul.
35334
353352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35336
35337 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35338 and reject them.
35339
353402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35341
35342 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35343 which preserves existing values.
35344 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35345
353462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35347
35348 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35349 TIMEOUT values. Return EINVAL for NFDS values either negative or
35350 greater than FD_SETSIZE.
35351
353522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35353
35354 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35355 allocated, call __vm_protect to finish enabling the existing space, and
35356 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35357 allocate the remainder.
35358
353592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35360
35361 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35362 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35363
353642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35365
35366 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35367 sysdeps/mach/hurd/readlink.c.
35368
35369 * posix/tst-sysconf.c (posix_options): Only use
35370 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35371 _POSIX_SYNCHRONIZED_IO when they are defined
35372 * sysdeps/mach/hurd/bits/posix_opt.h:
35373 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35374 (_XOPEN_REALTIME): Undefine macro.
35375 (_XOPEN_REALTIME_THREADS): Undefine macro.
35376 (_XOPEN_SHM): Undefine macro.
35377 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35378 macro to -1.
35379 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35380 macro to -1.
35381 (_POSIX_ASYNC_IO): Undefine macro.
35382 (_POSIX_PRIORITIZED_IO): Undefine macro.
35383 (_POSIX_SPIN_LOCKS): Define macro to -1.
35384
35385 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35386 SA_NODEFER, SA_RESETHAND.
35387 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35388 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35389 F_DUPFD_CLOEXEC.
35390
353912012-05-10 Thomas Schwinge <thomas@schwinge.name>
35392
35393 * elf/Makefile (pldd-modules): Define unconditionally.
35394
353952012-05-10 Thomas Schwinge <thomas@schwinge.name>
35396
35397 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35398
353992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35400
35401 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35402 Return ENOENT when name is empty.
35403 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35404
354052012-05-10 Thomas Schwinge <thomas@schwinge.name>
35406
35407 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35408
35409 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35410
354112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35412
35413 Fix mlock in all cases except non-readable pages.
35414 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35415 instead of VM_PROT_ALL as parameter to __vm_wire function.
35416
35417 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35418 (__mkdir): When path is `/', just fail with EEXIST.
35419 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35420
354212012-05-10 Thomas Schwinge <thomas@schwinge.name>
35422
35423 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35424 <sys/uio.h> (for writev).
35425 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35426 and <sys/param.h> (for MIN).
35427
354282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35429
35430 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35431 REQUESTED_TIME. Properly set the remaining time and return EINTR
35432 if interrupted.
35433
354342012-05-10 Thomas Schwinge <thomas@schwinge.name>
35435
35436 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35437 Depend on against $(link-rpcuserlibs).
35438
354392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35440
35441 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35442 (__libc_stack_end): Do not use attribute_relro.
35443 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35444 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35445 to libthread-provided value.
35446 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35447 attribute_relro.
35448
354492012-05-10 Thomas Schwinge <thomas@schwinge.name>
35450
35451 [BZ #3748]
35452 * bits/libc-lock.h (__libc_once_get): New macro.
35453 * sysdeps/mach/bits/libc-lock.h: Likewise.
35454 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35456 instead of using implementation details.
35457
35458 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35459 * libio/freopen.c: Likewise.
35460 * libio/freopen64.c: Likewise.
35461 * misc/syslog.c: Likewise.
35462 * nscd/connections.c: Likewise.
35463 * nscd/netgroupcache.c: Likewise.
35464 * sysdeps/posix/getcwd.c: Likewise.
35465
354662012-05-10 Roland McGrath <roland@hack.frob.com>
35467
35468 * math/w_ilogbf.c: Add #include <limits.h>.
35469
354702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35471
35472 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35473 path instead of returning without unlocking.
35474
35475 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35476 immediate-write ioctls.
35477 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35478
354792012-05-10 Thomas Schwinge <thomas@schwinge.name>
35480
35481 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35482 __builtin_frame_address instead of making assumptions about the
35483 location of the return address relative to DATA. Force early load of
35484 the return address.
35485 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35486 __builtin_frame_address.
35487
35488 dup3 for GNU Hurd.
35489 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35490 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35491 implement dup3 and do some further code clean-ups.
35492 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35493 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35494
354952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35496
35497 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35498
35499 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35500 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35501 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35502 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35503 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35504 d->port.lock.
35505
35506 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35507 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35508 when handler == SIG_ERR, not when handler != SIG_ERR.
35509
355102012-05-10 Thomas Schwinge <thomas@schwinge.name>
35511
35512 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35513 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35514 definitions.
35515
35516 accept4 for GNU Hurd.
35517 * include/sys/socket.h (__libc_accept4): New prototype.
35518 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35519 to implement __libc_accept4.
35520 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35521 __libc_accept4.
35522 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35523
35524 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35525 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35526 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35527 signal-defines.sym.
35528
355292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35530
35531 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35532
355332012-05-10 Thomas Schwinge <thomas@schwinge.name>
35534
35535 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35536 assertion on O_CLOEXEC flag.
35537 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35538 * hurd/intern-fd.c: Likewise.
35539 * hurd/port2fd.c: Likewise.
35540
355412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35542
35543 [BZ #3906]
35544 * bits/in.h (IPV6_PKTINFO): Define new macro.
35545 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35546
355472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35548
35549 [BZ #13954]
35550 [BZ #13955]
35551 [BZ #13956]
35552 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35554 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35555 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35557 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35558 * math/libm-test.inc (logb_test) : Additional logb tests.
35559
355602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35561 Andreas Jaeger <aj@suse.de>
35562
35563 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35564 * configure: Regenerated.
35565 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35566 * config.make.in (link-obsolete-rpc): New substituted variable.
35567 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35568 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35569 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35570 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35571 so that libc.a contains the symbols.
35572 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35573 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35574 * sunrpc/auth_none.c: Likewise.
35575 * sunrpc/auth_unix.c: Likewise.
35576 * sunrpc/authdes_prot.c: Likewise.
35577 * sunrpc/authuxprot.c: Likewise.
35578 * sunrpc/clnt_gen.c: Likewise.
35579 * sunrpc/clnt_perr.c: Likewise.
35580 * sunrpc/clnt_raw.c: Likewise.
35581 * sunrpc/clnt_simp.c: Likewise.
35582 * sunrpc/clnt_tcp.c: Likewise.
35583 * sunrpc/clnt_udp.c: Likewise.
35584 * sunrpc/clnt_unix.c: Likewise.
35585 * sunrpc/des_crypt.c: Likewise.
35586 * sunrpc/des_soft.c: Likewise.
35587 * sunrpc/get_myaddr.c: Likewise.
35588 * sunrpc/key_call.c: Likewise.
35589 * sunrpc/key_prot.c: Likewise.
35590 * sunrpc/netname.c: Likewise.
35591 * sunrpc/pm_getmaps.c: Likewise.
35592 * sunrpc/pm_getport.c: Likewise.
35593 * sunrpc/pmap_clnt.c: Likewise.
35594 * sunrpc/pmap_prot.c: Likewise.
35595 * sunrpc/pmap_prot2.c: Likewise.
35596 * sunrpc/pmap_rmt.c: Likewise.
35597 * sunrpc/publickey.c: Likewise.
35598 * sunrpc/rpc_cmsg.c: Likewise.
35599 * sunrpc/rpc_common.c: Likewise.
35600 * sunrpc/rpc_dtable.c: Likewise.
35601 * sunrpc/rpc_prot.c: Likewise.
35602 * sunrpc/rpc_thread.c: Likewise.
35603 * sunrpc/rtime.c: Likewise.
35604 * sunrpc/svc.c: Likewise.
35605 * sunrpc/svc_auth.c: Likewise.
35606 * sunrpc/svc_raw.c: Likewise.
35607 * sunrpc/svc_run.c: Likewise.
35608 * sunrpc/svc_tcp.c: Likewise.
35609 * sunrpc/svc_udp.c: Likewise.
35610 * sunrpc/svc_unix.c: Likewise.
35611 * sunrpc/svcauth_des.c: Likewise.
35612 * sunrpc/xcrypt.c: Likewise.
35613 * sunrpc/xdr.c: Likewise.
35614 * sunrpc/xdr_array.c: Likewise.
35615 * sunrpc/xdr_float.c: Likewise.
35616 * sunrpc/xdr_intXX_t.c: Likewise.
35617 * sunrpc/xdr_mem.c: Likewise.
35618 * sunrpc/xdr_rec.c: Likewise.
35619 * sunrpc/xdr_ref.c: Likewise.
35620 * sunrpc/xdr_sizeof.c: Likewise.
35621 * sunrpc/xdr_stdio.c: Likewise.
35622
356232012-05-10 Roland McGrath <roland@hack.frob.com>
35624
35625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35626 change. Update copyright years.
35627
356282012-05-10 Joseph Myers <joseph@codesourcery.com>
35629
35630 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35631
356322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35633 Joseph Myers <joseph@codesourcery.com>
35634 Paul Pluzhnikov <ppluzhnikov@google.com>
35635
35636 [BZ #14012]
35637 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35638 requiring rpcgen.
35639 [cross-compiling] (extra-libs): Likewise.
35640 [cross-compiling] (extra-libs-others): Likewise.
35641 [cross-compiling] (librpcsvc-routines): Likewise.
35642 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35643 [cross-compiling] (omit-deps): Likewise.
35644 (sunrpc-CPPFLAGS): New variable.
35645 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35646 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35647 (cross-rpcgen-objs): New variable.
35648 (extra-objs): Append $(cross-rpcgen-objs).
35649 ($(cross-rpcgen-objs)): New rule.
35650 ($(objpfx)cross-rpcgen): Likewise.
35651 (rpcgen-cmd): Define to use $(built-program-file). Expand
35652 comment.
35653 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35654 ($(objpfx)x%.stmp): Likewise.
35655 * sunrpc/proto.h [IS_IN_build] (_): Define.
35656 [IS_IN_build] (_libc_intl_domainname): Likewise.
35657
356582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35659
35660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35661 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35662 and R_X86_64_TPOFF64.
35663
356642012-05-10 Joseph Myers <joseph@codesourcery.com>
35665
35666 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35667 sysdeps/unix/sysv/syscalls.list.
35668 (stime): Likewise.
35669 (utime): Likewise.
35670 * sysdeps/unix/sysv/syscalls.list: Remove file.
35671
356722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35673
35674 [BZ #3440]
35675 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35676 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35677 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35678 (__LC_IDENTIFICATION): Make these macros useful in #if
35679 expressions, as required by C99.
35680
356812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35682
35683 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35684 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35685 after this.
35686
356872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35688
35689 * stdlib/longlong.h: Updated from GCC.
35690
356912012-05-09 Andreas Jaeger <aj@suse.de>
35692
35693 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35694 default is first entry.
35695 (run_mode): Set type.
35696 (main): Remove informal message about syslog.
35697 (options): Fix typo.
35698
35699 [BZ #14053]
35700 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35701 to asm.
35702 (lrint): Likewise.
35703 (llrintf): Likewise.
35704 (llrint): Likewise.
35705 (rint): Likewise.
35706 (rintf): Likewise.
35707 (nearbyint): Likewise.
35708 (nearbyintf): Likewise.
35709
357102012-05-09 Andreas Jaeger <aj@suse.de>
35711 Pedro Alves <palves@redhat.com>
35712
35713 * nscd/nscd.c (run_mode): Use enum.
35714 (main): Cleanup coding style issue.
35715
357162012-05-09 Alexandre Oliva <aoliva@redhat.com>
35717 Andreas Jaeger <aj@suse.de>
35718
35719 * nscd/nscd.c (go_background): Replaced with...
35720 (run_mode): ... this.
35721 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35722 (options): Add -F --foreground.
35723 (main): Implement it.
35724 (parse_opt): Parse it.
35725
357262012-05-09 Andreas Jaeger <aj@suse.de>
35727
35728 [BZ #14083]
35729 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35730 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35731 -Wconversion warning.
35732 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35733 Likewise.
35734
357352012-05-09 Joseph Myers <joseph@codesourcery.com>
35736
35737 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35738 == 0.
35739 (LC_ALL): Use macro-int-constant.
35740 (LC_COLLATE): Likewise.
35741 (LC_CTYPE): Likewise.
35742 (LC_MESSAGES): Likewise.
35743 (LC_MONETARY): Likewise.
35744 (LC_NUMERIC): Likewise.
35745 (LC_TIME): Likewise.
35746 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35747 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35748 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35749 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35750 Specify type.
35751 [C99-based standards] (float_t): Expect type.
35752 [C99-based standards] (double_t): Expect type.
35753 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35754 type.
35755 [C99-based standards] (HUGE_VALL): Likewise.
35756 [C99-based standards] (INFINITY): Likewise.
35757 [C99-based standards] (NAN): Likewise.
35758 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35759 [C99-based standards] (FP_NAN): Likewise.
35760 [C99-based standards] (FP_NORMAL): Likewise.
35761 [C99-based standards] (FP_SUBNORMAL): Likewise.
35762 [C99-based standards] (FP_ZERO): Likewise.
35763 [C99-based standards] (FP_FAST_FMA): Use
35764 optional-macro-int-constant. Specify type. Require == 1.
35765 [C99-based standards] (FP_FAST_FMAF): Likewise.
35766 [C99-based standards] (FP_FAST_FMAL): Likewise.
35767 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35768 [C99-based standards] (FP_ILOGBNAN): Likewise.
35769 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35770 Specify type.
35771 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35772 [C99-based standards] (math_errhandling): Specify type.
35773 [ISO99 || ISO11] (signgam): Do not allow.
35774 [non-C99-based standards] (copysignf): Do not allow.
35775 [non-C99-based standards] (exp2f): Likewise.
35776 [non-C99-based standards] (log2f): Likewise.
35777 [non-C99-based standards] (modff): Allow.
35778 [non-C99-based standards] (erff): Do not allow.
35779 [non-C99-based standards] (erfcf): Likewise.
35780 [non-C99-based standards] (gammaf): Likewise.
35781 [non-C99-based standards] (hypotf): Likewise.
35782 [non-C99-based standards] (j0f): Likewise.
35783 [non-C99-based standards] (j1f): Likewise.
35784 [non-C99-based standards] (jnf): Likewise.
35785 [non-C99-based standards] (lgammaf): Likewise.
35786 [non-C99-based standards] (tgammaf): Likewise.
35787 [non-C99-based standards] (y0f): Likewise.
35788 [non-C99-based standards] (y1f): Likewise.
35789 [non-C99-based standards] (ynf): Likewise.
35790 [non-C99-based standards] (isnanf): Likewise.
35791 [non-C99-based standards] (acoshf): Likewise.
35792 [non-C99-based standards] (asinhf): Likewise.
35793 [non-C99-based standards] (atanhf): Likewise.
35794 [non-C99-based standards] (cbrtf): Likewise.
35795 [non-C99-based standards] (expm1f): Likewise.
35796 [non-C99-based standards] (ilogbf): Likewise.
35797 [non-C99-based standards] (log1pf): Likewise.
35798 [non-C99-based standards] (logbf): Likewise.
35799 [non-C99-based standards] (nextafterf): Likewise.
35800 [non-C99-based standards] (remainderf): Likewise.
35801 [non-C99-based standards] (rintf): Likewise.
35802 [non-C99-based standards] (scalbf): Likewise.
35803 [non-C99-based standards] (copysignl): Likewise.
35804 [non-C99-based standards] (exp2l): Likewise.
35805 [non-C99-based standards] (log2l): Likewise.
35806 [non-C99-based standards] (modfl): Allow.
35807 [non-C99-based standards] (erfl): Do not allow.
35808 [non-C99-based standards] (erfcl): Likewise.
35809 [non-C99-based standards] (gammal): Likewise.
35810 [non-C99-based standards] (hypotl): Likewise.
35811 [non-C99-based standards] (j0l): Likewise.
35812 [non-C99-based standards] (j1l): Likewise.
35813 [non-C99-based standards] (jnl): Likewise.
35814 [non-C99-based standards] (lgammal): Likewise.
35815 [non-C99-based standards] (tgammal): Likewise.
35816 [non-C99-based standards] (y0l): Likewise.
35817 [non-C99-based standards] (y1l): Likewise.
35818 [non-C99-based standards] (ynl): Likewise.
35819 [non-C99-based standards] (isnanl): Likewise.
35820 [non-C99-based standards] (acoshl): Likewise.
35821 [non-C99-based standards] (asinhl): Likewise.
35822 [non-C99-based standards] (atanhl): Likewise.
35823 [non-C99-based standards] (cbrtl): Likewise.
35824 [non-C99-based standards] (expm1l): Likewise.
35825 [non-C99-based standards] (ilogbl): Likewise.
35826 [non-C99-based standards] (log1pl): Likewise.
35827 [non-C99-based standards] (logbl): Likewise.
35828 [non-C99-based standards] (nextafterl): Likewise.
35829 [non-C99-based standards] (remainderl): Likewise.
35830 [non-C99-based standards] (rintl): Likewise.
35831 [non-C99-based standards] (scalbl): Likewise.
35832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35833 [non-C99-based standards] (FP_*): Do not allow.
35834 [C99-based standards] (FP_*): Change to
35835 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35836 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35837 allow.
35838 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35839 (SIG_ERR): Likewise.
35840 [X/Open-based standards] (SIG_HOLD): Likewise.
35841 (SIG_IGN): Likewise.
35842 (SIGABRT): Use macro-int-constant. Specify type. Require
35843 positive value.
35844 (SIGFPE): Likewise.
35845 (SIGILL): Likewise.
35846 (SIGINT): Likewise.
35847 (SIGSEGV): Likewise.
35848 (SIGTER): Likewise.
35849 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35850 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35851 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35852 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35853 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35854 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35855 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35856 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35857 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35859 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35860 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35861 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35862 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35863 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35864 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35865 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35866 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35867 [X/Open-based standards] (SIGTRAP): Likewise.
35868 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35869 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35870 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35871 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35872 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35873 allow.
35874
358752012-05-08 Ian Wienand <ianw@vmware.com>
35876
35877 [BZ #14080]
35878 * time/tzset.c (__tzset_parse_tz): Update default rules for
35879 daylight time changes in the Energy Policy Act of 2005.
35880
358812012-05-09 Andreas Jaeger <aj@suse.de>
35882
35883 [BZ #13983]
35884 * elf/ldconfig.c (parse_conf): Change string to make clear that
35885 ldconfig only issued a warning if ld.so.conf does not exist.
35886
358872012-05-08 David S. Miller <davem@davemloft.net>
35888
35889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35890 movxtod instead of popping the value on the stack.
35891
35892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35893
358942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35895
35896 * config.h.in: Add HAVE_ARM_PCS_VFP.
35897
358982012-05-08 Roland Mc Grath <roland@hack.frob.com>
35899
35900 [BZ #13979]
35901 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35902 checking but the checks are disabled for any reason.
35903
359042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35905
35906 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35907 and ELF64_R_TYPE with ELFW(R_TYPE).
35908
359092012-05-08 Joseph Myers <joseph@codesourcery.com>
35910
35911 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35912 (ulimit): Likewise.
35913
35914 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35915 (settimeofday): Likewise.
35916
359172012-05-08 Mike Frysinger <vapier@gentoo.org>
35918
35919 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35920 a struct th_u2 inside the union, and move tu_block/tu_code into
35921 a new th_u3 union of tu_block/tu_code inside of that. Move
35922 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35923 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35924 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35925 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35926 (th_stuff): Change to th_u1.tu_stuff.
35927 (th_data): Define.
35928 (th_msg): Change to th_u1.th_u2.tu_data.
35929
359302012-05-07 David S. Miller <davem@davemloft.net>
35931
35932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35933
35934 [BZ #14074]
35935 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35936 (SETUP_PIC_REG): Use it.
35937 (SETUP_PIC_REG_LEAF): Use it.
35938
359392012-05-07 Joseph Myers <joseph@codesourcery.com>
35940
35941 [BZ #13885]
35942 [BZ #13923]
35943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35944 USE_AS_EXPM1L.
35945 (EXPL_FINITE): Likewise.
35946 (FLDLOG): Likewise.
35947 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35948 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35949 e_expl.S.
35950 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35951 USE_AS_EXPM1L.
35952 (EXPL_FINITE): Likewise.
35953 (FLDLOG): Likewise.
35954 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35955 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35956 e_expl.S.
35957 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35958 test of -max_value argument for long double.
35959 * sysdeps/i386/fpu/libm-test-ulps: Update.
35960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35961
359622012-05-06 David S. Miller <davem@davemloft.net>
35963
35964 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35965 quad soft-float symbols whose references which are compiler
35966 generated.
35967 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35968
359692012-05-06 Joseph Myers <joseph@codesourcery.com>
35970
35971 [BZ #13884]
35972 [BZ #13914]
35973 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35974 USE_AS_EXP10L.
35975 (EXPL_FINITE): Likewise.
35976 (FLDLOG): Likewise.
35977 (c0): Likewise.
35978 (c1): Likewise.
35979 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35980 Adjust comments for base varying.
35981 (__expl_finite): Change alias to EXPL_FINITE.
35982 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35983 e_expl.S.
35984 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35985 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35986 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35987 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35989 USE_AS_EXP10L.
35990 (EXPL_FINITE): Likewise.
35991 (FLDLOG): Likewise.
35992 (c0): Likewise.
35993 (c1): Likewise.
35994 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35995 Adjust comments for base varying.
35996 (__expl_finite): Change alias to EXPL_FINITE.
35997 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35998 tests for bugs.
35999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36000
36001 [BZ #14064]
36002 * math/libm-test.inc (check_float_internal): Correct ulp
36003 calculation for subnormal expected results.
36004
360052012-05-06 Andreas Jaeger <aj@suse.de>
36006
36007 * Makeconfig (+math-flags): New, set to -frounding-math.
36008 (+cflags): Add +math-flags so that all of glibc gets compiled with
36009 it.
36010
36011 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36012
360132012-05-05 Joseph Myers <joseph@codesourcery.com>
36014
36015 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36016 Disable one test.
36017
36018 [BZ #13787]
36019 [BZ #13922]
36020 [BZ #14036]
36021 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36022 (__ieee754_expl): Allow for and saturate large arguments.
36023 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36024 (u_threshold): Likewise.
36025 (__exp): Call __ieee754_exp before checking for overflow and
36026 underflow.
36027 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36028 (u_threshold): Likewise.
36029 (__expf): Call __ieee754_expf before checking for overflow and
36030 underflow.
36031 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36032 (u_threshold): Likewise.
36033 (__expl): Call __ieee754_expl before checking for overflow and
36034 underflow.
36035 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36036 (__ieee754_expl): Allow for and saturate large arguments.
36037 * math/libm-test.inc (exp_test): Add another test. Do not allow
36038 missing overflow exception on overflow.
36039 (expm1_test): Do not allow missing overflow exception on overflow.
36040
36041 * sysdeps/i386/fpu/e_expl.c: Move to ...
36042 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36043 rather than using inline asm.
36044 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36045 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36046 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36047
36048 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36049 (nice): Likewise.
36050 (poll): Likewise.
36051 (signal): Likewise.
36052 (time): Likewise.
36053 (times): Likewise.
36054
360552012-05-04 Joseph Myers <joseph@codesourcery.com>
36056
36057 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36058 sysdeps/unix/common/syscalls.list.
36059 (fchmod): Likewise.
36060 (fchown): Likewise.
36061 (ftruncate): Likewise.
36062 (getrusage): Likewise.
36063 (gettimeofday): Likewise.
36064 (setpgid): Likewise.
36065 (setregid): Likewise.
36066 (setreuid): Likewise.
36067 (sigaction): Likewise.
36068 (truncate): Likewise.
36069 (vhangup): Likewise.
36070 * sysdeps/unix/common/syscalls.list: Remove file.
36071 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36072 * sysdeps/unix/sysv/linux/Implies: Likewise.
36073
360742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36075
36076 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36078 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36079 Moved to ...
36080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36081 Here.
36082 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36083 to ...
36084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36085 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36086 to ...
36087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36088 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36089 to ...
36090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36091 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36092 to ...
36093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36094 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36095 to ...
36096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36097 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36098 to ...
36099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36100 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36101 to ...
36102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36103 Here.
36104 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36105 to ...
36106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36107 Here.
36108 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36109 to ...
36110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36111 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36112 Moved to ...
36113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36114 Here.
36115 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36116 to ...
36117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36118
361192012-05-04 Joseph Myers <joseph@codesourcery.com>
36120
36121 * sysdeps/unix/common/bits/dirent.h: Remove file.
36122 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36123
36124 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36125 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36126 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36127 * sysdeps/unix/bsd/isatty.c: Likewise.
36128 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36129 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36130 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36131
361322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36133
36134 [BZ #13563]
36135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36136 long double comparison inaccuracies.
36137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36139
361402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36141
36142 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36144
361452012-05-04 Joseph Myers <joseph@codesourcery.com>
36146
36147 [BZ #14049]
36148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36149 nonzero digits before rounding a hex value.
36150 * stdlib/tst-strtod.c (tests): Add another test.
36151
361522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36153
36154 * sysdeps/s390/fpu/libm-test-ulps: Update.
36155
361562012-05-03 Andreas Jaeger <aj@suse.de>
36157
36158 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36159 does not get optimized out.
36160 (malloc_opt_barrier): New.
36161
361622012-05-03 Andreas Jaeger <aj@suse.de>
36163 Roland McGrath <roland@hack.frob.com>
36164
36165 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36166 intermediate file deletion.
36167 (generated): Add .symlist files.
36168
361692012-05-03 Joseph Myers <joseph@codesourcery.com>
36170
36171 [BZ #13775]
36172 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36173 Redirect under this condition.
36174 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36175 [__USE_GNU] (__dprintf_chk): Not under this condition.
36176 [__USE_GNU] (__vdprintf_chk): Likewise.
36177 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36178 under this condition.
36179 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36180 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36181 [__USE_XOPEN2K8] (vdprintf): Likewise.
36182 [__USE_GNU] (__dprintf_chk): Not under this condition.
36183 [__USE_GNU] (__vdprintf_chk): Likewise.
36184 [__USE_GNU] (dprintf): Likewise.
36185 [__USE_GNU] (vdprintf): Likewise.
36186
361872012-05-03 Roland McGrath <roland@hack.frob.com>
36188
36189 * elf/Makefile (common-generated): Set this instead of generated for
36190 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36191 $(all-built-dso)-derived lists.
36192
361932012-05-03 Andreas Jaeger <aj@suse.de>
36194
36195 * sysdeps/i386/fpu/libm-test-ulps: Update.
36196
36197 * FAQ: Removed.
36198 * FAQ.in: Likewise.
36199 * scripts/gen-FAQ.pl: Likewise.
36200 * manual/install.texi (Installation): Point to online location of
36201 FAQ.
36202 * Makefile (files-for-dist): Remove FAQ.
36203 (FAQ): Remove.
36204
362052012-05-02 Allan McRae <allan@archlinux.org>
36206
36207 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36208 (LDFLAGS-reldepmod5.so): Likewise.
36209 (LDFLAGS-reldep6mod1.so): Likewise.
36210 (LDFLAGS-reldep6mod4.so): Likewise.
36211 (LDFLAGS-reldep8mod3.so): Likewise.
36212 (LDFLAGS-unload4mod1.so): Likewise.
36213 (LDFLAGS-unload4mod2.so): Likewise.
36214 (LDFLAGS-tst-initorder): Likewise.
36215 (LDFLAGS-tst-initordera2.so): Likewise.
36216 (LDFLAGS-tst-initordera3.so): Likewise.
36217 (LDFLAGS-tst-initordera4.so): Likewise.
36218 (LDFLAGS-tst-initorderb2.so): Likewise.
36219 (LDFLAGS-noload): Likewise.
36220 (LDFLAGS-next): Likewise.
36221 (LDFLAGS-order2mod1.so): Likewise.
36222 (LDFLAGS-order2mod2.so): Likewise.
36223 (LDFLAGS-tst-initorder2): Likewise.
36224 (LDFLAGS-tst-initorder2a.so): Likewise.
36225 (LDFLAGS-tst-initorder2b.so): Likewise.
36226 (LDFLAGS-tst-initorder2c.so): Likewise.
36227 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36228
362292012-05-02 David S. Miller <davem@davemloft.net>
36230
36231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36232
362332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36234
36235 [BZ #14055]
36236 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36237
362382012-05-02 Andreas Jaeger <aj@suse.de>
36239
36240 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36241 since we manipulate rounding mode.
36242 (CPPFLAGS-test-idouble.c): Likewise.
36243 (CPPFLAGS-test-ifloat.c): Likewise.
36244 (CFLAGS-test-ldouble.c): Likewise.
36245 (CFLAGS-test-double.c): Likewise.
36246 (CFLAGS-test-float.c): Likewise.
36247 (CFLAGS-test-misc.c): Likewise.
36248 (CFLAGS-test-test-fenv.c): Likewise.
36249
362502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36251
36252 [BZ #2550]
36253 [BZ #2570]
36254 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36255 comparisons to determine direction to adjust input.
36256
362572012-05-01 Roland McGrath <roland@hack.frob.com>
36258
36259 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36260 output to the target.
36261
36262 * scripts/localplt.awk: New file.
36263 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36264 (check-localplt-CFLAGS): Variable removed.
36265 ($(all-built-dso:=.jmprel)): New static pattern rule.
36266 (generated): Add those targets.
36267 (localplt-built-dso): New variable.
36268 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36269
36270 * elf/check-localplt.c: File removed.
36271
36272 * scripts/check-execstack.awk: New file.
36273 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36274 (check-execstack-CFLAGS): Variable removed.
36275 ($(objpfx)check-execstack.h): Target removed.
36276 ($(objpfx)execstack-default): New target.
36277 (generated): Add that instead of check-execstack.h.
36278 ($(all-built-dso:=.phdr)): New static pattern rule.
36279 (generated): Add those targets.
36280 * elf/check-execstack.c: File removed.
36281
36282 * scripts/check-textrel.awk: New file.
36283 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36284 (check-textrel-CFLAGS): Variable removed.
36285 (all-built-dso): Use := to define.o
36286 ($(all-built-dso:=.dyn)): New static pattern rule.
36287 (generated): Add those targets.
36288 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36289 * config.make.in (READELF): New substituted variable.
36290 * elf/check-textrel.c: File removed.
36291
362922012-05-01 Joseph Myers <joseph@codesourcery.com>
36293
36294 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36295 allow.
36296 * conform/data/ctype.h-data [C99-based standards] (isblank):
36297 Expect function.
36298 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36299 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36301 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36302 Specify type. Require positive value.
36303 (EILSEQ): Likewise.
36304 (ERANGE): Likewise.
36305 [ISO || POSIX] (EILSEQ): Do not expect.
36306 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36307 Specify type. Require positive value.
36308 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36309 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36310 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36311 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36312 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36313 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36314 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36315 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36316 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36317 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36318 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36319 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36320 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36321 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36322 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36323 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36324 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36325 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36326 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36327 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36328 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36329 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36330 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36331 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36332 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36333 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36334 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36335 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36336 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36337 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36338 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36339 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36340 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36341 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36342 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36343 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36344 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36345 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36346 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36347 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36348 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36349 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36350 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36351 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36352 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36353 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36354 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36355 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36356 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36357 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36358 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36359 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36360 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36361 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36362 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36363 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36364 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36365 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36366 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36367 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36368 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36369 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36370 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36371 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36372 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36373 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36374 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36375 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36376 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36377 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36378 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36379 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36380 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36381 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36382 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36383 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36384 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36385 Require >= 2.
36386 (FLT_ROUNDS): Expect as macro, not constant.
36387 (FLT_MANT_DIG): Use macro-int-constant.
36388 (DBL_MANT_DIG): Likewise.
36389 (LDBL_MANT_DIG): Likewise.
36390 (FLT_DIG): Likewise.
36391 (DBL_DIG): Likewise.
36392 (LDBL_DIG): Likewise.
36393 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36394 (DBL_MIN_EXP): Likewise.
36395 (LDBL_MIN_EXP): Likewise.
36396 (FLT_MAX_EXP): Use macro-int-constant.
36397 (DBL_MAX_EXP): Likewise.
36398 (LDBL_MAX_EXP): Likewise.
36399 (FLT_MAX_10_EXP): Likewise.
36400 (DBL_MAX_10_EXP): Likewise.
36401 (LDBL_MAX_10_EXP): Likewise.
36402 (FLT_MAX): Use macro-constant.
36403 (DBL_MAX): Likewise.
36404 (LDBL_MAX): Likewise.
36405 (FLT_EPSILON): Use macro-constant. Give upper bound.
36406 (DBL_EPSILON): Likewise.
36407 (LDBL_EPSILON): Likewise.
36408 (FLT_MIN): Likewise.
36409 (DBL_MIN): Likewise.
36410 (LDBL_MIN): Likewise.
36411 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36412 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36413 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36414 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36415 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36416 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36417 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36418 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36419 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36420 [ISO11] (FLT_TRUE_MIN): Likewise.
36421 [ISO11] (LDBL_TRUE_MIN): Likewise.
36422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36423 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36424 (SCHAR_MIN): Use macro-int-constant. Specify type.
36425 (SCHAR_MAX): Likewise.
36426 (UCHAR_MAX): Likewise.
36427 (CHAR_MIN): Likewise.
36428 (CHAR_MAX): Likewise.
36429 (MB_LEN_MAX): Use macro-int-constant.
36430 (SHRT_MIN): Use macro-int-constant. Specify type.
36431 (SHRT_MAX): Likewise.
36432 (USHRT_MAX): Likewise.
36433 (INT_MAX): Likewise.
36434 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36435 bound negative.
36436 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36437 bound with "U".
36438 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36439 bound with "L".
36440 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36441 bound negative. Suffix upper bound with "L".
36442 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36443 bound with "UL".
36444 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36445 Specify type.
36446 [C99-based standards] (LLONG_MAX): Likewise.
36447 [C99-based standards] (ULLONG_MAX): Likewise.
36448 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36449 == 0.
36450 [ISO11] (max_align_t): Require type.
36451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36452
36453 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36454 from $CFLAGS, without defining away __attribute__ calls.
36455 (checknamespace): Use $CFLAGS_namespace.
36456
36457 * conform/conformtest.pl (@keywords): Only include C99 keywords
36458 for standards based on C99 or C11.
36459
36460 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36461 Disable tests.
36462 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36463 UNIX98]: Likewise.
36464
36465 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36466 usability of symbols in #if.
36467
36468 * conform/conformtest.pl: If macro or constant types start
36469 "promoted:", expect the symbol to be of the following type
36470 promoted by the integer promotions.
36471
36472 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36473 in one place. Also handle "macro-constant".
36474
36475 * conform/conformtest.pl: Only accept expected macro values with
36476 "==". Parse all "macro" lines in one place.
36477 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36478
36479 * conform/conformtest.pl: Handle braced types on "constant" lines
36480 instead of handling "typed-constant".
36481 * conform/data/signal.h-data: Use "constant" instead of
36482 "typed-constant".
36483
36484 * conform/conformtest.pl: Handle "optional-" at start of lines in
36485 one place rather than duplicating several cases. Handle each
36486 format of "macro" line with initial "optional-".
36487
36488 * conform/conformtest.pl: Only accept expected constant or
36489 optional-constant values with "==". Parse all "constant" lines in
36490 one place. Parse all "optional-constant" lines in one place.
36491 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36492 * conform/data/fmtmsg.h-data: Likewise.
36493 * conform/data/netinet/in.h-data: Likewise.
36494 * conform/data/tar.h-data: Likewise.
36495 * conform/data/limits.h-data: Use "==" form on "constant" and
36496 "optional-constant" lines.
36497
36498 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36499 Use -std=c99 for XOPEN2K.
36500 (@knownproblems): Remove.
36501 (newtoken): Don't check %isknown.
36502
36503 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36504 Do not expect macro.
36505 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36513 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36514 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36515 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36516 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36517 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36518 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36523 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36526 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36527 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36534 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36535 [XPG3] (acosh): Likewise.
36536 [XPG3] (asinh): Likewise.
36537 [XPG3] (atanh): Likewise.
36538 [XPG3] (cbrt): Likewise.
36539 [XPG3] (expm1): Likewise.
36540 [XPG3] (ilogb): Likewise.
36541 [XPG3] (log1p): Likewise.
36542 [XPG3] (logb): Likewise.
36543 [XPG3] (nextafter): Likewise.
36544 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36545 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36546 [XPG3] (remainder): Likewise.
36547 [XPG3] (rint): Likewise.
36548 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36549 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36550 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36551 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36552 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36553 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36554 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36555 [UNIX98 || XOPEN2K] (scalb): Expect.
36556 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36557 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36558 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36559 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36560 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36561 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36562 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36563 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36564 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36565 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36566 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36567 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36568 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36569 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36570 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36571 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36572 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36573 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36574 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36575 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36576 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36577 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36578 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36590 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36602 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36607 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36608 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36609 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36610 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36611 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36612 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36613 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36614 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36615 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36616 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36617 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36618 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36619 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36620 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36621 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36622 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36623 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36624 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36625 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36626 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36627 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36628 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36629 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36630 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36631 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36632 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36633 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36634 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36635 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36636 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36637 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36638 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36639 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36640 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36641 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36642 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36643 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36644 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36645 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36646 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36647 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36648 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36649 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36650 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36651 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36652 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36653 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36654 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36655 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36656 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36657 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36658 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36659 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36660 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36661 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36662 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36663 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36664 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36665 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36666 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36667 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36668 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36669 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36670 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36671 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36672 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36673 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36674 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36675 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36676 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36677 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36678 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36679 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36680 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36681 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36682 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36683 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36684 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36685 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36686 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36687 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36688 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36689 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36690 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36691 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36692 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36693
36694 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36695 _XOPEN_SOURCE_EXTENDED for XPG4.
36696
36697 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36698
36699 * Makeconfig (localtime): Remove variable.
36700 (inst_localtime-file): Likewise.
36701
367022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36703
36704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36705 Update.
36706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36707 Update.
36708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36709 Update.
36710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36711 Update.
36712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36713 Update.
36714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36715 Update.
36716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36717 Update.
36718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36719 Update.
36720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36721 Update.
36722
367232012-05-01 Joseph Myers <joseph@codesourcery.com>
36724
36725 [BZ #2550]
36726 [BZ #2570]
36727 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36728 comparisons to determine direction to adjust input.
36729 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36730 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36732 Likewise.
36733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36734 Likewise.
36735 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36736 Likewise.
36737 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36738 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36739 Likewise.
36740 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36741 Likewise.
36742 * math/libm-test.inc (nexttoward_test): Add more tests.
36743
367442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36745
36746 [BZ #14040]
36747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36748 in version GLIBC_2.1, not GLIBC_2.0.
36749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36750 Likewise.
36751
367522012-04-30 Joseph Myers <joseph@codesourcery.com>
36753
36754 [BZ #13942]
36755 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36756 (1 - x) * (1 + x).
36757 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36758 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36759 * math/libm-test.inc (acos_test): Add more tests.
36760 (asin_test): Likewise.
36761 * sysdeps/i386/fpu/libm-test-ulps: Update.
36762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36763
36764 [BZ #14034]
36765 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36766 of square root.
36767 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36768 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36769 * math/libm-test.inc (acos_test_tonearest): New function.
36770 (acos_test_towardzero): Likewise.
36771 (acos_test_downward): Likewise.
36772 (acos_test_upward): Likewise.
36773 (asin_test_tonearest): Likewise.
36774 (asin_test_towardzero): Likewise.
36775 (asin_test_downward): Likewise.
36776 (asin_test_upward): Likewise.
36777 (main): Call the new functions.
36778 * sysdeps/i386/fpu/libm-test-ulps: Update.
36779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36780
36781 [BZ #13884]
36782 [BZ #13924]
36783 * math/e_exp10.c: Include <float.h>.
36784 (__ieee754_exp10): Handle underflow here rather than multiplying
36785 large negative argument by M_LN10.
36786 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36787 of __ieee754_expf.
36788 * math/e_exp10l.c: Include <float.h>.
36789 (__ieee754_exp10l): Handle underflow here rather than multiplying
36790 large negative argument by M_LN10l.
36791 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36792 spurious overflow exception on underflow.
36793
367942012-04-29 Marek Polacek <polacek@redhat.com>
36795
36796 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36797 (__fortify_function): New macro.
36798 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36799 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36800 __extern_always_inline.
36801 * libio/bits/stdio2.h: Likewise.
36802 * libio/bits/stdio.h: Likewise.
36803 * string/string.h: Likewise.
36804 * string/bits/string3.h: Likewise.
36805 * include/stdio.h: Likewise.
36806 * stdlib/bits/stdlib.h: Likewise.
36807 * stdlib/stdlib.h: Likewise.
36808 * rt/bits/mqueue2.h: Likewise.
36809 * rt/mqueue.h: Likewise.
36810 * posix/bits/unistd.h: Likewise.
36811 * posix/unistd.h: Likewise.
36812 * io/bits/poll2.h: Likewise.
36813 * io/bits/fcntl2.h: Likewise.
36814 * io/fcntl.h: Likewise.
36815 * io/sys/poll.h: Likewise.
36816 * misc/bits/syslog.h: Likewise.
36817 * misc/bits/syslog-ldbl.h: Likewise.
36818 * misc/sys/syslog.h: Likewise.
36819 * socket/bits/socket2.h: Likewise.
36820 * socket/sys/socket.h: Likewise.
36821 * debug/tst-chk1.c: Likewise.
36822 * wcsmbs/bits/wchar2.h: Likewise.
36823 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36824 * wcsmbs/wchar.h: Likewise.
36825
368262012-04-29 Andreas Jaeger <aj@suse.de>
36827
36828 * Makerules (tests): Remove enable-check-abi protection.
36829 (check-abi-warn): Remove.
36830 (check-abi-%): Remove check-abi-warn usage.
36831
36832 * configure.in: Remove check-abi configure option.
36833 * configure: Regenerated.
36834 * config.make.in (enable-check-abi): Remove.
36835
368362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36837
36838 [BZ #14033]
36839 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36840 double functions to double *_finite functions.
36841
36842 [BZ #13941]
36843 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36844 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36845 LDBL_MIN_EXP.
36846 * stdio-common/Makefile (tests): Add tst-sprintf3.
36847 * stdio-common/tst-sprintf3.c: New file.
36848
36849 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36850 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36851
368522012-04-28 Joseph Myers <joseph@codesourcery.com>
36853
36854 * conform/conformtest.pl: Remove duplicate typed-constant
36855 handling.
36856
368572012-04-28 David S. Miller <davem@davemloft.net>
36858
36859 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36860 (check-abi-%): Remove AWK script prerequisite and explicit
36861 abilist directory.
36862 (check-abi): Rewrite to just diff the symlist with the abilist.
36863 (config-tls, config-abi-config): Delete, no longer used.
36864 (update-abi-%): Remove AWK script and explicit abilist directory.
36865 (update-abi): Rewrite to simply compare and conditionally copy the
36866 symlist and the sysdep abilist file. Remove update-abi-config
36867 checks.
36868 * abilist/ld.abilist: Remove.
36869 * abilist/libBrokenLocale.abilist: Remove.
36870 * abilist/libanl.abilist: Remove.
36871 * abilist/libcrypt.abilist: Remove.
36872 * abilist/libdl.abilist: Remove.
36873 * abilist/librt.abilist: Remove.
36874 * abilist/libthread_db.abilist: Remove.
36875 * abilist/libutil.abilist: Remove.
36876 * scripts/extract-abilist.awk: Remove.
36877 * scripts/merge-abilist.awk: Remove.
36878 * sysdeps/generic/libcidn.abilist: New file.
36879 * sysdeps/generic/libnss_compat.abilist: New file.
36880 * sysdeps/generic/libnss_db.abilist: New file.
36881 * sysdeps/generic/libnss_dns.abilist: New file.
36882 * sysdeps/generic/libnss_files.abilist: New file.
36883 * sysdeps/generic/libnss_hesiod.abilist: New file.
36884 * sysdeps/generic/libnss_nis.abilist: New file.
36885 * sysdeps/generic/libnss_nisplus.abilist: New file.
36886 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36887 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36888 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36889 file.
36890 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36891 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36892 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36893 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36894 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36895 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36896 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36897 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36898 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36899 file.
36900 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36901 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36902 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36903 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36904 file.
36905 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36906 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36907 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36908 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36909 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36910 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36911 file.
36912 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36913 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36914 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36915 file.
36916 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36918 New file.
36919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36920 New file.
36921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36922 New file.
36923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36924 New file.
36925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36926 New file.
36927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36928 New file.
36929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36930 New file.
36931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36932 New file.
36933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36934 New file.
36935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36936 New file.
36937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36938 New file.
36939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36940 New file.
36941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36942 New file.
36943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36944 file.
36945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36946 New file.
36947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36948 New file.
36949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36950 file.
36951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36952 New file.
36953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36954 New file.
36955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36956 file.
36957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36958 New file.
36959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36960 New file.
36961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36962 New file.
36963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36964 New file.
36965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36966 New file.
36967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36968 New file.
36969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36971 file.
36972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36973 New file.
36974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36975 file.
36976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36977 file.
36978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36979 file.
36980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36981 file.
36982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36983 file.
36984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36985 New file.
36986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36987 file.
36988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36989 file.
36990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36991 New file.
36992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36993 file.
36994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36996 file.
36997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36998 New file.
36999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37000 file.
37001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37002 file.
37003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37004 file.
37005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37006 file.
37007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37008 file.
37009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37010 New file.
37011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37012 file.
37013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37014 file.
37015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37016 New file.
37017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37018 file.
37019 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37020 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37021 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37022 file.
37023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37024 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37025 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37026 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37027 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37028 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37029 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37030 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37031 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37032 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37035 file.
37036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37037 New file.
37038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37039 file.
37040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37041 file.
37042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37043 file.
37044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37045 file.
37046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37047 file.
37048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37049 New file.
37050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37051 New file.
37052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37053 file.
37054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37055 New file.
37056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37057 file.
37058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37060 file.
37061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37062 New file.
37063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37064 file.
37065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37066 file.
37067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37068 file.
37069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37070 file.
37071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37072 file.
37073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37074 New file.
37075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37076 New file.
37077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37078 file.
37079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37080 New file.
37081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37082 file.
37083
370842012-04-28 Joseph Myers <joseph@codesourcery.com>
37085
37086 * conform/conformtest.pl: Fix typo in handling typed-constant from
37087 allow-header.
37088
370892012-04-27 Joseph Myers <joseph@codesourcery.com>
37090
37091 * README: Cut down references to pre-2.6 Linux kernels and
37092 Linuxthreads. Update lists of configurations in libc and ports
37093 and sort alphabetically. Say "or newer" with Linux kernel version
37094 requirements.
37095
37096 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37097
370982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37099
37100 [BZ #887]
37101 * math/libm-test.inc (logb_test_downward): New test to expose
37102 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37103 rounding mode.
37104
371052012-04-27 Joseph Myers <joseph@codesourcery.com>
37106
37107 [BZ #14027]
37108 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37109 to be done.
37110 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37111 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37112
371132012-04-26 Joseph Myers <joseph@codesourcery.com>
37114
37115 * sysdeps/unix/i386/brk.S: Remove file.
37116 * sysdeps/unix/i386/dl-brk.S: Likewise.
37117 * sysdeps/unix/i386/pipe.S: Likewise.
37118 * sysdeps/unix/i386/sigreturn.S: Likewise.
37119 * sysdeps/unix/i386/syscall.S: Likewise.
37120 * sysdeps/unix/i386/vfork.S: Likewise.
37121 * sysdeps/unix/i386/wait.S: Likewise.
37122
37123 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37124 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37125
37126 * configure.in (arm*-none*): Do not allow without
37127 --enable-hacker-mode.
37128 (netbsd*): Remove case setting base_os.
37129 (386bsd*): Likewise.
37130 (freebsd*): Likewise.
37131 (bsdi*): Likewise.
37132 (osf*): Likewise.
37133 (sunos*): Likewise.
37134 (ultrix*): Likewise.
37135 (newsos*): Likewise.
37136 (dynix*): Likewise.
37137 (*bsd*): Likewise.
37138 (sysv*): Likewise.
37139 (isc*): Likewise.
37140 (esix*): Likewise.
37141 (sco*): Likewise.
37142 (minix*): Likewise.
37143 (irix4*): Likewise.
37144 (irix6*): Likewise.
37145 (solaris[2-9]*): Likewise.
37146 (none): Likewise.
37147 * configure: Regenerated.
37148
371492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37150
37151 [BZ #11521]
37152 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37153 overflow or cancellation in calculating denominator.
37154 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37156 down expression to avoid unexpected rounding in newer GCCs.
37157 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37158
371592012-04-26 David S. Miller <davem@davemloft.net>
37160
37161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37162 long-double compat symbols.
37163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37176
371772012-04-25 David S. Miller <davem@davemloft.net>
37178
37179 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37180 HWCAP_* values only after the memory barriers have been defined.
37181 (atomic_full_barrier): Define.
37182 (atomic_read_barrier): Define.
37183 (atomic_write_barrier): Define.
37184
371852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37186
37187 * shlib-versions: Add libgcc_s version information.
37188 * sysdeps/generic/libgcc_s.h: Remove.
37189 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37190 libgcc_s.h.
37191 * sysdeps/gnu/unwind-resume.c: Likewise.
37192 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37193
371942012-04-25 David S. Miller <davem@davemloft.net>
37195
37196 * sysdeps/unix/sparc/brk.S: Delete.
37197 * sysdeps/unix/sparc/dl-brk.S: Delete.
37198 * sysdeps/unix/sparc/pipe.S: Delete.
37199 * sysdeps/unix/sparc/sysdep.S: Delete.
37200 * sysdeps/unix/sparc/sysdep.h: Delete.
37201 * sysdeps/unix/sparc/vfork.S: Delete.
37202 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37203 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37205 (ret_ERRVAL, r0, r1, MOVE): Define.
37206 (JUMPTARGET): Remove.
37207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37208 sysdeps/unix/sparc/sysdep.h
37209 (ENTRY, END): Remove.
37210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37211
372122012-04-25 Joseph Myers <joseph@codesourcery.com>
37213
37214 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37215 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37216 -DIS_IN_build.
37217
37218 * timezone/README: Update upstream location and email address for
37219 tzcode and tzdata.
37220 * timezone/zdump.c: Update from tzcode 2012b.
37221 * timezone/zic.c: Likewise.
37222
37223 * configure.in (libc_cv_as_needed): Remove test.
37224 * configure: Regenerated.
37225 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37226 conditional definition.
37227 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37228 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37229 * config.make.in (have-as-needed): Remove variable.
37230
372312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37232 Paul Pluzhnikov <ppluzhnikov@google.com>
37233
37234 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37235 strings correctly.
37236
372372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37238
37239 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37240 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37241 * sysdeps/sh/strlen.S: Likewise.
37242
372432012-04-24 Joseph Myers <joseph@codesourcery.com>
37244
37245 * sysdeps/unix/fork.S: Remove file.
37246 * sysdeps/unix/i386/fork.S: Likewise.
37247 * sysdeps/unix/sparc/fork.S: Likewise.
37248
37249 * sysdeps/unix/system.c: Remove file.
37250 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37251
37252 * sysdeps/unix/getegid.S: Remove file.
37253 * sysdeps/unix/geteuid.S: Likewise.
37254
372552012-04-24 Roland McGrath <roland@hack.frob.com>
37256
37257 * scripts/check-localplt.awk: New file.
37258 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37259 of diff.
37260 * scripts/data/localplt-generic.data: Add a comment.
37261
37262 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37263 NODE when __dir_mkfile failed.
37264 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37265 Reported by Ludovic Courtès <ludo@gnu.org>.
37266
372672012-04-24 Andreas Jaeger <aj@suse.de>
37268
37269 * Makerules (common-clean): Also remove gen-as-const-headers
37270 files.
37271
372722012-04-24 Joseph Myers <joseph@codesourcery.com>
37273
37274 * Makerules (native-compile): Do not change working directory for
37275 build. Use $(OUTPUT_OPTION) in command.
37276 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37277
372782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37279
37280 [BZ #13886]
37281 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37282 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37283 * math/libm-test.inc (floor_test): Add more tests.
37284 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37285
372862012-04-24 Joseph Myers <joseph@codesourcery.com>
37287
37288 * sysdeps/unix/getdents.c: Remove file.
37289 * sysdeps/unix/sysv/getdents.c: Likewise.
37290 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37291
37292 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37293 sysdeps/unix/mman/syscalls.list.
37294 (mmap): Likewise.
37295 (mprotect): Likewise.
37296 (msync): Likewise.
37297 (munmap): Likewise.
37298 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37299 * sysdeps/unix/mman/syscalls.list: Remove.
37300 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37301
37302 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37303 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37304 * configure: Regenerated.
37305 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37306 $(libgcc_s_suffix).
37307 * config.make.in (libgcc_s_suffix): Remove variable.
37308
373092012-04-23 Joseph Myers <joseph@codesourcery.com>
37310
37311 * sysdeps/unix/sysv/gethostname.c: Move to ...
37312 * sysdeps/posix/gethostname.c: ... here.
37313
37314 * sysdeps/unix/execve.S: Remove file.
37315
37316 * sysdeps/unix/_exit.S: Remove file.
37317
373182012-04-23 Andreas Jaeger <aj@suse.de>
37319
37320 [BZ #13739]
37321 * manual/Makefile: Remove make dist support, there's no
37322 need for a stand-alone documentation tar ball.
37323 (TEXI2DVI): Define always, it's not in Makeconfig.
37324 (dist): Removed.
37325 (tar-it): Removed.
37326 (edition): Removed.
37327 (glibc-doc-$(edition).tar): Removed
37328 (%.Z): Removed.
37329 (%.gz): Removed.
37330 (%.uu): Removed.
37331 (ETAGS): Remove, it's in Makeconfig.
37332 (move-if-change): Remove, it's in Makeconfig.
37333
373342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37335
37336 [BZ #13970]
37337 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37338 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37339 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37340 (strtod_l, strtof_l, strtold_l): Remove __wur.
37341 It is not necessarily an error to ignore strtol's return value.
37342 One can reliably look at the stored endptr to decide whether
37343 the number had valid syntax.
37344
373452012-04-21 Andreas Jaeger <aj@suse.de>
37346
37347 [BZ #13739]
37348 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37349
373502012-04-21 Joseph Myers <joseph@codesourcery.com>
37351
37352 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37353 * sysdeps/unix/sysv/Versions: Remove file.
37354
373552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37356
37357 [BZ #13927]
37358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37359
373602012-04-21 Nick Alcock <nick.alcock@oracle.com>
37361
37362 [BZ #7064]
37363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37364 version from __vm86.
37365
373662012-04-20 Joseph Myers <joseph@codesourcery.com>
37367
37368 * sysdeps/unix/common/lxstat.c: Remove file.
37369 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37370
37371 * sysdeps/unix/sysv/Makefile: Remove file.
37372
37373 * sysdeps/unix/sysv/direct.h: Remove file.
37374
37375 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37376 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37377 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37378 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37379 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37380 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37381 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37382
37383 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37384
37385 * sysdeps/unix/xmknod.c: Remove file.
37386 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37387
37388 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37389
37390 * sysdeps/unix/sysv/i386/time.S: Remove file.
37391
37392 * sysdeps/unix/fxstat.c: Remove file.
37393 * sysdeps/unix/xstat.c: Likewise.
37394 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37395
37396 * sysdeps/unix/sysv/sigaction.c: Remove file.
37397
37398 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37399 (sysdep_headers): Remove variable.
37400 [termio.h not in sysdep_headers] (generated): Likewise.
37401 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37402 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37403 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37404 * sysdeps/unix/sysv/tcflow.c: Likewise.
37405 * sysdeps/unix/sysv/tcflush.c: Likewise.
37406 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37407 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37408 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37409 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37410 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37411
37412 * sysdeps/unix/siglist.c: Remove file.
37413
37414 * sysdeps/unix/getppid.S: Remove file.
37415
37416 * sysdeps/unix/mkdir.c: Remove file.
37417 * sysdeps/unix/rmdir.c: Likewise.
37418
374192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37420
37421 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37422 ERR_MAX value.
37423 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37424 errlist-compat value.
37425
374262012-04-18 David S. Miller <davem@davemloft.net>
37427
37428 * sysdeps/generic/memcopy.h (reg_char): Delete.
37429 * debug/strcat_chk.c: Use char, not reg_char.
37430 * debug/strcpy_chk.c: Likewise.
37431 * debug/strncat_chk.c: Likewise.
37432 * debug/strncpy_chk.c: Likewise.
37433 * string/memchr.c: Likewise.
37434 * string/memrchr.c: Likewise.
37435 * string/rawmemchr.c: Likewise.
37436 * string/strcat.c: Likewise.
37437 * string/strchr.c: Likewise.
37438 * string/strchrnul.c: Likewise.
37439 * string/strcmp.c: Likewise.
37440 * string/strcpy.c: Likewise.
37441 * string/strncat.c: Likewise.
37442 * string/strncmp.c: Likewise.
37443 * string/strncpy.c: Likewise.
37444
374452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37446
37447 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37448 __builtin_memcopy is called when src and dest ranges are known to not
37449 overlap.
37450
374512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37452
37453 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37454 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37455 fwd_align_merge macro call.
37456 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37457 bwd_align_merge macro call.
37458 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37459
374602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37461
37462 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37463 bwd_align_merge macros.
37464 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37465 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37466 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37467
374682012-04-18 David S. Miller <davem@davemloft.net>
37469
37470 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37471
374722012-04-18 Andreas Jaeger <aj@suse.de>
37473
37474 [BZ# 6794]
37475 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37476 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37477 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37478
37479 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37480 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37481 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37482
37483 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37484 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37485 Adjust for changed ldbl-128 files.
37486
37487 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37488 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37489 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37490
374912012-04-17 David S. Miller <davem@davemloft.net>
37492
37493 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37494
374952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37496
37497 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37498 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37499 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37500 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37501 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37502 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37503
375042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37505
37506 [BZ #6794]
37507 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37508 * math/libm-test.inc: Add ilogb errno and exception tests.
37509 * math/w_ilogb.c: New file: ilogb wrapper.
37510 * math/w_ilogbf.c: New file: ilogbf wrapper.
37511 * math/w_ilogbl.c: New file: ilogbl wrapper.
37512 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37513 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37514 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37515 exception being thrown with 0.0 as argument.
37516 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37517 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37518 exception being thrown with 0.0 as argument.
37519 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37520 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37521 exception being thrown with 0.0 as argument.
37522 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37523 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37524 exception being thrown with 0.0 as argument.
37525 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37526 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37527 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37528 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37529 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37530 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37531 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37532 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37533 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37534
375352012-04-17 Petr Baudis <pasky@ucw.cz>
37536
37537 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37538 with altivec.
37539
375402012-04-16 Marek Polacek <polacek@redhat.com>
37541
37542 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37543
375442012-04-16 Marek Polacek <polacek@redhat.com>
37545
37546 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37547 operands of fdivp instruction.
37548
375492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37550
37551 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37552 * elf/tst-auditmod3b.c: Likewise.
37553 * elf/tst-auditmod4b.c: Likewise.
37554 * elf/tst-auditmod5b.c: Likewise.
37555 * elf/tst-auditmod6b.c: Likewise.
37556 * elf/tst-auditmod6c.c: Likewise.
37557 * elf/tst-auditmod7b.c: Likewise.
37558 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37559 * sysdeps/x86_64/preconfigure.in: Likewise.
37560 * sysdeps/x86_64/preconfigure: Regenerated.
37561
375622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37563
37564 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37565 __ILP32__.
37566
375672012-04-13 Antoine Balestrat <merkil33@gmail.com>
37568
37569 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37570 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37571
375722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37573
37574 [BZ #13973]
37575 * locale/iso-639.def: Fix gl language name. Spotted by
37576 Yaron Shahrabani.
37577
375782012-04-12 Roland McGrath <roland@hack.frob.com>
37579
37580 [BZ #2074]
37581 * libio/libio.h (__io_write_fn): Update comment.
37582
375832012-04-12 Petr Baudis <pasky@ucw.cz>
37584
37585 [BZ #2074]
37586 * stdio.texi (Hook Functions): The user provided writer function
37587 is not allowed to return -1.
37588
375892012-04-11 David S. Miller <davem@davemloft.net>
37590
37591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37592
375932012-04-11 Mike Frysinger <vapier@gentoo.org>
37594
37595 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37596 Add a leading slash to rtkaio.
37597
375982012-04-11 Jim Meyering <meyering@redhat.com>
37599
37600 [BZ #11959]
37601 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37602 It is not necessarily an error to ignore fwrite's return
37603 value. One can reliably use ferror to test for errors after
37604 the fact.
37605
376062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37607
37608 * bits/types.h (__snseconds_t): New type.
37609 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37610
37611 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37613 (__SNSECONDS_T_TYPE): Likewise.
37614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37615 (__SNSECONDS_T_TYPE): Likewise.
37616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37617 (__SNSECONDS_T_TYPE): Likewise.
37618
376192012-04-10 Andreas Jaeger <aj@suse.de>
37620
37621 [BZ #2636]
37622 * manual/time.texi (Processor Time): Return type of times is
37623 elapsed real time since an arbitrary point in the past.
37624 (CPU Time): Move CLK_TCK from here...
37625 (Processor Time): ...to here. Correct description.
37626 * manual/conf.texi (Constants for Sysconf): Correct description of
37627 _SC_CLK_TCK.
37628
376292012-04-10 David S. Miller <davem@davemloft.net>
37630
37631 [BZ #13967]
37632 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37633 where the is a gap between DT_REL(A) and DT_JMPREL.
37634
376352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37636
37637 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37638 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37639 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37640
376412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37642
37643 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37644 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37645 (dl_main): Handle --inhibit-cache.
37646 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37647 _dl_inhibit_cache.
37648 * elf/dl-load.c (_dl_map_object): Use it.
37649 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37650
376512012-04-09 Joseph Myers <joseph@codesourcery.com>
37652
37653 [BZ #13872]
37654 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37655 (__ieee754_powl): Saturate large exponents rather than testing for
37656 overflow of y*log2(x).
37657 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37658 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37659 exceptions.
37660
37661 [BZ #11521]
37662 * math/s_ctan.c: Include <float.h>.
37663 (__ctan): Avoid internal overflow or cancellation in calculating
37664 denominator.
37665 * math/s_ctanf.c: Likewise.
37666 * math/s_ctanl.c: Likewise.
37667 * math/s_ctanh.c: Likewise.
37668 * math/s_ctanhf.c: Likewise.
37669 * math/s_ctanhl.c: Likewise.
37670 * math/libm-test.inc (ctan_test): Add more tests.
37671 (ctanh_test): Likewise.
37672 * sysdeps/i386/fpu/libm-test-ulps: Update.
37673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37674
376752012-04-09 Andreas Jaeger <aj@suse.de>
37676
37677 [BZ #6894]
37678 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37679 is an optional BSD extension.
37680
37681 [BZ #10254]
37682 * manual/stdio.texi (Opening Streams): Document additional fopen
37683 parameters.
37684
376852012-04-09 Roland McGrath <roland@hack.frob.com>
37686
37687 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37688 %eax without telling the compiler.
37689
376902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37691
37692 [BZ # 13963]
37693 * manual/install.texi: Use sourceware.org.
37694
376952012-04-09 Joseph Myers <joseph@codesourcery.com>
37696
37697 [BZ #13873]
37698 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37699 (__ieee754_pow): Generate overflow and underflow using huge*huge
37700 and tiny*tiny rather than just returning constant infinity or zero
37701 for large exponents.
37702 * math/libm-test.inc (pow_test): Require overflow exceptions for
37703 applicable cases of large exponents.
37704
37705 [BZ #706]
37706 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37707 (__ieee754_pow): Use iterative multiplication algorithm only for
37708 integer exponents with absolute value below 1024. Check for odd
37709 integer exponents when using algorithm for real exponents.
37710 * math/libm-test.inc (pow_test): Add more tests.
37711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37712
377132012-04-08 Joseph Myers <joseph@codesourcery.com>
37714
37715 [BZ #13705]
37716 * math/libm-test.inc (exp_test): Do not allow overflow exception
37717 on underflow test.
37718
377192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37720
37721 [BZ #13705]
37722 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37723 instead of __kernel_standard_f.
37724
377252012-04-08 Mike Frysinger <vapier@gentoo.org>
37726
37727 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37728 * sysdeps/x86_64/memset_chk.S: Likewise.
37729
377302012-04-08 Andreas Jaeger <aj@suse.de>
37731
37732 [BZ #10153]
37733 * manual/startup.texi (Environment Access): Describe return value
37734 for putenv and setenv.
37735
37736 [BZ #6895]
37737 * manual/filesys.texi (Directory Entries): Add description for
37738 DT_LNK.
37739
37740 [BZ #6890]
37741 * manual/filesys.texi (Directory Entries): Clarify that it's file
37742 system not operating system in the description of DT_UNKNOWN.
37743
37744 [BZ #6578]
37745 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37746
377472012-04-08 Stephen Compall <s11@member.fsf.org>
37748
37749 [BZ #6649]
37750 * manual/llio.texi (Opening and Closing Files): Add cross
37751 reference to explain mode argument.
37752
377532012-04-07 Mike Frysinger <vapier@gentoo.org>
37754
37755 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37756 * sysdeps/x86_64/memset_chk.S: Likewise.
37757
377582012-04-07 David S. Miller <davem@davemloft.net>
37759
37760 * elf/elf.h (R_SPARC_WDISP10): Define.
37761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37762 R_SPARC_SIZE32.
37763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37764 R_SPARC_SIZE64 and R_SPARC_H34.
37765
377662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37767
37768 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37769 conditions and remove no longer applicable assertion.
37770
377712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37772
37773 * bits/byteswap.h: Include <features.h>.
37774 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37775 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37776
377772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37778
37779 * bits/byteswap.h (__bswap_16): Removed.
37780 Include <bits/byteswap-16.h> to get __bswap_16.
37781 * sysdeps/i386/bits/byteswap.h: Likewise.
37782 * sysdeps/s390/bits/byteswap.h: Likewise.
37783 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37784 * bits/byteswap-16.h: New file.
37785 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37786 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37787 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37788 * string/Makefile (headers): Add bits/byteswap-16.h.
37789
377902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37791
37792 [BZ #13895]
37793 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37794 extra indirection.
37795 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37796 * nss/tst-nss-static.c: New.
37797
377982012-04-06 Robert Millan <rmh@gnu.org>
37799
37800 [BZ #6486]
37801 * manual/llio.texi (File Position Primitive): lseek
37802 refers to WHENCE when it really means OFFSET.
37803
378042012-04-06 Andreas Jaeger <aj@suse.de>
37805
37806 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37807 strncmp declarations.
37808
37809 * abilist/libc.abilist: Add __poll and __ppoll.
37810
378112012-04-05 David S. Miller <davem@davemloft.net>
37812
37813 * scripts/check-local-headers.sh: Accept a host triplet in the
37814 path matched by the exclude regexp.
37815
37816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37817 definition.
37818 * sysdeps/powerpc/powerpc32/dl-machine.h
37819 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37820 * sysdeps/s390/s390-32/dl-machine.h
37821 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37822 * sysdeps/sparc/sparc32/dl-machine.h
37823 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37824 * sysdeps/sparc/sparc64/dl-machine.h
37825 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37826
37827 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37828 lazy binding.
37829 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37830 undefined symbol errors.
37831
37832 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37833 DT_NEEDED entries.
37834
378352012-04-05 Michael Matz <matz@suse.de>
37836
37837 [BZ #13592]
37838 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37839
378402012-04-05 Andreas Jaeger <aj@suse.de>
37841
37842 [BZ #13908]
37843 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37844 comment.
37845
378462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37847
37848 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37849 which ROUND is no valid rounding mode.
37850
378512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37852
37853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37854 read again.
37855 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37856
378572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37858
37859 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37860 an exception using FPU order intentionally.
37861
378622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37863
37864 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37865 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37866 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37867 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37868
378692012-04-05 Simon Josefsson <simon@josefsson.org>
37870
37871 [BZ #12340]
37872 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37873 EINVAL when BUFLEN is too smal.
37874
378752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37876
37877 [BZ #13553]
37878 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37879 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37880
378812012-04-03 Andreas Jaeger <aj@suse.de>
37882
37883 [BZ #13938]
37884 * manual/setjmp.texi (System V contexts): Fix sentence.
37885
37886 [BZ #13926]
37887 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37888 New macro for this case.
37889 [!__GNUC__] (__bswap_64): New inline function for this case.
37890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37891 * bits/byteswap.h: Likewise.
37892 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37893 ull, guard with __GLIBC_HAVE_LONG_LONG.
37894
37895 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37896 __GLIBC_HAVE_LONG_LONG.
37897
37898 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37899 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37900
379012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37902
37903 [BZ #13691]
37904 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37905 inptr and inend, rather than using last_ch.
37906
379072012-04-02 David S. Miller <davem@davemloft.net>
37908
37909 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37910 * stdio-common/printf-parse.h (read_int): Change return type to
37911 'int', return -1 on INT_MAX overflow.
37912 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37913 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37914 overflows INT_MAX. Check for overflow of in-format-string precision
37915 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37916 SIZE_MAX not INT_MAX for integer overflow test.
37917 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37918 skip the construct in the format string but do not record anything.
37919 * stdio-common/bug22.c: Adjust to test both width/prevision
37920 INT_MAX overflow as well as total length INT_MAX overflow. Check
37921 explicitly for proper errno values.
37922
379232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37924
37925 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37926 CHAR_MAX.
37927 * string/test-strcmp.c [! WIDE]: Likewise.
37928 * time/tst-mktime2.c: Likewise for INT_MAX.
37929 * string/test-string.h: #include <sys/param.h> for MIN.
37930
37931 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37932 * sysdeps/i386/init-first.c (init): Likewise.
37933 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37934 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37935 * sysdeps/sh/init-first.c (init): Likewise.
37936
379372012-04-01 Ulrich Drepper <drepper@gmail.com>
37938
37939 * po/ru.po: Update from translation team.
37940 * po/vi.po: Likewise.
37941
379422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37943
37944 * resolv/nss_dns/dns-host.c: Merge copyright years.
37945
379462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37947
37948 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37949 Optimize memcpy with prefetch if
37950 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37951 src, dst pointers have unequal 16 byte alignments.
37952
379532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37954
37955 [BZ #13928]
37956 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37957 from a CNAME entry and return the minimum ttl for the query.
37958 (gaih_getanswer_slice): Likewise.
37959
379602012-03-30 Jeff Law <law@redhat.com>
37961
37962 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37963 due to long keys.
37964 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37965 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37966
37967 * resolv/nss_dns/dns-host.c: Update copyright year.
37968
379692012-03-30 Ulrich Drepper <drepper@gmail.com>
37970
37971 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37972 requests to save a system call. Fix check that all bytes are sent.
37973
37974 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37975 comments for sendmmsg.
37976
379772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37978
37979 [BZ #13691]
37980 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37981 with only 1 character between 0x0041 and 0x01b0.
37982 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37983 * wcsmbs/tst-mbsnrtowcs.c: New file.
37984
379852012-03-29 David S. Miller <davem@davemloft.net>
37986
37987 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37988 small copies by hand.
37989
379902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37991
37992 [BZ #13761]
37993 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37994 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37995 group memberships.
37996
379972012-03-28 David S. Miller <davem@davemloft.net>
37998
37999 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38000 that branches into memcpy.
38001 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38004 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38006 bits.
38007 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38008 implementation too.
38009 * sysdeps/sparc/mempcpy.S: New file.
38010
38011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38012 the IFUNC routine in the libc case.
38013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38014
38015 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38016 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38017 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38018 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38019 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38020 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38021 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38022 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38023
38024 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38025 loop to 256 bytes instead of 64 bytes and fix test signedness.
38026
38027 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38028 * sysdeps/sparc/sparc32/Makefile: rather than here...
38029 * sysdeps/sparc/sparc64/Makefile: and here.
38030
380312012-03-28 Ulrich Drepper <drepper@gmail.com>
38032
38033 * malloc/mallocbug.c: Avoid warnings about unused variables.
38034
380352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38036
38037 [BZ #13760]
38038 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38039 in the right place. Discard and retry query if response is
38040 larger than input buffer size.
38041
380422012-03-28 Joseph Myers <joseph@codesourcery.com>
38043
38044 [BZ #369]
38045 [BZ #2678]
38046 [BZ #3866]
38047 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38048 x for large integer exponent.
38049 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38050 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38051 sign of result as needed afterwards.
38052 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38053 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38054 result for underflowing pow the same as for overflow.
38055 (__kernel_standard_l): Handle powl overflow and underflow here
38056 rather than calling __kernel_standard.
38057 * math/libm-test.inc (pow_test): Add more tests.
38058
38059 [BZ #3868]
38060 [BZ #13879]
38061 [BZ #13910]
38062 [BZ #13911]
38063 [BZ #13912]
38064 [BZ #13913]
38065 [BZ #13915]
38066 [BZ #13916]
38067 [BZ #13917]
38068 [BZ #13918]
38069 [BZ #13919]
38070 [BZ #13920]
38071 [BZ #13921]
38072 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38073 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38074 (__kernel_standard_l): New function.
38075 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38076 __kernel_standard.
38077 * math/w_acosl.c (__acosl): Likewise.
38078 * math/w_asinl.c (__asinl): Likewise.
38079 * math/w_atan2l.c (__atan2l): Likewise.
38080 * math/w_atanhl.c (__atanhl): Likewise.
38081 * math/w_coshl.c (__coshl): Likewise.
38082 * math/w_exp10l.c (__exp10l): Likewise.
38083 * math/w_exp2l.c (__exp2l): Likewise.
38084 * math/w_fmodl.c (__fmodl): Likewise.
38085 * math/w_hypotl.c (__hypotl): Likewise.
38086 * math/w_j0l.c (__j0l, __y0l): Likewise.
38087 * math/w_j1l.c (__j1l, __y1l): Likewise.
38088 * math/w_jnl.c (__jnl, __ynl): Likewise.
38089 * math/w_lgammal.c (__lgammal): Likewise.
38090 * math/w_log10l.c (__log10l): Likewise.
38091 * math/w_log2l.c (__log2l): Likewise.
38092 * math/w_logl.c (__logl): Likewise.
38093 * math/w_powl.c (__powl): Likewise.
38094 * math/w_remainderl.c (__remainderl): Likewise.
38095 * math/w_scalbl.c (sysv_scalbl): Likewise.
38096 * math/w_sinhl.c (__sinhl): Likewise.
38097 * math/w_sqrtl.c (__sqrtl): Likewise.
38098 * math/w_tgammal.c (__tgammal): Likewise.
38099 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38100 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38101 * math/libm-test.inc (acos_test): Add more tests.
38102 (acosh_test): Likewise.
38103 (asin_test): Likewise.
38104 (atanh_test): Likewise.
38105 (exp_test): Likewise.
38106 (exp10_test): Likewise.
38107 (exp2_test): Likewise.
38108 (expm1_test): Likewise.
38109 (lgamma_test): Likewise.
38110 (log_test): Likewise.
38111 (log10_test): Likewise.
38112 (log1p_test): Likewise.
38113 (log2_test): Likewise.
38114 (pow_test): Do not allow some spurious overflow exceptions.
38115 (sqrt_test): Add more tests.
38116 (tgamma_test): Likewise.
38117 (y0_test): Likewise.
38118 (y1_test): Likewise.
38119 (yn_test): Likewise.
38120
381212012-03-27 Anton Blanchard <anton@samba.org>
38122
38123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38124 MAP_HUGETLB.
38125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38128
381292012-03-27 David S. Miller <davem@davemloft.net>
38130
38131 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38132
38133 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38134 have-as-vis3 check.
38135
381362012-03-27 Andreas Jaeger <aj@suse.de>
38137
38138 * sysdeps/x86_64/elf/configure.in: Moved to ...
38139 * sysdeps/x86_64/configure.in: ... here.
38140 * sysdeps/x86_64/elf/start.S: Moved to ...
38141 * sysdeps/x86_64/start.S: ... here.
38142 * sysdeps/x86_64/elf/configure: Delete.
38143
38144 * sysdeps/x86_64/configure.in: Merge contents from
38145 sysdeps/i386/configure.in (without i686 check).
38146
38147 * sysdeps/i386/elf/Versions: Merge into ...
38148 * sysdeps/i386/Versions: ... this.
38149 * sysdeps/i386/elf/Versions: Delete file.
38150 * sysdeps/i386/elf/start.S: Moved to ...
38151 * sysdeps/i386/start.S: ...here.
38152 * sysdeps/i386/elf/configure.in: Merge into...
38153 * sysdeps/i386/configure.in: ...here.
38154 * sysdeps/i386/elf/configure.in: Delete file.
38155 * sysdeps/i386/elf/configure: Delete file.
38156
38157 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38158 * debug/backtracesyms.c: ... here.
38159 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38160 * debug/backtracesymsfd.c: ... here.
38161 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38162 * sysdeps/generic/ifunc-sel.h: ... here.
38163
38164 * sysdeps/unix/i386/start.c: Delete file.
38165 * sysdeps/unix/sparc/start.c: Delete file.
38166 * sysdeps/unix/start.c: Delete file.
38167
38168 * sysdeps/sh/elf/configure.in: Moved to ...
38169 * sysdeps/sh/configure.in: ... here.
38170 * sysdeps/sh/elf/start.S: Moved to ...
38171 * sysdeps/sh/start.S: ... here.
38172 * sysdeps/sh/elf/configure: Delete file.
38173
38174 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38175 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38176 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38177 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38178 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38179 * sysdeps/powerpc/powerpc64/start.S: here.
38180 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38181 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38182 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38183 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38184 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38185
38186 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38187 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38188 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38189 * sysdeps/powerpc/powerpc32/start.S: ... here.
38190 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38191 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38192 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38193
38194 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38195 * sysdeps/powerpc/ifunc-sel.h: ... here.
38196 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38197 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38198
38199 * sysdeps/sparc/elf/configure.in: Moved to ...
38200 * sysdeps/sparc/configure.in: ... here.
38201 * sysdeps/sparc/elf/configure: Delete file.
38202 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38203 * sysdeps/sparc/sparc32/start.S: ... here.
38204 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38205 * sysdeps/sparc/sparc64/start.S: ... here.
38206 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38207 * sysdeps/sparc/sparc32/Makefile: ... this.
38208 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38209 * sysdeps/sparc/sparc64/Makefile: ... this.
38210
38211 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38212 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38213 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38214 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38215 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38216 * sysdeps/s390/s390-32/setjmp.S: ... here.
38217 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38218 * sysdeps/s390/s390-32/configure.in: ... here.
38219 * sysdeps/s390/s390-32/elf/configure: Delete file.
38220 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38221 * sysdeps/s390/s390-32/start.S: ... here.
38222
38223 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38224 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38225 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38226 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38227 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38228 * sysdeps/s390/s390-64/setjmp.S: ... here.
38229 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38230 * sysdeps/s390/s390-64/configure.in: ... here
38231 * sysdeps/s390/s390-64/elf/configure: Delete file.
38232 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38233 * sysdeps/s390/s390-64/start.S: ... here.
38234 * sysdeps/s390/s390-64/elf/configure: Delete.
38235
38236 * configure.in: Remove support for elf directories in sysdeps.
38237
38238 * configure: Regenerated.
38239 * sysdeps/i386/configure: Regenerated.
38240 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38241 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38242 * sysdeps/s390/s390-32/configure: Regenerated.
38243 * sysdeps/s390/s390-64/configure: Regenerated.
38244 * sysdeps/sh/configure: Regenerated.
38245 * sysdeps/sparc/configure: Regenerated.
38246 * sysdeps/x86_64/configure: Regenerated.
38247
382482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38249
38250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38251
38252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38253 denormal result into account.
38254
382552012-03-25 Roland McGrath <roland@hack.frob.com>
38256
38257 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38258 Reported by Allan McRae <allan@archlinux.org>.
38259
382602012-03-23 Jeff Law <law@redhat.com>
38261
38262 * nss/getnssent.c (__nss_getent): Fix typo.
38263
382642012-03-23 David S. Miller <davem@davemloft.net>
38265
38266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38267
382682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38269
38270 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38271 to pad to uint64_t for each field.
38272 (dl_tls_index): Replace unsigned long with uint64_t.
38273
382742012-03-23 Daniel Jacobowitz <dmj@google.com>
38275 Paul Pluzhnikov <ppluzhnikov@google.com>
38276
38277 [BZ #6528]
38278 * grp/Makefile (otherlibs): Don't set it.
38279 * inet/Makefile (otherlibs): Likewise.
38280 * login/Makefile (otherlibs): Likewise.
38281 * nscd/Makefile (otherlibs): Likewise.
38282 * posix/Makefile (otherlibs): Likewise.
38283 * pwd/Makefile (otherlibs): Likewise.
38284 * rt/Makefile (otherlibs): Likewise.
38285 * sunrpc/Makefile (otherlibs): Likewise.
38286 * nss/Makefile (otherlibs): Likewise.
38287 Add libnss_files to routines and static-only-routines.
38288 ($(objpfx)getent): Remove rule.
38289 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38290 static-only-routines.
38291
382922012-03-22 Joseph Myers <joseph@codesourcery.com>
38293
38294 [BZ #13892]
38295 * math/s_cexp.c: Include <float.h>.
38296 (__cexp): Handle exp result overflowing not necessarily
38297 overflowing both real and imaginary parts of result.
38298 * math/s_cexpf.c: Likewise.
38299 * math/s_cexpl.c: Likewise.
38300 * math/libm-test.inc (cexp_test): Add more tests.
38301 * sysdeps/i386/fpu/libm-test-ulps: Update.
38302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38303
383042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38305
38306 * include/link.h (ELFW): New macro.
38307 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38308 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38309
383102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38311
38312 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38313 with uint64_t.
38314
383152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38316
38317 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38318 declaration.
38319 (struct La_x32_retval): Likewise.
38320
383212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38322
38323 * sysdeps/x86_64/preconfigure.in: New file.
38324 * sysdeps/x86_64/preconfigure: New generated file.
38325
383262012-03-22 Joseph Myers <joseph@codesourcery.com>
38327
38328 [BZ #13824]
38329 * math/e_exp2l.c: Include <float.h>.
38330 (__ieee754_exp2l): Handle overflow and underflow cases
38331 separately. Only pass fractional part of argument to
38332 __ieee754_expl.
38333 * math/libm-test.inc (exp2_test): Add more tests.
38334
38335 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38336 negating x to take absolute value.
38337 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38338 Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38341 Likewise.
38342 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38343 computing low part if x was negated.
38344 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38345
383462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38347
38348 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38349 la_x32_gnu_pltexit.
38350 (pltexit): Cast int_retval to ptrdiff_t.
38351 * elf/tst-auditmod3b.c: Likewise.
38352 * elf/tst-auditmod4b.c: Likewise.
38353 * elf/tst-auditmod5b.c: Likewise.
38354 * elf/tst-auditmod6b.c: Likewise.
38355 * elf/tst-auditmod6c.c: Likewise.
38356 * elf/tst-auditmod7b.c: Likewise.
38357
38358 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38359 and x32_gnu_pltexit.
38360
38361 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38362 __ELF_NATIVE_CLASS.
38363 (La_x32_regs): New macro.
38364 (La_x32_retval): Likewise.
38365 (la_x32_gnu_pltenter): New function prototype.
38366 (la_x32_gnu_pltexit): Likewise.
38367
383682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38369
38370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38371 exponent.
38372
38373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38374
38375 * configure.in (libc_cv_cc_nofma): Check for option to disable
38376 generation of FMA instructions.
38377 * configure: Regenerate.
38378 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38379 * sysdeps/ieee754/dbl-64/Makefile: New file.
38380 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38381 Remove brandred-fma4.
38382 (CFLAGS-brandred-fma4.c): Remove.
38383 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38384 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38385 define.
38386 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38387 define.
38388
383892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38390
38391 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38392 LLONG_MAX != LONG_MAX.
38393 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38394 (_fitoa_word): Likewise.
38395 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38396 LLONG_MAX != LONG_MAX.
38397 * stdio-common/_itowa.h: Include <_itoa.h>.
38398 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38399 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38400 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38401 only if not defined.
38402 (_ITOA_WORD_TYPE): Likewise.
38403 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38404 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38405
384062012-03-21 David S. Miller <davem@davemloft.net>
38407
38408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38409
384102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38411
38412 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38413 of x86_64 when setting libc_cv_slibdir, libdir and
38414 libc_cv_localedir.
38415 * sysdeps/unix/sysv/linux/configure: Regenerated.
38416
384172012-03-21 Joseph Myers <joseph@codesourcery.com>
38418
38419 * manual/lang.texi (Old Varargs): Remove section.
38420 (How Variadic): Update menu.
38421 (va_start): Do not mention varargs.h.
38422
384232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38424 Joseph Myers <joseph@codesourcery.com>
38425
38426 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38427 link test.
38428 * configure: Regenerated.
38429
384302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38431
38432 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38433 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38434 conformtest.pl
38435
384362012-03-21 Joseph Myers <joseph@codesourcery.com>
38437
38438 * NOTES: Remove.
38439 * Makefile (files-for-dist): Remove NOTES.
38440 (NOTES): Remove rule.
38441 * README: Don't refer to NOTES.
38442 * manual/creature.texi: Don't include macros.texi.
38443 * manual/intro.texi (creature.texi): Remove comment referring to
38444 NOTES.
38445
38446 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38447 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38448 * configure: Regenerated.
38449 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38450 LIBC_TRY_CC_OPTION.
38451 (libc_cv_as_i686): Likewise.
38452 (libc_cv_cc_avx): Likewise.
38453 (libc_cv_cc_sse2avx): Likewise.
38454 (libc_cv_cc_fma4): Likewise.
38455 (libc_cv_cc_novzeroupper): Likewise.
38456 * sysdeps/i386/configure: Regenerated.
38457
38458 [BZ #13883]
38459 * sysdeps/i386/fpu/s_cexp.S: Remove.
38460 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38461 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38462 * math/libm-test.inc (cexp_test): Add more tests.
38463 * sysdeps/i386/fpu/libm-test-ulps: Update.
38464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38465
384662012-03-21 Allan McRae <allan@archlinux.org>
38467
38468 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38469
384702012-03-21 Joseph Myers <joseph@codesourcery.com>
38471
38472 [BZ #13871]
38473 * math/w_exp2.c: Do not include <float.h>.
38474 (o_threshold, u_threshold): Remove.
38475 (__exp2): Calculate result before checking finiteness and calling
38476 __kernel_standard.
38477 * math/w_exp2f.c: Likewise.
38478 * math/w_exp2l.c: Likewise.
38479 * math/libm-test.inc (exp2_test): Require overflow exception for
38480 1e6 input.
38481
38482 [BZ #3866]
38483 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38484 range of signed 64-bit integers before using fistpll. Remove
38485 checks for whether integers fit in mantissa bits.
38486 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38487 the range of signed 32-bit integers before using fistpl. Remove
38488 checks for whether integers fit in mantissa bits.
38489 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38490 (__ieee754_powl): Test for y outside the range of signed 64-bit
38491 integers before using fistpll. Reduce 64-bit values to 63-bit
38492 ones as needed.
38493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38494 divide-by-zero is raised for zero to large negative powers.
38495 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38496 (__ieee754_powl): Test for y outside the range of signed 64-bit
38497 integers before using fistpll. Reduce 64-bit values to 63-bit
38498 ones as needed.
38499 * math/libm-test.inc (pow_test): Add more tests.
38500
385012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38502
38503 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38504 <stdio-common/_itoa.h>.
38505 * debug/segfault.c: Likewise.
38506 * elf/dl-cache.c: Likewise.
38507 * elf/dl-minimal.c: Likewise.
38508 * elf/dl-misc.c: Likewise.
38509 * elf/dl-sysdep.c: Likewise.
38510 * elf/dl-version.c: Likewise.
38511 * elf/rtld.c: Likewise.
38512 * hurd/hurdsock.c: Likewise.
38513 * hurd/lookup-retry.c: Likewise.
38514 * malloc/malloc.c: Likewise.
38515 * malloc/mtrace.c: Likewise.
38516 * nscd/nscd_getgr_r.c: Likewise.
38517 * nscd/nscd_getpw_r.c: Likewise.
38518 * nscd/nscd_getserv_r.c: Likewise.
38519 * posix/getopt_init.c: Likewise.
38520 * posix/wordexp.c: Likewise.
38521 * stdio-common/_itoa.c: Likewise.
38522 * stdio-common/printf_fphex.c: Likewise.
38523 * stdio-common/vfprintf.c: Likewise.
38524 * string/_strerror.c: Likewise.
38525 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38526 * sysdeps/i386/i686/hp-timing.h: Likewise.
38527 * sysdeps/mach/_strerror.c: Likewise.
38528 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38529 * sysdeps/mach/hurd/sethostid.c: Likewise.
38530 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38531 * sysdeps/mach/xpg-strerror.c: Likewise.
38532 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38533 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38534 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38535 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38536 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38537 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38538 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38539 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38540 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38541 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38542 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38543 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38544 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38545 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38546 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38547 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38548 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38549 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38550 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38551 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38552 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38553
38554 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38555
38556 * stdio-common/_itoa.h: Moved to ...
38557 * sysdeps/generic/_itoa.h: Here.
38558
38559 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38560
38561 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38562 instead of "_itoa.h" and "_itowa.h".
38563 * stdio-common/vfprintf.: Likewise.
38564
385652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38566
38567 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38568 <bits/wordsize.h>.
38569 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38570 (__signbit): Likwise.
38571 (llrintf): Likwise.
38572 (llrint): Likwise.
38573
385742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38575
38576 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38577 __WORDSIZE != 64.
38578
385792012-03-20 Joseph Myers <joseph@codesourcery.com>
38580
38581 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38582 OVERFLOW_EXCEPTION_OK.
38583 * math/libm-test.inc ("Philosophy"): Update comment about
38584 exception testing.
38585 (OVERFLOW_EXCEPTION): Define.
38586 (OVERFLOW_EXCEPTION_OK): Likewise.
38587 (INVALID_EXCEPTION_OK): Renumber.
38588 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38589 (IGNORE_ZERO_INF_SIGN): Likewise.
38590 (test_exceptions): Handle FE_OVERFLOW.
38591 (exp10_test): Expect overflow exceptions.
38592 (exp2_test): Likewise.
38593 (expm1_test): Likewise.
38594 (nextafter_test): Likewise.
38595 (pow_test): Likewise.
38596 (scalbn_test): Likewise.
38597 (scalbln_test): Likewise.
38598
385992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38600
38601 * sysdeps/x86_64/bits/atomic.h
38602 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38603 64bit integer.
38604 (atomic_exchange_acq): Likewise.
38605 (__arch_exchange_and_add_body): Likewise.
38606 (__arch_add_body): Likewise.
38607 (atomic_add_negative): Likewise.
38608 (atomic_add_zero): Likewise.
38609
386102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38611
38612 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38613 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38614
386152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38616
38617 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38618 Check __x86_64__ instead of __WORDSIZE.
38619
386202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38621
38622 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38623
386242012-03-19 David S. Miller <davem@davemloft.net>
38625
38626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38627
38628 * sysdeps/sparc/fpu/fenv_private.h: New file.
38629 * sysdeps/sparc/fpu/math_private.h: Use it.
38630 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38631 Remove.
38632 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38633 (libc_feholdexcept_setroundl): Remove.
38634 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38635 Remove.
38636 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38637 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38638
386392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38640
38641 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38642 int64_t instead of long int.
38643 (INSERT_WORDS64): Likwise.
38644
386452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38646
38647 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38648 _Unwind_GetCFA return to _Unwind_Ptr first.
38649
386502012-03-19 Joseph Myers <joseph@codesourcery.com>
38651
38652 [BZ #13629]
38653 * math/s_clog.c: Include <float.h>.
38654 (__clog): Scale large or subnormal inputs.
38655 * math/s_clogf.c: Likewise.
38656 * math/s_clogl.c: Likewise.
38657 * math/s_clog10.c: Include <float.h>.
38658 (M_LOG10_2): Define.
38659 (__clog10): Scale large or subnormal inputs.
38660 * math/s_clog10f.c: Likewise.
38661 * math/s_clog10l.c: Likewise.
38662 * math/libm-test.inc (clog_test): Add more tests.
38663 (clog10_test): Likewise.
38664 * sysdeps/i386/fpu/libm-test-ulps: Update.
38665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38666
38667 [BZ #11451]
38668 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38669 x and y.
38670 * math/libm-test.inc (atan2_test): Add another test.
38671
38672 * Makerules (common-objdir-compile): Remove.
38673 * sysdeps/unix/Makefile (config-generated): Do not add
38674 $(unix-generated) to variable.
38675 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38676 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38677 Remove rule.
38678 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38679 Likewise.
38680 [generic bits/local_lim.h] (before-compile): Do not append to
38681 variable.
38682 [generic bits/local_lim.h] (common-generated): Likewise.
38683 [generic sys/param.h] (before-compile): Do not append to variable.
38684 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38685 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38686 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38687 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38688 include.
38689 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38690 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38691 [generic sys/param.h] ($(addprefix
38692 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38693 [generic sys/param.h] (common-generated): Do not append to
38694 variable.
38695 [generic sys/param.h] (sysdep_headers): Likewise.
38696 [generic bits/errno.h] (before-compile): Do not append to
38697 variable.
38698 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38699 rule.
38700 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38701 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38702 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38703 [generic bits/errno.h] (common-generated): Do not append to
38704 variable.
38705 [generic bits/ioctls.h] (before-compile): Do not append to
38706 variable.
38707 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38708 rule.
38709 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38710 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38711 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38712 rule.
38713 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38714 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38715 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38716 [generic bits/ioctls.h] (common-generated): Do not append to
38717 variable.
38718 [generic sys/syscall.h] (syscall.h): Remove variable.
38719 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38720 rule.
38721 [generic sys/syscall.h] (before-compile): Do not append to
38722 variable.
38723 [generic sys/syscall.h] (common-generated): Likewise.
38724 * sysdeps/unix/errnos-tmpl.c: Remove file.
38725 * sysdeps/unix/errnos.awk: Likewise.
38726 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38727 * sysdeps/unix/ioctls.awk: Likewise.
38728 * sysdeps/unix/mk-local_lim.c: Likewise.
38729 * sysdeps/unix/snarf-ioctls: Likewise.
38730
387312012-03-19 Richard Henderson <rth@twiddle.net>
38732
38733 * sysdeps/i386/fpu/fenv_private.h: New file.
38734 * sysdeps/i386/fpu/math_private.h: Use it.
38735 (math_opt_barrier, math_force_eval): Remove.
38736 (libc_feholdexcept_setround_53bit): Remove.
38737 (libc_feupdateenv_53bit): Remove.
38738 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38739 (math_opt_barrier, math_force_eval): Remove.
38740 (libc_feholdexcept): Remove.
38741 (libc_feholdexcept_setround): Remove.
38742 (libc_fetestexcept, libc_fesetenv): Remove.
38743 (libc_feupdateenv_test): Remove.
38744 (libc_feupdateenv, libc_feholdsetround): Remove.
38745 (libc_feresetround): Remove.
38746
38747 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38748 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38749
38750 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38751 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38752 (libc_feupdateenv_testl): New.
38753 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38754 (libc_feupdateenv_testf): New.
38755 (libc_feupdateenv): Use libc_feupdateenv_test.
38756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38758
38759 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38760 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38761 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38762 (libc_feresetround_noex): New.
38763 (libc_feresetround_noexf): New.
38764 (libc_feresetround_noexl): New.
38765 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38766 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38767 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38768 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38769 SET_RESTORE_ROUND.
38770 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38771 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38772 (__cos): Likewise.
38773 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38775 SET_RESTORE_ROUND_NOEX.
38776 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38777 SET_RESTORE_ROUND_NOEXF.
38778 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38779 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38780 (libc_feholdsetroundf): New.
38781 (libc_feresetround, libc_feresetroundf): New.
38782
38783 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38784 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38785 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38786
38787 * sysdeps/generic/math_private.h: Include <fenv.h>.
38788 (default_libc_feholdexcept): New.
38789 (default_libc_feholdexcept_setround): New.
38790 (default_libc_fesetenv, default_libc_feupdateenv): New.
38791 (libc_feholdexcept): Only define if undefined.
38792 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38793 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38794 (libc_feholdexcept_setroundl): Likewise.
38795 (libc_feholdexcept_setround_53bit): Likewise.
38796 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38797 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38798 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38799 (libc_feupdateenv_53bit): Likewise.
38800 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38801 (libc_feholdexcept): Convert from macro to inline function.
38802 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38803 (libc_fesetenv, libc_feupdateenv): Likewise.
38804
38805 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38806 not previously defined.
38807 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38808 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38809 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38810 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38811 * sysdeps/ieee754/flt-32/math_private.h: New file.
38812 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38813 math_private.h below SET_FLOAT_WORD.
38814 (__isnan, __isinf_ns, __finite): Remove.
38815 (__isnanf, __isinf_nsf, __finitef): Remove.
38816
388172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38818
38819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38820
388212012-03-17 David S. Miller <davem@davemloft.net>
38822
38823 [BZ #6471]
38824 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38825 for 2.16.
38826
388272012-03-16 David S. Miller <davem@davemloft.net>
38828
38829 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38830 warnings.
38831
38832 [BZ #6471]
38833 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38834 properly.
38835 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38836 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38837 sysdep_routines when subdir is sysvipc.
38838 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38839 __getshmlba helper.
38840
38841 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38842
388432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38844
38845 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38846 [__LP64__].
38847
388482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38849
38850 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38851 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38852 (__lround): Renamed to ...
38853 (__llround): This. Replace long int with long long int.
38854 Define lround functions as aliases of llround functions.
38855 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38856
388572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38858
38859 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38860 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38861 adresses to uintptr_t. Replace "long int" and "unsigned long
38862 int" with "greg_t" on va_arg.
38863
388642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38865
38866 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38867 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38868
38869 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38870 Move e_machine check before EI_CLASS check. Handle x32
38871 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38872 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38873 SKIP_EM_IA_64 and include
38874 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38875
38876 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38877 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38878 (add_system_dir): New macro.
38879
38880 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38881 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38882
388832012-03-16 Joseph Myers <joseph@codesourcery.com>
38884
38885 [BZ #2551]
38886 [BZ #2552]
38887 [BZ #2553]
38888 [BZ #2554]
38889 [BZ #2562]
38890 [BZ #2563]
38891 [BZ #2565]
38892 [BZ #2566]
38893 [BZ #2576]
38894 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38895 (y0): Likewise.
38896 * math/w_j0f.c (j0f): Likewise.
38897 (y0f): Likewise.
38898 * math/w_j0l.c (__j0l): Likewise.
38899 (__y0l): Likewise.
38900 * math/w_j1.c (j1): Likewise.
38901 (y1): Likewise.
38902 * math/w_j1f.c (j1f): Likewise.
38903 (y1f): Likewise.
38904 * math/w_j1l.c (__j1l): Likewise.
38905 (__y1l): Likewise.
38906 * math/w_jn.c (jn): Likewise.
38907 (yn): Likewise.
38908 * math/w_jnf.c (jnf): Likewise.
38909 (ynf): Likewise.
38910 * math/w_jnl.c (__jnl): Likewise.
38911 (__ynl): Likewise.
38912 * math/libm-test.inc (j0_test): Add more tests.
38913 (j1_test): Likewise.
38914 (jn_test): Likewise. Add trailing semicolon to existing test.
38915 (y0_test): Likewise.
38916 (y1_test): Likewise.
38917 * sysdeps/i386/fpu/libm-test-ulps: Update.
38918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38919
38920 [BZ #13851]
38921 [BZ #13854]
38922 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38923 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38924 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38926 (__tanl): Set errno for infinite argument.
38927 * sysdeps/i386/fpu/mptan.c: Remove.
38928 * sysdeps/i386/fpu/s_tan.S: Likewise.
38929 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38930 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38931 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38932 * math/libm-test.inc (tan_test): Add more tests and enable more
38933 tests for double and long double.
38934 * sysdeps/i386/fpu/libm-test-ulps: Update.
38935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38936
389372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38938
38939 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38940 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38941
389422012-03-16 Roland McGrath <roland@hack.frob.com>
38943
38944 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38945 * configure.in: Use it for both main tree and add-ons.
38946 * configure: Regenerated.
38947
389482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38949
38950 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38951
389522012-03-16 Joseph Myers <joseph@codesourcery.com>
38953
38954 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38955 in comment.
38956
38957 [BZ #13851]
38958 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38959 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38962 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38963 infinite argument.
38964 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38966 != 0 for prec == 2.
38967 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38968 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38969 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38970 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38971 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38972 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38973 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38974 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38975 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38976 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38977 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38978 * math/libm-test.inc (cos_test): Add more tests and enable more
38979 tests for long double.
38980 (sin_test): Likewise.
38981 (sincos_test): Likewise.
38982 * sysdeps/i386/fpu/libm-test-ulps: Update.
38983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38984
389852012-03-16 David S. Miller <davem@davemloft.net>
38986
38987 * sysdeps/sparc/fpu/math_private.h: New file.
38988
389892012-03-15 David S. Miller <davem@davemloft.net>
38990
38991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38992 file.
38993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38995 file.
38996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39001 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39002 sysdep routines.
39003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39004
39005 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39006 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39007
39008 * sysdeps/sparc/sparc-ifunc.h: New file.
39009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39010 sparc-ifunc.h
39011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39013 Likewise.
39014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39015 Likewise.
39016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39020 Likewise.
39021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39026 Likewise.
39027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39028 Likewise.
39029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39048 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39050 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39053
390542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39055
39056 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39057 scaling.
39058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39059
390602012-03-15 Andreas Jaeger <aj@suse.de>
39061
39062 [BZ #13852]
39063 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39064 ieee754/flt-32 implementation for sin, cos and sincos.
39065 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39066 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39067 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39068 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39069 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39070 ieee754/flt-32 implementation for tan.
39071
39072 * math/libm-test.inc (cos_test): Enable some large input tests for
39073 float as well
39074 (sin_test): Likewise.
39075 (sincos_test): Likewise.
39076 (tan_test): Add tests for large input.
39077
39078 * sysdeps/i386/fpu/libm-test-ulps: Update.
39079
390802012-03-15 Andreas Jaeger <aj@suse.de>
39081
39082 [BZ #13658]
39083 * math/libm-test.inc (cos_test): Add more test cases.
39084 (sin_test): Likewise.
39085 (sincos_test): Likewise.
39086
390872012-03-15 Andreas Jaeger <aj@suse.de>
39088
39089 [BZ #13837]
39090 * math/libm-test.inc (cos_test): Add a test case for large input
39091 value.
39092 (sin_test): Likewise.
39093 (sincos_test): Likewise.
39094
390952012-03-15 Andreas Jaeger <aj@suse.de>
39096 Joseph Myers <joseph@codesourcery.com>
39097
39098 [BZ #13658]
39099 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39100 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39101 * sysdeps/i386/fpu/branred.c: Likewise.
39102 * sysdeps/i386/fpu/dosincos.c: Likewise.
39103 * sysdeps/i386/fpu/mpa.c: Likewise.
39104 * sysdeps/i386/fpu/s_cos.S: Likewise.
39105 * sysdeps/i386/fpu/s_sin.S: Likewise.
39106 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39107 * sysdeps/i386/fpu/sincos32.c: Likewise.
39108
39109 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39110 Define.
39111 (libc_feupdateenv_53bit): Define.
39112 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39113 Define.
39114 (libc_feupdateenv_53bit): Define.
39115
39116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39117 53 bit (without extend i386 double precision).
39118
39119 * math/libm-test.inc (sincos_test): Add tests for large input.
39120 (sin): Likewise.
39121 (cos): Likewise.
39122
39123 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39124
391252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39126
39127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39128
391292012-03-15 David S. Miller <davem@davemloft.net>
39130
39131 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39132 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39133 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39134 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39147 file.
39148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39150 file.
39151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39153 file.
39154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39156 file.
39157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39159 fmin/fmax sysdep routines.
39160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39161
391622012-03-14 David S. Miller <davem@davemloft.net>
39163
39164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39193 routines.
39194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39195 file.
39196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39198 file.
39199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39201 file.
39202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39204 file.
39205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39207 file.
39208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39210 file.
39211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39212 file.
39213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39214 file.
39215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39216 file.
39217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39218 New file.
39219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39220 file.
39221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39222 file.
39223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39225 file.
39226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39228 file.
39229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39231 file.
39232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39234 VIS3 routines.
39235
39236 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39237 New file.
39238
39239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39240
39241 * sysdeps/sparc/configure.in: New file.
39242 * sysdeps/sparc/configure: Generate.
39243 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39244 * configure: Regenerate.
39245 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39246 * config.make.in (have-as-vis3): New.
39247 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39248 available use -Av9d instead of -Av9a.
39249 * sysdeps/sparc/sparc64/Makefile: Likewise.
39250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39252 New file.
39253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39254 file.
39255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39256 New file.
39257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39258 file.
39259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39264
39265 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39266 fzeros/fnegs to load 0x80000000 into a float register instead of
39267 using the stack.
39268 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39269
392702012-03-14 Joseph Myers <joseph@codesourcery.com>
39271
39272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39273 bits/syscall.h.
39274 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39275 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39276 ($(inst_includedir)/bits/syscall.h): Remove rule.
39277 ($(objpfx)bits/syscall.d): Include instead of
39278 $(objpfx)syscall-list.d.
39279 (generated): Change syscall-list.h and syscall-list.d to
39280 bits/syscall.h and bits/syscall.d.
39281
392822012-03-14 Roland McGrath <roland@hack.frob.com>
39283
39284 [BZ #13846]
39285 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39286
392872012-03-14 Joseph Myers <joseph@codesourcery.com>
39288
39289 [BZ #13841]
39290 * math/s_csqrt.c: Include <float.h>.
39291 (__csqrt): Scale large or subnormal inputs.
39292 * math/s_csqrtf.c: Likewise.
39293 * math/s_csqrtl.c: Likewise.
39294 * math/libm-test.inc (csqrt_test): Add more tests.
39295 * sysdeps/i386/fpu/libm-test-ulps: Update.
39296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39297
39298 [BZ #13840]
39299 * math/libm-test.inc (hypot_test): Add more tests.
39300
393012012-03-13 David S. Miller <davem@davemloft.net>
39302
39303 [BZ #13840]
39304 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39305 double-precision for the calculation instead of scaling.
39306
393072012-03-13 Joseph Myers <joseph@codesourcery.com>
39308
39309 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39310 manipulate bits before adding and subtracting TWO52[sx].
39311 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39313 Likewise.
39314 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39315
393162012-03-13 David S. Miller <davem@davemloft.net>
39317
39318 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39319 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39321 rtld-global-offsets.h
39322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39323
39324 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39325 large parameters.
39326
39327 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39328
39329 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39330 'err' in the ifdef scope in which it is actually used.
39331
39332 * nss/nss_db/db-init.c: Include string.h
39333
393342012-03-12 David S. Miller <davem@davemloft.net>
39335
39336 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39337 masking out of the most significant byte of random value used.
39338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39339 Fix coding style in previous change.
39340
39341 * sysdeps/unix/sysv/linux/kernel-features.h
39342 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39343 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39344 expression.
39345 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39346 later.
39347
393482012-03-11 David S. Miller <davem@davemloft.net>
39349
39350 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39351 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39353 for 'resultvar' otherwise things get truncated on 64-bit.
39354
39355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39356 Fix masking out of the most significant byte of random value used.
39357
39358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39359
393602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39361
39362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39363
393642012-03-09 David S. Miller <davem@davemloft.net>
39365
39366 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39367 variables with appropriate CPP guards.
39368 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39369 from the frame pointer, not the stack pointer. Correct layout
39370 comments. Fix test on resulting framesize and the management of
39371 the outregs buffer for pltexit. Preserve floating point return
39372 values across _dl_call_pltexit call.
39373 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39374 framesize and the management of the outregs buffer for pltexit.
39375 Preserve floating point return values across _dl_call_pltexit
39376 call.
39377 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39378 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39379 (la_sparc64_gnu_pltexit): New functions.
39380 (print_exit): Fix format string for return register value.
39381
393822012-03-10 Joseph Myers <joseph@codesourcery.com>
39383
39384 * sunrpc/Makefile (others): Add rpcgen.
39385 ($(objpfx)rpcgen): Remove special build rule and dependency on
39386 libc.
39387 * sunrpc/rpcgen.c: New file.
39388
393892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39390
39391 [BZ #13673]
39392 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39393 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39394 * sysdeps/i386/crti.S: Likewise.
39395 * sysdeps/i386/crtn.S: Likewise.
39396 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39397 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39398 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39399 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39400 * sysdeps/sh/crti.S: Likewise.
39401 * sysdeps/sh/crtn.S: Likewise.
39402 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39403
39404 [BZ #13673]
39405 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39406 with URL.
39407 * locale/programs/locfile-kw.gperf: Likewise.
39408 * locale/programs/charmap-kw.h: Regenerated.
39409 * locale/programs/locfile-kw.h: Likewise.
39410
39411 [BZ #13673]
39412 * intl/plural.y: Replace FSF snail mail address with URL.
39413 * intl/plural.c: Regenerated.
39414
394152012-03-09 Richard Henderson <rth@twiddle.net>
39416
39417 * include/math_private.h: Remove file.
39418 * math/math_private.h: Move file ...
39419 * sysdeps/generic/math_private.h: ... here.
39420
39421 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39422 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39423 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39424
39425 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39426 and <math_private.h>.
39427 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39428 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39429 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39430 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39431 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39438 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39441 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39443 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39445 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39446 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39448 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39449 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39451 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39452 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39453 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39454 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39457 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39460 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39461 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39466 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39468 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39473 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39474 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39475 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39476 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39477 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39478 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39479 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39480 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39481 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39482 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39484 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39485 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39486 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39490 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39491 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39492 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39494 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39495 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39496 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39497 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39498 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39499 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39500 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39501 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39506 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39507 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39508 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39509 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39514 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39515 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39517 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39518 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39520 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39521 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39522 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39523 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39524 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39525 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39526 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39527 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39528 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39529 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39530 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39531 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39532 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39533 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39534 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39535 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39536 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39537 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39538 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39539 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39540 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39541 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39542 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39543 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39544 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39545 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39546 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39547 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39548 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39550 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39551 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39552 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39553 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39554 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39555 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39556 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39557 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39558 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39559 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39560 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39561 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39562 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39563 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39564 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39565 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39566 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39568 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39569 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39570 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39571 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39572 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39573 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39574 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39575 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39576 * sysdeps/ieee754/k_standard.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39603 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39604 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39607 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39608 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39609 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39610 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39611 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39612 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39613 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39626 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39627 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39628 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39629 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39630 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39634 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39637 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39638 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39641 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39643 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39649 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39650 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39651 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39653 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39654 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39655 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39657 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39660 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39662 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39667 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39668 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39670 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39672 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39676 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39679 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39680 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39681 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39682 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39684 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39685 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39689 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39691 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39692 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39696 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39697 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39698 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39699 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39700 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39701 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39702 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39703 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39704 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39705 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39706 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39707 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39708 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39709 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39710 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39711 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39712 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39713 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39714 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39715 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39716 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39717 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39718 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39719 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39720 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39721 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39722 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39723 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39724 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39725 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39726 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39727 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39728 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39729 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39730 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39731 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39732 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39733 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39734 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39735 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39736 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39737 * sysdeps/ieee754/s_lib_version.c: Likewise.
39738 * sysdeps/ieee754/s_matherr.c: Likewise.
39739 * sysdeps/ieee754/s_signgam.c: Likewise.
39740 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39741 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39742 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39743 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39744 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39745 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39746 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39747 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39748 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39749 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39750 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39751 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39752 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39753 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39754 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39755 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39756 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39757 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39758 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39761
397622012-03-09 Joseph Myers <joseph@codesourcery.com>
39763
39764 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39765 * sunrpc/rpc_main.c: Likewise.
39766 * sunrpc/rpc_svcout.c: Likewise.
39767
397682012-03-09 David S. Miller <davem@davemloft.net>
39769
39770 * include/math_private.h: New file.
39771
397722012-03-09 Joseph Myers <joseph@codesourcery.com>
39773
39774 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39775 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39776 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39777 from <bits/socket_type.h>.
39778 (enum __socket_type): Don't define here.
39779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39781 bits/socket_type.h.
39782
39783 [BZ #13566]
39784 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39785 checking __USE_GNU.
39786
39787 * Makerules ($(inst_includedir)/%.h): New rule.
39788 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39789 (install-others): Remove variable setting.
39790 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39791
397922012-03-08 Richard Henderson <rth@twiddle.net>
39793
39794 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39795 from macro to inline function; merge with the
39796 !__LIBC_INTERNAL_MATH_INLINES version.
39797 (__ieee754_sqrtf): Likewise.
39798
39799 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39800 to inline function.
39801 (__rintf, __floor, __floorf): Likewise.
39802
39803 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39804 macro to inline function.
39805 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39806
39807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39808 not <math/math_private.h>.
39809
398102012-03-08 David S. Miller <davem@davemloft.net>
39811
39812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39813 copyright year.
39814 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39815
398162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39817
39818 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39819 normalization.
39820 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39821 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39822
398232012-03-08 Ulrich Drepper <drepper@gmail.com>
39824
39825 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39826 be defined individually, they must be defined as a block. Define
39827 S for printing a string instead of hidint the different by using a
39828 macro for adding the 'l'.
39829 * stdio-common/tst-fphex-wide.c: Adjust.
39830
398312012-03-07 Marek Polacek <polacek@redhat.com>
39832
39833 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39834
398352012-03-08 Marek Polacek <polacek@redhat.com>
39836
39837 [BZ #13806]
39838 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39839 * stdio-common/tst-fphex.c: Define a few macros to make the
39840 test reusable. Use them.
39841 * stdio-common/tst-fphex-wide.c: New file.
39842
398432012-03-08 Joseph Myers <joseph@codesourcery.com>
39844
39845 [BZ #6911]
39846 * manual/macros.texi (gnusystems): New macro.
39847 (nongnusystems): Likewise.
39848 (gnulinuxhurdsystems): Likewise.
39849 (gnuhurdsystems): Likewise..
39850 (gnulinuxsystems): Likewise.
39851 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39852 variants of the GNU system, not "GNU system".
39853 * manual/conf.texi: Likewise.
39854 * manual/errno.texi: Likewise. Update example of errno macro
39855 expansion.
39856 * manual/filesys.texi: Likewise.
39857 (getumask): Document as specific to GNU/Hurd.
39858 * manual/install.texi: Likewise. Reword some references to
39859 GNU/Linux.
39860 * manual/intro.texi: Likewise.
39861 * manual/io.texi: Likewise.
39862 (File Name Portability): Detail which constraints are inapplicable
39863 to all GNU systems and which are only inapplicable to GNU/Hurd.
39864 * manual/job.texi: Likewise.
39865 * manual/llio.texi: Likewise.
39866 (O_NOCTTY): Document as present on GNU/Linux.
39867 * manual/maint.texi: Likewise.
39868 * manual/memory.texi: Likewise.
39869 * manual/pattern.texi: Likewise.
39870 * manual/pipe.texi: Likewise.
39871 * manual/process.texi: Likewise.
39872 * manual/resource.texi: Likewise.
39873 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39874 child on GNU/Hurd.
39875 * manual/setjmp.texi: Likewise.
39876 * manual/signal.texi: Likewise.
39877 * manual/startup.texi: Likewise.
39878 * manual/stdio.texi: Likewise.
39879 * manual/terminal.texi: Likewise.
39880 (ONLCR): Document as POSIX.
39881 (OXTABS): Document availability on GNU/Linux as XTABS.
39882 (ONOEOT): Document availability separately from other bits.
39883 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39884 * manual/time.texi: Likewise.
39885 * manual/users.texi: Likewise.
39886 * INSTALL: Regenerated.
39887 * sysdeps/gnu/errlist.c: Regenerated.
39888
39889 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39890 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39891 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39892 puts.
39893 * configure: Regenerated.
39894
398952012-03-07 Joseph Myers <joseph@codesourcery.com>
39896
39897 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39898 default includes instead of AC_HEADER_CHECK.
39899 * sysdeps/i386/configure: Regenerated.
39900
39901 [BZ #10716]
39902 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39903 * math/s_cacoshf.c (__cacoshf): Likewise.
39904 * math/s_cacoshl.c (__cacoshl): Likewise.
39905 * math/s_casinh.c (__casinh): Set signs of result from argument.
39906 * math/s_casinhf.c (__casinhf): Likewise.
39907 * math/s_casinhl.c (__casinhl): Likewise.
39908 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39909 (casinh_test): Add more tests.
39910 * sysdeps/i386/fpu/libm-test-ulps: Update.
39911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39912
399132012-03-07 Ulrich Drepper <drepper@gmail.com>
39914
39915 * po/zh_TW.po: Update from translation team.
39916
39917 * login/Makefile (distribute): Remove variable.
39918 * catgets/Makefile: Likewise.
39919 * mach/Makefile: Likewise.
39920 * malloc/Makefile: Likewise.
39921 * misc/Makefile: Likewise.
39922 * iconv/Makefile: Likewise.
39923 * nscd/Makefile: Likewise.
39924 * hurd/Makefile: Likewise.
39925 * manual/Makefile: Likewise.
39926 * locale/Makefile: Likewise.
39927 * intl/Makefile: Likewise.
39928 * conform/Makefile: Likewise.
39929 * nss/Makefile: Likewise.
39930 * time/Makefile: Likewise.
39931 * soft-fp/Makefile: Likewise.
39932 * dirent/Makefile: Likewise.
39933 * gmon/Makefile: Likewise.
39934 * po/Makefile: Likewise.
39935 * rt/Makefile: Likewise.
39936 * socket/Makefile: Likewise.
39937 * math/Makefile: Likewise.
39938 * signal/Makefile: Likewise.
39939 * debug/Makefile: Likewise.
39940 * elf/Makefile: Likewise.
39941 * timezone/Makefile: Likewise.
39942 * stdlib/Makefile: Likewise.
39943 * iconvdata/Makefile: Likewise.
39944 * sunrpc/Makefile: Likewise.
39945 * io/Makefile: Likewise.
39946 * argp/Makefile: Likewise.
39947 * inet/Makefile: Likewise.
39948 * hesiod/Makefile: Likewise.
39949 * grp/Makefile: Likewise.
39950 * csu/Makefile: Likewise.
39951 * wctype/Makefile: Likewise.
39952 * crypt/Makefile: Likewise.
39953 * libio/Makefile: Likewise.
39954 * string/Makefile: Likewise.
39955 * nis/Makefile: Likewise.
39956 * resolv/Makefile: Likewise.
39957 * stdio-common/Makefile: Likewise.
39958 * wcsmbs/Makefile: Likewise.
39959 * dlfcn/Makefile: Likewise.
39960 * posix/Makefile: Likewise.
39961
39962 [BZ #6959]
39963 * timezone/Makefile: Don't install timezone files, just the programs
39964 and scripts.
39965
399662012-03-06 Ulrich Drepper <drepper@gmail.com>
39967
39968 * nss/databases.def: Add missing gshadow entry.
39969
39970 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39971
399722012-03-06 Marek Polacek <polacek@redhat.com>
39973
39974 [BZ #13726]
39975 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39976 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39977 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39978 * stdio-common/tst-long-dbl-fphex.c: New file.
39979
399802012-03-06 David S. Miller <davem@davemloft.net>
39981
39982 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39983 (set_obp_int): New function.
39984 (get_obp_int): New function.
39985 (__get_clockfreq_via_dev_openprom): Likewise.
39986 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39987 Avoid unused variable warnings on 'val' and use builtin_expect.
39988 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39989 __builtin_expect.
39990 (INLINE_CLONE_SYSCALL): Likewise.
39991
399922012-03-05 David S. Miller <davem@davemloft.net>
39993
39994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39995
399962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39997
39998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39999
40000 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40001 only for |x| >= 40.
40002 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40003
400042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40005
40006 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40007 Replace gettimeofday with __vdso_gettimeofday.
40008
40009 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40010 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40011 __vdso_clock_gettime and __vdso_getcpu.
40012
40013 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40014 time with __vdso_time.
40015
400162012-03-05 Joseph Myers <joseph@codesourcery.com>
40017
40018 * manual/lang.texi (size_t): Note types to which size_t may be
40019 equivalent with the GNU C Library, but do not describe when
40020 differences between them are significant.
40021
400222012-03-05 Andreas Jaeger <aj@suse.de>
40023
40024 * sysdeps/i386/fpu/libm-test-ulps: Update.
40025
400262012-03-05 Joseph Myers <joseph@codesourcery.com>
40027
40028 [BZ #3976]
40029 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40030 (__ieee754_pow): Save and restore rounding mode and use
40031 round-to-nearest for main computations.
40032 * math/libm-test.inc (pow_test_tonearest): New function.
40033 (pow_test_towardzero): Likewise.
40034 (pow_test_downward): Likewise.
40035 (pow_test_upward): Likewise.
40036 (main): Call the new functions.
40037 * sysdeps/i386/fpu/libm-test-ulps: Update.
40038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40039
40040 [BZ #3976]
40041 * math/libm-test.inc (cosh_test_tonearest): New function.
40042 (cosh_test_towardzero): Likewise.
40043 (cosh_test_downward): Likewise.
40044 (cosh_test_upward): Likewise.
40045 (sinh_test_tonearest): Likewise.
40046 (sinh_test_towardzero): Likewise.
40047 (sinh_test_downward): Likewise.
40048 (sinh_test_upward): Likewise.
40049 (main): Call the new functions.
40050 * sysdeps/i386/fpu/libm-test-ulps: Update.
40051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40052
400532012-03-05 Tom de Vries <tom@codesourcery.com>
40054
40055 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40056 default stack guard is set in last bytes.
40057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40058
400592012-03-05 Kees Cook <keescook@chromium.org>
40060
40061 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40062
40063 [BZ #13656]
40064 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40065 possibly allocate from heap instead of stack.
40066 * stdio-common/bug-vfprintf-nargs.c: New file.
40067 * stdio-common/Makefile (tests): Add nargs overflow test.
40068
400692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40070
40071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40072
400732012-03-03 Marek Polacek <polacek@redhat.com>
40074
40075 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40076 * math/math_private.h: Likewise.
40077 * stdlib/tst-strtod.c: Likewise.
40078 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40079 * sysdeps/x86_64/bits/atomic.h: Likewise.
40080
400812012-03-02 David S. Miller <davem@davemloft.net>
40082
40083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40087 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40088 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40089 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40090 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40091
400922012-03-02 Roland McGrath <roland@hack.frob.com>
40093
40094 [BZ #13792]
40095 * manual/examples/README: New file, says the example source files
40096 can be used under GPL>=2.
40097 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40098 line containing just "*/".
40099 * manual/examples/add.c: Add copyright header (GPL>=2).
40100 * manual/examples/argp-ex1.c: Likewise.
40101 * manual/examples/argp-ex2.c: Likewise.
40102 * manual/examples/argp-ex3.c: Likewise.
40103 * manual/examples/argp-ex4.c: Likewise.
40104 * manual/examples/atexit.c: Likewise.
40105 * manual/examples/db.c: Likewise.
40106 * manual/examples/dir.c: Likewise.
40107 * manual/examples/dir2.c: Likewise.
40108 * manual/examples/execinfo.c: Likewise.
40109 * manual/examples/filecli.c: Likewise.
40110 * manual/examples/filesrv.c: Likewise.
40111 * manual/examples/fmtmsgexpl.c: Likewise.
40112 * manual/examples/genpass.c: Likewise.
40113 * manual/examples/inetcli.c: Likewise.
40114 * manual/examples/inetsrv.c: Likewise.
40115 * manual/examples/isockad.c: Likewise.
40116 * manual/examples/longopt.c: Likewise.
40117 * manual/examples/memopen.c: Likewise.
40118 * manual/examples/memstrm.c: Likewise.
40119 * manual/examples/mkfsock.c: Likewise.
40120 * manual/examples/mkisock.c: Likewise.
40121 * manual/examples/mygetpass.c: Likewise.
40122 * manual/examples/pipe.c: Likewise.
40123 * manual/examples/popen.c: Likewise.
40124 * manual/examples/rprintf.c: Likewise.
40125 * manual/examples/search.c: Likewise.
40126 * manual/examples/select.c: Likewise.
40127 * manual/examples/setjmp.c: Likewise.
40128 * manual/examples/sigh1.c: Likewise.
40129 * manual/examples/sigusr.c: Likewise.
40130 * manual/examples/stpcpy.c: Likewise.
40131 * manual/examples/strdupa.c: Likewise.
40132 * manual/examples/strftim.c: Likewise.
40133 * manual/examples/strncat.c: Likewise.
40134 * manual/examples/subopt.c: Likewise.
40135 * manual/examples/swapcontext.c: Likewise.
40136 * manual/examples/termios.c: Likewise.
40137 * manual/examples/testopt.c: Likewise.
40138 * manual/examples/testpass.c: Likewise.
40139 * manual/examples/timeval_subtract.c: Likewise.
40140
40141 [BZ #13792]
40142 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40143 function to ...
40144 * manual/timeval_subtract.c.texi: ... here, new file.
40145
401462012-03-02 David S. Miller <davem@davemloft.net>
40147
40148 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40149
401502012-03-02 Joseph Myers <joseph@codesourcery.com>
40151
40152 [BZ #3976]
40153 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40154 (__sin): Save and restore rounding mode and use round-to-nearest
40155 for all computations.
40156 (__cos): Save and restore rounding mode and use round-to-nearest
40157 for all computations.
40158 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40159 <fenv.h>.
40160 (tan): Save and restore rounding mode and use round-to-nearest for
40161 all computations.
40162 * math/libm-test.inc (cos_test_tonearest): New function.
40163 (cos_test_towardzero): Likewise.
40164 (cos_test_downward): Likewise.
40165 (cos_test_upward): Likewise.
40166 (sin_test_tonearest): Likewise.
40167 (sin_test_towardzero): Likewise.
40168 (sin_test_downward): Likewise.
40169 (sin_test_upward): Likewise.
40170 (tan_test_tonearest): Likewise.
40171 (tan_test_towardzero): Likewise.
40172 (tan_test_downward): Likewise.
40173 (tan_test_upward): Likewise.
40174 (main): Call the new functions.
40175 * sysdeps/i386/fpu/libm-test-ulps: Update.
40176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40177
40178 [BZ #10135]
40179 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40180 small n, then large n, before computing and testing k+n.
40181 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40183 Likewise.
40184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40185 Likewise.
40186 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40187 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40188 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40189 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40192 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40193 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40194 * math/libm-test.inc (scalbn_test): Add more tests.
40195 (scalbln_test): Likewise.
40196
40197 * manual/filesys.texi (mode_t): Describe constraints on size and
40198 signedness, not exact equivalence to a particular type.
40199 (ino_t): Likewise.
40200 (ino64_t): Likewise.
40201 (dev_t): Likewise.
40202 (nlink_t): Likewise.
40203 (blkcnt_t): Likewise.
40204 (blkcnt64_t): Likewise.
40205 * manual/llio.texi (off_t): Likewise.
40206
40207 [BZ #3976]
40208 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40209 (__ieee754_exp): Save and restore rounding mode and use
40210 round-to-nearest for all computations.
40211 * math/libm-test.inc (exp_test_tonearest): New function.
40212 (exp_test_towardzero): Likewise.
40213 (exp_test_downward): Likewise.
40214 (exp_test_upward): Likewise.
40215 (main): Call the new functions.
40216 * sysdeps/i386/fpu/libm-test-ulps: Update.
40217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40218
402192012-03-01 Chris Demetriou <cgd@google.com>
40220
40221 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40222 have predictable order.
40223
402242012-03-01 David S. Miller <davem@davemloft.net>
40225
40226 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40227
40228 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40229 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40230 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40231 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40232
40233 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40234 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40235 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40237 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40238 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40239 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40240 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40241 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40242
40243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40244
40245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40246 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40247 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40248
40249 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40250 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40251 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40252 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40253 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40254 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40256 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40257 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40258 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40259 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40262 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40263 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40265 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40266 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40267 * sysdeps/sparc/elf/configure: Regenerated.
40268
402692012-03-01 Joseph Myers <joseph@codesourcery.com>
40270
40271 * configure.in (AS, LD): Require binutils 2.20 or later.
40272 * configure: Regenerated.
40273 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40274 as required minimum version.
40275 * INSTALL: Regenerated.
40276
40277 [BZ #2541]
40278 [BZ #4108]
40279 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40280 before squaring exponent.
40281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40282 bottom long double and 27 bits of top long double before squaring
40283 exponent.
40284 * math/libm-test.inc (erfc_test): Add more tests.
40285 * sysdeps/i386/fpu/libm-test-ulps: Update.
40286 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40288
402892012-03-01 Kai Tietz <ktietz@redhat.com>
40290
40291 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40292 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40293 containing bit-fields.
40294 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40295 * soft-fp/single.h (_FP_UNION_S): Likewise.
40296 * soft-fp/double.h (_FP_UNION_D): Likewise.
40297
402982012-02-29 Joseph Myers <joseph@codesourcery.com>
40299
40300 [BZ #13786]
40301 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40302 not include ../strcmp.S.
40303 [USE_AS_STRNCASECMP_L]: Likewise.
40304 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40305 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40306 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40307 (__strncasecmp_l_ia32): Define as alias to
40308 __strncasecmp_l_nonascii.
40309
40310 [BZ #5794]
40311 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40312 * sysdeps/i386/fpu/libm-test-ulps: Update.
40313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40314
40315 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40317
403182012-02-29 Jeff Law <law@redhat.com>
40319
40320 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40321 out of bounds read.
40322
403232012-02-29 Marek Polacek <polacek@redhat.com>
40324
40325 [BZ #13706]
40326 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40327 * elf/Makefile: Add rules to run tst-unused-dep.out.
40328
403292012-02-28 David S. Miller <davem@davemloft.net>
40330
40331 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40332 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40335 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40336 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40337
403382012-02-29 Joseph Myers <joseph@codesourcery.com>
40339
40340 * math/libm-test.inc (llround_test): Move one test from
40341 lround_test. Use TEST_f_L in moved test.
40342 (lround_test): Move misplaced test to llround_test. Add testcase
40343 from bug 2561.
40344
403452012-02-28 Ulrich Drepper <drepper@gmail.com>
40346
40347 * sysdeps/x86_64/fpu/e_expf.S: New file.
40348 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40349
403502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40351
40352 [BZ #13637]
40353 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40354 of remain_len that may cause incomplete multi-byte character and
40355 false match.
40356 * posix/bug-regex33.c: New file.
40357 * posix/Makefile (tests): Add bug-regex33.
40358
403592012-02-28 Joseph Myers <joseph@codesourcery.com>
40360
40361 * manual/macros.texi: New file.
40362 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40363 * manual/libc.texinfo: Include macros.texi.
40364 * manual/creatute.texi: Likewise.
40365 * manual/install.texi: Likewise.
40366 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40367 @glibcadj{} in references to the GNU C Library.
40368 * manual/charset.texi: Likewise.
40369 * manual/conf.texi: Likewise.
40370 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40371 when not using those macros.
40372 * manual/creature.texi: Likewise.
40373 * manual/crypt.texi: Likewise.
40374 * manual/errno.texi: Likewise.
40375 * manual/filesys.texi: Likewise.
40376 * manual/header.texi: Likewise.
40377 * manual/install.texi: Likewise.
40378 * manual/intro.texi: Likewise.
40379 * manual/io.texi: Likewise.
40380 * manual/job.texi: Likewise.
40381 * manual/lang.texi: Likewise.
40382 * manual/libc.texiinfo: Likewise.
40383 * manual/llio.texi: Likewise.
40384 * manual/locale.texi: Likewise.
40385 * manual/maint.texi: Likewise.
40386 * manual/math.texi: Likewise.
40387 * manual/memory.texi: Likewise.
40388 * manual/message.texi: Likewise.
40389 * manual/nss.texi: Likewise.
40390 * manual/pattern.texi: Likewise.
40391 * manual/process.texi: Likewise.
40392 * manual/resource.texi: Likewise.
40393 * manual/search.texi: Likewise.
40394 * manual/setjmp.texi: Likewise.
40395 * manual/signal.texi: Likewise.
40396 * manual/socket.texi: Likewise.
40397 * manual/startup.texi: Likewise.
40398 * manual/stdio.texi: Likewise.
40399 * manual/string.texi: Likewise.
40400 * manual/sysinfo.texi: Likewise.
40401 * manual/syslog.texi: Likewise.
40402 * manual/terminal.texi: Likewise.
40403 * manual/time.texi: Likewise.
40404 * manual/users.texi: Likewise.
40405 * INSTALL: Regenerated.
40406 * NOTES: Regenerated.
40407 * sysdeps/gnu/errlist.c: Regenerated.
40408
404092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40410
40411 * include/dirent.h: Include <dirstream.h> before
40412 <dirent/dirent.h>.
40413
404142012-02-28 David S. Miller <davem@davemloft.net>
40415
40416 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40417 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40418 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40419 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40420
404212012-02-27 David S. Miller <davem@davemloft.net>
40422
40423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40425 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40426 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40427
40428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40429 frame pointer instead of stack pointer relative arg slot.
40430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40431 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40432 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40433
404342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40435
40436 [BZ #3992]
40437 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40438
404392012-02-27 David S. Miller <davem@davemloft.net>
40440
40441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40445 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40446 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40447 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40448 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40449
404502012-02-27 Joseph Myers <joseph@codesourcery.com>
40451
40452 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40453 later. Allow versions 5-9.
40454 * configure: Regenerated.
40455 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40456 required minimum version and 4.6 as recommended version. Do not
40457 mention bugs in GCC 2.7 and 2.8.
40458 * INSTALL: Regenerated.
40459
404602012-02-27 David S. Miller <davem@davemloft.net>
40461
40462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40466 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40467 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40468 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40469 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40470
40471 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40472 manipulate bits before adding and subtracting TWO112[sx].
40473 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40474
404752012-02-27 Roland McGrath <roland@hack.frob.com>
40476
40477 [BZ #13775]
40478 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40479 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40480 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40481 being in POSIX, because they are in 1003.1-2008.
40482
40483 * rt/tst-aio.c: Include <fcntl.h>.
40484 * rt/tst-aio7.c: Likewise.
40485 * rt/tst-aio64.c: Likewise.
40486
40487 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40488
404892012-02-27 Joseph Myers <joseph@codesourcery.com>
40490
40491 * manual/install.texi (--with-headers): Describe headers as
40492 interface headers, not private headers.
40493 (Specific advice for GNU/Linux systems): Describe use of headers
40494 from "make headers_install", not private headers from older
40495 kernels.
40496 * INSTALL: Regenerated.
40497 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40498 Change to 2.6.19.
40499 * sysdeps/unix/sysv/linux/configure: Regenerated.
40500
40501 * manual/llio.texi (fclean): Remove documentation.
40502
40503 * manual/Makefile (libc-texi-generated): New variable. Include
40504 version.texi.
40505 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40506 $(libc-texi-generated), not duplicated list of files.
40507 (version.texi, stamp-version): New rules.
40508 (realclean): Remove $(libc-texi-generated), not individual files
40509 from that list. Do not remove dir-add.texinfo.
40510 * manual/libc.texinfo: Comment out uses of edition numbers and
40511 references to printed manual. Remove last-updated dates.
40512 (EDITION): Comment out.
40513 (ISBN): Likewise.
40514 (VERSION, UPDATED): Remove.
40515 (version.texi): Include.
40516
405172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40518
40519 * sysdeps/posix/spawni.c: Include <signal.h>.
40520 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40521 * sysdeps/pthread/aio_fsync.c: Likewise.
40522
405232012-02-26 Ulrich Drepper <drepper@gmail.com>
40524
40525 * conform/Makefile (tests): Run only when not cross-compiling and
40526 when fast-check is not defined.
40527
40528 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40529 * conform/data/limits.h-data: Fixes for POSIX2008.
40530 * conform/run-conformtest.sh: Run all tests.
40531 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40532 headers.
40533 * include/bits/dlfcn.h: Likewise.
40534 * include/langinfo.h: Likewise.
40535 * include/monetary.h: Likewise.
40536 * include/sys/poll.h: Likewise.
40537
40538 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40539 for __USE_GNU.
40540 * posix/spawn.h: Define __need_sigset_t.
40541 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40542 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40543 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40544 to get sigevent_t only.
40545 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40546 only for __USE_GNU.
40547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40548 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40549 process_vm_writev only for __USE_GNU.
40550 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40551
40552 * conform/Makefile: For now ignore errors from run-conformtest.
40553 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40554 POSIX to avoid namespace pollution. Don't prepend headers.
40555 * conform/data/aio.h-data: Fixes for POSIX testing.
40556 * conform/data/fcntl.h-data: Likewise.
40557 * conform/data/glob.h-data: Likewise.
40558 * conform/data/grp.h-data: Likewise.
40559 * conform/data/pthread.h-data: Likewise.
40560 * conform/data/pwd.h-data: Likewise.
40561 * conform/data/signal.h-data: Likewise.
40562 * conform/data/spawn.h-data: Likewise.
40563 * conform/data/stdio.h-data: Likewise.
40564 * conform/data/stdlib.h-data: Likewise.
40565 * conform/data/stropts.h-data: Likewise.
40566 * conform/data/sys/mman.h-data: Likewise.
40567 * conform/data/sys/stat.h-data: Likewise.
40568 * conform/data/sys/types.h-data: Likewise.
40569 * conform/data/sys/wait.h-data: Likewise.
40570 * conform/data/time.h-data: Likewise.
40571 * conform/data/unistd.h-data: Likewise.
40572 * conform/data/utime.h-data: Likewise.
40573
40574 * io/sys/stat.h: fchmod was always in POSIX.
40575 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40576 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40577 * rt/aio.h: Define __need_timespec before including <time.h>.
40578 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40579 struct. Add forward declaration of pthread_attr_t and use it in
40580 sigevent.
40581 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40582 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40583 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40584 always remove CLK_TCK definition.
40585
405862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40587
40588 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40589
405902012-02-25 Ulrich Drepper <drepper@gmail.com>
40591
40592 * conform/run-conformtest.sh: New file.
40593 * conform/Makefile: Run run-conformtest for tests.
40594 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40595 support.
40596
40597 * conform/data/uchar.h-data: New file.
40598 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40599 * conform/data/arpa/inet.h-data: Likewise.
40600 * conform/data/assert.h-data: Likewise.
40601 * conform/data/complex.h-data: Likewise.
40602 * conform/data/cpio.h-data: Likewise.
40603 * conform/data/ctype.h-data: Likewise.
40604 * conform/data/dirent.h-data: Likewise.
40605 * conform/data/dlfcn.h-data: Likewise.
40606 * conform/data/errno.h-data: Likewise.
40607 * conform/data/fcntl.h-data: Likewise.
40608 * conform/data/float.h-data: Likewise.
40609 * conform/data/fmtmsg.h-data: Likewise.
40610 * conform/data/fnmatch.h-data: Likewise.
40611 * conform/data/ftw.h-data: Likewise.
40612 * conform/data/glob.h-data: Likewise.
40613 * conform/data/grp.h-data: Likewise.
40614 * conform/data/iconv.h-data: Likewise.
40615 * conform/data/inttypes.h-data: Likewise.
40616 * conform/data/langinfo.h-data: Likewise.
40617 * conform/data/libgen.h-data: Likewise.
40618 * conform/data/limits.h-data: Likewise.
40619 * conform/data/locale.h-data: Likewise.
40620 * conform/data/math.h-data: Likewise.
40621 * conform/data/monetary.h-data: Likewise.
40622 * conform/data/mqueue.h-data: Likewise.
40623 * conform/data/ndbm.h-data: Likewise.
40624 * conform/data/net/if.h-data: Likewise.
40625 * conform/data/netdb.h-data: Likewise.
40626 * conform/data/netinet/in.h-data: Likewise.
40627 * conform/data/nl_types.h-data: Likewise.
40628 * conform/data/poll.h-data: Likewise.
40629 * conform/data/pthread.h-data: Likewise.
40630 * conform/data/pwd.h-data: Likewise.
40631 * conform/data/regex.h-data: Likewise.
40632 * conform/data/sched.h-data: Likewise.
40633 * conform/data/search.h-data: Likewise.
40634 * conform/data/semaphore.h-data: Likewise.
40635 * conform/data/setjmp.h-data: Likewise.
40636 * conform/data/signal.h-data: Likewise.
40637 * conform/data/spawn.h-data: Likewise.
40638 * conform/data/stdarg.h-data: Likewise.
40639 * conform/data/stdio.h-data: Likewise.
40640 * conform/data/stdlib.h-data: Likewise.
40641 * conform/data/string.h-data: Likewise.
40642 * conform/data/strings.h-data: Likewise.
40643 * conform/data/stropts.h-data: Likewise.
40644 * conform/data/sys/ipc.h-data: Likewise.
40645 * conform/data/sys/mman.h-data: Likewise.
40646 * conform/data/sys/msg.h-data: Likewise.
40647 * conform/data/sys/resource.h-data: Likewise.
40648 * conform/data/sys/select.h-data: Likewise.
40649 * conform/data/sys/sem.h-data: Likewise.
40650 * conform/data/sys/shm.h-data: Likewise.
40651 * conform/data/sys/socket.h-data: Likewise.
40652 * conform/data/sys/stat.h-data: Likewise.
40653 * conform/data/sys/statvfs.h-data: Likewise.
40654 * conform/data/sys/time.h-data: Likewise.
40655 * conform/data/sys/timeb.h-data: Likewise.
40656 * conform/data/sys/times.h-data: Likewise.
40657 * conform/data/sys/types.h-data: Likewise.
40658 * conform/data/sys/uio.h-data: Likewise.
40659 * conform/data/sys/un.h-data: Likewise.
40660 * conform/data/sys/utsname.h-data: Likewise.
40661 * conform/data/sys/wait.h-data: Likewise.
40662 * conform/data/syslog.h-data: Likewise.
40663 * conform/data/tar.h-data: Likewise.
40664 * conform/data/termios.h-data: Likewise.
40665 * conform/data/utime.h-data: Likewise.
40666 * conform/data/utmpx.h-data: Likewise.
40667 * conform/data/varargs.h-data: Likewise.
40668 * conform/data/wchar.h-data: Likewise.
40669 * conform/data/wctype.h-data: Likewise.
40670 * conform/data/wordexp.h-data: Likewise.
40671
40672 * include/stropts.h: New file.
40673 * include/uchar.h: New file.
40674 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40675 * include/assert.h: Likewise.
40676 * include/ctype.h: Likewise.
40677 * include/dirent.h: Likewise.
40678 * include/dlfcn.h: Likewise.
40679 * include/fcntl.h: Likewise.
40680 * include/fnmatch.h: Likewise.
40681 * include/glob.h: Likewise.
40682 * include/grp.h: Likewise.
40683 * include/libio.h: Likewise.
40684 * include/locale.h: Likewise.
40685 * include/math.h: Likewise.
40686 * include/net/if.h: Likewise.
40687 * include/netdb.h: Likewise.
40688 * include/netinet/in.h: Likewise.
40689 * include/pthread.h: Likewise.
40690 * include/pwd.h: Likewise.
40691 * include/regex.h: Likewise.
40692 * include/sched.h: Likewise.
40693 * include/search.h: Likewise.
40694 * include/setjmp.h: Likewise.
40695 * include/signal.h: Likewise.
40696 * include/stdio.h: Likewise.
40697 * include/stdlib.h: Likewise.
40698 * include/string.h: Likewise.
40699 * include/sys/cdefs.h: Likewise.
40700 * include/sys/mman.h: Likewise.
40701 * include/sys/msg.h: Likewise.
40702 * include/sys/resource.h: Likewise.
40703 * include/sys/select.h: Likewise.
40704 * include/sys/socket.h: Likewise.
40705 * include/sys/stat.h: Likewise.
40706 * include/sys/statvfs.h: Likewise.
40707 * include/sys/time.h: Likewise.
40708 * include/sys/times.h: Likewise.
40709 * include/sys/uio.h: Likewise.
40710 * include/sys/utsname.h: Likewise.
40711 * include/sys/wait.h: Likewise.
40712 * include/termios.h: Likewise.
40713 * include/time.h: Likewise.
40714 * include/ulimit.h: Likewise.
40715 * include/unistd.h: Likewise.
40716 * include/utime.h: Likewise.
40717 * include/wchar.h: Likewise.
40718 * include/wctype.h: Likewise.
40719 * include/wordexp.h: Likewise.
40720
40721 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40722
40723 * time/time.h: TIME_UTC must be a macro.
40724 Make timespec_get available for ISO C11 only as well.
40725
407262012-02-24 Ulrich Drepper <drepper@gmail.com>
40727
40728 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40729 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40730
407312012-02-24 Joseph Myers <joseph@codesourcery.com>
40732
40733 * configure.in: Use -o not -a in test for unsupported multi-arch.
40734
407352012-02-24 Joseph Myers <joseph@codesourcery.com>
40736
40737 * manual/texinfo.tex: Update to version 2012-01-19.16.
40738
407392012-02-24 Joseph Myers <joseph@codesourcery.com>
40740
40741 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40742
407432012-02-24 Roland McGrath <roland@hack.frob.com>
40744
40745 [BZ #13738]
40746 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40747 * manual/fdl-1.3.texi: New file.
40748 * manual/fdl-1.1.texi: File removed.
40749
40750 [BZ #13738]
40751 * manual/libc.texinfo (FDL_VERSION): New @set.
40752 Use it for mention of FDL in cover text.
40753 (Documentation License): Use it in @include file name.
40754
407552012-02-22 Joseph Myers <joseph@codesourcery.com>
40756 Roland McGrath <roland@hack.frob.com>
40757
40758 [BZ #5461]
40759 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40760 (not LONG_LONG_MAX and LONG_LONG_MIN.
40761 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40762 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40763 name.
40764 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40765
407662012-02-22 Joseph Myers <joseph@codesourcery.com>
40767
40768 [BZ #2547]
40769 [BZ #11365]
40770 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40771 manipulate bits before adding and subtracting TWO23[sx].
40772 * math/libm-test.inc (nearbyint_test): Add more tests.
40773
407742012-02-22 Joseph Myers <joseph@codesourcery.com>
40775
40776 [BZ #2548]
40777 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40778 bits before adding and subtracting TWO23[sx].
40779 * math/libm-test.inc (rint_test): Add more tests.
40780 (rint_test_tonearest): Likewise.
40781 (rint_test_towardzero): Likewise.
40782 (rint_test_downward): Likewise.
40783 (rint_test_upward: Likewise.
40784
407852012-02-22 Joseph Myers <joseph@codesourcery.com>
40786
40787 [BZ #10110]
40788 * include/stdc-predef.h: New file. Extracted from features.h.
40789 * include/features.h: Include stdc-predef.h.
40790 * Makefile (headers): Add stdc-predef.h.
40791 * CONFORMANCE (Compiler limitations): Update.
40792
407932012-02-22 Joseph Myers <joseph@codesourcery.com>
40794
40795 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40796
407972012-02-21 David S. Miller <davem@davemloft.net>
40798
40799 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40800 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40801
408022012-02-20 David S. Miller <davem@davemloft.net>
40803
40804 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40805 using a normal save/restore sequence, rather than allocating a
40806 dummy stack frame just to store a frame pointer and restore.
40807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40808
408092012-02-21 Joseph Myers <joseph@codesourcery.com>
40810
40811 * manual/install.texi: Fix stray word in line-wrapped comment.
40812
408132012-02-20 David S. Miller <davem@davemloft.net>
40814
40815 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40816 both binutils and gcc support GOTDATA.
40817
40818 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40819 "rd %pc" in the PIC register setup sequences.
40820
40821 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40822 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40823 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40824 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40825 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40826 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40828 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40830 (SYSCALL_ERROR_HANDLER): Likewise.
40831 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40832 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40834 (SYSCALL_ERROR_HANDLER): Likewise.
40835
40836 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40837 (HAVE_GCC_GOTDATA): New.
40838 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40839 relocation support in both binutils and gcc.
40840 * sysdeps/sparc/elf/configure: Regenerate.
40841
40842 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40843 * sysdeps/sparc/sparc32/elf/configure: Delete.
40844 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40845 * sysdeps/sparc/sparc64/elf/configure: Delete.
40846 * sysdeps/sparc/elf/configure.in: New file.
40847 * sysdeps/sparc/elf/configure: Generate.
40848
40849 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40850 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40851 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40852 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40853 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40854
408552012-02-21 Joseph Myers <joseph@codesourcery.com>
40856
40857 * manual/install.texi: Do not mention specific glibc version
40858 numbers.
40859 * manual/libc.texinfo (VERSION, UPDATED): Update.
40860 (@copying): Use @copyright{} and range of years.
40861
408622012-02-21 Joseph Myers <joseph@codesourcery.com>
40863
40864 [BZ #13695]
40865 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40866 [crti.S not in sysdirs] (generated): Do not append.
40867 [crti.S not in sysdirs] (omit-deps): Likewise.
40868 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40869 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40870 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40871 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40872 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40873 Likewise.
40874 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40875 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40876 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40877 * csu/defs.awk: Remove file.
40878 * sysdeps/generic/initfini.c: Likewise.
40879 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40880 variable.
40881 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40882 Likewise.
40883
408842012-02-20 Joseph Myers <joseph@codesourcery.com>
40885
40886 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40887 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40888 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40889 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40890 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40891 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40892 <bits/epoll.h>.
40893 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40894 (__EPOLL_PACKED): Define to empty if not defined by
40895 <bits/epoll.h>.
40896 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40898 bits/epoll.h.
40899
409002012-02-20 Joseph Myers <joseph@codesourcery.com>
40901
40902 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40903 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40904 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40905 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40906 <bits/timerfd.h>.
40907 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40909 bits/timerfd.h.
40910
409112012-02-20 Joseph Myers <joseph@codesourcery.com>
40912
40913 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40914 in C locale.
40915 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40916 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40919
409202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40921
40922 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40924
409252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40926
40927 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40928 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40929 defined.
40930 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40931 Likewise.
40932 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40933 entry for 2.16.
40934
409352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40936
40937 * math/w_acos.c: Use non-signaling floating-point comparisons.
40938 * math/w_acosf.c: Likewise.
40939 * math/w_acosh.c: Likewise.
40940 * math/w_acoshf.c: Likewise.
40941 * math/w_acoshl.c: Likewise.
40942 * math/w_acosl.c: Likewise.
40943 * math/w_asin.c: Likewise.
40944 * math/w_asinf.c: Likewise.
40945 * math/w_asinl.c: Likewise.
40946 * math/w_atanh.c: Likewise.
40947 * math/w_atanhf.c: Likewise.
40948 * math/w_atanhl.c: Likewise.
40949 * math/w_exp2.c: Likewise.
40950 * math/w_exp2f.c: Likewise.
40951 * math/w_exp2l.c: Likewise.
40952 * math/w_j0.c: Likewise.
40953 * math/w_j0f.c: Likewise.
40954 * math/w_j0l.c: Likewise.
40955 * math/w_j1.c: Likewise.
40956 * math/w_j1f.c: Likewise.
40957 * math/w_j1l.c: Likewise.
40958 * math/w_jn.c: Likewise.
40959 * math/w_jnf.c: Likewise.
40960 * math/w_log.c: Likewise.
40961 * math/w_log10.c: Likewise.
40962 * math/w_log10f.c: Likewise.
40963 * math/w_log10l.c: Likewise.
40964 * math/w_log2.c: Likewise.
40965 * math/w_log2f.c: Likewise.
40966 * math/w_log2l.c: Likewise.
40967 * math/w_logf.c: Likewise.
40968 * math/w_logl.c: Likewise.
40969 * math/w_sqrt.c: Likewise.
40970 * math/w_sqrtf.c: Likewise.
40971 * math/w_sqrtl.c: Likewise.
40972 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40973 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40974 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40975 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40976 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40977
409782012-02-19 Joseph Myers <joseph@codesourcery.com>
40979
40980 [BZ #9739]
40981 * manual/string.texi (strnlen): Use correct parameter name in
40982 equivalent expression.
40983
409842012-02-19 Joseph Myers <joseph@codesourcery.com>
40985
40986 [BZ #11174]
40987 * manual/users.texi (seteuid): Consistently use neweuid for
40988 argument name.
40989
409902012-02-19 Joseph Myers <joseph@codesourcery.com>
40991
40992 [BZ #13704]
40993 * manual/nss.texi (Services in the NSS configuration): Correct
40994 list of services in example configuration file.
40995
409962012-02-19 Nick Bowler <nbowler@draconx.ca>
40997
40998 [BZ #11322]
40999 * manual/arith.texi: Remove statements about negative zero
41000 behaving identically to zero.
41001
410022012-02-18 Joseph Myers <joseph@codesourcery.com>
41003
41004 [BZ #5993]
41005 * manual/install.texi: Do not document upgrading from libc5.
41006
410072012-02-18 Joseph Myers <joseph@codesourcery.com>
41008
41009 [BZ #4596]
41010 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41011
410122012-02-18 David S. Miller <davem@davemloft.net>
41013
41014 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41015 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41016 %o7 across the call.
41017 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41018 instead.
41019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41020 SETUP_PIC_REG_LEAF.
41021 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41022 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41023 * sysdeps/sparc/crtn.S: Likewise.
41024
410252012-02-17 Ulrich Drepper <drepper@gmail.com>
41026
41027 * aout/Makefile: Remove.
41028
410292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41030
41031 [BZ #13058]
41032 * manual/examples/argp-ex1.c (main): Format definition in GNU
41033 style.
41034 * manual/examples/argp-ex2.c (main): Likewise.
41035 * manual/examples/argp-ex3.c (main): Likewise.
41036 * manual/examples/argp-ex4.c (main): Likewise.
41037 * manual/examples/longopt.c (main): Use new-style prototype
41038 definition.
41039 * manual/examples/strncat.c (main): Specify return type and use
41040 (void) for arguments.
41041 * manual/examples/subopt.c (main): Use char **argv argument.
41042
410432012-02-17 Joseph Myers <joseph@codesourcery.com>
41044
41045 [BZ #5077]
41046 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41047 rounding modes.
41048
410492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41050
41051 [BZ #6907]
41052 * manual/string.texi (strchr): Change when strchrnul is
41053 recommended.
41054
410552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41056
41057 [BZ #174]
41058 * manual/locale.texi (setlocale): Document LOCPATH.
41059
410602012-02-17 Joseph Myers <joseph@codesourcery.com>
41061
41062 [BZ #10210]
41063 * manual/process.texi (execle): Move @dots{} before last argument.
41064
410652012-02-17 Paul Bolle <pebolle@tiscali.nl>
41066
41067 [BZ #12047]
41068 * manual/charset.texi (Generic Charset Conversion): Fix typo
41069 (LC_TYPE -> LC_CTYPE).
41070
410712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41072
41073 [BZ #5805]
41074 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41075 (scalbnf): Likewise.
41076 (scalbnl): Likewise.
41077 (scalbln): Likewise.
41078 (scalblnf): Likewise.
41079 (scalblnl): Likewise.
41080 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41081 (vwarnx): Likewise.
41082 (verr): Likewise.
41083 (verrx): Likewise.
41084 * manual/filesys.texi (telldir): Use braces around return type.
41085 * manual/llio.texi (mmap): Add space after comma.
41086 (mmap64): Likewise.
41087 * manual/math.texi (jn): Use @var{} on parameter names.
41088 (jnf): Likewise.
41089 (jnl): Likewise.
41090 (yn): Likewise.
41091 (ynf): Likewise.
41092 (ynl): Likewise.
41093 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41094 line.
41095 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41096 "...".
41097 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41098 (sched_get_priority_max): Likewise.
41099 * manual/signal.texi (sigvec): Add space after comma.
41100 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41101 names.
41102 (if_indextoname): Likewise.
41103 (if_freenameindex): Likewise.
41104 (sendto): Use ',' instead of '.' in prototype.
41105 * manual/startup.texi (syscall): Use @dots{} instead of literal
41106 "...".
41107 * manual/stdio.texi (__fpending): Separate initial words of
41108 paragraph from @deftypefun line.
41109 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41110 "...".
41111 (vsyslog): Use @var{} on parameter names.
41112 * manual/terminal.texi (stty): Use @var{} on parameter names.
41113 * manual/users.texi (getutmp): Use @var{} on parameter names.
41114 (getutmpx): Likewise.
41115
411162012-02-17 Joseph Myers <joseph@codesourcery.com>
41117
41118 [BZ #6884]
41119 * manual/stdio.texi (fopen): Fix typos in description of
41120 ",ccs=STRING".
41121
411222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41123
41124 [BZ #4026]
41125 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41126 get clock_id definition.
41127
411282012-02-17 Thomas Schwinge <thomas@schwinge.name>
41129
41130 [BZ #4822]
41131 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41132 (madvise): Cast every argument to void on its own.
41133
411342012-02-17 Joseph Myers <joseph@codesourcery.com>
41135
41136 [BZ #9902]
41137 * manual/startup.texi (Exit Status): Fix typo.
41138
411392012-02-17 Joseph Myers <joseph@codesourcery.com>
41140
41141 [BZ #10140]
41142 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41143 * manual/examples/argp-ex2.c: Likewise.
41144 * manual/examples/argp-ex3.c: Likewise.
41145
411462012-02-16 Richard Henderson <rth@redhat.com>
41147
41148 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41149 * sysdeps/s390/s390-32/initfini.c: Remove.
41150 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41151 * sysdeps/s390/s390-64/initfini.c: Remove.
41152
411532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41154
41155 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41156 compiler output for sysdeps/generic/initfini.c.
41157 * sysdeps/sh/elf/initfini.c: Remove file.
41158
411592012-02-16 David S. Miller <davem@davemloft.net>
41160
41161 [BZ #11494]
41162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41163
41164 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41165 * sysdeps/sparc/crti.S: New file.
41166 * sysdeps/sparc/crtn.S: New file.
41167 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41168 * sysdeps/sparc/sparc64/Makefile: Likewise.
41169
411702012-02-15 Mike Frysinger <vapier@gentoo.org>
41171
41172 [BZ #3335]
41173 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41174
411752012-02-15 Roland McGrath <roland@hack.frob.com>
41176
41177 [BZ #4822]
41178 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41179
41180 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41181 (write, read, close): Likewise.
41182 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41183
411842012-02-15 Joseph Myers <joseph@codesourcery.com>
41185
41186 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41187 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41188 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41189 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41190 <bits/signalfd.h>.
41191 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41193 bits/signalfd.h.
41194
411952012-02-14 Marek Polacek <polacek@redhat.com>
41196
41197 * sysdeps/x86_64/crti.S: New file.
41198 * sysdeps/x86_64/crtn.S: New file.
41199 * sysdeps/x86_64/elf/initfini.c: Remove file.
41200
412012012-02-13 Joseph Myers <joseph@codesourcery.com>
41202
41203 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41204 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41205 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41206 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41207 <bits/inotify.h>.
41208 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41210 bits/inotify.h.
41211
412122012-02-13 Joseph Myers <joseph@codesourcery.com>
41213
41214 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41215 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41216 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41217 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41218 <bits/eventfd.h>.
41219 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41221 bits/eventfd.h.
41222
412232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41224
41225 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41226 __feraiseexcept instead of feraiseexcept.
41227
41228 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41229 nanosleep invocations.
41230 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41231 strings, and add error checking for a nanosleep invocations.
41232
412332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41234
41235 Replace FSF snail mail address with URLs, as per GNU coding standards.
41236 Most of the snail mail addresses were wrong anyway, and omitting
41237 them makes the source code easier to maintain. Almost all of the
41238 changes are to license notices and to locale LC_IDENTIFICATION
41239 addresses, except for this one:
41240 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41241 not its snail mail address.
41242
412432012-02-09 Richard Henderson <rth@twiddle.net>
41244
41245 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41246 of kernel-features.h.
41247
41248 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41249
412502012-02-08 Marek Polacek <polacek@redhat.com>
41251
41252 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41253 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41254 * sysdeps/gnu/_G_config.h: Likewise.
41255 * sysdeps/generic/_G_config.h: Likewise.
41256
412572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41258
41259 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41260 tests.
41261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41262
41263 * sysdeps/powerpc/powerpc32/crti.S: New file.
41264 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41265 * sysdeps/powerpc/powerpc64/crti.S: New file.
41266 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41267
41268 * Makeconfig (have-initfini): Don't set.
41269 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41270 * configure.in (nopic_initfini): Don't substitute.
41271 * config.h.in (HAVE_INITFINI): Don't #undef.
41272 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41273 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41274
412752012-02-08 Joseph Myers <joseph@codesourcery.com>
41276
41277 Support crti.S and crtn.S provided directly by architectures.
41278 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41279 [crti.S in sysdirs] (omit-deps): Likewise.
41280 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41281 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41282 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41283 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41284 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41285 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41286 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41287 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41288 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41289 compiler output for sysdeps/generic/initfini.c.
41290 * sysdeps/i386/elf/Makefile: Remove file.
41291 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41292
412932012-02-07 Marek Polacek <polacek@redhat.com>
41294
41295 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41296 * sysdeps/gnu/_G_config.h: Likewise.
41297 * sysdeps/mach/hurd/_G_config.h: Likewise.
41298
412992012-02-07 Marek Polacek <polacek@redhat.com>
41300
41301 * math/Makefile (tests): Add tst-CMPLX2.
41302 * math/tst-CMPLX2.c: New file.
41303
413042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41305
41306 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41307
41308 * math/libm-test.inc (jn_test): Add missing L suffix.
41309
413102012-02-06 Marek Polacek <polacek@redhat.com>
41311
41312 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41313 * sysdeps/i386/fpu/e_powf.S: Likewise.
41314 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41315 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41316 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41317 * sysdeps/i386/fpu/e_pow.S: Likewise.
41318 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41319 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41320 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41321 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41322 * sysdeps/i386/fpu/e_log2.S: Likewise.
41323 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41324 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41325 * sysdeps/i386/fpu/e_powl.S: Likewise.
41326 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41327 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41328 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41329 * sysdeps/i386/fpu/e_logl.S: Likewise.
41330 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41331 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41332 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41333 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41334 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41335 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41336 * sysdeps/i386/fpu/e_log.S: Likewise.
41337 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41338 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41339 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41340 * sysdeps/i386/fpu/e_logf.S: Likewise.
41341 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41342 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41343 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41344 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41345 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41346 * sysdeps/i386/fpu/e_log10.S: Likewise.
41347 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41348 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41349 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41350 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41351 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41352 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41353 * sysdeps/i386/asm-syntax.h: Likewise.
41354 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41355 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41356 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41357 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41358 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41359 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41360 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41361 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41362 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41363 * sysdeps/powerpc/sysdep.h: Likewise.
41364 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41365 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41366
413672012-02-06 Joseph Myers <joseph@codesourcery.com>
41368
41369 [BZ #411]
41370 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41371
413722012-02-06 Joseph Myers <joseph@codesourcery.com>
41373
41374 * sysdeps/i386/sysdep.h: Include <features.h>.
41375 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41376 version.
41377
413782012-02-05 Joseph Myers <joseph@codesourcery.com>
41379
41380 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41381 Define.
41382 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41383 LOAD_PIC_REG_STR.
41384
413852012-02-03 Joseph Myers <joseph@codesourcery.com>
41386
41387 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41388 (SETUP_PIC_REG): Use GET_PC_THUNK.
41389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41390 macro.
41391
413922012-02-03 Joseph Myers <joseph@codesourcery.com>
41393
41394 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41395 for non-PIC compilation.
41396 (SETUP_PIC_REG): Add .p2align directive.
41397 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41398 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41399 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41400 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41401 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41402 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41403 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41405 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41406 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41407 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41408 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41409 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41410 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41411 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41412 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41413 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41414 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41415 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41416 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41417 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41418 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41419 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41420 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41423 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41424 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41425 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41426 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41427 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41428 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41429 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41430 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41431 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41432 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41433 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41434 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41435 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41436 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41437 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41438
414392012-02-03 Joseph Myers <joseph@codesourcery.com>
41440
41441 * math/tst-CMPLX.c: Include <stdio.h>.
41442
414432012-01-31 Joseph Myers <joseph@codesourcery.com>
41444
41445 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41446 float.
41447 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41448 * sysdeps/sparc/bits/mathdef.h: Likewise.
41449
414502012-01-31 Marek Polacek <polacek@redhat.com>
41451
41452 * libio/libio.h: Don't define _PARAMS.
41453 * locale/programs/config.h: Don't define PARAMS.
41454 * stdlib/strtol_l.c: Likewise.
41455 (__strtol_l): Remove PARAMS from the prototype.
41456
414572012-01-31 Ulrich Drepper <drepper@gmail.com>
41458
41459 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41460 names. Just use the correct names. Remove unnecessary wrapper
41461 functions.
41462 * malloc/arena.c: Likewise.
41463 * malloc/hooks.c: Likewise.
41464
41465 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41466 ARENA_TEST says not to. Simplify test for creation of a new arena.
41467 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41468
414692012-01-30 Ulrich Drepper <drepper@gmail.com>
41470
41471 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41472 into tail calls.
41473 (update_get_addr): New function.
41474 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41475 GET_ADDR_MODULE parameter.
41476
414772012-01-30 Joseph Myers <joseph@codesourcery.com>
41478
41479 * crypt/cert.c: Remove __STDC__ conditionals.
41480 * crypt/crypt-entry.c: Likewise.
41481 * crypt/crypt_util.c: Likewise.
41482 * libio/filedoalloc.c: Likewise.
41483 * libio/fileops.c: Likewise.
41484 * libio/genops.c: Likewise.
41485 * libio/iofclose.c: Likewise.
41486 * libio/iofdopen.c: Likewise.
41487 * libio/iofopen.c: Likewise.
41488 * libio/iofopen64.c: Likewise.
41489 * libio/iogetdelim.c: Likewise.
41490 * libio/iopopen.c: Likewise.
41491 * libio/obprintf.c: Likewise.
41492 * libio/oldfileops.c: Likewise.
41493 * libio/oldiofclose.c: Likewise.
41494 * libio/oldiofdopen.c: Likewise.
41495 * libio/oldiofopen.c: Likewise.
41496 * libio/oldiopopen.c: Likewise.
41497 * libio/wfiledoalloc.c: Likewise.
41498 * libio/wgenops.c: Likewise.
41499 * locale/programs/xmalloc.c: Likewise.
41500 * misc/syslog.c: Likewise.
41501 * stdio-common/xbug.c: Likewise.
41502 * string/memchr.c: Likewise.
41503 * string/memcmp.c: Likewise.
41504 * string/memrchr.c: Likewise.
41505 * string/rawmemchr.c: Likewise.
41506 * sysdeps/posix/getcwd.c: Likewise.
41507 * time/strftime_l.c: Likewise.
41508
415092012-01-30 Joseph Myers <joseph@codesourcery.com>
41510
41511 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41512 * config.make.in (config-cflags-sse2avx): Define.
41513 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41514 Fix typo.
41515
415162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41517
41518 * scripts/config.guess: Update from upstream config git repository.
41519 * scripts/config.sub: Likewise.
41520
415212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41522
41523 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41524 (EM_NUM): Update.
41525 (R_TILEPRO_*, R_TILEGX_*): New macros.
41526
41527 * scripts/firstversions.awk: Fix bug in version range handling.
41528
41529 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41530
41531 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41532
41533 * include/sys/epoll.h: New file.
41534 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41535 libc_hidden_def.
41536
415372012-01-28 Ulrich Drepper <drepper@gmail.com>
41538
41539 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41540 Avoid unnecessary __WORDSIZE == 64 test.
41541 (fmaxf): Use VEX format if possible.
41542 (fmax): Likewise.
41543 (fminf): Likewise.
41544 (fmin): Likewise.
41545
41546 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41547 * math/math_private.h: Remove libc_fegetround* and
41548 libc_fesetround*.
41549 * sysdeps/i386/configure.in: Check for -msse2avx.
41550 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41551 also if SSE2AVX is defined.
41552 Remove libc_fegetround* and libc_fesetround*.
41553 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41554 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41555 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41556 of HAS_YMM_USABLE.
41557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41562
41563 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41564
415652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41566
41567 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41568 size is not set.
41569 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41570
415712012-01-27 Ulrich Drepper <drepper@gmail.com>
41572
41573 [BZ #13618]
41574 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41575 relocation.
41576 * Makeconfig (libm): Define.
41577 * elf/Makefile: Add rules to build and run tst-relsort1.
41578 * elf/tst-relsort1.c: New file.
41579 * elf/tst-relsort1mod1.c: New file.
41580 * elf/tst-relsort1mod2.c: New file.
41581
415822012-01-27 Joseph Myers <joseph@codesourcery.com>
41583
41584 * math/s_ldexp.c: Remove __STDC__ conditionals.
41585 * math/s_ldexpf.c: Likewise.
41586 * math/s_ldexpl.c: Likewise.
41587 * math/s_nextafter.c: Likewise.
41588 * math/s_nexttowardf.c: Likewise.
41589 * math/s_significand.c: Likewise.
41590 * math/s_significandf.c: Likewise.
41591 * math/s_significandl.c: Likewise.
41592 * math/w_jnl.c: Likewise.
41593 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41594 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41595 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41596 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41597 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41598 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41599 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41600 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41601 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41602 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41603 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41605 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41606 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41607 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41608 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41609 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41610 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41612 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41613 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41614 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41615 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41616 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41617 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41618 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41619 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41620 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41621 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41622 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41623 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41624 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41625 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41626 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41627 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41628 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41629 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41630 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41631 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41632 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41633 * sysdeps/ieee754/k_standard.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41637 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41639 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41640 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41641 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41658 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41665 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41672 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41681 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41682 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41683 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41684 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41692 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41693 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41694 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41695 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41696 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41697 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41698 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41699 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41700 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41701 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41702 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41703 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41704 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41707 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41708 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41709 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41711 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41712 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41713 * sysdeps/ieee754/s_matherr.c: Likewise.
41714 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41715 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41716 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41718
417192012-01-26 Joseph Myers <joseph@codesourcery.com>
41720
41721 * crypt/md5.h: Remove __STDC__ conditionals.
41722 * libio/libioP.h: Likewise.
41723 * locale/programs/config.h: Likewise.
41724 * sysdeps/generic/sysdep.h: Likewise.
41725 * sysdeps/i386/asm-syntax.h: Likewise.
41726 * sysdeps/s390/asm-syntax.h: Likewise.
41727 * sysdeps/unix/sysdep.h: Likewise.
41728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41730
417312012-01-26 Joseph Myers <joseph@codesourcery.com>
41732
41733 * libio/libio.h: Remove __STDC__ conditionals.
41734 * malloc/obstack.h: Likewise.
41735 * math/complex.h: Likewise.
41736 * math/math.h: Likewise.
41737 * sysdeps/generic/_G_config.h: Likewise.
41738 * sysdeps/gnu/_G_config.h: Likewise.
41739 * sysdeps/mach/hurd/_G_config.h: Likewise.
41740 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41741 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41742 * sysdeps/sparc/bits/mathdef.h: Likewise.
41743
417442012-01-26 Ulrich Drepper <drepper@gmail.com>
41745
41746 [BZ #13583]
41747 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41748 Clean up HAS_* macros.
41749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41750 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41751 possible.
41752 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41753 HAS_AVX.
41754 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41755 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41756 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41759
417602012-01-25 Joseph Myers <joseph@codesourcery.com>
41761
41762 * elf/tst-unique3.cc (gets): Remove declaration.
41763 * elf/tst-unique3lib.cc (gets): Likewise.
41764 * elf/tst-unique3lib2.cc (gets): Likewise.
41765 * elf/tst-unique4.cc (gets): Likewise.
41766
417672012-01-24 Ulrich Drepper <drepper@gmail.com>
41768
41769 * include/stdio.h: Add C++ protection. Add gets declarations and
41770 definitions.
41771 * debug/tst-chk1.c: Don't declare gets here.
41772 * stdio-common/tst-gets.c: Likewise.
41773
417742012-01-24 Joseph Myers <joseph@codesourcery.com>
41775
41776 * posix/glob: Remove directory.
41777
417782012-01-24 Joseph Myers <joseph@codesourcery.com>
41779
41780 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41781
417822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41783
41784 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41785 of the non-standard EPFNOSUPPORT.
41786
417872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41788
41789 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41790 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41791 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41792
417932012-01-21 Ulrich Drepper <drepper@gmail.com>
41794
41795 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41796
417972012-01-20 Ulrich Drepper <drepper@gmail.com>
41798
41799 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41800 transient errors.
41801 * nscd/grpcache.c (cache_addgr): Likewise.
41802 * nscd/hstcache.c (cache_addhst): Likewise.
41803 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41804 * nscd/pwdcache.c (cache_addpw): Likewise.
41805 * nscd/servicescache.c (cache_addserv): Likewise.
41806
418072012-01-16 Ulrich Drepper <drepper@gmail.com>
41808
41809 * malloc/malloc.c: Various cleanups.
41810 * malloc/hooks.c: Likewise.
41811
41812 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41813 * stdlib/bug-fmtmsg1.c: New file.
41814
41815 * stdlib/fmtmsg.c (init): Add missing unlock.
41816 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41817
418182012-01-12 Marek Polacek <polacek@redhat.com>
41819
41820 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41821 and _GNU_SOURCE.
41822
418232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41824
41825 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41826 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41827 macro to ensure uniqueness of label name.
41828 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41829 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41830
418312012-01-11 Ulrich Drepper <drepper@gmail.com>
41832
41833 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41834
41835 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41836 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41837 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41839
418402012-01-10 Ulrich Drepper <drepper@gmail.com>
41841
41842 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41843
41844 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41845 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41846 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41847
41848 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41849
41850 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41851 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41852 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41854
41855 * math/bits/math-finite.h: Add ldexp support.
41856
418572012-01-10 Marek Polacek <polacek@redhat.com>
41858
41859 * locale/programs/localedef.h (show_archive_content): Add noreturn
41860 attribute.
41861
418622012-01-09 Ulrich Drepper <drepper@gmail.com>
41863
41864 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41865
418662012-01-08 Ulrich Drepper <drepper@gmail.com>
41867
41868 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41869
41870 * io/Makefile (headers): Add bits/poll2.h.
41871
418722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41873
41874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41875 typo #include statement.
41876
418772012-01-08 Ulrich Drepper <drepper@gmail.com>
41878
41879 * include/sys/cdefs.h: Define __attribute_alloc_size.
41880 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41881 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41882 * elf/pldd.c: Likewise.
41883 * iconv/iconv_charmap.c: Likewise.
41884 * iconv/iconvconfig.c: Likewise.
41885 * iconv/strtab.c: Likewise.
41886 * locale/programs/locale.c: Likewise.
41887 * locale/programs/localedef.h: Likewise.
41888 * locale/programs/simple-hash.c: Likewise.
41889 * nscd/nscd.h: Likewise.
41890 * nss/makedb.c: Likewise.
41891 * sysdeps/generic/ldconfig.h: Likewise.
41892 * locale/programs/localedef.c: Remove xmalloc prototype.
41893 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41894
418952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41896
41897 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41898 appropriate.
41899
419002012-01-08 Ulrich Drepper <drepper@gmail.com>
41901
41902 * math/Makefile (tests): Add tst-CMPLX.
41903 * math/tst-CMPLX.c: New file.
41904
41905 * math/complex.h (CMPLXL): Fix typo.
41906
41907 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41908 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41909 GLIBC_2.16.
41910 * debug/tst-chk1.c: Add poll and ppoll tests.
41911 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41912 * include/sys/poll.h: Add hidden proto for ppoll.
41913 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41914 * sysdeps/mach/hurd/ppoll.c: Likewise.
41915 * io/ppoll.c: Likewise.
41916 * debug/poll_chk.c: New file.
41917 * debug/ppoll_chk.c: New file.
41918 * include/bits/poll2.h: New file.
41919 * io/bits/poll2.h: New file.
41920
41921 [BZ #1350]
41922 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41923
41924 * configure.in: static is always set to yes. Remove.
41925 * config.make.in: Don't set build-static.
41926 * Makeconfig: Remove use of build-static.
41927 * dlfcn/Makefile: Likewise.
41928 * elf/Makefile: Likewise.
41929 * math/Makefile: Likewise.
41930 * misc/Makefile: Likewise.
41931 * nptl/Makefile: Likewise.
41932 * sysdeps/mach/hurd/Makefile: Likewise.
41933
41934 * configure.in: PWD_P is not used anymore.
41935 * config.make.in: Remove PWD_P entry.
41936
41937 * configure.in: Remove last remnants of RANLIB.
41938 No need to check for signed size_t anymore.
41939 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41940 and IA-64.
41941 Remove __builtin_expect test because we require at least gcc 3.4.
41942 * aclocal.m4: Likewise.
41943
41944 * wcsmbs/mbrtoc16.c: Implement using towc function.
41945 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41946 * wcsmbs/wcsmbsload.c: Likewise.
41947 * iconv/gconv_simple.c: Likewise.
41948 * iconv/gconv_int.h: Likewise.
41949 * iconv/gconv_builtin.h: Likewise.
41950 * iconv/iconv_prog.c: Remove CHAR16 handling.
41951
41952 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41953
41954 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41955
41956 * configure.in: Remove --with-elf and --enable-bounded options.
41957 Dont set base_machine for ia64. More non-ELF conditions removed.
41958 Remove testing and setting of leading underscore information.
41959 * config.make.in (build-bounded): Set to no.
41960 * config.h.in: Remove NO_UNDERSCORES entry.
41961 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41962 them.
41963 * csu/start.c: Remove !NO_UNDERSCORE code.
41964 * locale/localeinfo.h: Likewise.
41965 * sysdeps/generic/machine-gmon.h: Likewise.
41966 * sysdeps/generic/sysdep.h: Likewise.
41967 * sysdeps/i386/sysdep.h: Likewise.
41968 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41969 * sysdeps/mach/sysdep.h: Likewise.
41970 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41971 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41972 * sysdeps/sh/sysdep.h: Likewise.
41973 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41974 * sysdeps/unix/i386/sysdep.S: Likewise.
41975 * sysdeps/unix/sparc/start.c: Likewise.
41976 * sysdeps/unix/sparc/sysdep.S: Likewise.
41977 * sysdeps/unix/sparc/sysdep.h: Likewise.
41978 * sysdeps/unix/start.c: Likewise.
41979 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41980 * sysdeps/x86_64/sysdep.h: Likewise.
41981
419822012-01-07 Ulrich Drepper <drepper@gmail.com>
41983
41984 [BZ #13553]
41985 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41986 for non-gcc.
41987 * argp/argp-fmtstream.h: Use const instead __const.
41988 * argp/argp.h: Likewise.
41989 * assert/assert.h: Likewise.
41990 * bits/fenv.h: Likewise.
41991 * bits/sched.h: Likewise.
41992 * bits/sigset.h: Likewise.
41993 * bits/sigthread.h: Likewise.
41994 * catgets/nl_types.h: Likewise.
41995 * conform/data/pthread.h-data: Likewise.
41996 * crypt/crypt-private.h: Likewise.
41997 * crypt/crypt.h: Likewise.
41998 * crypt/crypt_util.c: Likewise.
41999 * ctype/ctype.h: Likewise.
42000 * debug/execinfo.h: Likewise.
42001 * debug/mbsnrtowcs_chk.c: Likewise.
42002 * debug/mbsrtowcs_chk.c: Likewise.
42003 * debug/wcsnrtombs_chk.c: Likewise.
42004 * debug/wcsrtombs_chk.c: Likewise.
42005 * debug/wcstombs_chk.c: Likewise.
42006 * dirent/dirent.h: Likewise.
42007 * dlfcn/dlfcn.h: Likewise.
42008 * elf/neededtest4.c: Likewise.
42009 * grp/grp.h: Likewise.
42010 * gshadow/gshadow.h: Likewise.
42011 * iconv/gconv.h: Likewise.
42012 * iconv/gconv_int.h: Likewise.
42013 * iconv/gconv_simple.c: Likewise.
42014 * iconv/iconv.h: Likewise.
42015 * iconv/loop.c: Likewise.
42016 * iconv/skeleton.c: Likewise.
42017 * include/aio.h: Likewise.
42018 * include/aliases.h: Likewise.
42019 * include/argz.h: Likewise.
42020 * include/arpa/inet.h: Likewise.
42021 * include/assert.h: Likewise.
42022 * include/dirent.h: Likewise.
42023 * include/dlfcn.h: Likewise.
42024 * include/execinfo.h: Likewise.
42025 * include/fcntl.h: Likewise.
42026 * include/fenv.h: Likewise.
42027 * include/glob.h: Likewise.
42028 * include/grp.h: Likewise.
42029 * include/libintl.h: Likewise.
42030 * include/mntent.h: Likewise.
42031 * include/netdb.h: Likewise.
42032 * include/pwd.h: Likewise.
42033 * include/rpc/netdb.h: Likewise.
42034 * include/sched.h: Likewise.
42035 * include/search.h: Likewise.
42036 * include/shadow.h: Likewise.
42037 * include/signal.h: Likewise.
42038 * include/stdio.h: Likewise.
42039 * include/stdlib.h: Likewise.
42040 * include/string.h: Likewise.
42041 * include/sys/socket.h: Likewise.
42042 * include/sys/stat.h: Likewise.
42043 * include/sys/statfs.h: Likewise.
42044 * include/sys/statvfs.h: Likewise.
42045 * include/sys/syslog.h: Likewise.
42046 * include/sys/time.h: Likewise.
42047 * include/sys/uio.h: Likewise.
42048 * include/time.h: Likewise.
42049 * include/unistd.h: Likewise.
42050 * include/utmp.h: Likewise.
42051 * include/wchar.h: Likewise.
42052 * include/wctype.h: Likewise.
42053 * inet/aliases.h: Likewise.
42054 * inet/arpa/inet.h: Likewise.
42055 * inet/netinet/ether.h: Likewise.
42056 * inet/netinet/in.h: Likewise.
42057 * intl/libintl.h: Likewise.
42058 * io/bits/fcntl2.h: Likewise.
42059 * io/fcntl.h: Likewise.
42060 * io/ftw.h: Likewise.
42061 * io/sys/poll.h: Likewise.
42062 * io/sys/stat.h: Likewise.
42063 * io/sys/statfs.h: Likewise.
42064 * io/sys/statvfs.h: Likewise.
42065 * io/utime.h: Likewise.
42066 * libio/bits/stdio.h: Likewise.
42067 * libio/bits/stdio2.h: Likewise.
42068 * libio/libio.h: Likewise.
42069 * libio/libioP.h: Likewise.
42070 * libio/stdio.h: Likewise.
42071 * locale/lc-ctype.c: Likewise.
42072 * locale/locale.h: Likewise.
42073 * login/utmp.h: Likewise.
42074 * malloc/arena.c: Likewise.
42075 * malloc/malloc.c: Likewise.
42076 * malloc/malloc.h: Likewise.
42077 * malloc/mcheck.c: Likewise.
42078 * malloc/mtrace.c: Likewise.
42079 * math/bits/mathcalls.h: Likewise.
42080 * math/fenv.h: Likewise.
42081 * math/math_private.h: Likewise.
42082 * misc/bits/error.h: Likewise.
42083 * misc/bits/syslog.h: Likewise.
42084 * misc/err.h: Likewise.
42085 * misc/error.h: Likewise.
42086 * misc/fstab.h: Likewise.
42087 * misc/mntent.h: Likewise.
42088 * misc/regexp.h: Likewise.
42089 * misc/search.h: Likewise.
42090 * misc/sgtty.h: Likewise.
42091 * misc/sys/mman.h: Likewise.
42092 * misc/sys/syslog.h: Likewise.
42093 * misc/sys/uio.h: Likewise.
42094 * misc/sys/xattr.h: Likewise.
42095 * misc/ttyent.h: Likewise.
42096 * nis/rpcsvc/ypclnt.h: Likewise.
42097 * nss/nss.h: Likewise.
42098 * posix/bits/unistd.h: Likewise.
42099 * posix/fnmatch.h: Likewise.
42100 * posix/glob.h: Likewise.
42101 * posix/sched.h: Likewise.
42102 * posix/spawn.h: Likewise.
42103 * posix/sys/wait.h: Likewise.
42104 * posix/unistd.h: Likewise.
42105 * posix/wordexp.h: Likewise.
42106 * pwd/pwd.h: Likewise.
42107 * resolv/netdb.h: Likewise.
42108 * resource/sys/resource.h: Likewise.
42109 * rt/aio.h: Likewise.
42110 * rt/bits/mqueue2.h: Likewise.
42111 * rt/mqueue.h: Likewise.
42112 * shadow/shadow.h: Likewise.
42113 * signal/signal.h: Likewise.
42114 * socket/send.c: Likewise.
42115 * socket/sendto.c: Likewise.
42116 * socket/sys/socket.h: Likewise.
42117 * stdio-common/printf.h: Likewise.
42118 * stdlib/bits/stdlib.h: Likewise.
42119 * stdlib/fmtmsg.h: Likewise.
42120 * stdlib/monetary.h: Likewise.
42121 * stdlib/stdlib.h: Likewise.
42122 * stdlib/ucontext.h: Likewise.
42123 * streams/stropts.h: Likewise.
42124 * string/argz.h: Likewise.
42125 * string/bits/string2.h: Likewise.
42126 * string/string.h: Likewise.
42127 * string/strings.h: Likewise.
42128 * sunrpc/rpc/auth.h: Likewise.
42129 * sunrpc/rpc/auth_des.h: Likewise.
42130 * sunrpc/rpc/clnt.h: Likewise.
42131 * sunrpc/rpc/netdb.h: Likewise.
42132 * sunrpc/rpc/pmap_clnt.h: Likewise.
42133 * sunrpc/rpc/xdr.h: Likewise.
42134 * sysdeps/generic/inttypes.h: Likewise.
42135 * sysdeps/generic/net/if.h: Likewise.
42136 * sysdeps/generic/sys/swap.h: Likewise.
42137 * sysdeps/gnu/net/if.h: Likewise.
42138 * sysdeps/gnu/utmpx.h: Likewise.
42139 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42140 * sysdeps/i386/i486/bits/string.h: Likewise.
42141 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42142 * sysdeps/s390/bits/string.h: Likewise.
42143 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42144 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42145 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42146 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42147 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42148 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42149 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42150 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42151 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42152 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42153 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42154 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42155 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42156 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42157 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42158 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42159 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42161 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42162 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42163 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42164 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42165 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42166 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42167 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42168 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42169 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42170 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42171 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42172 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42173 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42174 * sysvipc/sys/ipc.h: Likewise.
42175 * sysvipc/sys/msg.h: Likewise.
42176 * sysvipc/sys/sem.h: Likewise.
42177 * sysvipc/sys/shm.h: Likewise.
42178 * termios/termios.h: Likewise.
42179 * time/sys/time.h: Likewise.
42180 * time/time.h: Likewise.
42181 * wcsmbs/bits/wchar2.h: Likewise.
42182 * wcsmbs/uchar.h: Likewise.
42183 * wcsmbs/wchar.h: Likewise.
42184 * wctype/wctype.h: Likewise.
42185
42186 [BZ #13551]
42187 * Makeconfig: Remove all but ELF support including AIX support.
42188 * Makerules: Likewise.
42189 * config.h.in: Likewise.
42190 * config.make.in: Likewise.
42191 * configure: Likewise.
42192 * configure.in: Likewise.
42193 * csu/Makefile: Likewise.
42194 * csu/version.c: Likewise.
42195 * debug/Makefile: Likewise.
42196 * dlfcn/Makefile: Likewise.
42197 * elf/Makefile: Likewise.
42198 * extra-lib.mk: Likewise.
42199 * iconv/Makefile: Likewise.
42200 * include/libc-symbols.h: Likewise.
42201 * include/shlib-compat.h: Likewise.
42202 * resolv/Makefile: Likewise.
42203 * resolv/res_libc.c: Likewise.
42204 * rt/Makefile: Likewise.
42205 * sysdeps/i386/asm-syntax.h: Likewise.
42206 * sysdeps/i386/sysdep.h: Likewise.
42207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42208 * sysdeps/mach/sysdep.h: Likewise.
42209 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42210 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42211 * sysdeps/s390/asm-syntax.h: Likewise.
42212 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42213 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42214 * sysdeps/sh/sysdep.h: Likewise.
42215 * sysdeps/unix/sparc/sysdep.h: Likewise.
42216 * sysdeps/wordsize-32/divdi3.c: Likewise.
42217 * sysdeps/x86_64/sysdep.h: Likewise.
42218
42219 * argp/Versions: Remove _argp_unlock_xxx.
42220
42221 [BZ #13559]
42222 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42223 * abilist/libBrokenLocale.abilist: Likewise.
42224 * abilist/libanl.abilist: Likewise.
42225 * abilist/libc.abilist: Likewise.
42226 * abilist/libcrypt.abilist: Likewise.
42227 * abilist/libdl.abilist: Likewise.
42228 * abilist/libm.abilist: Likewise.
42229 * abilist/libnsl.abilist: Likewise.
42230 * abilist/libpthread.abilist: Likewise.
42231 * abilist/libresolv.abilist: Likewise.
42232 * abilist/librt.abilist: Likewise.
42233 * abilist/libthread_db.abilist: Likewise.
42234 * abilist/libutil.abilist: Likewise.
42235 * abilist/libnss_db.abilist: New file.
42236
42237 * scripts/abilist.awk: Add support for indirect functions.
42238
42239 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42240
42241 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42242
42243 * shlib-versions: Remove entries for ports architectures.
42244
42245 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42246 files in ports.
42247 * elf/stackguard-macros.h: Remove support for IA-64.
42248 * elf/tst-auditmod1.c: Likewise.
42249 * sysdeps/generic/ldsodefs.h: Likewise.
42250
42251 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42252 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42253 configure files.
42254
42255 [BZ #13552]
42256 * configure.in: Remove --enable-omitfp support.
42257 * FAQ.in: Adjust.
42258 * config.make.in: Likewise.
42259 * Makeconfig: Likewise.
42260 * manual/install.texi: Likewise.
42261
42262 In case anyone cares, the IA-64 architecture could move to ports.
42263 * sysdeps/ia64/*: Removed.
42264 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42265 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42266
42267 [BZ #13555]
42268 * configure.in: Remove entries for unsupported architectures.
42269
42270 [BZ #13533]
42271 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42272 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42273 routines.
42274 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42275 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42276 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42277 fall back to using wcrtomb.
42278 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42279 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42280 renaming.
42281 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42282 * wcsmbs/tst-c16c32-1.c: New file.
42283
42284 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42285 local variable.
42286
42287 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42288
42289 * elf/tst-unique3.cc: Add explicit declaration of gets.
42290 * elf/tst-unique3lib.cc: Likewise.
42291 * elf/tst-unique3lib2.cc: Likewise.
42292 * elf/tst-unique4.cc: Likewise.
42293
42294 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42295
422962012-01-06 Joseph Myers <joseph@codesourcery.com>
42297
42298 [BZ #13566]
42299 * assert/assert.h (static_assert): Don't define for C++.
42300 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42301 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42302
423032012-01-03 Ulrich Drepper <drepper@gmail.com>
42304
42305 * iconv/loop.c (single loop): Fix assertion in storing of
42306 remaining bytes.
42307
42308 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42309
423102012-01-01 Ulrich Drepper <drepper@gmail.com>
42311
42312 * posix/getconf.c: Update copyright year.
42313 * nss/getent.c: Likewise.
42314 * nss/makedb.c: Likewise.
42315 * iconv/iconvconfig.c: Likewise.
42316 * iconv/iconv_prog.c: Likewise.
42317 * elf/ldconfig.c: Likewise.
42318 * elf/pldd.c: Likewise.
42319 * elf/sotruss.ksh: Likewise.
42320 * catgets/gencat.c: Likewise.
42321 * csu/version.c: Likewise.
42322 * elf/ldd.bash.in: Likewise.
42323 * elf/sprof.c (print_version): Likewise.
42324 * locale/programs/locale.c: Likewise.
42325 * locale/programs/localedef.c: Likewise.
42326 * login/programs/pt_chown.c: Likewise.
42327 * nscd/nscd.c (print_version): Likewise.
42328 * debug/xtrace.sh: Likewise.
42329 * malloc/memusage.sh: Likewise.
42330 * malloc/mtrace.pl: Likewise.
42331 * debug/catchsegv.sh: Likewise.
42332
423332011-12-30 Jakub Jelinek <jakub@redhat.com>
42334
42335 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42336 pure attribute.
42337
423382011-12-24 Ulrich Drepper <drepper@gmail.com>
42339
42340 [BZ #13533]
42341 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42342 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42343 transformations.
42344 * iconv/gconv_int.h: Likewise.
42345 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42346 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42347 from libc for GLIBC_2.16.
42348 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42349 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42350 * wcsmbs/uchar.h: Really define mbstate_t.
42351 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42352 * wcsmbs/c16rtomb.c: New file.
42353 * wcsmbs/mbrtoc16.c: New file.
42354 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42355 for C/POSIX locale.
42356 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42357 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42358
42359 * wcsmbs/wchar.h: Add missing __restrict.
42360
423612011-12-23 Ulrich Drepper <drepper@gmail.com>
42362
42363 [BZ #13532]
42364 * time/Makefile (routines): Add timespec_get.
42365 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42366 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42367 timespec for ISO C11.
42368 * time/timespec_get.c: New file.
42369 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42370 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42371
42372 [BZ #13531]
42373 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42374 * stdlib/stdlib.h: Declare aligned_alloc.
42375 * Versions.def: Add GLIBC_2.16 for libc.
42376 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42377
42378 [BZ 13527]
42379 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42380 ISO C11.
42381
42382 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42383 code.
42384
42385 [BZ #13528]
42386 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42387
42388 [BZ #13529]
42389 * assert/assert.h (static_assert): Define.
42390
42391 * version.h: Update for 2.16 development version.
42392
42393 [BZ #13526]
42394 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42395 _ISOC11_SOURCE.
42396
42397 * version.h (RELEASE): Bump for 2.15 release.
42398 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42399
42400 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42401 Patch by Marek Polacek <mpolacek@redhat.com>.
42402
42403 * bits/byteswap.h: Protect long long constants with __extension__.
42404 * sysdeps/i386/bits/byteswap.h: Likewise.
42405 * sysdeps/ia64/bits/byteswap.h: Likewise.
42406 * sysdeps/s390/bits/byteswap.h: Likewise.
42407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42408
424092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42410
42411 [BZ #13540]
42412 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42413 destination buffer.
42414 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42415
424162011-12-23 Marek Polacek <polacek@redhat.com>
42417
42418 * elf/dl-addr.c (determine_info): Add inline keyword.
42419 * elf/tst-auditmod4b.c (check_avx): Likewise.
42420 * elf/tst-auditmod6b.c (check_avx): Likewise.
42421 * elf/tst-auditmod6c.c (check_avx): Likewise.
42422 * elf/tst-auditmod7b.c (check_avx): Likewise.
42423
424242011-12-23 Ulrich Drepper <drepper@gmail.com>
42425
42426 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42427 !__SSE_MATH__.
42428
424292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42430
42431 [BZ #13540]
42432 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42433 processing for last bytes.
42434
424352011-08-06 Bruno Haible <bruno@clisp.org>
42436
42437 [BZ #13061]
42438 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42439 U+0385, not to U+1FEE.
42440
42441 [BZ #13062]
42442 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42443 entry for U+00A5 U+0301.
42444
424452011-12-22 Ulrich Drepper <drepper@gmail.com>
42446
42447 [BZ #13166]
42448 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42449 buffer for the output is too small.
42450
42451 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42452 optimization.
42453
42454 [BZ #13185]
42455 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42456 SSE flags if possible.
42457
424582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42459
42460 [BZ #13540]
42461 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42462 processing for last bytes.
42463
424642011-12-22 Joseph Myers <joseph@codesourcery.com>
42465
42466 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42467 (syscall-list-default-options, syscall-list-default-condition)
42468 (syscall-list-includes): Define.
42469 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42470 list of ABIs and options and #if conditions for each ABI. Do not
42471 handle common syscalls between ABIs specially.
42472 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42473 Remove.
42474 (syscall-list-variants, syscall-list-32bit-options)
42475 (syscall-list-32bit-condition, syscall-list-64bit-options)
42476 (syscall-list-64bit-condition): Define.
42477 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42478 (syscall-list-variants, syscall-list-32bit-options)
42479 (syscall-list-32bit-condition, syscall-list-64bit-options)
42480 (syscall-list-64bit-condition): Define.
42481 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42482 Remove.
42483 (syscall-list-variants, syscall-list-32bit-options)
42484 (syscall-list-32bit-condition, syscall-list-64bit-options)
42485 (syscall-list-64bit-condition): Define.
42486 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42487 Remove.
42488 (syscall-list-variants, syscall-list-32bit-options)
42489 (syscall-list-32bit-condition, syscall-list-64bit-options)
42490 (syscall-list-64bit-condition): Define.
42491
424922011-12-22 Ulrich Drepper <drepper@gmail.com>
42493
42494 * locale/iso-639.def: Add brx entry.
42495
42496 [BZ #13328]
42497 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42498 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42499
42500 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42501 __feraiseexcept_renamed.
42502
425032011-12-21 Ulrich Drepper <drepper@gmail.com>
42504
42505 [BZ #13538]
42506 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42507 EPOLLET with unsigned values.
42508 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42509 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42510
42511 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42512 to large cancellation.
42513 * math/s_cacoshf.c: Likewise.
42514 * math/s_cacoshl.c: Likewise.
42515
425162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42517
42518 [BZ #13305]
42519 [BZ #12786]
42520 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42521 * math/s_cacoshf.c: Likewise.
42522 * math/s_cacoshl.c: Likewise.
42523
425242011-12-21 Ulrich Drepper <drepper@gmail.com>
42525
42526 [BZ #13439]
42527 * iconv/gconv.h: Define __GCONV_SWAP.
42528 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42529 * iconvdata/utf-16.c: Likewise.
42530 * iconvdata/utf-32.c: Likewise.
42531
425322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42533
42534 [BZ #13524]
42535 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42536 numerator after shifting it by one limb.
42537
425382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42539
42540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42541 under [__USE_EXTERN_INLINES].
42542
425432011-12-17 Ulrich Drepper <drepper@gmail.com>
42544
42545 [BZ #13446]
42546 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42547
425482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42549
42550 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42551 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42552 optimized code.
42553 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42554 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42555 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42556 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42557 for strncasecmp/strncasecmp_l compilation.
42558 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42559 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42560
425612011-12-08 Marek Polacek <mpolacek@redhat.com>
42562
42563 [BZ #13484]
42564 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42565 of __asm__.
42566
425672011-12-17 Ulrich Drepper <drepper@gmail.com>
42568
42569 [BZ #13506]
42570 * time/tzfile.c (__tzfile_read): Check values from file header.
42571
425722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42573
42574 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42575 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42576 * powerpc/powerpc32/dl-start.S: Likewise.
42577 * powerpc/powerpc32/elf/start.S: Likewise.
42578 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42579 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42580 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42581 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42582 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42583 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42584 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42585 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42586 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42587 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42588 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42589 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42590 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42591 * powerpc/powerpc32/memset.S: Likewise.
42592 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42593 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42594 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42595 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42596 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42597 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42598 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42599 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42600 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42601 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42602 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42603 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42604 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42605
426062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42607
42608 * math/libm-test.inc: Added more nearbyint tests.
42609 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42610 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42613
426142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42615
42616 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42617 FD_CLOEXEC.
42618
426192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42620
42621 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42622 Add wcscpy-ssse3 wcscpy-c.
42623 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42624 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42625 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42626 * sysdeps/x86_64/wcschr.S: New file.
42627 * sysdeps/x86_64/wcsrchr.S: New file.
42628 * string/test-strcmp.c: Remove checking of wcscmp function for
42629 wrong alignments.
42630 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42631 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42632 wcsrchr-sse2 wcsrchr-c.
42633 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42634 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42635 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42636 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42637 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42638 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42639 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42640 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42641 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42642 * wcsmbc/wcschr.c (WCSCHR): New macro.
42643
426442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42645
42646 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42647 * wcsmbs/test-wcsrchr.c: New file.
42648 * string/test-strrchr.c: Add wcsrchr support.
42649 (WIDE): New macro.
42650 * wcsmbs/test-wcscpy.c: New file.
42651 * string/test-strcpy.c: Add wcscpy support.
42652 (WIDE): New macro.
42653
426542011-12-10 Ulrich Drepper <drepper@gmail.com>
42655
42656 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42657 the inner loop.
42658
426592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42660
42661 [BZ #13472]
42662 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42663
426642011-12-04 Ulrich Drepper <drepper@gmail.com>
42665
42666 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42667 Minor optimizations.
42668
42669 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42670 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42671 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42672
426732011-12-03 Ulrich Drepper <drepper@gmail.com>
42674
42675 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42676 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42677 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42678 for gcc to avoid warnings.
42679 * inet/Makefile (tests): Add tst-checks.
42680 * inet/tst-checks.c: New file.
42681
42682 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42683 warning.
42684
42685 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42686 __wmemcmp_sse2.
42687
42688 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42689 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42690
42691 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42692
426932011-12-02 Ulrich Drepper <drepper@gmail.com>
42694
42695 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42696 problem.
42697
42698 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42699
427002011-11-29 Joseph Myers <joseph@codesourcery.com>
42701
42702 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42703 conditional on GCC version.
42704 (__arch_compare_and_exchange_val_8_acq)
42705 (__arch_compare_and_exchange_val_16_acq)
42706 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42707 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42708 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42709
427102011-12-02 Joseph Myers <joseph@codesourcery.com>
42711
42712 * sysdeps/sh/backtrace.c: New file.
42713
427142011-12-02 Andreas Schwab <schwab@redhat.com>
42715
42716 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42717 parenthesis.
42718
427192011-12-01 Andreas Schwab <schwab@redhat.com>
42720
42721 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42722 falling back to utime.
42723
427242011-11-30 Andreas Schwab <schwab@redhat.com>
42725
42726 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42727 expectations for float.
42728
427292011-11-29 Andreas Schwab <schwab@redhat.com>
42730
42731 * locale/weight.h (findidx): Add parameter len.
42732 * locale/weightwc.h (findidx): Likewise.
42733 * posix/fnmatch_loop.c (FCT): Adjust caller.
42734 * posix/regcomp.c (build_equiv_class): Likewise.
42735 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42736 * posix/regexec.c (check_node_accept_bytes): Likewise.
42737 * string/strcoll_l.c (STRCOLL): Likewise.
42738 * string/strxfrm_l.c (STRXFRM): Likewise.
42739
427402011-11-17 Ulrich Drepper <drepper@gmail.com>
42741
42742 * Makefile.in: Remove CVSOPT handling.
42743 * configure.in: Remove use of AC_REVISION.
42744 * iconvdata/Makefile (distribute): No need to filter out CVS.
42745 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42746 handling.
42747
427482011-11-16 Andreas Schwab <schwab@redhat.com>
42749
42750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42751 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42752 [USE_AS_STRNCASECMP_L]: Likewise.
42753 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42754 NO_TLS_DIRECT_SEG_REFS.
42755 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42756 Fix argument offsets for non-PIC.
42757 [USE_AS_STRNCASECMP_L]: Likewise.
42758 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42759 NO_TLS_DIRECT_SEG_REFS.
42760
427612011-11-15 Ulrich Drepper <drepper@gmail.com>
42762
42763 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42764 O_CLOEXEC.
42765 * locale/loadlocale.c (_nl_load_locale): Likewise.
42766
427672011-11-15 Andreas Schwab <schwab@redhat.com>
42768
42769 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42770 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42771 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42772 (SYSCALL_GETTIME): Set errno on error.
42773
42774 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42775 count references to noai6ai_cached.
42776
427772011-11-15 Ulrich Drepper <drepper@gmail.com>
42778
42779 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42780
42781 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42782 FD_CLOEXEC for /proc/self/maps.
42783
42784 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42785 FD_CLOEXEC for /proc/meminfo.
42786
42787 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42788 gai.conf.
42789
42790 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42791 FD_CLOEXEC for given file.
42792
42793 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42794
42795 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42796 FD_CLOEXEC for /etc/hosts.
42797 (_gethtent): Likewise.
42798
42799 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42800
42801 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42802 cancellation and set FD_CLOEXEC for /etc/netgroup.
42803
42804 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42805 reading /etc/publickey.
42806
42807 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42808 allow cancellation when reading /etc/group.
42809
42810 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42811 cancellation.
42812 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42813
42814 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42815 when using data file.
42816
42817 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42818
42819 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42820 (write_nis_obj): Use "c" and "e" in fopen.
42821
42822 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42823
42824 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42825
42826 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42827
42828 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42829
42830 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42831 locale.alias.
42832
42833 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42834
42835 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42836
42837 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42838
42839 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42840 file parsing and set FD_CLOEXEC.
42841
428422011-11-14 Ulrich Drepper <drepper@gmail.com>
42843
42844 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42845
428462011-11-14 Andreas Schwab <schwab@redhat.com>
42847
42848 * malloc/arena.c (arena_get2): Don't call reused_arena when
42849 _int_new_arena failed.
42850
428512011-11-14 Ulrich Drepper <drepper@gmail.com>
42852
42853 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42854 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42855 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42856 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42858 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42859 to compile strcasecmp and strncasecmp.
42860 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42861 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42862
42863 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42864
428652011-11-13 Ulrich Drepper <drepper@gmail.com>
42866
42867 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42868 locale-defines.sym to gen-as-const-headers.
42869 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42870 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42872 to compile strcasecmp and strncasecmp.
42873 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42874 strcasecmp_l and strncasecmp_l.
42875 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42876 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42877 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42878 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42879 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42880 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42881 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42882 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42883 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42884 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42885 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42886
428872011-11-12 Ulrich Drepper <drepper@gmail.com>
42888
42889 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42890 result of SYSDEP_GETTIME_CPU to retval.
42891 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42892 parameter list to macro. Remove trailing semicolon. Adjust users.
42893
42894 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42895 variable.
42896
42897 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42898 mantissa words.
42899 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42900
42901 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42902 from unused variable.
42903
42904 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42905 DWARF definitions.
42906 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42907 for assembling.
42908
42909 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42910 over namespaces.
42911
42912 * sunrpc/rpc_prot.c (rejected): Fix case value.
42913
42914 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42915 unsigned long long int to avoid warnings in shift.
42916
42917 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42918 of use of trans.
42919 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42920 variable tmp.
42921
42922 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42923 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42924 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42925
42926 * nis/nis_table.c (nis_list): Use variable of correct type for
42927 result of __follow_path call.
42928
429292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42930
42931 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42932 of math functions ceil, trunc, floor, round, and sqrt, when
42933 avaliable on the platform.
42934 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42935 name clash.
42936 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42937 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42938 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42939
429402011-10-30 Marek Polacek <mpolacek@redhat.com>
42941
42942 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42943 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42944
429452011-11-11 Roland McGrath <roland@hack.frob.com>
42946
42947 * include/unistd.h: Fix __readlink return type.
42948 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42949
429502011-11-11 Ulrich Drepper <drepper@gmail.com>
42951
42952 * stdlib/ucontext.h: Undo last change for makecontext.
42953
429542011-11-11 Andreas Schwab <schwab@redhat.com>
42955
42956 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42957
42958 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42959 * setjmp/setjmp.h: Mark functions as non-leaf.
42960 * setjmp/bits/setjmp2.h: Likewise.
42961 * stdlib/ucontext.h: Likewise.
42962
429632011-11-10 Andreas Schwab <schwab@redhat.com>
42964
42965 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42966 (reused_arena): Don't check arena limit.
42967 (arena_get2): Atomically check arena limit.
42968
429692011-11-08 Ulrich Drepper <drepper@gmail.com>
42970
42971 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42972 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42973
42974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42975 instructions.
42976
429772011-11-07 Andreas Schwab <schwab@redhat.com>
42978
42979 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42980 handler when locking.
42981
42982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42983 Fix size of allocated buffer.
42984
429852011-11-04 Andreas Schwab <schwab@redhat.com>
42986
42987 [BZ #10103]
42988 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42989 declarations for long double functions.
42990 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42991
42992 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42993
429942011-11-03 Andreas Schwab <schwab@redhat.com>
42995
42996 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42997 installed.
42998
42999 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43000 is disabled.
43001
430022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43003
43004 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43005
430062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43007
43008 * include/alloca.h (stackinfo_alloca_round): Define.
43009 (extend_alloca): Use it.
43010 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43011 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43012 here.
43013
43014 * scripts/check-local-headers.sh: Ignore libaudit.h.
43015
43016 * nscd/Makefile (extra-objs): Make recursively expanded.
43017
430182011-11-01 Ulrich Drepper <drepper@gmail.com>
43019
43020 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43022
43023 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43024 * posix/tst-rfc3484-2.c: Likewise.
43025 * posix/tst-rfc3484-3.c: Likewise.
43026
43027 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43028 process_vm_writev.
43029 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43030 process_vm_writev.
43031 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43032 process_vm_writev from libc using GLIBC_2.15 version.
43033
43034 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43035
430362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43037
43038 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43039 stack usage.
43040
430412011-10-31 Ulrich Drepper <drepper@gmail.com>
43042
43043 [BZ #13367]
43044 * nss/getent.c (initgroups_keys): Show error message in case no group
43045 names are given.
43046
43047 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43048 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43049 __bump_nl_timestamp.
43050 * nscd/connections (nscd_init): When host database is served open
43051 netlink socket and request notification about configuration changes.
43052 (main_loop_poll): Track netlink file descriptor and bump timestamp
43053 in case data becomes available.
43054 (main_loop_epoll): Likewise.
43055 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43056 (database_pers_head): Add extra_data fileds.
43057 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43058 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43059 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43060 Adjust caller.
43061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43062 in6ai data, call __free_in6ai.
43063 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43064 Add -DHAVE_NETLINK.
43065 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43066 interface information. Reuse previous data if netlink timestamp
43067 is not changed.
43068 (__bump_nl_timestamp): New function.
43069 (__free_in6ai): New function.
43070
430712011-10-30 Ulrich Drepper <drepper@gmail.com>
43072
43073 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43074 close_not_cancel_no_status here.
43075 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43076
430772011-10-29 Ulrich Drepper <drepper@gmail.com>
43078
43079 [BZ #13276]
43080 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43081 return value.
43082
43083 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43084 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43085 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43086
430872011-07-03 Andreas Jaeger <aj@suse.de>
43088
43089 [BZ #10709]
43090 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43091 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43092 * math/libm-test.inc (sin_test): Add test case.
43093
430942011-10-29 Ulrich Drepper <drepper@gmail.com>
43095
43096 [BZ #13337]
43097 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43098 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43099
43100 * elf/chroot_canon.c (chroot_canon): Cleanups.
43101
43102 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43103
43104 [BZ #13335]
43105 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43106 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43107
43108 * string/test-strchr.c: Make usable for strchrnul testing.
43109 * string/test-strchrnul.c: New file.
43110 * string/Makefile (strop-tests): Add strchrnul.
43111
43112 * po/it.po: Update from translation team.
43113 * po/es.po: Likewise.
43114
431152011-10-28 Ulrich Drepper <drepper@gmail.com>
43116
43117 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43118 the three constants needed as parameters. Drop the others.
43119 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43120 __m128i_strloadu_tolower.
43121 Create and initialize variable zero and use it in all the places
43122 where _mm_setzero_si128 was used.
43123
43124 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43125 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43126 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43127 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43128 anymore.
43129 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43130 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43131 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43132 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43133 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43134 __mpranred, __mptan.
43135 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43136 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43137 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43138 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43139 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43140 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43141 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43142 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43143 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43144
431452011-10-28 Andreas Schwab <schwab@redhat.com>
43146
43147 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43148 redefine if SHARED.
43149 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43150
43151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43152 wide char related routines to wcsmbs subdir.
43153
431542011-10-27 Andreas Schwab <schwab@redhat.com>
43155
43156 [BZ #13344]
43157 * misc/sys/cdefs.h (__THROWNL): Define.
43158 * posix/unistd.h: Use __THREADNL instead of __THREAD
43159 for memory synchronization functions.
43160
431612011-10-26 Roland McGrath <roland@hack.frob.com>
43162
43163 [BZ #13349]
43164 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43165 doesn't exist.
43166 * manual/stdio.texi (Obstack Streams): Node removed.
43167
431682011-10-26 Andreas Schwab <schwab@redhat.com>
43169
43170 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43171 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43172 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43173
43174 * math/math_private.h (math_force_eval): Allow non-addressable
43175 arguments.
43176 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43177
431782011-10-25 Ulrich Drepper <drepper@gmail.com>
43179
43180 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43181 file is not needed.
43182
43183 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43185 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43186 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43187 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43188 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43189 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43190 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43191 Add AVX variants.
43192 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43193 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43194 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43195 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43196 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43197 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43198 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43199 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43200 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43201 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43202 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43203 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43204 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43205 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43206 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43207 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43208 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43209 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43210 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43211
43212 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43213 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43214
43215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43216 place. Use VEX encoding when compiling for AVX.
43217
432182011-10-25 Andreas Schwab <schwab@redhat.com>
43219
43220 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43221 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43222
43223 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43224
432252011-10-25 Ulrich Drepper <drepper@gmail.com>
43226
43227 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43228 useless if() expression.
43229 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43231 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43234 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43235 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43237 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43238 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43239 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43240 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43241 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43242 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43243 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43245 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43246 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43247 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43248
43249 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43250
432512011-10-25 Andreas Schwab <schwab@redhat.com>
43252
43253 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43254 condition.
43255 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43256
432572011-10-25 Ulrich Drepper <drepper@gmail.com>
43258
43259 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43260 .text section. Avoid duplicate constants.
43261 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43269 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43270 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43271 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43272 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43273 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43274 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43275 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43276 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43277 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43278 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43284 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43285 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43286 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43287 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43288 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43289 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43290 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43291 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43292 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43293 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43294 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43295 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43296 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43297 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43298 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43299 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43300 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43302 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43303 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43304 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43305 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43306
433072011-10-24 Ulrich Drepper <drepper@gmail.com>
43308
43309 * sysdeps/x86_64/dla.h: Move to ...
43310 * sysdeps/x86_64/fpu/dla.h: ...here.
43311 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43312 situations. Use __builtin_fma only for gcc 4.6 and up.
43313
43314 * config.make.in: Add have-mfma4 entry.
43315 * configure.in: Substitute libc_cv_cc_fma4.
43316 * math/Makefile (dbl-only-routines): Add sincostab.
43317 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43318 Use __sincostab not sincos.
43319 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43320 name is a macro.
43321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43325 using __copysign.
43326 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43327 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43328 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43329 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43330 and __inv.
43331 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43332 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43333 __copysign.
43334 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43335 define aliases when function name is a macro.
43336 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43337 sysdeps/ieee754/dbl-64/sincos.tbl.
43338 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43339 fma4-enabled routines.
43340 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43341 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43342 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43343 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43344 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43345 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43346 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43347 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43348 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43349 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43350 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43351 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43352 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43353 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43354 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43355 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43356 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43357 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43358 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43360 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43361 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43362 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43365 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43366 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43367 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43368 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43369 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43370
43371 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43372 rename.
43373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43379 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43380 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43381
433822011-10-24 Andreas Schwab <schwab@redhat.com>
43383
43384 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43385
433862011-10-23 Ulrich Drepper <drepper@gmail.com>
43387
43388 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43389
43390 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43391 prediction.
43392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43393
43394 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43395 Remove unused variable magic_bits.
43396 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43397
43398 * string/strnlen.c: Define and use STRNLEN macro.
43399 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43400 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43401 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43402 * wcsmbs/wcslen.c: Define and use WCSLEN.
43403 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43404 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43405 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43406 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43407 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43408 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43409 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43410
434112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43412
43413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43414 strnlen-sse2-no-bsf.
43415 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43416 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43417 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43418 Add strnlen support.
43419 (USE_AS_STRNLEN): New macro.
43420 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43421 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43422 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43423 * sysdeps/x86_64/wcslen.S: New file.
43424
434252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43426
43427 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43428 XMM-moves are used for copying on small sizes.
43429
434302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43431
43432 * wcsmbs/Makefile (strop-tests): Add wcschr.
43433 * wcsmbs/test-wcschr.c: New file.
43434 * string/test-strchr.c: Update.
43435 Add wcschr support.
43436 (WIDE): New macro.
43437
434382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43439
43440 * wcsmbs/Makefile (strop-tests): Add wcslen.
43441 * wcsmbs/test-wcslen.c: New file.
43442 * string/test-strlen.c: Update.
43443 Add wcslen support.
43444 (WIDE): New macro.
43445
434462011-10-23 Ulrich Drepper <drepper@gmail.com>
43447
43448 * po/it.po: Update from translation team.
43449
434502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43451
43452 * sysdeps/x86_64/wcscmp.S: Update.
43453 Fix wrong comparison semantics.
43454 wcscmp shall use signed comparison not unsigned.
43455 Don't use substraction to avoid overflow bug.
43456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43457 * wcsmbc/wcscmp.c: Likewise.
43458 * string/test-strcmp.c: Likewise.
43459 Add new tests to check cases with negative values.
43460
434612011-10-23 Ulrich Drepper <drepper@gmail.com>
43462
43463 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43464 * sysdeps/x86_64/dla.h: ...here. New file.
43465 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43466 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43470 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43473 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43474
434752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43476
43477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43478 __ynl_finite aliases.
43479
434802011-10-22 Ulrich Drepper <drepper@gmail.com>
43481
43482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43483
43484 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43485 define DLA_FMA.
43486 [DLA_FMA] (EMULV): Use DLA_FMA.
43487 [DLA_FMA] (MUL12): Use EMULV.
43488 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43489 that are not needed.
43490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43497
434982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43499
43500 * math/s_nan.c: Undef __nan.
43501 * math/s_nanf.c: Undef __nanf.
43502 * math/s_nanl.c: Undef __nanl.
43503 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43504 "math_private.h".
43505
435062011-10-22 Ulrich Drepper <drepper@gmail.com>
43507
43508 * math/s_catan.c: Add branch predictions.
43509 * math/s_catanf.c: Likewise.
43510 * math/s_catanh.c: Likewise.
43511 * math/s_catanhf.c: Likewise.
43512 * math/s_catanhl.c: Likewise.
43513 * math/s_catanl.c: Likewise.
43514 * math/s_cexp.c: Likewise.
43515 * math/s_cexpf.c: Likewise.
43516 * math/s_cexpl.c: Likewise.
43517 * math/s_clog.c: Likewise.
43518 * math/s_clog10.c: Likewise.
43519 * math/s_clog10f.c: Likewise.
43520 * math/s_clog10l.c: Likewise.
43521 * math/s_clogf.c: Likewise.
43522 * math/s_clogl.c: Likewise.
43523 * math/s_csqrt.c: Likewise.
43524 * math/s_csqrtf.c: Likewise.
43525 * math/s_csqrtl.c: Likewise.
43526 * math/s_ctanf.c: Likewise.
43527 * math/s_ctanh.c: Likewise.
43528 * math/s_ctanhf.c: Likewise.
43529 * math/s_ctanhl.c: Likewise.
43530 * math/s_ctanl.c: Likewise.
43531
43532 * math/math_private.h: Define __nan, __nanf, __nanl.
43533 * math/s_cacosh.c: Include <math_private.h>.
43534 * math/s_cacoshl.c: Likewise.
43535 * math/s_casinh.c: Likewise.
43536 * math/s_casinhf.c: Likewise.
43537 * math/s_casinhl.c: Likewise.
43538 * math/s_ccos.c: Rely entire on ccosh.
43539 * math/s_ccosf.c: Rely entire on ccoshf.
43540 * math/s_ccosl.c: Rely entirely on ccoshl.
43541 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43542 Remove tests for FE_INVALID.
43543 * math/s_ccoshf.c: Likewise.
43544 * math/s_ccoshl.c: Likewise.
43545 * math/s_csin.c: Likewise.
43546 * math/s_csinf.c: Likewise.
43547 * math/s_csinh.c Likewise.
43548 * math/s_csinhf.c: Likewise.
43549 * math/s_csinhl.c: Likewise.
43550 * math/s_csinl.c: Likewise.
43551 * math/s_ctan.c: Likewise.
43552 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43553 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43554 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43555
435562011-10-21 Ulrich Drepper <drepper@gmail.com>
43557
43558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43559 compilation problems.
43560
43561 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43562 __builtin_expect.
43563
435642011-10-20 Ulrich Drepper <drepper@gmail.com>
43565
43566 * sysdeps/i386/configure.in: Test for -mfma4 option.
43567 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43568 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43569 COMMON_CPUID_INDEX_80000001.
43570 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43571 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43572 use it if FMA3 is not supported.
43573 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43574
43575 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43576 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43577
435782011-10-20 Andreas Schwab <schwab@redhat.com>
43579
43580 [BZ #12892]
43581 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43582 it would create a cycle with a link time dependency.
43583
435842011-10-19 Ulrich Drepper <drepper@gmail.com>
43585
43586 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43587 instruction.
43588 * string/Makefile (strop-tests): Add rawmemchr.
43589 * string/test-rawmemchr.c: New file.
43590
43591 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43592 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43593 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43594 when compiling str{,n}casecmp and when AVX is available. Hook up
43595 new optimized code in initializers.
43596
435972011-10-19 Andreas Schwab <schwab@redhat.com>
43598
43599 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43600 __feraiseexcept instead of feraiseexcept.
43601
436022011-10-18 Ulrich Drepper <drepper@gmail.com>
43603
43604 * math/math_private.h: Define defaults for libc_fetestexcept and
43605 libc_feupdateenv.
43606 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43607 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43608 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43609 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43610 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43611 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43612 libc_fetestexcept and libc_feupdateenv.
43613
43614 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43615 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43616 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43617 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43618 libc_feholdexcept_setround.
43619
43620 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43621 Add s_nearbyint-c and s_nearbyintf-c.
43622 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43623 nearbyintf inlines.
43624 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43625 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43626 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43627 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43628
43629 * math/math_private.h: Define defaults for libc_fegetround,
43630 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43631 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43632 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43633 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43634 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43635 standard functions.
43636 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43637 Remove comments and hacks for old compiler versions.
43638 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43639 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43640 libc_feholdexceptl.
43641
436422011-10-18 Andreas Schwab <schwab@redhat.com>
43643
43644 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43645 (__feraiseexcept_renamed): Add __NTH.
43646 (feraiseexcept): Add __NTH. Rename local variables to fix
43647 namespace violations.
43648
436492011-10-17 Ulrich Drepper <drepper@gmail.com>
43650
43651 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43652
43653 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43654
43655 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43656 recently added interfaces.
43657 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43658
43659 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43660 about macro parameter expansion.
43661
43662 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43663 __NO_MATH_INLINES is defined. Cleanups.
43664
43665 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43666 and __floorf is target has SSE4.1.
43667 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43668 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43669 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43670 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43671
43672 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43673 name.
43674 (floorf): Likewise.
43675
43676 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43677
436782011-10-17 Andreas Schwab <schwab@redhat.com>
43679
43680 * misc/sys/cdefs.h: Fix last change.
43681
43682 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43683 database lookup.
43684
436852011-10-16 Ulrich Drepper <drepper@gmail.com>
43686
43687 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43688
43689 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43691 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43692 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43693 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43694 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43695 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43696 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43697 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43698 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43699 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43700 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43701 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43702 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43703 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43704 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43705 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43706 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43707 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43708 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43709 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43710 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43711
43712 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43713 ceil, ceilf, floor, floorf.
43714
43715 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43716 Perform IRELATIVE relocations last.
43717
43718 * elf/do-rel.h: Add another parameter nrelative, replacing the
43719 local variable with the same name. Change name of the function
43720 to end in Rel or Rela (uppercase).
43721 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43722 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43723 elf_dynamic_do_##reloc function.
43724
437252011-10-15 Ulrich Drepper <drepper@gmail.com>
43726
43727 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43728 is sufficient, at least on modern CPUs.
43729
43730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43731
43732 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43733 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43734
43735 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43736 __expl_finite.
43737 * math/bits/math-finite.h: Add entries for exp.
43738 * math/e_expl.c: Add __*_finite alias.
43739 * sysdeps/i386/fpu/e_exp.S: Likewise.
43740 * sysdeps/i386/fpu/e_expf.S: Likewise.
43741 * sysdeps/i386/fpu/e_expl.c: Likewise.
43742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43743 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43744 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43745 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43746 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43747 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43748 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43749
43750 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43751 is sufficient, at least on modern CPUs.
43752
43753 * ctype/ctype-info.c (__ctype_init): Define.
43754 * include/ctype.h (__ctype_init): Declare.
43755 (__ctype_b_loc): The variable is always initialized.
43756 (__ctype_toupper_loc): Likewise.
43757 (__ctype_tolower_loc): Likewise.
43758 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43759 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43760
437612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43762
43763 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43764
43765 * configure.in: Also look in $cxxmachine/include for C++ system
43766 headers.
43767
437682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43769
43770 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43771 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43772 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43773 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43774 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43775 (USE_AS_WMEMCMP): New macro.
43776 Fixing indents.
43777 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43778 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43779 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43780 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43782 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43783 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43784 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43785 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43786 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43787 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43788 (USE_AS_WMEMCMP): New macro.
43789 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43790 * sysdeps/string/test-memcmp.c: Update.
43791 Fix simple_wmemcmp.
43792 Add new tests.
43793 * wcsmbs/wmemcmp.c: Update.
43794 (WMEMCMP): New macro.
43795 Fix overflow bug.
43796
437972011-10-12 Andreas Jaeger <aj@suse.de>
43798
43799 [BZ #13268]
43800 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43801
438022011-10-15 Ulrich Drepper <drepper@gmail.com>
43803
43804 * libio/iofwide.c (do_length): Avoid warning.
43805
43806 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43807
438082011-10-14 Ulrich Drepper <drepper@gmail.com>
43809
43810 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43811
43812 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43813 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43814 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43815 * sysdeps/i386/i686/fpu/e_log.S: New file.
43816 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43817 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43818
43819 * ctype/ctype.h: Add support for inlined isXXX functions when
43820 compiling C++ code.
43821
438222011-10-14 Andreas Schwab <schwab@redhat.com>
43823
43824 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43825
43826 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43827
438282011-10-13 Roland McGrath <roland@hack.frob.com>
43829
43830 [BZ #13291]
43831 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43832
438332011-10-13 Andreas Schwab <schwab@redhat.com>
43834
43835 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43836 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43837 feraiseexcept.
43838
43839 * sysdeps/x86_64/memrchr.S: Check for zero size.
43840
43841 * string/stratcliff.c: Add memrchr tests.
43842
438432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43844
43845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43846 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43847 rawmemchr-sse2 rawmemchr-sse2-bsf.
43848 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43849 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43850 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43851 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43852 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43853 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43854 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43855 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43856 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43857 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43858 * string/memrchr.c (MEMRCHR): New macro.
43859
438602011-10-12 Ulrich Drepper <drepper@gmail.com>
43861
43862 Add integration with gcc's -ffinite-math-only and optimize wrapper
43863 functions in libm.
43864 * Versions.def: Define GLIBC_2.15 version for libm.
43865 * math/Makefile (headers): Add bits/math-finite.h.
43866 * math/bits/math-finite.h: New file.
43867 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43868 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43869 * math/e_acoshl.c: Add __*_finite alias.
43870 * math/e_acosl.c: Likewise.
43871 * math/e_asinl.c: Likewise.
43872 * math/e_atan2l.c: Likewise.
43873 * math/e_atanhl.c: Likewise.
43874 * math/e_coshl.c: Likewise.
43875 * math/e_exp10.c: Likewise.
43876 * math/e_exp10f.c: Likewise.
43877 * math/e_exp10l.c: Likewise.
43878 * math/e_exp2l.c: Likewise.
43879 * math/e_fmodl.c: Likewise.
43880 * math/e_gammal_r.c: Likewise.
43881 * math/e_hypotl.c: Likewise.
43882 * math/e_j0l.c: Likewise.
43883 * math/e_j1l.c: Likewise.
43884 * math/e_jnl.c: Likewise.
43885 * math/e_lgammal_r.c: Likewise.
43886 * math/e_log10l.c: Likewise.
43887 * math/e_log2l.c: Likewise.
43888 * math/e_logl.c: Likewise.
43889 * math/e_powl.c: Likewise.
43890 * math/e_sinhl.c: Likewise.
43891 * math/e_sqrtl.c: Likewise.
43892 * math/e_scalb.c: Completely rewritten and optimized.
43893 * math/e_scalbf.c: Likewise.
43894 * math/e_scalbl.c: Likewise.
43895 * math/w_acos.c: Likewise.
43896 * math/w_acosf.c: Likewise.
43897 * math/w_acosl.c: Likewise.
43898 * math/w_acosh.c: Likewise.
43899 * math/w_acoshf.c: Likewise.
43900 * math/w_acoshl.c: Likewise.
43901 * math/w_asin.c: Likewise.
43902 * math/w_asinf.c: Likewise.
43903 * math/w_asinl.c: Likewise.
43904 * math/w_atan2.c: Likewise.
43905 * math/w_atan2f.c: Likewise.
43906 * math/w_atan2l.c: Likewise.
43907 * math/w_atanh.c: Likewise.
43908 * math/w_atanhf.c: Likewise.
43909 * math/w_atanhl.c: Likewise.
43910 * math/w_exp10.c: Likewise.
43911 * math/w_exp10f.c: Likewise.
43912 * math/w_exp10l.c: Likewise.
43913 * math/w_fmod.c: Likewise.
43914 * math/w_fmodf.c: Likewise.
43915 * math/w_fmodl.c: Likewise.
43916 * math/w_j0.c: Likewise.
43917 * math/w_j0f.c: Likewise.
43918 * math/w_j0l.c: Likewise.
43919 * math/w_j1.c: Likewise.
43920 * math/w_j1f.c: Likewise.
43921 * math/w_j1l.c: Likewise.
43922 * math/w_jn.c: Likewise.
43923 * math/w_jnf.c: Likewise.
43924 * math/w_log.c: Likewise.
43925 * math/w_logf.c: Likewise.
43926 * math/w_logl.c: Likewise.
43927 * math/w_log10.c: Likewise.
43928 * math/w_log10f.c: Likewise.
43929 * math/w_log10l.c: Likewise.
43930 * math/w_log2.c: Likewise.
43931 * math/w_log2f.c: Likewise.
43932 * math/w_log2l.c: Likewise.
43933 * math/w_pow.c: Likewise.
43934 * math/w_powf.c: Likewise.
43935 * math/w_powl.c: Likewise.
43936 * math/w_remainder.c: Likewise.
43937 * math/w_remainderf.c: Likewise.
43938 * math/w_remainderl.c: Likewise.
43939 * math/w_scalb.c: Likewise.
43940 * math/w_scalbf.c: Likewise.
43941 * math/w_scalbl.c: Likewise.
43942 * math/w_sqrt.c: Likewise.
43943 * math/w_sqrtf.c: Likewise.
43944 * math/w_sqrtl.c: Likewise.
43945 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43946 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43947 used.
43948 * math/math_private.h: Declare __kernel_standard_f.
43949 * math/w_cosh.c: Remove cruft and optimize a bit.
43950 * math/w_coshf.c: Likewise.
43951 * math/w_coshl.c: Likewise.
43952 * math/w_exp2.c: Likewise.
43953 * math/w_exp2f.c: Likewise.
43954 * math/w_exp2l.c: Likewise.
43955 * math/w_hypot.c: Likewise.
43956 * math/w_hypotf.c: Likewise.
43957 * math/w_hypotl.c: Likewise.
43958 * math/w_lgamma.c: Likewise.
43959 * math/w_lgamma_r.c: Likewise.
43960 * math/w_lgammaf.c: Likewise.
43961 * math/w_lgammaf_r.c: Likewise.
43962 * math/w_lgammal.c: Likewise.
43963 * math/w_lgammal_r.c: Likewise.
43964 * math/w_sinh.c: Likewise.
43965 * math/w_sinhf.c: Likewise.
43966 * math/w_sinhl.c: Likewise.
43967 * math/w_tgamma.c: Likewise.
43968 * math/w_tgammaf.c: Likewise.
43969 * math/w_tgammal.c: Likewise.
43970 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43972 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43973 Minor optimizations. Pretty printing. Remove cruft.
43974 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43975 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43976 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43977 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43978 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43979 * sysdeps/i386/fpu/e_asin.S: Likewise.
43980 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43981 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43982 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43983 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43984 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43985 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43986 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43987 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43988 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43989 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43990 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43991 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43992 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43993 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43994 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43995 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43996 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43997 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43998 * sysdeps/i386/fpu/e_log.S: Likewise.
43999 * sysdeps/i386/fpu/e_log10.S: Likewise.
44000 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44001 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44002 * sysdeps/i386/fpu/e_log2.S: Likewise.
44003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44004 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44005 * sysdeps/i386/fpu/e_logf.S: Likewise.
44006 * sysdeps/i386/fpu/e_logl.S: Likewise.
44007 * sysdeps/i386/fpu/e_pow.S: Likewise.
44008 * sysdeps/i386/fpu/e_powf.S: Likewise.
44009 * sysdeps/i386/fpu/e_powl.S: Likewise.
44010 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44011 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44012 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44013 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44015 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44016 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44017 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44018 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44032 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44033 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44040 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44043 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44044 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44045 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44046 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44047 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44048 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44049 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44050 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44051 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44052 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44053 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44054 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44055 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44056 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44057 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44058 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44059 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44060 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44061 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44062 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44063 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44064 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44065 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44068 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44069 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44070 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44098 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44099 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44101 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44102 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44103 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44104 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44105 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44106 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44107 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44110 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44111 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44112 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44113 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44114 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44115 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44116 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44117 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44118 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44119 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44120 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44121 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44122 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44123 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44124 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44125 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44126 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44127 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44128 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44129 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44130 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44131 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44132 (__isnanf): Likewise.
44133 (__isinf_ns): Likewise.
44134 (__isinf_nsf): Likewise.
44135 (__finite): Likewise.
44136 (__finitef): Likewise.
44137 (__ieee754_sqrt): Define as macro.
44138 (__ieee754_sqrtf): Define as macro.
44139 (__ieee754_sqrtl): Define as macro.
44140 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44141 inlined copy.
44142 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44143 __FINITE_MATH_ONLY__ consistent.
44144 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44145
441462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44147
44148 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44149 of rawmemchr.
44150
44151 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44152
441532011-10-09 Ulrich Drepper <drepper@gmail.com>
44154
44155 * po/ja.po: Update from translation team.
44156
441572011-10-08 Roland McGrath <roland@hack.frob.com>
44158
44159 * locale/programs/locarchive.c (prepare_address_space): New function.
44160 (create_archive, enlarge_archive, open_archive): Use it.
44161
44162 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44163 inside [SHARED], where it is used.
44164
44165 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44166
44167 * nss/getent.c (netgroup_keys): Remove unused variable.
44168 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44169
441702011-10-08 Ulrich Drepper <drepper@gmail.com>
44171
44172 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44173 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44176 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44177 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44178 * math/Makefile (libm-calls): Add s_isinf_ns.
44179 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44180 * math/multc3.c: Likewise.
44181 * math/s_casin.c: Likewise.
44182 * math/s_casinf.c: Likewise.
44183 * math/s_casinl.c: Likewise.
44184 * math/s_ccos.c: Likewise.
44185 * math/s_ccosf.c: Likewise.
44186 * math/s_ccosl.c: Likewise.
44187 * math/s_ctan.c: Likewise.
44188 * math/s_ctanf.c: Likewise.
44189 * math/s_ctanh.c: Likewise.
44190 * math/s_ctanhf.c: Likewise.
44191 * math/s_ctanhl.c: Likewise.
44192 * math/s_ctanl.c: Likewise.
44193 * math/w_fmod.c: Likewise.
44194 * math/w_fmodf.c: Likewise.
44195 * math/w_fmodl.c: Likewise.
44196 * math/w_remainder.c: Likewise.
44197 * math/w_remainderf.c: Likewise.
44198 * math/w_remainderl.c: Likewise.
44199 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44200 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44201 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44202 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44203 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44204 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44205 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44206 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44207
44208 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44209 of the number.
44210 * stdio-common/printf_fphex.c: Likewise.
44211 * stdio-common/printf_size.c: Likewise.
44212
44213 * math/e_exp10.c: Include math_private.h using <...> not "...".
44214 * math/e_exp10f.c: Likewise.
44215 * math/e_exp10l.c: Likewise.
44216 * math/e_exp2l.c: Likewise.
44217 * math/e_j0l.c: Likewise.
44218 * math/e_j1l.c: Likewise.
44219 * math/e_jnl.c: Likewise.
44220 * math/e_lgammal_r.c: Likewise.
44221 * math/e_rem_pio2l.c: Likewise.
44222 * math/e_scalb.c: Likewise.
44223 * math/e_scalbf.c: Likewise.
44224 * math/e_scalbl.c: Likewise.
44225 * math/k_cosl.c: Likewise.
44226 * math/k_sinl.c: Likewise.
44227 * math/k_tanl.c: Likewise.
44228 * math/s_cacoshf.c: Likewise.
44229 * math/s_catan.c: Likewise.
44230 * math/s_catanf.c: Likewise.
44231 * math/s_catanh.c: Likewise.
44232 * math/s_catanhf.c: Likewise.
44233 * math/s_catanhl.c: Likewise.
44234 * math/s_catanl.c: Likewise.
44235 * math/s_ccosh.c: Likewise.
44236 * math/s_ccoshf.c: Likewise.
44237 * math/s_ccoshl.c: Likewise.
44238 * math/s_cexp.c: Likewise.
44239 * math/s_cexpf.c: Likewise.
44240 * math/s_cexpl.c: Likewise.
44241 * math/s_clog.c: Likewise.
44242 * math/s_clog10.c: Likewise.
44243 * math/s_clog10f.c: Likewise.
44244 * math/s_clog10l.c: Likewise.
44245 * math/s_clogf.c: Likewise.
44246 * math/s_clogl.c: Likewise.
44247 * math/s_csin.c: Likewise.
44248 * math/s_csinf.c: Likewise.
44249 * math/s_csinh.c: Likewise.
44250 * math/s_csinhf.c: Likewise.
44251 * math/s_csinhl.c: Likewise.
44252 * math/s_csinl.c: Likewise.
44253 * math/s_csqrt.c: Likewise.
44254 * math/s_csqrtf.c: Likewise.
44255 * math/s_csqrtl.c: Likewise.
44256 * math/s_ctan.c: Likewise.
44257 * math/s_ctanf.c: Likewise.
44258 * math/s_ctanh.c: Likewise.
44259 * math/s_ctanhf.c: Likewise.
44260 * math/s_ctanhl.c: Likewise.
44261 * math/s_ctanl.c: Likewise.
44262 * math/s_ldexp.c: Likewise.
44263 * math/s_ldexpf.c: Likewise.
44264 * math/s_ldexpl.c: Likewise.
44265 * math/s_significand.c: Likewise.
44266 * math/s_significandf.c: Likewise.
44267 * math/s_significandl.c: Likewise.
44268 * math/w_acos.c: Likewise.
44269 * math/w_acosf.c: Likewise.
44270 * math/w_acosh.c: Likewise.
44271 * math/w_acoshf.c: Likewise.
44272 * math/w_acoshl.c: Likewise.
44273 * math/w_acosl.c: Likewise.
44274 * math/w_asin.c: Likewise.
44275 * math/w_asinf.c: Likewise.
44276 * math/w_asinl.c: Likewise.
44277 * math/w_atan2.c: Likewise.
44278 * math/w_atan2f.c: Likewise.
44279 * math/w_atan2l.c: Likewise.
44280 * math/w_atanh.c: Likewise.
44281 * math/w_atanhf.c: Likewise.
44282 * math/w_atanhl.c: Likewise.
44283 * math/w_cosh.c: Likewise.
44284 * math/w_coshf.c: Likewise.
44285 * math/w_coshl.c: Likewise.
44286 * math/w_dremf.c: Likewise.
44287 * math/w_exp10.c: Likewise.
44288 * math/w_exp10f.c: Likewise.
44289 * math/w_exp10l.c: Likewise.
44290 * math/w_exp2.c: Likewise.
44291 * math/w_exp2f.c: Likewise.
44292 * math/w_fmod.c: Likewise.
44293 * math/w_fmodf.c: Likewise.
44294 * math/w_fmodl.c: Likewise.
44295 * math/w_hypot.c: Likewise.
44296 * math/w_hypotf.c: Likewise.
44297 * math/w_hypotl.c: Likewise.
44298 * math/w_j0.c: Likewise.
44299 * math/w_j0f.c: Likewise.
44300 * math/w_j0l.c: Likewise.
44301 * math/w_j1.c: Likewise.
44302 * math/w_j1f.c: Likewise.
44303 * math/w_j1l.c: Likewise.
44304 * math/w_jn.c: Likewise.
44305 * math/w_jnf.c: Likewise.
44306 * math/w_jnl.c: Likewise.
44307 * math/w_lgamma.c: Likewise.
44308 * math/w_lgamma_r.c: Likewise.
44309 * math/w_lgammaf.c: Likewise.
44310 * math/w_lgammaf_r.c: Likewise.
44311 * math/w_lgammal.c: Likewise.
44312 * math/w_lgammal_r.c: Likewise.
44313 * math/w_log.c: Likewise.
44314 * math/w_log10.c: Likewise.
44315 * math/w_log10f.c: Likewise.
44316 * math/w_log10l.c: Likewise.
44317 * math/w_log2.c: Likewise.
44318 * math/w_log2f.c: Likewise.
44319 * math/w_log2l.c: Likewise.
44320 * math/w_logf.c: Likewise.
44321 * math/w_logl.c: Likewise.
44322 * math/w_pow.c: Likewise.
44323 * math/w_powf.c: Likewise.
44324 * math/w_powl.c: Likewise.
44325 * math/w_remainder.c: Likewise.
44326 * math/w_remainderf.c: Likewise.
44327 * math/w_remainderl.c: Likewise.
44328 * math/w_scalb.c: Likewise.
44329 * math/w_scalbf.c: Likewise.
44330 * math/w_scalbl.c: Likewise.
44331 * math/w_sinh.c: Likewise.
44332 * math/w_sinhf.c: Likewise.
44333 * math/w_sinhl.c: Likewise.
44334 * math/w_sqrt.c: Likewise.
44335 * math/w_sqrtf.c: Likewise.
44336 * math/w_sqrtl.c: Likewise.
44337 * math/w_tgamma.c: Likewise.
44338 * math/w_tgammaf.c: Likewise.
44339 * math/w_tgammal.c: Likewise.
44340
44341 * po/ja.po: Update from translation team.
44342
443432011-09-29 Andreas Jaeger <aj@suse.de>
44344
44345 [BZ #13179]
44346 * sunrpc/netname.c (netname2host): Fix logic.
44347
44348 [BZ #6779]
44349 [BZ #6783]
44350 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44351 correctly.
44352 * math/w_remainder.c (__remainder): Likewise.
44353 * math/w_remainderf.c (__remainderf): Likewise.
44354 * math/libm-test.inc (remainder_test): Add test cases.
44355
443562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44357
44358 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44359 sdiv_qrnnd.
44360
443612011-10-07 Ulrich Drepper <drepper@gmail.com>
44362
44363 * string/test-memcmp.c: Avoid unncessary #defines.
44364 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44365
443662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44367
44368 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44369 Use new sse2 version for core i3 - i7 as it's faster
44370 than sse42 version.
44371 (bit_Prefer_PMINUB_for_stringop): New.
44372 * sysdeps/x86_64/rawmemchr.S: Update.
44373 Replace with faster SSE2 version.
44374 * sysdeps/x86_64/memrchr.S: New file.
44375 * sysdeps/x86_64/memchr.S: Update.
44376 Replace with faster SSE2 version.
44377
443782011-09-12 Marek Polacek <mpolacek@redhat.com>
44379
44380 * elf/dl-load.c (lose): Add cast to avoid warning.
44381
443822011-10-07 Ulrich Drepper <drepper@gmail.com>
44383
44384 * po/ca.po: Update from translation team.
44385
44386 * inet/getnetgrent_r.c: Hook up nscd.
44387 * nscd/Makefile (routines): Add nscd_netgroup.
44388 (nscd-modules): Add netgroupcache.
44389 (CFLAGS-netgroupcache.c): Define.
44390 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44391 (cache_search): Add const to second parameter.
44392 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44393 INNETGR.
44394 (dbs): Add netgrdb entry.
44395 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44396 (verify_persistent_db): Handle netgrdb.
44397 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44398 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44399 GETFDNETGR.
44400 (netgroup_response_header): Define.
44401 (innetgroup_response_header): Define.
44402 (datahead): Add netgroup_response_header and innetgroup_response_header
44403 elements.
44404 * nscd/nscd.conf: Add entries for netgroup cache.
44405 * nscd/nscd.h (dbtype): Add netgrdb.
44406 (_PATH_NSCD_NETGROUP_DB): Define.
44407 (netgroup_iov_disabled): Declare.
44408 (xmalloc, xcalloc, xrealloc): Move declarations here.
44409 (cache_search): Adjust prototype.
44410 Add netgroup-related prototypes.
44411 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44412 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44413 (__nscd_innetgr): Declare.
44414 * nscd/selinux.c (perms): Use access_vector_t as element type and
44415 add netgroup-related initializers.
44416 * nscd/netgroupcache.c: New file.
44417 * nscd/nscd_netgroup.c: New file.
44418 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44419 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44420 For four parameters use innetgr.
44421 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44422 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44423 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44424 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44425
44426 * nscd/connections.c (register_traced_file): Don't register file
44427 for disabled databases.
44428
444292011-10-06 Ulrich Drepper <drepper@gmail.com>
44430
44431 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44432
44433 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44434 from tree and freeing node.
44435
444362011-09-25 Jiri Olsa <jolsa@redhat.com>
44437
44438 * nss/nsswitch.c (__nss_database_lookup): Handle
44439 nss_parse_service_list out of memory case.
44440
444412011-09-15 Jiri Olsa <jolsa@redhat.com>
44442
44443 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44444 out of memory case.
44445
444462011-10-04 Andreas Schwab <schwab@redhat.com>
44447
44448 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44449 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44450 pass it down.
44451 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44452 elf_machine_rela, elf_machine_lazy_rel.
44453 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44454 (ELF_DYNAMIC_DO_REL): Likewise.
44455 (ELF_DYNAMIC_DO_RELA): Likewise.
44456 (ELF_DYNAMIC_RELOCATE): Likewise.
44457 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44458 to ELF_DYNAMIC_DO_REL.
44459 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44460 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44461 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44462 elf_machine_rela.
44463 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44464 skip_ifunc, don't call ifunc function if non-zero.
44465 (elf_machine_rela): Likewise.
44466 (elf_machine_lazy_rel): Likewise.
44467 (elf_machine_lazy_rela): Likewise.
44468 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44469 (elf_machine_lazy_rel): Likewise.
44470 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44471 Likewise.
44472 (elf_machine_lazy_rel): Likewise.
44473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44474 Likewise.
44475 (elf_machine_lazy_rel): Likewise.
44476 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44477 (elf_machine_lazy_rel): Likewise.
44478 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44479 (elf_machine_lazy_rel): Likewise.
44480 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44481 (elf_machine_lazy_rel): Likewise.
44482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44483 (elf_machine_lazy_rel): Likewise.
44484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44485 (elf_machine_lazy_rel): Likewise.
44486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44487 (elf_machine_lazy_rel): Likewise.
44488
444892011-09-28 Ulrich Drepper <drepper@gmail.com>
44490
44491 * nss/nss_files/files-init.c (_nss_files_init): Use static
44492 initialization for all the *_traced_file variables.
44493
444942011-09-28 Andreas Schwab <schwab@redhat.com>
44495
44496 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44497
444982011-09-27 Roland McGrath <roland@hack.frob.com>
44499
44500 [BZ #13226]
44501 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44502
445032011-09-27 Andreas Schwab <schwab@redhat.com>
44504
44505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44506 Reread the line before reparsing it.
44507
445082011-09-26 Andreas Schwab <schwab@redhat.com>
44509
44510 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44511
445122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44513 Maxim Kuvyrkov <maxim@codesourcery.com>
44514 Joseph Myers <joseph@codesourcery.com>
44515
44516 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44517 if needed for __stack_chk_guard.
44518
445192011-09-19 Roland McGrath <roland@hack.frob.com>
44520
44521 * sysdeps/posix/spawni.c (script_execute): Always define it.
44522 It will be optimized away if unused.
44523 (maybe_script_execute): New function.
44524 (__spawni): Call it.
44525
44526 * Makerules: Don't include tls.make.
44527 (config-tls): Always set to thread.
44528 * tls.make.c: File removed.
44529
445302011-09-19 Mike Frysinger <vapier@gentoo.org>
44531
44532 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44533 * config.make.in (CPPFLAGS-config): New substituted variable.
44534
445352011-09-15 Ulrich Drepper <drepper@gmail.com>
44536
44537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44538
44539 [BZ #13192]
44540 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44541 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44542
445432011-09-15 Roland McGrath <roland@hack.frob.com>
44544
44545 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44546 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44547 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44548 (CALL_FAIL): Likewise.
44549 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44550 (CALL_FAIL): Macro removed.
44551 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44552
445532011-09-15 Ulrich Drepper <drepper@gmail.com>
44554
44555 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44556 for __FINITE_MATH_ONLY__ == 1.
44557
445582011-09-15 Andreas Schwab <schwab@redhat.com>
44559
44560 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44561 __ieee754_sqrt instead of sqrt.
44562 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44563 __ieee754_sqrtf instead of sqrtf.
44564 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44565 __floorf instead of floorf.
44566 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44567 __floorf, __truncf instead of floorf, truncf.
44568
445692011-09-14 Ulrich Drepper <drepper@gmail.com>
44570
44571 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44572
44573 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44574 __extern_always_inline.
44575 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44576 32-bit.
44577
445782011-09-14 Andreas Schwab <schwab@redhat.com>
44579
44580 * elf/rtld.c (dl_main): Also relocate in dependency order when
44581 doing symbol dependency testing.
44582
445832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44584
44585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44586 Always define `refsym'.
44587
445882011-09-13 Andreas Schwab <schwab@redhat.com>
44589
44590 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44591 (__FD_ELT): Renamed from __FDELT.
44592 * misc/bits/select2.h (__FD_ELT): Likewise.
44593 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44594 __FD_MASK instead of __FDELT, __FDMASK.
44595 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44596 Likewise.
44597 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44598 Likewise.
44599
44600 * elf/Makefile (gen-ldd): Fix pattern.
44601
44602 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44603 (init_tls): Likewise.
44604
446052011-09-12 Ulrich Drepper <drepper@gmail.com>
44606
44607 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44608
446092011-09-12 Andreas Schwab <schwab@redhat.com>
44610
44611 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44612 `struct cmsghdr *' instead of `void *'.
44613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44614 Likewise.
44615
446162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44617
44618 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44619 if non-absolute.
44620 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44621 ldd_rewrite_script.
44622
446232011-09-11 Ulrich Drepper <drepper@gmail.com>
44624
44625 * configure.in: Remove --with-tls option.
44626 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44627 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44628 out in case it is missing.
44629 * sysdeps/ia64/elf/configure.in: Likewise.
44630 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44631 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44632 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44633 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44634 * sysdeps/sh/elf/configure.in: Likewise.
44635 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44636 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44637 * sysdeps/x86_64/elf/configure.in: Likewise.
44638 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44639 * sysdeps/mach/hurd/tls.h: Likewise.
44640
44641 [BZ #13067]
44642 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44643
44644 [BZ #13090]
44645 * configure.in: Fix use of AC_INIT.
44646
44647 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44648
446492011-09-10 Ulrich Drepper <drepper@gmail.com>
44650
44651 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44652 __set_errno.
44653 * malloc/hooks.c: Likewise.
44654
44655 [BZ #11929]
44656 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44657 variables statically.
44658 (narenas): Initialize.
44659 (list_lock): Initialize.
44660 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44661 initializtion of main_arena and list_lock. Small cleanups.
44662 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44663 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44664 Add initializers to main_arena and mp_.
44665 (malloc_state): Remove pagesize member. Change all users to use
44666 GLRO(dl_pagesize).
44667
44668 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44669 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44670 is always initialized.
44671
44672 * malloc/malloc.c: Removed unused configurations and dead code.
44673 * malloc/arena.c: Likewise.
44674 * malloc/hooks.c: Likewise.
44675 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44676
44677 * include/tls.h: Removed. USE___THREAD must always be defined.
44678 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44679 * elf/dl-libc.c: Likewise.
44680 * elf/dl-tsd.c: Likewise.
44681 * include/errno.h: Likewise.
44682 * include/netdb.h: Likewise.
44683 * include/resolv.h: Likewise.
44684 * inet/herrno-loc.c: Likewise.
44685 * inet/herrno.c: Likewise.
44686 * malloc/arena.c: Likewise.
44687 * malloc/hooks.c: Likewise.
44688 * malloc/malloc.c: Likewise.
44689 * resolv/res-state.c: Likewise.
44690 * resolv/res_libc.c: Likewise.
44691 * sysdeps/i386/dl-machine.h: Likewise.
44692 * sysdeps/ia64/dl-machine.h: Likewise.
44693 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44694 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44695 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44696 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44697 * sysdeps/sh/dl-machine.h: Likewise.
44698 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44699 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44700 * sysdeps/unix/i386/sysdep.S: Likewise.
44701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44702 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44703 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44707 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44711 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44712 * sysdeps/x86_64/dl-machine.h: Likewise.
44713 * tls.make.c: Likewise.
44714
44715 * configure.in: Remove --with-__thread option. Make tests for
44716 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44717 tls_model attribute fail if no support is available. Remove
44718 USE_IN_LIBIO.
44719 * Makeconfig: Adjust for dropped configure option. All features are
44720 now mandatory.
44721 * Makerules: Likewise.
44722 * Versions.def: Likewise.
44723 * argp/argp-fmtstream.c: Likewise.
44724 * argp/argp-fmtstream.h: Likewise.
44725 * argp/argp-help.c: Likewise.
44726 * assert/assert.c: Likewise.
44727 * config.h.in: Likewise.
44728 * config.make.in: Likewise.
44729 * configure: Likewise.
44730 * configure.in: Likewise.
44731 * csu/Versions: Likewise.
44732 * csu/init.c: Likewise.
44733 * elf/tst-audit2.c: Likewise.
44734 * elf/tst-tls10.c: Likewise.
44735 * elf/tst-tls10.h: Likewise.
44736 * elf/tst-tls11.c: Likewise.
44737 * elf/tst-tls12.c: Likewise.
44738 * elf/tst-tls14.c: Likewise.
44739 * elf/tst-tlsmod11.c: Likewise.
44740 * elf/tst-tlsmod12.c: Likewise.
44741 * elf/tst-tlsmod13.c: Likewise.
44742 * elf/tst-tlsmod13a.c: Likewise.
44743 * elf/tst-tlsmod14a.c: Likewise.
44744 * elf/tst-tlsmod15b.c: Likewise.
44745 * elf/tst-tlsmod16a.c: Likewise.
44746 * elf/tst-tlsmod16b.c: Likewise.
44747 * elf/tst-tlsmod7.c: Likewise.
44748 * elf/tst-tlsmod8.c: Likewise.
44749 * elf/tst-tlsmod9.c: Likewise.
44750 * gmon/gmon.c: Likewise.
44751 * grp/fgetgrent_r.c: Likewise.
44752 * grp/putgrent.c: Likewise.
44753 * hurd/fopenport.c: Likewise.
44754 * include/libc-symbols.h: Likewise.
44755 * include/tls.h: Likewise.
44756 * intl/gettextP.h: Likewise.
44757 * intl/loadinfo.h: Likewise.
44758 * locale/global-locale.c: Likewise.
44759 * locale/localeinfo.h: Likewise.
44760 * mach/devstream.c: Likewise.
44761 * malloc/arena.c: Likewise.
44762 * malloc/set-freeres.c: Likewise.
44763 * misc/err.c: Likewise.
44764 * misc/getttyent.c: Likewise.
44765 * misc/mntent_r.c: Likewise.
44766 * posix/getopt.c: Likewise.
44767 * posix/wordexp.c: Likewise.
44768 * pwd/fgetpwent_r.c: Likewise.
44769 * resolv/Versions: Likewise.
44770 * resolv/res_hconf.c: Likewise.
44771 * shadow/fgetspent_r.c: Likewise.
44772 * shadow/putspent.c: Likewise.
44773 * stdio-common/printf_fphex.c: Likewise.
44774 * stdio-common/tmpfile.c: Likewise.
44775 * stdlib/abort.c: Likewise.
44776 * stdlib/fmtmsg.c: Likewise.
44777 * sunrpc/auth_unix.c: Likewise.
44778 * sunrpc/clnt_perr.c: Likewise.
44779 * sunrpc/clnt_tcp.c: Likewise.
44780 * sunrpc/clnt_udp.c: Likewise.
44781 * sunrpc/clnt_unix.c: Likewise.
44782 * sunrpc/openchild.c: Likewise.
44783 * sunrpc/svc_simple.c: Likewise.
44784 * sunrpc/svc_tcp.c: Likewise.
44785 * sunrpc/svc_udp.c: Likewise.
44786 * sunrpc/svc_unix.c: Likewise.
44787 * sunrpc/xdr.c: Likewise.
44788 * sunrpc/xdr_array.c: Likewise.
44789 * sunrpc/xdr_rec.c: Likewise.
44790 * sunrpc/xdr_ref.c: Likewise.
44791 * sunrpc/xdr_stdio.c: Likewise.
44792
447932011-09-09 Ulrich Drepper <drepper@gmail.com>
44794
44795 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44796
447972011-07-03 Andreas Jaeger <aj@suse.de>
44798
44799 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44800 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44801 regenerate with gen-libm-tests.pl.
44802
448032010-05-12 Petr Baudis <pasky@suse.cz>
44804
44805 [BZ #11589]
44806 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44807 around j0() zero points by switching to j1().
44808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44809 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44811 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44812
448132011-09-09 Ulrich Drepper <drepper@gmail.com>
44814
44815 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44816 instead of 0.
44817 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44818 instead of 0.
44819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44820 Patch in part by Pavel Roskin <proski@gnu.org>.
44821
44822 [BZ #13138]
44823 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44824 realloc.
44825 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44826 Free memory block if necessary.
44827
44828 [BZ #12847]
44829 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44830 be NULL. Don't lock in this case.
44831
448322011-09-09 Roland McGrath <roland@hack.frob.com>
44833
44834 * elf/elf.h (ELFOSABI_GNU): New macro.
44835 (ELFOSABI_LINUX): Define to that.
44836
448372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44838
44839 * string/strncat.c (strncat): Undef the symbol in case it has been
44840 defined in bits/string.h.
44841
448422011-09-09 Ulrich Drepper <drepper@gmail.com>
44843
44844 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44845
44846 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44847 link map.
44848
448492011-08-17 Andreas Jaeger <aj@suse.de>
44850
44851 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44852
448532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44854 Ian Lance Taylor <iant@google.com>
44855
44856 * math/libm-test.inc (lround_test): New testcase.
44857 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44858
448592011-09-08 Ulrich Drepper <drepper@gmail.com>
44860
44861 * Makefile: Remove support for automatic cvs check-ins.
44862 * Makerules: Likewise.
44863 * config.make.in: Likewise.
44864 * configure.in: Likewise.
44865 * intl/Makefile: Likewise.
44866 * locale/Makefile: Likewise.
44867 * po/Makefile: Likewise.
44868 * posix/Makefile: Likewise.
44869 * sysdeps/gnu/Makefile: Likewise.
44870 * sysdeps/mach/hurd/Makefile: Likewise.
44871 * sysdeps/sparc/sparc32/Makefile: Likewise.
44872
44873 [BZ #13118]
44874 * posix/Makefile (bug-regex32-ENV): Define.
44875 Patch by John Stanley <jpsinthemix@verizon.net>.
44876
44877 * misc/Makefile (headers): Add bits/select2.h.
44878 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44879 * misc/bits/select2.h: New file.
44880 * include/bits/select2.h: New file.
44881 * debug/Makefile (routines): Add fdelt_chk.
44882 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44883 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44884 FD_ISSET.
44885 * debug/fdelt_chk.c: New file.
44886
44887 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44888 * wcsmbs/test-wmemcmp.c: Likewise.
44889 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44890 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44891
448922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44893
44894 * string/Makefile (strop-tests): Add memcmp.
44895 * string/test-wmemcmp.c: New file.
44896 * string/test-memcmp.c: Add wmemcmp support.
44897
448982011-09-08 Roland McGrath <roland@hack.frob.com>
44899
44900 [BZ #13153]
44901 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44902 2011-07-19 change.
44903
44904 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44905 garbage value in a __mach_port_mod_refs call in the cases of the
44906 task-self and thread-self ports.
44907
449082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44909
44910 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44911
449122011-09-08 Andreas Schwab <schwab@redhat.com>
44913
44914 * elf/dl-load.c (lose): Check for non-null L.
44915
449162011-09-07 Ulrich Drepper <drepper@gmail.com>
44917
44918 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44919
44920 * elf/dl-libc.c (dlerror_run): Pass back error code from
44921 dl_catch_error.
44922
44923 [BZ #13123]
44924 * elf/dl-load.c (lose): Free l_origin if it is valid.
44925
44926 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44927 names.
44928 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44931 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44932 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44933 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44934
449352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44936
44937 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44938 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44939 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44940 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44941 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44942 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44943 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44944 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44945 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44946 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44947
449482011-08-15 Alan Modra <amodra@gmail.com>
44949
44950 [BZ #13092]
44951 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44952 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44953 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44954 ppc_mcount to static-only-routines.
44955 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44956 __mcount_internal.
44957 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44958 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44959
449602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44961
44962 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44963 for finite and infinity parameters.
44964
449652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44966
44967 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44968 and add nop instructions for throughput optimization.
44969 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44970
449712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44972
44973 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44974 aligned copy for power7 with vector-scalar instructions.
44975 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44976
449772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44978
44979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44980 AVX check.
44981
449822011-09-07 Andreas Schwab <schwab@redhat.com>
44983
44984 [BZ #13144]
44985 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44986 last change.
44987
449882011-09-07 Ulrich Drepper <drepper@gmail.com>
44989
44990 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44991 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44992 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44993 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44994 clock_gettime.
44995
449962011-09-06 Ulrich Drepper <drepper@gmail.com>
44997
44998 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44999 Forgot to demangle the pointer.
45000
45001 * sysdeps/i386/sysdep.h: Define atom_text_section.
45002 * sysdeps/x86_64/sysdep.h: Likewise.
45003 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45004 section with atom_text_section.
45005 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45006 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45007 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45009 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45010
45011 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45012 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45013 already be defined. Change to take two parameters and don't assign
45014 result to variable. Adjust all users.
45015 Define INTERNAL_GETTIME if not already defined.
45016 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45017 call.
45018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45019 HAVE_CLOCK_GETTIME_VSYSCALL.
45020 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45021
45022 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45023 gettimeofday vsyscall, just use time.
45024
450252011-09-06 Andreas Schwab <schwab@redhat.com>
45026
45027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45028 <errno.h>.
45029
450302011-09-06 Ulrich Drepper <drepper@gmail.com>
45031
45032 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45033 syscall on x86-64.
45034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45035 syscall.
45036 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45037 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45038 syscall if possible.
45039
450402011-09-05 Ulrich Drepper <drepper@gmail.com>
45041
45042 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45043 e_ident. Don't pass to find_mapsXX.
45044 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45045
450462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45047
45048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45049 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45050 * sysdeps/x86_64/multiarch/strchr.S: Update.
45051 Check bit_slow_BSF bit.
45052 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45053 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45054 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45055
450562011-09-05 Ulrich Drepper <drepper@gmail.com>
45057
45058 [BZ #13134]
45059 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45060 before glibc 2.15.
45061 (tryshell): Define.
45062 (__spawni): Change last parameter to be flag. Test
45063 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45064 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45065 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45066 * posix/spawni.c: Likewise.
45067 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45068 * posix/spawnp.c: Likewise. Change normal version to use
45069 SPAWN_XFLAGS_USE_PATH.
45070 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45071 SPAWN_XFLAGS_TRY_SHELL.
45072
45073 [BZ #13150]
45074 * posix/glob.h: Remove gcc 1.x support.
45075
45076 [BZ #13068]
45077 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45078
450792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45080
45081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45082 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45083 strrchr-sse2-bsf
45084 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45085 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45086 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45087 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45088 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45089 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45090
450912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45092
45093 * sysdeps/x86_64/wcscmp.S: New file.
45094
45095 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45096 wcscmp-c wcscmp-sse2
45097 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45098 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45099 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45100 * wcsmbs/wcscmp.c: Allow renaming.
45101
451022011-09-05 David S. Miller <davem@davemloft.net>
45103
45104 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45105 stack slot, rather than the struct return pointer slot.
45106 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45107 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45109 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45110
451112011-09-05 Ulrich Drepper <drepper@gmail.com>
45112
45113 * po/ja.po: Update from translation team.
45114
45115 [BZ #13144]
45116 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45117 kernel in 64-bit binaries.
45118
451192011-09-01 David S. Miller <davem@davemloft.net>
45120
45121 * elf/elf.h (HWCAP_SPARC_*): Move to..
45122 * sysdeps/sparc/sysdep.h: this new file and add new values.
45123 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45124 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45125 _DL_HWCAP_COUNT to 24.
45126 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45127 entries.
45128 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45129 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45130 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45132 instead of magic constants.
45133 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45134
451352011-08-31 David S. Miller <davem@davemloft.net>
45136
45137 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45139 Reimplement to do errno handling inline.
45140 (SYSCALL_ERROR_HANDLER): New macro.
45141 (__SYSCALL_STRING): Do not do errno handling in asm.
45142 (__CLONE_SYSCALL_STRING): Delete.
45143 (__INTERNAL_SYSCALL_STRING): Delete.
45144 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45145 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45146 (PSEUDO): Reimplement to do errno handling inline.
45147 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45148 (SYSCALL_ERROR_HANDLER): New macro.
45149 (__SYSCALL_STRING): Do not do errno handling in asm.
45150 (__CLONE_SYSCALL_STRING): Delete.
45151 (__INTERNAL_SYSCALL_STRING): Delete.
45152 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45153 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45154 i386.
45155 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45156 (inline_syscall*): Add 'err' argument.
45157 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45158 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45159 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45160 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45161
45162 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45163 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45164
451652011-08-30 Andreas Schwab <schwab@redhat.com>
45166
45167 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45168
451692011-08-29 Jiri Olsa <jolsa@redhat.com>
45170
45171 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45172 directive.
45173
451742011-08-24 David S. Miller <davem@davemloft.net>
45175
45176 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45177
451782011-08-24 Andreas Schwab <schwab@redhat.com>
45179
45180 * elf/Makefile: Add rules to build and run unload8 test.
45181 * elf/unload8.c: New file.
45182 * elf/unload8mod1.c: New file.
45183 * elf/unload8mod1x.c: New file.
45184 * elf/unload8mod2.c: New file.
45185 * elf/unload8mod3.c: New file.
45186
45187 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45188 it wasn't used.
45189
451902011-08-23 David S. Miller <davem@davemloft.net>
45191
45192 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45193 subtract stack bias.
45194 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45195 %sp not %fp in calculations.
45196 (_JMPBUF_UNWINDS_ADJ): Likewise.
45197
45198 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45199 (aio_suspend): Call it to force an exception region around the
45200 AIO_MISC_WAIT() invocation.
45201
452022011-08-23 Andreas Schwab <schwab@redhat.com>
45203
45204 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45205 backslash.
45206
452072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45208
45209 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45210 protection macro.
45211 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45212 and <dl-machine.h>.
45213 (Elf64_FuncDesc): Remove.
45214
452152011-08-22 David S. Miller <davem@davemloft.net>
45216
45217 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45218 sigaltstack check, add missing cfi directives.
45219 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45220 missing cfi directives, and sigaltstack handling.
45221
452222011-08-16 Andreas Schwab <schwab@redhat.com>
45223
45224 [BZ #11724]
45225 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45226 object is seen twice.
45227 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45228
45229 * elf/Makefile (distribute): Add tst-initorder2.c.
45230 (tests): Add tst-initorder2.
45231 (modules-names): Add tst-initorder2a tst-initorder2b
45232 tst-initorder2c tst-initorder2d. Add rules to build them.
45233 ($(objpfx)tst-initorder2.out): New rule.
45234 * elf/tst-initorder2.c: New file.
45235 * elf/tst-initorder2.exp: New file.
45236
452372011-08-22 Andreas Schwab <schwab@redhat.com>
45238
45239 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45240
45241 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45242 dependencies back to end of function.
45243
45244 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45245 $(elfobjdir)/ld.so.
45246
452472011-08-21 Ulrich Drepper <drepper@gmail.com>
45248
45249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45250 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45252 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45253 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45254 of __vdso_gettimeofday.
45255 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45256 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45257 attribute_hidden.
45258 (_libc_vdso_platform_setup): Remove initialization of
45259 __vdso_gettimeofday and __vdso_time.
45260
452612011-08-20 Ulrich Drepper <drepper@gmail.com>
45262
45263 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45264 and fgetc_unlocked.
45265 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45266 getc_unlocked.
45267
45268 * elf/dl-open.c (add_to_global): Report additions to the global scope
45269 for LD_DEBUG=scopes.
45270 (dl_open_worker): Also print scope of newly loaded dependencies.
45271 (_dl_show_scope): Indicate if there is no scope.
45272
45273 [BZ #13114]
45274 * stdio-common/Makefile (tests): Add bug24.
45275 * stdio-common/bug24.c: New file.
45276
452772011-08-19 Andreas Jaeger <aj@suse.de>
45278
45279 [BZ #13114]
45280 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45281 non-existant file when using close-on-exec mode.
45282
452832011-08-20 Ulrich Drepper <drepper@gmail.com>
45284
45285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45286 the very first instruction.
45287
45288 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45289 the CFI state in the end.
45290 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45291 inclusion of dl-trampoline.h.
45292 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45293
452942011-08-19 Andreas Schwab <schwab@redhat.com>
45295
45296 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45297 expectations for long double.
45298
45299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45300 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45301
453022011-08-14 David S. Miller <davem@davemloft.net>
45303
45304 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45305 artificual limit depends upon the system page size.
45306
453072011-08-17 Ulrich Drepper <drepper@gmail.com>
45308
45309 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45310 * resolv/Makefile: Define CFLAGS-libresolv.
45311
453122011-08-17 Andreas Schwab <schwab@redhat.com>
45313
45314 * nss/makedb.c (compute_tables): Make variables used in nested
45315 function static.
45316
453172011-08-17 Ulrich Drepper <drepper@gmail.com>
45318
45319 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45320 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45321 if buffer was too small.
45322
45323 * elf/pldd.c (main): Attach to all threads in the process.
45324 Rewrite /proc handling to use *at functions.
45325
453262011-08-16 Ulrich Drepper <drepper@gmail.com>
45327
45328 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45329 specifies first scope to show.
45330 (dl_open_worker): Update callers. Move printing scope of new
45331 object to before the relocation.
45332 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45333 * sysdeps/generic/ldsodefs.h: Update declaration.
45334
45335 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45336 string for the scope number.
45337
453382011-08-14 Ulrich Drepper <drepper@gmail.com>
45339
45340 * nscd/servicescache.c (cache_addserv): Make sure written is always
45341 initialized.
45342
453432011-08-14 Roland McGrath <roland@hack.frob.com>
45344
45345 * sysdeps/i386/i486/bits/atomic.h
45346 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45347 statement expression, so as to suppress "set but not used" warning.
45348 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45349
45350 * string/strncat.c (STRNCAT): Use prototype definition.
45351
45352 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45353 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45354 -Iprograms here.
45355 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45356 (localedef-modules): Add localedef.
45357 (locale-modules): Add locale.
45358
45359 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45360 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45361 to avoid a warning.
45362
453632011-08-14 David S. Miller <davem@davemloft.net>
45364
45365 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45366 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45367
453682011-08-13 Ulrich Drepper <drepper@gmail.com>
45369
45370 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45371 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45372 * elf/rtld.c (dl_main): Set l_name of vDSO.
45373 Call _dl_show_scope when DL_DEBUG_SCOPES.
45374 (process_dl_debug): Recognize scopes flag and also set it for all.
45375 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45376 Declare _dl_show_scope.
45377
45378 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45379 (do_dlopen): Pass caller_dlopen to dl_open.
45380 (__libc_dlopen_mode): Initialize caller_dlopen.
45381
45382 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45383 of libc. Make tolower call locale-independent. Optimize a bit by
45384 using isdigit instead of isalnum.
45385 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45386
453872011-08-12 Ulrich Drepper <drepper@gmail.com>
45388
45389 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45390 was a dependency or dynamically loaded.
45391
453922011-08-11 Ulrich Drepper <drepper@gmail.com>
45393
45394 * intl/l10nflist.c: Allow architecture-specific pop function.
45395 * sysdeps/x86_64/l10nflist.c: New file.
45396
45397 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45398 classification.
45399
454002011-08-10 Andreas Schwab <schwab@redhat.com>
45401
45402 * include/dirent.h: Add libc_hidden_proto for scandirat and
45403 scandirat64. Don't declare __scandirat64.
45404 * dirent/scandirat.c: Add libc_hidden_def.
45405 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45406 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45407
454082011-08-10 David S. Miller <davem@davemloft.net>
45409
45410 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45411 enum.
45412 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45415
454162011-08-09 Ulrich Drepper <drepper@gmail.com>
45417
45418 * Versions.def [libc]: Add GLIBC_2.15.
45419 * dirent/Makefile (routines): Add scandirat and scandirat64.
45420 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45421 GLIBC_2.15.
45422 * dirent/dirent.h: Declare scandirat and scandirat64.
45423 * dirent/scandirat.c: New file.
45424 * dirent/scandirat64.c: New file.
45425 * sysdeps/wordsize-64/scandirat.c: New file.
45426 * sysdeps/wordsize-64/scandirat64.c: New file.
45427 * dirent/opendir.c: Define opendirat.
45428 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45429 using scandirat.
45430 * dirent/scandir64.c: Adjust for scandir.c change.
45431 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45432 __scandirat64, and __scandir_cancel_handler.
45433 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45434 additional parameter and use openat instead of open (outside of ld.so).
45435 Add new __opendir as wrapper around __opendirat.
45436 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45437 here without requiring old scandirat implementation.
45438
454392011-08-08 Ulrich Drepper <drepper@gmail.com>
45440
45441 * dirent/scandir.c (cancel_handler): Renamed to
45442 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45443 defined. Adjust users.
45444 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45445 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45446
454472011-08-04 Ulrich Drepper <drepper@gmail.com>
45448
45449 * string/test-string.h (IMPL): Use __STRING to expand name and then
45450 stringify it.
45451
45452 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45453 of cleanups.
45454
454552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45456
45457 * string/Makefile: Update.
45458 (strop-tests): Append strncat.
45459 * string/test-wcscmp.c: New file.
45460 New comprehensive test for wcscmp.
45461 * string/test-strcmp.c: Update.
45462 (WIDE): New define.
45463
454642011-07-22 Andreas Schwab <schwab@redhat.com>
45465
45466 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45467 line.
45468
454692011-07-26 Andreas Schwab <schwab@redhat.com>
45470
45471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45472 encoding to ACE if AI_IDN.
45473
454742011-08-01 Jakub Jelinek <jakub@redhat.com>
45475
45476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45477 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45478
454792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45480
45481 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45482 Fix overflow bug in strncat.
45483 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45484
45485 * string/test-strncat.c: Update.
45486 Add new tests for checking overflow bugs.
45487
454882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45489
45490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45491 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45492 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45493 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45494 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45495 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45496 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45497 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45498 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45499
45500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45501 (USE_AS_STRCAT): Define.
45502 Add strcat and strncat support.
45503 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45504
455052011-07-25 Andreas Schwab <schwab@redhat.com>
45506
45507 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45508 __n bigger than INT_MAX+1.
45509 (__strncmp_g): Likewise.
45510
455112011-07-23 Ulrich Drepper <drepper@gmail.com>
45512
45513 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45514 * libio/stido.h: Likewise.
45515
45516 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45517 (AF_NFC): Define.
45518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45519 (AF_NFC): Define.
45520
45521 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45522 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45525 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45526
45527 [BZ #13021]
45528 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45529 installed.
45530
45531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45532 typo.
45533 (_dl_x86_64_save_sse): Likewise.
45534
455352011-07-22 Ulrich Drepper <drepper@gmail.com>
45536
45537 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45538 OSXSAVE.
45539 (_dl_x86_64_save_sse): Likewise.
45540
45541 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45542
45543 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45544
455452011-07-21 Andreas Schwab <schwab@redhat.com>
45546
45547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45548 change.
45549 (_dl_x86_64_save_sse): Use correct AVX check.
45550
455512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45552
45553 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45554 bug in strncpy/strncat.
45555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45556
455572011-07-21 Ulrich Drepper <drepper@gmail.com>
45558
45559 * string/tester.c (test_strcat): Add tests for different alignments
45560 of source and destination.
45561 (test_strncat): Likewise.
45562
455632011-07-20 Ulrich Drepper <drepper@gmail.com>
45564
45565 [BZ #12852]
45566 * posix/glob.c (glob): Check passed in values before using them in
45567 expressions to avoid some overflows.
45568 (glob_in_dir): Likewise.
45569
45570 [BZ #13007]
45571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45572 check for AVX enablement so that we don't crash with old kernels and
45573 new hardware.
45574 * elf/tst-audit4.c: Add same checks here.
45575 * elf/tst-audit6.c: Likewise.
45576
45577 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45578
455792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45580
45581 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45582
455832011-07-20 Ulrich Drepper <drepper@gmail.com>
45584
45585 * po/cs.po: Update from translation team.
45586 * po/bg.po: Likewise.
45587
455882011-07-12 Marek Polacek <mpolacek@redhat.com>
45589
45590 * misc/sys/cdefs.h: Add support for const attribute.
45591 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45592 to gnu_dev_{major,minor,makedev} functions.
45593
455942011-07-20 Marek Polacek <mpolacek@redhat.com>
45595
45596 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45597
455982011-07-20 Andreas Schwab <schwab@redhat.com>
45599
45600 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45601 strlen results.
45602
456032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45604
45605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45606 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45607 register in order to avoid conflicts with the soft frame pointer
45608 being held in r11 when necessary.
45609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45610 (INTERNAL_VSYSCALL_NCS): Likewise.
45611
456122011-07-14 Marek Polacek <mpolacek@redhat.com>
45613
45614 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45615 * elf/dl-fini.c (_dl_fini): Adjust caller.
45616 * elf/dl-close.c (_dl_close_worker): Likewise.
45617 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45618
456192011-07-15 Marek Polacek <mpolacek@redhat.com>
45620
45621 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45622 "aux_cache->nlibs < 0".
45623
45624 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45625 in the reload-count case.
45626
456272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45628
45629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45630 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45631 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45632 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45633 * sysdeps/x86_64/multiarch/strcat.S: New file.
45634 * sysdeps/x86_64/multiarch/strncat.S: New file.
45635 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45636 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45637 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45638 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45639 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45640 (USE_AS_STRCAT): Define.
45641 Add strcat and strncat support.
45642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45643 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45644 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45645 * string/strncat.c: Update.
45646 (USE_AS_STRNCAT): Define.
45647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45648 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45649 and i7.
45650 * sysdeps/x86_64/multiarch/init-arch.h
45651 (bit_Prefer_PMINUB_for_stringop): New.
45652 (index_Prefer_PMINUB_for_stringop): Likewise.
45653 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45654 bit_Prefer_PMINUB_for_stringop.
45655
456562011-07-19 Ulrich Drepper <drepper@gmail.com>
45657
45658 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45659 buffer64.
45660 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45661 of casting of buffer.
45662 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45663 buffer32 and buffer64.
45664 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45665 writes instead of casting of buffer.
45666 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45667 buffer32.
45668 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45669 casting of buffer.
45670
456712011-07-19 Andreas Schwab <schwab@redhat.com>
45672
45673 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45674
456752011-07-19 Ulrich Drepper <drepper@gmail.com>
45676
45677 * nscd/nscd.c (termination_handler): Don't do anything for a database
45678 if it has not yet been initialized.
45679
456802011-07-18 Ulrich Drepper <drepper@gmail.com>
45681
45682 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45683
456842011-07-15 Marek Polacek <mpolacek@redhat.com>
45685
45686 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45687
456882011-07-18 Ulrich Drepper <drepper@gmail.com>
45689
45690 * po/nl.po: Update from translation team.
45691 * po/sv.po: Likewise.
45692
456932011-07-16 Roland McGrath <roland@hack.frob.com>
45694
45695 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45696 now disallowed by GCC.
45697
45698 * configure.in (use-default-link): Default to yes if a test -shared
45699 link meets our qualifications.
45700 * configure: Regenerated.
45701
45702 * config.make.in (output-format): New variable.
45703 * configure.in: Check for ld --print-output-format support.
45704 * configure: Regenerated.
45705 * Makerules ($(common-objpfx)format.lds)
45706 [$(output-format) != unknown]: Just use $(output-format),
45707 instead of the linker-script munging.
45708
457092011-07-14 Roland McGrath <roland@hack.frob.com>
45710
45711 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45712 of $(common-objpfx)shlib.lds.
45713 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45714
45715 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45716 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45717
45718 * configure.in (-z relro check): Adjust test code to add a large
45719 writable data section after it.
45720 * configure: Regenerated.
45721
457222011-07-11 Roland McGrath <roland@hack.frob.com>
45723
45724 * configure.in (-z relro check): Fix test code to make the variable
45725 truly const.
45726 * configure: Regenerated.
45727
457282011-07-11 Ulrich Drepper <drepper@gmail.com>
45729
45730 * nscd/nscd.h (struct traced_file): Define.
45731 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45732 elements. Add traced_files.
45733 (inotify_fd): Declare.
45734 (register_traced_file): Declare.
45735 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45736 (inotify_fd): Export.
45737 (resolv_conf_descr): Remove.
45738 (nscd_init): Move inotify descriptor creation to main.
45739 Don't register files for notification here.
45740 (register_traced_file): New function.
45741 (invalidate_cache): Don't use reset_res to determine whether to call
45742 res_init, go through the list of registered files.
45743 (main_loop_poll): The inotify descriptors are now stored in the
45744 structures for the traced files.
45745 (main_loop_epoll): Likewise
45746 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45747 to __nss_disable_nscd.
45748 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45749 for a database anymore. Check the records for all the registered
45750 files instead.
45751 * nss/Makefile (libnss_files-routines): Add files-init.
45752 (libnss_db-routines): Add db-init.
45753 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45754 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45755 * nss/nss_db/db-init.c: New file.
45756 * nss/nss_files/files-init.c: New file.
45757 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45758 __nss_lookup_function.
45759 (__nss_lookup_function): Call nss_load_library.
45760 (nss_load_all_libraries): New function.
45761 (__nss_disable_nscd): Take parameter with callback function for files
45762 to register. Set is_nscd. Load all the DSOs for the NSS modules
45763 used for the cached services.
45764 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45765 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45766 options for features to all the files in nscd.
45767
45768 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45769
457702011-07-10 Roland McGrath <roland@hack.frob.com>
45771
45772 * csu/elf-init.c (__libc_csu_init): Comment typo.
45773
457742011-07-09 Ulrich Drepper <drepper@gmail.com>
45775
45776 * po/pl.po: Update from translation team.
45777 * po/ja.po: Likewise.
45778 * po/ru.po: Likewise.
45779 * po/ko.po: Likewise.
45780 * po/fr.po: Likewise.
45781
457822011-07-09 Roland McGrath <roland@hack.frob.com>
45783
45784 * configure.in (.ctors/.dtors header and trailer check):
45785 Use an empirical test on a built program.
45786 * configure: Regenerated.
45787
45788 * configure.in (-z relro check): Use an empirical test on a built DSO.
45789 Detect, but do not require, on ia64.
45790 * configure: Regenerated.
45791
45792 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45793 Update tests that use readelf to use $READELF instead.
45794 * configure: Regenerated.
45795
457962011-07-08 Ulrich Drepper <drepper@gmail.com>
45797
45798 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45799 if the result is not used.
45800
458012011-07-05 Andreas Jaeger <aj@suse.de>
45802
45803 [BZ#9696]
45804 * stdlib/tst-strtod.c: Add testcase.
45805
458062011-07-07 Ulrich Drepper <drepper@gmail.com>
45807
45808 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45809 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45810 The latter has a higher limit. Take additional parameter to pass to
45811 the new function.
45812 (__pathconf): Pass file to __statfs_link_max.
45813 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45814 __statfs_link_max.
45815 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45816 __statfs_link_max.
45817
45818 [BZ #12868]
45819 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45820 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45821 Handle Lustre.
45822 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45823 (__statfs_filesize_max): Likewise.
45824 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45825
458262011-07-05 Andreas Jaeger <aj@suse.de>
45827
45828 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45829
458302011-07-06 Marek Polacek <mpolacek@redhat.com>
45831
45832 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45833 `status' variable.
45834 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45835 Likewise.
45836
458372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45838
45839 * Makefile (strop-tests): Add strncat.
45840 * string/test-strncat.c: New file.
45841
458422011-06-30 Marek Polacek <mpolacek@redhat.com>
45843
45844 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45845
458462011-06-21 Andreas Jaeger <aj@suse.de>
45847
45848 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45849 Copy rule from iconvdata/Makefile.
45850
458512011-07-06 Ulrich Drepper <drepper@gmail.com>
45852
45853 [BZ #12922]
45854 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45855 but no long options are defined, just return 'W'.
45856
458572011-06-22 Marek Polacek <mpolacek@redhat.com>
45858
45859 [BZ #9696]
45860 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45861
458622011-07-06 Ulrich Drepper <drepper@gmail.com>
45863
45864 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45865 netgroups to read.
45866 (innetgr): Likewise.
45867
458682011-07-05 Roland McGrath <roland@hack.frob.com>
45869
45870 * config.make.in (install_root): Default to $(DESTDIR).
45871
458722011-07-05 Ulrich Drepper <drepper@gmail.com>
45873
45874 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45875
458762011-07-02 Roland McGrath <roland@hack.frob.com>
45877
45878 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45879
45880 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45881 containing directory rather than embedding absolute directory names.
45882
45883 * scripts/check-local-headers.sh: Rewritten using awk.
45884 Match by word, not by line. Print error messages for matches.
45885 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45886
45887 * Makerules [shlib-lds-flags empty]:
45888 ($(common-objpfx)libc_pic.opts): New target.
45889 ($(common-objpfx)libc_pic.os.clean): New target.
45890 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45891
45892 * config.make.in (OBJCOPY): New variable.
45893 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45894 * configure: Regenerated.
45895
45896 * config.make.in (use-default-link): New variable.
45897 * configure.in (use_default_link): Grok --with-default-link to set it.
45898 * configure: Regenerated.
45899 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45900 (shlib-lds, shlib-lds-flags): Define to empty.
45901
45902 * Makerules (shlib-lds): New variable.
45903 (shlib-lds-flags): New variable.
45904 (build-shlib, build-moduile, build-module-asneeded): Use it.
45905 ($(common-objpfx)libc.so): Use $(shlib-lds).
45906 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45907 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45908
45909 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45910 DT_FLAGS/DT_FLAGS_1 with zero flags.
45911
45912 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45913 linker script munging.
45914
459152011-07-02 Ulrich Drepper <drepper@gmail.com>
45916
45917 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45918 as 128-bit value.
45919 * crypt/sha512.c (sha512_process_block): Perform total addition using
45920 128-bit if possible.
45921 (__sha512_finish_ctx): Likewise.
45922 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45923 as 64-bit value.
45924 * crypt/sha256.c (SWAP64): Define.
45925 (sha256_process_block): Perform total addition using 64-bit if
45926 possible.
45927 (__sha256_finish_ctx): Likewise.
45928
459292011-07-01 Ulrich Drepper <drepper@gmail.com>
45930
45931 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45933 * nscd/hstcache.c (cache_addhst): Likewise.
45934 * nscd/grpcache.c (cache_addgr): Likewise.
45935 * nscd/aicache.c (addhstaiX): Likewise
45936 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45937
459382011-07-01 Thorsten Kukuk <kukuk@suse.de>
45939
45940 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45942 * nscd/hstcache.c (cache_addhst): Likewise.
45943 * nscd/grpcache.c (cache_addgr): Likewise.
45944 * nscd/aicache.c (addhstaiX): Likewise
45945
459462011-07-01 Andreas Schwab <schwab@redhat.com>
45947
45948 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45949 domain only when needed.
45950
459512011-06-30 Andreas Schwab <schwab@redhat.com>
45952
45953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45954 is always restored.
45955
459562011-06-29 Ulrich Drepper <drepper@gmail.com>
45957
45958 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45959 are re-adding the entry.
45960 * nscd/servicescache.c (cache_addserv): Likewise.
45961
459622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45963
45964 * sysdeps/generic/dl-irel.h: fix protection against multiple
45965 inclusions.
45966 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45967
459682011-06-28 Ulrich Drepper <drepper@gmail.com>
45969
45970 [BZ #12935]
45971 * malloc/memusage.sh: Fix quoting in message.
45972 * debug/xtrace.sh: Likewise.
45973
45974 * configure.in: Remove support for --experimental-malloc option, make
45975 it the default.
45976 * config.make.in: Likewise.
45977 * malloc/Makefile: Likewise.
45978
459792011-06-27 Andreas Schwab <schwab@redhat.com>
45980
45981 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45982 two-byte characters.
45983
459842011-06-27 Roland McGrath <roland@hack.frob.com>
45985
45986 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45987 AC_CACHE_CHECK invocation.
45988 * configure: Regenerated.
45989
45990 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45991
459922011-06-27 Ulrich Drepper <drepper@gmail.com>
45993
45994 [BZ #12350]
45995 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45996 bit from old_res_options.
45997
45998 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45999
46000 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46001 value type for setfct.
46002
460032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46004
46005 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46006 __gettimeofday instead of gettimeofday.
46007
460082011-06-26 Ulrich Drepper <drepper@gmail.com>
46009
46010 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46011
460122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46013
46014 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46015
46016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46017 info.
46018
460192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46020
46021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46022 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46023 strcpy-sse2-unaligned strncpy-sse2-unaligned
46024 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46025 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46026 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46027 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46028 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46030 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46031 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46032 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46033 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46034 (STRCPY): Support SSE2 and SSSE3 versions.
46035
460362011-06-24 Ulrich Drepper <drepper@gmail.com>
46037
46038 [BZ #12874]
46039 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46040 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46041 kernels which artificially limit size of requests.
46042
460432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46044
46045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46046 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46047 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46048 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46049 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46050 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46051 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46052 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46053 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46055 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46056 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46057 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46058 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46059 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46061 Enable unaligned load optimization for Intel Core i3, i5 and i7
46062 processors.
46063 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46064 Define.
46065 (index_Fast_Unaligned_Load): Define.
46066 (HAS_FAST_UNALIGNED_LOAD): Define.
46067
460682011-06-23 Marek Polacek <mpolacek@redhat.com>
46069
46070 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46071
460722011-06-22 Ulrich Drepper <drepper@gmail.com>
46073
46074 [BZ #12907]
46075 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46076 until it is clear that the information is realy needed.
46077 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46078
460792011-06-22 Andreas Schwab <schwab@redhat.com>
46080
46081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46082
460832011-06-22 Ulrich Drepper <drepper@gmail.com>
46084
46085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46086 /sys/devices/system/cpu/online if it is usable.
46087
46088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46089 reading the information from the /proc filesystem to once a second.
46090
460912011-06-21 Andreas Jaeger <aj@suse.de>
46092
46093 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46094 NULL after inclusion of kernel headers.
46095
460962011-06-21 Ulrich Drepper <drepper@gmail.com>
46097
46098 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46099 calls to internal_setent.
46100
46101 [BZ #12885]
46102 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46103 addresses using gethostbyname4_r ignore IPv4 addresses.
46104
46105 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46106 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46107
46108 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46109
461102011-06-20 David S. Miller <davem@davemloft.net>
46111
46112 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46113 inclusions.
46114 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46115
46116 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46117 (elf_irel): Use it.
46118 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46119 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46120 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46121 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46122 * sysdeps/x86_64/dl-irel.h: Likewise.
46123
46124 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46125 * elf/dl-sym.c: Likewise.
46126
461272011-06-15 Ulrich Drepper <drepper@gmail.com>
46128
46129 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46130 need to dereference resplen2.
46131
461322011-06-14 Andreas Schwab <schwab@redhat.com>
46133
46134 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46135
461362011-06-15 Ulrich Drepper <drepper@gmail.com>
46137
46138 * Makeconfig: Define vardbdir and inst_vardbdir.
46139 * nss/Makefile: Add rules to install db-Makefile.
46140
46141 * nss/nss_db/db-XXX.c: Cleanup.
46142
46143 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46144 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46145 GLIBC_PRIVATE.
46146 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46147 * nss/makedb.c: Implement -g option to specify that value strings
46148 are generated and should not be added to table iterated over for
46149 get*ent calls.
46150 * nss/nss_db/db-initgroups.c: New file.
46151
46152 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46153 interface.
46154
46155 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46156 (internal_getgrouplist): Adjust to name change.
46157 Update use_initgroups_entry if this is not the first call.
46158 * nss/databases.def: Add initgroups entry.
46159
46160 * nss/makedb.c (compute_tables): Check result of multiple hash table
46161 sizes to minimize maximum chain length.
46162
461632011-06-14 Ulrich Drepper <drepper@gmail.com>
46164
46165 * Versions.def: Add entry for libnss_db.
46166 * shlib-versions: Likewise.
46167 * nss/Makefile: Add rules to build libnss_db.
46168 * nss/Versions: Add libnss_db information. Organize libnss_files
46169 entries better.
46170 * nss/db-Makefile: Add gshadow support. Change rules for the new
46171 makedb progra. Some minor improvements to generate smaller files.
46172 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46173 here from...
46174 * nss/makedb.c: ...here.
46175 Improve database format to be smaller and require less memory at
46176 runtime.
46177 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46178 db anymore.
46179 * nss/nss_db/db-netgrp.c: Likewise.
46180 * nss/nss_db/db-open.c: Likewise.
46181 * nss/nss_files/flies-XXX.x: Adjust comments.
46182 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46183 * nss/nss_files/files-grp.c: Likewise.
46184 * nss/nss_files/files-hosts.c: Likewise.
46185 * nss/nss_files/files-network.c: Likewise.
46186 * nss/nss_files/files-proto.c: Likewise.
46187 * nss/nss_files/files-pwd.c: Likewise.
46188 * nss/nss_files/files-rpc.c: Likewise.
46189 * nss/nss_files/files-service.c: Likewise.
46190 * nss/nss_files/files-sgrp.c: Likewise.
46191 * nss/nss_files/files-spwd.c: Likewise.
46192 * nss/nss_db/db-alias.c: Removed.
46193 * nss/nss_db/dummy-db.h: Removed.
46194
461952011-06-02 Ulrich Drepper <drepper@gmail.com>
46196
46197 * nss/makedb.c: Rewritten to not use database library.
46198 * nss/Makefile: Update to build new makedb program.
46199
462002011-06-14 Andreas Jaeger <aj@suse.de>
46201
46202 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46203 memset declaration.
46204
462052011-06-10 Andreas Schwab <schwab@redhat.com>
46206
46207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46208 tmpbuf.
46209
462102011-06-10 Roland McGrath <roland@hack.frob.com>
46211
46212 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46213 * elf/Makefile ($(objpfx)ld.so): Likewise.
46214
46215 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46216 Don't list ld.so twice in dependencies.
46217
46218 * posix/bug-regex31.c: Include <stdlib.h>.
46219
46220 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46221
46222 * nis/nss_compat/compat-spwd.c
46223 (getspent_next_nss_netgr): Remove unused variable.
46224 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46225
46226 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46227 nonmembers" output to use the right array.
46228
46229 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46230
46231 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46232
46233 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46234 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46235 * catgets/gencat.c (read_input_file): Likewise.
46236 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46237
46238 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46239 variable definition inside #if's controlling its use.
46240
46241 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46242
46243 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46244
46245 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46246
46247 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46248 unreachable code.
46249
46250 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46251
46252 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46253 * configure: Regenerated.
46254
46255 * Makerules: Revert last change.
46256 * elf/Makefile: Likewise.
46257
462582011-06-09 Roland McGrath <roland@hack.frob.com>
46259
46260 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46261 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46262 (reloc-link): Likewise.
46263
462642011-06-09 Ulrich Drepper <drepper@gmail.com>
46265
46266 * elf/Makefile: Add rules to build pldd.
46267 * elf/pldd.c: New file.
46268 * elf/pldd-xx.c: New file.
46269
462702011-06-07 Ulrich Drepper <drepper@gmail.com>
46271
46272 * version.h: Update for 2.15 development version.
46273
462742011-06-07 David S. Miller <davem@davemloft.net>
46275
46276 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46277 ifuncs.
46278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46279 elf_machine_lazy_rel): Likewise.
46280 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46281 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46282 elf_machine_lazy_rel): Likewise.
46283 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46284 dl_hwcap via passed in argument.
46285 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46286 Likewise.
46287
462882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46289
46290 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46291
462922011-06-06 Roland McGrath <roland@hack.frob.com>
46293
46294 [BZ #12849]
46295 * manual/fdl-1.1.texi: New file, verbatim from:
46296 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46297 * manual/lgpl-2.1.texi: New file, verbatim from:
46298 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46299 * manual/Makefile (licenses): New variable, list those new file names.
46300 (texis): Use it.
46301 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46302
46303 * manual/fdl.texi: File removed.
46304 * manual/lesser.texi: File removed.
46305 * manual/libc.texinfo (Copying, Documentation License):
46306 Use new @include file names, put @appendix directive before @include.
46307
463082011-06-04 Jakub Jelinek <jakub@redhat.com>
46309
46310 [BZ #12841]
46311 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46312 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46313 (mq_open): Add __NTH.
46314
463152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46316
46317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46318 Assume Intel Core i3/i5/i7 processor if AVX is available.
46319
463202011-05-31 Ulrich Drepper <drepper@gmail.com>
46321
46322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46323 typo.
46324
463252011-05-31 Andreas Schwab <schwab@redhat.com>
46326
46327 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46328 memory. Use alloca_account. Fix memory leak when retrying.
46329
463302011-05-31 Ulrich Drepper <drepper@gmail.com>
46331
46332 * version.h (RELEASE): Bump for 2.14 release.
46333 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46334
46335 * config.make.in (RANLIB): Remove entry.
46336
463372011-05-30 Ulrich Drepper <drepper@gmail.com>
46338
46339 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46340 (libc.pot): Work around missing support for .ksh extension in xgettext.
46341
46342 [BZ #12684]
46343 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46344 if both request failed.
46345 (send_dg): In case of server errors clear resplen or *resplen2.
46346
46347 [BZ #12454]
46348 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46349 when there are multiple maps.
46350 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46351 (_dl_fini): Remove test here.
46352
46353 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46354
463552011-05-29 Ulrich Drepper <drepper@gmail.com>
46356
46357 [BZ #12350]
46358 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46359 bit from old_res_options.
46360 (gaih_inet): Likewise.
46361
46362 [BZ #11099]
46363 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46364 as signed.
46365
46366 * resolv/res_init.c (res_setoptions): Make the code more compact.
46367
46368 [BZ #11558]
46369 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46370 set RES_USEVC.
46371
46372 [BZ #11634]
46373 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46374
46375 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46376
46377 [BZ #11781]
46378 * malloc/malloc.h: Declare malloc hook variables as volatile.
46379
46380 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46381 in last patch.
46382
46383 [BZ #11799]
46384 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46385 raise in the comment.
46386 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46387 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46388 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46389
463902011-05-28 Ulrich Drepper <drepper@gmail.com>
46391
46392 [BZ #12811]
46393 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46394 grow the buffers more if it already has to be sufficient.
46395 (build_wcs_upper_buffer): Likewise.
46396 * posix/regexec.c (check_matching): Likewise.
46397 (clean_state_log_if_needed): Likewise.
46398 (extend_buffers): Don't enlarge buffers beyond size of the input
46399 buffer.
46400 Patches mostly by Emil Wojak <emil@wojak.eu>.
46401 * posix/bug-regex32.c: New file.
46402 * posix/Makefile (tests): Add bug-regex32.
46403
46404 * locale/findlocale.c (_nl_find_locale): Return right away if
46405 _nl_explode_name failed.
46406 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46407
46408 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46409
46410 * debug/xtrace.sh: Unify messages.
46411 * malloc/memusage.sh: Likewise.
46412
46413 [BZ #12813]
46414 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46415 time symbol from vDSO. Substitute with vsyscall if not available.
46416 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46417 __vdso_time.
46418
46419 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46420 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46421 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46422 Add sendmmsg and internal_sendmmsg.
46423 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46424 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46425 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46426
46427 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46428 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46429 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46430
464312011-05-27 Ulrich Drepper <drepper@gmail.com>
46432
46433 [BZ #12813]
46434 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46435 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46436 available.
46437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46438 __vdso_getcpu.
46439
46440 [BZ #12814]
46441 * iconvdata/Makefile (tests): Add bug-iconv9.
46442 * iconvdata/bug-iconv9.c: New file.
46443
464442011-05-27 Andreas Schwab <schwab@redhat.com>
46445
46446 [BZ #12814]
46447 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46448
464492011-05-25 Jakub Jelinek <jakub@redhat.com>
46450
46451 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46452 (struct user_regs_struct): Change intcs field back to cs.
46453
464542011-05-25 Ulrich Drepper <drepper@gmail.com>
46455
46456 * po/ja.po: Update from translation team.
46457
464582011-05-23 Ulrich Drepper <drepper@gmail.com>
46459
46460 [BZ #12795]
46461 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46462 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46463
464642011-05-20 Andreas Schwab <schwab@redhat.com>
46465
46466 * stdlib/longlong.h: Update from GCC.
46467
464682011-05-23 Andreas Schwab <schwab@redhat.com>
46469
46470 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46471 parameter name.
46472 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46473 Add parameter name.
46474 (__sysconf): Pass it down.
46475
464762011-05-22 Ulrich Drepper <drepper@gmail.com>
46477
46478 [BZ #12671]
46479 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46480 some situations.
46481 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46482 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46483 add in in __libc_use_alloca calls. Adjust callers.
46484 (glob): Use malloc in some situations.
46485
46486 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46487 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46488 pltexit.
46489
464902011-05-21 Ulrich Drepper <drepper@gmail.com>
46491
46492 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46493 and CLOCK_BOOTTIME_ALARM.
46494
46495 [BZ #12782]
46496 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46497 is returned.
46498
46499 * string/_strerror.c (__strerror_r): Print negative errors as signed
46500 numbers.
46501
46502 [BZ #12777]
46503 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46504 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46505 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46506
46507 * configure.in: Fix typo in redirection and correct removal of test
46508 files in two cases.
46509
46510 [BZ #12788]
46511 * locale/setlocale.c (new_composite_name): Fix test to check for
46512 identical name of all categories.
46513
46514 [BZ #12792]
46515 * libio/filedoalloc.c (local_isatty): New function.
46516 (_IO_file_doallocate): Use local_isatty.
46517 * stdio-common/perror.c (perror): In case a new stream is used
46518 forward the stream error.
46519 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46520 error flag.
46521
465222011-05-20 Ulrich Drepper <drepper@gmail.com>
46523
46524 [BZ #11869]
46525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46526 alloca.
46527 * include/alloca.h (extend_alloca_account): Define.
46528
46529 [BZ #11857]
46530 * posix/regex.h: Fix comments with documentation of user-accessible
46531 fields after compilation and describe correct free'ing of pattern
46532 after re_compile_pattern.
46533 Patch by Reuben Thomas <rrt@sc3d.org>.
46534
465352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46536
46537 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46538 and -mno-altivec to prevent the compiler from using Altivec and/or
46539 VSX instructions when the corresponding registers are not available.
46540
465412011-05-19 Andreas Schwab <schwab@redhat.com>
46542
46543 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46544
465452011-05-19 Ulrich Drepper <drepper@gmail.com>
46546
46547 * libio/freopen.c (freopen): Use __dup2, not dup2.
46548 * libio/freopen64.c (freopen64): Likewise.
46549
465502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46551
46552 [BZ #12775]
46553 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46554 * math/Makefile (tests): Add test-powl.
46555 (CFLAGS-test-powl.c): Define.
46556 * math/test-powl.c: New file.
46557
465582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46559
46560 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46561
465622011-05-17 Ulrich Drepper <drepper@gmail.com>
46563
46564 [BZ #11837]
46565 * iconvdata/gb18030.c: Update to GB18020-2005.
46566
465672011-05-16 Ulrich Drepper <drepper@gmail.com>
46568
46569 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46570 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46571 Patch by Aharon Robbins <arnold@skeeve.com>.
46572
46573 [BZ #11892]
46574 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46575 on the stack.
46576
46577 [BZ #11895]
46578 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46579 through underflows.
46580
46581 [BZ #12766]
46582 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46583 point to strings before performing equality test for error_one_per_line
46584 mode.
46585
46586 [BZ #11697]
46587 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46588
46589 [BZ #11820]
46590 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46591 (struct user_fpregs_struct): Avoid __uint*_t types.
46592
46593 [BZ #6420]
46594 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46595 symbol info. Use it instead of calling _dl_addr locally.
46596 (lock_and_info): New function.
46597 (tr_freehook): Call lock_and_info and pass symbol info as additional
46598 parameter to tr_where.
46599 (tr_mallochook): Likewise.
46600 (tr_reallochook): Likewise.
46601 (tr_memalignhook): Likewise.
46602
46603 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46604 used and couldn't be at all thread-safe.
46605
466062011-05-15 Ulrich Drepper <drepper@gmail.com>
46607
46608 * libio/freopen.c (freopen): Don't close old file descriptor
46609 before the new one is opened. Instead dup the new file descriptor
46610 to the old one after the new stream is created.
46611 * libio/freopen64.c (freopen64): Likewise.
46612 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46613 * libio/fileops.c (_IO_new_file_close_it): Handle new
46614 _IO_FLAGS2_NOCLOSE flag.
46615 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46616 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46617 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46618 _IO_FLAGS2_NOCLOSE flag.
46619 * include/unistd.h: Add hidden_proto for dup3.
46620 Define __have_dup3.
46621 * io/dup3.c: Define hidden symbol.
46622 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46623
46624 [BZ #7101]
46625 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46626 when an incomplete long option is used.
46627 * posix/tst-getopt_long1.c: New file.
46628 * posix/Makefile (tests): Add tst-getopt_long1.
46629
46630 [BZ #10138]
46631 * scripts/config.guess: Update from autoconf-2.68.
46632 * scripts/config.sub: Likewise.
46633
46634 [BZ #10157]
46635 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46636 tests into ...
46637 (has_cpuclock): ...this. New function.
46638 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46639 macro here based on has_cpuclock code.
46640
46641 [BZ #10149]
46642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46643 First byte (not low byte) is now always NUL.
46644 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46645
46646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46647 Use non-cancelable interfaces.
46648
46649 [BZ #9809]
46650 * locale/iso-639.def: Add entry for Sorani.
46651
46652 [BZ #11901]
46653 * include/stdlib.h: Move include protection to the right place.
46654 Define abort_msg_s. Declare __abort_msg with it.
46655 * stdlib/abort.c (__abort_msg): Adjust type.
46656 * assert/assert.c (__assert_fail_base): New function. Majority
46657 of code from __assert_fail. Allocate memory for __abort_msg with
46658 mmap.
46659 (__assert_fail): Now call __assert_fail_base.
46660 * assert/assert-perr.c: Remove bulk of implementation. Use
46661 __assert_fail_base.
46662 * include/assert.hL Declare __assert_fail_base.
46663 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46664 mmap.
46665 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46666
466672011-05-14 Ulrich Drepper <drepper@gmail.com>
46668
46669 [BZ #11952]
46670 [BZ #12453]
46671 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46672 until all modules are registered in the DTV.
46673 * elf/Makefile: Add rules to build and run tst-tls19.
46674 * elf/tst-tls19.c: New file.
46675 * elf/tst-tls19mod1.c: New file.
46676 * elf/tst-tls19mod2.c: New file.
46677 * elf/tst-tls19mod3.c: New file.
46678 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46679
46680 [BZ #12083]
46681 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46682 correctly.
46683
46684 [BZ #12601]
46685 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46686 two-byte sequence errors.
46687 * iconvdata/Makefile (tests): Add bug-iconv8.
46688 * iconvdata/bug-iconv8.c: New file.
46689
46690 [BZ #12626]
46691 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46692 buf2 definition.
46693
46694 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46695
46696 [BZ #12432]
46697 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46698 (dummy_getcfa): New function.
46699 (init): Get _Unwind_GetCFA address, use dummy if not found.
46700 (backtrace_helper): In recursion check, also check whether CFA changes.
46701 (__backtrace): Completely initialize arg.
46702
46703 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46704 storing incomplete byte sequence in state object. Avoid testing for
46705 guaranteed too small input if we know there is enough data available.
46706
467072011-05-11 Andreas Schwab <schwab@redhat.com>
46708
46709 * Makeconfig (+link-pie): Indent.
46710 * Rules (binaries-pie): Define if $(have-fpie) and
46711 $(build-shared).
46712 (binaries-shared): Also filter out $(binaries-pie).
46713 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46714 * nscd/Makefile (others-pie): Add nscd.
46715 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46716 ($(objpfx)nscd): Remove command override.
46717 * login/Makefile (others-pie): Add pt_chown.
46718 ($(objpfx)pt_chown): Remove command override.
46719 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46720 remove command overrides.
46721
467222011-05-13 Ulrich Drepper <drepper@gmail.com>
46723
46724 * libio/tst_putwc.c: Fix error messages.
46725
46726 [BZ #12724]
46727 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46728 currently writing and seek to current position when not.
46729 * libio/Makefile (tests): Add bug-fclose1.
46730 * libio/bug-fclose1.c: New file.
46731
467322011-05-12 Ulrich Drepper <drepper@gmail.com>
46733
46734 [BZ #12511]
46735 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46736 don't set DF_1_NODELETE here.
46737 (do_lookup_x): When entering new entry test for copy relocation
46738 and if necessary set DF_1_NODELETE flag.
46739 * elf/tst-unique4.cc: New file.
46740 * elf/tst-unique4.h: New file.
46741 * elf/tst-unique4lib.cc: New file.
46742 * elf/Makefile: Add rules to build and run tst-unique4.
46743 Patch by Piotr Bury <pbury@goahead.com>.
46744
467452011-05-11 Ulrich Drepper <drepper@gmail.com>
46746
46747 [BZ #12052]
46748 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46749
46750 [BZ #12625]
46751 * misc/mntent_r.c (addmntent): Flush the stream after the output
46752
46753 [BZ #12393]
46754 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46755 (is_trusted_path_normalize): Skip initial colon. Append slash
46756 to empty buffer. Duplicate is_trusted_path code but allow
46757 constructed patch to be prefix.
46758 (is_dst): Allow $ORIGIN followed by /.
46759 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46760 Correct testing of result of is_trusted_path_normalize
46761 (decompose_rpath): Fix warning.
46762
467632011-05-10 Ulrich Drepper <drepper@gmail.com>
46764
46765 [BZ #11257]
46766 * grp/initgroups.c (internal_getgrouplist): When we found the service
46767 list through the initgroups entry in nsswitch.conf do not always
46768 continue on a successful lookup. Don't always use the
46769 __nss_group_database value if it is set.
46770 * nss/nsswitch.conf (initgroups): Change action for successful db
46771 lookup to continue for compatibility.
46772
467732011-05-09 Ulrich Drepper <drepper@gmail.com>
46774
46775 [BZ #11532]
46776 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46777 and CP774 modules.
46778 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46779 and CP774 modules.
46780 * iconvdata/tst-tables.sh: Likewise.
46781 * iconvdata/cp770.c: New file.
46782 * iconvdata/cp771.c: New file.
46783 * iconvdata/cp772.c: New file.
46784 * iconvdata/cp773.c: New file.
46785 * iconvdata/cp774.c: New file.
46786 * iconvdata/testdata/CP770: New file.
46787 * iconvdata/testdata/CP770..UTF8: New file.
46788 * iconvdata/testdata/CP771: New file.
46789 * iconvdata/testdata/CP771..UTF8: New file.
46790 * iconvdata/testdata/CP772: New file.
46791 * iconvdata/testdata/CP772..UTF8: New file.
46792 * iconvdata/testdata/CP773: New file.
46793 * iconvdata/testdata/CP773..UTF8: New file.
46794 * iconvdata/testdata/CP774: New file.
46795 * iconvdata/testdata/CP774..UTF8: New file.
46796
46797 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46798 END CHARMAP line.
46799 * iconvdata/gen-8bit-gap.sh: Likewise.
46800 * iconvdata/gen-8bit.sh: Likewise.
46801
46802 * locale/iso-639.def: Add ary entry.
46803
46804 [BZ #11258]
46805 * locale/C-translit.h.in: Add U20A1 transliteration.
46806
46807 [BZ #12178]
46808 * locale/iso-639.def: Add wae entry.
46809 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46810
46811 [BZ #12545]
46812 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46813 for n.
46814
46815 [BZ #12711]
46816 * locale/C-translit.h.in: Add entry for U20B9.
46817 Patch by pravin.d.s@gmail.com.
46818
468192011-05-08 Ulrich Drepper <drepper@gmail.com>
46820
46821 [BZ #12713]
46822 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46823 ENAMETOOLONG use generic getcwd.
46824 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46825 in rtld. Use *stat64.
46826 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46827 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46828 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46829 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46830 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46831 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46832 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46833 __fstatat64 macros.
46834 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46835 * dirent/rewinddir.c: Add libc_hidden_def.
46836 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46837 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46838
46839 * include/dirent.h (__alloc_dir): Add flags parameter.
46840 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46841 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46842 __alloc_dir.
46843 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46844 from fdopendir if O_CLOEXEC is already set.
46845
468462011-03-15 Alan Modra <amodra@gmail.com>
46847
46848 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46849 l_tls_firstbyte_offset non-zero. Save padding offset in
46850 l_tls_firstbyte_offset for later use.
46851 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46852 freeing static tls block.
46853
468542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46855
46856 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46857 where #ifdef was intended. The intent is to prevent ARG_MAX from
46858 being defined by the kernel headers.
46859
468602011-05-07 Ulrich Drepper <drepper@gmail.com>
46861
46862 [BZ #12734]
46863 * resolv/resolv.h: Define RES_NOTLDQUERY.
46864 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46865 no-tld-query and set RES_NOTLDQUERY.
46866 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46867 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46868 modern BIND to search name as TLD unless forbidden.
46869
468702011-05-07 Petr Baudis <pasky@suse.cz>
46871 Ulrich Drepper <drepper@gmail.com>
46872
46873 [BZ #12393]
46874 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46875 (is_trusted_path): ...to here.
46876 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46877 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46878 using is_trusted_path_normalize() in setuid scripts.
46879
468802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46881
46882 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46883 __BEGIN/__END_DECLS.
46884
468852011-05-06 Ulrich Drepper <drepper@gmail.com>
46886
46887 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46888 NSS_STATUS_NOTFOUND if no record was found.
46889
468902011-05-05 Andreas Schwab <schwab@redhat.com>
46891
46892 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46893 (headers-not-in-tirpc): Remove rpc/netdb.h
46894 * resolv/netdb.h: Revert last change.
46895
468962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46897
46898 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46899 circular dependency between libgcc.a and libc.a.
46900
469012011-05-05 Andreas Schwab <schwab@redhat.com>
46902
46903 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46904 * nis/Makefile: Don't install rpcsvc/*.
46905 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46906 instead of <rpc/types.h>.
46907 (MAXHOSTNAMELEN): Define.
46908
469092011-05-03 Andreas Schwab <schwab@redhat.com>
46910
46911 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46912
469132011-04-28 Maciej Babinski <mbabinski@google.com>
46914
46915 [BZ #12714]
46916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46917 gethostbyname4_r when IPv6 results are possible.
46918
469192011-05-02 Ulrich Drepper <drepper@gmail.com>
46920
46921 [BZ #12723]
46922 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46923 _PC_PIPE_BUF handling.
46924
469252011-04-30 Bruno Haible <bruno@clisp.org>
46926
46927 [BZ #12717]
46928 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46929 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46930 to 'int'.
46931 * inet/getnameinfo.c (getnameinfo): Likewise.
46932
469332011-04-29 Ulrich Drepper <drepper@gmail.com>
46934
46935 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46936 to groups setting in database lookup.
46937 * nss/nsswitch.conf: Add initgroups entry.
46938
469392011-04-22 Ulrich Drepper <drepper@gmail.com>
46940
46941 [BZ #12685]
46942 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46943 mode string.
46944 Patch by Eric Blake <eblake@redhat.com>.
46945
469462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46947
46948 * sunrpc/Makefile (need-export-routines): Add svc_run.
46949 (routines): Remove svc_run.
46950 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46951 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46952 * sunrpc/svc_run.c (svc_run): Likewise.
46953 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46954
469552011-04-21 Ulrich Drepper <drepper@gmail.com>
46956
46957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46958 problem in reallocation in last patch.
46959
469602011-04-20 Ulrich Drepper <drepper@gmail.com>
46961
46962 * sunrpc/Makefile: Move inclusion of Rules.
46963
469642011-04-19 Ulrich Drepper <drepper@gmail.com>
46965
46966 * nss/nss_files/files-initgroups.c: New file.
46967 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46968 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46969 _nss_files_initgroups_dyn.
46970
469712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46972
46973 * elf/elf.h (R_ARM_IRELATIVE): Define.
46974
469752011-04-19 Ulrich Drepper <drepper@gmail.com>
46976
46977 * po/ru.po: Update from translation team.
46978
469792011-04-17 Ulrich Drepper <drepper@gmail.com>
46980
46981 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46982 dependencies.
46983
469842011-02-06 Mike Frysinger <vapier@gentoo.org>
46985
46986 [BZ #12653]
46987 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46988 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46990 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46992
469932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46994
46995 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46996 differing bytes.
46997 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46998 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46999 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47000
470012011-04-17 Ulrich Drepper <drepper@gmail.com>
47002
47003 [BZ #12420]
47004 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47005 storing it.
47006 * stdlib/bug-getcontext.c: New file.
47007 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47008
470092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47010
47011 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47012 instructions into .machine "z9-109".
47013 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47014 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47015
470162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47017
47018 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47019 between environment variables and auxiliary vector.
47020
470212011-04-16 Ulrich Drepper <drepper@gmail.com>
47022
47023 * Makefile: Add rules to build linkobj/libc.so.
47024 * include/libc-symbols.h: Define libc_hidden_nolink.
47025 * include/rpc/auth.h: Mark functions which are to be hidden.
47026 * include/rpc/auth_des.h: Likewise.
47027 * include/rpc/auth_unix.h: Likewise.
47028 * include/rpc/clnt.h: Likewise.
47029 * include/rpc/des_crypt.h: Likewise.
47030 * include/rpc/key_prot.h: Likewise.
47031 * include/rpc/pmap_clnt.h: Likewise.
47032 * include/rpc/pmap_prot.h: Likewise.
47033 * include/rpc/pmap_rmt.h: Likewise.
47034 * include/rpc/rpc_msg.h: Likewise.
47035 * include/rpc/svc.h: Likewise.
47036 * include/rpc/svc_auth.h: Likewise.
47037 * include/rpc/xdr.h: Likewise.
47038 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47039 * nss/Makefile: Likewise.
47040 * sunrpc/Makefile: Don't install headers. Build library with normal
47041 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47042 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47043 for the compat linking library. Remove use of INTDEF/INTUSE.
47044 * sunrpc/auth_none.c: Likewise.
47045 * sunrpc/auth_unix.c: Likewise.
47046 * sunrpc/authdes_prot.c: Likewise.
47047 * sunrpc/authuxprot.c: Likewise.
47048 * sunrpc/clnt_gen.c: Likewise.
47049 * sunrpc/clnt_perr.c: Likewise.
47050 * sunrpc/clnt_raw.c: Likewise.
47051 * sunrpc/clnt_simp.c: Likewise.
47052 * sunrpc/clnt_tcp.c: Likewise.
47053 * sunrpc/clnt_udp.c: Likewise.
47054 * sunrpc/clnt_unix.c: Likewise.
47055 * sunrpc/des_crypt.c: Likewise.
47056 * sunrpc/des_soft.c: Likewise.
47057 * sunrpc/get_myaddr.c: Likewise.
47058 * sunrpc/key_call.c: Likewise.
47059 * sunrpc/key_prot.c: Likewise.
47060 * sunrpc/netname.c: Likewise.
47061 * sunrpc/pm_getmaps.c: Likewise.
47062 * sunrpc/pm_getport.c: Likewise.
47063 * sunrpc/pmap_clnt.c: Likewise.
47064 * sunrpc/pmap_prot.c: Likewise.
47065 * sunrpc/pmap_prot2.c: Likewise.
47066 * sunrpc/pmap_rmt.c: Likewise.
47067 * sunrpc/publickey.c: Likewise.
47068 * sunrpc/rpc_cmsg.c: Likewise.
47069 * sunrpc/rpc_common.c: Likewise.
47070 * sunrpc/rpc_dtable.c: Likewise.
47071 * sunrpc/rpc_prot.c: Likewise.
47072 * sunrpc/rpc_thread.c: Likewise.
47073 * sunrpc/rtime.c: Likewise.
47074 * sunrpc/svc.c: Likewise.
47075 * sunrpc/svc_auth.c: Likewise.
47076 * sunrpc/svc_authux.c: Likewise.
47077 * sunrpc/svc_raw.c: Likewise.
47078 * sunrpc/svc_run.c: Likewise.
47079 * sunrpc/svc_simple.c: Likewise.
47080 * sunrpc/svc_tcp.c: Likewise.
47081 * sunrpc/svc_udp.c: Likewise.
47082 * sunrpc/svc_unix.c: Likewise.
47083 * sunrpc/svcauth_des.c: Likewise.
47084 * sunrpc/xcrypt.c: Likewise.
47085 * sunrpc/xdr.c: Likewise.
47086 * sunrpc/xdr_array.c: Likewise.
47087 * sunrpc/xdr_float.c: Likewise.
47088 * sunrpc/xdr_intXX_t.c: Likewise.
47089 * sunrpc/xdr_mem.c: Likewise.
47090 * sunrpc/xdr_rec.c: Likewise.
47091 * sunrpc/xdr_ref.c: Likewise.
47092 * sunrpc/xdr_sizeof.c: Likewise.
47093 * sunrpc/xdr_stdio.c: Likewise.
47094
470952011-04-10 Ulrich Drepper <drepper@gmail.com>
47096
47097 [BZ #12650]
47098 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47099 * sysdeps/ia64/dl-tls.h: Likewise.
47100 * sysdeps/powerpc/dl-tls.h: Likewise.
47101 * sysdeps/s390/dl-tls.h: Likewise.
47102 * sysdeps/sh/dl-tls.h: Likewise.
47103 * sysdeps/sparc/dl-tls.h: Likewise.
47104 * sysdeps/x86_64/dl-tls.h: Likewise.
47105 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47106
471072011-03-14 Andreas Schwab <schwab@redhat.com>
47108
47109 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47110 rpath element also skip the following colon.
47111 (expand_dynamic_string_token): Add is_path parameter and pass
47112 down to DL_DST_REQUIRED and _dl_dst_substitute.
47113 (decompose_rpath): Call expand_dynamic_string_token with
47114 non-zero is_path. Ignore empty rpaths.
47115 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47116 with zero is_path.
47117
471182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47119
47120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47121 Make cancelable.
47122
471232011-04-09 Ulrich Drepper <drepper@gmail.com>
47124
47125 [BZ #12655]
47126 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47127 Patch by Filipe David Manana <fdmanana@apache.org>.
47128
471292011-04-07 Andreas Schwab <schwab@redhat.com>
47130
47131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47132 Maintain aligned stack.
47133 (CHECK_RSP): Remove unused macro.
47134
471352011-04-03 Ulrich Drepper <drepper@gmail.com>
47136
47137 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47138 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47139
471402011-04-02 Ulrich Drepper <drepper@gmail.com>
47141
47142 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47143
47144 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47145
471462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47147
47148 [BZ #12518]
47149 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47150 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47151 * sysdeps/x86_64/memmove.c: New file.
47152 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47153 (memcpy): Renamed to ...
47154 (__new_memcpy): This.
47155 (memcpy): Provide GLIBC_2_14 memcpy.
47156 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47157 (memcpy): Provide GLIBC_2_2_5 memcpy.
47158
471592011-04-01 Ulrich Drepper <drepper@gmail.com>
47160
47161 [BZ #12631]
47162 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47163
471642011-03-30 Andreas Schwab <schwab@redhat.com>
47165
47166 * misc/syncfs.c: New file.
47167 * misc/Makefile (routines): Add syncfs.
47168 * posix/unistd.h: Declare syncfs.
47169 * sysdeps/unix/syscalls.list: Add syncfs.
47170
471712011-04-01 Andreas Schwab <schwab@redhat.com>
47172
47173 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47174 open_by_handle_at.
47175 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47180 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47181 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47182
471832011-04-01 Ulrich Drepper <drepper@gmail.com>
47184
47185 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47186 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47187 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47192
47193 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47194 sync_file_range.c with -fexceptions.
47195 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47196 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47197 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47198 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47199 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47200 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47202 sync_file_range as cancellation point
47203 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47204 now a wrapper around __call_sync_file_range with cancellation handling.
47205 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47206 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47207 function name to __call_sync_file_range.
47208 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47209 Add call_sync_file_range.
47210
472112011-04-01 Andreas Schwab <schwab@redhat.com>
47212
47213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47214 bits/timex.h.
47215
472162011-04-01 Ulrich Drepper <drepper@gmail.com>
47217
47218 * iconv/iconv.h: Fix typo in comment.
47219 * io/fcntl.h: Likewise.
47220 * libio/stdio.h: Likewise.
47221 * posix/spawn.h: Likewise.
47222 * posix/unistd.h: Likewise.
47223 * stdlib/stdlib.h: Likewise.
47224 * time/time.h: Likewise.
47225 * wcsmbs/wchar.h: Likewise.
47226
47227 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47228 open_by_handle): Add.
47229 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47230 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47231 Augment a few comments.
47232 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47237 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47238 open_by_handle.
47239
47240 * io/fcntl.h (AT_EMPTY_PATH): Define.
47241
472422011-03-30 Ulrich Drepper <drepper@gmail.com>
47243
47244 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47245 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47246 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47247 to...
47248 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47249 * Versions.def: Add GLIBC_2.14.
47250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47251 Export.
47252
472532011-03-22 Ulrich Drepper <drepper@gmail.com>
47254
47255 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47256 round counter.
47257 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47258
472592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47260
47261 [BZ #12597]
47262 * string/test-strncmp.c (do_page_test): New function.
47263 (check2): Likewise.
47264 (test_main): Call check2.
47265 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47266
472672011-03-20 Ulrich Drepper <drepper@gmail.com>
47268
47269 [BZ #12587]
47270 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47271 Handle cache information in CPU leaf 4.
47272 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47273
472742011-03-18 Ulrich Drepper <drepper@gmail.com>
47275
47276 [BZ #12583]
47277 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47278 character representation.
47279 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47280
472812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47282
47283 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47284 END(__isnan) to END(__isnanf) to match function entry point/label
47285 EALIGN(__isnanf,...).
47286
472872011-03-10 Jakub Jelinek <jakub@redhat.com>
47288
47289 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47290
472912011-03-10 Ulrich Drepper <drepper@gmail.com>
47292
47293 [BZ #12510]
47294 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47295 copy from the symbol referenced in the relocation to initialize the
47296 used variable.
47297 Patch by Piotr Bury <pbury@goahead.com>.
47298 * elf/Makefile: Add rules to build and tst-unique3.
47299 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47300 * elf/tst-unique3.cc: New file.
47301 * elf/tst-unique3.h: New file.
47302 * elf/tst-unique3lib.cc: New file.
47303 * elf/tst-unique3lib2.cc: New file.
47304
47305 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47306
473072011-03-10 Mike Frysinger <vapier@gentoo.org>
47308
47309 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47310 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47311 to _start.
47312
473132011-03-06 Ulrich Drepper <drepper@gmail.com>
47314
47315 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47316 to-be-loaded object along a path to loader is ld.so.
47317
473182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47319 Ulrich Drepper <drepper@gmail.com>
47320
47321 * sysdeps/x86_64/memset.S: After aligning destination, code
47322 branches to different locations depending on the value of
47323 misalignment, when multiarch is enabled. Fix this.
47324
473252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47326
47327 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47328 Set _x86_64_preferred_memory_instruction for AMD processsors.
47329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47330 Set bit_Prefer_SSE_for_memop for AMD processors.
47331
473322011-03-04 Ulrich Drepper <drepper@gmail.com>
47333
47334 * libio/fmemopen.c (fmemopen): Optimize a bit.
47335
473362011-03-03 Andreas Schwab <schwab@redhat.com>
47337
47338 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47339
473402011-03-03 Roland McGrath <roland@redhat.com>
47341
47342 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47343
473442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47345
47346 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47347 __bzero_ultra1 instead of __memset_ultra1.
47348
473492011-02-23 Andreas Schwab <schwab@redhat.com>
47350 Ulrich Drepper <drepper@gmail.com>
47351
47352 [BZ #12509]
47353 * include/link.h (struct link_map): Add l_orig_initfini.
47354 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47355 returning unsuccessfully.
47356 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47357 close of a file loaded at startup, restore the original l_initfini
47358 list.
47359 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47360 list, store the pointer.
47361 * elf/Makefile ($(objpfx)noload-mem): New rule.
47362 (noload-ENV): Define.
47363 (tests): Add $(objpfx)noload-mem.
47364 * elf/noload.c: Include <memcheck.h>.
47365 (main): Call mtrace. Close all opened handles.
47366
473672011-02-17 Andreas Schwab <schwab@redhat.com>
47368
47369 [BZ #12454]
47370 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47371 dependencies are missing.
47372
473732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47374
47375 Fix __if_freereq crash: Unlike the generic version which uses free,
47376 Hurd needs munmap.
47377 * sysdeps/mach/hurd/ifreq.h: New file.
47378
473792011-01-27 Petr Baudis <pasky@suse.cz>
47380 Ulrich Drepper <drepper@gmail.com>
47381
47382 [BZ 12445]#
47383 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47384 to extend_alloca().
47385 * stdio-common/bug23.c: New file.
47386 * stdio-common/Makefile (tests): Add bug23.
47387
473882010-09-28 Andreas Schwab <schwab@redhat.com>
47389 Ulrich Drepper <drepper@gmail.com>
47390
47391 [BZ #12489]
47392 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47393 before performing relro protection. At old place add assertion
47394 to make sure nothing changed.
47395
473962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47397 Glauber de Oliveira Costa <glommer@gmail.com>
47398
47399 * elf/elf.h: Add new ARM TLS relocs.
47400
474012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47402
47403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47404 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47405 cast from r3.
47406 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47407 'tests' variable.
47408 * sysdeps/wordsize-64/tst-writev.c: New file.
47409
474102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47411
47412 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47413 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47414 insns in _dl_start to prevent a TOC reference before relocs are
47415 resolved.
47416
474172011-02-15 Ulrich Drepper <drepper@gmail.com>
47418
47419 [BZ #12469]
47420 * Makeconfig: Remove RANLIB definition.
47421 * Makerules: Don't use RANLIB.
47422 * aclocal.m4: Remove ranlib test.
47423 * configure.in: No need to check for ranlib.
47424 * elf/rtld-Rules: Don't use RANLIB.
47425
474262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47427
47428 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47429 protection macro.
47430 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47431 inclusion protection macro.
47432
47433 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47434 SIGRTMIN and SIGRTMAX and print information in that case only when
47435 SIGRTMIN is defined.
47436
474372011-02-11 Jakub Jelinek <jakub@redhat.com>
47438
47439 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47440 arginfo fn returning -1.
47441
47442 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47443 and thousands string is zero terminated.
47444
474452011-02-03 Andreas Schwab <schwab@redhat.com>
47446
47447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47448 sysdeps/unix/sysv/linux/bits/socket.h.
47449
474502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47451
47452 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47453 (__CPU_COUNT): Remove old macros.
47454 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47455 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47456 (__CPU_ALLOC, __CPU_FREE): Add macros.
47457 (__sched_cpualloc, __sched_cpufree): Add declarations.
47458
474592011-02-05 Ulrich Drepper <drepper@gmail.com>
47460
47461 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47462 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47463 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47464 (readdhstai): Return value of addhstaiX call.
47465 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47466 (addgrbyX): Return value returned by cache_addgr.
47467 (readdgrbyname): Return value returned by addgrbyX.
47468 (readdgrbygid): Likewise.
47469 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47470 (addpwbyX): Return value returned by cache_addpw.
47471 (readdpwbyname): Return value returned by addhstbyX.
47472 (readdpwbyuid): Likewise.
47473 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47474 (addservbyX): Return value returned by cache_addserv.
47475 (readdservbyname): Return value returned by addservbyX:
47476 (readdservbyport): Likewise.
47477 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47478 (addhstbyX): Return value returned by cache_addhst.
47479 (readdhstbyname): Return value returned by addhstbyX.
47480 (readdhstbyaddr): Likewise.
47481 (readdhstbynamev6): Likewise.
47482 (readdhstbyaddrv6): Likewise.
47483 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47484 (readdinitgroups): Return value returned by addinitgroupsX.
47485 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47486 (prune_cache): Keep track of timeout value of re-added entries.
47487 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47488 * nscd/nscd.h: Adjust prototypes of readd* functions.
47489
474902011-02-04 Roland McGrath <roland@redhat.com>
47491
47492 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47493 (nis_stats): Likewise.
47494 * nis/nis_modify.c (nis_modify): Likewise.
47495 * nis/nis_remove.c (nis_remove): Likewise.
47496 * nis/nis_add.c (nis_add): Likewise.
47497
47498 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47499
47500 * posix/fnmatch_loop.c: Add some consts.
47501
47502 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47503
475042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47505
47506 [BZ #12460]
47507 * config.make.in (config-cflags-novzeroupper): Define.
47508 * configure.in: Substitute libc_cv_cc_novzeroupper.
47509 * elf/Makefile (AVX-CFLAGS): Define.
47510 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47511 (CFLAGS-tst-auditmod4a.c): Likewise.
47512 (CFLAGS-tst-auditmod4b.c): Likewise.
47513 (CFLAGS-tst-auditmod6b.c): Likewise.
47514 (CFLAGS-tst-auditmod6c.c): Likewise.
47515 (CFLAGS-tst-auditmod7b.c): Likewise.
47516 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47517
475182011-02-02 Ulrich Drepper <drepper@gmail.com>
47519
47520 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47521 function to the callback.
47522 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47523
475242011-02-02 Andreas Schwab <schwab@redhat.com>
47525
47526 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47527 of errno.
47528
475292011-01-19 Ulrich Drepper <drepper@gmail.com>
47530
47531 [BZ #11724]
47532 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47533 of constructors.
47534 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47535 of destructors.
47536 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47537
47538 [BZ #11724]
47539 * elf/Makefile: Add rules to build and run new test.
47540 * elf/tst-initorder.c: New file.
47541 * elf/tst-initorder.exp: New file.
47542 * elf/tst-initordera1.c: New file.
47543 * elf/tst-initordera2.c: New file.
47544 * elf/tst-initordera3.c: New file.
47545 * elf/tst-initordera4.c: New file.
47546 * elf/tst-initorderb1.c: New file.
47547 * elf/tst-initorderb2.c: New file.
47548 * elf/tst-order-a1.c: New file.
47549 * elf/tst-order-a2.c: New file.
47550 * elf/tst-order-a3.c: New file.
47551 * elf/tst-order-a4.c: New file.
47552 * elf/tst-order-b1.c: New file.
47553 * elf/tst-order-b2.c: New file.
47554 * elf/tst-order-main.c: New file.
47555 New test case by George Gensure <werkt0@gmail.com>.
47556
475572010-10-01 Andreas Schwab <schwab@redhat.com>
47558
47559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47560 decoding ACE if AI_CANONIDN.
47561
475622011-01-18 Ulrich Drepper <drepper@gmail.com>
47563
47564 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47565
475662011-01-17 Ulrich Drepper <drepper@gmail.com>
47567
47568 * version.h (RELEASE): Bump for 2.13 release.
47569 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47570
47571 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47572
47573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47574 MADV_NOHUGEPAGE.
47575 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47576 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47577 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47578 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47579 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47580 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47581
47582 * posix/getconf.c: Update copyright year.
47583 * catgets/gencat.c: Likewise.
47584 * csu/version.c: Likewise.
47585 * debug/catchsegv.sh: Likewise.
47586 * debug/xtrace.sh: Likewise.
47587 * elf/ldconfig.c: Likewise.
47588 * elf/ldd.bash.in: Likewise.
47589 * elf/sprof.c (print_version): Likewise.
47590 * iconv/iconv_prog.c: Likewise.
47591 * iconv/iconvconfig.c: Likewise.
47592 * locale/programs/locale.c: Likewise.
47593 * locale/programs/localedef.c: Likewise.
47594 * malloc/memusage.sh: Likewise.
47595 * malloc/mtrace.pl: Likewise.
47596 * nscd/nscd.c (print_version): Likewise.
47597 * nss/getent.c: Likewise.
47598
47599 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47600 PF_CAIF, and PF_ALG.
47601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47602
476032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47604
47605 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47606 (modules-names): Use them.
47607 (ifunc-test-modules, ifunc-pie-tests): Define.
47608 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47609 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47610 (test-extras): Likewise.
47611 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47612 $(compile-command.c).
47613 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47614 (all-built-dso): Define.
47615 (check-textrel.out, check-execstack.out): Depend on it.
47616
47617 * configure.in: Don't override --enable-multi-arch.
47618
476192011-01-15 Ulrich Drepper <drepper@gmail.com>
47620
47621 [BZ #6812]
47622 * nscd/hstcache.c (tryagain): Define.
47623 (cache_addhst): Return tryagain not notfound for temporary errors.
47624 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47625 failed.
47626
476272011-01-14 Ulrich Drepper <drepper@gmail.com>
47628
47629 [BZ #10563]
47630 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47631 to make the syscall.
47632 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47633
47634 [BZ #12378]
47635 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47636 and fall back to matching as normal character if the string ends before
47637 the matching ']' is found. This is what POSIX requires.
47638 * posix/testfnm.c: Adjust test result.
47639 * posix/globtest.sh: Adjust test result. Add new test.
47640 * posix/tst-fnmatch.input: Likewise.
47641 * posix/tst-fnmatch2.c: Add new test.
47642
476432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47644
47645 * elf/Makefile (check-execstack): Revert last change. Depend on
47646 check-execstack.h.
47647 (check-execstack.h): New target.
47648 (generated): Add check-execstack.h.
47649 * elf/check-execstack.c: Include "check-execstack.h".
47650 (main): Revert last change.
47651 (handle_file): Return zero if GNU_STACK is absent and
47652 DEFAULT_STACK_PERMS doesn't include PF_X.
47653
476542011-01-13 Ulrich Drepper <drepper@gmail.com>
47655
47656 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47657 in child fails because the descriptor is already closed.
47658 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47659 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47660 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47661
47662 [BZ #12397]
47663 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47664 syscall.
47665
47666 [BZ #10484]
47667 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47668 temporary buffer used to handle multi lookups locally.
47669 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47670
476712011-01-12 Ulrich Drepper <drepper@gmail.com>
47672
47673 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47674 loader is ld.so.
47675
476762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47677
47678 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47679 alignment for SSE2.
47680
476812011-01-12 Ulrich Drepper <drepper@gmail.com>
47682
47683 [BZ #12394]
47684 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47685 characters. When rounding increased number of integer digits recompute
47686 number of groups.
47687 * stdio-common/tst-grouping.c: New file.
47688 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47689
476902011-01-09 Ulrich Drepper <drepper@gmail.com>
47691
47692 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47693 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47694
47695 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47696 void.
47697 * bits/select.h: Likewise.
47698
476992011-01-08 Ulrich Drepper <drepper@gmail.com>
47700
47701 * po/ja.po: Update from translation team.
47702
477032011-01-04 David S. Miller <davem@sunset.davemloft.net>
47704
47705 [BZ #11155]
47706 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47707 implementation just like for lxstat, fxstatat, et al.
47708
477092010-12-27 Jim Meyering <meyering@redhat.com>
47710
47711 [BZ #12348]
47712 * posix/regexec.c (build_trtable): Return failure indication upon
47713 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47714
477152010-12-25 Ulrich Drepper <drepper@gmail.com>
47716
47717 [BZ #12201]
47718 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47719 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47720 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47721 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47722
47723 [BZ #12207]
47724 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47725
47726 [BZ #12204]
47727 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47728 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47729
477302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47731
47732 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47733 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47734 script has SORT_BY_INIT_PRIORITY.
47735 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47736 NO_CTORS_DTORS_SECTIONS is defined.
47737 * elf/soinit.c: Likewise.
47738 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47739 NO_CTORS_DTORS_SECTIONS is defined.
47740 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47741 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47742 * sysdeps/sh/init-first.c: Likewise.
47743 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47744
477452010-12-24 Ulrich Drepper <drepper@gmail.com>
47746
47747 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47748 always use the slow path.
47749
477502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47751
47752 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47753 similar rule which adds the sysdep directories to the header search in
47754 order to pick up the correct platform stackinfo.h.
47755 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47756 perform test if it is, otherwise return successfully without testing.
47757 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47758 DEFAULT_STACK_PERMS define in stackinfo.h.
47759 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47760 defined in stackinfo.h.
47761 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47762 DEFAULT_STACK_PERMS defined in stackinfo.h.
47763 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47764 * sysdeps/ia64/stackinfo.h: Likewise.
47765 * sysdeps/s390/stackinfo.h: Likewise.
47766 * sysdeps/sh/stackinfo.h: Likewise.
47767 * sysdeps/sparc/stackinfo.h: Likewise.
47768 * sysdeps/x86_64/stackinfo.h: Likewise.
47769 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47770 PF_X for powerpc64. Retain PF_X for powerpc32.
47771
477722010-12-19 Ulrich Drepper <drepper@gmail.com>
47773
47774 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47775 accurately.
47776 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47777 GETDENTS_64BIT_ALIGNED.
47778
477792010-12-14 Ulrich Drepper <dreper@gmail.com>
47780
47781 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47782
477832010-12-10 Andreas Schwab <schwab@redhat.com>
47784
47785 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47786 _GNU_SOURCE.
47787
47788 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47789 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47790 Remove __restrict.
47791 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47792 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47793
477942010-12-09 Ulrich Drepper <drepper@gmail.com>
47795
47796 [BZ #11655]
47797 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47798 are initialized.
47799
478002010-12-09 Jakub Jelinek <jakub@redhat.com>
47801
47802 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47803
478042010-12-03 Ulrich Drepper <drepper@gmail.com>
47805
47806 * po/it.po: Update from translation team.
47807
478082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47809
47810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47811 unused codes.
47812
478132010-11-30 Ulrich Drepper <drepper@gmail.com>
47814
47815 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47816
478172010-11-24 Andreas Schwab <schwab@redhat.com>
47818
47819 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47820 specially.
47821 (gaih_getanswer_slice): Likewise.
47822
478232010-10-20 Jakub Jelinek <jakub@redhat.com>
47824
47825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47826
478272010-05-31 Petr Baudis <pasky@suse.cz>
47828
47829 [BZ #11149]
47830 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47831 silently even in the chroot mode.
47832
478332010-11-22 Ulrich Drepper <drepper@gmail.com>
47834
47835 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47836 last patch a bit. Pretty printing
47837
478382010-05-31 Petr Baudis <pasky@suse.cz>
47839
47840 [BZ #10085]
47841 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47842 initialization of skip_initgroups_dyn.
47843
478442010-11-19 Ulrich Drepper <drepper@gmail.com>
47845
47846 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47847 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47848
478492010-11-16 Ulrich Drepper <drepper@gmail.com>
47850
47851 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47852
478532010-11-11 Andreas Schwab <schwab@redhat.com>
47854
47855 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47856 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47857 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47858 ($(objpfx)tst-fnmatch-mem): New rule.
47859 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47860 * posix/tst-fnmatch.c (main): Call mtrace.
47861
478622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47863
47864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47865 Support Intel processor model 6 and model 0x2c.
47866
478672010-11-10 Luis Machado <luisgpm@br.ibm.com>
47868
47869 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47870 signed comparison.
47871
478722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47873
47874 [BZ #12205]
47875 * string/test-strncasecmp.c (check_result): New function.
47876 (do_one_test): Use it.
47877 (check1): New function.
47878 (test_main): Use it.
47879 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47880 Support strcasecmp and strncasecmp.
47881
478822010-11-08 Ulrich Drepper <drepper@gmail.com>
47883
47884 [BZ #12194]
47885 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47886 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47887
478882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47889
47890 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47891 IFUNC support.
47892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47893 memset-x86-64.
47894 * sysdeps/x86_64/multiarch/bzero.S: New file.
47895 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47896 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47897 * sysdeps/x86_64/multiarch/memset.S: New file.
47898 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47900 Set bit_Prefer_SSE_for_memop for Intel processors.
47901 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47902 Define.
47903 (index_Prefer_SSE_for_memop): Define.
47904 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47905
479062010-11-04 Luis Machado <luisgpm@br.ibm.com>
47907
47908 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47909 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47910
479112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47912
47913 [BZ #12191]
47914 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47915 (__x86_64_raw_data_cache_size_half): Likewise.
47916 (__x86_64_raw_shared_cache_size): Likewise.
47917 (__x86_64_raw_shared_cache_size_half): Likewise.
47918
47919 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47920 (__x86_64_raw_data_cache_size_half): Likewise.
47921 (__x86_64_raw_shared_cache_size): Likewise.
47922 (__x86_64_raw_shared_cache_size_half): Likewise.
47923 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47924 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47925 and __x86_64_raw_shared_cache_size_half. Round
47926 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47927 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47928 to multiple of 256 bytes.
47929
479302010-11-03 Ulrich Drepper <drepper@gmail.com>
47931
47932 [BZ #12167]
47933 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47934 of inacessible symlinks. Verify result of symlink before returning it.
47935 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47936 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47937
479382010-10-28 Erich Ritz <erichritz@gmail.com>
47939
47940 * math/math.h (isinf): Fix typo in comment.
47941
479422010-11-01 Ulrich Drepper <drepper@gmail.com>
47943
47944 * po/da.po: Update from translation team.
47945
479462010-10-26 Ulrich Drepper <drepper@gmail.com>
47947
47948 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47949 is added to the list.
47950
479512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47952 Ulrich Drepper <drepper@gmail.com>
47953
47954 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47955 the global list here. Move code to...
47956 (_dl_add_to_namespace_list): ...here. New function.
47957 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47958 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47959 * elf/dl-load.c (lose): Don't remove the element from the list.
47960 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47961 (_dl_map_object): Likewise.
47962
479632010-10-25 Ulrich Drepper <drepper@gmail.com>
47964
47965 [BZ #12159]
47966 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47967 into all bytes of SSE register.
47968 Patch by Richard Li <richardpku@gmail.com>.
47969
479702010-10-24 Ulrich Drepper <drepper@gmail.com>
47971
47972 [BZ #12140]
47973 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47974 perturbing.
47975
479762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47977
47978 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47979 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47980 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47983 submachine.
47984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47985
479862010-10-22 Andreas Schwab <schwab@redhat.com>
47987
47988 * include/dlfcn.h (__RTLD_SECURE): Define.
47989 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47990 mode & __RTLD_SECURE instead.
47991 (open_path): Rename preloaded parameter to secure.
47992 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47993 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47994 * elf/dl-deps.c (openaux): Likewise.
47995 * elf/rtld.c (struct map_args): Remove is_preloaded.
47996 (map_doit): Don't use it.
47997 (dl_main): Likewise.
47998 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47999 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48000
480012010-09-09 Andreas Schwab <schwab@redhat.com>
48002
48003 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48004 (sysd-rules-targets): Remove duplicates.
48005 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48006 rtld-%.$o dependency.
48007
480082010-10-18 Andreas Schwab <schwab@redhat.com>
48009
48010 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48011 _dl_map_object do it.
48012
480132010-10-19 Ulrich Drepper <drepper@gmail.com>
48014
48015 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48016 fast fma builtins, define the macros in the C99 standard.
48017 (FP_FAST_FMAF): Likewise.
48018 (FP_FAST_FMAL): Likewise.
48019 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48020
48021 * bits/mathdef.h: Update copyright year.
48022 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48023
480242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48025
48026 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48027 builtins, define the macros in the C99 standard.
48028 (FP_FAST_FMAF): Likewise.
48029 (FP_FAST_FMAL): Likewise.
48030 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48031 multiply/add.
48032 (FP_FAST_FMAF): Likewise.
48033
480342010-10-15 Jakub Jelinek <jakub@redhat.com>
48035
48036 [BZ #3268]
48037 * math/libm-test.inc (fma_test): Some new testcases.
48038 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48039 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48040 y and infinite z. Do multiplication by C already in long double.
48041 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48043 y and infinite z. Do bitwise or of inexact bit into u.d.
48044 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48045 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48046 * sysdeps/i386/fpu/s_fma.S: Removed.
48047 * sysdeps/i386/fpu/s_fmal.S: Removed.
48048
480492010-10-16 Jakub Jelinek <jakub@redhat.com>
48050
48051 [BZ #3268]
48052 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48054 computation is not scheduled after fetestexcept. Fix value
48055 of minimum denormal long double.
48056
480572010-10-14 Jakub Jelinek <jakub@redhat.com>
48058
48059 [BZ #3268]
48060 * math/libm-test.inc (fma_test): Add some more tests.
48061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48062 correctly.
48063
480642010-10-15 Andreas Schwab <schwab@redhat.com>
48065
48066 * scripts/data/localplt-s390-linux-gnu.data: New file.
48067 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48068
480692010-10-13 Jakub Jelinek <jakub@redhat.com>
48070
48071 [BZ #3268]
48072 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48073 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48074 instead of dbl-64.
48075 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48076 inlines.
48077 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48079 if one of x and y is very large and the other is subnormal.
48080 * sysdeps/s390/fpu/s_fmaf.c: New file.
48081 * sysdeps/s390/fpu/s_fma.c: New file.
48082 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48083 * sysdeps/powerpc/fpu/s_fma.S: New file.
48084 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48085 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48086 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48087
480882010-10-12 Jakub Jelinek <jakub@redhat.com>
48089
48090 [BZ #3268]
48091 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48092 fma tests.
48093 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48094 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48095 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48096 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48097 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48098 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48099 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48100
481012010-10-12 Ulrich Drepper <drepper@redhat.com>
48102
48103 [BZ #12078]
48104 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48105 * posix/bug-regex31.input: Add test case.
48106
481072010-10-11 Ulrich Drepper <drepper@gmail.com>
48108
48109 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48110 * posix/bug-regex31.input: New file.
48111
48112 [BZ #12078]
48113 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48114 (parse_sub_exp): Fix last change, use postorder.
48115
48116 * posix/bug-regex31.c: New file.
48117 * posix/Makefile: Add rules to build and run bug-regex31.
48118
48119 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48120
48121 [BZ #12078]
48122 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48123
48124 [BZ #12108]
48125 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48126 to have entries in sys_siglist.
48127
48128 [BZ #12093]
48129 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48130 be NULL.
48131
481322010-10-07 Jakub Jelinek <jakub@redhat.com>
48133
48134 [BZ #3268]
48135 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48136 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48137 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48138 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48139 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48140 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48141 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48142 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48143 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48144 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48145 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48146 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48147 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48148 * math/ftestexcept.c (fetestexcept): Likewise.
48149 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48150 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48151 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48152 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48153 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48154 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48155 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48156
481572010-10-11 Ulrich Drepper <drepper@gmail.com>
48158
48159 [BZ #12107]
48160 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48161 newline.
48162
481632010-10-06 Ulrich Drepper <drepper@gmail.com>
48164
48165 * string/bug-strstr1.c: New file.
48166 * string/Makefile: Add rules to build and run bug-strstr1.
48167
481682010-10-05 Eric Blake <eblake@redhat.com>
48169
48170 [BZ #12092]
48171 * string/str-two-way.h (two_way_long_needle): Always clear memory
48172 when skipping input due to the shift table.
48173
481742010-10-03 Ulrich Drepper <drepper@gmail.com>
48175
48176 [BZ #12005]
48177 * malloc/mcheck.c: Handle large requests.
48178
48179 [BZ #12077]
48180 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48181 for strncmp and strncasecmp.
48182 * string/stratcliff.c: Add tests for strcmp and strncmp.
48183 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48184
481852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48186
48187 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48188 __set_fpscr.
48189
481902010-09-30 Andreas Jaeger <aj@suse.de>
48191
48192 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48193 (CGROUP_SUPER_MAGIC): Define.
48194 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48195 Handle btrfs and cgroup file systems.
48196 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48197 Likewise.
48198
481992010-09-27 Luis Machado <luisgpm@br.ibm.com>
48200
48201 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48202 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48203
482042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48205
48206 [BZ #12067]
48207 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48208 trying to locate the ELF header.
48209
482102010-09-27 Andreas Schwab <schwab@redhat.com>
48211
48212 [BZ #11611]
48213 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48214 Mask out sign-bit copies when constructing f_fsid.
48215
482162010-09-24 Petr Baudis <pasky@suse.cz>
48217
48218 * debug/stack_chk_fail_local.c: Add missing licence exception.
48219 * debug/warning-nop.c: Likewise.
48220
482212010-09-15 Joseph Myers <joseph@codesourcery.com>
48222
48223 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48224 implementing getdents64 using getdents syscall, set d_type if
48225 __ASSUME_GETDENTS32_D_TYPE.
48226
482272010-09-16 Andreas Schwab <schwab@redhat.com>
48228
48229 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48230 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48231
482322010-09-21 Ulrich Drepper <drepper@redhat.com>
48233
48234 [BZ #12037]
48235 * posix/unistd.h: Undo change of feature selection for ftruncate from
48236 2010-01-11.
48237
482382010-09-20 Ulrich Drepper <drepper@redhat.com>
48239
48240 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48241 detection.
48242
482432010-09-20 Andreas Schwab <schwab@redhat.com>
48244
48245 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48246 fanotify_mark.
48247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48248
482492010-09-14 Andreas Schwab <schwab@redhat.com>
48250
48251 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48252 variables after CHECK_SP call.
48253 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48254
482552010-09-13 Andreas Schwab <schwab@redhat.com>
48256 Ulrich Drepper <drepper@redhat.com>
48257
48258 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48259 re-relocationg ld.so.
48260 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48261 _dl_init_paths call.
48262 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48263 here anymore.
48264
482652010-09-14 Ulrich Drepper <drepper@redhat.com>
48266
48267 * resolv/res_init.c (__res_vinit): Count the default server we added.
48268
482692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48270 Ulrich Drepper <drepper@redhat.com>
48271
48272 [BZ #11968]
48273 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48274 (____longjmp_chk): Use %ebx for saving value across system call.
48275 Add unwind info.
48276
482772010-09-06 Andreas Schwab <schwab@redhat.com>
48278
48279 * manual/Makefile: Don't mix pattern rules with normal rules.
48280
482812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48282
48283 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48284 operation.
48285 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48286 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48287 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48288 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48290 Likewise.
48291
482922010-09-04 Ulrich Drepper <drepper@redhat.com>
48293
48294 [BZ #11979]
48295 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48296 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48297
482982010-09-02 Ulrich Drepper <drepper@redhat.com>
48299
48300 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48301 * sysdeps/x86_64/addmul_1.S: Likewise.
48302 * sysdeps/x86_64/lshift.S: Likewise.
48303 * sysdeps/x86_64/mul_1.S: Likewise.
48304 * sysdeps/x86_64/rshift.S: Likewise.
48305 * sysdeps/x86_64/sub_n.S: Likewise.
48306 * sysdeps/x86_64/submul_1.S: Likewise.
48307
483082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48309
48310 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48311 Define __sched_param instead of SCHED_* and sched_param when
48312 <bits/sched.h> is included with __need_schedparam defined.
48313 * bits/sched.h [__need_schedparam]
48314 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48315 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48316 (__defined_schedparam): Define to 1.
48317 (__sched_param): New structure, identical to sched_param.
48318 (__need_schedparam): Undefine.
48319
483202010-08-31 Mike Frysinger <vapier@gentoo.org>
48321
48322 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48323 (epoll_create1): Declare.
48324
48325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48326
483272010-08-31 Andreas Schwab <schwab@redhat.com>
48328
48329 [BZ #7066]
48330 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48331 shifting retval into place.
48332
483332010-09-01 Ulrich Drepper <drepper@redhat.com>
48334
48335 * nis/rpcsvc/nis.h: Update copyright notice.
48336 * nis/rpcsvc/nis.x: Likewise.
48337 * nis/rpcsvc/nis_callback.h: Likewise.
48338 * nis/rpcsvc/nis_callback.x: Likewise.
48339 * nis/rpcsvc/nis_object.x: Likewise.
48340 * nis/rpcsvc/nis_tags.h: Likewise.
48341 * nis/rpcsvc/yp.h: Likewise.
48342 * nis/rpcsvc/yp.x: Likewise.
48343 * nis/rpcsvc/ypupd.h: Likewise.
48344 * nis/yp_xdr.c: Likewise.
48345 * nis/ypupdate_xdr.c: Likewise.
48346
48347 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48348 mainly the body of pmap_getport. Add parameters to specify timeouts.
48349 (pmap_getport): Use __libc_rpc_getport.
48350 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48351 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48352 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48353
483542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48355
48356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48357 fanotify_mark.
48358
483592010-08-27 Roland McGrath <roland@redhat.com>
48360
48361 * sysdeps/i386/i686/multiarch/Makefile
48362 (CFLAGS-varshift.c): New variable.
48363
483642010-08-27 Ulrich Drepper <drepper@redhat.com>
48365
48366 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48367 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48368
48369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48370
48371 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48372
483732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48374
48375 * sysdeps/x86_64/strlen.S: Unroll the loop.
48376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48377 strlen-sse2 strlen-sse2-bsf.
48378 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48379 __strlen_no_bsf if bit_Slow_BSF is set.
48380 (__strlen_sse42): Removed.
48381 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48382 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48383
483842010-08-25 Roland McGrath <roland@redhat.com>
48385
48386 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48387 * sysdeps/x86_64/multiarch/varshift.c: New file.
48388 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48389 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48390 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48391 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48392
483932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48394
48395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48396 strlen-sse2 strlen-sse2-bsf.
48397 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48398 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48399 (__strlen_sse2): Removed.
48400 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48401 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48403 bit_Slow_BSF for Atom.
48404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48405 (index_Slow_BSF): Define.
48406 (HAS_SLOW_BSF): Define.
48407
484082010-08-25 Ulrich Drepper <drepper@redhat.com>
48409
48410 [BZ #10851]
48411 * resolv/res_init.c (__res_vinit): When no server address at all
48412 is given default to loopback.
48413
484142010-08-24 Roland McGrath <roland@redhat.com>
48415
48416 * configure.in: Remove config-name.h generation.
48417 * configure: Regenerated.
48418 * config-name.in: File removed.
48419 * scripts/config-uname.sh: New file.
48420 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48421 ($(objdir)config-name.h): New target.
48422
48423 * sunrpc/rpc_parse.h: Avoid nested comment.
48424
484252010-08-24 Richard Henderson <rth@redhat.com>
48426 Ulrich Drepper <drepper@redhat.com>
48427 H.J. Lu <hongjiu.lu@intel.com>
48428
48429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48431 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48432 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48433 _mm_alignr_epi8 with _mm_loadu_si128.
48434 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48435 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48436 (__m128i_shift_right): Removed.
48437 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48438 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48439 * sysdeps/x86_64/multiarch/varshift.h: New file.
48440 * sysdeps/x86_64/multiarch/varshift.S: New file.
48441
484422010-08-21 Mike Frysinger <vapier@gentoo.org>
48443
48444 * configure.in: Move assembler checks to before sysdep dir checking.
48445
484462010-08-20 Petr Baudis <pasky@suse.cz>
48447
48448 * LICENSES: Sync the sunrpc license.
48449
484502010-08-19 Ulrich Drepper <drepper@redhat.com>
48451
48452 * sunrpc/auth_des.c: Update copyright notice once again.
48453 * sunrpc/auth_none.c: Likewise.
48454 * sunrpc/auth_unix.c: Likewise.
48455 * sunrpc/authdes_prot.c: Likewise.
48456 * sunrpc/authuxprot.c: Likewise.
48457 * sunrpc/bindrsvprt.c: Likewise.
48458 * sunrpc/clnt_gen.c: Likewise.
48459 * sunrpc/clnt_perr.c: Likewise.
48460 * sunrpc/clnt_raw.c: Likewise.
48461 * sunrpc/clnt_simp.c: Likewise.
48462 * sunrpc/clnt_tcp.c: Likewise.
48463 * sunrpc/clnt_udp.c: Likewise.
48464 * sunrpc/clnt_unix.c: Likewise.
48465 * sunrpc/des_crypt.c: Likewise.
48466 * sunrpc/des_soft.c: Likewise.
48467 * sunrpc/get_myaddr.c: Likewise.
48468 * sunrpc/getrpcport.c: Likewise.
48469 * sunrpc/key_call.c: Likewise.
48470 * sunrpc/key_prot.c: Likewise.
48471 * sunrpc/openchild.c: Likewise.
48472 * sunrpc/pm_getmaps.c: Likewise.
48473 * sunrpc/pm_getport.c: Likewise.
48474 * sunrpc/pmap_clnt.c: Likewise.
48475 * sunrpc/pmap_prot.c: Likewise.
48476 * sunrpc/pmap_prot2.c: Likewise.
48477 * sunrpc/pmap_rmt.c: Likewise.
48478 * sunrpc/rpc/auth.h: Likewise.
48479 * sunrpc/rpc/auth_unix.h: Likewise.
48480 * sunrpc/rpc/clnt.h: Likewise.
48481 * sunrpc/rpc/des_crypt.h: Likewise.
48482 * sunrpc/rpc/key_prot.h: Likewise.
48483 * sunrpc/rpc/netdb.h: Likewise.
48484 * sunrpc/rpc/pmap_clnt.h: Likewise.
48485 * sunrpc/rpc/pmap_prot.h: Likewise.
48486 * sunrpc/rpc/pmap_rmt.h: Likewise.
48487 * sunrpc/rpc/rpc.h: Likewise.
48488 * sunrpc/rpc/rpc_des.h: Likewise.
48489 * sunrpc/rpc/rpc_msg.h: Likewise.
48490 * sunrpc/rpc/svc.h: Likewise.
48491 * sunrpc/rpc/svc_auth.h: Likewise.
48492 * sunrpc/rpc/types.h: Likewise.
48493 * sunrpc/rpc/xdr.h: Likewise.
48494 * sunrpc/rpc_clntout.c: Likewise.
48495 * sunrpc/rpc_cmsg.c: Likewise.
48496 * sunrpc/rpc_common.c: Likewise.
48497 * sunrpc/rpc_cout.c: Likewise.
48498 * sunrpc/rpc_dtable.c: Likewise.
48499 * sunrpc/rpc_hout.c: Likewise.
48500 * sunrpc/rpc_main.c: Likewise.
48501 * sunrpc/rpc_parse.c: Likewise.
48502 * sunrpc/rpc_parse.h: Likewise.
48503 * sunrpc/rpc_prot.c: Likewise.
48504 * sunrpc/rpc_sample.c: Likewise.
48505 * sunrpc/rpc_scan.c: Likewise.
48506 * sunrpc/rpc_scan.h: Likewise.
48507 * sunrpc/rpc_svcout.c: Likewise.
48508 * sunrpc/rpc_tblout.c: Likewise.
48509 * sunrpc/rpc_util.c: Likewise.
48510 * sunrpc/rpc_util.h: Likewise.
48511 * sunrpc/rpcinfo.c: Likewise.
48512 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48513 * sunrpc/rpcsvc/key_prot.x: Likewise.
48514 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48515 * sunrpc/rpcsvc/mount.x: Likewise.
48516 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48517 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48518 * sunrpc/rpcsvc/rex.x: Likewise.
48519 * sunrpc/rpcsvc/rstat.x: Likewise.
48520 * sunrpc/rpcsvc/rusers.x: Likewise.
48521 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48522 * sunrpc/rpcsvc/spray.x: Likewise.
48523 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48524 * sunrpc/rtime.c: Likewise.
48525 * sunrpc/svc.c: Likewise.
48526 * sunrpc/svc_auth.c: Likewise.
48527 * sunrpc/svc_authux.c: Likewise.
48528 * sunrpc/svc_raw.c: Likewise.
48529 * sunrpc/svc_run.c: Likewise.
48530 * sunrpc/svc_simple.c: Likewise.
48531 * sunrpc/svc_tcp.c: Likewise.
48532 * sunrpc/svc_udp.c: Likewise.
48533 * sunrpc/svc_unix.c: Likewise.
48534 * sunrpc/svcauth_des.c: Likewise.
48535 * sunrpc/xcrypt.c: Likewise.
48536 * sunrpc/xdr.c: Likewise.
48537 * sunrpc/xdr_array.c: Likewise.
48538 * sunrpc/xdr_float.c: Likewise.
48539 * sunrpc/xdr_mem.c: Likewise.
48540 * sunrpc/xdr_rec.c: Likewise.
48541 * sunrpc/xdr_ref.c: Likewise.
48542 * sunrpc/xdr_sizeof.c: Likewise.
48543 * sunrpc/xdr_stdio.c: Likewise.
48544
48545 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48546 handling.
48547
485482010-08-19 Andreas Schwab <schwab@redhat.com>
48549
48550 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48551
485522010-08-19 Luis Machado <luisgpm@br.ibm.com>
48553
48554 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48555 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48556 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48557 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48558 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48559 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48560 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48561 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48562 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48563 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48564 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48565 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48566 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48567 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48568
485692010-07-26 Anton Blanchard <anton@samba.org>
48570
48571 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48572 * malloc/arena.c (heap_trim): Likewise.
48573
485742010-08-16 Ulrich Drepper <drepper@redhat.com>
48575
48576 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48577 here. Not...
48578 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48579 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48580
485812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48582
48583 * sysdeps/i386/elf/Makefile: New file.
48584
485852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48586
48587 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48588 from fanotify_init.
48589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48591
485922010-08-15 Ulrich Drepper <drepper@redhat.com>
48593
48594 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48595 of strncasecmp_l.
48596 * sysdeps/multiarch/strcmp.S: Likewise.
48597
485982010-08-14 Ulrich Drepper <drepper@redhat.com>
48599
48600 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48601 strncase_l-nonascii.
48602 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48603 Add strncase_l-ssse3.
48604 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48605 * sysdeps/x86_64/strcmp.S: Likewise.
48606 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48607 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48608 * sysdeps/x86_64/strncase.S: New file.
48609 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48610 * sysdeps/x86_64/strncase_l.S: New file.
48611 * string/Makefile (strop-tests): Add strncasecmp.
48612 * string/test-strncasecmp.c: New file.
48613
48614 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48615 warning.
48616
48617 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48618 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48619
486202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48621
48622 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48623
486242010-08-12 Ulrich Drepper <drepper@redhat.com>
48625
48626 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48627 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48628 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48629
486302010-05-01 Alan Modra <amodra@gmail.com>
48631
48632 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48633 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48634 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48635 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48636 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48637 tidying. Don't tail-call __sigjmp_save for static lib.
48638 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48639 save location.
48640 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48641 (CALL_MCOUNT): Add eh info, and nop after bl.
48642 (TAIL_CALL_SYSCALL_ERROR): New macro.
48643 (PSEUDO_RET): Use it.
48644 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48645 Correct save location of integer regs and cr.
48646 (_dl_profile_resolve): Correct cr save location. Delete nops
48647 after bl when SHARED. Reduce cfi size a little by better
48648 placement of cfi directives.
48649 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48650 make a stack frame. Instead use parm save area as a temp.
48651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48652 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48654 Don't make a stack frame for parent, use parm save area.
48655 Increase child stack frame to 112 bytes. Don't save unused reg,
48656 and adjust reg usage. Set up cfi on error recovery and
48657 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48659 (__makecontext): Add dummy nop after jump to exit.
48660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48661 Use correct parm save area and cr save, reduce stack frame.
48662 Correct cfi for possible PSEUDO_RET frame setup.
48663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48664 Branch to local label emitted by PSEUDO_RET rather than
48665 __syscall_error.
48666
486672010-08-12 Andreas Schwab <schwab@redhat.com>
48668
48669 [BZ #11904]
48670 * locale/programs/locale.c (print_assignment): New function.
48671 (show_locale_vars): Use it.
48672
486732010-08-11 Ulrich Drepper <drepper@redhat.com>
48674
48675 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48676 field.
48677 (struct statfs64): Likewise.
48678 (_STATFS_F_FLAGS): Define.
48679 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48680 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48681 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48682 (ST_VALID): Define locally.
48683 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48684 __statvfs_getflags, use the provided value.
48685 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48686 __ASSUME_STATFS_F_FLAGS.
48687
48688 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48689
48690 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48691 Add sys/fanotify.h.
48692 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48693 fanotify_mask for GLIBC_2.13.
48694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48695 fanotify_init and fanotify_mark.
48696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48697 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48698
48699 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48700 Add prlimit.
48701 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48702 prlimit64 for GLIBC_2.13.
48703 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48704 prlimit64.
48705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48706 syscall.
48707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48708 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48709 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48710 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48711 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48712 add prlimit alias.
48713 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48714
48715 [BZ #11903]
48716 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48717 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48718
48719 * nss/Makefile: Add rules to build and run tst-nss-test1.
48720 * shlib-versions: Add entry for libnss_test1.
48721 * nss/nss_test1.c: New file.
48722 * nss/tst-nss-test1.c: New file.
48723
48724 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48725 (__nss_configure_lookup): Set appropriate entry in
48726 __nss_configure_lookup to true.
48727 * nss/nsswitch.h: Define enum with indeces of databases in
48728 databases and __nss_database_custom arrays. Declare
48729 __nss_database_custom.
48730 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48731 to avoid using nscd when custom rules are installed.
48732 * nss/getXXbyYY_r.c: Likewise.
48733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48734
48735 * nss/nss_files/files-parse.c: Whitespace fixes.
48736
487372010-08-09 Ulrich Drepper <drepper@redhat.com>
48738
48739 [BZ #11883]
48740 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48741 * posix/fnmatch_loop.c: Likewise.
48742
487432010-07-17 Andi Kleen <ak@linux.intel.com>
48744
48745 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48746 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48747 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48748 * Versions.def [GLIBC_2.13]: Add.
48749
487502010-08-06 Ulrich Drepper <drepper@redhat.com>
48751
48752 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48753 Also fail if tpwd after pwuid call is NULL.
48754
487552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48756
48757 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48758 when converting to ms.
48759
487602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48761
48762 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48763 EOPNOTSUPP errors with ENOTTY.
48764 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48765 EOPNOTSUPP errors with ENOTTY.
48766
487672010-07-31 Ulrich Drepper <drepper@redhat.com>
48768
48769 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48770 Add strcasecmp_l-ssse3.
48771 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48772 strcasecmp.
48773 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48774 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48775 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48776
487772010-07-30 Ulrich Drepper <drepper@redhat.com>
48778
48779 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48780
48781 * string/Makefile (strop-tests): Add strcasecmp.
48782 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48783 strcasecmp_l-nonascii.
48784 (gen-as-const-headers): Add locale-defines.sym.
48785 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48786 * sysdeps/x86_64/strcasecmp.S: New file.
48787 * sysdeps/x86_64/strcasecmp_l.S: New file.
48788 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48789 * sysdeps/x86_64/locale-defines.sym: New file.
48790 * string/test-strcasecmp.c: New file.
48791
48792 * string/test-strcasestr.c: Test both ends of the range of characters.
48793 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48794
487952010-07-29 Roland McGrath <roland@redhat.com>
48796
48797 [BZ #11856]
48798 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48799
488002010-07-27 Ulrich Drepper <drepper@redhat.com>
48801
48802 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48803 for ld.so.
48804
488052010-07-27 Andreas Schwab <schwab@redhat.com>
48806
48807 * manual/memory.texi (Malloc Tunable Parameters): Document
48808 M_PERTURB.
48809
488102010-07-26 Roland McGrath <roland@redhat.com>
48811
48812 [BZ #11840]
48813 * configure.in (-fgnu89-inline check): Set and substitute
48814 gnu89_inline, not libc_cv_gnu89_inline.
48815 * configure: Regenerated.
48816 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48817
488182010-07-26 Ulrich Drepper <drepper@redhat.com>
48819
48820 * string/test-strnlen.c: New file.
48821 * string/Makefile (strop-tests): Add strnlen.
48822 * string/tester.c (test_strnlen): Add a few more test cases.
48823 * string/tst-strlen.c: Better error reporting.
48824
48825 * sysdeps/x86_64/strnlen.S: New file.
48826
488272010-07-24 Ulrich Drepper <drepper@redhat.com>
48828
48829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48830 lower-latency instructions.
48831
488322010-07-23 Ulrich Drepper <drepper@redhat.com>
48833
48834 * string/test-strcasestr.c: New file.
48835 * string/test-strstr.c: New file.
48836 * string/Makefile (strop-tests): Add strstr and strcasestr.
48837 * string/str-two-way.h: Don't undefine MAX.
48838 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48839
488402010-07-21 Andreas Schwab <schwab@redhat.com>
48841
48842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48843 strcasestr-nonascii.
48844 (CFLAGS-strcasestr-nonascii.c): Define.
48845 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48847 Remove unused attribute.
48848
488492010-07-20 Roland McGrath <roland@redhat.com>
48850
48851 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48852 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48853 ld.so.cache was broken. With it, there is no way to disable dsocaps
48854 like LD_HWCAP_MASK can disable hwcaps.
48855
488562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48857
48858 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48859
488602010-07-16 Ulrich Drepper <drepper@redhat.com>
48861
48862 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48863 call in strcasestr.
48864 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48865 __strcasestr_sse42_nonascii.
48866 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48867 strcasestr-nonascii.c.
48868 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48869
488702010-06-15 Luis Machado <luisgpm@br.ibm.com>
48871
48872 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48874 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48875 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48876
488772010-07-09 Ulrich Drepper <drepper@redhat.com>
48878
48879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48880 fcntl.
48881
488822010-07-06 Andreas Schwab <schwab@redhat.com>
48883
48884 [BZ #11577]
48885 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48886 dl_signal_cerror.
48887
488882010-07-06 Ulrich Drepper <drepper@redhat.com>
48889
48890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48891 _PC_PIPE_BUF using F_GETPIPE_SZ.
48892
488932010-07-05 Roland McGrath <roland@redhat.com>
48894
48895 * manual/arith.texi (Rounding Functions): Fix rint description
48896 implicit in round description.
48897
488982010-07-02 Ulrich Drepper <drepper@redhat.com>
48899
48900 * elf/Makefile: Fix linking for a few tests to make recent linker
48901 happy.
48902
489032010-06-30 Andreas Schwab <schwab@redhat.com>
48904
48905 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48906 $(common-objpfx)libc_nonshared.a.
48907
489082010-06-21 Luis Machado <luisgpm@br.ibm.com>
48909
48910 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48911 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48912 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48913 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48914 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48915 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48916 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48917 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48932 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48933 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48934 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48935 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48936 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48937 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48938 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48939 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48940 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48941 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48942 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48943 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48958
489592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48960
48961 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48962 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48963 * string/memmove.c (memmove): Renamed to ...
48964 (MEMMOVE): ...this. Default to memmove.
48965 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48966 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48967 (END_CHK): Define.
48968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48969 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48970 mempcpy-ssse3-back memmove-ssse3-back.
48971 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48972 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48973 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48974 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48975 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48976 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48977 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48978 * sysdeps/x86_64/multiarch/memmove.c: New file.
48979 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48980 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48981 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48982 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48983 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48984 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48985 Define.
48986 (index_Fast_Copy_Backward): Define.
48987 (HAS_ARCH_FEATURE): Define.
48988 (HAS_FAST_REP_STRING): Define.
48989 (HAS_FAST_COPY_BACKWARD): Define.
48990
489912010-06-21 Andreas Schwab <schwab@redhat.com>
48992
48993 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48994 Restore proper fallback handling.
48995
489962010-06-19 Ulrich Drepper <drepper@redhat.com>
48997
48998 [BZ #11701]
48999 * posix/group_member.c (__group_member): Correct checking loop.
49000
49001 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49002 OOM in getpwuid_r correctly. Return error number when the caller
49003 should return, otherwise -1.
49004 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49005 call returning > 0 value.
49006 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49007
490082010-06-07 Andreas Schwab <schwab@redhat.com>
49009
49010 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49011 libc_nonshared.a from targets in modules-names.
49012
490132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49014
49015 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49016 requires it.
49017
490182010-06-10 Luis Machado <luisgpm@br.ibm.com>
49019
49020 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49021 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49022 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49023 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49024
490252010-06-02 Andreas Schwab <schwab@redhat.com>
49026
49027 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49028
490292010-06-14 Ulrich Drepper <drepper@redhat.com>
49030
49031 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49032 and F_GETPIPE_SZ.
49033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49034 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49038 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49039
490402010-06-14 Roland McGrath <roland@redhat.com>
49041
49042 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49043
490442010-06-07 Jakub Jelinek <jakub@redhat.com>
49045
49046 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49047 __REDIRECT followed by __THROW.
49048 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49049 * posix/getopt.h (getopt): Likewise.
49050
490512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49052
49053 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49054 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49055 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49056 in AT_FLAGS.
49057 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49058 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49059
490602010-05-28 Luis Machado <luisgpm@br.ibm.com>
49061
49062 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49063
490642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49065
49066 [BZ #11640]
49067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49068 Properly check family and model.
49069
490702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49071
49072 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49073
490742010-05-24 Luis Machado <luisgpm@br.ibm.com>
49075
49076 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49077
490782010-05-21 Ulrich Drepper <drepper@redhat.com>
49079
49080 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49081 symbol reference.
49082
490832010-05-19 Andreas Schwab <schwab@redhat.com>
49084
49085 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49086 symbol reference.
49087
490882010-05-21 Andreas Schwab <schwab@redhat.com>
49089
49090 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49091 and internal_recvmmsg.
49092 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49093 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49094 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49095 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49096
49097 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49098 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49099 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49100
491012010-05-20 Andreas Schwab <schwab@redhat.com>
49102
49103 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49104
491052010-05-17 Luis Machado <luisgpm@br.ibm.com>
49106
49107 POWER7 optimizations.
49108 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49109 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49110
491112010-05-19 Ulrich Drepper <drepper@redhat.com>
49112
49113 * version.h: Update for 2.13 development version.
49114
491152010-05-12 Andrew Stubbs <ams@codesourcery.com>
49116
49117 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49118 exceptions. Return 0.
49119
491202010-05-07 Roland McGrath <roland@redhat.com>
49121
49122 * elf/ldconfig.c (main): Add a const.
49123
491242010-05-06 Ulrich Drepper <drepper@redhat.com>
49125
49126 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49127 (args_options): Add no-idn option.
49128 (ahosts_keys_int): Add idn_flags to ai_flags.
49129 (parse_option): Handle 'i' option to clear idn_flags.
49130
49131 * malloc/malloc.c (_int_free): Possible race in the most recently
49132 added check. Only act on the data if no current modification
49133 happened.
49134
49135See ChangeLog.17 for earlier changes.