]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
malloc: fix comment typo
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bb2ce416
SA
12014-08-12 Sean Anderson <seanga2@gmail.com>
2
3 * malloc/malloc.c: Fix typo in comment.
4
7950a4ee
AM
52014-08-09 Allan McRae <allan@archlinux.org>
6
7 * Regenerate libc.po.
8
f469c49f
MF
92014-08-08 Mike Frysinger <vapier@gentoo.org>
10
11 * intl/tst-gettext2.sh: Check every lang file for creation.
12
656b84c2
WD
132014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
14
15 * sysdeps/aarch64/fpu/math_private.h
16 (libc_feholdsetround_noex_aarch64_ctx): New function.
17
538e9e45
W
182014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
19
20 * sysdeps/arm/armv6/strcpy.S (strcpy):
21 Fix performance issue in misaligned cases.
22
d4795e4a
AZ
232014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24
25 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26 Move definition from termios.h.
27 (struct termio): Likewise.
28 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32 Likewise.
33 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
34 Move definition to ioctl-types.h
35 (struct termio): Likewise.
36 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40 Likewise.
41
64accb62
RH
422014-08-05 Richard Henderson <rth@redhat.com>
43
27bb6dc0
RH
44 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45 exceptions.
46 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
47 Add fraiseexcpt.
48 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
49 Use __feraiseexcept.
50 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
51 Protect libm symbols with IS_IN_libm.
52
64accb62
RH
53 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
54
e5292691
BO
552014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
56
57 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
58
5b4bd2d4
WN
592014-08-04 Will Newton <will.newton@linaro.org>
60
61 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
62 file.
63
fcadaeef
MF
642014-08-04 Mike Frysinger <vapier@gentoo.org>
65
66 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
67 variants for each function.
68
43a94c64
RM
692014-08-04 Roland McGrath <roland@hack.frob.com>
70
71 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
72 appended ...
73 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
74 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
75 appended ...
76 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
77 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
78 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
79 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
80 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
81 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
82 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
83 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
84 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
85 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
86 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
87 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
88 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
89 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
91 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
93 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
95 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
97 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
99 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
101 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
103 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
104 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
105 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
106 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
107 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
108 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
109 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
110 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
111 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
112 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
113 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
114 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
115 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
116 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
117 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
118 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
119 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
120 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
121 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
122 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
123 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
124 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
125 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
126 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
127 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
128 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
129 Update #include.
130 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
131 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
132
8f3c1fa4
RM
1332014-08-04 Roland McGrath <roland@hack.frob.com>
134
135 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
136 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
137 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
138 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
139 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
140 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
141
ca08746f
RM
1422014-08-04 Roland McGrath <roland@hack.frob.com>
143
144 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
145 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
146 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
147 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
148
9c925ff9
RM
1492014-08-04 Roland McGrath <roland@hack.frob.com>
150
151 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
152 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
153 (__libc_vfork): Define function under this name.
154 (__vfork): Define as an alias.
155 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
156 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
157
e641054c
RM
1582014-08-04 Roland McGrath <roland@hack.frob.com>
159
160 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
161 that was previously under [RESET_PID].
162 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
163
dacdc867
AS
1642014-08-04 Andreas Schwab <schwab@suse.de>
165
166 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
167
41f725ff
MF
1682014-08-03 Mike Frysinger <vapier@gentoo.org>
169
170 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
171 (main): Likewise.
172
277cfb31
RM
1732014-08-01 Roland McGrath <roland@hack.frob.com>
174
175 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
176
4896f049
RH
1772014-08-01 Richard Henderon <rth@redhat.com>
178
179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
180 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
181 typo in exact zero test.
182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
183 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
185
6f64e7d7
RM
1862014-08-01 Roland McGrath <roland@hack.frob.com>
187
188 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
189 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
190 * sysdeps/arm/sysdep.h: ... here.
191 [!__ASSEMBLER__]: Include <stdint.h>.
192
3f3dd810
SP
1932014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
194
a476ac4b
SP
195 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
196 (HAVE_WCTYPE_H): Likewise.
197 (HAVE_ISWCTYPE): Likewise.
198 (ENABLE_NLS): Likewise.
199 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
200 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
201
78dd658a
SP
202 * posix/regex_internal.c: Check if DEBUG is defined and is
203 set.
204
3f3dd810
SP
205 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
206 (HAVE_MBSRTOWCS): Likewise.
207 * posix/fnmatch.c: Include string.h unconditionally.
208
95ee7fb1
SL
2092014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
210
211 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
212 reversal.
213
23fe486b
RM
2142014-07-31 Roland McGrath <roland@hack.frob.com>
215
f61a113f
RM
216 * sysdeps/generic/safe-fatal.h: New file.
217 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
218 * nptl/forward.c: Include it.
219 (__pthread_unwind): Use __safe_fatal as default action, rather
220 than a bogus use of INTERNAL_SYSCALL that could never work.
221
9fe7e787
RM
222 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
223 * configure.ac (libc_cv_builtin_trap): New test.
224 * configure: Regenerated.
225 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
226 (ABORT_INSTRUCTION): Define using __builtin_trap.
227
23fe486b
RM
228 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
229 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
230 * sysdeps/nptl/nptl-signals.h: New file.
231 * nptl/pthreadP.h: Include <nptl-signals.h>.
232
f349489e
SL
2332014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
234
235 * sysdeps/s390/s390-64/utf16-utf32-z9.c
236 (ONE_DIRECTION): Define.
237 * sysdeps/s390/s390-64/utf8-utf16-z9.c
238 (ONE_DIRECTION): Define.
239 * sysdeps/s390/s390-64/utf8-utf32-z9.c
240 (ONE_DIRECTION): Define.
241
2f438e20
SL
2422014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
243
244 * sysdeps/s390/Makefile: Delete file.
245 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
246 * sysdeps/s390/__longjmp.c: Delete file.
247 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
248 Remove fields __flags and __reserved.
249 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
250 and add versioning.
251 * sysdeps/s390/rtld-__longjmp.c: Delete file.
252 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
253 * sysdeps/s390/rtld-setjmp.S: Likewise.
254 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
255 * sysdeps/s390/s390-32/__longjmp.c: ... here.
256 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
257 * sysdeps/s390/s390-32/setjmp.S: ... here.
258 Add versioning.
259 (__sigsetjmp): Remove setting __flags field.
260 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
261 * sysdeps/s390/s390-64/__longjmp.c: ... here.
262 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
263 * sysdeps/s390/s390-64/setjmp.S: ... here.
264 Add versioning.
265 (__sigsetjmp): Remove setting __flags field.
266 * sysdeps/s390/setjmp.S: Delete file.
267 * sysdeps/s390/sigjmp.c: Likewise.
268 * sysdeps/s390/v1-longjmp.c: Likewise.
269 * sysdeps/s390/v1-setjmp.h: Likewise.
270 * sysdeps/s390/v1-sigjmp.c: Likewise.
271 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
272 Remove v1-longjmp_chk.
273 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
274 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
275 Include debug/longjmp_chk.c and add versioning.
276 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
277 Include nptl/pt-longjmp.c and add versioning.
278 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
279 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
280 Include __longjmp.c.
281 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
282 Move to ...
283 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
284 (__getcontext): Remove setting __flags field.
285 Add versioning.
286 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
287 Don't restore upper high grps.
288 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
289 Likewise.
290 (__swapcontext): Remove setting uc_flags field.
291 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
292 Delete file.
293 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
294 Include __longjmp.c.
295 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
296 Move to ...
297 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
298 (__getcontext): Remove setting __flags field.
299 Add versioning.
300 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
301 (__swapcontext): Remove setting uc_flags field.
302 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
303 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
304 Remove fields uc_high_gprs and __reserved.
305 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
306 New file with reverted content.
307 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
308 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
309 Regenerated.
310 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
311 Regenerated.
312
6c9578a2
AS
3132014-07-31 Andreas Schwab <schwab@suse.de>
314
315 * config.h.in (HAVE_IFUNC): Define to 0.
316 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
317 definedness.
318
05f3633d
LM
3192014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
320
321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
322 memmove-avx-unaligned, memcpy-avx-unaligned and
323 mempcpy-avx-unaligned.
324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
325 Add tests for AVX memcpy functions.
326 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
327 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
328 memcpy_chk.
329 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
330 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
331 memmove_chk.
332 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
333 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
334 mempcpy_chk.
335 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
336 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
337 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
338
a53fbd8e
AZ
3392013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340
341 [BZ #17213]
342 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
343 powerpc64le.
344
0961f7e1
JL
3452014-07-29 Jeff Layton <jlayton@poochiereds.net>
346
347 [BZ #16839]
348 * manual/llio.texi: Add section about open file description locks.
349 * manual/examples/ofdlocks.c: Example of open file description
350 lock usage.
351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
352 F_OFD_SETLK, and F_OFD_SETLKW.
353
cc5fb300
AM
3542014-07-23 Allan McRae <allan@archlinux.org>
355
356 * po/es.po: Update Spanish translation from translation project.
357
23329dca
AS
3582014-07-18 Andreas Schwab <schwab@linux-m68k.org>
359
360 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
361
9c82da17
MR
3622014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
363
364 [BZ #17078]
365 * sysdeps/arm/dl-machine.h (elf_machine_rela)
366 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
367 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
368
29c4f53e
JM
3692014-07-17 Joseph Myers <joseph@codesourcery.com>
370
831b9896
JM
371 [BZ #17088]
372 * math/fesetenv.c (__fesetenv)
373 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
374 * math/feupdateenv.c (__feupdateenv)
375 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
376
b21c2d50
JM
377 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
378 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
379 (__ASSUME_SOCKETCALL): Do not define.
380
067764ef
JM
381 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
382 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
383 (__ASSUME_SOCKETCALL): Do not define.
384 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
385 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
386 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
387 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
388 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
389 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
390 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
391 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
392
642530c1
JM
393 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
394 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
395 (__ASSUME_SOCKETCALL): Do not define.
396 (__ASSUME_IPC64): Define unconditionally.
397 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
398 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
399 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
400 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
401 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
402 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
403 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
404 Likewise.
405
03f77315
JM
406 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
407 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
408 (__ASSUME_SOCKETCALL): Do not define.
409 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
410 (__ASSUME_FUTEX_LOCK_PI): Likewise.
411 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
412 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
413 (__ASSUME_REQUEUE_PI): Define unconditionally.
414 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
415 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
416 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
417 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
418 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
419 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
420
083b1f7c
JM
421 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
422 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
423 (__ASSUME_SOCKETCALL): Do not define.
424 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
425 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
426 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
427 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
428 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
429 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
430
5be44ea6
JM
431 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
432 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
433 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
434 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
435 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
436 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
437 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
438 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
439 (__ASSUME_GETCPU_SYSCALL): Likewise.
440
d95ffd4c
JM
441 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
442 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
443 cases for individual architectures.
444 * sysdeps/gnu/configure: Regenerated.
445 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
446 LIBC_SLIBDIR_RTLDDIR.
447 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
448 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
449 LIBC_SLIBDIR_RTLDDIR.
450 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
452 LIBC_SLIBDIR_RTLDDIR.
453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
454 Regenerated.
455 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
456 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
457 file.
458 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
459 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
460 file.
461 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
462 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
463 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
464 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
465
29c4f53e
JM
466 * sysdeps/aarch64/shlib-versions: Move to ...
467 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
468 * sysdeps/alpha/shlib-versions: Move to ...
469 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
470 * sysdeps/arm/shlib-versions: Move to ...
471 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
472 * sysdeps/hppa/shlib-versions: Move all contents except for
473 libgcc_s entry to ...
474 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
475 entry from ...
476 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
477 * sysdeps/ia64/shlib-versions: Move to ...
478 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
479 entry from ...
480 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
481 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
482 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
483 * sysdeps/microblaze/shlib-versions: Move to ...
484 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
485 * sysdeps/mips/shlib-versions: Move to ...
486 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
487 entry from ...
488 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
489 * sysdeps/tile/shlib-versions: Move to ...
490 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
491 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
492 from ...
493 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
494 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
495 entry from ...
496 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
497
32bead5b
WN
4982014-07-17 Will Newton <will.newton@linaro.org>
499
57977c4b
WN
500 * sysdeps/arm/bits/atomic.h
501 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
502 (__arch_compare_and_exchange_bool_16_int): Likewise.
503 (__arch_compare_and_exchange_bool_64_int): Likewise.
504
32bead5b
WN
505 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
506 into an #else block.
507
37fccd41
RM
5082014-07-16 Roland McGrath <roland@hack.frob.com>
509
510 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
511 just Linux configurations. Test empirically that the compiler sets
512 __ARM_EABI__, rather than using the tuple to decide.
513 * sysdeps/arm/preconfigure: Regenerated.
514 * sysdeps/unix/sysv/linux/arm/configure: File removed.
515 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
516 contents appended ...
517 * sysdeps/arm/configure.ac: ... here.
518 * sysdeps/arm/configure: Regenerated.
519
b365f3ec
RM
5202014-07-15 Roland McGrath <roland@hack.frob.com>
521
8badf496
RM
522 * nptl/pthread_kill.c: New file.
523 * nptl/pthread_sigmask.c: New file.
524 * nptl/pthread_sigqueue.c: New file.
525
3df6f22e
RM
526 * sysdeps/nptl/lowlevellock.h: New file.
527 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
528 * sysdeps/nptl/lowlevellock-futex.h: New file.
529
b365f3ec
RM
530 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
531 Remove dead declarations.
532
f2fef657
L
5332014-07-14 H.J. Lu <hongjiu.lu@intel.com>
534
535 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
536 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
537 config-cflags-avx2.
538 * sysdeps/x86_64/configure.ac: Likewise.
539 * sysdeps/i386/configure: Regenerated.
540 * sysdeps/x86_64/configure: Likewise.
541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
542 memset-avx2 only if config-cflags-avx2 is yes.
543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
544 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
545 defined.
546 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
547 only if HAVE_AVX2_SUPPORT is defined.
548 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
549
f6c44d47
AM
5502014-07-14 Alan Modra <amodra@gmail.com>
551
552 [BZ #17153]
553 * elf/elf.h (DT_PPC64_NUM): Correct value.
554 * NEWS: Add to fixed bug list.
555
7ee03f00
JM
5562014-07-13 Jim Meyering <meyering@fb.com>
557
558 [BZ 17150]
559 regex: don't deref NULL upon heap allocation failure
560 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
561 failure in one more place.
562 To trigger the segfault, configure grep -with-included-regex,
563 build it, and run these commands:
564 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
565
9d39d517
AS
5662014-07-13 Andreas Schwab <schwab@linux-m68k.org>
567
568 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
569
a75b89b7
RH
5702014-07-11 Richard Henderson <rth@redhat.com>
571
572 * sysdeps/aarch64/libm-test-ulps: Update.
573
771eb141
FW
5742014-07-10 Florian Weimer <fweimer@redhat.com>
575
576 [BZ #17135]
577 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
578 * nptl/allocatestack.c (__nptl_setxid_error): New function.
579 (__nptl_setxid): Initialize error member. Call
580 __nptl_setxid_error.
581 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
582 * nptl/descr.h (struct xid_command): Add error member.
583 * nptl/tst-setuid3.c: New file.
584 * nptl/Makefile (tests): Add it.
585
bc1da176
AZ
5862014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587
588 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
589 New define.
590 (__lll_trylock): Use __lll_base_trylock.
591 (__lll_cond_trylock): Likewise.
592
887865fc
RM
5932014-07-10 Roland McGrath <roland@hack.frob.com>
594
c0c6bac9
RM
595 * nptl/pthread_create.c (start_thread): Use atomic_or and
596 lll_futex_wake directly rather than lll_robust_dead.
597 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
598 (lll_robust_dead): Macro removed.
6a42be57 599 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
600 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
601 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
602 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
603 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
604 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
605 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
606 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
607 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
608 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
609 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
610 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
611 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
612 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
613 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
614
887865fc
RM
615 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
616 Use atomic_compare_and_exchange_val_acq directly rather than
617 lll_robust_trylock.
618 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
619 (__lll_robust_trylock, lll_robust_trylock): Removed.
620 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
621 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
622 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
623 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
624 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
625 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
626 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
627 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
628 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
629 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
630 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
631 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
632 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
633 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
634
58536726
FW
6352014-07-02 Florian Weimer <fweimer@redhat.com>
636
637 * manual/locale.texi (Locale Names): New section documenting
638 locale name syntax. Adjust menu and node chaining accordingly.
639 (Choosing Locale): Reference Locale Names, Locale Categories.
640 Mention setting LC_ALL=C. Reflect that name syntax is now
641 documented.
642 (Locale Categories): New section title. Reference Locale Names.
643 LC_ALL is an environment variable, but not a category.
644 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
645 description, now in Locale Name. Reference that section. Locale
646 name syntax is now documented.
647
4e8f95a0
FW
6482014-07-02 Florian Weimer <fweimer@redhat.com>
649
650 [BZ #17137]
651 * locale/findlocale.c (name_present, valid_locale_name): New
652 functions.
653 (_nl_find_locale): Use the loc_name variable to store name
654 candidates. Call name_present and valid_locale_name to check and
655 validate locale names. Return an error if the locale is invalid.
656
d1836456
FW
6572014-07-02 Florian Weimer <fweimer@redhat.com>
658
659 * locale/setlocale.c (setlocale): Use strdup for allocating
660 composite name copy.
661
d69b7f5a
SP
6622014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
663
888c679b
SP
664 Sync up with gnulib.
665 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
666 [!_LIBC && ENABLE_NLS]: Include gettext.h.
667 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
668 and _GL_ARG_NONNULL.
669 [USE_UNLOCKED_IO]: Include unlocked-io.h.
670 [!_LIBC]: Include code for Windows and Cygwin.
671 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
672 Include prototype for int strerror_r.
673 [!_LIBC] (is_open): New function.
674 (flush_stdout): New function.
675 (print_errno_message): Use it.
676 (error): Likewise.
677 (error_at_line): Likewise.
678 (error_tail) Add function attribute macros. Use
679 __builtin_expect.
680
180e0e4b
SP
681 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
682
d22f1fe2
SP
683 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
684
12f2254b
SP
685 * io/ftw.c: Include sys/param.h unconditionally.
686
c3c7c360
SP
687 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
688
d62aa75a
SP
689 [BZ #17125]
690 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
691 libc_freeres_ptr.
692 (freecache): New function to free CACHE on exit.
693
d69b7f5a
SP
694 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
695 initialization.
696
5efe06a1
DM
6972014-07-09 David S. Miller <davem@davemloft.net>
698
699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
700
7000d82e
DM
701 * sysdeps/sparc/nptl/internaltypes.h: Delete.
702 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
703 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
704 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
705 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
706 * sysdeps/sparc/nptl/sem_init.c: Likewise.
707 * sysdeps/sparc/nptl/sem_post.c: Likewise.
708 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
709 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
710 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
711 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
712 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
713 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
714
c213442d
AS
7152014-07-09 Andreas Schwab <schwab@suse.de>
716
4a2552c3
AS
717 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
718 output.
719 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
720 (do_test): Likewise.
721
c213442d
AS
722 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
723
82374e65
WN
7242014-07-09 Will Newton <will.newton@linaro.org>
725
726 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
727 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
728 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
729 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
730 * sysdeps/hppa/start.S (_start): Likewise.
731
6680738a
SP
7322014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
733
6ee3eab4
SP
734 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
735
6680738a
SP
736 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
737 defined.
738
80b5c505
SP
7392014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
740
e35c53e3
SP
741 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
742 after checking that it is non-NULL.
743
80b5c505
SP
744 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
745
91f4b564
AZ
7462014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
747
27b75f56
AZ
748 * sysdeps/powerpc/memmove.c: Remove file.
749 * sysdeps/powerpc/powerpc32/power4/memcopy.h
750 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
751 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
752 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
753 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
754 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
755 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
756 string memmove instead of removed powerpc one.
757
e7f95bb5
AZ
758 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
759 [weak_alias]: Fix compiler warning due trailing data.
760 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
761 [weak_alias]: Likewise.
762 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
763 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
764
91f4b564
AZ
765 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
766 (__libc_ifunc_impl_list): Add memmove functions.
767
7c33f1e5
SP
7682014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
769
770 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
771 Remove code.
772 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
773 Likewise
774 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
775 Likewise
776 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
777 Likewise
778 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
779 Likewise
780 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
781 Likewise
782 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
783 Likewise
784 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
785 Likewise
786 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
787 Likewise
788 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
789 Likewise
790 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
791 Likewise
792 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
793 Likewise
794 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
795 Likewise
796 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
797 Likewise
798 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
799 Likewise
800 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
801 Likewise
802 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
803 Likewise
804
3f17b03b
AZ
8052014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
806
87868c24
AZ
807 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
808 to avoid alignment traps in non-cacheable memory.
809 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
810
07aedd78
AZ
811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
812 multiarch objects.
813 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
814 file: multiarch power7 memmove.
815 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
816 multiarch default memmove.
817 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
818 multiarch memove for powerpc32/power4.
819
17762f66
AZ
820 * string/bcopy.c: Use full path to include memmove.c.
821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
822 multiarch objects.
823 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
824 bcopy for powerpc64.
825 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
826 bcopy for powerpc64.
827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
828 and memmove implementations.
829 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
830 optimized multiarch memmove for POWER7/powerpc64.
831 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
832 default multiarch memmove for powerpc64.
833 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
834 multiarch for powerpc64.
835 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
836 for POWER7/powerpc64.
837 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
838 memmove for POWER7/powerpc64.
839
d6f68bbe
AZ
840 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
841 glibc default one.
842
3f17b03b
AZ
843 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
844 __ELF_NATIVE_CLASS equal to 64.
845
08192659
RM
8462014-07-07 Roland McGrath <roland@hack.frob.com>
847
f4c4021b
RM
848 * sysdeps/nptl/lowlevellock.h: File removed.
849
f083450f
RM
850 * NEWS: NPTL is no longer an add-on!
851 * nptl/internaltypes.h: Moved ...
852 * sysdeps/nptl/internaltypes.h: ... here.
853 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
854 * sysdeps/nptl/fork.c: Likewise.
855 * sysdeps/nptl/gai_misc.h: Likewise.
856 * sysdeps/nptl/librt-cancellation.c: Likewise.
857 * sysdeps/nptl/jmp-unwind.c: Likewise.
858 * sysdeps/nptl/setxid.h: Likewise.
859 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
860 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
861 * sysdeps/unix/sysv/linux/arm/Implies: New file.
862 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
863 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
864 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
865 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
866 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
867 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
868 * sysdeps/unix/sysv/linux/mips/Implies: New file.
869 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
870 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
871 * sysdeps/unix/sysv/linux/sh/Implies: New file.
872 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
873 * sysdeps/unix/sysv/linux/tile/Implies: New file.
874 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
875 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
876 * nptl/Makeconfig: Moved ...
877 * sysdeps/nptl/Makeconfig: ... here.
878 * nptl/configure: File removed.
879 * nptl/ANNOUNCE: File removed.
880 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
881 * sysdeps/unix/sysv/linux/configure: Regenerated.
882
08192659
RM
883 * nptl/Makefile (routines): Add libc_pthread_init,
884 libc_multiple_threads, register-atfork and unregister-atfork.
885 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
886 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
887 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
888 pthread-pi-defines.sym, structsem.sym.
889 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
890 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
891 [$(subdir) = nptl] (tests): Add tst-setgetname.
892 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
893 * sysdeps/unix/sysv/linux/sigaction.c: Just include
894 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
895 [!LIBC_SIGACTION]: Remove aliases.
896 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
897 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
898 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
899 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
900 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
901 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
902 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
904 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
905 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
906 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
907 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
908 __libc_allocate_rtsig_private.
909 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
910 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
911 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
912 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
913 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
914 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
915 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
916 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
917 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
918 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
919 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
920 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
921 * nptl/internaltypes.h: ... here.
922 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
923 * sysdeps/nptl/jmp-unwind.c: ... here.
924 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
925 * nptl/libc-lowlevellock.c: ... here.
926 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
927 * nptl/libc_multiple_threads.c: ... here.
928 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
929 * nptl/libc_pthread_init.c: ... here.
930 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
931 * nptl/lowlevelbarrier.sym: ... here.
932 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
933 * nptl/lowlevelcond.sym: ... here.
934 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
935 * nptl/lowlevellock.c: ... here.
936 * nptl/lowlevellock.h: Moved ...
937 * sysdeps/nptl/lowlevellock.h: ... here.
938 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
939 * nptl/lowlevelrobustlock.c: ... here.
940 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
941 * nptl/lowlevelrobustlock.sym: ... here.
942 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
943 * nptl/lowlevelrwlock.sym: ... here.
944 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
945 * nptl/pt-fork.c: ... here.
946 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
947 * nptl/pthread-pi-defines.sym: ... here.
948 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
949 * nptl/pthread_attr_getaffinity.c: ... here.
950 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
951 * nptl/pthread_attr_setaffinity.c: ... here.
952 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
953 * nptl/pthread_mutex_cond_lock.c: ... here.
954 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
955 Update #include.
956 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
957 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
958 * nptl/pthread_once.c: ... here, replacing old file.
959 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
960 * nptl/pthread_yield.c: ... here.
961 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
962 * nptl/register-atfork.c: ... here.
963 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
964 * nptl/sem_post.c: ... here.
965 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
966 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
967 * nptl/sem_timedwait.c: ... here.
968 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
969 * nptl/sem_trywait.c: ... here.
970 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
971 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
972 * nptl/sem_wait.c: ... here.
973 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
974 * nptl/structsem.sym: ... here.
975 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
976 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
977 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
978 * nptl/unregister-atfork.c: ... here.
979 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
980 * nptl/unwindbuf.sym: ... here.
981 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
982 * sysdeps/nptl/fork.c: ... here.
983 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
984 * sysdeps/nptl/fork.h: ... here.
985 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
986 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
987 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
988 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
989 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
990 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
991 * sysdeps/unix/sysv/linux/getpid.c: ... here.
992 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
993 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
994 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
995 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
996 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
997 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
998 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
999 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1000 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1001 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1002 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1003 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1004 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1005 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1007 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1008 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1009 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1011 * sysdeps/unix/sysv/linux/raise.c: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1013 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1015 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1017 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1019 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1021 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1022 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1023 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1024 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1025 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1026 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1027
96baf6ff
SP
10282014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1029
1030 * sysdeps/generic/memcopy.h: Add comment for
1031 MEMCPY_OK_FOR_FWD_MEMMOVE.
1032
6b7b14b2
WN
10332014-07-04 Will Newton <will.newton@linaro.org>
1034
1570a72b
WN
1035 * string/memchr.c: Merge from gnulib.
1036 [_LIBC]: Remove conditionals.
1037 (__ptr_t): Remove define.
1038 (LONG_MAX_32_BITS): Likewise.
1039 (LONG_MAX): Likewise.
1040 (MEMCHR): Use ANSI prototype and optimize algorithm.
1041
6b7b14b2
WN
1042 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1043
38851324
SP
10442014-07-03 Roland McGrath <roland@hack.frob.com>
1045
3d9eb57c
RM
1046 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1047 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1048
78b984ae
RM
1049 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1050 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1051 in a bare environment with no <stdlib.h> installed.
1052 * sysdeps/nptl/configure: Regenerated.
1053
2d5976a5
RM
1054 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1055
c1f5acd4
RM
1056 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1057 AC_EGREP_CPP for kernel header checks, so they only succeed if
1058 including <linux/version.h> actually works right.
1059 * sysdeps/unix/sysv/linux/configure: Regenerated.
1060
4d614fe5
RM
1061 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1062 value so it's not diagnosed as unused.
1063
38851324
SP
1064 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1065 thing) with "ifeq ($(subdir),rt)".
1066
b3ec00e5
RH
10672014-07-03 Richard Henderson <rth@redhat.com>
1068
69862e25
RH
1069 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1070 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1071 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1072
d5e16ade
RH
1073 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1074 (math_force_eval): New.
1075
ca7b945c
RH
1076 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1077 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1078
cd1175a3
RH
1079 * sysdeps/alpha/fpu/s_round.c: Remove file.
1080 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1081
b3ec00e5
RH
1082 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1083 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1084 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1085 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1086 (_dl_start, print_statistics): Likewise.
1087 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1088 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1089
1090 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1091 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1092 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1093 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1095 (HP_SMALL_TIMING_AVAIL): Define.
1096 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1097 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1098 (HP_SMALL_TIMING_AVAIL): Define.
1099 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1100 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1101
1102 * sysdeps/aarch64/hp-timing.h: New file.
1103
1104 * sysdeps/generic/hp-timing.h: Remove dead comment.
1105 * sysdeps/generic/hp-timing-common.h: New file.
1106 * sysdeps/alpha/hp-timing.h: Include it.
1107 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1108 * sysdeps/i386/i686/hp-timing.h: Likewise.
1109 * sysdeps/ia64/hp-timing.h: Likewise.
1110 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1111 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1112 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1113 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1114 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1115 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1116 (hp_timing_t): New.
1117
1118 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1119 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1120 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1121 * elf/rtld.c (_dl_start_final): Likewise.
1122 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1123 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1124 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1125 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1126 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1127 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1128 (HP_TIMING_DIFF_INIT): Remove.
1129 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1130 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1131 (HP_TIMING_DIFF_INIT): Remove.
1132 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1133 * sysdeps/i386/i686/hp-timing.c: Remove file.
1134 * sysdeps/x86_64/hp-timing.c: Remove file.
1135 * sysdeps/ia64/hp-timing.c: Remove file.
1136 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1137 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1138 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1139 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1140
1141 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1142 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1143 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1144 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1145 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1146 (HP_TIMING_ACCUM): Remove.
1147 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1148 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1149 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1150
1151 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1152 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1153 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1154 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1155 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1156 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1157 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1158 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1159
1160 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1161
225f410f
MR
11622014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1163
1164 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1165
3247f285
SP
11662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1167
1168 Sync up with gettext.
1169 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1170 [_MSC_VER]: Include malloc.h
1171 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1172 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1173 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1174 TEMP_FAILURE_RETRY. Cast return of alloca.
1175 [!_LIBC] Call gl_rwlock_init.
1176 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1177
d12704c7
SP
11782014-07-02 Roland McGrath <roland@hack.frob.com>
1179
1180 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1181 before checking its value.
1182
99f8dc92
SP
11832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1184
05fdac77
SP
1185 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1186
99f8dc92
SP
1187 * debug/memcpy_chk.c: Don't include pagecopy.h.
1188 * debug/mempcpy_chk.c: Likewise.
1189 * string/memcpy.c: Likewise.
1190 * string/memmove.c: Likewise.
1191 * sysdeps/powerpc/memmove.c: Likewise.
1192 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1193 definition of PAGE_COPY_FWD_MAYBE here...
1194 * sysdeps/generic/pagecopy.h: ... from here.
1195 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1196
bc8ea385
VR
11972014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1198 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1199
1200 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1202 optimizations.
1203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1204 (__libc_ifunc_impl_list): Likewise.
1205 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1206 multiarch strcat for PPC64.
1207 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1208 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1209
fe5f34e4
RM
12102014-07-02 Roland McGrath <roland@hack.frob.com>
1211
1212 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1213
256aa665
SP
12142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1215
d4eb8195
SP
1216 * intl/loadmsgcat.c: Remove declaration of
1217 get_sysdep_segment_value.
1218 (get_sysdep_segment_value): Use ISO C style.
1219 (_nl_load_domain): Use ISO C style. Get rid of redundant
1220 semicolon. Fix typo and formatting in comment.
1221 (_nl_unload_domain): Use ISO C style.
1222
256aa665
SP
1223 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1224
b100f9aa
WN
12252014-07-02 Will Newton <will.newton@linaro.org>
1226
1227 * malloc/obstack.c: Merge from gnulib master.
1228 [HAVE_CONFIG_H]: Remove conditional code.
1229 [!_LIBC]: Include config.h.
1230 [!ELIDE_CODE]: Don't include inttypes.h, include
1231 stdint.h unconditionally.
1232 (print_and_abort): Mark as _Noreturn.
1233 (_obstack_allocated_p): Mark as __attribute_pure__.
1234 (obstack_free): Rename to __obstack_free.
1235 [!__attribute__]: Remove conditional code.
1236 * malloc/obstack.h: Merge from gnulib master.
1237 [__cplusplus]: Move conditional down.
1238 [!__attribute_pure__]: Define __attribute_pure__ here
1239 if it is not already defined.
1240 (_obstack_memory_used): Mark as __attribute_pure__.
1241 [!__obstack_free]: Define as obstack_free.
1242 [__GNUC__]: Remove check for ancient NeXT gcc.
1243
c4c41244
PE
12442014-07-02 Will Newton <will.newton@linaro.org>
1245 Paul Eggert <eggert@cs.ucla.edu>
1246
1247 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1248
e1e041c4
SP
12492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1250
1251 * resolv/gethnamaddr.c: Add comment warning that the file is
1252 not maintained.
1253
ccf431ff
CD
12542014-07-01 Carlos O'Donell <carlos@redhat.com>
1255
d34570a6
CD
1256 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1257 entries.
1258
ccf431ff
CD
1259 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1260 entry for aio_cancel and aio_cancel64.
1261 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1262 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1263 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1264 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1265 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1266 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1267 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1268 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1269 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1270 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1271 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1272 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1273 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1274
ca06321d
RM
12752014-07-01 Roland McGrath <roland@hack.frob.com>
1276
1277 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1278 * nptl/pthread_mutex_lock.c: Likewise.
1279 * nptl/pthread_mutex_timedlock.c: Likewise.
1280 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1281
a1ac3184
RH
12822014-07-01 Richard henderson <rth@redhat.com>
1283
631021e0
RH
1284 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1285 (__isnan, __isnanl): Remove.
1286 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1287
a1ac3184
RH
1288 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1289
0c1d731f
SL
12902014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1291
1292 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1293
76985d3e
SP
12942014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1295
1296 * resolv/nss_dns/dns-host.c (getanswer_r)
1297 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1298
b0cb3096
JM
12992014-07-01 Joseph Myers <joseph@codesourcery.com>
1300
1301 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1302 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1303 undefine.
1304 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1305 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1306
4d76cb39
RM
13072014-07-01 Roland McGrath <roland@hack.frob.com>
1308
1309 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1310 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1311
1312 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1313 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1314
1315 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1316 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1317 ... here.
1318 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1319 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1320
1321 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1322 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1323 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1324 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1325
1326 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1327 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1328 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1329 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1331 Moved ...
1332 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1333 ... here.
1334 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1335 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1337 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1338 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1339 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1340 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1341 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1342 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1343 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1344 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1345 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1346 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1347 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1348 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1349 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1351 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1352 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1353 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1354 ... here.
1355 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1356 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1357 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1358 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1359 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1360 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1361 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1362 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1363
0cdcad17
DH
13642014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1365
1366 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1367 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1368 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1369 Add sysdep.
1370
9b71d0e3
AZ
13712014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1372
1373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1374
665390c2
JM
13752014-06-30 Joseph Myers <joseph@codesourcery.com>
1376
ae05a9d7
JM
1377 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1378 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1379
a7672a2f
JM
1380 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1381
665390c2
JM
1382 * sysdeps/arm/libm-test-ulps: Regenerated.
1383
d7a05d07
MR
13842014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1385 Roland McGrath <roland@hack.frob.com>
1386
1387 * test-skeleton.c (signal_handler): Kill the whole process group
1388 before killing the child individually.
1389 (main): Report any failure on `setpgid'.
1390
46f1d8a6
RM
13912014-06-30 Roland McGrath <roland@hack.frob.com>
1392
1393 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1394 from _TLS_H to _ARM_NPTL_TLS_H.
1395 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1396 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1397
9c37ec0b
JM
13982014-06-30 Joseph Myers <joseph@codesourcery.com>
1399
ce9c5b3e
JM
1400 [BZ #16539]
1401 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1402 (__expm1l): Return argument unchanged when small but not
1403 subnormal.
1404
3a6e9887
JM
1405 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1406 include macro name.
1407 (_FP_UNPACK_RAW_1_P): Likewise.
1408 (_FP_PACK_RAW_1): Likewise.
1409 (_FP_PACK_RAW_1_P): Likewise.
1410 (_FP_MUL_MEAT_1_wide): Likewise.
1411 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1412 (_FP_MUL_MEAT_1_hard): Likewise.
1413 (_FP_DIV_MEAT_1_imm): Likewise.
1414 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1415 (_FP_DIV_MEAT_1_udiv): Likewise.
1416 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1417 (_FP_UNPACK_RAW_2): Likewise.
1418 (_FP_UNPACK_RAW_2_P): Likewise.
1419 (_FP_PACK_RAW_2): Likewise.
1420 (_FP_PACK_RAW_2_P): Likewise.
1421 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1422 (_FP_MUL_MEAT_2_wide): Likewise.
1423 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1424 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1425 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1426 (_FP_MUL_MEAT_2_gmp): Likewise.
1427 (_FP_DIV_MEAT_2_udiv): Likewise.
1428 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1429 (_FP_FRAC_SRL_4): Likewise.
1430 (_FP_FRAC_SRST_4): Likewise.
1431 (_FP_FRAC_SRS_4): Likewise.
1432 (_FP_UNPACK_RAW_4): Likewise.
1433 (_FP_UNPACK_RAW_4_P): Likewise.
1434 (_FP_PACK_RAW_4): Likewise.
1435 (_FP_PACK_RAW_4_P): Likewise.
1436 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1437 (_FP_MUL_MEAT_4_wide): Likewise.
1438 (_FP_MUL_MEAT_4_gmp): Likewise.
1439 (umul_ppppmnnn): Likewise.
1440 (_FP_DIV_MEAT_4_udiv): Likewise.
1441 (__FP_FRAC_ADD_4): Likewise.
1442 (__FP_FRAC_SUB_3): Likewise.
1443 (__FP_FRAC_SUB_4): Likewise.
1444 (__FP_FRAC_DEC_3): Likewise.
1445 (__FP_FRAC_DEC_4): Likewise.
1446 (__FP_FRAC_ADDI_4): Likewise.
1447 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1448 (_FP_FRAC_SRL_8): Likewise.
1449 (_FP_FRAC_SRS_8): Likewise.
1450
9c37ec0b
JM
1451 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1452 include macro name.
1453 (FP_UNPACK_RAW_EP): Likewise.
1454 (FP_PACK_RAW_E): Likewise.
1455 (FP_PACK_RAW_EP): Likewise.
1456 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1457 (_FP_ISSIGNAN): Likewise.
1458 (_FP_ADD_INTERNAL): Likewise.
1459 (_FP_FMA): Likewise.
1460 (_FP_CMP): Likewise.
1461 (_FP_SQRT): Likewise.
1462 (_FP_TO_INT): Likewise.
1463 (_FP_FROM_INT): Likewise.
1464 (FP_EXTEND): Likewise.
1465 (_FP_DIV_MEAT_N_loop): Likewise.
1466
2125f674
MR
14672014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1468
1469 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1470 throughout.
1471
edea4028
JM
14722014-06-29 Joseph Myers <joseph@codesourcery.com>
1473
1474 [BZ #17097]
1475 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1476 result with correct sign in case of exponents that produce
1477 overflow except for X very close to 1.
1478
dd0ba018
PE
14792014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1480
1481 mktime: merge #if/#ifdef usage from glibc
1482 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1483 as that works with both Glibc's and Gnulib's style.
1484 See thread starting at Siddhesh Poyarekar's bug report at:
1485 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1486
64df73c2
SP
14872014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1488
1489 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1490 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1491 * sysdeps/tile/tilegx/memmove.c: Remove file.
1492
f1eafb41
JM
14932014-06-27 Joseph Myers <joseph@codesourcery.com>
1494
1495 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1496 abi-name definition.
1497 * scripts/soversions.awk: Do not handle or generate ABI lines.
1498 * shlib-versions: Remove ABI entries.
1499 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1500 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1501
58eb0862
RM
15022014-06-27 Roland McGrath <roland@hack.frob.com>
1503
37caf178
RM
1504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1505 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1506 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1507 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1509 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1511 Moved ...
1512 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1513 ... here.
1514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1515 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1517 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1519 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1521 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1523 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1525 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1527 Moved ...
1528 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1530 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1532 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1534 Moved ...
1535 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1537 Moved ...
1538 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1539 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1540 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1542 Moved ...
1543 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1544 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1545 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1547 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1549 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1550 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1551 Moved ...
1552 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1553 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1554 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1555 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1556 Moved ...
1557 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1558 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1559 Moved ...
1560 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1561 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1562 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1564 Moved ...
1565 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1566 ... here.
1567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1568 Identical file removed.
1569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1570 Moved ...
1571 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1572 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1573 Identical file removed.
1574 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1575 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1576 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1577 Moved ...
1578 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1580 Identical file removed.
1581 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1582 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1583 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1584 Identical file removed.
1585 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1586 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1587 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1588 Identical file removed.
1589 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1590 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1591 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1592 Identical file removed.
1593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1594 Moved ...
1595 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1596 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1597 Identical file removed.
1598 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1599 Moved ...
1600 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1602 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1604 Identical file removed.
1605 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1606 Moved ...
1607 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1608 ... here.
1609 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1610 Identical file removed.
1611 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1612 Moved ...
1613 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1615 Identical file removed.
1616 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1617 Moved ...
1618 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1619 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1622 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1624 Moved ...
1625 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1627 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1628
58eb0862
RM
1629 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1630 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1631 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1632 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1633 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1634
6f12d062
AS
16352014-06-27 Arjun Shankar <arjun.is@lostca.se>
1636
1637 [BZ #17092]
1638 * nscd/nscd.c (monitor_child): Return exit status of child
1639 instead of return value from wait syscall.
1640
be254932
JM
16412014-06-27 Joseph Myers <joseph@codesourcery.com>
1642
cb403c34
JM
1643 * configure.ac (libc_commonpagesize): Remove variable.
1644 (libc_relro_required): Likewise.
1645 (libc_cv_z_relro): Remove configure test.
1646 * configure: Regenerated.
1647 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1648 variable.
1649 (libc_relro_required): Likewise.
1650 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1651 (libc_relro_required): Likewise.
1652 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1653 (libc_relro_required): Likewise.
1654 * sysdeps/arm/preconfigure: Regenerated.
1655 * sysdeps/ia64/preconfigure: Remove file.
1656 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1657 variable.
1658 (libc_relro_required): Likewise.
1659
be254932
JM
1660 [BZ #16561]
1661 [BZ #16562]
1662 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1663 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1664 recompute overflowing results in original rounding mode.
1665 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1666 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1667 recompute overflowing results in original rounding mode.
1668 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1669 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1670 recompute overflowing results in original rounding mode.
1671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1672 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1673 recompute overflowing results in original rounding mode.
1674 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1675 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1676 recompute overflowing results in original rounding mode.
1677 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1678 (libc_feholdsetround_ctx): New macro.
1679 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1680 * sysdeps/i386/fpu/libm-test-ulps: Update.
1681 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1682
b351d85a
JM
16832014-06-26 Joseph Myers <joseph@codesourcery.com>
1684
1685 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1686 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1687 corresponding .cpsetup call.
1688
3cb4de47
RM
16892014-06-26 Roland McGrath <roland@hack.frob.com>
1690
1691 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1692 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1693 * sysdeps/arm/Makefile [$(subdir) = csu]
1694 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1695 (static-only-routines): Add aeabi_read_tp here.
1696 (shared-only-routines): Add libc-aeabi_read_tp here.
1697 (CFLAGS-libc-start.c): Add -fexceptions here.
1698 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1699 (sysdep_routines, static-only-routines, shared-only-routines):
1700 Don't add to these here.
1701 (CFLAGS-libc-start.c): Likewise.
1702
1703 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1704 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1705 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1706 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1707 * sysdeps/arm/Makefile [$(subdir) = rt]
1708 (librt-sysdep_routines, librt-shared-only-routines):
1709 Append rt-aeabi_unwind_cpp_pr1 here.
1710 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1711 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1712 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1713 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1714 Append nptl-aeabi_unwind_cpp_pr1 here.
1715 (tests): Filter out tst-cleanupx4 here.
1716 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1717 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1718 Don't do those here.
1719
354426bb
JM
17202014-06-26 Joseph Myers <joseph@codesourcery.com>
1721
1722 * scripts/list-sources.sh: Do not handle ports specially.
1723
28b0a8c9
RM
17242014-06-26 Roland McGrath <roland@hack.frob.com>
1725
a3dd035d
RM
1726 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1727 * sysdeps/arm/feupdateenv.c: Likewise.
1728
28b0a8c9
RM
1729 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1730
e66a8203
JM
17312014-06-26 Joseph Myers <joseph@codesourcery.com>
1732
1733 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1734 trailing whitespace removed.
1735 * scripts/config.guess: Update to version 2014-03-23.
1736 * scripts/config.sub: Update to version 2014-05-01
1737 * scripts/install-sh: Update to version 2013-12-25.23.
1738 * scripts/move-if-change: Update from gnulib.
1739
74171115
SP
17402014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1741
b97c9ce5
SP
1742 * debug/memmove_chk.c: Remove pagecopy.h include.
1743
4000f892
SP
17442014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1745
74171115
SP
1746 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1747 identical to gnulib mktime.
1748
a8779c28
JM
17492014-06-26 Joseph Myers <joseph@codesourcery.com>
1750
e64708de
JM
1751 * configure.ac: Do not test for machine being rs6000. Do not test
1752 for powerpc*-*soft.
1753 * configure: Regenerated.
1754
a8779c28
JM
1755 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1756 test.
1757 * configure: Regenerated.
1758 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1759 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1760 Remove configure test.
1761 * sysdeps/arm/configure: Regenerated.
1762 * sysdeps/nptl/configure.ac: Do not check
1763 libc_cv_asm_cfi_directives.
1764 * sysdeps/nptl/configure: Regenerated.
1765 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1766 * sysdeps/x86_64/nptl/configure: Remove generated file.
1767 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1768 unconditional.
1769 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1770
2aac0a86
SP
17712014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
059bf913
SP
1773 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1774 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1775 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1776 it is defined.
1777
4cf5b6d0
SP
1778 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1779 instead of whether it is defined.
1780 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1781 * sysdeps/hppa/dl-machine.h: Likewise.
1782 * sysdeps/ia64/dl-machine.h: Likewise.
1783 * sysdeps/m68k/dl-machine.h: Likewise.
1784 * sysdeps/microblaze/dl-machine.h: Likewise.
1785 * sysdeps/mips/dl-machine.: Likewise.
1786 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1787 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1788 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1789 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1790 * sysdeps/sh/dl-machine.h: Likewise.
1791 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1792 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1793 * sysdeps/tile/dl-machine.h: Likewise.
1794 * sysdeps/x86_64/dl-machine.h: Likewise.
1795
2aac0a86
SP
1796 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1797 code.
1798 (verify_persistent_db): Likewise.
1799
6ad2df0b
RM
18002014-06-26 Roland McGrath <roland@hack.frob.com>
1801
d8a483f3
RM
1802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1803 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1805 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1807 Moved ...
1808 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1809 ... here.
1810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1813 Identical file removed.
1814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1815 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1817 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1819 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1823 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1825 Moved ...
1826 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1828 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1830 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1832 Moved ...
1833 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1837 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1839 Identical file removed.
1840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1841 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1843 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1845 Moved ...
1846 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1847 ... here.
1848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1849 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1851 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1853 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1855 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1859 Moved ...
1860 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1862 Moved ...
1863 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1865 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1867 Moved ...
1868 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1870 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1871
52ae23b4
RM
1872 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1873 folded into ...
1874 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1875 * sysdeps/unix/sysv/linux/s390/Versions
1876 (libpthread: GLIBC_2.19): New version set.
1877 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1878 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1879 (librt: GLIBC_2.3.3): New version set.
1880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1881 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1882 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1884 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1886 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1887 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1888 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1890 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1892 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1894 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1896 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1898 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1900 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1902 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1904 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1906 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1908 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1909 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1910 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1914 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1916 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1918 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1920 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1922 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1924 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1925
39507e4a
RM
1926 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1927 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1928 (__libc_vfork): Define the function under this name.
1929 [!NOT_IN_libc] (__vfork): Make this an alias.
1930 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1932 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1933 (__libc_vfork): Define the function under this name.
1934 [!NOT_IN_libc] (__vfork): Make this an alias.
1935 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1936 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1937 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1938 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1939 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1940 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1941
e549ee56
RM
1942 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1943 code that was previously under [RESET_PID].
1944 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1945 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1946 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1947
6ad2df0b
RM
1948 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1949 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1950 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1951 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1952 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1953 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1954 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1955 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1956 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1957 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1959 Moved ...
1960 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1964 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1974 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1976 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1978 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1979 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1980 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1981 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1982 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1984 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1985 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1986 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1987 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1988 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1989
7c1c1d8e
RM
19902014-06-25 Roland McGrath <roland@hack.frob.com>
1991
1992 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1993 that was previously under [RESET_PID].
1994 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1995
3e239be6
JM
19962014-06-25 Joseph Myers <joseph@codesourcery.com>
1997
74385da5
JM
1998 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1999 not undefine and redefine.
2000 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2001 [O_CLOEXEC]: Make code unconditional.
2002 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2003 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2004 <kernel-features.h>.
2005 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2006 conditional variable definition.
2007 (shm_open) [O_CLOEXEC]: Make code unconditional.
2008 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2009 code.
2010
c2570a0b
JM
2011 * configure.ac (USE_REGPARMS): Don't define here.
2012 * configure: Regenerated.
2013 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2014 * sysdeps/i386/configure: Regenerated.
2015
11b076bb
JM
2016 * nptl/createthread.c: Don't include kernel-features.h.
2017 * nptl/pthread_cancel.c: Likewise.
2018 * nptl/pthread_condattr_setclock.c: Likewise.
2019 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2020 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2021 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2022 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2023 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2024 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2025 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2027 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2028 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2029 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2030 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2031 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2032 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2033 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2034 * nscd/gai.c: Likewise.
2035 * nss/nss_db/db-open.c: Likewise.
2036 * sysdeps/generic/ldsodefs.h: Likewise.
2037 * sysdeps/sh/nptl/tls.h: Likewise.
2038 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2039 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2040 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2041 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2042 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2043 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2044 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2045 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2046 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2047 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2048 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2049 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2050 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2051 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2052 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2053 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2054 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2055 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2056 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2057 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2058 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2059 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2060 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2061 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2062 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2063 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2064 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2065 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2066 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2067 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2068 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2069 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2070 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2071 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2072 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2073 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2074 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2075 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2076 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2077 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2078 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2079 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2080 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2081 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2082 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2083 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2084 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2085 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2086 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2087 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2088 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2089 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2090 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2091 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2092 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2093 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2094 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2095 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2118 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2119 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2120 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2121 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2122 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2123 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2124 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2125 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2126 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2127 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2128 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2129 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2130 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2131 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2132 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2133 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2135 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2136 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2137 * sysdeps/unix/sysv/linux/system.c: Likewise.
2138 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2139 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2140 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2141 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2142 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2143 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2144 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2145
92072d57
JM
2146 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2147 * configure: Regenerated.
2148 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2149
3e239be6
JM
2150 * configure.ac (base_machine): Do not set specially for particular
2151 machines here.
2152 * configure: Regenerated.
2153 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2154 settings from configure.ac.
2155 * sysdeps/i386/preconfigure: New file.
2156 * sysdeps/s390/preconfigure: Likewise.
2157 * sysdeps/sh/preconfigure: Likewise.
2158 * sysdeps/sparc/preconfigure: Likewise.
2159
06d50baa
RM
21602014-06-25 Roland McGrath <roland@hack.frob.com>
2161
74836003
RM
2162 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2163 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2164 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2165 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2166 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2167 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2168 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2169 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2170 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2171 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2172 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2173 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2174 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2175 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2176 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2177 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2179 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2180 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2181
2182 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2183 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2184 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2185 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2186 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2187 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2188 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2189 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2190 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2191 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2192 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2193 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2194 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2195 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2196 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2197 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2198 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2199 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2200 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2201 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2202 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2203 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2204 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2205 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2206 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2207 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2208 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2209 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2210 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2211 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2212 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2213 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2214 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2215 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2216 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2217 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2218 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2219 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2220
06d50baa
RM
2221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2222 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2224 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2226 Moved ...
2227 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2228 ... here.
2229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2230 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2234 Moved ...
2235 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2237 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2239 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2241 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2243 Moved ...
2244 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2246 Moved ...
2247 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2251 Moved ...
2252 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2254 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2256 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2258 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2260 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2262 Moved ...
2263 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2264 ... here.
2265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2266 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2268 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2270 Moved ...
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2273 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2275 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2279 Moved ...
2280 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2282 Moved ...
2283 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2287 Moved ...
2288 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2290 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2292 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2293
a4ccbc9b
JM
22942014-06-25 Joseph Myers <joseph@codesourcery.com>
2295
0828edbf
JM
2296 * timezone/checktab.awk: Update from tzcode 2014e.
2297 * timezone/private.h: Likewise.
2298 * timezone/tzfile.h: Likewise.
2299 * timezone/zdump.c: Likewise.
2300 * timezone/zic.c: Likewise.
2301
a4ccbc9b
JM
2302 * sysdeps/unix/sysv/linux/kernel-features.h
2303 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2304 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2305 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2306 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2307 Remove conditional code.
2308
9aea0cb8
WN
23092014-06-25 Will Newton <will.newton@linaro.org>
2310
2311 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2312 (_dl_arm_cap_flags): Add HWCAP2 values.
2313 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2314 (_DL_HWCAP_COUNT): Increase to 37.
2315 (_DL_HWCAP_LAST): New define.
2316 (_DL_HWCAP2_LAST): New define.
2317 (_dl_procinfo): Add support for printing
2318 AT_HWCAP2 entries.
2319 (_dl_string_hwcap): Use _dl_hwcap_string.
2320
6eaa65ce
AZ
23212014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2324
0f5b7185
JM
23252014-06-25 Joseph Myers <joseph@codesourcery.com>
2326
cfd2ea50
JM
2327 * README: Do not mention ports directory.
2328
cecf2ed4
JM
2329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2330 Remove macro.
2331 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2332 <kernel-features.h>.
2333 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2334 conditional variable definition.
2335 (__futimes): Update comment.
2336 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2337 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2338
a638de82
JM
2339 [BZ #16560]
2340 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2341 arguments close to 0.
2342 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2343 Likewise.
2344 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2345 Likewise.
2346 * math/auto-libm-test-in: Add more tests of exp10.
2347 * math/auto-libm-test-out: Regenerated.
2348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2349
0f5b7185
JM
2350 * sysdeps/unix/sysv/linux/kernel-features.h
2351 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2352 * sysdeps/unix/sysv/linux/readv.c: Do not include
2353 <kernel-features.h>.
2354 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2355 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2356 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2357 unconditional.
2358 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2359 conditional code.
2360 * sysdeps/unix/sysv/linux/writev.c: Do not include
2361 <kernel-features.h>.
2362 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2363 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2364 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2365 unconditional.
2366 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2367 conditional code.
2368
c7aec4be
WN
23692014-06-25 Will Newton <will.newton@linaro.org>
2370
2371 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2372 comment changes throughout the file. Remove checks
2373 for HAVE_*_H definitions that are not required.
2374 (__gen_tempname): Call abort if an unknown kind value is
2375 passed.
2376
c5241f95
AS
23772014-06-25 Andreas Schwab <schwab@suse.de>
2378
2379 [BZ #17086]
2380 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2381 scalbln, scalblnf, scalblnl in libc.
2382
911422da
SP
23832014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2384
2385 [BZ #17086]
2386 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2387 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2388 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2389
0d749bbe
RM
23902014-06-24 Roland McGrath <roland@hack.frob.com>
2391
2392 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2393 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2394 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2395 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2396 Update #include.
2397 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2398 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2399 Update #include.
2400 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2401 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2402 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2403 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2404 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2405 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2406 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2407 * sysdeps/x86/bits/semaphore.h: ... here.
2408 * sysdeps/x86/nptl/elide.h: Moved ...
2409 * sysdeps/x86/elide.h: ... here.
2410 * sysdeps/x86_64/nptl/Implies: File removed.
2411 * sysdeps/i386/nptl/Implies: File removed.
2412
0ea5d373
JM
24132014-06-24 Joseph Myers <joseph@codesourcery.com>
2414
4060283d
JM
2415 [BZ #16539]
2416 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2417 return the argument for normal arguments with exponent below -64.
2418 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2419 Likewise.
2420 * math/auto-libm-test-in: Add another test of expm1.
2421 * math/auto-libm-test-out: Regenerated.
2422
e7dd3c8c
JM
2423 [BZ #16287]
2424 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2425 calling __erfcl for arguments at least 16.
2426 * math/auto-libm-test-in: Add more tests of erf.
2427 * math/auto-libm-test-out: Regenerated.
2428
0ea5d373
JM
2429 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2430 individual architectures.
2431 * sysdeps/unix/sysv/linux/configure: Regenerated.
2432 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2433 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2434 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2435 (ldd_rewrite_script): Define variable.
2436 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2438 file.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2440 generated file.
2441 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2442 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2443 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2444 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2445 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2446 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2447 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2448 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2449
2307e126
SP
24502014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2451
2452 [BZ #17084]
2453 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2454 Rename member __data.d to __data.__elision_data.
2455
c0a4ed77
W
24562014-06-24 Wilco <wdijkstr@arm.com>
2457
2458 * NEWS: Add 16918 to fixed bug list.
2459
b8c00573
W
24602014-06-24 Wilco <wdijkstr@arm.com>
2461
2462 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2463
b5570d92
W
24642014-06-24 Wilco <wdijkstr@arm.com>
2465
2466 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2467 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2468 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2469 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2470 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2471 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2472 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2473 Use _FPU_MASK_RM.
2474
947bdca2
W
24752014-06-24 Wilco <wdijkstr@arm.com>
2476
2477 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2478
00f669ed
W
24792014-06-24 Wilco <wdijkstr@arm.com>
2480
2481 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2482 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2483 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2484 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2485
db59bad3
W
24862014-06-24 Wilco <wdijkstr@arm.com>
2487
2488 [BZ #16918]
2489 * sysdeps/arm/feupdateenv.c (feupdateenv):
2490 Rewrite to reduce FPSCR accesses and fix return value.
2491
001f7b77
W
24922014-06-24 Wilco <wdijkstr@arm.com>
2493
2494 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2495 Optimize to avoid unnecessary FPSCR writes.
2496 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2497 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2498 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2499 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2500
4841e6a6
W
25012014-06-24 Wilco <wdijkstr@arm.com>
2502
2503 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2504 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2505 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2506 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2507 Call libc_fetestexcept_vfp.
2508 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2509 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2510 __SOFTFP__ ifdef so that they can be built for softfp.
2511
0813022c
SP
25122014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2513
08e5862f
SP
2514 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2515 argument type signed char.
2516
0813022c
SP
2517 * Makerules (check-abi): Dump diff of symlist if the test
2518 fails.
2519
3fc7236a
RM
25202014-06-23 Roland McGrath <roland@hack.frob.com>
2521
aba8ef95
RM
2522 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2523 using abort.
2524
3fc7236a
RM
2525 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2526 Remove unused variable ST.
2527
4da6db51
JM
25282014-06-23 Joseph Myers <joseph@codesourcery.com>
2529
4648909d
JM
2530 [BZ #16354]
2531 [BZ #17061]
2532 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2533 small arguments before calling __expm1.
2534 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2535 small arguments before calling __expm1f.
2536 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2537 small arguments before calling __expm1l.
2538 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2539 Likewise.
2540 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2541 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2542 spurious underflow for some cosh tests.
2543 * math/auto-libm-test-out: Regenerated.
2544 * sysdeps/i386/fpu/libm-test-ulps: Update.
2545
46a3d3c7
JM
2546 [BZ #17050]
2547 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2548 (__ieee754_y1): Set errno if return value overflows.
2549 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2550 (__ieee754_y1f): Set errno if return value overflows.
2551 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2552 (__ieee754_y1l): Set errno if return value overflows.
2553 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2554 (__ieee754_y1l): Set errno if return value overflows.
2555 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2556 * math/auto-libm-test-out: Regenerated.
2557
863893ec
JM
2558 * math/gen-auto-libm-tests.c: Document use of
2559 ignore-zero-inf-sign.
2560 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2561 (input_flags): Add ignore-zero-inf-sign.
2562 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2563 * math/gen-libm-test.pl (generate_testfile): Handle
2564 ignore-zero-inf-sign.
2565 * math/auto-libm-test-in: Mark some cpow tests with
2566 ignore-zero-inf-sign and some with xfail-rounding.
2567 * math/auto-libm-test-out: Regenerated.
2568 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2569 * sysdeps/i386/fpu/libm-test-ulps: Update.
2570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2571
4da6db51
JM
2572 [BZ #16315]
2573 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2574 overflowing or underflowing operations take place with sign of
2575 result.
2576 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2577 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2578 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2579 (__ieee754_pow): Recompute overflowing and underflowing results in
2580 original rounding mode.
2581 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2582 (__powl_helper): Allow negative argument X and scale negated value
2583 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2584 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2585 overflowing or underflowing operations take place with sign of
2586 result.
2587 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2588 Include <math.h>.
2589 * math/auto-libm-test-in: Add more tests of pow.
2590 * math/auto-libm-test-out: Regenerated.
2591 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2592 (pow_tonearest_test_data): Remove.
2593 (pow_test_tonearest): Likewise.
2594 (pow_towardzero_test_data): Likewise.
2595 (pow_test_towardzero): Likewise.
2596 (pow_downward_test_data): Likewise.
2597 (pow_test_downward): Likewise.
2598 (pow_upward_test_data): Likewise.
2599 (pow_test_upward): Likewise.
2600 (main): Don't call removed functions.
2601 * sysdeps/i386/fpu/libm-test-ulps: Update.
2602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2603
5686b236
RM
26042014-06-23 Roland McGrath <roland@hack.frob.com>
2605
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2607 Moved ...
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2610 Moved ...
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2613 Moved ...
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2616 Moved ...
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2619 File removed.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2621 File removed.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2623 File removed.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2625 File removed.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2627 File removed.
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2629 File removed.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2631 File removed.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2633 File removed.
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2635 File removed.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2637 File removed.
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2639 File removed.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2641 File removed.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2643 Moved ...
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2646 Moved ...
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2648 ... here.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2650 Moved ...
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2653 Moved ...
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2656 Moved ...
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2659 Moved ...
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2662 Moved ...
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2665 Moved ...
2666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2668 Moved ...
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2672 ... here.
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2674 Moved ...
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2677 Moved ...
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2679 ... here.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2681 Moved ...
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2683 ... here.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2685 Moved ...
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2687 ... here.
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2689 Moved ...
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2692 Moved ...
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2697 Moved ...
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2699 ... here.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2701 Moved ...
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2703 ... here.
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2705 Moved ...
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2708 Moved ...
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2711 Moved ...
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2714 Moved ...
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2717 Moved ...
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2719 ... here.
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2721 Moved ...
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2724 Moved ...
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2727 Moved ...
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2730 Moved ...
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2735 Moved ...
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2738 Moved ...
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2741 Moved ...
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2743 ... here.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2745 Moved ...
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2747 ... here.
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2749 Moved ...
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2751 ... here.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2753 Moved ...
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2756 Moved ...
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2759 Moved ...
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2762 Moved ...
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2764 ... here.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2766 Moved ...
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2768 ... here.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2770 Moved ...
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2772 ... here.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2774 Moved ...
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2777 Moved ...
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2779
e6d90d67
WD
27802014-06-23 Will Newton <will.newton@linaro.org>
2781 Wilco <wdijkstr@arm.com>
2782
2783 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2784 implementation. Include get-rounding-mode.h.
2785 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2786 [!libc_feholdsetround_noex_ctx]: Define
2787 libc_feholdsetround_noex_ctx.
2788 [!libc_feholdsetround_noexf_ctx]: Define
2789 libc_feholdsetround_noexf_ctx.
2790 [!libc_feholdsetround_noexl_ctx]: Define
2791 libc_feholdsetround_noexl_ctx.
2792 (libc_feholdsetround_ctx): New function.
2793 (libc_feresetround_ctx): New function.
2794 (libc_feholdsetround_noex_ctx): New function.
2795 (libc_feresetround_noex_ctx): New function.
2796
d42df555
RM
27972014-06-23 Roland McGrath <roland@hack.frob.com>
2798
88a46474
RM
2799 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2800 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2801 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2802 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2803 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2804 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2805
15bed472
RM
2806 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2807 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2808 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2809 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2810 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2811 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2813 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2815 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2817 Moved ...
2818 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2819 ... here.
2820 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2821 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2823 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2825 Moved ...
2826 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2830 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2831 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2834 Moved ...
2835 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2836 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2837 Moved ...
2838 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2842 Moved ...
2843 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2844 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2845 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2846 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2847 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2848 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2849 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2851 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2852 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2853 Moved ...
2854 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2855 ... here.
2856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2857 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2858 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2859 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2860 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2861 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2862 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2863 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2864 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2865 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2867 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2868 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2869 Moved ...
2870 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2871 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2872 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2873 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2874 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2875 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2876 Moved ...
2877 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2879 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2880 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2881 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2882
d42df555
RM
2883 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2884 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2885 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2886 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2887 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2888 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2889 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2890 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2892 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2894 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2896 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2898 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2899 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2900 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2902 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2903 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2904 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2905 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2906 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2907 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2911
76e5216e
JM
29122014-06-23 Joseph Myers <joseph@codesourcery.com>
2913
2914 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2915 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2916 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2917 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2918 (IPV6_PMTUDISC_INTERFACE): Likewise.
2919 (IPV6_PMTUDISC_OMIT): Likewise.
2920
7a81cbcc
AS
29212014-06-23 Andreas Schwab <schwab@suse.de>
2922
2923 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2924 Remove unused errout label.
2925
db224009
AZ
29262014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927
2928 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2929 macro: hardware supports Vector Crypto instructions.
2930
f393b4aa
WN
29312014-06-23 Will Newton <will.newton@linaro.org>
2932
cc7d0447
WN
2933 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2934 rather than __builtin_expect.
2935
d6d06225
WN
2936 * elf/dl-lookup.c (undefined_msg): Remove variable.
2937 (_dl_lookup_symbol_x): Replace undefined_msg with string
2938 literal.
2939
f393b4aa
WN
2940 * elf/dl-lookup.c (do_lookup_unique): New function.
2941 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2942 to a separate function.
2943
ac60763e
AS
29442014-06-23 Andreas Schwab <schwab@suse.de>
2945
2946 [BZ #17079]
2947 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2948 before reading the next line.
2949
c5c13355
WN
29502014-06-23 Will Newton <will.newton@linaro.org>
2951
2952 * test-skeleton.c (signal_handler): Use printf and %m
2953 rather than perror. Use printf rather than fprintf to
2954 stderr. Use puts rather than fputs to stderr.
2955 (main): Likewise.
2956
bd3675f9
LC
29572014-06-22 Ludovic Courtès <ludo@gnu.org>
2958
2959 * nscd/nscd.c (thread_info_t): Remove typedef.
2960 (thread_info): Remove variable.
2961
d03efb2f
AM
29622014-06-21 Allan McRae <allan@archlinux.org>
2963
2964 * NEWS: Mention CVE-2014-4043.
2965
bc4a86fa
RM
29662014-06-20 Roland McGrath <roland@hack.frob.com>
2967
dc9a54f8
RM
2968 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2969 * nptl/smp.h: ... here.
2970
bd7022c4
RM
2971 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2972
26ffd5e6
RM
2973 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2974 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2975 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2976 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2977
93a6d082
RM
2978 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2979 * nptl/stack-aliasing.h: New file.
2980 * sysdeps/i386/i686/stack-aliasing.h: New file.
2981 * sysdeps/i386/i686/nptl/Makefile: File removed.
2982 * sysdeps/x86_64/stack-aliasing.h: New file.
2983 * sysdeps/x86_64/nptl/Makefile
2984 (CFLAGS-pthread_create.c): Variable removed.
2985
bc4a86fa
RM
2986 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2987 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2988 old file.
2989 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2990 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2991 old file.
2992
2272ffc1
JM
29932014-06-21 Joseph Myers <joseph@codesourcery.com>
2994
2995 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2996 (__ASSUME_SIGFRAME_V2): Remove macro.
2997 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2998 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2999 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3000 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3001 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3002 Declare as function. Remove conditional macro definitions.
3003 (__default_rt_sa_restorer): Likewise.
3004 (__default_sa_restorer_v1): Remove declaration.
3005 (__default_sa_restorer_v2): Likewise.
3006 (__default_rt_sa_restorer_v1): Likewise.
3007 (__default_rt_sa_restorer_v2): Likewise.
3008 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3009 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3010 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3011
4b88139b
RM
30122014-06-20 Roland McGrath <roland@hack.frob.com>
3013
3014 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3015 (libpthread-routines): Add sysdep.
3016 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3017 * sysdeps/unix/sysv/linux/sparc/Versions
3018 (libpthread: GLIBC_2.3.3): New version set.
3019 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3020 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3021 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3022 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3023 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3024 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3025 Moved ...
3026 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3028 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3029 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3030 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3031 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3032 * sysdeps/sparc/nptl/sem_init.c: ... here.
3033 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3034 * sysdeps/sparc/nptl/sem_post.c: ... here.
3035 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3036 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3037 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3038 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3039 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3040 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3041 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3042 (libpthread-routines): Add cpu_relax.
3043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3044 File removed.
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3046 (librt: GLIBC_2.3.3): New version set.
3047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3048 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3049 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3050 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3053 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3055 Moved ...
3056 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3058 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3060 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3062 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3064 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3066 Moved ...
3067 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3068 Update #include.
3069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3070 Moved ...
3071 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3072 Update #include.
3073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3074 Moved ...
3075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3076 Update #include.
3077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3078 Moved ...
3079 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3080 Update #include.
3081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3082 Moved ...
3083 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3084 Update #include.
3085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3086 Moved ...
3087 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3088 Update #include.
3089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3090 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3093 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3097 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3098 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3100 Moved ...
3101 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3106
d7109027
JM
31072014-06-20 Joseph Myers <joseph@codesourcery.com>
3108
9bc6103d
JM
3109 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3110 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3111 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3112 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3113 * nscd/nscd.c: Likewise.
3114 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3115 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3116 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3117 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3118
d7109027
JM
3119 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3120 <kernel-features.h>.
3121 (init_mq_netlink): Remove conditional have_sock_cloexec
3122 definitions. Remove code conditional on have_sock_cloexec < 0.
3123 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3124 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3125 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3126 <kernel-features.h>.
3127 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3128 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3129
d92d8f8a
L
31302014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3131
3132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3133 Add tests for memset_chk and memset.
3134
3135 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3136 with AVX2_Usable.
3137
4e6d2347
MR
31382014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3139
257ce712
MR
3140 [BZ #16046]
3141 * elf/tst-dl-iter-static.c: New file.
3142 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3143
4e6d2347
MR
3144 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3145 error.
3146
a2a76afe
JM
31472014-06-20 Joseph Myers <joseph@codesourcery.com>
3148
7fd00f99
JM
3149 * sysdeps/unix/sysv/linux/kernel-features.h
3150 (__ASSUME_F_GETOWN_EX): Remove macro.
3151 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3152 <kernel-features.h>.
3153 (miss_F_GETOWN_EX): Remove variable or macro.
3154 (do_fcntl): Do not check miss_F_GETOWN_EX.
3155 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3156
4a103975
JM
3157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3158 Remove macro.
3159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3160 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3161 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3162
a2a76afe
JM
3163 * sysdeps/unix/sysv/linux/kernel-features.h
3164 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3165 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3166 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3167 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3168
90e5dd48
MR
31692014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3170
3171 [BZ #17075]
3172 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3173 Fix calculation of the symbol's value.
3174 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3175 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3176 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3177 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3178 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3179 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3180 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3181 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3182 (modules-names): Add `tst-armtlsdescmod',
3183 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3184 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3185 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3186 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3187 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3188 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3189 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3190 ($(objpfx)tst-armtlsdescloc): New dependency.
3191 ($(objpfx)tst-armtlsdescextnow): Likewise.
3192 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3193 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3194 TLS scheme support.
3195 * sysdeps/arm/configure: Regenerate.
3196
809fdf0d
JM
31972014-06-20 Joseph Myers <joseph@codesourcery.com>
3198
3199 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3200 (__atfct_seterrno_2): Likewise.
3201 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3202 <kernel-features.h>.
3203 (__ASSUME_ATFCTS): Do not undefine and redefine.
3204 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3205 (__have_atfcts): Remove conditional definition.
3206 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3207 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3208 unreachable if [__ASSUME_ATFCTS].
3209 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3210 not undefine and redefine.
3211 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3212 <kernel-features.h>.
3213 (faccessat) [__NR_faccessat]: Make code unconditional.
3214 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3215 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3216 <kernel-features.h>.
3217 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3218 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3219 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3220 <kernel-features.h>.
3221 (fchownat) [__NR_fchownat]: Make code unconditional.
3222 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3223 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3224 <kernel-features.h>.
3225 (futimesat) [__NR_futimesat]: Make code unconditional.
3226 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3227 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3228 <kernel-features.h>.
3229 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3230 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3231 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3232 <kernel-features.h>.
3233 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3234 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3235 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3236 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3237 <kernel-features.h>.
3238 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3239 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3240 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3241 <kernel-features.h>.
3242 (linkat) [__NR_linkat]: Make code unconditional.
3243 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3244 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3245 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3246 <kernel-features.h>.
3247 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3248 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3249 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3250 <kernel-features.h>.
3251 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3252 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3253 * sysdeps/unix/sysv/linux/openat.c: Do not include
3254 <kernel-features.h>.
3255 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3256 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3257 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3258 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3259 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3260 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3261 <kernel-features.h>.
3262 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3263 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3264 result of INLINE_SYSCALL directly, not via int variable.
3265 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3266 <kernel-features.h>.
3267 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3268 (renameat) [__NR_renameat]: Make code unconditional.
3269 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3270 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3271 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3272 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3273 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3274 (__ASSUME_ATFCTS): Do not undefine and redefine.
3275 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3276 <kernel-features.h>.
3277 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3278 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3279 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3280 <kernel-features.h>.
3281 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3282 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3283 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3284 (__ASSUME_ATFCTS): Do not undefine and redefine.
3285 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3286 <kernel-features.h>.
3287 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3288 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3289 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3290 <kernel-features.h>.
3291 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3292 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3293
224c6c51
L
32942014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3295
3296 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3297
aa6ec754
AS
32982014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3299
3300 [BZ #17069]
3301 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3302 constructed tree before returning error.
3303 * posix/bug-regexp36.c: Expand test case.
3304
d8c2869d
SL
33052014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3306
3ef6b850
SL
3307 [BZ #6803]
3308 * math/libm-test.inc (scalbln_test_date):
3309 Add errno expectations.
3310 * math/w_scalblnf.c: New File.
3311 Add wrapper which checks for setting errno to ERANGE.
3312 Add weak_alias for corresponding scalbln function.
3313 * math/w_scalbln.c: Likewise.
3314 * math/w_scalblnl.c: Likewise.
3315 * math/Makefile (libm-calls): Add w_scalbln.
3316 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3317 Remove weak_alias for corresponding scalbln function.
3318 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3320 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3322 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3323 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3324 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3325 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3326 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3327 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3328 Remove long_double_symbol for scalblnl function in libm, libc.
3329 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3330 Add wrapper which checks for setting errno to ERANGE.
3331 Add long_double_symbol for scalblnl function in libm, libc.
3332 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3333 Remove long_double_symbol for scalblnl in libm.
3334 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3335 Add wrapper which checks for setting errno to ERANGE.
3336 Add long_double_symbol for scalblnl function in libm.
3337 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3338 Do not use wrapper because of own implementation.
3339
c8daec5c
L
33402014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3341
3342 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3343 3 bytes for __pad1 for x32.
3344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3345
5c74e47c
LM
33462014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3347 H.J. Lu <hongjiu.lu@intel.com>
3348
3349 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3350 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3351 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3352 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3353 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3354
4d43ef1e
AS
33552014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3356
3357 [BZ #17069]
3358 * posix/regcomp.c (parse_expression): Deallocate partially
3359 constructed tree before returning error.
3360 * posix/Makefile.c (tests): Add bug-regex36.
3361 (generated): Add bug-regex36.mtrace.
3362 (tests-special): Add $(objpfx)bug-regex36-mem.out
3363 (bug-regex36-ENV): New variable.
3364 ($(objpfx)bug-regex36-mem.out): New rule.
3365 * posix/bug-regex36.c: New file.
3366
51a7380b
WN
33672014-06-19 Will Newton <will.newton@linaro.org>
3368
3369 * malloc/malloc.c (systrim): If extra is zero then return
3370 early.
3371
91b84fe5
SP
33722014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3373
3374 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3375
f940b965
RE
33762014-06-19 Richard Earnshaw <rearnsha@arm.com>
3377
3378 * sysdeps/aarch64/strchr.S: New file.
3379
4ba7a00f
JM
33802014-06-18 Joseph Myers <joseph@codesourcery.com>
3381
3382 [BZ #17022]
3383 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3384 from arguments -2 or below.
3385 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3386 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3387
b3a9f56b
AS
33882014-06-18 Andreas Schwab <schwab@suse.de>
3389
3390 [BZ #17062]
3391 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3392 of a bracket expr not to run off the end of the string.
3393 * posix/Makefile (tests): Add tst-fnmatch3.
3394 * posix/tst-fnmatch3.c: New file.
3395
85d89278
JM
33962014-06-18 Joseph Myers <joseph@codesourcery.com>
3397
3398 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3399 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3400 [$(cross-compiling) = no]: Likewise.
3401 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3402 [$(cross-compiling) = no]: Likewise.
3403
754c5a08
RS
34042014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3405
3406 [BZ #17031]
3407 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3408 double, adjusted for any remainder from the high double.
3409 * math/libm-test.inc (nearbyint): Add tests.
3410 (rint): Likewise.
3411
556f529d
AZ
34122014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3413
3414 * nptl/sysdeps/powerpc/Makefile: Moved ...
3415 * sysdeps/powerpc/nptl/Makefile: ... here.
3416 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3417 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3418 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3419 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3420 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3421 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3422 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3423 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3424 * nptl/sysdeps/powerpc/tls.h: Moved ...
3425 * sysdeps/powerpc/nptl/tls.h: ... here.
3426
91c03c53
JM
34272014-06-16 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #16681]
3430 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3431 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3432 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3433 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3434 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3435 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3436 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3437 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3438 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3439
a76e63c5
AS
34402014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3441
3442 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3443
f2f6d82f
AS
34442014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3445
ea8a15f6
AS
3446 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3447 defined operator.
3448
f2f6d82f
AS
3449 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3450 $TIMEOUTFACTOR.
3451
a7291117
FW
34522014-06-16 Florian Weimer <fweimer@redhat.com>
3453
3454 [BZ #17058]
3455 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3456 non-executed part of the test.
3457
3d7c00e3
AS
34582014-06-16 Andreas Schwab <schwab@suse.de>
3459
3460 * string/bits/string2.h (strdup, strndup): Update feature guard.
3461
6957fb31
DM
34622014-06-14 David S. Miller <davem@davemloft.net>
3463
3464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3465
11b9e55b
AS
34662014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3467
1d2a0492
AS
3468 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3469 that was previously under [RESET_PID].
3470 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3471
11b9e55b
AS
3472 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3473 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3474 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3475 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3476 (__libc_vfork): New strong alias.
3477 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3478
0f6901d0
AK
34792014-06-14 Andi Kleen <ak@linux.intel.com>
3480
3481 * sysdeps/generic/elide.h: New file.
3482
38bbbb9f
SL
34832014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3484
3485 * Makefile (installed-headers): Adjust path of pthread.h header.
3486
45193bb8
RM
34872014-06-13 Roland McGrath <roland@hack.frob.com>
3488
9a25fd1e
RM
3489 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3490 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3491 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3492 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3493
4004f7e4
RM
3494 * nptl/sysdeps/s390/Makefile: Moved ...
3495 * sysdeps/s390/nptl/Makefile: ... here.
3496 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3497 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3498 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3499 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3500 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3501 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3502 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3503 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3504 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3505 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3506 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3507 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3508 * nptl/sysdeps/s390/tls.h: Moved ...
3509 * sysdeps/s390/nptl/tls.h: ... here.
3510
45193bb8
RM
3511 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3512 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3513
f6fdf533
DM
35142014-06-13 David S. Miller <davem@davemloft.net>
3515
3516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3519 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3523 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3524 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3525 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3526 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3527 Remove RESET_PID cpp guards.
3528 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3529 Remove RESET_PID cpp guards.
3530 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3531
f5d71e14
AS
35322014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3533
3534 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3535 __sp to uintptr_t.
3536
b7aa8caa
AK
35372014-06-13 Andi Kleen <ak@linux.intel.com>
3538
4b266200
AZ
3539 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3540 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3541 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3542 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3543 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3544 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3545 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3546 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3547 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3548 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3549 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3550 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3551 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3552 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3553 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3554 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3555 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3556 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3557 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3558 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3559
3560 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3561 (pthread_rwlock_rdlock): Add elision.
3562 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3563 (pthread_rwlock_wrlock): Add elision.
3564 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3565 (pthread_rwlock_trywrlock): Add elision.
3566 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3567 (pthread_rwlock_tryrdlock): Add elision.
3568 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3569 (pthread_rwlock_tryrdlock): Add elision unlock.
3570 * nptl/sysdeps/pthread/pthread.h:
3571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3572 (PTHREAD_RWLOCK_INITIALIZER,
3573 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3574 Handle new elision field.
3575 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3576 * sysdeps/arm/nptl/bits/pthreadtypes.h
3577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3578 * sysdeps/sh/nptl/bits/pthreadtypes.h
3579 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3580 * sysdeps/tile/nptl/bits/pthreadtypes.h
3581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3582 * sysdeps/a/nptl/bits/pthreadtypes.h
3583 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3584 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3585 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3586 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3588 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3590 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3592 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3593 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3594 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3595 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3596 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3597 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3598 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3599 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3600 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3601 (elision_init): Set try_xbegin to zero when no RTM.
3602 * sysdeps/x86/nptl/bits/pthreadtypes.h
3603 (pthread_rwlock_t): Change __pad1 to __rwelision.
3604 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3605
a832bdd3
AK
36062014-06-13 Andi Kleen <ak@linux.intel.com>
3607
3608 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3609 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3610 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3611 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3612
995a46bb
MI
36132014-06-13 Meador Inge <meadori@codesourcery.com>
3614
3615 [BZ #16996]
03ed7738 3616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3617 that the cached result has been set before returning it.
3618
45262aee
RM
36192014-06-12 Roland McGrath <roland@hack.frob.com>
3620
febf6cc5
RM
3621 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3622 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3624 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3626 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3627
e2682246
RM
3628 * nptl/sysdeps/sparc/Makefile: Moved ...
3629 * sysdeps/sparc/nptl/Makefile: ... here.
3630 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3631 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3632 * nptl/sysdeps/sparc/tls.h: Moved ...
3633 * sysdeps/sparc/nptl/tls.h: ... here.
3634 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3635 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3636 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3637 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3638 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3639 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3640 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3641 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3642 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3643 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3644 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3645 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3646 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3647 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3648 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3649 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3650 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3651 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3652 Update #include.
3653 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3654 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3655 Update #include.
3656 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3657 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3658 Update #include.
3659 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3660 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3661 Update #include.
3662
b0725f43
RM
3663 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3664
b14368b8
RM
3665 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3666 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3667
c5620eb3
RM
3668 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3669 (struct list_links): Type removed.
3670 (struct thread_node, struct timer_node): Replace struct list_links
3671 with struct list_head.
3672 (list_unlink_ip): Likewise.
3673 * sysdeps/pthread/timer_routines.c
3674 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3675 (list_append, list_insbefore): Likewise.
3676 (list_init): Function removed.
3677 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3678 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3679 * sysdeps/pthread/Makefile: ... here, new file.
3680
3681 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3682 * sysdeps/nptl/Implies: ... here.
3683 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3684 * nptl/sysdeps/pthread/list.h: Moved ...
3685 * include/list.h: ... here.
3686 * nptl/sysdeps/pthread/createthread.c: Moved ...
3687 * nptl/createthread.c: ... here.
3688 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3689 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3690 * nptl/pt-longjmp.c: ... here.
3691 * nptl/sysdeps/pthread/Makefile: Moved ...
3692 * sysdeps/nptl/Makefile: ... here.
3693 * nptl/sysdeps/pthread/Subdirs: Moved ...
3694 * sysdeps/nptl/Subdirs: ... here.
3695 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3696 * sysdeps/nptl/aio_misc.h: ... here.
3697 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3698 * sysdeps/nptl/bits/libc-lock.h: ... here.
3699 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3700 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3701 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3702 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3703 * nptl/sysdeps/pthread/configure: Moved ...
3704 * sysdeps/nptl/configure: ... here.
3705 * nptl/sysdeps/pthread/configure.ac: Moved ...
3706 * sysdeps/nptl/configure.ac: ... here.
3707 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3708 * sysdeps/nptl/gai_misc.h: ... here.
3709 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3710 * sysdeps/nptl/librt-cancellation.c: ... here.
3711 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3712 * sysdeps/nptl/malloc-machine.h: ... here.
3713 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3714 * sysdeps/nptl/pthread-functions.h: ... here.
3715 * nptl/sysdeps/pthread/pthread.h: Moved ...
3716 * sysdeps/nptl/pthread.h: ... here.
3717 * nptl/sysdeps/pthread/setxid.h: Moved ...
3718 * sysdeps/nptl/setxid.h: ... here.
3719 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3720 * sysdeps/nptl/sigfillset.c: ... here.
3721 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3722 * sysdeps/nptl/tcb-offsets.h: ... here.
3723 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3724 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3725 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3726 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3727 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3728 * sysdeps/pthread/allocalim.h: ... here.
3729 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3730 * sysdeps/pthread/bits/sigthread.h: ... here.
3731 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3732 * sysdeps/pthread/flockfile.c: ... here.
3733 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3734 * sysdeps/pthread/ftrylockfile.c: ... here.
3735 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3736 * sysdeps/pthread/funlockfile.c: ... here.
3737 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3738 * sysdeps/pthread/posix-timer.h: ... here.
3739 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3740 * sysdeps/pthread/timer_create.c: ... here.
3741 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3742 * sysdeps/pthread/timer_delete.c: ... here.
3743 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3744 * sysdeps/pthread/timer_getoverr.c: ... here.
3745 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3746 * sysdeps/pthread/timer_gettime.c: ... here.
3747 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3748 * sysdeps/pthread/timer_routines.c: ... here.
3749 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3750 * sysdeps/pthread/timer_settime.c: ... here.
3751 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3752 * sysdeps/pthread/tst-timer.c: ... here.
3753 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3754 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3755
e876b090
RM
3756 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3757 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3758
f6b07b3d
RM
3759 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3760 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3761 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3762 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3763 Update #include target.
3764 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3765 * sysdeps/i386/i686/nptl/Makefile: ... here.
3766 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3767 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3768 Update #include target.
3769 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3770 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3771 * nptl/sysdeps/i386/Makefile: Moved ...
3772 * sysdeps/i386/nptl/Makefile: ... here.
3773 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3774 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3775 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3776 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3777 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3778 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3779 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3780 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3781 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3782 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3783 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3784 * nptl/sysdeps/i386/tls.h: Moved ...
3785 * sysdeps/i386/nptl/tls.h: ... here.
3786
45262aee
RM
3787 * sysdeps/sh/Makefile [$(subdir) = csu]
3788 (gen-as-const-headers): Add tcb-offsets.sym.
3789 * nptl/sysdeps/sh/Makefile: File removed.
3790 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3791 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3792 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3793 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3794 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3795 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3796 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3797 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3798 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3799 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3800 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3801 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3802 * nptl/sysdeps/sh/tls.h: Moved ...
3803 * sysdeps/sh/nptl/tls.h: ... here.
3804 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3805 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3806 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3807 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3808 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3809 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3810 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3811 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3813 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3815 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3817 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3819 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3821 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3823 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3824 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3825 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3827 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3828 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3829 Moved ...
3830 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3832 Moved ...
3833 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3834 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3835 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3836 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3837 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3838 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3839 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3840 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3841 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3843 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3844 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3845 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3846 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3847 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3848 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3849 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3850 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3851 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3852
35a5e3e3
SL
38532014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3854
3855 * posix/spawn_faction_addopen.c: Include string.h.
3856
14642b85
RM
38572014-06-11 Roland McGrath <roland@hack.frob.com>
3858
3859 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3860 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3861 * nptl/sysdeps/x86_64/Makefile: Moved ...
3862 * sysdeps/x86_64/nptl/Makefile: ... here.
3863 * nptl/sysdeps/x86_64/configure: Moved ...
3864 * sysdeps/x86_64/nptl/configure: ... here.
3865 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3866 * sysdeps/x86_64/nptl/configure.ac: ... here.
3867 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3868 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3869 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3870 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3871 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3872 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3873 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3874 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3875 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3876 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3877 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3878 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3879 * nptl/sysdeps/x86_64/tls.h: Moved ...
3880 * sysdeps/x86_64/nptl/tls.h: ... here.
3881 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3882 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3883 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3884 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3885
3886 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3887
31c44fea
AZ
38882014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3889
3890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3891
e81a4f9a
JM
38922014-06-11 Joseph Myers <joseph@codesourcery.com>
3893
3894 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3895 type.
3896 [POSIX] (off_t): Likewise.
3897 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3898 [POSIX] (S_ISBLK): Require macro.
3899 [POSIX] (S_ISCHR): Likewise.
3900 [POSIX] (S_ISDIR): Likewise.
3901 [POSIX] (S_ISFIFO): Likewise.
3902 [POSIX] (S_ISREG): Likewise.
3903 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3904 optional-macro.
3905 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3906 type.
3907 [POSIX] (time_t): Likewise.
3908 [POSIX] (timer_t): Likewise.
3909
89e435f3
FW
39102014-06-11 Florian Weimer <fweimer@redhat.com>
3911
3912 [BZ #17048]
3913 * posix/spawn_int.h (struct __spawn_action): Make the path string
3914 non-const to support deallocation.
3915 * posix/spawn_faction_addopen.c
3916 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3917 * posix/spawn_faction_destroy.c
3918 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3919 path in all spawn_do_open actions.
3920 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3921 posix_spawn_file_actions_addopen.
3922
c3a2ebe1
CM
39232014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3924
3925 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3926 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3927 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3928 conditional code always true.
3929 (__libc_vfork): New alias.
3930
9503784a
RM
39312014-06-11 Roland McGrath <roland@hack.frob.com>
3932
c9cab3d2
RM
3933 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3934 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3935
d3996c79
RM
3936 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3937
ba5ec611
RM
3938 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3939 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3940
f12b4814
RM
3941 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3942 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3943
9503784a
RM
3944 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3945 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3946
e23d3d26
VR
39472014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3948
3949 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3950 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3951 multiarch strcmp for PPC64.
3952 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3953 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3955 multiarch optimizations.
3956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3957 (__libc_ifunc_impl_list): Likewise.
3958
42b1161e
SP
39592014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3960
3961 * benchtests/scripts/validate_benchout.py: New script.
3962 * benchtests/Makefile (bench-func): Call it.
3963 * benchtests/scripts/benchout.schema.json: New file.
3964
2d0fc4dc
CM
39652014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3966
4a594c34
AZ
3967 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3968 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3969 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3970 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3971 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3972 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3973 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3974 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3975 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3976 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3977 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3978 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3979 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3980 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3981 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3982 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3984 Moved ...
4a594c34 3985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3986 ... here.
4a594c34 3987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3988 Moved ...
4a594c34
AZ
3989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3991 Moved ...
4a594c34 3992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3993 ... here.
4a594c34 3994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3995 Moved ...
4a594c34 3996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3997 ... here.
4a594c34 3998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3999 Moved ...
4a594c34
AZ
4000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4002 Moved ...
4a594c34 4003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4004 ... here.
4a594c34 4005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4006 Moved ...
4a594c34 4007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4008 ... here.
4a594c34 4009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4010 Moved ...
4a594c34
AZ
4011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4013 Moved ...
4a594c34 4014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4015 ... here.
4a594c34 4016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4017 Moved ...
4a594c34 4018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4019 ... here.
4a594c34 4020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4021 Moved ...
4a594c34 4022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4023 ... here.
4a594c34 4024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4025 Moved ...
4a594c34
AZ
4026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4028 Moved ...
4a594c34 4029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4030 ... here.
4a594c34 4031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4032 Moved ...
4a594c34 4033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4034 ... here.
4a594c34 4035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4036 Moved ...
4a594c34 4037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4038 ... here.
4a594c34 4039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4040 Moved ...
4a594c34
AZ
4041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4043 Moved ...
4a594c34 4044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4045 ... here.
4a594c34 4046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4047 Moved ...
4a594c34 4048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4049 ... here.
4a594c34 4050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4051 Moved ...
4a594c34
AZ
4052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4054 Moved ...
4a594c34 4055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4056 ... here.
4a594c34 4057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4058 Moved ...
4a594c34
AZ
4059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4061 Moved ...
4a594c34
AZ
4062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4064 Moved ...
4a594c34 4065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4066 ... here.
4a594c34 4067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4068 Moved ...
4a594c34 4069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4070 ... here.
4a594c34 4071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4072 Moved ...
4a594c34 4073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4074 ... here.
4a594c34 4075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4076 Moved ...
4a594c34
AZ
4077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4079 Moved ...
4a594c34 4080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4081 ... here.
4a594c34 4082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4083 Moved ...
4a594c34 4084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4085 ... here.
4a594c34
AZ
4086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4087 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4091 Moved ...
4a594c34 4092 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4093 ... here.
4a594c34
AZ
4094 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4095 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4103 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4107 Moved ...
4a594c34
AZ
4108 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4110 Moved ...
4a594c34
AZ
4111 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4115 Moved ...
4a594c34
AZ
4116 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4118 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4120 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4121 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4122 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4123
0570cfed
W
41242014-06-10 Wilco <wdijkstr@arm.com>
4125
4126 * math/test-fenv-return.c: New file.
4127 * math/Makefile: Add new test test-fenv-return.
4128
f8ba1b56
JM
41292014-06-10 Joseph Myers <joseph@codesourcery.com>
4130
4131 [BZ #17042]
4132 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4133 when x - 1 is zero.
4134 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4135 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4136 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4137 0.0L for an argument of 1.0L.
4138 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4139 Likewise.
4140 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4141 value when x - 1 is zero.
4142 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4143 * sysdeps/i386/fpu/libm-test-ulps: Update.
4144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4145
2c3520d9
BO
41462014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4147
4148 [BZ #15119]
4149 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4150
acaa4d24
RM
41512014-06-09 Roland McGrath <roland@hack.frob.com>
4152
4153 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4154 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4155
962b744d
RM
41562014-06-09 Roland McGrath <roland@hack.frob.com>
4157
d752f0cc
RM
4158 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4159 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4160
34eda6d1
RM
4161 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4162 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4163
50f0a637
RM
4164 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4165 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4166
08f41f04
RM
4167 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4168 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4169
962b744d
RM
4170 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4171 if not already defined.
4172 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4173 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4174 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4175 (TLS_INIT_TP): Use it.
4176 (TLS_DEFINE_INIT_TP): New macro.
4177 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4178
09f19b05
JM
41792014-06-09 Joseph Myers <joseph@codesourcery.com>
4180
4181 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4182 constant.
4183 [POSIX] (IXANY): Likewise.
4184 [POSIX] (OLCUC): Likewise.
4185 [POSIX || POSIX2008] (CBAUD): Do not allow.
4186 [POSIX || POSIX2008] (DEFECHO): Likewise.
4187 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4188 [POSIX || POSIX2008] (ECHOKE): Likewise.
4189 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4190 [POSIX || POSIX2008] (EXTA): Likewise.
4191 [POSIX || POSIX2008] (EXTB): Likewise.
4192 [POSIX || POSIX2008] (FLUSHO): Likewise.
4193 [POSIX || POSIX2008] (LOBLK): Likewise.
4194 [POSIX || POSIX2008] (PENDIN): Likewise.
4195 [POSIX || POSIX2008] (SWTCH): Likewise.
4196 [POSIX || POSIX2008] (VDISCARD): Likewise.
4197 [POSIX || POSIX2008] (VDSUSP): Likewise.
4198 [POSIX || POSIX2008] (VLNEXT): Likewise.
4199 [POSIX || POSIX2008] (VREPRINT): Likewise.
4200 [POSIX || POSIX2008] (VSTATUS): Likewise.
4201 [POSIX || POSIX2008] (VWERASE): Likewise.
4202 (B*): Change to B[0123456789]*.
4203 * conform/data/time.h-data [POSIX || UNIX98]
4204 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4205 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4206 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4207 [POSIX] (tm_*): Do not allow.
4208
686554bf
JM
42092014-06-07 Joseph Myers <joseph@codesourcery.com>
4210
4211 * Makefile (install): Don't set LANGUAGE.
4212 * Makefile.in (install): Likewise.
4213 * assert/Makefile (test-assert-ENV): Remove variable.
4214 (test-assert-perr-ENV): Likewise.
4215 * elf/Makefile (neededtest4-ENV): Likewise.
4216 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4217 [$(cross-compiling) = no]: Don't set LANGUAGE.
4218 * io/ftwtest-sh (LANG): Remove variable.
4219 * libio/Makefile (tst-widetext-ENV): Likewise.
4220 * manual/install.texi (Running make install): Don't refer to
4221 environment settings for make install.
4222 * INSTALL: Regenerated.
4223 * nptl/tst-tls6.sh: Don't set LANG.
4224 * posix/globtest.sh (LANG): Remove variable.
4225 * string/Makefile (tester-ENV): Likewise.
4226 (inl-tester-ENV): Likewise.
4227 (noinl-tester-ENV): Likewise.
4228 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4229 [$(cross-compiling) = no]: Don't set LANGUAGE.
4230 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4231 without explicit environment settings.
4232
68e6b6b1
RM
42332014-06-06 Roland McGrath <roland@hack.frob.com>
4234
4235 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4236 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4237 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4238 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4239
4d3ae034
CM
42402014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4241
4242 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4243 other files in the crypt directory.
4244 * crypt/crypt.c: Remove duplicate includes.
4245 * crypt/crypt-entry.c: Likewise.
4246 * crypt/crypt_util.c: Likewise.
4247
8540f6d2
JM
42482014-06-06 Joseph Myers <joseph@codesourcery.com>
4249
4250 * Makeconfig (run-program-env): New variable.
4251 (run-program-prefix-before-env): Likewise.
4252 (run-program-prefix-after-env): Likewise.
4253 (run-program-prefix): Define in terms of new variables.
4254 (built-program-cmd-before-env): New variable.
4255 (built-program-cmd-after-env): Likewise.
4256 (built-program-cmd): Define in terms of new variables.
4257 (test-program-prefix-before-env): New variable.
4258 (test-program-prefix-after-env): Likewise.
4259 (test-program-prefix): Define in terms of new variables.
4260 (test-program-cmd-before-env): New variable.
4261 (test-program-cmd-after-env): Likewise.
4262 (test-program-cmd): Define in terms of new variables.
4263 * Rules (make-test-out): Use $(run-program-env).
4264 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4265 (help): Do not mention environment variables. Mention
4266 --timeoutfactor option.
4267 (timeoutfactor): New variable.
4268 (blacklist_exports): Remove function.
4269 (exports): Remove variable.
4270 (command): Do not include ${exports}.
4271 * manual/install.texi (Configuring and compiling): Do not mention
4272 test wrappers preserving environment variables. Mention that last
4273 assignment to a variable must take precedence.
4274 * INSTALL: Regenerated.
4275 * benchtests/Makefile (run-bench): Use $(run-program-env).
4276 * catgets/Makefile ($(objpfx)test1.cat): Use
4277 $(built-program-cmd-before-env), $(run-program-env) and
4278 $(built-program-cmd-after-env).
4279 ($(objpfx)test2.cat): Do not specify environment variables
4280 explicitly.
4281 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4282 $(run-program-env) and $(built-program-cmd-after-env).
4283 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4284 $(run-program-env) and $(test-program-cmd-after-env).
4285 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4286 explicitly.
4287 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4288 run_program_env and test_program_cmd_after_env arguments.
4289 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4290 * elf/tst-pathopt.sh: Use run_program_env argument.
4291 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4292 $(test-wrapper-env) and $(run-program-env).
4293 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4294 run_program_env arguments.
4295 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4296 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4297 $(test-program-prefix-before-env), $(run-program-env) and
4298 $(test-program-prefix-after-env).
4299 ($(objpfx)tst-gettext2.out): Likewise.
4300 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4301 run_program_env and test_program_prefix_after_env arguments.
4302 * intl/tst-gettext2.sh: Likewise.
4303 * intl/tst-gettext4.sh: Do not set environment variables
4304 explicitly.
4305 * intl/tst-gettext6.sh: Likewise.
4306 * intl/tst-translit.sh: Likewise.
4307 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4308 $(test-program-prefix-before-env), $(run-program-env) and
4309 $(test-program-prefix-after-env).
4310 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4311 run_program_env and test_program_prefix_after_env arguments.
4312 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4313 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4314 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4315 explicitly with each use of ${test_wrapper_env}.
4316 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4317 $(test-program-prefix-before-env), $(run-program-env) and
4318 $(test-program-prefix-after-env).
4319 * posix/tst-getconf.sh: Do not set environment variables
4320 explicitly.
4321 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4322 run_program_env and test_program_prefix_after_env arguments.
4323 * stdio-common/tst-printf.sh: Do not set environment variables
4324 explicitly.
4325 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4326 $(test-program-prefix-before-env), $(run-program-env) and
4327 $(test-program-prefix-after-env).
4328 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4329 run_program_env and test_program_prefix_after_env arguments.
4330 Split $test calls into $test_pre and $test.
4331 * timezone/Makefile (build-testdata): Use
4332 $(built-program-cmd-before-env), $(run-program-env) and
4333 $(built-program-cmd-after-env).
4334
ed36bfa1
AZ
43352014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4336
4337 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4338 strlen for non SHARED builds.
4339
fc75bf46
SP
43402014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4341
4342 * nptl/allocatestack.c (check_list): Inlined function...
4343 (__reclaim_stacks): ... here.
4344
d89b3d80
OB
43452014-06-05 Ondřej Bílka <neleai@seznam.cz>
4346
4347 [BZ #15698]
4348 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4349 memory overrun.
4350
2bf18041
JM
43512014-06-05 Joseph Myers <joseph@codesourcery.com>
4352
4353 * Rules (make-test-out): Include
4354 LOCPATH=$(common-objpfx)localedata in default environment.
4355 * debug/Makefile (tst-chk1-ENV): Remove variable.
4356 (tst-chk2-ENV): Likewise.
4357 (tst-chk3-ENV): Likewise.
4358 (tst-chk4-ENV): Likewise.
4359 (tst-chk5-ENV): Likewise.
4360 (tst-chk6-ENV): Likewise.
4361 (tst-lfschk1-ENV): Likewise.
4362 (tst-lfschk2-ENV): Likewise.
4363 (tst-lfschk3-ENV): Likewise.
4364 (tst-lfschk4-ENV): Likewise.
4365 (tst-lfschk5-ENV): Likewise.
4366 (tst-lfschk6-ENV): Likewise.
4367 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4368 (tst-iconv7-ENV): Likewise.
4369 * intl/Makefile (LOCPATH-ENV): Likewise.
4370 (tst-codeset-ENV): Likewise.
4371 (tst-gettext3-ENV): Likewise.
4372 (tst-gettext5-ENV): Likewise.
4373 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4374 (tst-fopenloc-ENV): Likewise.
4375 (tst-fgetws-ENV): Remove variable.
4376 (tst-ungetwc1-ENV): Likewise.
4377 (tst-ungetwc2-ENV): Likewise.
4378 (bug-ungetwc2-ENV): Likewise.
4379 (tst-swscanf-ENV): Likewise.
4380 (bug-ftell-ENV): Likewise.
4381 (tst-fgetwc-ENV): Likewise.
4382 (tst-fseek-ENV): Likewise.
4383 (tst-ftell-partial-wide-ENV): Likewise.
4384 (tst-ftell-active-handler-ENV): Likewise.
4385 (tst-ftell-append-ENV): Likewise.
4386 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4387 (tst-regexloc-ENV): Likewise.
4388 (bug-regex1-ENV): Likewise.
4389 (tst-regex-ENV): Likewise.
4390 (tst-regex2-ENV): Likewise.
4391 (bug-regex5-ENV): Likewise.
4392 (bug-regex6-ENV): Likewise.
4393 (bug-regex17-ENV): Likewise.
4394 (bug-regex18-ENV): Likewise.
4395 (bug-regex19-ENV): Likewise.
4396 (bug-regex20-ENV): Likewise.
4397 (bug-regex22-ENV): Likewise.
4398 (bug-regex23-ENV): Likewise.
4399 (bug-regex25-ENV): Likewise.
4400 (bug-regex26-ENV): Likewise.
4401 (bug-regex30-ENV): Likewise.
4402 (bug-regex32-ENV): Likewise.
4403 (bug-regex33-ENV): Likewise.
4404 (bug-regex34-ENV): Likewise.
4405 (bug-regex35-ENV): Likewise.
4406 (tst-rxspencer-ENV): Likewise.
4407 (tst-rxspencer-no-utf8-ENV): Likewise.
4408 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4409 (tst-sscanf-ENV): Likewise.
4410 (tst-swprintf-ENV): Likewise.
4411 (tst-swscanf-ENV): Likewise.
4412 (test-vfprintf-ENV): Likewise.
4413 (scanf13-ENV): Likewise.
4414 (bug14-ENV): Likewise.
4415 (tst-grouping-ENV): Likewise.
4416 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4417 (tst-strtod3-ENV): Likewise.
4418 (tst-strtod4-ENV): Likewise.
4419 (tst-strtod5-ENV): Likewise.
4420 (testmb2-ENV): Likewise./
4421 * string/Makefile (tst-strxfrm-ENV): Likewise.
4422 (tst-strxfrm2-ENV): Likewise.
4423 (bug-strcoll1-ENV): Likewise.
4424 (test-strcasecmp-ENV): Likewise.
4425 (test-strncasecmp-ENV): Likewise.
4426 * time/Makefile (tst-strptime-ENV): Likewise.
4427 (tst-ftime_l-ENV): Likewise.
4428 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4429 (tst-mbrtowc-ENV): Likewise.
4430 (tst-wcrtomb-ENV): Likewise.
4431 (tst-mbrtowc2-ENV): Likewise.
4432 (tst-c16c32-1-ENV): Likewise.
4433 (tst-mbsnrtowcs-ENV): Likewise.
4434
cd1fb604
OB
44352014-06-05 Ondřej Bílka <neleai@seznam.cz>
4436
4437 * manual/resource.texi (How to get information about the memory
4438 subsystem?): Fix typo.
4439 Reported by Peon de la Parra Ivan <peon@keba.com>
4440
b42eca7d
GY
44412014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4442
4443 [BZ #16882]
4444 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4445 (pthread_spin_lock): Branch out of spin loop to proper location.
4446 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4447 (pthread_spin_lock): Likewise.
4448
902b71f9
DM
4449 * nptl/tst-spin4.c: New test.
4450 * nptl/Makefile (tests): Add tst-spin4.
4451
f9d2d032
AS
44522014-06-03 Andreas Schwab <schwab@suse.de>
4453
4454 [BZ #15946]
4455 * resolv/res_send.c (send_dg): Reload file descriptor after
4456 calling reopen.
4457
cf7bfd28
SL
44582014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4459
4460 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4461
111cc714
RH
44622014-06-03 Richard Henderson <rth@redhat.com>
4463
89b4bd6b
RH
4464 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4465 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4466 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4467 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4468 in the SAVE_PID block.
4469 (__libc_vfork): New alias.
71840409 4470 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4471
111cc714
RH
4472 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4473 child in registers, not on the stack. Remove RESET_PID conditionals.
4474 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4475
ccc39911
MS
44762014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4477
4478 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4479
693096cc
W
44802014-06-03 Wilco <wdijkstr@arm.com>
4481
4482 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4483 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4484 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4485 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4486 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4487 Likewise.
4488
0b4366bc
W
44892014-06-03 Wilco <wdijkstr@arm.com>
4490
4491 * sysdeps/aarch64/fpu/math_private.h
4492 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4493 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4494 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4495 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4496 Fix declarations.
4497
8747cd03
KS
44982014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4499
4500 * crypt/crypt-private.h: Include ufc-crypt.h.
4501 (__b64_from_24bit): Declare extern.
4502 * crypt/crypt_util.c(__b64_from_24bit): New function.
4503 (b64t): New static const variable.
4504 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4505 (b64t): Remove variable.
4506 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4507 * crypt/sha256-crypt.c: Include crypt-private.h.
4508 (b64t): Remove variable.
4509 (__sha256_crypt_r): Remove b64_from_24bit and replace
4510 with __b64_from_24bit.
4511 * crypt/sha512-crypt.c: Likewise.
4512
d936d379
RM
45132014-06-02 Roland McGrath <roland@hack.frob.com>
4514
4515 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4516 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4517 Label the code __libc_vfork rather than __vfork.
4518 [!NOT_IN_libc] (vfork): Define as weak alias.
4519 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4520 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4521 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4522
9fa76613
SP
45232014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4524
4525 * malloc/malloc.c (malloc_info): Fix format specifier for
4526 n_mmaps.
4527
a88dadbe
W
45282014-06-02 Wilco <wdijkstr@arm.com>
4529
4530 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4531 FPCR write.
4532
c95b3011
W
45332014-06-02 Wilco <wdijkstr@arm.com>
4534
4535 [BZ #17009]
4536 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4537 Rewrite to reduce FPCR/FPSR accesses.
4538
6b4d7a90
DM
45392014-06-01 David S. Miller <davem@davemloft.net>
4540
4541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4542
30f3d07c
DM
45432014-05-31 David S. Miller <davem@davemloft.net>
4544
4545 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4546 to occur in round to nearest mode when |x| >= 2.0
4547
74f31c18
RH
45482014-05-30 Richard Henderson <rth@twiddle.net>
4549
f0712b54
RH
4550 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4551 (PSEUDO_RET_NOERRNO): Remove.
4552 (ret): Don't redefine.
4553 (ret_NOERRNO): Define in terms of ret.
4554 (ret_ERRVAL): Likewise.
4555
74f31c18
RH
4556 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4557 use of PSEUDO_RET; perform the error check directly.
4558
30477995
MM
45592014-05-30 Marko Myllynen <myllynen@redhat.com>
4560
4561 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4562 with __int128_t.
4563
62a58816
SP
45642014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4565
4566 * malloc/malloc (malloc_info): Fix formatting.
4567
4d653a59
SP
45682014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4569 Roland McGrath <roland@hack.frob.com>
4570
4571 * malloc/malloc (malloc_info): Also print mmapped statistics.
4572
5190c17f
RM
45732014-05-30 Roland McGrath <roland@hack.frob.com>
4574
4575 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4576 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4577
987c0269
OB
45782014-05-30 Ondřej Bílka <neleai@seznam.cz>
4579
4580 * malloc/malloc.c (malloc_info): Inline mi_arena.
4581
af4e8ef9
RH
45822014-05-29 Richard Henderson <rth@twiddle.net>
4583
1670e207
RH
4584 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4585 Remove comma before expanding ASM_ARGS_##nr.
4586 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4587 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4588 of ASM_ARGS_##nr.
4589 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4590 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4591 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4592 (ASM_ARGS_1): Add leading comma.
4593
11a28aee
RH
4594 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4595 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4596 to __errno_location.
4597 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4598 Remove the expected plt for __errno_location.
4599
a17e5ffb 4600 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4601 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4602 call to __read_tp.
4603
b5be4597
RH
4604 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4605 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4606 it and break it down.
4607 (DOCARGS_0, DOCARGS_1): Do nothing.
4608 (DOCARGS_2): Update to store into the new stack frame.
4609 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4610 (UNDOCARGS_1): Update to restore from the new stack frame.
4611 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4612 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4613
645d44ab
RH
4614 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4615 (SINGLE_THREAD_P): New parameter for result regno.
4616 (PSEUDO): Update to match; use cbz instead of beq.
4617
a8b4f04a
RH
4618 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4619 Use ENTRY to define the _nocancel entry point. Share the syscall
4620 and syscall error check paths with the cancel path.
4621 (PSEUDO_END): New.
4622
af4e8ef9
RH
4623 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4624 whitespace; tabs before and after asm mnemonics.
4625
26b0d2e1
EW
46262014-05-29 Eric Wong <normalperson@yhbt.net>
4627
4628 [BZ #15132]
4629 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4630 Call fstat64 or stat64 internally, depending on arguments passed.
4631 Replace stat buffer argument with file descriptor argument.
4632 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4633 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4634 Pass fd to __internal_statvfs instead of calling fstat64.
4635 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4636 Pass fd to __internal_statvfs64 instead of calling fstat64.
4637 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4638 Pass -1 to __internal_statvfs instead of calling stat64.
4639 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4640 Pass -1 to __internal_statvfs64 instead of calling stat64.
4641
1efe2bd9
RM
46422014-05-28 Roland McGrath <roland@hack.frob.com>
4643
0d3b7a19
RM
4644 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4645 that was previously under [RESET_PID].
4646 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4647
1efe2bd9
RM
4648 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4649 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4650
a6bea3ca
RM
46512014-05-27 Roland McGrath <roland@hack.frob.com>
4652
30b6629e
RM
4653 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4654
a6bea3ca
RM
4655 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4656 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4657
3dfb9a5c
OB
46582014-05-27 Ondřej Bílka <neleai@seznam.cz>
4659
4660 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4661
774f9285
AS
46622014-05-27 Andreas Schwab <schwab@suse.de>
4663
4664 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4665 TLS_INIT_TP macro.
4666 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4667 * elf/rtld.c (init_tls, dl_main): Likewise.
4668 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4669 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4670 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4671 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4672 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4673 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4674 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4675 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4676 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4677 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4678 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4679 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4680 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4681 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4682 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4683 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4684 * sysdeps/generic/tls.h: Update description.
4685
36ffe739
WN
46862014-05-27 Will Newton <will.newton@linaro.org>
4687
4688 [BZ #16990]
4689 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4690 and restore r2 rather than just restoring.
4691
2482ae43
SP
46922014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4693
4694 [BZ #16724]
4695 * libio/tst-ftell-append.c: New test case.
4696 * libio/Makefile (tests): Add test case.
4697 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4698 append mode.
4699 * libio/wfileops.c (do_ftell_wide): Likewise.
4700
3d1024e8
AZ
47012014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4702
bab90016
AZ
4703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4704
c7a8d667
AZ
4705 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4706 ...
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4709 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4710 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4712 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4714 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4716 Moved ...
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4719 Moved ...
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4722 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4724 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4725 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4726 ...
4727 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4728 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4729 Moved ...
4730 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4731 here.
4732 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4733 ...
4734 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4736 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4737
daee7851
AZ
4738 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4739 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4740 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4741 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4742
50a40819
AZ
4743 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4744 merge into ...
4745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4746 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4747 ...
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4750 ...
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4753 Moved ...
4754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4755 here.
4756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4757 Moved ...
4758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4760 Moved ...
4761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4762
8464c2a1
AZ
4763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4764 conditional [RESET_PID].
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4767 removed.
4768 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4769 removed.
4770
3d1024e8
AZ
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4772 <tcb-offsets.h>.
4773 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4774 (__libc_vfork): New strong alias.
4775 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4776 removed.
4777 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4778 Removed.
4779
4780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4781 <tcb-offsets.h>.
4782 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4783 (__libc_vfork): New strong alias.
4784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4785 removed.
4786 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4787 removed.
4788
fdfd175d
CD
47892014-05-26 Carlos O'Donell <carlos@redhat.com>
4790
4791 * malloc/malloc.c (mi_arena): New function.
4792 (malloc_info): Remove nested function mi_arena. Call non-nosted
4793 function mi_arena.
4794
d298c416
AZ
47952014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4796
4797 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4798 by insrwi.
4799 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4800 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4801 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4802 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4803 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4804 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4805 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4806
b60ea6ff
AS
48072014-05-26 Andreas Schwab <schwab@suse.de>
4808
4809 [BZ #16984]
4810 * locale/programs/repertoire.c (repertoire_read): Add slash
4811 between I18NPATH element and file name.
4812 * locale/programs/locfile.c (locfile_read): Likewise.
4813
67365926
SL
48142014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4815
4816 * nptl/pthread_mutexattr_settype.c
4817 (__pthread_mutexattr_settype):
4818 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4819
f8bdf1f0
SL
48202014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4821
4822 * nptl/tst-mutex5 (do_test):
4823 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4824
15eaf6ff
SP
48252014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4826
4827 * benchtests/README: Document 'init' directive.
4828 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4829 BENCH_INIT.
4830 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4831 (parse_file): Recognize 'init' directive.
4832
75f11331
KM
48332014-05-26 Kyle McMartin <kyle@redhat.com>
4834
4835 [BZ #16796]
4836 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4837 alignment of struct pthread.
4838
c3ec475c
SP
48392014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4840
4841 [BZ #16878]
4842 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4843 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4844 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4845 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4846
82aab97c
RH
48472014-05-25 Richard Henderson <rth@twiddle.net>
4848
aa2f176d
RH
4849 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4850 (SINGLE_THREAD_P_PIC): Remove.
4851 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4852 (SINGLE_THREAD_P_PIC): Remove.
4853
ca3cfa40
RH
4854 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4855 branch to syscall error ...
4856 (PSEUDO): ... here.
4857 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4858 from __local_syscall_error to .Lsyscall_error.
4859 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4860 (SYSCALL_ERROR): Update label name.
4861
6e6c2d01
RH
4862 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4863 Do not use DOARGS/UNDOARGS.
4864 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4865 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4866 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4867 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4868 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4869
c69abcee
RH
4870 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4871 block comment.
4872
82aab97c
RH
4873 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4874 define if !NOT_IN_libc.
4875 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4876 define with non-default symbol versions.
4877
8820e3ac
RH
48782014-05-23 Richard Henderson <rth@twiddle.net>
4879
900e445f
RH
4880 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4881 (vfork, __vfork): Define via compat_symbol.
4882
8820e3ac
RH
4883 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4884 [!HAVE_IFUNC] (vfork_compat): Remove.
4885 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4886
e59252a5
JM
48872014-05-23 Joseph Myers <joseph@codesourcery.com>
4888
4889 [BZ #16978]
4890 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4891 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4892 variable.
4893
132c7f5f
RH
48942014-05-23 Richard Henderson <rth@twiddle.net>
4895
bc89e962
RH
4896 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4897 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4898 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4899 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4900
4901 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4902 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4903 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4904 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4905 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4906 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4907 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4908 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4909 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4910 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4911 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4912 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4913 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4914 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4915 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4916 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4917 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4918 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4919 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4920 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4921 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4922 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4923 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4924 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4925 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4926 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4927 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4928 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4929 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4930 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4931 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4932 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4933 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4934 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4935 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4936 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4937 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4938 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4939 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4940 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4941 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4942 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4943 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4944 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4945 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4946 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4947 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4948 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4949 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4950 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4951 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4952 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4953 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4954 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4955 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4956 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4957
e2fa4bc2
RH
4958 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4959 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4960 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4961 before exiting on error.
4962 (__libc_vfork): New strong alias.
4963 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4964 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4965
279b24e2
RH
4966 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4967 that was previously under [RESET_PID].
4968 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4969
132c7f5f
RH
4970 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4971
b72592e7
JM
49722014-05-23 Joseph Myers <joseph@codesourcery.com>
4973
4974 [BZ #16977]
4975 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4976 value when x - 1 is zero.
4977 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4978 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4979 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4980 0.0L for an argument of 1.0L.
4981 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4982 Likewise.
4983 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4984 value when x - 1 is zero.
4985 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4986 * sysdeps/i386/fpu/libm-test-ulps: Update.
4987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988
2302d679
RV
49892014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4990
4991 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4992 alphasort and versionsort.
4993
32999d63
AZ
49942014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4995
4996 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4997 macro.
4998 [copysignf]: Likewise.
4999
019324d0
SP
50002014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5001
5002 * crypt/md5-crypt.c: Fix formatting.
5003
34fff5c2
KS
50042014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5005
5006 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5007 (b64_from_24bit): New function.
5008
3d2badac
AZ
50092014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5010
5011 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5012 libc_hidden_builtin_def to ifunc.
5013 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5014 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5015
f7bb179f 50162014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5017
5018 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5019 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5020
4134b50d
JM
50212014-05-21 Joseph Myers <joseph@codesourcery.com>
5022
bb7d0337
JM
5023 * nscd/Depend (linuxthreads): Remove.
5024 (nptl): Add.
5025 * resolv/Depend (linuxthreads): Remove.
5026 * rt/Depend (linuxthreads): Remove.
5027
4134b50d
JM
5028 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5029 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5030 $(common-objpfx)elf/.
5031 (link-libc-before-gnulib): Likewise.
5032 (elfobjdir): Remove variable.
5033 * Makefile (install): Use $(elf-objpfx) instead of
5034 $(common-objpfx)elf/.
5035 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5036 $(elfobjdir)/.
5037 (link-libc-deps): Likewise.
5038 ($(common-objpfx)libc.so): Likewise.
5039 ($(common-objpfx)linkobj/libc.so): Likewise.
5040 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5041 instead of $(common-objpfx)elf/.
5042 (symbolic-link-list): Likewise.
5043 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5044 [$(cross-compiling) = no]: Likewise.
5045 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5046 $(elfobjdir)/.
5047 (static-gnulib-arch): Likewise.
5048 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5049 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5050 $(common-objpfx)elf/.
5051
3612eb8f
RH
50522014-05-21 Richard Henderson <rth@redhat.com>
5053
a6b3657b
RH
5054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5055 (SINGLE_THREAD_P): Use the correct width load. Fold
5056 into the ldr offset.
5057
3612eb8f
RH
5058 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5059 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5060
175cef41
JM
50612014-05-20 Joseph Myers <joseph@codesourcery.com>
5062
5063 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5064 (libgcc_s_resume): Use __attribute_used__.
5065 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5066 Likewise.
5067
e13bccd3
AZ
50682014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5069
5070 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5071 optimization when used with float constants.
5072
7c112a38
AZ
5073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5074
ae75a883
AJ
50752014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5076
5077 [BZ #16915]
5078 * locale/nl_langinfo_l.c: Make direct reference to every
5079 _nl_current_CATEGORY symbol.
5080 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5081 (tests-static): Add tst-langinfo-static.
5082 (tests-special): Add tst-langinfo-static.out.
5083 ($(objpfx)tst-langinfo.out): Redirect output.
5084 ($(objpfx)tst-langinfo-static.out): New.
5085 * localedata/tst-langinfo.sh: Send output to stdout.
5086 * localedata/tst-langinfo-static.c: New file.
5087
4406c41c
AJ
5088 [BZ #16965]
5089 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5090 when the shift amount is modulo the limb size.
5091
4c0a1e63
RH
50922014-05-20 Richard Henderson <rth@redhat.com>
5093
de9d8f20
RH
5094 [BZ #16967]
5095 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5096 Change type of sa_flags from unsigned int to int.
5097
4c0a1e63
RH
5098 [BZ #16966]
5099 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5100
5101 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5102
a60339aa
WN
51032014-05-20 Will Newton <will.newton@linaro.org>
5104
5105 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5106 Test the return value of the system call in the nocancel case.
5107
7d05a816
YR
51082014-05-20 Will Newton <will.newton@linaro.org>
5109 Yvan Roux <yvan.roux@linaro.org>
5110
5111 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5112 #include of asm/ptrace.h.
5113 (PTRACE_GET_THREAD_AREA): Remove #undef.
5114 (PTRACE_GETHBPREGS): Likewise.
5115 (PTRACE_SETHBPREGS): Likewise.
5116 (struct user_regs_struct): New structure.
5117 (struct user_fpsimd_struct): New structure.
5118 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5119 #include of asm/ptrace.h and second #include of sys/user.h.
5120 (PTRACE_GET_THREAD_AREA): Remove #undef.
5121 (PTRACE_GETHBPREGS): Likewise.
5122 (PTRACE_SETHBPREGS): Likewise.
5123 (ELF_NGREG): Use new struct user_regs_struct.
5124 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5125
af121e37
AZ
51262014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5127
5128 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5130
834caf06
JM
51312014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5132
5133 [BZ #16958]
5134 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5135 membar to avoid block loads/stores to overlap previous stores.
5136
e184a918
RH
51372014-05-17 Richard Henderson <rth@redhat.com>
5138
5139 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5140 Create the __##syscall_name##_nocancel entry point.
5141 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5142 Remove; let the sysdep-cancel.h code create it.
5143
f56c7a6a
DM
51442014-05-17 David S. Miller <davem@davemloft.net>
5145
5146 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5147 Protect with __USE_GNU.
5148 (TIOCSET_TEMPT): Likewise.
5149 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5150 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5151 these are already provided in bits/ioctl-types.h
5152
f75616b2
RM
51532014-05-16 Roland McGrath <roland@hack.frob.com>
5154
3edeca86
RM
5155 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5156 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5157
f75616b2
RM
5158 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5159 Use wait4 regardless of [__NR_waitpid].
5160
deb0f7f6
MR
51612014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5162
5163 PR libgcc/60166
5164 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5165 (_FP_NANSIGN_Q): Set the quiet bit.
5166
79520f4b
JM
51672014-05-16 Joseph Myers <joseph@codesourcery.com>
5168
5169 * benchtests/Makefile
5170 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5171 not $(common-objpfx)math/libm.so.
5172 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5173 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5174 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5175 $(common-objpfx)dlfcn/libdl.so.
5176 ($(objpfx)tst-audit8): Depend on $(libm), not
5177 $(common-objpfx)math/libm.so.
5178 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5179 not $(common-objpfx)dlfcn/libdl.so.
5180 * math/Makefile
5181 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5182 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5183 [$(build-shared) = yes].
5184 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5185 $(common-objpfx)nptl/libpthread.so.
5186 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5187 $(common-objpfx)math/libm.so$(libm.so-version) or
5188 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5189 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5190 $(common-objpfx)dlfcn/libdl.so.
5191 * setjmp/Makefile (link-libm): Remove variable.
5192 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5193 * stdio-common/Makefile (link-libm): Remove variable.
5194 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5195 * stdlib/Makefile (link-libm): Remove variable.
5196 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5197 ($(objpfx)tst-strtod-round): Likewise.
5198 ($(objpfx)tst-tininess): Likewise.
5199 ($(objpfx)tst-strtod-underflow): Likewise.
5200 ($(objpfx)tst-strtod6): Likewise.
5201 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5202 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5203 $(common-objpfx)dlfcn/libdl.so.
5204
026b0fe4
AZ
52052014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5206
5207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5208 BSD terminal modes definitions.
5209
def4bcb2
RM
52102014-05-16 Roland McGrath <roland@hack.frob.com>
5211
fe39b021
RM
5212 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5213 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5214
1d1fc46e 5215 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5216 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5217 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5218 Don't do #include_next.
5219 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5220 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5221 Don't do #include_next.
5222 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5223 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5224 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5225 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5226
c72399fb
AM
52272014-05-16 Allan McRae <allan@archlinux.org>
5228
d51d659d
AM
5229 * po/sv.po: Update Swedish translation from translation project.
5230
c72399fb
AM
5231 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5232 in sed expression.
5233
d0583c40
AJ
52342014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5235
5236 [BZ #16917]
5237 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5238 errno if the TIOCGPTN ioctl fails with an error different than
5239 EINVAL.
5240 * login/tst-ptsname.c: New file.
5241 * login/Makefile (tests): Add tst-ptsname.
5242
d16e6ec7
AJ
5243 [BZ #16943]
5244 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5245 and prlimit64.
5246
cf26a0cb
SP
52472014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5248
5249 [BZ #16849]
5250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5251 herrno to return EAI_AGAIN.
5252
5675da1e
RM
52532014-05-14 Roland McGrath <roland@hack.frob.com>
5254
a5d87b3d
RM
5255 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5256 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5257 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5262 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5266 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5272 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5273 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5274 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5278 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5280 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5281 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5284 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5286 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5288 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5290 Moved ...
5291 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5293 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5295 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5297 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5299 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5303 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5305 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5307 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5309 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5311 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5313 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5315 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5317 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5319 Moved ...
5320 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5322 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5324 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5326 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5328 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5330 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5332 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5334 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5336 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5338 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5340 Moved ...
5341 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5343 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5344
039890a6
RM
5345 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5346 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5347 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5348 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5349 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5351 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5353 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5355 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5356 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5357 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5358 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5359 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5360 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5361 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5362 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5363 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5364 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5365 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5366 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5367 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5368 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5369 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5370 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5371 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5372 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5373 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5375 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5376
65c89320
RM
5377 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5378 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5379
348f8e8c
RM
5380 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5381 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5382 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5384 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5386 Moved ...
5387 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5388 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5389 Moved ...
5390 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5392 Moved ...
5393 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5394 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5395 Moved ...
5396 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5397 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5398 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5399 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5400 Moved ...
5401 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5402 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5403 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5404 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5405 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5406 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5407 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5408 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5409 Moved ...
5410 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5412 Moved ...
5413 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5414 ... here.
5415 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5416 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5417 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5418 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5419 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5420 Moved ...
5421 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5422 ... here.
5423 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5424 Moved ...
5425 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5426 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5427 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5428 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5429 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5430 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5431 Moved ...
5432 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5433 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5434 Moved ...
5435 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5437 Moved ...
5438 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5439 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5440 Moved ...
5441 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5442 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5443 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5444 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5445 Moved ...
5446 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5447 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5448 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5449 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5450 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5451 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5452 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5453 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5454 Moved ...
5455 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5457 Moved ...
5458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5459 ... here.
5460 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5461 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5462 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5463 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5464 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5465 Moved ...
5466 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5467 ... here.
5468 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5469 Moved ...
5470 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5471 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5472 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5473 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5474 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5475 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5476 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5477 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5478 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5479 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5480 Moved ...
5481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5482 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5483 Moved ...
5484 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5485 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5486 Moved ...
5487 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5489 Moved ...
5490 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5491 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5492 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5493 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5494 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5496 Moved ...
5497 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5499 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5500 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5501 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5502 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5503 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5504 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5505 Moved ...
5506 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5507 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5508 Moved ...
5509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5510 ... here.
5511 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5512 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5513 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5514 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5516 Moved ...
5517 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5518 ... here.
5519 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5520 Moved ...
5521 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5523 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5525 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5527 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5528 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5529 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5530 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5531 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5532
5085af05
RM
5533 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5534 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5535
708f0813
RM
5536 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5537 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5538
c96067bc
RM
5539 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5540 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5541 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5542 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5543 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5545 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5546 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5547 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5548 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5549 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5550 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5551 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5552 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5553 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5554 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5555 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5557 Moved ...
5558 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5560 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5562 Moved ...
5563 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5565 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5567 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5569 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5570 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5571 Moved ...
5572 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5573 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5574 Moved ...
5575 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5577 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5579 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5581 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5583 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5584 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5585 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5586 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5587 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5588 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5589 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5590 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5591 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5592
ec136444
RM
5593 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5594 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5595 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5596 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5597 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5598
2fbdf533
RM
5599 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5600 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5601 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5602 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5603 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5604 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5605 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5606 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5607 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5608 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5609
4c68138b
RM
5610 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5611 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5612
4eaae765
RM
5613 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5614 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5615 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5616 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5617 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5618 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5619 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5620 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5621 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5622 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5623 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5624 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5625 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5626 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5628 Update #include.
5629 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5630 Likewise.
5631 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5632 Likewise.
5633 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5634 Likewise.
5635 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5636 Likewise.
5637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5638 Likewise.
5639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5640 Likewise.
5641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5642 Likewise.
5643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5644 Likewise.
5645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5646 Likewise.
4ef6befa
RM
5647 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5651 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5652 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5653 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5654 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5655 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5656 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5657 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5658 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5659 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5660 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5661 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5662
941d7dfd
RM
5663 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5664 that was previously under [RESET_PID].
5665 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5666 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5667 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5668
1b731c35
RM
5669 * sysdeps/i386/nptl/Implies: New file.
5670 * sysdeps/x86_64/nptl/Implies: New file.
5671 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5672 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5674 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5675
e2787137
RM
5676 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5677 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5678 (__libc_vfork): New strong alias.
5679 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5680 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5681
5682 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5683 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5684 (__libc_vfork): New strong alias.
5685 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5686 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5687
5675da1e
RM
5688 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5689 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5690 (__libc_vfork): New strong alias.
5691 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5692 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5693 * nptl/pt-vfork.c: New file.
5694 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5695 (libpthread: GLIBC_2.20): New version set (empty).
5696
4f02e2b8
WN
56972014-05-14 Will Newton <will.newton@linaro.org>
5698
5699 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5700 rather than #if.
5701
0bf061d3
JM
57022014-05-14 Joseph Myers <joseph@codesourcery.com>
5703
1a84c3d6
JM
5704 [BZ #16564]
5705 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5706 arguments with exponent 65 or above.
5707 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5708 arguments 0x1p113L or above.
5709 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5710 to arguments 0x1p107L or above.
5711 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5712 positive arguments with exponent 65 or above.
5713 * math/auto-libm-test-in: Add more tests of log1p.
5714 * math/auto-libm-test-out: Regenerated.
5715
01dbacd2
JM
5716 [BZ #16928]
5717 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5718 non-finite arguments is +0.
5719 * math/s_cacosf.c (__cacosf): Likewise.
5720 * math/s_cacosl.c (__cacosl): Likewise.
5721 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5722 * sysdeps/i386/fpu/libm-test-ulps: Update.
5723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5724
913d03c8
JM
5725 [BZ #16927]
5726 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5727 value.
5728 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5729 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5730 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5731 for explicit high bit of mantissa when testing for argument equal
5732 to 1.
5733 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5734 * sysdeps/i386/fpu/libm-test-ulps: Update.
5735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5736
0bf061d3
JM
5737 [BZ #16516]
5738 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5739 (__erf): Scale by 16 instead of 8 in potentially underflowing
5740 case. Ensure exception if result actually underflows.
5741 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5742 (__erff): Scale by 16 instead of 8 in potentially underflowing
5743 case. Ensure exception if result actually underflows.
5744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5745 (efx8): Remove variable.
5746 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5747 case. Ensure exception if result actually underflows.
5748 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5749 (efx8): Remove variable.
5750 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5751 case. Ensure exception if result actually underflows.
5752 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5753 (efx8): Remove variable.
5754 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5755 case. Ensure exception if result actually underflows.
5756 * math/auto-libm-test-in: Add more tests of erf.
5757 * math/auto-libm-test-out: Regenerated.
5758
73ba67cb
AS
57592014-05-14 Andreas Schwab <schwab@suse.de>
5760
3d8c8bff
AS
5761 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5762 Remove code conditionalized on USE___THREAD.
5763
73ba67cb
AS
5764 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5765 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5766 not definedness.
5767
5c521ecd
JM
57682014-05-14 Joseph Myers <joseph@codesourcery.com>
5769
5e7698c6
JM
5770 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5771 Define unconditionally.
5772 (__ASSUME_O_CLOEXEC): Likewise.
5773 (__ASSUME_SOCK_CLOEXEC): Likewise.
5774 (__ASSUME_IN_NONBLOCK): Likewise.
5775 (__ASSUME_PIPE2): Likewise.
5776 (__ASSUME_EVENTFD2): Likewise.
5777 (__ASSUME_SIGNALFD4): Likewise.
5778 (__ASSUME_DUP3): Likewise.
5779 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5780 (__ASSUME_DUP3): Do not define.
5781 (__ASSUME_EVENTFD2): Likewise.
5782 (__ASSUME_IN_NONBLOCK): Likewise.
5783 (__ASSUME_O_CLOEXEC): Likewise.
5784 (__ASSUME_PIPE2): Likewise.
5785 (__ASSUME_SIGNALFD4): Likewise.
5786 (__ASSUME_SOCK_CLOEXEC): Likewise.
5787 (__ASSUME_UTIMES): Undefine.
5788 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5789 (__ASSUME_UTIMES): Do not define.
5790 (__ASSUME_O_CLOEXEC): Likewise.
5791 (__ASSUME_SOCK_CLOEXEC): Likewise.
5792 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5793 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5794 0x020621].
5795 (__ASSUME_PIPE2): Likewise.
5796 (__ASSUME_EVENTFD2): Likewise.
5797 (__ASSUME_SIGNALFD4): Likewise.
5798 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5799 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5800 Do not define.
5801 (__ASSUME_EVENTFD2): Likewise.
5802 (__ASSUME_SIGNALFD4): Likewise.
5803 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5804 (__ASSUME_32BITUIDS): Likewise.
5805 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5806 (__ASSUME_IPC64): Likewise.
5807 (__ASSUME_ST_INO_64_BIT): Likewise.
5808 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5809 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5810 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5811 (__ASSUME_UTIMES): Do not define.
5812 (__ASSUME_PSELECT): Likewise.
5813 (__ASSUME_PPOLL): Likewise.
5814 (__ASSUME_O_CLOEXEC): Likewise.
5815 (__ASSUME_SOCK_CLOEXEC): Likewise.
5816 (__ASSUME_IN_NONBLOCK): Likewise.
5817 (__ASSUME_PIPE2): Likewise.
5818 (__ASSUME_EVENTFD2): Likewise.
5819 (__ASSUME_SIGNALFD4): Likewise.
5820 (__ASSUME_DUP3): Likewise.
5821 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5822 (__ASSUME_UTIMES): Likewise.
5823 (__ASSUME_O_CLOEXEC): Likewise.
5824 (__ASSUME_SOCK_CLOEXEC): Likewise.
5825 (__ASSUME_IN_NONBLOCK): Likewise.
5826 (__ASSUME_PIPE2): Likewise.
5827 (__ASSUME_EVENTFD2): Likewise.
5828 (__ASSUME_SIGNALFD4): Likewise.
5829 (__ASSUME_DUP3): Likewise.
5830 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5831 (__ASSUME_UTIMES): Likewise.
5832 (__ASSUME_O_CLOEXEC): Likewise.
5833 (__ASSUME_SOCK_CLOEXEC): Likewise.
5834 (__ASSUME_IN_NONBLOCK): Likewise.
5835 (__ASSUME_PIPE2): Likewise.
5836 (__ASSUME_EVENTFD2): Likewise.
5837 (__ASSUME_SIGNALFD4): Likewise.
5838 (__ASSUME_DUP3): Likewise.
5839 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5840 Likewise.
5841 (__ASSUME_UTIMES): Likewise.
5842 (__ASSUME_EVENTFD2): Likewise.
5843 (__ASSUME_SIGNALFD4): Likewise.
5844 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5845 (__ASSUME_O_CLOEXEC): Likewise.
5846 (__ASSUME_SOCK_CLOEXEC): Likewise.
5847 (__ASSUME_IN_NONBLOCK): Likewise.
5848 (__ASSUME_PIPE2): Likewise.
5849 (__ASSUME_EVENTFD2): Likewise.
5850 (__ASSUME_SIGNALFD4): Likewise.
5851 (__ASSUME_DUP3): Likewise.
5852 (__ASSUME_UTIMES): Undefine.
5853
5c521ecd
JM
5854 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5855 feclearexcept. Remove symbol versioning code.
5856 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5857 symbol versioning code.
5858 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5859 symbol versioning code.
5860 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5861 feupdateenv. Remove symbol versioning code.
5862 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5863 fegetexceptflag. Remove symbol versioning code.
5864 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5865 fesetexceptflag. Remove symbol versioning code.
5866 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5867 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5868 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5869 (__posix_fadvise64_l32): Remove prototype.
5870 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5871 code.
5872
5da9dfad
RM
58732014-05-13 Roland McGrath <roland@hack.frob.com>
5874
5875 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5876 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5877 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5878 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5879
893b4f37
SK
58802014-05-13 Sami Kerola <kerolasa@iki.fi>
5881
5882 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5883 current working directory
5884
e0db6517
RM
58852014-05-13 Roland McGrath <roland@hack.frob.com>
5886
58aa195d
RM
5887 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5888 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5889 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5890 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5891 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5892 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5893 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5894 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5895 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5896 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5900 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5908 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5912 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5913 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5914 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5915 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5916 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5917 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5918 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5919 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5920 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5921 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5922 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5923 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5924 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5925 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5926 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5927 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5928 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5929
8c6d01f0
RM
5930 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5931 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5932
5933 * sysdeps/unix/sysv/linux/arm/Makefile
5934 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5935 Add rt-aeabi_unwind_cpp_pr1.
5936 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5937 Add nptl-aeabi_unwind_cpp_pr1.
5938 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5939 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5940 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5941 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5942 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5943 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5944
5945 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5946 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5947 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5948 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5949
bba6da4e
RM
5950 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5951 Deconditionalize the code that was previously under [RESET_PID].
5952 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5953
e0db6517
RM
5954 * sysdeps/generic/exit-thread.h: New file.
5955 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5956 * include/unistd.h (__exit_thread): Remove declaration.
5957 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5958 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5959 * csu/libc-start.c: Include <exit-thread.h>.
5960 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5961 * nptl/pthread_create.c: Include <exit-thread.h>.
5962 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5963 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5964 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5965 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5966 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5967 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5968 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5969 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5970 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5971 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5972 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5973 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5974 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5975 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5976 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5977 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5978 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5979
01eb16fd
AS
59802014-05-13 Andreas Schwab <schwab@suse.de>
5981
5982 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5983
637461d9
JM
59842014-05-12 Joseph Myers <joseph@codesourcery.com>
5985
5986 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5987 (__ASSUME_UTIMES): Do not condition on kernel version.
5988 (__ASSUME_PSELECT): Define unconditionally.
5989 (__ASSUME_PPOLL): Likewise.
5990 (__ASSUME_ATFCTS): Likewise.
5991 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5992 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5993 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5994 (__ASSUME_UTIMENSAT): Define unconditionally.
5995 (__ASSUME_PRIVATE_FUTEX): Likewise.
5996 (__ASSUME_FALLOCATE): Likewise.
5997 (__ASSUME_O_CLOEXEC): Likewise.
5998 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5999 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6000 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6001 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6002 (__ASSUME_IN_NONBLOCK): Likewise.
6003 (__ASSUME_PIPE2): Likewise.
6004 (__ASSUME_EVENTFD2): Likewise.
6005 (__ASSUME_SIGNALFD4): Likewise.
6006 (__ASSUME_DUP3): Likewise.
6007 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6008 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6009 (__ASSUME_AT_RANDOM): Likewise.
6010 (__ASSUME_PREADV): Likewise.
6011 (__ASSUME_PWRITEV): Likewise.
6012 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6013 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6014 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6015 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6016 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6017 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6018 (__ASSUME_O_CLOEXEC): Define unconditionally.
6019 (__ASSUME_PSELECT): Do not undefine conditionally.
6020 (__ASSUME_PPOLL): Likewise.
6021 (__ASSUME_ATFCTS): Likewise.
6022 (__ASSUME_SET_ROBUST_LIST): Likewise.
6023 (__ASSUME_UTIMENSAT): Likewise.
6024 (__ASSUME_FDATASYNC): Define unconditionally.
6025 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6026 (__ASSUME_SIGFRAME_V2): Likewise.
6027 )__ASSUME_EVENTFD2): Likewise.
6028 (__ASSUME_SIGNALFD4): Likewise.
6029 (__ASSUME_PSELECT): Do not undefine conditionally.
6030 (__ASSUME_PPOLL): Likewise.
6031 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6032 (__ASSUME_PSELECT): Define unconditionally.
6033 (__ASSUME_PPOLL): Likewise.
6034 (__ASSUME_O_CLOEXEC): Likewise.
6035 (__ASSUME_SOCK_CLOEXEC): Likewise.
6036 (__ASSUME_IN_NONBLOCK): Likewise.
6037 (__ASSUME_PIPE2): Likewise.
6038 (__ASSUME_EVENTFD2): Likewise.
6039 (__ASSUME_SIGNALFD4): Likewise.
6040 (__ASSUME_DUP3): Likewise.
6041 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6042 (__ASSUME_O_CLOEXEC): Likewise.
6043 (__ASSUME_SOCK_CLOEXEC): Likewise.
6044 (__ASSUME_IN_NONBLOCK): Likewise.
6045 (__ASSUME_PIPE2): Likewise.
6046 (__ASSUME_EVENTFD2): Likewise.
6047 (__ASSUME_SIGNALFD4): Likewise.
6048 (__ASSUME_DUP3): Likewise.
6049 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6050 (__ASSUME_EVENTFD2): Likewise.
6051 (__ASSUME_SIGNALFD4): Likewise.
6052 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6053
315eb1d8
AS
60542014-05-12 Andreas Schwab <schwab@suse.de>
6055
6056 [BZ #16932]
6057 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6058 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6059 than maximum RPC packet size.
6060 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6061 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6062 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6063 (_nss_nis_getservbyport_r): Likewise.
6064
91df99f7
WN
60652014-05-12 Will Newton <will.newton@linaro.org>
6066
6067 * malloc/Makefile (tests): Add tst-mallopt.
6068 * malloc/tst-mallopt.c: New file.
6069
0a982a29
RM
60702014-05-09 Roland McGrath <roland@hack.frob.com>
6071
6072 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6073 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6074
0ded08a5
AZ
60752014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6076
6077 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6078 (tst-tlsmod6.so): Likewise.
6079
55d4d550
RM
60802014-05-09 Roland McGrath <roland@hack.frob.com>
6081
6082 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6083
77d08aca
JM
60842014-05-09 Joseph Myers <joseph@codesourcery.com>
6085
6086 [BZ #16064]
6087 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6088 and <dl-procinfo.h>.
6089 (__fegetenv): Save SSE state in envp->__eip if supported.
6090 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6091 envp->__eip if supported.
6092 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6093 and <dl-procinfo.h>.
6094 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6095 __data_offset and __data_selector in environment to 0. Set SSE
6096 state if supported.
6097 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6098 test-fenv-sse.
6099 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6100 -mfpmath=sse.
6101 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6102
28162f4d
WN
61032014-05-09 Will Newton <will.newton@linaro.org>
6104
6105 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6106 and libc_relro_required for ARM.
6107 * sysdeps/arm/preconfigure: Regenerate.
6108
5a414ff7
DV
61092014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6110 Stefan Liebler <stli@linux.vnet.ibm.com>
6111
6112 * config.make.in (enable-lock-elision): New Makefile variable.
6113 * configure.ac: Likewise.
6114 * configure: Regenerate.
6115 * sysdeps/s390/configure.ac:
6116 Add check for gcc transactions support.
6117 * sysdeps/s390/configure: Regenerate.
6118 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6119 Build elision files if enabled.
6120 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6121 Add lock elision support for s390.
6122 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6123 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6124 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6125 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6126 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6127 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6128 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6129 Likewise.
6130 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6131 Likewise.
6132 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6133 Likewise.
6134 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6135 Likewise.
6136 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6137 (__lll_timedlock_elision, __lll_lock_elision)
6138 (__lll_unlock_elision, __lll_trylock_elision)
6139 (lll_timedlock_elision, lll_lock_elision)
6140 (lll_unlock_elision, lll_trylock_elision): Add.
6141 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6142 (pthread_mutex_t): Add lock elision support for s390.
6143
1a2f40e5
W
61442014-05-14 Wilco <wdijkstr@arm.com>
6145
6146 * sysdeps/arm/fclrexcpt.c: Cleanup.
6147 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6148 * sysdeps/arm/feenablxcpt.c: Cleanup.
6149 * sysdeps/arm/fegetenv.c: Cleanup.
6150 * sysdeps/arm/fegetexcept.c: Cleanup.
6151 * sysdeps/arm/fegetround.c: Cleanup.
6152 * sysdeps/arm/feholdexcpt.c: Cleanup.
6153 * sysdeps/arm/fesetenv.c: Cleanup.
6154 * sysdeps/arm/fesetround.c: Cleanup.
6155 * sysdeps/arm/feupdateenv.c: Cleanup.
6156 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6157 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6158 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6159 * sysdeps/arm/ftestexcept.c: Cleanup.
6160 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6161 * sysdeps/arm/setfpucw.c: Cleanup.
6162
f63c86fe
WN
61632014-05-09 Will Newton <will.newton@linaro.org>
6164
6165 * sysdeps/arm/armv7/strcmp.S: New file.
6166 * NEWS: Mention addition of ARMv7 optimized strcmp.
6167
7a1a51b5
RM
61682014-05-08 Roland McGrath <roland@hack.frob.com>
6169
95afbbe5
RM
6170 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6171 look for %.ac rather than %.in.
6172
6173 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6174 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6175 * sysdeps/mach/hurd/configure: Regenerated.
6176 * sysdeps/unix/sysv/linux/configure: Regenerated.
6177
7a1a51b5
RM
6178 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6179
5057ad3b
SE
61802014-05-07 Steve Ellcey <sellcey@mips.com>
6181
6182 [BZ# 16922]
6183 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6184 (LONG_SUB): Ditto.
6185 (PTR_SUB): Ditto.
6186
8dc97517
AS
61872014-05-07 Andreas Schwab <schwab@suse.de>
6188
6189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6190 when skipping over non-matching result from nscd.
6191
ce0c5b8f
OB
61922014-05-07 Ondřej Bílka <neleai@seznam.cz>
6193
6194 [BZ #16876]
6195 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6196
a1189263
OB
6197 [BZ #16877]
6198 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6199 nscd security class.
ce0c5b8f 6200
0f58d252
RM
62012014-05-06 Roland McGrath <roland@hack.frob.com>
6202
6203 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6204 * sysdeps/arm/unwind.h: ... here.
6205
83df9ad0
AJ
62062014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6207
ce0c5b8f
OB
6208 [BZ# 16916]
6209 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6210 Define.
83df9ad0 6211
f360f94a
VR
62122014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6213
6214 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6215 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6216 multiarch strncpy for PPC64.
6217 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6218 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6220 multiarch optimizations.
6221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6222 (__libc_ifunc_impl_list): Likewise.
6223 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6224 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6225 multiarch stpncpy for PPC64.
6226 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6227 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6228
978a41c3
AS
62292014-05-06 Andreas Schwab <schwab@suse.de>
6230
6231 [BZ #16912]
6232 * gmon/mcount.c (_MCOUNT_DECL): Use
6233 atomic_compare_and_exchange_bool_acq instead of
6234 catomic_compare_and_exchange_bool_acq.
6235
eb1ed03d
RM
62362014-05-05 Roland McGrath <roland@hack.frob.com>
6237
fe658845
RM
6238 * elf/Makefile (others, install-bin): Remove pldd.
6239 (pldd-modules): Variable removed.
6240 ($(objpfx)pldd): Target removed.
6241 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6242 (others, install-bin): Append pldd here.
6243 ($(objpfx)pldd): New target.
6244
eb1ed03d
RM
6245 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6246 to 0, so the first #if test emitted later doesn't see it undefined.
6247 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6248 * sysdeps/gnu/errlist.c: Regenerated.
6249
19c4bec0
AZ
62502014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251
6252 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6253 [libc_hidden_builtin_def]: Define to empty value.
6254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6255 [libc_hidden_builtin_def]: Likewise.
6256 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6257 [libc_hidden_builtin_def]: Likewise.
6258 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6259 [libc_hidden_builtin_def]: Likewise.
6260 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6261 __redirect_memcpy and define ifunc as default hidden symbol.
6262 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6263 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6264
7776e669
AC
62652014-05-04 Adam Conrad <adconrad@0c3.net>
6266
6267 * locale/iso-4217.def: Reintroduce XDR currency.
6268
d69aeb12
AM
62692014-05-04 Allan McRae <allan@archlinux.org>
6270
6271 * po/eo.po: Update Esperanto translation from translation project.
6272
8f1df5cf
CD
62732014-05-02 Carlos O'Donell <carlos@redhat.com>
6274
6275 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6276 and FEATURE_INDEX_MAX to 1.
6277 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6278
13e402e7
SE
62792014-05-01 Steve Ellcey <sellcey@mips.com>
6280
6281 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6282 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6283 * iconvdata/big5.c (ONE_DIRECTION): Define.
6284 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6285 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6286 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6287 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6288 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6289 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6290 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6291 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6292 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6293 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6294 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6295 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6296 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6297 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6298 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6299 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6300 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6301 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6302 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6303 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6304 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6305 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6306 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6307 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6308 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6309 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6310 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6311 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6312 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6313 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6314 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6315 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6316 * iconvdata/johab.c (ONE_DIRECTION): Define.
6317 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6318 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6319 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6320 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6321 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6322 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6323 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6324 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6325 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6326 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6327
c727f032
RM
63282014-05-01 Roland McGrath <roland@hack.frob.com>
6329
8f2f08d0
RM
6330 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6331 (_IO_JUMPS_OFFSET): Define to 0.
6332
c727f032
RM
6333 * nptl/sysdeps/pthread/bits/libc-lock.h
6334 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6335 (__libc_lock_define_initialized_recursive): Always define using
6336 initializer. Modern compilers treat uninitialized (implicit zero) and
6337 explicit zero initializers the same (i.e. put the datum in bss).
6338
a849e800
AS
63392014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6340
6341 * nscd/nscd-client.h: Include <string.h>.
6342
5331255b
DM
63432014-05-01 David S. Miller <davem@davemloft.net>
6344
6345 [BZ #16885]
6346 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6347 multiple zero bytes exist at the end of a string.
6348 Reported by Aurelien Jarno <aurelien@aurel32.net>
6349
6350 * string/test-strcmp.c (check): Add explicit test for situations where
6351 there are multiple zero bytes after the first.
6352
4fdfe821
AS
63532014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6354
6355 [BZ #16890]
6356 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6357 when compiling wprintf.
6358 * stdio-common/tstdiomisc.c (t3): New function.
6359 (main): Call it.
6360
0cdddc25
SE
63612014-05-01 Steve Ellcey <sellcey@mips.com>
6362
6363 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6364 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6365 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6366 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6367
6426d77e
SE
63682014-05-01 Steve Ellcey <sellcey@mips.com>
6369
6370 * stdlib/longlong.h: Updated from GCC.
6371
6d96f5e4
WN
63722014-05-01 Will Newton <will.newton@linaro.org>
6373 Bernard Ogden <bernie.ogden@linaro.org>
6374
7470db0c
WN
6375 * NEWS: Update fixed bug list.
6376
6d96f5e4
WN
6377 [BZ #15119]
6378 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6379
211d653c
DM
63802014-04-30 David S. Miller <davem@davemloft.net>
6381
4fa262fa
DM
6382 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6383 (libc_feholdexcept_setround_sparc_ctx): New function.
6384 (libc_fesetenv_sparc_ctx): Likewise.
6385 (libc_feupdateenv_sparc_ctx): Likewise.
6386 (libc_feholdsetround_sparc_ctx): Likewise.
6387 (libc_feholdexcept_setround_ctx): Define.
6388 (libc_feholdexcept_setroundf_ctx): Likewise.
6389 (libc_feholdexcept_setroundl_ctx): Likewise.
6390 (libc_fesetenv_ctx): Likewise.
6391 (libc_fesetenvf_ctx): Likewise.
6392 (libc_fesetenvl_ctx): Likewise.
6393 (libc_feupdateenv_ctx): Likewise.
6394 (libc_feupdateenvf_ctx): Likewise.
6395 (libc_feupdateenvl_ctx): Likewise.
6396 (libc_feresetround_ctx): Likewise.
6397 (libc_feresetroundf_ctx): Likewise.
6398 (libc_feresetroundl_ctx): Likewise.
6399 (libc_feholdsetround_ctx): Likewise.
6400 (libc_feholdsetroundf_ctx): Likewise.
6401 (libc_feholdsetroundl_ctx): Likewise.
6402
1d3d93ef
DM
6403 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6404 with __USE_GNU instead of XOPEN cpp guards.
6405
8aa583c3
DM
6406 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6407 0.
6408
211d653c
DM
6409 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6410 with XOPEN cpp guards.
6411
60c8f1f6
JB
64122014-04-30 Julian Brown <julian@codesourcery.com>
6413
6414 [BZ #16888]
6415 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6416 handling.
6417
9a461d46
JM
64182014-04-30 Joseph Myers <joseph@codesourcery.com>
6419
d0f5b3f8
JM
6420 [BZ #9894]
6421 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6422 Change to 2.6.32.
6423 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6424 * sysdeps/unix/sysv/linux/configure: Regenerated.
6425 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6426 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6427 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6428 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6429 * README: Update reference to required Linux kernel version.
6430 * manual/install.texi (Linux): Update reference to required Linux
6431 kernel headers version.
6432 * INSTALL: Regenerated.
6433
9a461d46
JM
6434 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6435 header inclusion.
6436 [POSIX] (limits.h): Likewise.
6437 [POSIX] (math.h): Likewise.
6438 [POSIX] (sys/wait.h): Likewise.
6439 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6440 function.
6441 [POSIX] (stddef.h): Do not allow header inclusion.
6442
1775babf
AZ
64432014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6444
57f41c40 6445 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6446
8f630cca
YY
64472014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6448
6449 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6450 Return immediately after lll_futex_wake.
6451
1cdeb237
SP
64522014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6453
bc8f194c
SP
6454 [BZ #16791]
6455 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6456 structure.
6457 (datahead_init_pos): Call datahead_init_common early.
6458 (datahead_init_neg): Likewise.
6459
1cdeb237
SP
6460 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6461 datahead_init_neg): New functions.
6462 * nscd/aicache.c (addhstaiX): Use them.
6463 * nscd/grpcache.c (cache_addgr): Likewise.
6464 * nscd/hstcache.c (cache_addhst): Likewise.
6465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6466 * nscd/netgroupcache.c (do_notfound): Likewise.
6467 (addgetnetgrentX): Likewise.
6468 (addinnetgrX): Likewise.
6469 * nscd/pwdcache.c (cache_addpw): Likewise.
6470 * nscd/servicescache.c (cache_addserv): Likewise.
6471
16b293a7
SP
64722014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6473 Atsushi Onoe <atsushi@onoe.org>
6474
6475 [BZ #14308]
6476 [BZ #12994]
6477 [BZ #13651]
6478 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6479 one response is valid.
6480 * resolv/res_send.c (send_dg): Check for validity of other
6481 response if the current response is a referral.
6482
a28a9b94
SE
64832014-04-29 Steve Ellcey <sellcey@mips.com>
6484
6485 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6486
2ca180e9
SL
64872014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6488
6489 [BZ #16823]
6490 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6491 Always divide by positive zero when computing -Inf result.
6492 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6493 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6494
18f2945a
AZ
64952014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6496
6497 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6498 FPSCR if value do not change.
6499 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6500 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6501 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6502 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6503 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6504 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6505 function.
6506
5abebba4
CD
65072014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6508
6509 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6510 * sysdeps/unix/sysv/linux/hppa: Move directory from
6511 ports/systeps/unix/sysv/linux/hppa.
6512 * README: Update listing for hppa-*-linux-gnu.
6513
f7ed60c2
OB
65142014-04-28 Ondřej Bílka <neleai@seznam.cz>
6515
fff763a5
OB
6516 [BZ #16754]
6517 * manual/stdio.texi (Hook functions): Fix types of stream hook
6518 functions.
f7ed60c2
OB
6519 [BZ #16854]
6520 * socket/sys/socket.h: Fix typo in comment.
6521
df639d73
WD
65222014-04-28 Wilco <wdijkstr@arm.com>
6523
f7ed60c2 6524 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6525 * sysdeps/arm/math_private.h: New file.
6526 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6527
48332d82
L
65282014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6529
6530 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6531 with __int128_t.
6532 (La_x86_64_retval): Likewise.
6533
e5e0d9a4
IB
65342014-04-24 Ian Bolton <ian.bolton@arm.com>
6535
6536 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6537 fpsr if value didn't change.
6538 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6539 to fpcr if value didn't change.
6540 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6541 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6542 fpsr or fpcr if value didn't change.
6543 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6544 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6545 fpcr if value didn't change.
6546 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6547 to fpsr if value didn't change.
6548
bacc75f7
SP
65492014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6550
6551 * nptl/tst-sem3.c: Use test-skeleton.c
6552 (main): Rename to do_test. Use return instead of
6553 exit.
6554 * nptl/tst-sem4.c: Use test-skeleton.c
6555 (main): Rename to do_test.
6556
a059d359
DM
65572014-04-22 David S. Miller <davem@davemloft.net>
6558
6559 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6560 (struct sigaction): New struct member __glibc_reserved0, change
6561 type of sa_flags to int.
6562
ea6c92f3
YZ
65632014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6564
6565 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6566 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6567
766c4a36
SP
65682014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6569
6570 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6571 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6572
140cc7ab
VK
65732014-04-22 Will Newton <will.newton@linaro.org>
6574 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6575
6576 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6577 (__longjmp): Add longjmp and longjmp_target SystemTap
6578 probes.
6579 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6580 (__sigsetjmp): Add setjmp SystemTap probe.
6581
c54e5cf7
CD
65822014-04-17 Carlos O'Donell <carlos@redhat.com>
6583
6584 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6585 match manual order.
6586
75ffb047
AZ
65872014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6588
6589 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6590
2cd925f7
AZ
6591 * sysdeps/powerpc/fpu/fenv_private.h
6592 (libc_feholdexcept_setroundl_ctx): Define to
6593 libc_feholdexcept_setround_ppc_ctx.
6594 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6595 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6596 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6597 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6598
39e6cd8d
IB
65992014-04-17 Ian Bolton <ian.bolton@arm.com>
6600
6601 * sysdeps/aarch64/math-tests.h: New file.
6602
f9281df9
SY
66032014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6604
6605 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6606 New.
6607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6608 Check and set bit_AVX2_Usable.
6609 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6610 macro.
6611 (bit_AVX2): Likewise.
6612 (index_AVX2_Usable): Likewise.
6613 (CPUID_AVX2): Likewise.
6614 (HAS_AVX2): Likewise.
6615
37d35007
WN
66162014-04-17 Will Newton <will.newton@linaro.org>
6617
7c677662
WN
6618 * manual/setjmp.texi (System V contexts): Add note that
6619 calling setcontext on a context created by a call to a
6620 signal handler is undefined. Update text to note that
6621 setcontext from a signal handler is possible but not
6622 recommended.
6623
37d35007 6624 [BZ #16629]
e04a4e9d
WN
6625 * stdlib/tst-setcontext.c: Include signal.h.
6626 (main): Check that the signal stack before and
6627 after swapcontext is the same.
6628
37d35007
WN
6629 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6630 Re-implement to restore registers in user code and avoid
6631 rt_sigreturn system call.
6632
423a7160
W
66332014-04-17 Wilco <wdijkstr@arm.com>
6634
6635 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6636 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6637 * math/test-fenv.c: Skip exception trap tests on targets which only
6638 support non-stop mode.
6639
bc93ab29
IB
66402014-04-17 Ian Bolton <ian.bolton@arm.com>
6641 Wilco Dijkstra <wilco.dijkstra@arm.com>
6642
6643 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6644 (libc_feholdsetround_aarch64_ctx)
6645 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6646 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6647 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6648 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6649 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6650 (libc_feresetround_noexl_ctx): Define.
6651
95fc5fa3
RH
66522014-04-16 Richard Henderson <rth@redhat.com>
6653
ddb04724
RH
6654 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6655
d77c0899
RH
6656 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6657 unwind tables.
6658
a3df56fc
RH
6659 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6660 const from the non-libc, non-ldso copy.
6661
95fc5fa3
RH
6662 * sysdeps/alpha/libm-test-ulps: Regenerate.
6663
7e0b6763
IB
66642014-04-16 Ian Bolton <ian.bolton@arm.com>
6665 Wilco Dijkstra <wilco.dijkstra@arm.com>
6666
6667 * sysdeps/aarch64/fpu/math_private.h: New file.
6668
a9ea2e0c
MS
66692014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6670
6671 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6672
ea8ba7cd
IZ
66732014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6674
6675 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6676 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6678 Intel MPX bound registers before _dl_profile_fixup.
6679 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6680 registers after _dl_profile_fixup. Save and restore bound
6681 registers bnd0/bnd1 when calling _dl_call_pltexit.
6682 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6683 (LR_BND_OFFSET): Likewise.
6684 (LRV_BND0_OFFSET): Likewise.
6685 (LRV_BND1_OFFSET): Likewise.
6686
9f2a4fbc
ST
66872014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6688
6689 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6690 to...
6691 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6692 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6693 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6694 fields.
9f2a4fbc 6695
fd15a59b
ST
66962014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6697
6698 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6699
f19dfa0a
SL
67002014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6701
6702 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6703
4fa8bc3b
SL
67042014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6705
6706 [BZ #14770]
6707 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6708 * sysdeps/s390/configure: Regenerate.
6709
8ea587db
SL
6710 [BZ #16824]
6711 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6712 Set round-to-nearest internally to reduce error accumulation.
6713
aa5f0ff1
AM
67142014-04-16 Alan Modra <amodra@gmail.com>
6715
6716 [BZ #16740]
6717 [BZ #16619]
6718 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6719 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6720 * NEWS: Update fixed bug list.
aa5f0ff1 6721
bb9c256f
SP
67222014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6723
6724 * benchtests/Makefile: Depend on libraries in build directory.
6725 (bench-math): Separate out math tests.
6726 (bench-pthread): Separate out pthread tests.
6727 (bench): Include math and pthread tests.
6728
f737dfd0
CD
67292014-04-14 Carlos O'Donell <carlos@redhat.com>
6730
6731 [BZ #16831]
6732 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6733 _dl_debug_initialize.
6734
0699f766
CD
6735 * configure.ac: Remove SELinux header check.
6736 * configure: Regenerate.
6737 * nscd/selinux.c (perms): Array of const char* to permission names.
6738 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6739 default policy. Call string_to_security_class and string_to_av_perm to
6740 translate strings. Enforce default policy and call avs_has_perm with
6741 results of translated strings.
6742
809bd45f
DM
67432014-04-13 David S. Miller <davem@davemloft.net>
6744
6745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6746
89e691f2
AM
67472014-04-12 Allan McRae <allan@archlinux.org>
6748
6749 [BZ #16838]
6750 * manual/string.texi (Collation Functions): Fix qsort argument
6751 order in example.
6752 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6753
9c9daaeb
CM
67542014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6755
6756 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6757 Make the test a no-op if there are no exceptions defined.
6758
95561fb9
PP
67592014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6760
fe8d072c 6761 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6762 enable-hardcoded-path-in-tests
6763
970c602a
WN
67642014-04-11 Will Newton <will.newton@linaro.org>
6765
6766 * benchtests/Makefile (extra-objs): Add json-lib.o.
6767 (bench-func): Tidy up JSON output.
6768 * benchtests/bench-skeleton.c: Include json-lib.h.
6769 (main): Use JSON library functions to do output of
6770 benchmark results.
6771 * benchtests/bench-timing-type.c (main): Output the
6772 timing type simply, leaving formatting to the user.
6773 * benchtests/json-lib.c: New file.
6774 * benchtests/json-lib.h: Likewise.
6775
36875b06
TR
67762014-04-11 Torvald Riegel <triegel@redhat.com>
6777
6778 [BZ #15215]
6779 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6780 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6781 memory barriers. Add comments.
6782 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6783 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6784 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6785 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6786 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6787 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6788
579db35a
SL
67892014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6790
6791 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6792 * sysdeps/s390/s390-64/configure.ac: ... this ...
6793 * sysdeps/s390/configure.ac: ... to here.
6794 * sysdeps/s390/s390-32/configure: Delete file.
6795 * sysdeps/s390/s390-64/configure: Delete file.
6796 * sysdeps/s390/configure: Regenerate.
6797
c12e9f37
JAPH
67982014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6799
6800 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6801
439bda32
WN
68022014-04-11 Will Newton <will.newton@linaro.org>
6803
6804 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6805 to zero if it is not defined elsewhere. (mtrim): Test
6806 the value of MALLOC_DEBUG with #if rather than #ifdef.
6807
6a5d6ea1
TR
68082014-04-10 Torvald Riegel <triegel@redhat.com>
6809
6810 * benchtests/pthread_once-inputs: New file.
6811 * benchtests/pthread_once-source.c: New file.
6812 * benchtests/README: Update documentation.
6813
a4c75cfd
IZ
68142014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6815 H.J. Lu <hongjiu.lu@intel.com>
6816
6817 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6818 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6819 * sysdeps/x86_64/configure: Regenerated.
6820 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6821 macro.
6822 (REGISTER_SAVE_RAX): Likewise.
6823 (REGISTER_SAVE_RCX): Likewise.
6824 (REGISTER_SAVE_RDX): Likewise.
6825 (REGISTER_SAVE_RSI): Likewise.
6826 (REGISTER_SAVE_RDI): Likewise.
6827 (REGISTER_SAVE_R8): Likewise.
6828 (REGISTER_SAVE_R9): Likewise.
6829 (REGISTER_SAVE_BND0): Likewise.
6830 (REGISTER_SAVE_BND1): Likewise.
6831 (REGISTER_SAVE_BND2): Likewise.
6832 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6833 bound registers when calling _dl_fixup.
6834
27822ce6
AZ
68352014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6836
6837 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6838 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6839 of its definition.
27822ce6
AZ
6840 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6841 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6842 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6843 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6844 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6845 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6846 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6847
a88ddc90
PTB
68482014-04-09 Peter Brett <peter@peter-b.co.uk>
6849
6850 [BZ #15514]
6851 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6852 pathconf(_PC_NAME_MAX).
6853
01f8eac2
AZ
68542014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6855
6856 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6857 Remove macro usage.
6858 (__PTHREAD_SPINS): Move definition to ...
6859 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6860 (__PTHREAD_SPINS): ... here.
6861 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6862 (__PTHREAD_SPIN): Likewise.
6863 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6864 (__PTHREAD_SPIN): Likewise.
6865 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6866 (__PTHREAD_SPIN): Likewise.
6867 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6868 (__PTHREAD_SPIN): Likewise.
6869 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6870 (__PTHREAD_SPIN): Likewise.
6871 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6872 (__PTHREAD_SPIN): Likewise.
6873 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6874 (__PTHREAD_SPIN): Likewise.
6875 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6876 (__PTHREAD_SPIN): Likewise.
6877 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6878 (__PTHREAD_SPIN): Likewise.
6879 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6880 (__PTHREAD_SPIN): Likewise.
6881 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6882 (__PTHREAD_SPIN): Likewise.
6883 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6884 (__PTHREAD_SPIN): Likewise.
6885
de21c33c
AZ
6886 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6887 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6888 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6889 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6890 imply folder.
6891 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6892 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6893 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6894 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6895 correct imply path.
6896 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6897 strlen symbol for non multi-arch builds.
6898 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6899 missing hidden_def and weak_alias.
6900
862c472e
CD
69012014-04-08 Carlos O'Donell <carlos@redhat.com>
6902
6903 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6904
8667f90e
WN
69052014-04-07 Will Newton <will.newton@linaro.org>
6906
6907 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6908 and contents. [!_LIBC] Remove #ifndef and contents.
6909 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6910 * string/memccpy.c (__memccpy): Use ANSI prototype.
6911 * string/memfrob.c (memfrob): Likewise.
6912 * string/strcoll.c (STRCOLL): Likewise.
6913 * string/strlen.c (strlen): Likewise.
6914 * string/strtok.c (STRTOK): Likewise.
6915 * string/strcat.c: Remove unused #include of memcopy.h.
6916 (strcat): Use ANSI prototype.
6917 * string/strchr.c: Remove unused #include of memcopy.h.
6918 (strchr): Use ANSI prototype.
6919 * string/strcmp.c: Remove unused #include of memcopy.h.
6920 (strcmp): Use ANSI prototype.
6921 * string/strcpy.c: Remove unused #include of memcopy.h.
6922 (strcpy): Use ANSI prototype.
6923
7ffa9423
AZ
69242014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6925
6926 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6927 * config.make.in (config-extra-cppflags): Set it from
6928 libc_extra_cppflags.
6929 * configure.ac (libc_extra_cflags): Make it accumulate over
6930 configure fragments.
6931 (libc_extra_cppflags): New flag.
6932 * configure. Regenerate.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6934 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6935 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6937
8bd70862
AZ
6938 [BZ #16815]
6939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6940 result for FE_DOWNWARD rounding mode.
6941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6942 Likewise.
6943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6944
d42f3448
CM
69452014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6946
6947 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6948 in function argument name.
6949
1c21d115
DS
69502014-04-03 David Svoboda <svoboda@cert.org>
6951
6952 [BZ #5666]
6953 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6954 explicitly.
6955
fcccd512
RM
69562014-04-03 Roland McGrath <roland@hack.frob.com>
6957
6958 * elf/dl-unmap-segments.h: New file.
6959 * sysdeps/generic/ldsodefs.h
6960 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6961 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6962 * elf/dl-fptr.c: Likewise.
6963 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6964 * sysdeps/aarch64/tlsdesc.c: Likewise.
6965 * sysdeps/arm/tlsdesc.c: Likewise.
6966 * sysdeps/i386/tlsdesc.c: Likewise.
6967 * sysdeps/tile/dl-runtime.c: Likewise.
6968 * sysdeps/x86_64/tlsdesc.c: Likewise.
6969 * elf/dl-load.h: New file.
6970 * elf/dl-load.c: Include it.
6971 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6972 Macros moved to dl-load.h.
6973 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6974 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6975 Use _dl_unmap_segments in place of __munmap.
6976 Break out segment-mapping loop into ...
6977 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6978
f6488e2b
WN
69792014-04-03 Will Newton <will.newton@linaro.org>
6980
6981 * elf/dl-lookup.c (do_lookup_x): Remove comment
6982 referring to nested function and move variable
6983 declarations down to before first use.
6984
6f05bafe
JM
69852014-04-02 Joseph Myers <joseph@codesourcery.com>
6986
a84e78c8
JM
6987 [BZ #16799]
6988 [BZ #16800]
6989 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6990 with 0 numerator.
6991 * math/s_catanf.c (__catanf): Likewise.
6992 * math/s_catanh.c (__catanh): Likewise.
6993 * math/s_catanhf.c (__catanhf): Likewise.
6994 * math/s_catanhl.c (__catanhl): Likewise.
6995 * math/s_catanl.c (__catanl): Likewise.
6996 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6997 by positive zero when computing -Inf result.
6998 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6999 (catanh_test): Likewise.
7000 * sysdeps/i386/fpu/libm-test-ulps: Update.
7001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7002
6f05bafe
JM
7003 [BZ #16789]
7004 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7005 instead of using underflowing value in computing result.
7006 * math/s_clog10.c (__clog10): Likewise.
7007 * math/s_clog10f.c (__clog10f): Likewise.
7008 * math/s_clog10l.c (__clog10l): Likewise.
7009 * math/s_clogf.c (__clogf): Likewise.
7010 * math/s_clogl.c (__clogl): Likewise.
7011 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7012 (clog10_test): Likewise.
7013 * sysdeps/i386/fpu/libm-test-ulps: Update.
7014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7015
b0abbc21
AM
70162014-04-02 Alan Modra <amodra@gmail.com>
7017
7018 [BZ #16739]
7019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7020 output when value is near a power of two. Use int64_t for lx and
7021 remove casts. Use decimal rather than hex exponent constants.
7022 Don't use long double multiplication when double will suffice.
7023 * math/libm-test.inc (nextafter_test_data): Add tests.
7024 * NEWS: Add 16739 and 16786 to bug list.
7025
af6b1797
AM
7026 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7027
483818d7
AM
7028 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7029
f6c55796
WN
70302014-04-01 Will Newton <will.newton@linaro.org>
7031
7032 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7033 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7034
13f7fe35
FW
70352014-04-01 Florian Weimer <fweimer@redhat.com>
7036
7037 [BZ #13347]
7038 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7039 * nptl/tst-setuid2.c: New file.
7040 * nptl/Makefile (xtests): Add tst-setuid2.
7041
c859b32e
AM
70422014-04-01 Alan Modra <amodra@gmail.com>
7043
7044 [BZ #16786]
7045 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7046
54fa2475
JM
70472014-03-31 Joseph Myers <joseph@codesourcery.com>
7048
8795b4a4
JM
7049 [BZ #6803]
7050 [BZ #6804]
7051 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7052 set errno as appropriate.
7053 * math/w_scalbf.c (__scalbf): Likewise.
7054 * math/w_scalbl.c (__scalbl): Likewise.
7055 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7056 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7057 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7058 Add more NaN tests.
7059
54fa2475
JM
7060 [BZ #16349]
7061 * math/w_atan2.c: Include <errno.h>.
7062 (__atan2): Set errno for result underflowing to zero.
7063 * math/w_atan2f.c: Include <errno.h>.
7064 (__atan2f): Set errno for result underflowing to zero.
7065 * math/w_atan2l.c: Include <errno.h>.
7066 (__atan2l): Set errno for result underflowing to zero.
7067 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7068 tests.
7069 * math/auto-libm-test-out: Regenerated.
7070
757d9dd5
AZ
70712014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7072
7073 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7074 Encode instruction correctly in little endian.
7075 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7076 Likewise.
7077 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7078 Likewise.
7079 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7080 Likewise.
7081 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7082 Likewise.
7083
d7a68734
JM
70842014-03-31 Joseph Myers <joseph@codesourcery.com>
7085
47c5adeb
JM
7086 [BZ #9894]
7087 * sysdeps/unix/sysv/linux/kernel-features.h
7088 [__sparc__ && !__arch64__ && !__sparc_v9__]
7089 (__ASSUME_SET_ROBUST_LIST): Do not define.
7090 [__sparc__ && !__arch64__ && !__sparc_v9__]
7091 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7092 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7093 Likewise.
7094 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7095 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7096 (__ASSUME_REQUEUE_PI): Likewise.
7097 (__ASSUME_SET_ROBUST_LIST): Likewise.
7098 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7099 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7100 Undefine.
7101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7102 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7103 Likewise.
7104 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7105 Likewise.
7106 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7107 Likewise.
7108 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7109 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7110 Undefine.
7111 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7112 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7113 Likewise.
7114
d7a68734
JM
7115 [BZ #16648]
7116 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7117 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7118 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7119
c760f5c2
WN
71202014-03-31 Will Newton <will.newton@linaro.org>
7121
7122 * benchtests/Makefile (bench): Add ffs and ffsll to list
7123 of tests.
7124 * benchtests/ffs-inputs: New file.
7125 * benchtests/ffsll-inputs: Likewise.
7126
ea6029b1
JM
71272014-03-29 Joseph Myers <joseph@codesourcery.com>
7128
7129 [BZ #16770]
7130 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7131 too large before casting to int.
7132 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7133 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7134 * math/libm-test.inc (scalb_test_data): Add more tests.
7135
cf806aff
SP
71362014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7137
56737508
SP
7138 * benchtests/Makefile (DETAILED_OPT): New make option.
7139 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7140 set.
7141 * benchtests/bench-skeleton.c: Include stdbool.h.
7142 (main): Store and print timings per input.
7143 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7144 member to each argument value.
7145 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7146 (_print_arg_data): Initialize per-input timing to 0.
7147
cb5e4aad
SP
7148 * benchtests/Makefile (timing-type): New binary.
7149 (bench-clean): Also remove bench-timing-type.
7150 (bench): New target for timing-type.
7151 (bench-func): Print output in JSON format.
7152 * benchtests/bench-skeleton.c (main): Print output in JSON
7153 format.
7154 * benchtests/bench-timing-type.c: New file.
7155 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7156 (TIMING_PRINT_STATS): Remove.
7157 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7158 name separately.
7159
cf806aff
SP
7160 * benchtests/bench-modf.c: Remove.
7161 * benchtests/modf-inputs: New inputs file.
7162
289e0779
JM
71632014-03-28 Joseph Myers <joseph@codesourcery.com>
7164
7165 [BZ #16362]
7166 * math/s_clog10.c (M_PI_LOG10E): New macro.
7167 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7168 imaginary parts are 0.
7169 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7170 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7171 imaginary parts are 0.
7172 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7173 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7174 imaginary parts are 0.
7175 * math/libm-test.inc (clog10_test_data): Update expected results
7176 for when real and imaginary parts are 0.
7177
277ae3f1
PP
71782014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7179
7180 * elf/dl-load.c: Finish conversion of __builtin_expect into
7181 __glibc_{un}likely.
7182
03a7091f
JM
71832014-03-27 Joseph Myers <joseph@codesourcery.com>
7184
7185 [BZ #16348]
7186 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7187 1+x for argument with exponent below -67.
7188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7189 Likewise.
7190 * math/auto-libm-test-in: Add more tests of exp.
7191 * math/auto-libm-test-out: Regenerated.
7192
ea7d8b95
SP
71932014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7194
dd3022d7
SP
7195 [BZ #16759]
7196 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7197 (nscd_getnetgrent): Use it.
7198
ea7d8b95
SP
7199 [BZ #16760]
7200 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7201 of stpcpy.
7202
df5b85da
AK
72032014-03-27 Andi Kleen <ak@linux.intel.com>
7204
57f41c40
AS
7205 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7206 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7207 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7208 (lll_robust_unlock): Remove out of line section. Use cfi
7209 intrinsics.
df5b85da 7210 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7211 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7212 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7213 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7214 (lll_robust_unlock): Remove out of line section. Use cfi
7215 intrinsics.
df5b85da
AK
7216 (LLL_STUB_UNWIND_INFO*): Remove.
7217
fbd6b5a4
SP
72182014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7219
7220 [BZ #16758]
7221 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7222 blank values.
7223
1b26b855
PP
72242014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7225
7226 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7227
9be36fb8
JM
72282014-03-26 Joseph Myers <joseph@codesourcery.com>
7229
7230 [BZ #16198]
7231 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7232 fnstenv.
7233 * math/test-fenv-preserve.c: New file.
7234 * math/Makefile (tests): Add test-fenv-preserve.
7235
60a2f3c1
WN
72362014-03-26 Will Newton <will.newton@linaro.org>
7237
7238 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7239
a5e5f1e2
RM
72402014-03-25 Roland McGrath <roland@hack.frob.com>
7241
7242 * scripts/versionlist.awk: Partition the version sets and emit all
7243 GLIBC_* (sorted) before all others (sorted).
7244
00f4012a
JM
72452014-03-25 Joseph Myers <joseph@codesourcery.com>
7246
7247 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7248 GLIBC_2.2.5 version.
7249
7bc5a741
AZ
72502014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7251
7252 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7253 calls.
7254
7578473b
AZ
7255 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7256 previous change.
7257
f3f1dab3
AZ
7258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7259
6da36183
AS
72602014-03-25 Andreas Schwab <schwab@suse.de>
7261
7262 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7263 label to be used after in6ailist is initialized.
7264
f3f1dab3 72652014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7266
7578473b 7267 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7268 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7269
046651c1
JM
72702014-03-25 Joseph Myers <joseph@codesourcery.com>
7271
7272 [BZ #16357]
7273 [BZ #16599]
7274 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7275 min_plus_half.
7276 (fp_formats): Update initializers.
7277 (init_fp_formats): Initialize new field.
7278 (output_for_one_input_case): Allow underflow for results up to
7279 min_plus_half.
7280 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7281 * math/auto-libm-test-in: Don't mark some underflows from asin and
7282 atanh as spurious.
7283 * math/auto-libm-test-out: Regenerated.
7284 * sysdeps/i386/fpu/libm-test-ulps: Update.
7285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7286
003e49ed
AS
72872014-03-25 Andreas Schwab <schwab@suse.de>
7288
7289 * libio/Makefile (tst-ftell-partial-wide-ENV)
7290 (tst-ftell-active-handler-ENV): Define.
7291
de031874
SL
72922014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7293
7294 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7295
55a81e3b
PP
72962014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7297
7298 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7299
f3426898
JM
73002014-03-24 Joseph Myers <joseph@codesourcery.com>
7301
7302 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7303 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7304 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7305
a42faf59
PP
73062014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7307
7308 [BZ #16634]
a42faf59 7309 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7310 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7311 (open_path): Change from boolean 'secure' to complete flag 'mode'
7312 (_dl_map_object): Adjust.
a42faf59
PP
7313 * elf/Makefile (tests): Add tst-dlopen-aout.
7314 * elf/tst-dlopen-aout.c: New test.
7315
50936127
SL
73162014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7317
7318 [BZ #16714]
7319 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7320 (struct stat): Rename member pad0 to __glibc_reserved0.
7321
26011b5c
SL
7322 [BZ #16712]
7323 * sysdeps/s390/s390-32/bits/wordsize.h
7324 (__WORDSIZE32_SIZE_ULONG): New define.
7325 * sysdeps/s390/s390-64/bits/wordsize.h
7326 (__WORDSIZE32_SIZE_ULONG): Likewise.
7327 * sysdeps/generic/stdint.h (SIZE_MAX):
7328 Define as UL if __WORDSIZE32_SIZE_ULONG.
7329
a2d86bf1
SL
7330 [BZ #16713]
7331 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7332 (__glibc_reserved0): New variable.
7333 (sa_flags): Change type to int.
7334
78b6eebc
SL
7335 * posix/Makefile (before-compile): Use += before-compile instead
7336 of a :=.
7337
f1399b5a
SL
7338 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7339 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7340
a071766e
AS
73412014-03-20 Andreas Schwab <schwab@suse.de>
7342
7343 [BZ #16743]
7344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7345 non-matching result from nscd.
7346
27c673b8
SP
73472014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7348
7349 * scripts/bench.py: Moved to ...
7350 * benchtests/scripts/bench.py: ... here.
7351 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7352
44152e4b
AS
73532014-03-24 Andreas Schwab <schwab@suse.de>
7354
7355 [BZ #16002]
7356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7357 alloca_account and account alloca use for struct in6ailist.
7358
b376a11a
JM
73592014-03-24 Joseph Myers <joseph@codesourcery.com>
7360
7361 [BZ #16284]
7362 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7363 rounding mode to recompute results that overflow to infinity or
7364 underflow to zero.
7365 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7366 bug 16284.
7367 * math/auto-libm-test-out: Regenerated.
7368 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7369 (ccosh_test): Likewise.
7370 (csin_test_data): Use plus_oflow.
7371 (csin_test): Use ALL_RM_TEST.
7372 (csinh_test_data): Use plus_oflow.
7373 (csinh_test): Use ALL_RM_TEST.
7374 * sysdeps/i386/fpu/libm-test-ulps: Update.
7375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7376
f7be7376
JM
73772014-03-21 Joseph Myers <joseph@codesourcery.com>
7378
1ca2d03e
JM
7379 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7380 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7381 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7382
f7be7376
JM
7383 [BZ #16731]
7384 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7385 when x - 1 is zero.
7386 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7387 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7388 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7390 argument is 1.
7391 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7392 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7393 zero.
7394 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7395 * sysdeps/i386/fpu/libm-test-ulps: Update.
7396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7397
fdf4534d
SP
73982014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7399
df26ea53
SP
7400 * scripts/bench.pl: Remove file.
7401 * scripts/bench.py: New benchmark script.
7402 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7403 * benchtests/README: Mention python dependency.
7404 * scripts/pylintrc: New file.
7405 * scripts/pylint: New file.
7406
fdf4534d
SP
7407 * bits/mathdef.h: Use #ifdef instead of #if.
7408 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7409 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7410 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7411 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7412 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7413 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7414
6f23d093
AZ
74152014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7416 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7417
7418 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7420 and strpbrk-ppc64 objects.
7421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7422 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7423 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7424 multiarch strpbrk for POWER7.
7425 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7426 multiarch strpbrk for PPC64.
7427 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7428 ifunc selector.
7429 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7430 strpbrk for POWER7.
7431
8c92dfff
JM
74322014-03-20 Joseph Myers <joseph@codesourcery.com>
7433
7434 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7435 (atan_test): Likewise.
7436 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7437 (atanh_test): Use ALL_RM_TEST.
7438 (atan2_test_data): Likewise.
7439 (cabs_test): Likewise.
7440 (cacosh_test): Likewise.
7441 (carg_test): Likewise.
7442 (casin_test): Likewise.
7443 (casinh_test): Likewise.
7444 (cbrt_test): Likewise.
7445 (csqrt_test): Likewise.
7446 (erf_test): Likewise.
7447 (erfc_test): Likewise.
7448 (pow10_test): Likewise.
7449 (exp2_test): Likewise.
7450 (hypot_test): Likewise.
7451 (j0_test): Likewise.
7452 (j1_test): Likewise.
7453 (lgamma_test): Likewise.
7454 (gamma_test): Likewise.
7455 (sincos_test): Likewise.
7456 (tanh_test): Likewise.
7457 (y0_test): Likewise.
7458 (y1_test): Likewise.
7459 * sysdeps/i386/fpu/libm-test-ulps: Update.
7460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7461
6eaf95cb
AZ
74622014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7463
a387428c
SP
7464 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7466 and strcspn-ppc64 objects.
7467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7468 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7469 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7470 multiarch strcspn for POWER7.
7471 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7472 multiarch strcspn for PPC64.
7473 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7474 ifunc selector.
7475 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7476 strcspn for POWER7.
7477
ae3a5dff
JM
74782014-03-20 Joseph Myers <joseph@codesourcery.com>
7479
7480 * math/gen-libm-test.pl (generate_testfile): Expect only function
7481 name as argument to AUTO_TESTS_* and pass results for all rounding
7482 modes to parse_args.
7483 (parse_auto_input): Separate inputs of automatic tests from
7484 outputs before storing in %auto_tests.
7485 * math/libm-test.inc (acos_test_data): Update call to
7486 AUTO_TESTS_f_f.
7487 (acos_test): Use ALL_RM_TEST.
7488 (acos_tonearest_test_data): Remove.
7489 (acos_test_tonearest): Likewise.
7490 (acos_towardzero_test_data): Likewise.
7491 (acos_test_towardzero): Likewise.
7492 (acos_downward_test_data): Likewise.
7493 (acos_test_downward): Likewise.
7494 (acos_upward_test_data): Likewise.
7495 (acos_test_upward): Likewise.
7496 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7497 (asin_test_data): Likewise.
7498 (asin_test): Use ALL_RM_TEST.
7499 (asin_tonearest_test_data): Remove.
7500 (asin_test_tonearest): Likewise.
7501 (asin_towardzero_test_data): Likewise.
7502 (asin_test_towardzero): Likewise.
7503 (asin_downward_test_data): Likewise.
7504 (asin_test_downward): Likewise.
7505 (asin_upward_test_data): Likewise.
7506 (asin_test_upward): Likewise.
7507 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7508 (atan_test_data): Likewise.
7509 (atanh_test_data): Likewise.
7510 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7511 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7512 (carg_test_data): Likewise.
7513 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7514 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7515 (ccosh_test_data): Likewise.
7516 (cexp_test_data): Likewise.
7517 (clog_test_data): Likewise.
7518 (clog10_test_data): Likewise.
7519 (cos_test_data): Update call to AUTO_TESTS_f_f.
7520 (cos_test): Use ALL_RM_TEST.
7521 (cos_tonearest_test_data): Remove.
7522 (cos_test_tonearest): Likewise.
7523 (cos_towardzero_test_data): Likewise.
7524 (cos_test_towardzero): Likewise.
7525 (cos_downward_test_data): Likewise.
7526 (cos_test_downward): Likewise.
7527 (cos_upward_test_data): Likewise.
7528 (cos_test_upward): Likewise.
7529 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7530 (cosh_test): Use ALL_RM_TEST.
7531 (cosh_tonearest_test_data): Remove.
7532 (cosh_test_tonearest): Likewise.
7533 (cosh_towardzero_test_data): Likewise.
7534 (cosh_test_towardzero): Likewise.
7535 (cosh_downward_test_data): Likewise.
7536 (cosh_test_downward): Likewise.
7537 (cosh_upward_test_data): Likewise.
7538 (cosh_test_upward): Likewise.
7539 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7540 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7541 (ctan_test_data): Likewise.
7542 (ctan_test): Use ALL_RM_TEST.
7543 (ctan_tonearest_test_data): Remove.
7544 (ctan_test_tonearest): Likewise.
7545 (ctan_towardzero_test_data): Likewise.
7546 (ctan_test_towardzero): Likewise.
7547 (ctan_downward_test_data): Likewise.
7548 (ctan_test_downward): Likewise.
7549 (ctan_upward_test_data): Likewise.
7550 (ctan_test_upward): Likewise.
7551 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7552 (ctanh_test): Use ALL_RM_TEST.
7553 (ctanh_tonearest_test_data): Remove.
7554 (ctanh_test_tonearest): Likewise.
7555 (ctanh_towardzero_test_data): Likewise.
7556 (ctanh_test_towardzero): Likewise.
7557 (ctanh_downward_test_data): Likewise.
7558 (ctanh_test_downward): Likewise.
7559 (ctanh_upward_test_data): Likewise.
7560 (ctanh_test_upward): Likewise.
7561 (erf_test_data): Update call to AUTO_TESTS_f_f.
7562 (erfc_test_data): Likewise.
7563 (exp_test_data): Likewise.
7564 (exp_test): Use ALL_RM_TEST.
7565 (exp_tonearest_test_data): Remove.
7566 (exp_test_tonearest): Likewise.
7567 (exp_towardzero_test_data): Likewise.
7568 (exp_test_towardzero): Likewise.
7569 (exp_downward_test_data): Likewise.
7570 (exp_test_downward): Likewise.
7571 (exp_upward_test_data): Likewise.
7572 (exp_test_upward): Likewise.
7573 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7574 (exp10_test): Use ALL_RM_TEST.
7575 (exp10_tonearest_test_data): Remove.
7576 (exp10_test_tonearest): Likewise.
7577 (exp10_towardzero_test_data): Likewise.
7578 (exp10_test_towardzero): Likewise.
7579 (exp10_downward_test_data): Likewise.
7580 (exp10_test_downward): Likewise.
7581 (exp10_upward_test_data): Likewise.
7582 (exp10_test_upward): Likewise.
7583 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7584 (expm1_test_data): Likewise.
7585 (expm1_test): Use ALL_RM_TEST.
7586 (expm1_tonearest_test_data): Remove.
7587 (expm1_test_tonearest): Likewise.
7588 (expm1_towardzero_test_data): Likewise.
7589 (expm1_test_towardzero): Likewise.
7590 (expm1_downward_test_data): Likewise.
7591 (expm1_test_downward): Likewise.
7592 (expm1_upward_test_data): Likewise.
7593 (expm1_test_upward): Likewise.
7594 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7595 (fma_test): Use ALL_RM_TEST.
7596 (fma_towardzero_test_data): Remove.
7597 (fma_test_towardzero): Likewise.
7598 (fma_downward_test_data): Likewise.
7599 (fma_test_downward): Likewise.
7600 (fma_upward_test_data): Likewise.
7601 (fma_test_upward): Likewise.
7602 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7603 (j0_test_data): Update call to AUTO_TESTS_f_f.
7604 (j1_test_data): Likewise.
7605 (jn_test_data): Update call to AUTO_TESTS_if_f.
7606 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7607 (log_test_data): Update call to AUTO_TESTS_f_f.
7608 (log10_test_data): Likewise.
7609 (log1p_test_data): Likewise.
7610 (log2_test_data): Likewise.
7611 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7612 (pow_tonearest_test_data): Likewise.
7613 (sin_test_data): Update call to AUTO_TESTS_f_f.
7614 (sin_test): Use ALL_RM_TEST.
7615 (sin_tonearest_test_data): Remove.
7616 (sin_test_tonearest): Likewise.
7617 (sin_towardzero_test_data): Likewise.
7618 (sin_test_towardzero): Likewise.
7619 (sin_downward_test_data): Likewise.
7620 (sin_test_downward): Likewise.
7621 (sin_upward_test_data): Likewise.
7622 (sin_test_upward): Likewise.
7623 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7624 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7625 (sinh_test): Use ALL_RM_TEST.
7626 (sinh_tonearest_test_data): Remove.
7627 (sinh_test_tonearest): Likewise.
7628 (sinh_towardzero_test_data): Likewise.
7629 (sinh_test_towardzero): Likewise.
7630 (sinh_downward_test_data): Likewise.
7631 (sinh_test_downward): Likewise.
7632 (sinh_upward_test_data): Likewise.
7633 (sinh_test_upward): Likewise.
7634 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7635 (sqrt_test): Use ALL_RM_TEST.
7636 (sqrt_tonearest_test_data): Remove.
7637 (sqrt_test_tonearest): Likewise.
7638 (sqrt_towardzero_test_data): Likewise.
7639 (sqrt_test_towardzero): Likewise.
7640 (sqrt_downward_test_data): Likewise.
7641 (sqrt_test_downward): Likewise.
7642 (sqrt_upward_test_data): Likewise.
7643 (sqrt_test_upward): Likewise.
7644 (tan_test_data): Update call to AUTO_TESTS_f_f.
7645 (tan_test): Use ALL_RM_TEST.
7646 (tan_tonearest_test_data): Remove.
7647 (tan_test_tonearest): Likewise.
7648 (tan_towardzero_test_data): Likewise.
7649 (tan_test_towardzero): Likewise.
7650 (tan_downward_test_data): Likewise.
7651 (tan_test_downward): Likewise.
7652 (tan_upward_test_data): Likewise.
7653 (tan_test_upward): Likewise.
7654 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7655 (tgamma_test_data): Likewise.
7656 (y0_test_data): Likewise.
7657 (y1_test_data): Likewise.
7658 (yn_test_data): Update call to AUTO_TESTS_if_f.
7659 (main): Do not call removed functions.
7660
d71aeee8
JM
76612014-03-19 Joseph Myers <joseph@codesourcery.com>
7662
7663 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7664 (ldexp_test_data): Remove.
7665 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7666 scalbn_test_data.
7667 (scalb_test): Use ALL_RM_TEST.
7668
baaf1ded
AS
76692014-03-19 Andreas Schwab <schwab@suse.de>
7670
7671 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7672
b1115e91
JM
76732014-03-19 Joseph Myers <joseph@codesourcery.com>
7674
7675 [BZ #16649]
7676 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7677 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7678 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7679 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7680 (__ASSUME_PREADV): Undefine.
7681 (__ASSUME_PWRITEV): Likewise.
7682
0283ecca
RM
76832014-03-18 Roland McGrath <roland@hack.frob.com>
7684
7d375303
RM
7685 * bits/mman-linux.h: Add comment about non-Linux use.
7686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7687 bits/mman-linux.h resting place.
7688
0283ecca
RM
7689 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7690 * bits/mman-linux.h: ... here.
7691
aebe1003
AZ
76922014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7693
7694 * conform/conformtest.pl: Add standard definition when calling C
7695 preprocessor on data files.
7696 (checknamespace): Remove unused variable.
7697
b29b6bb8
JM
76982014-03-18 Joseph Myers <joseph@codesourcery.com>
7699
7700 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7701 minus_oflow, plus_uflow and minus_uflow in expected results.
7702 * math/libm-test.inc (scalbn_test_data): Add more tests of
7703 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7704 minus_uflow.
7705 (scalbn_test): Use ALL_RM_TEST.
7706 (scalbln_test_data): Add more tests of negative arguments. Use
7707 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7708 (scalbln_test): Use ALL_RM_TEST.
7709
c8f8fa15
RM
77102014-03-18 Roland McGrath <roland@hack.frob.com>
7711
7712 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7713
fede7a5f
WN
77142014-03-18 Will Newton <will.newton@linaro.org>
7715
7716 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7717 inaccurate comment.
7718
80cf0a58
JM
77192014-03-18 Joseph Myers <joseph@codesourcery.com>
7720
7721 * Makerules [!subdir] (check-abi): Exit with error status if a
7722 test failed.
7723
b3620862
JM
77242014-03-17 Joseph Myers <joseph@codesourcery.com>
7725
7726 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7727 for rint. Include results for all rounding modes.
7728 (nearbyint_test): Use ALL_RM_TEST.
7729 (rint_test_data): Include all tests used for nearbyint.
7730
788bba36
WN
77312014-03-17 Will Newton <will.newton@linaro.org>
7732
04ec140a
WN
7733 * nptl/sysdeps/pthread/pthread.h: Revert previous
7734 change.
7735
7579d8d5
WN
7736 * sysdeps/generic/ldsodefs.h: Revert previous
7737 change.
7738
c15cf13a
WN
7739 * libio/genops.c: Revert previous change.
7740 * libio/libioP.h: Likewise.
7741 * stdio-common/vfprintf.c: Likewise.
7742
d0ac1324
WN
7743 * sysdeps/generic/math_private.h: Revert previous
7744 change.
7745
9290130a
WN
7746 * sysdeps/generic/math_private.h: Check whether
7747 HAVE_RM_CTX is defined with #ifdef rather
7748 than #if.
7749
afb466fc
WN
7750 * argp/argp-fmtstream.h: Check whether
7751 __STRICT_ANSI__ is defined with #ifdef rather
7752 than #if.
7753 * argp/argp.h: Likewise.
7754
f7efd7c3
WN
7755 * libio/genops.c: Check whether
7756 _IO_JUMPS_OFFSET is defined with #ifdef rather
7757 than #if.
7758 * libio/libioP.h: Likewise.
7759 * stdio-common/vfprintf.c: Likewise.
7760
53f1bed3
WN
7761 * sysdeps/generic/ldsodefs.h: Check whether
7762 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7763 than #if.
7764
788bba36
WN
7765 * nptl/sysdeps/pthread/pthread.h: Check
7766 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7767 its value.
7768
fcd89ebe
SP
77692014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7770
ae42bbc5
SP
7771 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7772 setting O_APPEND.
7773 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7774 test case.
7775
ea33158c
SP
7776 [BZ #16680]
7777 * libio/fileops.c (_IO_file_open): Seek to end of file but
7778 don't cache the offset.
7779 (get_file_offset): Remove function.
7780 (do_ftell): Use cached offset when available.
7781 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7782 don't cache the offset.
7783 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7784 case.
7785 (do_one_test): Call it.
7786 (do_ftell_test): Fix up expected old offset for a+ mode.
7787 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7788 available.
7789
b1dbb426
SP
7790 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7791 up test status with function return status.
7792 (do_write_test): Likewise.
7793 (do_append_test): Likewise.
7794
fcd89ebe
SP
7795 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7796 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7797 Remove.
7798
9962a2d3
JM
77992014-03-17 Joseph Myers <joseph@codesourcery.com>
7800
7801 * math/gen-libm-test.pl (parse_args): Handle results specified for
7802 each rounding mode separately.
7803 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7804 tests and results from lrint_tonearest_test_data,
7805 lrint_towardzero_test_data, lrint_downward_test_data and
7806 lrint_upward_test_data.
7807 (lrint_test): Use ALL_RM_TEST.
7808 (lrint_tonearest_test_data): Remove.
7809 (lrint_test_tonearest): Likewise.
7810 (lrint_towardzero_test_data): Likewise.
7811 (lrint_test_towardzero): Likewise.
7812 (lrint_downward_test_data): Likewise.
7813 (lrint_test_downward): Likewise.
7814 (lrint_upward_test_data): Likewise.
7815 (lrint_test_upward): Likewise.
7816 (llrint_test_data): Merge in per-rounding-mode tests and results
7817 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7818 llrint_downward_test_data and llrint_upward_test_data.
7819 (llrint_test): Use ALL_RM_TEST.
7820 (llrint_tonearest_test_data): Remove.
7821 (llrint_test_tonearest): Likewise.
7822 (llrint_towardzero_test_data): Likewise.
7823 (llrint_test_towardzero): Likewise.
7824 (llrint_downward_test_data): Likewise.
7825 (llrint_test_downward): Likewise.
7826 (llrint_upward_test_data): Likewise.
7827 (llrint_test_upward): Likewise.
7828 (rint_test_data): Merge in per-rounding-mode tests and results
7829 from rint_tonearest_test_data, rint_towardzero_test_data,
7830 rint_downward_test_data and rint_upward_test_data. Add
7831 per-rounding-mode results for tests not in those arrays.
7832 (rint_test): Use ALL_RM_TEST.
7833 (rint_tonearest_test_data): Remove.
7834 (rint_test_tonearest): Likewise.
7835 (rint_towardzero_test_data): Likewise.
7836 (rint_test_towardzero): Likewise.
7837 (rint_downward_test_data): Likewise.
7838 (rint_test_downward): Likewise.
7839 (rint_upward_test_data): Likewise.
7840 (rint_test_upward): Likewise.
7841 (main): Don't call removed functions.
7842
5006148e
RM
78432014-03-14 Roland McGrath <roland@hack.frob.com>
7844
7845 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7846 "Compiled on ..." crapola. It is anti-useful.
7847
d6fe5e58
JM
78482014-03-14 Joseph Myers <joseph@codesourcery.com>
7849
7850 * scripts/evaluate-test.sh: Handle fourth argument to determine
7851 whether test run should stop on failure.
7852 * Makeconfig (stop-on-test-failure): New variable.
7853 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7854 $(stop-on-test-failure).
7855 * Makefile (tests): Give a summary of results from testing and
7856 exit with failure status if they include an ERROR or FAIL.
7857 (xtests): Likewise.
7858 * manual/install.texi (Configuring and compiling): Mention
7859 stop-on-test-failure=y.
7860 * INSTALL: Regenerated.
7861
498a2233
RM
78622014-03-14 Roland McGrath <roland@hack.frob.com>
7863
22dbc19d
RM
7864 * scripts/versionlist.awk: New file.
7865 * Makerules [$(build-shared) = yes]
7866 (postclean-generated): Add Versions.def, not Versions.def.v and
7867 Versions.def.v.i.
7868 ($(common-objpfx)Versions.def.v.i): Target removed.
7869 ($(common-objpfx)Versions.def): New target.
7870 ($(common-objpfx)Versions.all): Depend on that rather that
7871 $(common-objpfx)Versions.def.v.
7872 * Versions.def: File removed.
7873
498a2233
RM
7874 * Makeconfig (+gccwarn): Add -Wundef.
7875 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7876 a dl-sysdep.h breaking its contract.
7877 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7878 * include/stackinfo.h: New file.
7879 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7880 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7881 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7882 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7883 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7884 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7885 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7886 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7887 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7888 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7889 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7890 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7891 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7892 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7893 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7894
c7de5025
AZ
78952014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7896
7897 [BZ #16707]
7898 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7899 implementation.
7900 * math/libm-test.inc (round_test_data): Add more tests.
7901
98fb27a3
AZ
7902 [BZ #16706]
7903 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7904 implementation.
7905 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7906
374f7f61
AZ
7907 [BZ #16701]
7908 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7909 implementation.
7910 * math/libm-test.inc (ceil_test_data): Add more tests.
7911
4655c291
AZ
7912 * math/libm-test.inc (trunc_test_data): Add more tests related to
7913 BZ#16414.
7914
d7329d4b
RM
79152014-03-14 Roland McGrath <roland@hack.frob.com>
7916
7917 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7918 with #if rather than #ifdef.
7919 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7920
aa4de9ce
L
79212014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7922
7923 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7924 first. Disable AVX-512 GCC support if assembler doesn't support
7925 it.
7926 * sysdeps/x86_64/configure: Regenerated.
7927
2e03fae7
CD
79282014-03-13 Carlos O'Donell <carlos@redhat.com>
7929
7930 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7931 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7932 (__old_pthread_attr_setstack): Likewise.
7933 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7934 [!_STACK_GROWS_DOWN]: Likewise.
7935
43ca83ec
MF
79362014-03-13 Mike Frysinger <vapier@gentoo.org>
7937
7938 * config.make.in (have-bash2): Delete.
7939 * configure.ac (libc_cv_have_bash2): Delete.
7940 * configure: Regenerate.
7941 * elf/Makefile (common-ldd-rewrite): Rename to ...
7942 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7943 (sh-ldd-rewrite): Delete.
7944 (bash-ldd-rewrite): Delete.
7945 (have-bash2): Delete checks.
57f41c40
AS
7946 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7947 ldd-rewrite.
c66e48b4
MF
7948
7949 * config.make.in (have-ksh): Delete.
7950 (KSH): Delete.
7951 * configure.ac (libc_cv_have_ksh): Delete.
7952 * configure: Regenerate.
7953
b93834ef
MF
7954 * elf/Makefile: Delete $(have-ksh) check.
7955 ($(objpfx)sotruss): Change KSH to BASH.
7956 * elf/sotruss.ksh: Rename to ...
7957 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7958 function style to match POSIX. Drop ksh vim mode setting.
7959
f3a4632a
MF
7960 * manual/time.texi (Specifying the Time Zone with TZ): Change
7961 Tuesday to Thursday.
7962
5896c8bd
MF
7963 * debug/tst-longjmp_chk2.c: Update header comment.
7964 (stackoverflow_handler): Add comment. Call assert on pass value.
7965
2d63a517
IZ
79662014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7967
7968 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7969 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7970 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7971 (La_x86_64_vector): Add zmm.
7972 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7973 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7974 ($(objpfx)tst-audit10): New target.
7975 ($(objpfx)tst-audit10.out): Likewise.
7976 (tst-audit10-ENV): New.
7977 (AVX512-CFLAGS): Likewise.
7978 (CFLAGS-tst-audit10.c): Likewise.
7979 (CFLAGS-tst-auditmod10a.c): Likewise.
7980 (CFLAGS-tst-auditmod10b.c): Likewise.
7981 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7982 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7983 * sysdeps/x86_64/configure: Regenerated.
7984 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7985 AVX-512 zmm register support.
7986 (_dl_x86_64_save_sse): Likewise.
7987 (_dl_x86_64_restore_sse): Likewise.
7988 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7989 size vector registers.
7990 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7991 (ZMM_SIZE): Likewise.
7992 * sysdeps/x86_64/tst-audit10.c: New file.
7993 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7994 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7995
44c4e5d5
RM
79962014-03-13 Roland McGrath <roland@hack.frob.com>
7997
7998 * configure.ac (HAVE_EHDR_START): New check.
7999 * configure: Regenerated.
8000 * config.h.in (HAVE_EHDR_START): New #undef.
8001 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8002 assuming the lowest-addressed segment maps the start of the file.
8003
acd6e389
JM
80042014-03-13 Joseph Myers <joseph@codesourcery.com>
8005
8006 * INSTALL: Regenerated.
8007
6f918f36
WN
80082014-03-13 Will Newton <will.newton@linaro.org>
8009
8010 * manual/setjmp.texi (System V contexts): Improve
8011 clarity and grammar of documentation.
8012
798212a0
PP
80132014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8014
8015 [BZ #16381]
798212a0 8016 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8017 (tests-pie): Add tst-pie2.
798212a0
PP
8018 * elf/tst-pie2.c: New file.
8019 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8020 for ET_EXEC.
8021 * elf/rtld.c (map_doit): Load executable as lt_executable.
8022 (dl_main): Likewise.
8023
abe6d90c
JM
80242014-03-12 Joseph Myers <joseph@codesourcery.com>
8025
8026 [BZ #16642]
8027 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8028 (__ASSUME_PSELECT): Undefine.
8029
dd3946c6
AZ
80302014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8031
8032 [BZ #16689]
8033 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8034 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8035 static build.
8036 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8037 selector for static builds.
8038
c44496df
SP
80392014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8040
8041 [BZ #16695]
8042 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8043 key in the buffer.
8044
27c7220a
AZ
80452014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8046
57f41c40
AS
8047 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8048 IFUNC selector for static builds.
27c7220a 8049
600fa361
JM
80502014-03-11 Joseph Myers <joseph@codesourcery.com>
8051
76c96cf7
JM
8052 * sysdeps/mips/math_private.h [__mips_hard_float]
8053 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8054 libc_feresetround_mips_ctx.
8055 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8056 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8057 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8058
600fa361
JM
8059 [BZ #16677]
8060 * math/s_nextafter.c (__nextafter): Do not return value from
8061 overflowing computation.
8062 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8063 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8064 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8065 Likewise.
8066 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8067 Likewise.
8068 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8069 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8070
d7706c32
RM
80712014-03-11 Roland McGrath <roland@hack.frob.com>
8072
8073 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8074 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8075 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8076 the new mov targetting sp.
8077
4facea47
AZ
80782014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8079
8080 [BZ #16683]
8081 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8082 Define it for static builds as well.
8083 (NO_BZERO_IMPL): Likewise.
8084
e65caf1f
VR
80852014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8086
8087 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8088 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8089 multiarch strspn for PPC64.
8090 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8091 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8093 (__libc_ifunc_impl_list): Likewise.
8094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8095 multiarch optimizations
8096 * string/strspn.c (strspn): Using macro to redefine symbol name.
8097
ba9cc071
AZ
80982014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8099 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8100
8101 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8102 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8103 multiarch strncat for PPC64.
8104 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8105 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8107 (__libc_ifunc_impl_list): Likewise.
8108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8109 multiarch optimizations
8110
8b4ff974
SP
81112014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8112
8113 [BZ #16639]
8114 * nscd/nscd.service: Make service type forking.
8115
54b46a4b
AZ
81162014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8117
8118 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8119 sign in non default rounding modes.
8120 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8121
e9996ef7
JM
81222014-03-08 Joseph Myers <joseph@codesourcery.com>
8123
8124 * math/libm-test.inc (ALL_RM_TEST): New macro.
8125 (ceil_test): Use ALL_RM_TEST.
8126 (cimag_test): Likewise.
8127 (conj_test): Likewise.
8128 (copysign_test): Likewise.
8129 (cproj_test): Likewise.
8130 (creal_test): Likewise.
8131 (fabs_test): Likewise.
8132 (floor_test): Likewise.
8133 (fmax_test): Likewise.
8134 (fmin_test): Likewise.
8135 (fmod_test): Likewise.
8136 (fpclassify_test): Likewise.
8137 (frexp_test): Likewise.
8138 (ilogb_test): Likewise.
8139 (isfinite_test): Likewise.
8140 (finite_test): Likewise.
8141 (isgreater_test): Likewise.
8142 (isgreaterequal_test): Likewise.
8143 (isinf_test): Likewise.
8144 (isless_test): Likewise.
8145 (islessequal_test): Likewise.
8146 (islessgreater_test): Likewise.
8147 (isnan_test): Likewise.
8148 (isnormal_test): Likewise.
8149 (issignaling_test): Likewise.
8150 (isunordered_test): Likewise.
8151 (logb_test): Likewise.
8152 (logb_downward_test_data): Remove.
8153 (logb_test_downward): Likewise.
8154 (lround_test): Use ALL_RM_TEST.
8155 (llround_test): Likewise.
8156 (modf_test): Likewise.
8157 (nexttoward_test): Likewise.
8158 (remainder_test): Likewise.
8159 (drem_test): Likewise.
8160 (remainder_tonearest_test_data): Likewise.
8161 (remainder_test_tonearest): Likewise.
8162 (drem_test_tonearest): Likewise.
8163 (remainder_towardzero_test_data): Likewise.
8164 (remainder_test_towardzero): Likewise.
8165 (drem_test_towardzero): Likewise.
8166 (remainder_downward_test_data): Likewise.
8167 (remainder_test_downward): Likewise.
8168 (drem_test_downward): Likewise.
8169 (remainder_upward_test_data): Likewise.
8170 (remainder_test_upward): Likewise.
8171 (drem_test_upward): Likewise.
8172 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8173 (round_test): Use ALL_RM_TEST.
8174 (signbit_test): Likewise.
8175 (trunc_test): Likewise.
8176 (significand_test): Likewise.
8177 (main): Don't call removed functions.
8178
bc61d27c
JM
81792014-03-07 Joseph Myers <joseph@codesourcery.com>
8180
5c780849
JM
8181 [BZ #16674]
8182 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8183 || __USE_XOPEN2K8].
8184 (ILL_ILLOPN): Likewise.
8185 (ILL_ILLADR): Likewise.
8186 (ILL_ILLTRP): Likewise.
8187 (ILL_PRVOPC): Likewise.
8188 (ILL_PRVREG): Likewise.
8189 (ILL_COPROC): Likewise.
8190 (ILL_BADSTK): Likewise.
8191 (FPE_INTDIV): Likewise.
8192 (FPE_INTOVF): Likewise.
8193 (FPE_FLTDIV): Likewise.
8194 (FPE_FLTOVF): Likewise.
8195 (FPE_FLTUND): Likewise.
8196 (FPE_FLTRES): Likewise.
8197 (FPE_FLTINV): Likewise.
8198 (FPE_FLTSUB): Likewise.
8199 (SEGV_MAPERR): Likewise.
8200 (SEGV_ACCERR): Likewise.
8201 (BUS_ADRALN): Likewise.
8202 (BUS_ADRERR): Likewise.
8203 (BUS_OBJERR): Likewise.
8204 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8205 (TRAP_TRACE): Likewise.
8206 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8207 __USE_XOPEN2K8].
8208 (CLD_KILLED): Likewise.
8209 (CLD_DUMPED): Likewise.
8210 (CLD_TRAPPED): Likewise.
8211 (CLD_STOPPED): Likewise.
8212 (CLD_CONTINUED): Likewise.
8213 (POLL_IN): Likewise.
8214 (POLL_OUT): Likewise.
8215 (POLL_MSG): Likewise.
8216 (POLL_ERR): Likewise.
8217 (POLL_PRI): Likewise.
8218 (POLL_HUP): Likewise.
8219 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8220 Likewise.
8221 (ILL_ILLOPN): Likewise.
8222 (ILL_ILLADR): Likewise.
8223 (ILL_ILLTRP): Likewise.
8224 (ILL_PRVOPC): Likewise.
8225 (ILL_PRVREG): Likewise.
8226 (ILL_COPROC): Likewise.
8227 (ILL_BADSTK): Likewise.
8228 (FPE_INTDIV): Likewise.
8229 (FPE_INTOVF): Likewise.
8230 (FPE_FLTDIV): Likewise.
8231 (FPE_FLTOVF): Likewise.
8232 (FPE_FLTUND): Likewise.
8233 (FPE_FLTRES): Likewise.
8234 (FPE_FLTINV): Likewise.
8235 (FPE_FLTSUB): Likewise.
8236 (SEGV_MAPERR): Likewise.
8237 (SEGV_ACCERR): Likewise.
8238 (BUS_ADRALN): Likewise.
8239 (BUS_ADRERR): Likewise.
8240 (BUS_OBJERR): Likewise.
8241 (BUS_MCEERR_AR): Likewise.
8242 (BUS_MCEERR_AO): Likewise.
8243 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8244 (TRAP_TRACE): Likewise.
8245 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8246 __USE_XOPEN2K8].
8247 (CLD_KILLED): Likewise.
8248 (CLD_DUMPED): Likewise.
8249 (CLD_TRAPPED): Likewise.
8250 (CLD_STOPPED): Likewise.
8251 (CLD_CONTINUED): Likewise.
8252 (POLL_IN): Likewise.
8253 (POLL_OUT): Likewise.
8254 (POLL_MSG): Likewise.
8255 (POLL_ERR): Likewise.
8256 (POLL_PRI): Likewise.
8257 (POLL_HUP): Likewise.
8258 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8259 (ILL_ILLOPN): Likewise.
8260 (ILL_ILLADR): Likewise.
8261 (ILL_ILLTRP): Likewise.
8262 (ILL_PRVOPC): Likewise.
8263 (ILL_PRVREG): Likewise.
8264 (ILL_COPROC): Likewise.
8265 (ILL_BADSTK): Likewise.
8266 (FPE_INTDIV): Likewise.
8267 (FPE_INTOVF): Likewise.
8268 (FPE_FLTDIV): Likewise.
8269 (FPE_FLTOVF): Likewise.
8270 (FPE_FLTUND): Likewise.
8271 (FPE_FLTRES): Likewise.
8272 (FPE_FLTINV): Likewise.
8273 (FPE_FLTSUB): Likewise.
8274 (SEGV_MAPERR): Likewise.
8275 (SEGV_ACCERR): Likewise.
8276 (BUS_ADRALN): Likewise.
8277 (BUS_ADRERR): Likewise.
8278 (BUS_OBJERR): Likewise.
8279 (BUS_MCEERR_AR): Likewise.
8280 (BUS_MCEERR_AO): Likewise.
8281 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8282 (TRAP_TRACE): Likewise.
8283 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8284 __USE_XOPEN2K8].
8285 (CLD_KILLED): Likewise.
8286 (CLD_DUMPED): Likewise.
8287 (CLD_TRAPPED): Likewise.
8288 (CLD_STOPPED): Likewise.
8289 (CLD_CONTINUED): Likewise.
8290 (POLL_IN): Likewise.
8291 (POLL_OUT): Likewise.
8292 (POLL_MSG): Likewise.
8293 (POLL_ERR): Likewise.
8294 (POLL_PRI): Likewise.
8295 (POLL_HUP): Likewise.
8296 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8297 Likewise.
8298 (ILL_ILLOPN): Likewise.
8299 (ILL_ILLADR): Likewise.
8300 (ILL_ILLTRP): Likewise.
8301 (ILL_PRVOPC): Likewise.
8302 (ILL_PRVREG): Likewise.
8303 (ILL_COPROC): Likewise.
8304 (ILL_BADSTK): Likewise.
8305 (ILL_BADIADDR): Likewise.
8306 (ILL_BREAK): Likewise.
8307 (FPE_INTDIV): Likewise.
8308 (FPE_INTOVF): Likewise.
8309 (FPE_FLTDIV): Likewise.
8310 (FPE_FLTOVF): Likewise.
8311 (FPE_FLTUND): Likewise.
8312 (FPE_FLTRES): Likewise.
8313 (FPE_FLTINV): Likewise.
8314 (FPE_FLTSUB): Likewise.
8315 (FPE_DECOVF): Likewise.
8316 (FPE_DECDIV): Likewise.
8317 (FPE_DECERR): Likewise.
8318 (FPE_INVASC): Likewise.
8319 (FPE_INVDEC): Likewise.
8320 (SEGV_MAPERR): Likewise.
8321 (SEGV_ACCERR): Likewise.
8322 (SEGV_PSTKOVF): Likewise.
8323 (BUS_ADRALN): Likewise.
8324 (BUS_ADRERR): Likewise.
8325 (BUS_OBJERR): Likewise.
8326 (BUS_MCEERR_AR): Likewise.
8327 (BUS_MCEERR_AO): Likewise.
8328 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8329 (TRAP_TRACE): Likewise.
8330 (TRAP_BRANCH): Likewise.
8331 (TRAP_HWBKPT): Likewise.
8332 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8333 __USE_XOPEN2K8].
8334 (CLD_KILLED): Likewise.
8335 (CLD_DUMPED): Likewise.
8336 (CLD_TRAPPED): Likewise.
8337 (CLD_STOPPED): Likewise.
8338 (CLD_CONTINUED): Likewise.
8339 (POLL_IN): Likewise.
8340 (POLL_OUT): Likewise.
8341 (POLL_MSG): Likewise.
8342 (POLL_ERR): Likewise.
8343 (POLL_PRI): Likewise.
8344 (POLL_HUP): Likewise.
8345 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8346 (ILL_ILLOPN): Likewise.
8347 (ILL_ILLADR): Likewise.
8348 (ILL_ILLTRP): Likewise.
8349 (ILL_PRVOPC): Likewise.
8350 (ILL_PRVREG): Likewise.
8351 (ILL_COPROC): Likewise.
8352 (ILL_BADSTK): Likewise.
8353 (FPE_INTDIV): Likewise.
8354 (FPE_INTOVF): Likewise.
8355 (FPE_FLTDIV): Likewise.
8356 (FPE_FLTOVF): Likewise.
8357 (FPE_FLTUND): Likewise.
8358 (FPE_FLTRES): Likewise.
8359 (FPE_FLTINV): Likewise.
8360 (FPE_FLTSUB): Likewise.
8361 (SEGV_MAPERR): Likewise.
8362 (SEGV_ACCERR): Likewise.
8363 (BUS_ADRALN): Likewise.
8364 (BUS_ADRERR): Likewise.
8365 (BUS_OBJERR): Likewise.
8366 (BUS_MCEERR_AR): Likewise.
8367 (BUS_MCEERR_AO): Likewise.
8368 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8369 (TRAP_TRACE): Likewise.
8370 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8371 __USE_XOPEN2K8].
8372 (CLD_KILLED): Likewise.
8373 (CLD_DUMPED): Likewise.
8374 (CLD_TRAPPED): Likewise.
8375 (CLD_STOPPED): Likewise.
8376 (CLD_CONTINUED): Likewise.
8377 (POLL_IN): Likewise.
8378 (POLL_OUT): Likewise.
8379 (POLL_MSG): Likewise.
8380 (POLL_ERR): Likewise.
8381 (POLL_PRI): Likewise.
8382 (POLL_HUP): Likewise.
8383 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8384 (ILL_ILLOPN): Likewise.
8385 (ILL_ILLADR): Likewise.
8386 (ILL_ILLTRP): Likewise.
8387 (ILL_PRVOPC): Likewise.
8388 (ILL_PRVREG): Likewise.
8389 (ILL_COPROC): Likewise.
8390 (ILL_BADSTK): Likewise.
8391 (FPE_INTDIV): Likewise.
8392 (FPE_INTOVF): Likewise.
8393 (FPE_FLTDIV): Likewise.
8394 (FPE_FLTOVF): Likewise.
8395 (FPE_FLTUND): Likewise.
8396 (FPE_FLTRES): Likewise.
8397 (FPE_FLTINV): Likewise.
8398 (FPE_FLTSUB): Likewise.
8399 (SEGV_MAPERR): Likewise.
8400 (SEGV_ACCERR): Likewise.
8401 (BUS_ADRALN): Likewise.
8402 (BUS_ADRERR): Likewise.
8403 (BUS_OBJERR): Likewise.
8404 (BUS_MCEERR_AR): Likewise.
8405 (BUS_MCEERR_AO): Likewise.
8406 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8407 (TRAP_TRACE): Likewise.
8408 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8409 __USE_XOPEN2K8].
8410 (CLD_KILLED): Likewise.
8411 (CLD_DUMPED): Likewise.
8412 (CLD_TRAPPED): Likewise.
8413 (CLD_STOPPED): Likewise.
8414 (CLD_CONTINUED): Likewise.
8415 (POLL_IN): Likewise.
8416 (POLL_OUT): Likewise.
8417 (POLL_MSG): Likewise.
8418 (POLL_ERR): Likewise.
8419 (POLL_PRI): Likewise.
8420 (POLL_HUP): Likewise.
8421 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8422 (ILL_ILLOPN): Likewise.
8423 (ILL_ILLADR): Likewise.
8424 (ILL_ILLTRP): Likewise.
8425 (ILL_PRVOPC): Likewise.
8426 (ILL_PRVREG): Likewise.
8427 (ILL_COPROC): Likewise.
8428 (ILL_BADSTK): Likewise.
8429 (FPE_INTDIV): Likewise.
8430 (FPE_INTOVF): Likewise.
8431 (FPE_FLTDIV): Likewise.
8432 (FPE_FLTOVF): Likewise.
8433 (FPE_FLTUND): Likewise.
8434 (FPE_FLTRES): Likewise.
8435 (FPE_FLTINV): Likewise.
8436 (FPE_FLTSUB): Likewise.
8437 (SEGV_MAPERR): Likewise.
8438 (SEGV_ACCERR): Likewise.
8439 (BUS_ADRALN): Likewise.
8440 (BUS_ADRERR): Likewise.
8441 (BUS_OBJERR): Likewise.
8442 (BUS_MCEERR_AR): Likewise.
8443 (BUS_MCEERR_AO): Likewise.
8444 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8445 (TRAP_TRACE): Likewise.
8446 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8447 __USE_XOPEN2K8].
8448 (CLD_KILLED): Likewise.
8449 (CLD_DUMPED): Likewise.
8450 (CLD_TRAPPED): Likewise.
8451 (CLD_STOPPED): Likewise.
8452 (CLD_CONTINUED): Likewise.
8453 (POLL_IN): Likewise.
8454 (POLL_OUT): Likewise.
8455 (POLL_MSG): Likewise.
8456 (POLL_ERR): Likewise.
8457 (POLL_PRI): Likewise.
8458 (POLL_HUP): Likewise.
8459 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8460 (ILL_ILLOPN): Likewise.
8461 (ILL_ILLADR): Likewise.
8462 (ILL_ILLTRP): Likewise.
8463 (ILL_PRVOPC): Likewise.
8464 (ILL_PRVREG): Likewise.
8465 (ILL_COPROC): Likewise.
8466 (ILL_BADSTK): Likewise.
8467 (ILL_DBLFLT): Likewise.
8468 (ILL_HARDWALL): Likewise.
8469 (FPE_INTDIV): Likewise.
8470 (FPE_INTOVF): Likewise.
8471 (FPE_FLTDIV): Likewise.
8472 (FPE_FLTOVF): Likewise.
8473 (FPE_FLTUND): Likewise.
8474 (FPE_FLTRES): Likewise.
8475 (FPE_FLTINV): Likewise.
8476 (FPE_FLTSUB): Likewise.
8477 (SEGV_MAPERR): Likewise.
8478 (SEGV_ACCERR): Likewise.
8479 (BUS_ADRALN): Likewise.
8480 (BUS_ADRERR): Likewise.
8481 (BUS_OBJERR): Likewise.
8482 (BUS_MCEERR_AR): Likewise.
8483 (BUS_MCEERR_AO): Likewise.
8484 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8485 (TRAP_TRACE): Likewise.
8486 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8487 __USE_XOPEN2K8].
8488 (CLD_KILLED): Likewise.
8489 (CLD_DUMPED): Likewise.
8490 (CLD_TRAPPED): Likewise.
8491 (CLD_STOPPED): Likewise.
8492 (CLD_CONTINUED): Likewise.
8493 (POLL_IN): Likewise.
8494 (POLL_OUT): Likewise.
8495 (POLL_MSG): Likewise.
8496 (POLL_ERR): Likewise.
8497 (POLL_PRI): Likewise.
8498 (POLL_HUP): Likewise.
8499 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8500 (ILL_ILLOPN): Likewise.
8501 (ILL_ILLADR): Likewise.
8502 (ILL_ILLTRP): Likewise.
8503 (ILL_PRVOPC): Likewise.
8504 (ILL_PRVREG): Likewise.
8505 (ILL_COPROC): Likewise.
8506 (ILL_BADSTK): Likewise.
8507 (FPE_INTDIV): Likewise.
8508 (FPE_INTOVF): Likewise.
8509 (FPE_FLTDIV): Likewise.
8510 (FPE_FLTOVF): Likewise.
8511 (FPE_FLTUND): Likewise.
8512 (FPE_FLTRES): Likewise.
8513 (FPE_FLTINV): Likewise.
8514 (FPE_FLTSUB): Likewise.
8515 (SEGV_MAPERR): Likewise.
8516 (SEGV_ACCERR): Likewise.
8517 (BUS_ADRALN): Likewise.
8518 (BUS_ADRERR): Likewise.
8519 (BUS_OBJERR): Likewise.
8520 (BUS_MCEERR_AR): Likewise.
8521 (BUS_MCEERR_AO): Likewise.
8522 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8523 (TRAP_TRACE): Likewise.
8524 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8525 __USE_XOPEN2K8].
8526 (CLD_KILLED): Likewise.
8527 (CLD_DUMPED): Likewise.
8528 (CLD_TRAPPED): Likewise.
8529 (CLD_STOPPED): Likewise.
8530 (CLD_CONTINUED): Likewise.
8531 (POLL_IN): Likewise.
8532 (POLL_OUT): Likewise.
8533 (POLL_MSG): Likewise.
8534 (POLL_ERR): Likewise.
8535 (POLL_PRI): Likewise.
8536 (POLL_HUP): Likewise.
8537 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8538 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8539
bc61d27c
JM
8540 [BZ #16670]
8541 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8542 before #include of <time.h>.
8543 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8544 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8545 (test-xfail-UNIX98/sched.h/conform): Likewise.
8546
302949e2
MS
85472014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8548
8549 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8550 error absence of trapping exception support.
8551 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8552
a00f522a
JM
85532014-03-07 Joseph Myers <joseph@codesourcery.com>
8554
6f99f280
JM
8555 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8556 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8557 * timezone/Makefile (testdata): Move definition above include of
8558 Rules.
8559 (test-zones): New variable.
8560 (tests-special): Add zone files.
8561 (build-testdata): Use $(evaluate-test).
8562
0b20a9e8
JM
8563 * elf/Makefile (tests-special): Rename tests to end with .out.
8564 ($(objpfx)noload-mem): Likewise.
8565 ($(objpfx)tst-leaks1-mem): Likewise.
8566 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8567 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8568 $(objpfx)test-iconvconfig.out.
8569 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8570 set -e inside subshell and redirect output to file.
8571 * iconvdata/Makefile (generated): Rename tests to end with .out.
8572 Correct type.
8573 (tests-special): Rename tests to end with .out.
8574 ($(objpfx)mtrace-tst-loading): Likewise.
8575 * intl/Makefile (generated): Likewise.
8576 (tests-special): Likewise.
8577 ($(objpfx)mtrace-tst-gettext): Likewise.
8578 * misc/Makefile (generated): Likewise.
8579 (tests-special): Likewise.
8580 ($(objpfx)tst-error1-mem): Likewise.
8581 * nptl/Makefile (tests-special): Likewise.
8582 ($(objpfx)tst-stack3-mem): Likewise.
8583 (generated): Likewise.
8584 * posix/Makefile (generated): Likewise.
8585 (tests-special): Likewise.
8586 (xtests-special): Likewise.
8587 ($(objpfx)tst-fnmatch-mem): Likewise.
8588 ($(objpfx)bug-regex2-mem): Likewise.
8589 ($(objpfx)bug-regex14-mem): Likewise.
8590 ($(objpfx)bug-regex21-mem): Likewise.
8591 ($(objpfx)bug-regex31-mem): Likewise.
8592 ($(objpfx)tst-vfork3-mem): Likewise.
8593 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8594 ($(objpfx)tst-pcre-mem): Likewise.
8595 ($(objpfx)tst-boost-mem): Likewise.
8596 ($(objpfx)bug-ga2-mem): Likewise.
8597 ($(objpfx)bug-glob2-mem): Likewise.
8598 * resolv/Makefile (generate): Likewise.
8599 (tests-special): Likewise.
8600 (xtests-special): Likewise.
8601 (generated): Likewise.
8602 ($(objpfx)mtrace-tst-leaks): Likewise.
8603 ($(objpfx)mtrace-tst-leaks2): Likewise.
8604
265d52ab
JM
8605 * scripts/merge-test-results.sh: New file.
8606 * Makefile (tests-special-notdir): New variable.
8607 (tests): Run merge-test-results.sh.
8608 (xtests): Likewise.
8609 * Rules (tests-special-notdir): New variable.
8610 (xtests-special-notdir): Likewise.
8611 (tests): Run merge-test-results.sh
8612 (xtests): Likewise.
8613
54ee292d
JM
8614 * Makeconfig (test-xfail-name): New variable.
8615 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8616 compute variable name for expected failures.
8617 * conform/Makefile (conformtest-headers-data): New variable.
8618 (conformtest-standards): Likewise.
8619 (conformtest-headers-ISO): Likewise.
8620 (conformtest-headers-ISO99): Likewise.
8621 (conformtest-headers-ISO11): Likewise.
8622 (conformtest-headers-POSIX): Likewise.
8623 (conformtest-headers-XPG3): Likewise.
8624 (conformtest-headers-XPG4): Likewise.
8625 (conformtest-headers-UNIX98): Likewise.
8626 (conformtest-headers-XOPEN2K): Likewise.
8627 (conformtest-headers-POSIX2008): Likewise.
8628 (conformtest-headers-XOPEN2K8): Likewise.
8629 (conformtest-header-list-base): Likewise.
8630 (conformtest-header-list-tests): Likewise.
8631 (conformtest-header-base): Likewise.
8632 (conformtest-header-tests): Likewise.
8633 (tests-special): Add $(conformtest-header-list-tests). If
8634 [$(fast-check) && !$(cross-compiling)], add
8635 $(conformtest-header-tests) instead of
8636 $(objpfx)run-conformtest.out.
8637 (generated): Add $(conformtest-header-list-base). If
8638 [$(fast-check) && !$(cross-compiling)], add
8639 $(conformtest-header-base). Remove previous setting.
8640 ($(conformtest-header-list-tests)): New target.
8641 (test-xfail-run-conformtest): Remove variable.
8642 ($(objpfx)run-conformtest.out): Remove target.
8643 (test-xfail-ISO11/complex.h/conform): New variable.
8644 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8645 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8646 (test-xfail-XPG3/varargs.h/conform): Likewise.
8647 (test-xfail-XPG4/varargs.h/conform): Likewise.
8648 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8649 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8650 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8651 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8652 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8653 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8654 (test-xfail-XPG3/ftw.h/conform): Likewise.
8655 (test-xfail-XPG3/grp.h/conform): Likewise.
8656 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8657 (test-xfail-XPG3/limits.h/conform): Likewise.
8658 (test-xfail-XPG3/pwd.h/conform): Likewise.
8659 (test-xfail-XPG3/search.h/conform): Likewise.
8660 (test-xfail-XPG3/signal.h/conform): Likewise.
8661 (test-xfail-XPG3/stdio.h/conform): Likewise.
8662 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8663 (test-xfail-XPG3/string.h/conform): Likewise.
8664 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8665 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8666 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8667 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8668 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8669 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8670 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8671 (test-xfail-XPG3/termios.h/conform): Likewise.
8672 (test-xfail-XPG3/time.h/conform): Likewise.
8673 (test-xfail-XPG3/unistd.h/conform): Likewise.
8674 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8675 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8676 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8677 (test-xfail-XPG4/netdb.h/conform): Likewise.
8678 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8679 (test-xfail-XPG4/signal.h/conform): Likewise.
8680 (test-xfail-XPG4/stdio.h/conform): Likewise.
8681 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8682 (test-xfail-XPG4/stropts.h/conform): Likewise.
8683 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8684 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8685 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8686 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8687 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8688 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8689 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8690 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8691 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8692 (test-xfail-XPG4/termios.h/conform): Likewise.
8693 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8694 (test-xfail-XPG4/unistd.h/conform): Likewise.
8695 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8696 (test-xfail-POSIX/sched.h/conform): Likewise.
8697 (test-xfail-POSIX/signal.h/conform): Likewise.
8698 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8699 (test-xfail-POSIX/tar.h/conform): Likewise.
8700 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8701 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8702 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8703 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8704 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8705 (test-xfail-UNIX98/sched.h/conform): Likewise.
8706 (test-xfail-UNIX98/signal.h/conform): Likewise.
8707 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8708 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8709 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8710 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8711 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8712 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8713 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8714 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8715 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8716 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8717 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8718 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8719 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8720 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8721 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8722 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8723 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8724 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8725 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8726 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8727 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8728 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8729 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8730 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8731 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8732 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8733 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8734 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8735 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8736 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8737 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8738 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8739 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8740 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8741 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8742 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8743 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8744 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8745 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8746 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8747 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8748 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8749 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8750 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8751 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8752 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8753 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8754 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8755 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8756 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8757 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8758 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8759 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8760 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8761 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8762 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8763 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8764 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8765 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8766 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8767 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8768 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8769 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8770 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8771 (conformtest-cc-flags): Likewise.
8772 ($(conformtest-header-tests): New target.
8773 * conform/check-header-lists.sh: New file.
8774 * conform/run-conformtest.sh: Remove.
8775
a00f522a
JM
8776 * conform/conformtest.pl: Allow ' and \ in values given for
8777 constants.
8778 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8779 inclusion.
8780 [POSIX] (sys/types.h): Likewise.
8781 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8782 inclusion.
8783 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8784 inclusion.
8785 * conform/data/signal.h-data (SIGIO): Remove expectation.
8786 [XPG3] (SIGBUS): Do not expect.
8787 [POSIX || XPG3] (SIGPOLL): Likewise.
8788 [POSIX || XPG3] (SIGPROF): Likewise.
8789 [POSIX || XPG3] (SIGSYS): Likewise.
8790 [XPG3] (SIGTRAP): Likewise.
8791 [POSIX || XPG3] (SIGURG): Likewise.
8792 [POSIX || XPG3] (SIGVTALRM): Likewise.
8793 [POSIX || XPG3] (SIGXCPU): Likewise.
8794 [POSIX || XPG3] (SIGXFSZ): Likewise.
8795 [POSIX] (SA_SIGINFO): Expect.
8796 [XPG3] (siginfo_t): Do not expect type or contents.
8797 [POSIX] (si_pid): Do not expect element.
8798 [POSIX] (si_uid): Likewise.
8799 [POSIX] (si_addr): Likewise.
8800 [POSIX] (si_status): Likewise.
8801 [POSIX] (si_band): Likewise.
8802 [XPG4] (si_value): Likewise.
8803 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8804 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8805 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8806 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8807 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8808 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8809 [POSIX || XPG3] (ILL_COPROC): Likewise.
8810 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8811 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8812 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8813 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8814 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8815 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8816 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8817 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8818 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8819 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8820 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8821 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8822 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8823 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8824 [POSIX || XPG3] (CLD_EXITED): Likewise.
8825 [POSIX || XPG3] (CLD_KILLED): Likewise.
8826 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8827 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8828 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8829 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8830 [POSIX || XPG3] (POLL_IN): Likewise.
8831 [POSIX || XPG3] (POLL_OUT): Likewise.
8832 [POSIX || XPG3] (POLL_MSG): Likewise.
8833 [POSIX || XPG3] (POLL_ERR): Likewise.
8834 [POSIX || XPG3] (POLL_PRI): Likewise.
8835 [POSIX || XPG3] (POLL_HUP): Likewise.
8836 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8837 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8838 (SIG*): Do not allow.
8839 [XPG3] (si_*): Likewise.
8840 [XPG3] (SI_*): Likewise.
8841 [XPG3 || XPG4] (sigev_*): Likewise.
8842 [XPG3 || XPG4] (SIGEV_*): Likewise.
8843 [XPG3 || XPG4] (sival_*): Likewise.
8844 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8845 [POSIX || XPG3] (BUS_*): Likewise.
8846 [POSIX || XPG3] (CLD_*): Likewise.
8847 [POSIX || XPG3] (FPE_*): Likewise.
8848 [POSIX || XPG3] (ILL_*): Likewise.
8849 [POSIX || XPG3] (POLL_*): Likewise.
8850 [POSIX || XPG3] (SEGV_*): Likewise.
8851 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8852 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8853 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8854 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8855 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8856 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8857 Specify type and value.
8858 (TVERSLEN): Likewise.
8859 (REGTYPE): Likewise.
8860 (AREGTYPE): Likewise.
8861 (LNKTYPE): Likewise.
8862 (SYMTYPE): Likewise.
8863 (CHRTYPE): Likewise.
8864 (BLKTYPE): Likewise.
8865 (DIRTYPE): Likewise.
8866 (FIFOTYPE): Likewise.
8867 (CONTTYPE): Likewise.
8868 (TSUID): Likewise.
8869 (TSGID): Likewise.
8870 (TSVTX): Likewise.
8871 (TUREAD): Likewise.
8872 (TUWRITE): Likewise.
8873 (TUEXEC): Likewise.
8874 (TGREAD): Likewise.
8875 (TGWRITE): Likewise.
8876 (TGEXEC): Likewise.
8877 (TOREAD): Likewise.
8878 (TOWRITE): Likewise.
8879 (TOEXEC): Likewise.
8880 [POSIX] (TSVTX): Expect constant.
8881
aa97dee1
JM
88822014-03-06 Joseph Myers <joseph@codesourcery.com>
8883
f214606a
JM
8884 * Makefile (tests): Change dependencies to ....
8885 (tests-special): ... additions to this variable.
8886 (tests): Depend on $(tests-special).
8887 * Makerules (check-abi-list): New variable.
8888 (check-abi): Depend on $(check-abi-list).
8889 [$(subdir) = elf] (tests-special): Add
8890 $(objpfx)check-abi-libc.out.
8891 [$(build-shared) = yes && subdir] (tests-special): Add
8892 $(check-abi-list).
8893 [$(build-shared) = yes && subdir] (tests): Do not depend on
8894 check-abi.
8895 * Rules (tests): Depend on $(tests-special).
8896 (xtests): Depend on $(xtests-special).
8897 * catgets/Makefile (tests): Change dependencies to ....
8898 (tests-special): ... additions to this variable.
8899 * conform/Makefile (tests): Change dependencies to ....
8900 (tests-special): ... additions to this variable.
8901 * elf/Makefile (tests): Change dependencies to ....
8902 (tests-special): ... additions to this variable.
8903 * grp/Makefile (tests): Change dependencies to ....
8904 (tests-special): ... additions to this variable.
8905 * iconv/Makefile (xtests): Change dependencies to ....
8906 (xtests-special): ... additions to this variable.
8907 * iconvdata/Makefile (tests): Change dependencies to ....
8908 (tests-special): ... additions to this variable.
8909 * intl/Makefile (tests): Change dependencies to ....
8910 (tests-special): ... additions to this variable. Also add
8911 $(objpfx)tst-gettext.out.
8912 * io/Makefile (tests): Change dependencies to ....
8913 (tests-special): ... additions to this variable.
8914 * libio/Makefile (tests): Change dependencies to ....
8915 (tests-special): ... additions to this variable.
8916 * malloc/Makefile (tests): Change dependencies to ....
8917 (tests-special): ... additions to this variable.
8918 * misc/Makefile (tests): Change dependencies to ....
8919 (tests-special): ... additions to this variable.
8920 * nptl/Makefile (tests): Change dependencies to ....
8921 (tests-special): ... additions to this variable.
8922 * nptl_db/Makefile (tests): Change dependencies to ....
8923 (tests-special): ... additions to this variable.
8924 * posix/Makefile (tests): Change dependencies to ....
8925 (tests-special): ... additions to this variable.
8926 (xtests): Change dependencies to ....
8927 (xtests-special): ... additions to this variable.
8928 * resolv/Makefile (tests): Change dependencies to ....
8929 (tests-special): ... additions to this variable.
8930 (xtests): Change dependencies to ....
8931 (xtests-special): ... additions to this variable.
8932 * stdio-common/Makefile (tests): Change dependencies to ....
8933 (tests-special): ... additions to this variable.
8934 (do-tst-unbputc): Remove target.
8935 (do-tst-printf): Likewise.
8936 * stdlib/Makefile (tests): Change dependencies to ....
8937 (tests-special): ... additions to this variable.
8938 * string/Makefile (tests): Change dependencies to ....
8939 (tests-special): ... additions to this variable.
8940 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8941 (tests-special): ... additions to this variable.
8942
81700b53
JM
8943 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8944 whole file.
8945 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8946 whole file.
8947 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8948 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8949
2ea18461
JM
8950 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8951 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8952 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8953 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8954 * conform/data/libgen.h-data [XPG3]: Likewise.
8955 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8956 * conform/data/ndbm.h-data [XPG3]: Likewise.
8957 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8958 * conform/data/netdb.h-data [XPG3]: Likewise.
8959 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8960 * conform/data/poll.h-data [XPG3]: Likewise.
8961 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8962 * conform/data/strings.h-data [XPG3]: Likewise.
8963 * conform/data/stropts.h-data [XPG3]: Likewise.
8964 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8965 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8966 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8967 Likewise.
8968 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8969 * conform/data/sys/time.h-data [XPG3]: Likewise.
8970 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8971 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8972 * conform/data/sys/un.h-data [XPG3]: Likewise.
8973 * conform/data/syslog.h-data [XPG3]: Likewise.
8974 * conform/data/ucontext.h-data [XPG3]: Likewise.
8975 * conform/data/utmpx.h-data [XPG3]: Likewise.
8976 * conform/data/varargs.h-data [UNIX98]: Enable file.
8977
355bc986
JM
8978 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8979
215db402
JM
8980 * math/libm-test.inc (struct test_f_f_data): Move expected results
8981 into structure for each rounding mode.
8982 (struct test_ff_f_data): Likewise.
8983 (struct test_ff_f_data_nexttoward): Likewise.
8984 (struct test_fi_f_data): Likewise.
8985 (struct test_fl_f_data): Likewise.
8986 (struct test_if_f_data): Likewise.
8987 (struct test_fff_f_data): Likewise.
8988 (struct test_c_f_data): Likewise.
8989 (struct test_f_f1_data): Likewise.
8990 (struct test_fF_f1_data): Likewise.
8991 (struct test_ffI_f1_data): Likewise.
8992 (struct test_c_c_data): Likewise.
8993 (struct test_cc_c_data): Likewise.
8994 (struct test_f_i_data): Likewise.
8995 (struct test_ff_i_data): Likewise.
8996 (struct test_f_l_data): Likewise.
8997 (struct test_f_L_data): Likewise.
8998 (struct test_fFF_11_data): Likewise.
8999 (RM_): New macro.
9000 (RM_FE_DOWNWARD): Likewise.
9001 (RM_FE_TONEAREST): Likewise.
9002 (RM_FE_TOWARDZERO): Likewise.
9003 (RM_FE_UPWARD): Likewise.
9004 (RUN_TEST_LOOP_f_f): Update references to expected results.
9005 (RUN_TEST_LOOP_2_f): Likewise.
9006 (RUN_TEST_LOOP_fff_f): Likewise.
9007 (RUN_TEST_LOOP_c_f): Likewise.
9008 (RUN_TEST_LOOP_f_f1): Likewise.
9009 (RUN_TEST_LOOP_fF_f1): Likewise.
9010 (RUN_TEST_LOOP_fI_f1): Likewise.
9011 (RUN_TEST_LOOP_ffI_f1): Likewise.
9012 (RUN_TEST_LOOP_c_c): Likewise.
9013 (RUN_TEST_LOOP_cc_c): Likewise.
9014 (RUN_TEST_LOOP_f_i): Likewise.
9015 (RUN_TEST_LOOP_f_i_tg): Likewise.
9016 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9017 (RUN_TEST_LOOP_f_b): Likewise.
9018 (RUN_TEST_LOOP_f_b_tg): Likewise.
9019 (RUN_TEST_LOOP_f_l): Likewise.
9020 (RUN_TEST_LOOP_f_L): Likewise.
9021 (RUN_TEST_LOOP_fFF_11): Likewise.
9022 * math/gen-libm-test.pl (parse_args): Output four copies of
9023 expected results for each test.
9024
67737b8f
JM
9025 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9026 (__ASSUME_UTIMES): Remove.
9027 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9028 (__ASSUME_UTIMES): Likewise.
9029
aa97dee1
JM
9030 * math/gen-auto-libm-tests.c: Update comment on output format.
9031 (output_for_one_input_case): Generate before-rounding and
9032 after-rounding information as conditions on output flags not
9033 floating-point format.
9034 * math/auto-libm-test-out: Regenerated.
9035 * math/gen-libm-test.pl (cond_value): New function.
9036 (or_cond_value): Use cond_value.
9037 (generate_testfile): Handle conditional exceptions.
9038
e6b6a857
JM
90392014-03-05 Joseph Myers <joseph@codesourcery.com>
9040
2f0a0f44
JM
9041 * math/libm-test.inc (max_valid_error): New variable.
9042 (init_max_error): Take new argument specifying whether function
9043 results are exactly determined. Set max_valid_error and bound
9044 other variables for errors based on this argument.
9045 (set_max_error): Do not record results above max_valid_error.
9046 (check_float_internal): Only accept errors of up to 0.5ulps if
9047 also at most max_valid_error.
9048 (START): Take new argument EXACT and pass it to init_max_error.
9049 (acos_test): Update call to START.
9050 (acos_test_tonearest): Likewise.
9051 (acos_test_towardzero): Likewise.
9052 (acos_test_downward): Likewise.
9053 (acos_test_upward): Likewise.
9054 (acosh_test): Likewise.
9055 (asin_test): Likewise.
9056 (asin_test_tonearest): Likewise.
9057 (asin_test_towardzero): Likewise.
9058 (asin_test_downward): Likewise.
9059 (asin_test_upward): Likewise.
9060 (asinh_test): Likewise.
9061 (atan_test): Likewise.
9062 (atanh_test): Likewise.
9063 (atan2_test): Likewise.
9064 (cabs_test): Likewise.
9065 (cacos_test): Likewise.
9066 (cacosh_test): Likewise.
9067 (carg_test): Likewise.
9068 (casin_test): Likewise.
9069 (casinh_test): Likewise.
9070 (catan_test): Likewise.
9071 (catanh_test): Likewise.
9072 (cbrt_test): Likewise.
9073 (ccos_test): Likewise.
9074 (ccosh_test): Likewise.
9075 (ceil_test): Likewise.
9076 (cexp_test): Likewise.
9077 (cimag_test): Likewise.
9078 (clog_test): Likewise.
9079 (clog10_test): Likewise.
9080 (conj_test): Likewise.
9081 (copysign_test): Likewise.
9082 (cos_test): Likewise.
9083 (cos_test_tonearest): Likewise.
9084 (cos_test_towardzero): Likewise.
9085 (cos_test_downward): Likewise.
9086 (cos_test_upward): Likewise.
9087 (cosh_test): Likewise.
9088 (cosh_test_tonearest): Likewise.
9089 (cosh_test_towardzero): Likewise.
9090 (cosh_test_downward): Likewise.
9091 (cosh_test_upward): Likewise.
9092 (cpow_test): Likewise.
9093 (cproj_test): Likewise.
9094 (creal_test): Likewise.
9095 (csin_test): Likewise.
9096 (csinh_test): Likewise.
9097 (csqrt_test): Likewise.
9098 (ctan_test): Likewise.
9099 (ctan_test_tonearest): Likewise.
9100 (ctan_test_towardzero): Likewise.
9101 (ctan_test_downward): Likewise.
9102 (ctan_test_upward): Likewise.
9103 (ctanh_test): Likewise.
9104 (ctanh_test_tonearest): Likewise.
9105 (ctanh_test_towardzero): Likewise.
9106 (ctanh_test_downward): Likewise.
9107 (ctanh_test_upward): Likewise.
9108 (erf_test): Likewise.
9109 (erfc_test): Likewise.
9110 (exp_test): Likewise.
9111 (exp_test_tonearest): Likewise.
9112 (exp_test_towardzero): Likewise.
9113 (exp_test_downward): Likewise.
9114 (exp_test_upward): Likewise.
9115 (exp10_test): Likewise.
9116 (exp10_test_tonearest): Likewise.
9117 (exp10_test_towardzero): Likewise.
9118 (exp10_test_downward): Likewise.
9119 (exp10_test_upward): Likewise.
9120 (pow10_test): Likewise.
9121 (exp2_test): Likewise.
9122 (expm1_test): Likewise.
9123 (expm1_test_tonearest): Likewise.
9124 (expm1_test_towardzero): Likewise.
9125 (expm1_test_downward): Likewise.
9126 (expm1_test_upward): Likewise.
9127 (fabs_test): Likewise.
9128 (fdim_test): Likewise.
9129 (floor_test): Likewise.
9130 (fma_test): Likewise.
9131 (fma_test_towardzero): Likewise.
9132 (fma_test_downward): Likewise.
9133 (fma_test_upward): Likewise.
9134 (fmax_test): Likewise.
9135 (fmin_test): Likewise.
9136 (fmod_test): Likewise.
9137 (fpclassify_test): Likewise.
9138 (frexp_test): Likewise.
9139 (hypot_test): Likewise.
9140 (ilogb_test): Likewise.
9141 (isfinite_test): Likewise.
9142 (finite_test): Likewise.
9143 (isgreater_test): Likewise.
9144 (isgreaterequal_test): Likewise.
9145 (isinf_test): Likewise.
9146 (isless_test): Likewise.
9147 (islessequal_test): Likewise.
9148 (islessgreater_test): Likewise.
9149 (isnan_test): Likewise.
9150 (isnormal_test): Likewise.
9151 (issignaling_test): Likewise.
9152 (isunordered_test): Likewise.
9153 (j0_test): Likewise.
9154 (j1_test): Likewise.
9155 (jn_test): Likewise.
9156 (ldexp_test): Likewise.
9157 (lgamma_test): Likewise.
9158 (gamma_test): Likewise.
9159 (lrint_test): Likewise.
9160 (lrint_test_tonearest): Likewise.
9161 (lrint_test_towardzero): Likewise.
9162 (lrint_test_downward): Likewise.
9163 (lrint_test_upward): Likewise.
9164 (llrint_test): Likewise.
9165 (llrint_test_tonearest): Likewise.
9166 (llrint_test_towardzero): Likewise.
9167 (llrint_test_downward): Likewise.
9168 (llrint_test_upward): Likewise.
9169 (log_test): Likewise.
9170 (log10_test): Likewise.
9171 (log1p_test): Likewise.
9172 (log2_test): Likewise.
9173 (logb_test): Likewise.
9174 (logb_test_downward): Likewise.
9175 (lround_test): Likewise.
9176 (llround_test): Likewise.
9177 (modf_test): Likewise.
9178 (nearbyint_test): Likewise.
9179 (nextafter_test): Likewise.
9180 (nexttoward_test): Likewise.
9181 (pow_test): Likewise.
9182 (pow_test_tonearest): Likewise.
9183 (pow_test_towardzero): Likewise.
9184 (pow_test_downward): Likewise.
9185 (pow_test_upward): Likewise.
9186 (remainder_test): Likewise.
9187 (drem_test): Likewise.
9188 (remainder_test_tonearest): Likewise.
9189 (drem_test_tonearest): Likewise.
9190 (remainder_test_towardzero): Likewise.
9191 (drem_test_towardzero): Likewise.
9192 (remainder_test_downward): Likewise.
9193 (drem_test_downward): Likewise.
9194 (remainder_test_upward): Likewise.
9195 (drem_test_upward): Likewise.
9196 (remquo_test): Likewise.
9197 (rint_test): Likewise.
9198 (rint_test_tonearest): Likewise.
9199 (rint_test_towardzero): Likewise.
9200 (rint_test_downward): Likewise.
9201 (rint_test_upward): Likewise.
9202 (round_test): Likewise.
9203 (scalb_test): Likewise.
9204 (scalbn_test): Likewise.
9205 (scalbln_test): Likewise.
9206 (signbit_test): Likewise.
9207 (sin_test): Likewise.
9208 (sin_test_tonearest): Likewise.
9209 (sin_test_towardzero): Likewise.
9210 (sin_test_downward): Likewise.
9211 (sin_test_upward): Likewise.
9212 (sincos_test): Likewise.
9213 (sinh_test): Likewise.
9214 (sinh_test_tonearest): Likewise.
9215 (sinh_test_towardzero): Likewise.
9216 (sinh_test_downward): Likewise.
9217 (sinh_test_upward): Likewise.
9218 (sqrt_test): Likewise.
9219 (sqrt_test_tonearest): Likewise.
9220 (sqrt_test_towardzero): Likewise.
9221 (sqrt_test_downward): Likewise.
9222 (sqrt_test_upward): Likewise.
9223 (tan_test): Likewise.
9224 (tan_test_tonearest): Likewise.
9225 (tan_test_towardzero): Likewise.
9226 (tan_test_downward): Likewise.
9227 (tan_test_upward): Likewise.
9228 (tanh_test): Likewise.
9229 (tgamma_test): Likewise.
9230 (trunc_test): Likewise.
9231 (y0_test): Likewise.
9232 (y1_test): Likewise.
9233 (yn_test): Likewise.
9234 (significand_test): Likewise.
9235
e6b6a857
JM
9236 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9237 individual tests in comment.
9238 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9239 (prev_max_error): New variable.
9240 (prev_real_max_error): Likewise.
9241 (prev_imag_max_error): Likewise.
9242 (compare_ulp_data): Don't refer to test names in comment.
9243 (find_test_ulps): Remove function.
9244 (find_function_ulps): Likewise.
9245 (find_complex_function_ulps): Likewise.
9246 (init_max_error): Take function name as argument. Look up ulps
9247 for that function.
9248 (print_ulps): Remove function.
9249 (print_max_error): Use prev_max_error instead of calling
9250 find_function_ulps.
9251 (print_complex_max_error): Use prev_real_max_error and
9252 prev_imag_max_error instead of calling find_complex_function_ulps.
9253 (check_float_internal): Take max_ulp parameter instead of calling
9254 find_test_ulps. Don't call print_ulps.
9255 (check_float): Update call to check_float_internal.
9256 (check_complex): Update calls to check_float_internal.
9257 (START): Pass argument to init_max_error.
9258 * math/gen-libm-test.pl (%results): Don't include "kind"
9259 information.
9260 (parse_ulps): Don't handle ulps of individual tests.
9261 (print_ulps_file): Likewise.
9262 (output_ulps): Likewise.
9263 * math/README.libm-test: Update.
9264 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9265 individual tests.
9266 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9267 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9268 * sysdeps/arm/libm-test-ulps: Likewise.
9269 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9270 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9271 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9272 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9273 * sysdeps/microblaze/libm-test-ulps: Likewise.
9274 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9275 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9276 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9277 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9278 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9279 * sysdeps/sh/libm-test-ulps: Likewise.
9280 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9281 * sysdeps/tile/libm-test-ulps: Likewise.
9282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9283
45adef3c
JM
92842014-03-04 Joseph Myers <joseph@codesourcery.com>
9285
9286 * math/libm-test.inc (print_complex_max_error): Check separately
9287 whether real and imaginary errors are within allowed range and
9288 pass 0 to print_complex_function_ulps instead of value within
9289 allowed range.
9290
000232b9
SP
92912014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9292
d4b17258
SP
9293 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9294 formatting.
9295 (get_handles_fopen): Likewise.
9296 (do_write_test): Likewise.
9297
091eff71
SP
9298 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9299
fa3cd248
SP
9300 * libio/fileops.c (do_ftell): Use cached offset when
9301 available.
9302 * libio/iofwide.c (do_ftell_wide): Likewise.
9303 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9304 _IO_file_attach.
9305 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9306
000232b9
SP
9307 [BZ #16532]
9308 * libio/libioP.h (get_file_offset): New function.
9309 * libio/fileops.c (get_file_offset): Likewise.
9310 (do_ftell): Likewise.
9311 (_IO_new_file_seekoff): Split out ftell logic.
9312 * libio/wfileops.c (do_ftell_wide): Likewise.
9313 (_IO_wfile_seekoff): Split out ftell logic.
9314 * libio/tst-ftell-active-handler.c: New test case.
9315 * libio/Makefile (tests): Add it.
9316
116f4d1a
RM
93172014-03-03 Roland McGrath <roland@hack.frob.com>
9318
9319 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9320 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9321
532a6035
SP
93222014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9323
9324 [BZ #16639]
9325 * nscd/connections.c (nscd_init): Call do_exit.
9326 (start_threads): Call do_exit and notify_parent.
9327 (begin_drop_privileges): Call do_exit.
9328 (finish_drop_privileges): Likewise.
9329 * nscd/selinux.c (preserve_capabilities): Likewise.
9330 (install_real_capabilities): Likewise.
9331 (nscd_selinux_enabled): Likewise.
9332 (avc_create_thread): Likewise.
9333 (avc_alloc_lock): Likewise.
9334 (nscd_avc_init): Likewise.
9335 * nscd/nscd.c (parent_fd): New static variable.
9336 (main): Create a pipe between parent and child processes.
9337 Skip closing parent_fd.
9338 (monitor_child): New function.
9339 (do_exit): Likewise.
9340 (notify_parent): Likewise.
9341 * nscd/nscd.h (notify_parent): Likewise.
9342 (do_exit): Likewise.
9343
d6285c9f
CD
93442014-03-03 Carlos O'Donell <carlos@redhat.com>
9345
9346 * malloc/malloc.c (__libc_calloc): Revert last change.
9347
2b85d2a0
AZ
93482014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9349
9350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9351
c7debbdf
RS
93522014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9353
9354 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9356 implementation.
9357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9358 (__libc_ifunc_impl_list): Likewise.
9359 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9360 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9361 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9362 * string/strrchr.c: Define STRRCHR.
9363
235eed86
OB
93642014-02-28 Ondřej Bílka <neleai@seznam.cz>
9365
9366 * benchtest/bench-strtok.c (simple_strtok): Delete.
9367 (strtok_string): Use as benchmark.
9368 * string/strtok (STRTOK): New macro.
9369
8e25d1e7
CD
93702014-02-28 Carlos O'Donell <carlos@redhat.com>
9371
ef563f92
CD
9372 * manual/threads.texi: Add header and standard comments to all
9373 functions.
9374
8e25d1e7
CD
9375 * elf/dl-lookup.c (check_match): New function.
9376 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9377 (do_lookup_x): Remove nested function check_match. Use non-nested
9378 function check_match.
9379
ff71cc37
RM
93802014-02-28 Roland McGrath <roland@hack.frob.com>
9381
f08e9a26
RM
9382 * csu/Makefile (generated, before-compile): Use += rather than =.
9383 * catgets/Makefile (generated, generated-dirs): Likewise.
9384 * debug/Makefile (generated): Likewise.
9385 * dlfcn/Makefile (generated): Likewise.
9386 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9387 * iconvdata/Makefile (before-compile, generated): Likewise.
9388 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9389 * libio/Makefile (generated): Likewise.
9390 * malloc/Makefile (generated): Likewise.
9391 * manual/Makefile (generated, generated-dirs): Likewise.
9392 * misc/Makefile (generated): Likewise.
9393 * posix/Makefile (generated): Likewise.
9394 * resolv/Makefile (generated): Likewise.
9395 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9396 * timezone/Makefile (generated, generated-dirs): Likewise.
9397
ff71cc37
RM
9398 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9399
fe13a20c
AZ
94002014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9401
57f41c40
AS
9402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9403 power8 implementation.
9404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9405 file: POWER8 llround ifunc implementation.
9406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9407 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9408 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9409 POWER8 llround implementation.
9410
57f41c40
AS
9411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9412 power8 implementation.
9413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9414 file: POWER8 llrint ifunc implementation.
9415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9416 Add POWER8 implementation.
1ad8950a
AZ
9417 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9418 POWER8 llrint implementation.
9419
57f41c40
AS
9420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9421 power8 implementation.
9422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9423 file: POWER8 finite ifunc implementation.
9424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9425 Add POWER8 implementation.
cac626d6
AZ
9426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9427 Likewise.
9428 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9429 POWER8 finite implementation.
9430 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9431
57f41c40
AS
9432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9433 power8 implementation.
9434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9435 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9437 POWER8 implementation.
9438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9439 Likewise.
57f41c40
AS
9440 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9441 isinf implementation.
4393fc11
AZ
9442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9443
57f41c40
AS
9444 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9445 (INIT_ARCH): Add hwcap2 initialization.
9446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9447 power8 implementation.
9448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9449 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9451 POWER8 implementation.
9452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9453 Likewise.
57f41c40
AS
9454 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9455 isnan implementation.
487972ae
AZ
9456 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9457
7d92b787
JY
94582014-02-27 Joey Ye <joey.ye@arm.com>
9459
9460 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9461 (_FP_NANFRAC_Q): Set to zero.
9462
1cadc858
SP
94632014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9464
9465 [BZ #16623]
9466 * math/auto-libm-test-in: New test inputs.
9467 * math/auto-libm-test-out: Regenerate.
9468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9469 and DA.
9470 (__cos): Likewise.
9471 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9472
f8c17e79
JM
94732014-02-27 Joseph Myers <joseph@codesourcery.com>
9474
9475 * scripts/evaluate-test.sh: Take new argument indicating whether
9476 failure is expected.
9477 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9478 indicating whether failure is expected.
9479 * conform/Makefile (test-xfail-run-conformtest): New variable.
9480 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9481 level.
9482 * posix/Makefile (test-xfail-annexc): New variable.
9483 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9484
a5f891ac
JM
94852014-02-26 Joseph Myers <joseph@codesourcery.com>
9486
9487 * argp/Makefile: Include Makeconfig immediately after defining
9488 subdir.
9489 * assert/Makefile: Likewise.
9490 * benchtests/Makefile: Likewise.
9491 * catgets/Makefile: Likewise.
9492 * conform/Makefile: Likewise.
9493 * crypt/Makefile: Likewise.
9494 * csu/Makefile: Likewise.
9495 (all): Remove target.
9496 * ctype/Makefile: Include Makeconfig immediately after defining
9497 subdir.
9498 * debug/Makefile: Likewise.
9499 * dirent/Makefile: Likewise.
9500 * dlfcn/Makefile: Likewise.
9501 * gmon/Makefile: Likewise.
9502 * gnulib/Makefile: Likewise.
9503 * grp/Makefile: Likewise.
9504 * gshadow/Makefile: Likewise.
9505 * hesiod/Makefile: Likewise.
9506 * hurd/Makefile: Likewise.
9507 (all): Remove target.
9508 * iconvdata/Makefile: Include Makeconfig immediately after
9509 defining subdir.
9510 * inet/Makefile: Likewise.
9511 * intl/Makefile: Likewise.
9512 * io/Makefile: Likewise.
9513 * libio/Makefile: Likewise.
9514 (all): Remove target.
9515 * locale/Makefile: Include Makeconfig immediately after defining
9516 subdir.
9517 * login/Makefile: Likewise.
9518 * mach/Makefile: Likewise.
9519 (all): Remove target.
9520 * malloc/Makefile: Include Makeconfig immediately after defining
9521 subdir.
9522 (all): Remove target.
9523 * manual/Makefile: Include Makeconfig immediately after defining
9524 subdir.
9525 * math/Makefile: Likewise.
9526 * misc/Makefile: Likewise.
9527 * nis/Makefile: Likewise.
9528 * nss/Makefile: Likewise.
9529 * po/Makefile: Likewise.
9530 (all): Remove target.
9531 * posix/Makefile: Include Makeconfig immediately after defining
9532 subdir.
9533 * pwd/Makefile: Likewise.
9534 * resolv/Makefile: Likewise.
9535 * resource/Makefile: Likewise.
9536 * rt/Makefile: Likewise.
9537 * setjmp/Makefile: Likewise.
9538 * shadow/Makefile: Likewise.
9539 * signal/Makefile: Likewise.
9540 * socket/Makefile: Likewise.
9541 * soft-fp/Makefile: Likewise.
9542 * stdio-common/Makefile: Likewise.
9543 * stdlib/Makefile: Likewise.
9544 * streams/Makefile: Likewise.
9545 * string/Makefile: Likewise.
9546 * sunrpc/Makefile: Likewise.
9547 (all): Remove target.
9548 * sysvipc/Makefile: Include Makeconfig immediately after defining
9549 subdir.
9550 * termios/Makefile: Likewise.
9551 * time/Makefile: Likewise.
9552 * timezone/Makefile: Likewise.
9553 (all): Remove target.
9554 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9555 subdir.
9556 * wctype/Makefile: Likewise.
9557
5b456e9d
SE
95582014-02-26 Steve Ellcey <sellcey@mips.com>
9559
9560 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9561 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9562 (libc_feholdexcept_setround_mips): Ditto.
9563 (libc_feholdsetround): New.
9564 (libc_feholdsetroundf): New.
9565 (libc_feholdsetroundl): New.
9566 (libc_feupdateenv_test_mips): New.
9567 (libc_feupdateenv_test): New.
9568 (libc_feupdateenv_testf): New.
9569 (libc_feupdateenv_testl): New.
9570 (libc_feresetround): New.
9571 (libc_feresetroundf): New.
9572 (libc_feresetroundl): New.
9573 (libc_fetestexcept_mips): New.
9574 (libc_fetestexcept): New.
9575 (libc_fetestexceptf): New.
9576 (libc_fetestexceptl): New.
9577 (HAVE_RM_CTX): New.
9578 (libc_feholdexcept_setround_mips_ctx): New.
9579 (libc_feholdexcept_setround_ctx): New.
9580 (libc_feholdexcept_setroundf_ctx): New.
9581 (libc_feholdexcept_setroundl_ctx): New.
9582 (libc_fesetenv_mips_ctx): New.
9583 (libc_fesetenv_ctx): New.
9584 (libc_fesetenv_ctxf): New.
9585 (libc_fesetenv_ctxl): New.
9586 (libc_feupdateenv_mips_ctx): New.
9587 (libc_feupdateenv_ctx): New.
9588 (libc_feupdateenvf_ctx): New.
9589 (libc_feupdateenvl_ctx): New.
9590 (libc_feholdsetround_mips_ctx): New.
9591 (libc_feholdsetround_ctx): New.
9592 (libc_feholdsetroundf_ctx): New.
9593 (libc_feholdsetroundl_ctx): New.
9594 (libc_feresetround_mips_ctx): New.
9595 (libc_feresetround_ctx): New.
9596 (libc_feresetroundf_ctx): New.
9597 (libc_feresetroundl_ctx): New.
9598
085d0e35
CD
95992014-02-26 Carlos O'Donell <carlos@redhat.com>
9600
f067bf1f
CD
9601 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9602
085d0e35
CD
9603 * manual/ipc.texi: New file.
9604 * manual/Makefile (chapters): Add ipc.
9605 * manual/job.texi: Add "Inter-Process Communication" to next.
9606 * manual/process.texi: Add "Inter-Process Communication" to prev.
9607
86e58c08
AZ
96082014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9609
9610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9611
4248f0da
OB
96122014-02-26 Ondřej Bílka <neleai@seznam.cz>
9613
9614 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9615
cf822e3c
OB
9616 * manual/arith.texi: Fix spaces after sentences.
9617 * manual/charset.texi: Likewise.
9618 * manual/errno.texi: Likewise.
9619 * manual/install.texi: Likewise.
9620 * manual/llio.texi: Likewise.
9621 * manual/locale.texi: Likewise.
9622 * manual/maint.texi: Likewise.
9623 * manual/math.texi: Likewise.
9624 * manual/memory.texi: Likewise.
9625 * manual/message.texi: Likewise.
9626 * manual/probes.texi: Likewise.
9627 * manual/resource.texi: Likewise.
9628 * manual/signal.texi: Likewise.
9629 * manual/socket.texi: Likewise.
9630 * manual/stdio.texi: Likewise.
9631 * manual/string.texi: Likewise.
9632 * manual/time.texi: Likewise.
9633 * manual/users.texi: Likewise.
9634
ade40b10
CD
96352014-02-25 Carlos O'Donell <carlos@redhat.com>
9636
9637 [BZ #16632]
9638 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9639 _DEFAULT_SOURCE is defined.
9640
d0503676
CD
96412014-02-25 Ulrich Drepper <drepper@gmail.com>
9642 Carlos O'Donell <carlos@redhat.com>
9643
9644 [BZ #16613]
9645 * elf/dl-tls.c (_dl_count_modids): New function.
9646 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9647 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9648 audit library and increment generation counter.
9649 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9650 * elf/tst-audit9.c: New file.
9651 * elf/tst-auditmod9a.c: New file.
9652 * elf/tst-auditmod9b.c: New file.
9653 * elf/Makefile: Add rules to build and run tst-audit9.
9654
4cbf380c
FW
96552014-02-25 Florian Weimer <fweimer@redhat.com>
9656
9657 [BZ #15347]
9658 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9659
80a56cc3
WN
96602014-02-25 Will Newton <will.newton@linaro.org>
9661
9662 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9663 (__longjmp): Restore sp and lr before restoring callee
9664 saved registers. Add longjmp and longjmp_target
9665 SystemTap probe point.
9666 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9667 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9668 Define to zero to match jmpbuf layout.
9669 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9670 (__sigsetjmp): Save sp and lr before saving callee
9671 saved registers. Add setjmp SystemTap probe point.
9672
3ea0f74e
SL
96732014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9674
9675 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9676
b04acb26
AS
96772014-02-24 Andreas Schwab <schwab@suse.de>
9678
9679 [BZ #15804]
9680 * elf/pldd.c (wait_for_ptrace_stop): New function.
9681 (main): Call it after attaching.
9682
098ad55c
RM
96832014-02-22 Roland McGrath <roland@hack.frob.com>
9684
d4ec6ae1
RM
9685 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9686 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9687 Versions files is now verboten.
9688 * hurd/Versions (libc: GLIBC_2.0):
9689 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9690 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9691 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9692 * mach/Versions: Likewise.
9693
098ad55c
RM
9694 * csu/Versions: Remove unused %include.
9695 * resolv/Versions: Likewise.
9696
acd7f096
JM
96972014-02-21 Joseph Myers <joseph@codesourcery.com>
9698
f0881698
JM
9699 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9700 ($(objpfx)check-local-headers.out): Likewise.
9701 ($(objpfx)begin-end-check.out): Likewise.
9702 * Makerules (check-abi-%.out): Likewise.
9703 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9704 ($(objpfx)test2.cat): Likewise.
9705 ($(objpfx)de/libc.cat): Likewise.
9706 ($(objpfx)test-gencat.out): Likewise.
9707 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9708 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9709 ($(objpfx)noload-mem): Likewise.
9710 ($(objpfx)tst-pathopt.out): Likewise.
9711 ($(objpfx)tst-rtld-load-self.out): Likewise.
9712 ($(objpfx)tst-array1-cmp.out): Likewise.
9713 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9714 ($(objpfx)tst-array2-cmp.out): Likewise.
9715 ($(objpfx)tst-array3-cmp.out): Likewise.
9716 ($(objpfx)tst-array4-cmp.out): Likewise.
9717 ($(objpfx)tst-array5-cmp.out): Likewise.
9718 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9719 ($(objpfx)check-textrel.out): Likewise.
9720 ($(objpfx)check-execstack.out): Likewise.
9721 ($(objpfx)check-localplt.out): Likewise.
9722 ($(objpfx)order2-cmp.out): Likewise.
9723 ($(objpfx)tst-leaks1-mem): Likewise.
9724 ($(objpfx)tst-leaks1-static-mem): Likewise.
9725 ($(objpfx)tst-initorder-cmp.out): Likewise.
9726 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9727 ($(objpfx)tst-unused-dep.out): Likewise.
9728 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9729 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9730 * iconv/Makefile (test-iconvconfig): Likewise.
9731 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9732 ($(objpfx)iconv-test.out): Likewise.
9733 ($(objpfx)tst-tables.out): Likewise.
9734 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9735 ($(objpfx)tst-gettext.out): Likewise.
9736 ($(objpfx)tst-translit.out): Likewise.
9737 ($(objpfx)tst-gettext2.out): Likewise.
9738 ($(objpfx)tst-gettext4.out): Likewise.
9739 ($(objpfx)tst-gettext6.out): Likewise.
9740 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9741 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9742 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9743 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9744 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9745 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9746 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9747 ($(objpfx)wordexp-tst.out): Likewise.
9748 ($(objpfx)annexc.out): Likewise.
9749 ($(objpfx)tst-fnmatch-mem): Likewise.
9750 ($(objpfx)bug-regex2-mem): Likewise.
9751 ($(objpfx)bug-regex14-mem): Likewise.
9752 ($(objpfx)bug-regex21-mem): Likewise.
9753 ($(objpfx)bug-regex31-mem): Likewise.
9754 ($(objpfx)tst-vfork3-mem): Likewise.
9755 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9756 ($(objpfx)tst-pcre-mem): Likewise.
9757 ($(objpfx)tst-boost-mem): Likewise.
9758 ($(objpfx)tst-getconf.out): Likewise.
9759 ($(objpfx)bug-ga2-mem): Likewise.
9760 ($(objpfx)bug-glob2-mem): Likewise.
9761 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9762 ($(objpfx)mtrace-tst-leaks2): Likewise.
9763 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9764 ($(objpfx)tst-printf.out): Likewise.
9765 ($(objpfx)tst-setvbuf1.out): Likewise.
9766 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9767 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9768 ($(objpfx)tst-fmtmsg.out): Likewise.
9769 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9770 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9771
acd7f096
JM
9772 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9773 * bits/sigaction.h [__USE_MISC]: Likewise.
9774 * bits/waitstatus.h: Update #endif comments.
9775 * ctype/ctype.h: Likewise.
9776 * dirent/dirent.h: Likewise.
9777 [__USE_MISC]: Remove redundant conditionals.
9778 * grp/grp.h: Update #endif comments.
9779 [__USE_GNU]: Remove redundant conditionals.
9780 [__USE_MISC]: Likewise.
9781 * inet/netinet/in.h [__USE_GNU]: Likewise.
9782 * io/sys/stat.h [__USE_MISC]: Likewise.
9783 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9784 * libio/bits/stdio.h: Update #endif comments.
9785 [__USE_MISC]: Remove redundant conditionals.
9786 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9787 * libio/stdio.h: Update #endif comments.
9788 [__USE_MISC]: Remove redundant conditionals.
9789 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9790 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9791 * math/math.h: Update #else and #endif comments.
9792 [__USE_MISC]: Remove redundant conditionals.
9793 * misc/sys/uio.h: Update #endif comments.
9794 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9795 * posix/glob.h [__USE_MISC]: Likewise.
9796 * posix/sys/types.h: Update #endif comments.
9797 [__USE_MISC]: Remove redundant conditionals.
9798 * posix/sys/wait.h: Update #endif comments.
9799 [__USE_MISC]: Remove redundant conditionals.
9800 * posix/unistd.h: Update #endif comments.
9801 [__USE_MISC]: Remove redundant conditionals.
9802 * pwd/pwd.h [__USE_GNU]: Likewise.
9803 [__USE_MISC]: Likewise.
9804 * resolv/netdb.h [__USE_GNU]: Likewise.
9805 * signal/signal.h: Update #endif comments.
9806 [__USE_MISC]: Remove redundant conditionals.
9807 * stdlib/stdlib.h: Update #else and #endif comments.
9808 [__USE_MISC]: Remove redundant conditionals.
9809 [__USE_GNU]: Likewise.
9810 * string/bits/string2.h [__USE_MISC]: Likewise.
9811 * string/string.h: Update #endif comments.
9812 [__USE_MISC]: Remove redundant conditionals.
9813 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9814 Likewise.
9815 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9816 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9817 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9818 Likewise.
9819 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9820 Likewise.
9821 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9822 comments.
9823 [__USE_MISC]: Remove redundant conditionals.
9824 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9825 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9826 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9827 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9828 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9829 Likewise.
9830 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9831 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9832 Likewise.
9833 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9834 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9835 Likewise.
9836 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9837 Likewise.
9838 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9839 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9840 Likewise.
9841 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9842 Likewise.
9843 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9844 * sysdeps/x86/bits/string.h: Update #endif comments.
9845 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9846 conditionals.
9847 * time/sys/time.h: Update #endif comments.
9848 * time/time.h: Likewise.
9849 [__USE_MISC]: Remove redundant conditionals.
9850
a5d82e4e
YG
98512014-02-21 Yury Gribov <y.gribov@samsung.com>
9852
9853 [BZ #16600]
9854 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9855
9a80491d
AS
98562014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9857
9858 * Versions.def (librt): Add GLIBC_2.17.
9859
105fa381
AC
98602014-02-21 Adam Conrad <adconrad@0c3.net>
9861
9862 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9863 synonym for _SYS_AUXV_H to allow direct inclusion.
9864 * sysdeps/sparc/bits/hwcap.h: Likewise.
9865 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9866 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9867 * sysdeps/sparc/sysdep.h: Likewise.
9868
b8cd1c4e
SP
98692014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9870
9871 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9872
bd939d23
RS
98732014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9874
9875 * benchtests/bench-strrchr.c: Print length instead of position.
9876
5d7b57ca
JM
98772014-02-20 Joseph Myers <joseph@codesourcery.com>
9878
bc688c10
JM
9879 [BZ #16611]
9880 * sysdeps/unix/sysv/linux/kernel-features.h
9881 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9882 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9883 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9884 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9885 Likewise.
9886 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9887 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9888 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9889 (__ASSUME_SENDMMSG): Define instead of using previous
9890 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9891 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9892 (__ASSUME_SENDMMSG_SYSCALL): Define.
9893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9894 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9895 Likewise.
9896 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9897 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9898 Likewise.
9899 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9900 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9901 Likewise.
9902 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9903 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9904 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9905 [__ASSUME_SENDMMSG]: Change conditionals to
9906 [__ASSUME_SENDMMSG_SOCKETCALL].
9907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9908 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9909 Define.
9910 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9911 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9912 Likewise.
9913 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9914 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9915 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9916 [!__ASSUME_SENDMMSG]: Change conditional to
9917 [!__ASSUME_SENDMMSG_SOCKETCALL].
9918 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9919 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9920 Define.
9921
0e31b18c
JM
9922 [BZ #16610]
9923 * sysdeps/unix/sysv/linux/kernel-features.h
9924 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9925 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9926 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9927 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9928 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9929 [__i386__ || __sparc__]
9930 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9931 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9932 (__ASSUME_RECVMMSG): Define instead of using previous
9933 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9934 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9935 (__ASSUME_RECVMMSG_SYSCALL): Define.
9936 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9937 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9938 Likewise.
9939 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9940 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9941 Likewise.
9942 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9943 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9944 Likewise.
9945 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9946 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9947 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9948 [__ASSUME_RECVMMSG]: Change condition to
9949 [__ASSUME_RECVMMSG_SOCKETCALL].
9950 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9951 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9952 Define.
9953 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9954 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9955 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9956 Likewise.
9957 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9958 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9959 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9960 [!__ASSUME_RECVMMSG]: Change condition to
9961 [!__ASSUME_RECVMMSG_SOCKETCALL].
9962 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9963 (__ASSUME_RECVMMSG_SYSCALL): Define.
9964
dd481ccf
JM
9965 [BZ #16609]
9966 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9967 __powerpc__ || __s390__ || __sh__ || __sparc__]
9968 (__ASSUME_SOCKETCALL): Define.
9969 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9970 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9971 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9972 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9973 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9974 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9975 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9976 (__ASSUME_ACCEPT4): Define instead of using previous
9977 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9978 __powerpc__ || __sparc__ || __s390__)] condition.
9979 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9980 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9981 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9982 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9983 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9984 [!__ASSUME_ACCEPT4]: Change condition to
9985 [!__ASSUME_ACCEPT4_SOCKETCALL].
9986 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9987 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9988 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9989 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9990 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9991 __ASSUME_ACCEPT4_SYSCALL.
9992 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9993 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9994 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9995 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9996 __ASSUME_ACCEPT4_SYSCALL.
9997 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9998 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9999 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10000 [__ASSUME_ACCEPT4]: Change condition to
10001 [__ASSUME_ACCEPT4_SOCKETCALL].
10002 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10003 (__ASSUME_SOCKETCALL): Define.
10004 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10005 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10006 (__ASSUME_SOCKETCALL): Define.
10007 (__ASSUME_ACCEPT4): Remove.
10008 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10009 Define.
10010 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10011 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10012 Likewise.
10013 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10014 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10015
5d7b57ca
JM
10016 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10017 macro.
10018 (HWCAP_ARM_LPAE): Likewise.
10019 (HWCAP_ARM_EVTSTRM): Likewise.
10020 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10021 Add vpfd32, lpae and evtstrm.
10022 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10023 Increase to 22.
10024
63689d61
JM
100252014-02-19 Joseph Myers <joseph@codesourcery.com>
10026
10027 * math/auto-libm-test-in: Add tests of clog10.
10028 * math/auto-libm-test-out: Regenerated.
10029 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10030 * sysdeps/i386/fpu/libm-test-ulps: Update.
10031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10032
ab09bf61
AS
100332014-02-18 Andreas Schwab <schwab@suse.de>
10034
10035 [BZ #16574]
10036 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10037 Store non-zero if the second buffer was newly allocated.
10038 (send_dg): Likewise.
10039 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10040 to send_vc and send_dg.
10041 (res_nsend): Pass NULL for ansp2_malloced.
10042 * resolv/res_query.c (__libc_res_nquery): Add parameter
10043 answerp2_malloced and pass it down to __libc_res_nsend.
10044 (res_nquery): Pass additional NULL to __libc_res_nquery.
10045 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10046 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10047 second answer buffer if answerp2_malloced was set.
10048 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10049 (__libc_res_nquerydomain): Add parameter
10050 answerp2_malloced and pass it down to __libc_res_nquery.
10051 (res_nquerydomain): Pass additional NULL to
10052 __libc_res_nquerydomain.
10053 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10054 additional NULL to __libc_res_nsend and __libc_res_nquery.
10055 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10056 additional NULL to __libc_res_nsearch.
10057 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10058 parameter of __libc_res_nsearch to check for separately allocated
10059 second buffer.
10060 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10061 __libc_res_nquery.
10062 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10063 additional NULL to __libc_res_nquery.
10064 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10065 __libc_res_nsearch.
10066 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10067 * include/resolv.h: Update prototypes of __libc_res_nquery,
10068 __libc_res_nsearch, __libc_res_nsend.
10069
a4fb7861
JM
100702014-02-18 Joseph Myers <joseph@codesourcery.com>
10071
c6af2d89
JM
10072 * math/auto-libm-test-in: Add tests of fma.
10073 * math/auto-libm-test-out: Regenerated.
10074 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10075 (fma_towardzero_test_data): Likewise.
10076 (fma_downward_test_data): Likewise.
10077 (fma_upward_test_data): Likewise.
10078 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10079 mpc_mode.
10080 (rounding_modes): Add values for new field.
10081 (func_calc_method): Add value mpfr_fff_f.
10082 (func_calc_desc): Add mpfr_fff_f union field.
10083 (test_function): Add field exact_args.
10084 (FUNC): Add macro argument EXACT_ARGS.
10085 (FUNC_mpfr_f_f): Update call to FUNC.
10086 (FUNC_mpfr_f_f): Likewise.
10087 (FUNC_mpfr_ff_f): Likewise.
10088 (FUNC_mpfr_if_f): Likewise.
10089 (FUNC_mpc_c_f): Likewise.
10090 (FUNC_mpc_c_c): Likewise.
10091 (test_functions): Add fma. Update calls to FUNC.
10092 (handle_input_arg): Add argument exact_args.
10093 (add_test): Update call to handle_input_arg.
10094 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10095 (output_for_one_input_case): Update call to calc_generic_results.
10096 Recalculate exact zero results in each rounding mode.
10097
a4fb7861
JM
10098 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10099 non-negative before setting low bit.
10100 * math/auto-libm-test-in: Mark one asin test possibly having
10101 spurious underflow.
10102 * math/auto-libm-test-out: Regenerated.
10103 * sysdeps/i386/fpu/libm-test-ulps: Update.
10104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10105
ef114eaf
DH
101062014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10107
2b7f4f2c
SP
10108 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10109 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10110 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10111 * README: Add missing listing for microblaze*-*-linux-gnu.
10112
8125aedc
AM
101132014-02-16 Ondřej Bílka <neleai@seznam.cz>
10114
10115 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10116 duplicate code
10117
c70a4b1d
MF
101182014-02-16 Mike Frysinger <vapier@gentoo.org>
10119
10120 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10121 * sysdeps/unix/sysv/linux/ia64: Move directory from
10122 ports/sysdeps/unix/sysv/linux/ia64.
10123 * README: Update listing for ia64-*-linux-gnu.
10124
591aeaf7
TD
101252014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10126 Joseph Myers <joseph@codesourcery.com>
10127
10128 * Makeconfig (test-name): New variable.
10129 (evaluate-test): Likewise.
10130 * Makerules (do-test-clean): Remove .test-result files.
10131 (common-mostlyclean): Likewise.
10132 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10133 * scripts/evaluate-test.sh: New file.
10134
6e89caf1
JM
101352014-02-14 Joseph Myers <joseph@codesourcery.com>
10136
7f98f180
JM
10137 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10138 separate $(objpfx)tst-fopenloc-cmp.out and
10139 $(objpfx)tst-fopenloc-mem.out targets.
10140 (tests): Update dependencies.
10141 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10142 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10143 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10144 (tst-rxspencer-no-utf8-ARGS): New variable.
10145 (tst-rxspencer-no-utf8-ENV): Likewise.
10146 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10147 instead of $(objpfx)tst-rxspencer-mem.
10148 ($(objpfx)tst-rxspencer-mem): Change target to
10149 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10150 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10151 * posix/tst-rxspencer-no-utf8.c: New file.
10152
6e89caf1
JM
10153 * elf/Makefile ($(objpfx)order.out): Remove rule.
10154 [$(run-built-tests) = yes] (tests): Depend on
10155 $(objpfx)order-cmp.out.
10156 ($(objpfx)order-cmp.out): New rule.
10157 [$(run-built-tests) = yes] (tests): Depend on
10158 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10159 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10160 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10161 $(objpfx)tst-array5-static-cmp.out.
10162 ($(objpfx)tst-array1.out): Remove rule.
10163 ($(objpfx)tst-array1-cmp.out): New rule.
10164 ($(objpfx)tst-array1-static.out): Remove rule.
10165 ($(objpfx)tst-array1-static-cmp.out): New rule.
10166 ($(objpfx)tst-array2.out): Remove rule.
10167 ($(objpfx)tst-array2-cmp.out): New rule.
10168 ($(objpfx)tst-array3.out): Remove rule.
10169 ($(objpfx)tst-array3-cmp.out): New rule.
10170 ($(objpfx)tst-array4.out): Remove rule.
10171 ($(objpfx)tst-array4-cmp.out): New rule.
10172 ($(objpfx)tst-array5.out): Remove rule.
10173 ($(objpfx)tst-array5-cmp.out): New rule.
10174 ($(objpfx)tst-array5-static.out): Remove rule.
10175 ($(objpfx)tst-array5-static-cmp.out): New rule.
10176 [$(run-built-tests) = yes] (tests): Depend on
10177 $(objpfx)order2-cmp.out.
10178 ($(objpfx)order2.out): Remove rule.
10179 ($(objpfx)order2-cmp.out): New rule.
10180 ($(objpfx)tst-initorder.out): Remove rule.
10181 [$(run-built-tests) = yes] (tests): Depend on
10182 $(objpfx)tst-initorder-cmp.out.
10183 ($(objpfx)tst-initorder-cmp.out): New rule.
10184 ($(objpfx)tst-initorder2.out): Remove rule.
10185 [$(run-built-tests) = yes] (tests): Depend on
10186 $(objpfx)tst-initorder2-cmp.out.
10187 ($(objpfx)tst-initorder2-cmp.out): New rule.
10188 [$(run-built-tests) = yes] (tests): Depend on
10189 $(objpfx)tst-unused-dep-cmp.out.
10190 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10191 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10192 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10193 on $(objpfx)tst-setvbuf1-cmp.out.
10194 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10195 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10196 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10197 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10198 ($(objpfx)tst-svc.out): Remove rule.
10199 ($(objpfx)tst-svc-cmp.out): New rule.
10200
ed9a38e2
JM
102012014-02-13 Joseph Myers <joseph@codesourcery.com>
10202
10203 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10204 * ctype/ctype.h [__USE_MISC]: Likewise.
10205 * dirent/dirent.h [__USE_MISC]: Likewise.
10206 * grp/grp.h [__USE_MISC]: Likewise.
10207 * io/fcntl.h [__USE_MISC]: Likewise.
10208 * io/sys/stat.h [__USE_MISC]: Likewise.
10209 * libio/stdio.h [__USE_MISC]: Likewise.
10210 * posix/unistd.h [__USE_MISC]: Likewise.
10211 * pwd/pwd.h [__USE_MISC]: Likewise.
10212 * stdlib.h [__USE_MISC]: Likewise.
10213 * string/bits/string2.h [__USE_MISC]: Likewise.
10214 * string/string.h [__USE_MISC]: Likewise.
10215 * time/time.h [__USE_MISC]: Likewise.
10216
d6680619
AS
102172014-02-13 Andreas Schwab <schwab@suse.de>
10218
10219 [BZ #16574]
10220 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10221 second answer buffer if it was separately allocated.
10222
ace614b8
JM
102232014-02-12 Joseph Myers <joseph@codesourcery.com>
10224
743151ae
JM
10225 * sysdeps/mips/math-tests.h: Include <features.h>.
10226 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10227 (ROUNDING_TESTS_long_double): Do not define.
10228 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10229 (EXCEPTION_TESTS_long_double): Likewise.
10230 * sysdeps/mips/mips64/libm-test-ulps: Update.
10231
498afc54
JM
10232 * include/features.h (__USE_BSD): Remove macro definitions.
10233 (__USE_SVID): Likewise.
10234 (_BSD_SOURCE): Likewise.
10235 (_SVID_SOURCE): Likewise.
10236 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10237 from definition of _DEFAULT_SOURCE.
10238 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10239 [_DEFAULT_SOURCE].
10240 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10241 * bits/mman.h [__USE_BSD]: Likewise.
10242 * bits/termios.h [__USE_BSD]: Likewise.
10243 * bits/waitstatus.h [__USE_BSD]: Likewise.
10244 * ctype/ctype.h [__USE_SVID]: Likewise.
10245 * dirent/dirent.h [__USE_BSD]: Likewise.
10246 * grp/grp.h [__USE_SVID]: Likewise.
10247 [__USE_BSD]: Likewise.
10248 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10249 * io/fcntl.h [__USE_BSD]: Likewise.
10250 * io/ftw.h [__USE_BSD]: Likewise.
10251 * io/sys/stat.h [__USE_BSD]: Likewise.
10252 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10253 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10254 * libio/stdio.h [__USE_SVID]: Likewise.
10255 [__USE_BSD]: Likewise.
10256 * math/math.h [__USE_SVID]: Likewise.
10257 [__USE_BSD]: Likewise.
10258 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10259 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10260 * misc/search.h [__USE_SVID]: Likewise.
10261 * misc/sys/mman.h [__USE_BSD]: Likewise.
10262 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10263 * misc/sys/uio.h [__USE_BSD]: Likewise.
10264 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10265 * posix/glob.h [__USE_BSD]: Likewise.
10266 * posix/regex.h [__USE_BSD]: Likewise.
10267 * posix/sys/types.h [__USE_BSD]: Likewise.
10268 [__USE_SVID]: Likewise.
10269 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10270 * posix/sys/wait.h [__USE_BSD]: Likewise.
10271 [__USE_SVID]: Likewise.
10272 * posix/unistd.h [__USE_BSD]: Likewise.
10273 [__USE_SVID]: Likewise.
10274 * pwd/pwd.h [__USE_SVID]: Likewise.
10275 * resolv/netdb.h [__USE_BSD]: Likewise.
10276 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10277 * signal/signal.h [__USE_BSD]: Likewise.
10278 [__USE_SVID]: Likewise.
10279 * socket/sys/socket.h [__USE_BSD]: Likewise.
10280 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10281 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10282 [__USE_SVID]: Likewise.
10283 * string/bits/string2.h [__USE_BSD]: Likewise.
10284 [__USE_SVID]: Likewise.
10285 * string/bits/string3.h [__USE_BSD]: Likewise.
10286 * string/endian.h [__USE_BSD]: Likewise.
10287 * string/string.h [__USE_SVID]: Likewise.
10288 [__USE_BSD]: Likewise.
10289 * string/strings.h [__USE_BSD]: Likewise.
10290 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10291 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10292 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10293 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10294 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10295 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10296 Likewise.
10297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10298 Likewise.
10299 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10300 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10301 Likewise.
10302 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10303 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10304 Likewise.
10305 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10306 Likewise.
10307 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10308 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10309 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10310 Likewise.
10311 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10312 Likewise.
10313 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10314 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10315 * termios/termios.h [__USE_BSD]: Likewise.
10316 * time/sys/time.h [__USE_BSD]: Likewise.
10317 * time/time.h [__USE_BSD]: Likewise.
10318 [__USE_SVID]: Likewise.
10319
dd7b064c
JM
10320 * Makefile (subdir_targets): Remove subdir_lint.out.
10321
a2c4c199
JM
10322 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10323 (do-tst-printf): Likewise.
10324 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10325 $(objpfx)tst-printf.out.
10326
8756f740
JM
10327 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10328
1b6dd3f1
JM
10329 * Makerules (check-abi-%): Change target to
10330 $(objpfx)check-abi-%.out.
10331 (check-abi target): Update dependencies.
10332 (check-abi-pattern variable): Redirect output of diff to $@.
10333 (check-abi variable): Likewise.
10334 * elf/Makefile (check-abi): Update dependencies.
10335
ace614b8
JM
10336 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10337 unused.
10338 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10339 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10340 subnormal range.
10341 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10342 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10343 value has largest subnormal exponent.
10344 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10345 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10346 * sysdeps/aarch64/soft-fp/sfp-machine.h
10347 (_FP_TININESS_AFTER_ROUNDING): New macro.
10348 * sysdeps/alpha/soft-fp/sfp-machine.h
10349 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10350 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10351 Likewise.
10352 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10353 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10354 * sysdeps/mips/soft-fp/sfp-machine.h
10355 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10356 * sysdeps/powerpc/soft-fp/sfp-machine.h
10357 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10358 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10359 Likewise.
10360 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10361 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10362 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10363 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10364 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10365 Likewise.
10366
fbfdf9cb
DAS
103672014-02-12 Dylan Alex Simon <dylan@dylex.net>
10368
10369 [BZ #16545]
10370 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10371 model 1.
10372
68b7efaa
RH
103732014-02-12 Richard Henderson <rth@redhat.com>
10374
c70a4b1d 10375 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10376 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10377 * sysdeps/unix/sysv/linux/alpha: Move directory from
10378 ports/sysdeps/unix/sysv/linux/alpha.
10379 * README: Update listing for alpha-*-linux-gnu.
10380
cb4a2928
JM
103812014-02-11 Joseph Myers <joseph@codesourcery.com>
10382
c941736c
JM
10383 * include/features.h: Update comment documenting feature test
10384 macros.
10385 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10386 _DEFAULT_SOURCE.
10387 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10388 (_SVID_SOURCE): Likewise.
10389 (_DEFAULT_SOURCE): Update description of default features.
10390 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10391 with _GNU_SOURCE.
10392 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10393 (S_ISVTX): Likewise.
10394 * manual/math.texi (Mathematical Constants): Likewise.
10395 * manual/signal.texi (Interrupted Primitives): Likewise.
10396 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10397 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10398 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10399 Don't refer to _SVID_SOURCE in warning text.
10400
e8d8d7ec
JM
10401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10402
cb4a2928
JM
10403 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10404 already defined.
10405 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10406 * sysdeps/mips/dl-lookup.c: Remove.
10407 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10408
7e6424e3
AK
104092014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10410
10411 [BZ #16447]
10412 * math/auto-libm-test-in: Add testcase for expl.
10413 * math/auto-libm-test-out: Regenerate.
10414 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10415 calculation of unsafe.
10416 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10417
75eff3fe
MS
104182014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10419
10420 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10421 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10422 ports/sysdeps/unix/sysv/linux/aarch64.
10423 * README: Update listing for aarch64*-*-linux-gnu.
10424
d35f1e80
WN
104252014-02-11 Will Newton <will.newton@linaro.org>
10426
10427 * manual/probes.texi (Mathematical Function Probes): Use
10428 "triggered" instead of "hit".
10429
7b3436d4
WN
10430 * manual/probes.texi (Internal Probes): Add documentation
10431 of setjmp, longjmp and longjmp_target probes.
10432
b4f12ca3
WN
10433 * include/stap-probe.h: Add comment about probe argument
10434 format.
10435
c13a72b7
WN
10436 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10437 definition. (tr_where, tr_freehook, tr_mallochook,
10438 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10439
195b8165
DM
104402014-02-11 David S. Miller <davem@davemloft.net>
10441
10442 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10443 processing int_tests.
10444
2ad7600b
JM
104452014-02-10 Joseph Myers <joseph@codesourcery.com>
10446
10447 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10448 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10449 * sysdeps/unix/sysv/linux/mips: Move directory from
10450 ports/sysdeps/unix/sysv/linux/mips.
10451 * README: Update listing for mips-*-linux-gnu and
10452 mips64-*-linux-gnu.
10453
73588a72
AS
104542014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10455
10456 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10457 * sysdeps/unix/sysv/linux/m68k: Move directory from
10458 ports/sysdeps/unix/sysv/linux/m68k.
10459 * README: Update listing for m68k-*-linux-gnu.
10460
4372980f
CM
104612014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10462
10463 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10464 * sysdeps/unix/sysv/linux/generic: Move directory from
10465 ports/sysdeps/unix/sysv/linux/generic.
10466 * sysdeps/unix/sysv/linux/tile: Move directory from
10467 ports/sysdeps/unix/sysv/linux/tile.
10468 * README: Update listing for tile*-*-linux-gnu.
10469
a1ffb40e
OB
104702014-02-10 Ondřej Bílka <neleai@seznam.cz>
10471
57f41c40
AS
10472 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10473 __builtin_expect.
a1ffb40e
OB
10474 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10475 * catgets/open_catalog.c (__open_catalog): Likewise.
10476 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10477 * debug/confstr_chk.c: Likewise.
10478 * debug/fread_chk.c (__fread_chk): Likewise.
10479 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10480 * debug/getgroups_chk.c: Likewise.
10481 * debug/mbsnrtowcs_chk.c: Likewise.
10482 * debug/mbsrtowcs_chk.c: Likewise.
10483 * debug/mbstowcs_chk.c: Likewise.
10484 * debug/memcpy_chk.c: Likewise.
10485 * debug/memmove_chk.c: Likewise.
10486 * debug/mempcpy_chk.c: Likewise.
10487 * debug/memset_chk.c: Likewise.
10488 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10489 * debug/strcat_chk.c (__strcat_chk): Likewise.
10490 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10491 * debug/strncat_chk.c (__strncat_chk): Likewise.
10492 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10493 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10494 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10495 * debug/wcpncpy_chk.c: Likewise.
10496 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10497 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10498 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10499 * debug/wcsncpy_chk.c: Likewise.
10500 * debug/wcsnrtombs_chk.c: Likewise.
10501 * debug/wcsrtombs_chk.c: Likewise.
10502 * debug/wcstombs_chk.c: Likewise.
10503 * debug/wmemcpy_chk.c: Likewise.
10504 * debug/wmemmove_chk.c: Likewise.
10505 * debug/wmempcpy_chk.c: Likewise.
10506 * debug/wmemset_chk.c: Likewise.
10507 * dirent/scandirat.c (SCANDIRAT): Likewise.
10508 * dlfcn/dladdr1.c (dladdr1): Likewise.
10509 * dlfcn/dladdr.c (dladdr): Likewise.
10510 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10511 * dlfcn/dlerror.c (__dlerror): Likewise.
10512 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10513 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10514 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10515 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10516 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10517 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10518 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10519 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10520 Likewise.
10521 * elf/dl-conflict.c: Likewise.
10522 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10523 * elf/dl-dst.h: Likewise.
10524 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10525 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10526 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10527 * elf/dl-init.c (call_init, _dl_init): Likewise.
10528 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10529 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10530 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10531 Likewise.
a1ffb40e
OB
10532 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10533 Likewise.
10534 * elf/dl-minimal.c (__libc_memalign): Likewise.
10535 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10536 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10537 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10538 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10539 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10540 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10541 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10542 * elf/dl-writev.h (_dl_writev): Likewise.
10543 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10544 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10545 (dl_main): Likewise.
a1ffb40e
OB
10546 * elf/setup-vdso.h (setup_vdso): Likewise.
10547 * grp/compat-initgroups.c (compat_call): Likewise.
10548 * grp/fgetgrent.c (fgetgrent): Likewise.
10549 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10550 * grp/putgrent.c (putgrent): Likewise.
10551 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10552 Likewise.
10553 * hurd/hurdinit.c: Likewise.
10554 * iconvdata/8bit-gap.c (struct): Likewise.
10555 * iconvdata/ansi_x3.110.c : Likewise.
10556 * iconvdata/big5.c : Likewise.
10557 * iconvdata/big5hkscs.c : Likewise.
10558 * iconvdata/cp1255.c: Likewise.
10559 * iconvdata/cp1258.c : Likewise.
10560 * iconvdata/cp932.c : Likewise.
10561 * iconvdata/euc-cn.c: Likewise.
10562 * iconvdata/euc-jisx0213.c : Likewise.
10563 * iconvdata/euc-jp.c: Likewise.
10564 * iconvdata/euc-jp-ms.c : Likewise.
10565 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10566 * iconvdata/gb18030.c : Likewise.
10567 * iconvdata/gbbig5.c (const): Likewise.
10568 * iconvdata/gbgbk.c: Likewise.
10569 * iconvdata/gbk.c : Likewise.
10570 * iconvdata/ibm1364.c : Likewise.
10571 * iconvdata/ibm930.c : Likewise.
10572 * iconvdata/ibm932.c: Likewise.
10573 * iconvdata/ibm933.c : Likewise.
10574 * iconvdata/ibm935.c : Likewise.
10575 * iconvdata/ibm937.c : Likewise.
10576 * iconvdata/ibm939.c : Likewise.
10577 * iconvdata/ibm943.c: Likewise.
10578 * iconvdata/iso_11548-1.c: Likewise.
10579 * iconvdata/iso-2022-cn.c : Likewise.
10580 * iconvdata/iso-2022-cn-ext.c : Likewise.
10581 * iconvdata/iso-2022-jp-3.c: Likewise.
10582 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10583 * iconvdata/iso-2022-kr.c : Likewise.
10584 * iconvdata/iso646.c (gconv_end): Likewise.
10585 * iconvdata/iso_6937-2.c : Likewise.
10586 * iconvdata/iso_6937.c : Likewise.
10587 * iconvdata/iso8859-1.c: Likewise.
10588 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10589 * iconvdata/shift_jisx0213.c : Likewise.
10590 * iconvdata/sjis.c : Likewise.
10591 * iconvdata/t.61.c : Likewise.
10592 * iconvdata/tcvn5712-1.c : Likewise.
10593 * iconvdata/tscii.c: Likewise.
10594 * iconvdata/uhc.c : Likewise.
10595 * iconvdata/unicode.c (gconv_end): Likewise.
10596 * iconvdata/utf-16.c (gconv_end): Likewise.
10597 * iconvdata/utf-32.c (gconv_end): Likewise.
10598 * iconvdata/utf-7.c (base64): Likewise.
10599 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10600 * iconv/gconv_close.c (__gconv_close): Likewise.
10601 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10602 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10603 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10604 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10605 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10606 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10607 * iconv/iconv.c (iconv): Likewise.
10608 * iconv/iconv_close.c: Likewise.
10609 * iconv/loop.c (SINGLE): Likewise.
10610 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10611 * include/atomic.h: Likewise.
10612 * inet/inet6_option.c (option_alloc): Likewise.
10613 * intl/bindtextdom.c (set_binding_values): Likewise.
10614 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10615 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10616 * intl/localealias.c (read_alias_file): Likewise.
10617 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10618 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10619 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10620 * libio/fmemopen.c (fmemopen): Likewise.
10621 * libio/iofgets.c (_IO_fgets): Likewise.
10622 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10623 * libio/iofgetws.c (fgetws): Likewise.
10624 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10625 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10626 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10627 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10628 * locale/findlocale.c (_nl_find_locale): Likewise.
10629 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10630 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10631 Likewise.
10632 * locale/setlocale.c (setlocale): Likewise.
10633 * login/programs/pt_chown.c (main): Likewise.
10634 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10635 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10636 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10637 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10638 * math/e_exp2l.c: Likewise.
10639 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10640 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10641 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10642 * math/s_catan.c (__catan): Likewise.
10643 * math/s_catanf.c (__catanf): Likewise.
10644 * math/s_catanh.c (__catanh): Likewise.
10645 * math/s_catanhf.c (__catanhf): Likewise.
10646 * math/s_catanhl.c (__catanhl): Likewise.
10647 * math/s_catanl.c (__catanl): Likewise.
10648 * math/s_ccosh.c (__ccosh): Likewise.
10649 * math/s_ccoshf.c (__ccoshf): Likewise.
10650 * math/s_ccoshl.c (__ccoshl): Likewise.
10651 * math/s_cexp.c (__cexp): Likewise.
10652 * math/s_cexpf.c (__cexpf): Likewise.
10653 * math/s_cexpl.c (__cexpl): Likewise.
10654 * math/s_clog10.c (__clog10): Likewise.
10655 * math/s_clog10f.c (__clog10f): Likewise.
10656 * math/s_clog10l.c (__clog10l): Likewise.
10657 * math/s_clog.c (__clog): Likewise.
10658 * math/s_clogf.c (__clogf): Likewise.
10659 * math/s_clogl.c (__clogl): Likewise.
10660 * math/s_csin.c (__csin): Likewise.
10661 * math/s_csinf.c (__csinf): Likewise.
10662 * math/s_csinh.c (__csinh): Likewise.
10663 * math/s_csinhf.c (__csinhf): Likewise.
10664 * math/s_csinhl.c (__csinhl): Likewise.
10665 * math/s_csinl.c (__csinl): Likewise.
10666 * math/s_csqrt.c (__csqrt): Likewise.
10667 * math/s_csqrtf.c (__csqrtf): Likewise.
10668 * math/s_csqrtl.c (__csqrtl): Likewise.
10669 * math/s_ctan.c (__ctan): Likewise.
10670 * math/s_ctanf.c (__ctanf): Likewise.
10671 * math/s_ctanh.c (__ctanh): Likewise.
10672 * math/s_ctanhf.c (__ctanhf): Likewise.
10673 * math/s_ctanhl.c (__ctanhl): Likewise.
10674 * math/s_ctanl.c (__ctanl): Likewise.
10675 * math/w_pow.c: Likewise.
10676 * math/w_powf.c: Likewise.
10677 * math/w_powl.c: Likewise.
10678 * math/w_scalb.c (sysv_scalb): Likewise.
10679 * math/w_scalbf.c (sysv_scalbf): Likewise.
10680 * math/w_scalbl.c (sysv_scalbl): Likewise.
10681 * misc/error.c (error_tail): Likewise.
10682 * misc/pselect.c (__pselect): Likewise.
10683 * nis/nis_callback.c (__nis_create_callback): Likewise.
10684 * nis/nis_call.c (__nisfind_server): Likewise.
10685 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10686 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10687 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10688 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10689 * nis/nis_lookup.c (nis_lookup): Likewise.
10690 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10691 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10692 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10693 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10694 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10695 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10696 * nis/nss_compat/compat-initgroups.c (add_group)
10697 (internal_getgrent_r): Likewise.
10698 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10699 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10700 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10701 (internal_getspnam_r): Likewise.
10702 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10703 (_nss_nis_getaliasbyname_r): Likewise.
10704 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10705 (_nss_nis_getntohost_r): Likewise.
10706 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10707 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10708 (_nss_nis_getgrgid_r): Likewise.
10709 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10710 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10711 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10712 (_nss_nis_gethostbyname4_r): Likewise.
10713 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10714 (initgroups_netid): Likewise.
a1ffb40e 10715 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10716 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10717 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10718 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10719 (_nss_nis_getprotobynumber_r): Likewise.
10720 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10721 (_nss_nis_getsecretkey): Likewise.
10722 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10723 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10724 (_nss_nis_getpwuid_r): Likewise.
10725 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10726 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10727 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10728 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10729 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10730 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10731 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10732 Likewise.
57f41c40
AS
10733 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10734 (_nss_nisplus_getntohost_r): Likewise.
10735 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10736 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10737 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10738 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10739 Likewise.
57f41c40
AS
10740 * nis/nss_nisplus/nisplus-initgroups.c
10741 (_nss_nisplus_initgroups_dyn): Likewise.
10742 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10743 (_nss_nisplus_getnetbyaddr_r): Likewise.
10744 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10745 (_nss_nisplus_getprotobynumber_r): Likewise.
10746 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10747 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10748 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10749 Likewise.
57f41c40
AS
10750 * nis/nss_nisplus/nisplus-service.c
10751 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10752 (_nss_nisplus_getservbyport_r): Likewise.
10753 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10754 (_nss_nisplus_getspnam_r): Likewise.
10755 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10756 Likewise.
a1ffb40e
OB
10757 * nscd/aicache.c (addhstaiX): Likewise.
10758 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10759 * nscd/connections.c (register_traced_file, send_ro_fd)
10760 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10761 (main_loop_epoll): Likewise.
a1ffb40e
OB
10762 * nscd/grpcache.c (addgrbyX): Likewise.
10763 * nscd/hstcache.c (addhstbyX): Likewise.
10764 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10765 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10766 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10767 (addinnetgrX): Likewise.
10768 * nscd/nscd-client.h (__nscd_acquire_maplock)
10769 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10770 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10771 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10772 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10773 Likewise.
10774 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10775 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10776 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10777 (__nscd_get_map_ref): Likewise.
a1ffb40e 10778 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10779 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10780 Likewise.
a1ffb40e
OB
10781 * nscd/pwdcache.c (addpwbyX): Likewise.
10782 * nscd/selinux.c (preserve_capabilities): Likewise.
10783 * nscd/servicescache.c (addservbyX): Likewise.
10784 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10785 * posix/fnmatch.c (fnmatch): Likewise.
10786 * posix/getopt.c (_getopt_internal_r): Likewise.
10787 * posix/glob.c (glob, glob_in_dir): Likewise.
10788 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10790 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10791 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10792 * resolv/res_init.c: Likewise.
10793 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10794 * resolv/res_query.c (__libc_res_nquery): Likewise.
10795 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10796 Likewise.
10797 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10798 * stdio-common/perror.c (perror): Likewise.
10799 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10800 * stdio-common/tmpnam.c (tmpnam): Likewise.
10801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10802 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10803 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10804 Likewise.
a1ffb40e
OB
10805 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10806 * stdlib/putenv.c (putenv): Likewise.
10807 * stdlib/setenv.c (__add_to_environ): Likewise.
10808 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10809 * stdlib/strtol_l.c (INTERNAL): Likewise.
10810 * string/memmem.c (memmem): Likewise.
10811 * string/strerror.c (strerror): Likewise.
10812 * string/strnlen.c (__strnlen): Likewise.
10813 * string/test-memmem.c (simple_memmem): Likewise.
10814 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10815 * sunrpc/pm_getport.c (__get_socket): Likewise.
10816 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10817 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10818 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10819 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10820 Likewise.
10821 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10822 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10823 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10824 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10825 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10826 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10827 Likewise.
10828 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10829 Likewise.
a1ffb40e
OB
10830 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10831 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10832 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10833 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10834 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10836 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10837 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10838 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10839 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10840 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10841 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10842 Likewise.
10843 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10844 Likewise.
10845 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10846 Likewise.
10847 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10849 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10850 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10851 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10852 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10853 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10854 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10858 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10860 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10862 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10863 Likewise.
a1ffb40e
OB
10864 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10865 Likewise.
10866 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10867 Likewise.
10868 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10869 Likewise.
10870 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10872 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10873 Likewise.
10874 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10875 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10876 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10877 * sysdeps/posix/sleep.c: Likewise.
10878 * sysdeps/posix/tempname.c: Likewise.
10879 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10880 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10881 Likewise.
57f41c40
AS
10882 * sysdeps/powerpc/powerpc32/dl-machine.h
10883 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10884 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10886 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10887 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10888 Likewise.
10889 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10890 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10891 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10892 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10893 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10894 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10895 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10896 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10897 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10898 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10899 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10900 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10901 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10902 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10903 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10904 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10905 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10906 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10907 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10908 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10909 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10910 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10911 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10912 Likewise.
10913 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10914 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10915 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10916 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10917 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10918 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10919 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10920 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10921 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10922 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10923 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10924 Likewise.
10925 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10926 (__posix_fallocate64_l64): Likewise.
10927 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10928 (posix_fallocate): Likewise.
57f41c40
AS
10929 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10930 Likewise.
a1ffb40e 10931 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10932 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10933 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10934 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10935 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10936 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10937 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10938 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10939 (__posix_fallocate64_l64): Likewise.
10940 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10941 Likewise.
10942 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10943 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10944 (__get_clockfreq): Likewise.
a1ffb40e
OB
10945 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10946 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10947 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10950 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10951 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10952 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10953 Likewise.
10954 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10955 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10956 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10957 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10958 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10959 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10960 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10961 Likewise.
10962 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10963 (posix_fallocate): Likewise.
10964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10965 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10966 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10967 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10968 (elf_machine_rela, elf_machine_rela_relative)
10969 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10970 * time/asctime.c (asctime_internal): Likewise.
10971 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10972 * time/tzset.c (__tzset_parse_tz): Likewise.
10973 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10974 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10975 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10976 * wcsmbs/wcsmbsload.h: Likewise.
10977
f3d338c9
OB
10978 [BZ #15894]
10979 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10980
57f41c40
AS
10981 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10982 (arena_get2): Remove THREAD_STATS conditionals.
10983 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10984 (__malloc_stats, int): Likewise.
bdfe308a 10985
d674667c
MF
109862014-02-08 Mike Frysinger <vapier@gentoo.org>
10987
10988 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10989 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10990
6349768c
MF
10991 * manual/setjmp.texi: Fix typos/grammar errors.
10992
0b7c7473
MF
10993 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10994 Only return early when n is <= 0. Delete unused return statement.
10995
ac8cc9e3
MF
10996 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10997 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10998 * debug/tst-longjmp_chk3.c: New file.
10999
c5bb8e23
MF
11000 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11001 (test_main): Replace code with set_fortify_handler call.
11002 * debug/test-strcpy_chk.c: Likewise.
11003 * debug/tst-chk1.c: Likewise.
11004 * debug/tst-longjmp_chk.c: Likewise.
11005 * test-skeleton.c: Include fcntl.h & paths.h
11006 (set_fortify_handler): Define.
11007
10444e42
MF
11008 * debug/tst-longjmp_chk.c: Add header comment and include
11009 ../test-skeleton.c.
11010 (do_test): Mark static.
11011 (TEST_FUNCTION): Define.
11012
1e805e8d
MF
11013 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11014 (IP_PMTUDISC_INTERFACE): Likewise.
11015 (IP_MULTICAST_IF): Likewise.
11016 (IP_MULTICAST_TTL): Likewise.
11017 (IP_MULTICAST_LOOP): Likewise.
11018 (IP_ADD_MEMBERSHIP): Likewise.
11019 (IP_DROP_MEMBERSHIP): Likewise.
11020 (IP_UNBLOCK_SOURCE): Likewise.
11021 (IP_BLOCK_SOURCE): Likewise.
11022 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11023 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11024 (IP_MSFILTER): Likewise.
11025 (MCAST_JOIN_GROUP): Likewise.
11026 (MCAST_BLOCK_SOURCE): Likewise.
11027 (MCAST_UNBLOCK_SOURCE): Likewise.
11028 (MCAST_LEAVE_GROUP): Likewise.
11029 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11030 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11031 (MCAST_MSFILTER): Likewise.
11032 (IP_MULTICAST_ALL): Likewise.
11033 (IP_UNICAST_IF): Likewise.
11034
73f79bb7
MF
11035 * timezone/Makefile: Delete $(have-ksh) check.
11036 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11037 * timezone/tzselect.ksh: Add +x mode bits.
11038
8da79b60
MF
11039 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11040 (ANON_INODE_FS_MAGIC): Likewise.
11041 (BDEVFS_MAGIC): Likewise.
11042 (BINFMTFS_MAGIC): Likewise.
11043 (BTRFS_TEST_MAGIC): Likewise.
11044 (CRAMFS_MAGIC_WEND): Likewise.
11045 (DEBUGFS_MAGIC): Likewise.
11046 (ECRYPTFS_SUPER_MAGIC): Likewise.
11047 (EXT3_SUPER_MAGIC): Likewise.
11048 (EXT4_SUPER_MAGIC): Likewise.
11049 (FUTEXFS_SUPER_MAGIC): Likewise.
11050 (HOSTFS_SUPER_MAGIC): Likewise.
11051 (HUGETLBFS_MAGIC): Likewise.
11052 (MINIX3_SUPER_MAGIC): Likewise.
11053 (MTD_INODE_FS_MAGIC): Likewise.
11054 (NILFS_SUPER_MAGIC): Likewise.
11055 (OPENPROM_SUPER_MAGIC): Likewise.
11056 (PIPEFS_MAGIC): Likewise.
11057 (PSTOREFS_MAGIC): Likewise.
11058 (QNX6_SUPER_MAGIC): Likewise.
11059 (RAMFS_MAGIC): Likewise.
11060 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11061 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11062 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11063 (SECURITYFS_MAGIC): Likewise.
11064 (SELINUX_MAGIC): Likewise.
11065 (SMACK_MAGIC): Likewise.
11066 (SOCKFS_MAGIC): Likewise.
11067 (SQUASHFS_MAGIC): Likewise.
11068 (STACK_END_MAGIC): Likewise.
11069 (TMPFS_MAGIC): Likewise.
11070 (USBDEVICE_SUPER_MAGIC): Likewise.
11071 (V9FS_MAGIC): Likewise.
11072 (XENFS_SUPER_MAGIC): Likewise.
11073 (CRAMFS_MAGIC): Fix typo in comment.
11074 (EXT2_SUPER_MAGIC): Update comment.
11075 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11076
464263cc
JM
110772014-02-08 Joseph Myers <joseph@codesourcery.com>
11078
c6bfe5c4
JM
11079 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11080 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11081 * sysdeps/unix/sysv/linux/arm: Move directory from
11082 ports/sysdeps/unix/sysv/linux/arm.
11083 * README: Update listing for arm-*-linux-gnueabi.
11084
464263cc
JM
11085 * README: Remove mention of am33.
11086
32749f6c
RM
110872014-02-07 Roland McGrath <roland@hack.frob.com>
11088
11089 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11090 than the comma operator, to avoid "rhs of comma has no effect"
11091 compiler warnings.
11092 (__sigfillset, __sigandset, __sigorset): Likewise.
11093 * include/signal.h (__sigemptyset): Likewise.
11094 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11095
d5b396c1
AM
110962014-02-07 Allan McRae <allan@archlinux.org>
11097
11098 * version.h (RELEASE): Set to "development".
11099 (VERSION): Set to "2.19.90"
11100 * NEWS: Add 2.20 section.
11101
3bfff2ed
CD
111022014-02-06 Carlos O'Donell <carlos@redhat.com>
11103
11104 [BZ #16529]
11105 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11106
ee7cc385
SP
111072014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11108
11109 * manual/contrib.texi: Update entry for Carlos O'Donell,
11110 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11111
f877c4f2
CD
111122014-02-05 Carlos O'Donell <carlos@rehdat.com>
11113
27e839f6
CD
11114 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11115
f877c4f2
CD
11116 * sysdeps/unix/sysv/linux/kernel-features.h
11117 [__LINUX_KERNEL_VERSION >= 0x020621]
11118 (__ASSUME_PROC_PID_TASK_COMM): Define.
11119
68159946
SP
111202014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11121
ba17cdbd
SP
11122 [BZ #16398]
11123 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11124 conversion when destination buffer does not have enough space.
11125 * libio/tst-ftell-partial-wide.c: New test case.
11126 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11127
68159946
SP
11128 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11129 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11130 Leonard and Allan McRae.
11131
2b528732
DM
111322014-02-04 David S. Miller <davem@davemloft.net>
11133
11134 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11135 32-bit.
11136
0ff82463
AZ
111372014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11138
57f41c40
AS
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11140 New file
c01603f7
AZ
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11142 New file
57f41c40
AS
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11144 New file.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11146 New file.
c01603f7
AZ
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11148 New file.
57f41c40
AS
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11150 New file.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11152 New file.
c01603f7
AZ
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11154 New file.
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11156 New file.
11157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11158 New file.
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11160 New file.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11162 New file.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11164 New file.
11165
111662014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11167
0ff82463
AZ
11168 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11169 * shlib-versions: Likewise.
11170
1695c773
AZ
111712014-02-04 Roland McGrath <roland@hack.frob.com>
11172 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11173
11174 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11175 (abilist-pattern): New variable, set to %-le.abilist.
11176
11177 * Makerules (abilist-pattern): New variable.
11178 (vpath): Use $(abilist-pattern) in place of %.abilist.
11179 (check-abi-% pattern rule): Likewise.
11180 (check-abi, update-abi): Likewise.
11181
6c0ce4b4
EW
111822014-02-04 Eric Wong <normalperson@yhbt.net>
11183
11184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11185
481e3524
CD
111862014-02-03 Carlos O'Donell <carlos@redhat.com>
11187
11188 * manual/startup.texi: Add next, previous, and top entries for
11189 the `Program Arguments' and `Environment Variables' nodes.
11190
375592d3
AO
111912014-02-03 Alexandre Oliva <aoliva@redhat.com>
11192
11193 * manual/macros.texi: Add comments before MTASC-safety macros.
11194
f54838ba
AO
11195 * manual/users.texi: Document MTASC-safety properties.
11196
57f41c40
AS
11197 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11198 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11199 @deftypefun, and add @safety note.
11200 * manual/signal.texi: Move comments that analyze the above
11201 functions to their home place.
11202
fd3daba4
AM
112032014-02-03 Allan McRae <allan@archlinux.org>
11204
11205 * po/sl.po: Update Slovenian translation from translation project.
11206
597636d7
AO
112072014-02-02 Alexandre Oliva <aoliva@redhat.com>
11208
11209 * manual/time.texi (timegm): Add missing blank after @c.
11210 Reported by Joseph Myers <joseph@codesourcery.com>.
11211
ee196e3c
AO
112122014-02-01 Alexandre Oliva <aoliva@redhat.com>
11213
11214 * manual/check-safety.sh: New.
11215 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11216
f8d529d5
AO
11217 * manual/terminal.texi: Document MTASC-safety properties.
11218
de55fdf4
AO
11219 * manual/filesys.texi: Document MTASC-safety properties.
11220
c3299c08
AO
11221 * manual/errno.texi: Document MTASC-safety properties.
11222
06e90b14
AO
11223 * manual/intro.texi: Document safety identifiers and
11224 conditionals.
11225
1acd4371
AO
11226 * manual/string.texi (wcstok): Fix prototype.
11227 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11228
23e5b8cb
AO
11229 * manual/time.texi: Document MTASC-safety properties.
11230
11087373
AO
11231 * manual/string.texi: Document MTASC-safety properties.
11232
5da2c93d
AO
11233 * manual/threads.texi: Document MTASC-safety properties.
11234
171e9210
AO
11235 * manual/stdio.texi: Document MTASC-safety properties.
11236
d9e02532
AO
11237 * manual/syslog.texi: Document MTASC-safety properties.
11238
6af8bab7
AO
11239 * manual/sysinfo.texi: Document MTASC-safety properties.
11240
663b02d7
AO
11241 * manual/startup.texi: Document MTASC-safety properties.
11242
973f180b
AO
11243 * manual/socket.texi: Document MTASC-safety properties.
11244
8f3c25c8
AO
11245 * manual/signal.texi: Document MTASC-safety properties.
11246
542210fb
AO
112472014-01-31 Alexandre Oliva <aoliva@redhat.com>
11248
11249 * manual/setjmp.texi: Document MTASC-safety properties.
11250
433c45a2
AO
11251 * manual/search.texi: Document MTASC-safety properties.
11252
c8ce789c
AO
11253 * manual/resource.texi: Document MTASC-safety properties.
11254
19f5d29c
AO
11255 * manual/process.texi: Document MTASC-safety properties.
11256
e2dfb7f4
AO
11257 * manual/platform.texi: Document MTASC-safety properties.
11258
8c1413f5
AO
11259 * manual/pipe.texi: Document MTASC-safety properties.
11260
03483ada
AO
11261 * manual/pattern.texi: Document MTASC-safety properties.
11262
29e7e2df
AO
11263 * manual/message.texi: Document MTASC-safety properties.
11264
9f529d7c
AO
11265 [BZ #12751]
11266 * manual/memory.texi: Document MTASC-safety properties.
11267
27aaa791
AO
11268 * manual/math.texi: Document MTASC-safety properties.
11269
f2d58726
AO
11270 * manual/locale.texi: Document MTASC-safety properties.
11271
2cc3615c
AO
11272 * manual/llio.texi: Document MTASC-safety properties.
11273
d9f0ec97
AO
11274 * manual/libdl.texi: New.
11275
e7c4409a
AO
11276 * manual/lang.texi: Document MTASC-safety properties.
11277
27bdc63c
AO
11278 * manual/job.texi: Document MTASC-safety properties.
11279
a7b90ea9
AO
11280 * manual/getopt.texi: Document MTASC-safety properties.
11281
c49130e3
AO
11282 * manual/ctype.texi: Document MTASC-safety properties.
11283
0d23a5c1
MR
112842014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11285
11286 [BZ #16046]
11287 * csu/libc-tls.c (static_map): Remove variable.
11288 (__libc_setup_tls): Use main executable's link map for TLS data.
11289 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11290 casing for LM_ID_BASE and GL(dl_nns).
11291 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11292 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11293 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11294 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11295 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11296 member.
11297 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11298 l_phnum members.
11299
0037bb60
AO
113002014-01-30 Alexandre Oliva <aoliva@redhat.com>
11301
11302 * manual/debug.texi: Document MTASC-safety properties.
11303
409e00bd
L
113042014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11305
11306 [BZ #16510]
11307 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11308 of __x86_64__ when disabling x87 inline functions.
11309
86e60666
AO
113102014-01-29 Alexandre Oliva <aoliva@redhat.com>
11311
11312 * manual/charset.texi: Document MTASC-safety properties.
11313
76167637
AO
11314 * manual/crypt.texi: Document MTASC-safety properties.
11315
e567f2a0
AO
11316 * manual/conf.texi: Document MTASC-safety properties.
11317
b719dafd
AO
11318 * manual/arith.texi: Document MTASC-safety properties.
11319
4a16c662
AO
11320 * manual/argp.texi: Document MTASC-safety properties.
11321
0a57b83e
AO
11322 * manual/macros.texi: Introduce macros to document multi
11323 thread, asynchronous signal and asynchronous cancellation
11324 safety properties.
11325 * manual/intro.texi: Introduce the properties themselves.
11326
feab2397
KK
113272014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11328
11329 * sysdeps/sh/sh4/Makefile: New file.
11330
1c0d11bc
AS
113312014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11332
11333 * math/gen-libm-test.pl ($srcdir): New variable.
11334 ($auto_input): Use it.
11335
af37a8a3
SP
113362014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11337
d7b00f98
SP
11338 [BZ #16506]
11339 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11340 access beyond array bounds when parsing netgroups file.
11341
af37a8a3
SP
11342 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11343 the old buffer before realloc.
11344
0c00f062
AM
113452014-01-27 Allan McRae <allan@archlinux.org>
11346
11347 * po/fr.po: Update French translation from translation project.
11348
7d69a1b0
KK
113492014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11350
11351 * sysdeps/sh/libm-test-ulps: Regenerate.
11352
6e697ff7
DM
113532014-01-24 David S. Miller <davem@davemloft.net>
11354
11355 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11356
9cadb35c
KK
113572014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11358
11359 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11360 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11361
5d41dadf
SP
113622013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11363
11364 [BZ #16474]
11365 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11366 string pointers after reallocation.
11367
0bad441c
KK
113682014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11369
11370 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11371 __SH4A__ instead of __SH_FPU_ANY__.
11372
7007c661
KK
113732014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11374
11375 * sysdeps/sh/fpu_control.h: New file.
11376 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11377 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11378 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11379 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11380 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11381 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11382 * sysdeps/sh/sys/ucontext.h: Remove.
11383 * sysdeps/sh/sys: Remove directory.
11384
0f0c35e4
AK
113852014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11386
11387 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11388 s390/sys/ucontext.h.
11389 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11390 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11391
4959e284
L
113922014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11393
11394 [BZ #15605]
11395 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11396
d98720e0
AZ
113972014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11398
11399 [BZ#16431]
11400 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11401 Adjust the vDSO correctly for internal calls.
11402 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11403
91cbd0bc
AM
114042014-01-20 Allan McRae <allan@archlinux.org>
11405
11406 * po/ca.po: Update Catalan translation from translation project.
11407
7a02cfad
MF
114082014-01-16 Mike Frysinger <vapier@gentoo.org>
11409
11410 * sysdeps/s390/sotruss-lib.c: New file.
11411
736c304a
AZ
114122014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11413
11414 [BZ#16430]
6e077ee5 11415 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11416 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11417 local calls issues by not having a PLT stub required for IFUNC calls.
11418 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11419
94d0cea0
JM
114202014-01-16 Joseph Myers <joseph@codesourcery.com>
11421
11422 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11423 * math/test-fpucw-static.c: Likewise.
11424
980cb518
SP
114252013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11426
11427 [BZ #16453]
11428 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11429
2393fc01
AZ
114302014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11431
11432 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11433 implementation for powerpc.
11434
d359bcc2
OB
114352014-01-15 Ondřej Bílka <neleai@seznam.cz>
11436
11437 [BZ #14782]
11438 * sysdeps/posix/system.c (__libc_system): Do not enable
11439 asynchronous cancellation.
11440
7beb48cb
AK
114412014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11442
11443 [BZ #16427]
11444 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11445 handling only for numbers special also in the IEEE case.
11446
c20d5bf5
AK
114472014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11448
11449 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11450
e83bd4ee
AM
114512014-01-11 Allan McRae <allan@archlinux.org>
11452
76d0ea69
AM
11453 * po/bg.po: Update Bulgarian translation from translation project.
11454
e83bd4ee
AM
11455 * po/de.po: Update German translation from translation project.
11456
bc2ba20a
RM
114572014-01-10 Roland McGrath <roland@hack.frob.com>
11458
11459 * sysdeps/generic/gcc-compat.h: New file.
11460
649ecea2
SP
114612014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11462
11463 * benchtests/asin-inputs: Correct slow inputs.
11464 * benchtests/acos-inputs: Likewise.
11465
1b19c006
AM
114662014-01-10 Allan McRae <allan@archlinux.org>
11467
a46dab08
AM
11468 * po:sv.po: Update Swedish translation from translation project.
11469
421df74a
AM
11470 * po/vi.po: Update Vietnamese translation from translation project.
11471
d61c51a7
AM
11472 * po/eo.po: Update Esperanto translation from translation project.
11473
0339a319
AM
11474 * po/cs.po: Update Czech translation from translation project.
11475
94ad3e99
AM
11476 * po/nl.po: Update Dutch translation from translation project.
11477
e349ca71
AM
11478 * po/pl.po: Update Polish translation from translation project.
11479
ddf930c1
AM
11480 * po/ru.po: Update Russian translation from translation project.
11481
1b19c006
AM
11482 * po/uk.po: Update Ukrainian translation from translation project.
11483
9f236c49
BM
114842014-01-08 Brooks Moses <bmoses@google.com>
11485
11486 * elf/dl-load.c: Fix comment typo.
11487
cd6701cf
CD
114882014-01-08 Carlos O'Donell <carlos@redhat.com>
11489
11490 * po/header.pot: Rename to...
11491 * po/pot.header: ... this.
11492 * po/Makefile: Use pot.header.
11493
66671c84
YK
114942014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11495 Maxim Kuvyrkov <maxim@kugelworks.com>
11496
11497 [BZ #16394]
cd6701cf
CD
11498 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11499 SRC and DEST against LEN.
66671c84 11500
38f34581
AZ
115012014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11502
11503 [BZ #16414]
11504 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11505 implementation.
11506 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11507
115082014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11509
11510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11511
4c327f2a
JM
115122014-01-08 Joseph Myers <joseph@codesourcery.com>
11513
11514 [BZ #16408]
11515 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11516 for large positive arguments.
11517
b821f414
JM
115182014-01-07 Joseph Myers <joseph@codesourcery.com>
11519
1f0f2067
JM
11520 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11521
a5a326f6
JM
11522 * math/auto-libm-test-in: Mark various tests with
11523 xfail-rounding:ldbl-128ibm.
11524 * math/auto-libm-test-out: Regenerated.
11525
b821f414
JM
11526 [BZ #16407]
11527 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11528 Increase overflow threshold.
11529
94c8a4bc
OB
115302014-01-07 Ondřej Bílka <neleai@seznam.cz>
11531
11532 [BZ #14286]
11533 * stdio-common/vfprintf.c: Check for integer overflow.
11534
87ded0c3
AK
115352014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11536
11537 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11538 the first argument and return value of __tls_get_addr_internal.
11539
c5eebdd0
AK
115402014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11541
11542 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11543 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11544
05d138ef
AK
115452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11546
11547 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11548 * sysdeps/s390/rtld-global-offsets.sym: New file.
11549 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11550 GLIBC_2.19 symbol.
11551 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11552 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11553 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11554 ... this.
11555 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11556 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11557 ... this.
11558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11559 Regenerate.
11560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11561 Regenerate.
11562 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11563 halfs of GPRs for high_gprs contexts.
11564 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11565 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11566 field.
11567 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11568 uc_flags field.
11569 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11570 64 bit versions:
11571 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11572 for high GPRs (uc_high_gprs) and for future extensions
11573 (__reserved).
11574 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11575 for future extensions (__reserved).
11576 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11577 64 bit versions:
11578 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11579 SC_HIGHGPRS offset definition.
11580 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11581 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11582
93a45ff1
AK
11583 * Versions.def: Add GLIBC_2.19 for libpthread.
11584 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11585 siglongjmp for libpthread with GLIBC_2.19 symver.
11586 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11587 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11588 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11589 * sysdeps/s390/__longjmp.c: New file.
11590 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11591 * sysdeps/s390/longjmp.c: New file.
11592 * sysdeps/s390/setjmp.S: New file.
11593 * sysdeps/s390/sigjmp.S: New file.
11594 * sysdeps/s390/v1-longjmp.c: New file.
11595 * sysdeps/s390/v1-setjmp.h: New file.
11596 * sysdeps/s390/v1-sigjmp.c: New file.
11597 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11598 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11599 GLIBC_2.19 version.
11600 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11601 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11602 versioned symbols for ____longjmp_chk.
11603 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11604 Likewise.
11605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11606 Regenerate.
11607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11608 Regenerate.
11609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11610 Regenerate.
11611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11612 Regenerate.
11613 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11614 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11615 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11616 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11617 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11618 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11619 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11620 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11621 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11622 * sysdeps/s390/rtld-__longjmp.c: New file.
11623 * sysdeps/s390/rtld-setjmp.S: New file.
11624
eb3fc44b
JM
116252014-01-06 Joseph Myers <joseph@codesourcery.com>
11626
11627 [BZ #16400]
11628 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11629 Return -__logl (x) for small positive arguments without evaluating
11630 a polynomial.
11631
9341dde4
MF
116322014-01-06 Mike Frysinger <vapier@gentoo.org>
11633
11634 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11635 Rename to ...
11636 (__ptrace_peeksiginfo_args): ... this.
11637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11638 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11639 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11640
4cff0293
AM
116412014-01-06 Allan McRae <allan@archlinux.org>
11642
11643 * inet/netinet/in.h: Fix typo in comment.
11644
75595dcf
AJ
116452014-01-05 Andreas Jaeger <aj@suse.de>
11646
11647 * sysdeps/i386/fpu/libm-test-ulps: Update.
11648
79c1e109
AM
116492014-01-05 Allan McRae <allan@archlinux.org>
11650
dd804818
AM
11651 * po/libc.pot: Regenerated.
11652
79c1e109
AM
11653 * malloc/memusagestat.c: Fix gettext call formatting.
11654
0c813d1f
SK
116552014-01-04 Sami Kerola <kerolasa@iki.fi>
11656
11657 * nscd/nscd.c: Improve usage() output.
11658
20f4a8d9
MF
116592014-01-04 Mike Frysinger <vapier@gentoo.org>
11660
11661 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11662 * sysdeps/unix/sysv/linux/configure: Regenerated.
11663 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11664 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11665
22562bb2
JM
116662014-01-03 Joseph Myers <joseph@codesourcery.com>
11667
11668 [BZ #16390]
11669 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11670 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11671
d7ad2d9b
AZ
116722014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11673
11674 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11675 extra tokens at end of #undef directive.
11676 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11677 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11678 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11679
7dd009d8
JM
116802014-01-03 Joseph Myers <joseph@codesourcery.com>
11681
24db925a
JM
11682 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11683
7dd009d8
JM
11684 * math/auto-libm-test-in: Mark various tests with
11685 xfail-rounding:ldbl-128ibm.
11686 * math/auto-libm-test-out: Regenerated.
11687
396e3ecf
JM
116882014-01-02 Joseph Myers <joseph@codesourcery.com>
11689
819e5d50
JM
11690 [BZ #16386]
11691 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11692 numbers with subnormal high part when calculating exponent.
11693
90b6a1e5
JM
11694 [BZ #16385]
11695 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11696 fabs.
11697
396e3ecf
JM
11698 [BZ #16384]
11699 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11700 M_LN2l.
11701 (__ieee754_acoshl): Use __log1pl not __log1p.
11702
6c8dbf00
OB
117032013-01-02 Ondřej Bílka <neleai@seznam.cz>
11704
57f41c40
AS
11705 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11706 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11707 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11708 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11709 (reused_arena, arena_get2): Convert to GNU style.
11710 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11711 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11712 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11713 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11714 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11715 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11716 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11717 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11718 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11719 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11720 * malloc/malloc.h: Likewise.
57f41c40
AS
11721 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11722 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11723 * malloc/mcheck.h: Likewise.
57f41c40
AS
11724 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11725 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11726 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11727 * malloc/morecore.c (__default_morecore): Likewise.
11728 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11729 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11730 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11731 (print_and_abort): Likewise.
6c8dbf00
OB
11732 * malloc/obstack.h: Likewise.
11733 * malloc/set-freeres.c (__libc_freeres): Likewise.
11734 * malloc/tst-mallocstate.c (main): Likewise.
11735 * malloc/tst-mtrace.c (main): Likewise.
11736 * malloc/tst-realloc.c (do_test): Likewise.
11737
d4124212
SP
117382013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11739
9a3c6a6f
SP
11740 [BZ #16366]
11741 * nscd/netgroupcache.c (do_notfound): New function.
11742 (addgetnetgrentX): Use it.
11743
d4124212
SP
11744 [BZ # 16365]
11745 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11746 NSS_STATUS_NOTFOUND.
11747
97b9a009
JM
117482014-01-01 Joseph Myers <joseph@codesourcery.com>
11749
11750 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11752
d4697bc9
AM
117532014-01-01 Allan McRae <allan@archlinux.org>
11754
ddb3687f
AM
11755 * scripts/update-copyrights: Update configure input file suffix.
11756
88726d48
AM
11757 * NEWS: Update copyright year.
11758 * catgets/gencat.c: Likewise.
11759 * csu/version.c: Likewise.
11760 * debug/catchsegv.sh: Likewise.
11761 * debug/pcprofiledump.c: Likewise.
11762 * debug/xtrace.sh: Likewise.
11763 * elf/ldconfig.c: Likewise.
11764 * elf/ldd.bash.in: Likewise.
11765 * elf/pldd.c: Likewise.
11766 * elf/sotruss.ksh: Likewise.
11767 * elf/sprof.c: Likewise.
11768 * iconv/iconv_prog.c: Likewise.
11769 * iconv/iconvconfig.c: Likewise.
11770 * locale/programs/locale.c: Likewise.
11771 * locale/programs/localedef.c: Likewise.
11772 * login/programs/pt_chown.c: Likewise.
11773 * malloc/memusage.sh: Likewise.
11774 * malloc/memusagestat.c: Likewise.
11775 * malloc/mtrace.pl: Likewise.
11776 * manual/libc.texinfo: Likewise.
11777 * nscd/nscd.c: Likewise.
11778 * nss/getent.c: Likewise.
11779 * nss/makedb.c: Likewise.
11780 * posix/getconf.c: Likewise.
11781 * scripts/test-installation.pl: Likewise.
11782
d4697bc9
AM
11783 * All files with FSF copyright notices: Update copyright dates
11784 using scripts/update-copyrights.
11785 * intl/plural.c: Regenerated.
11786 * locale/programs/charmap-kw.h: Likewise.
11787 * locale/programs/locfile-kw.h: Likewise.
11788
c8590f9d
MF
117892013-12-31 Mike Frysinger <vapier@gentoo.org>
11790
11791 * sysdeps/unix/sysv/linux/configure: Regenerated.
11792 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11793 the linux/fanotify.h header.
11794 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11795 HAVE_LINUX_FANOTIFY_H is defined.
11796
b19221b9
SP
117972013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11798
dd1d85e5
SP
11799 * benchtests/cos-inputs: New inputs.
11800 * benchtests/sin-inputs: Likewise.
11801
1acbb90f
SP
11802 * benchtests/atan-inputs: New inputs. Fix name of multiple
11803 precision fallback inputs.
11804
4c012ed3
SP
11805 * benchtests/atanh-inputs: New inputs.
11806 * benchtests/tanh-inputs: Likewise.
11807
eff98324
SP
11808 * benchtests/acosh-inputs: New inputs.
11809 * benchtests/asinh-inputs: Likewise.
11810
ce641152
SP
11811 * benchtests/cosh-inputs: New inputs.
11812 * benchtests/sinh-inputs: Likewise.
11813
b19221b9
SP
11814 * benchtests/acos-inputs: Add more inputs.
11815 * benchtests/asin-inputs: Likewise.
11816
030a4976 118172013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11818
030a4976 11819 [BZ #16375]
9dcc8f11
VS
11820 * manual/arith.texi: Fix spelling.
11821 * manual/charset.texi: Likewise.
11822 * manual/errno.texi: Likewise.
11823 * manual/filesys.texi: Likewise.
11824 * manual/lang.texi: Likewise.
11825 * manual/llio.texi: Likewise.
11826 * manual/locale.texi: Likewise.
11827 * manual/message.texi: Likewise.
11828 * manual/resource.texi: Likewise.
11829 * manual/search.texi: Likewise.
11830 * manual/setjmp.texi: Likewise.
11831 * manual/stdio.texi: Likewise.
11832 * manual/string.texi: Likewise.
11833 * manual/sysinfo.texi: Likewise.
11834 * manual/time.texi: Likewise.
11835
11520a57
CD
118362013-12-27 Carlos O'Donell <carlos@redhat.com>
11837
11838 * po/sl.po: New file.
11839
471103ae
MF
118402013-12-27 Mike Frysinger <vapier@gentoo.org>
11841
11842 * .gitignore: Add core/.gdbinit/.gdb_history.
11843
6c9642ed
AM
118442013-12-27 Allan McRae <allan@archlinux.org>
11845
11846 [BZ #16369]
11847 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11848 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11849
3f637079
BM
118502013-12-24 Brooks Moses <bmoses@google.com>
11851
11852 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11853 all compilers that claim C++98 compliance, not just GCC.
11854 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11855 Likewise.
11856
abc26e99
MK
118572013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11858
11859 * NEWS: Restore accidentally deleted bug-fix entries.
11860
362b47fe
MK
118612013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11862 Ondřej Bílka <neleai@seznam.cz>
11863
11864 [BZ #15073]
11865 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11866 have_lock.
362b47fe 11867
b9bcbbcb
OB
118682013-12-23 Ondřej Bílka <neleai@seznam.cz>
11869
11870 [BZ #12986]
11871 * manual/stdio.texi (String Input Conversions): Clarify that character
11872 classes are not supported.
11873
fb55fcd2
AZ
118742013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11875
11876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11877
ef7344f0
JM
118782013-12-22 Joseph Myers <joseph@codesourcery.com>
11879
4f40e4b3
JM
11880 [BZ #16337]
11881 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11882 Calculate results for small negative arguments directly rather
11883 than using reflection formula with special underflow handling.
11884
ef7344f0
JM
11885 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11886 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11887 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11888 (fchflags): Likewise.
11889 (revoke): Likewise.
11890 (setlogin): Likewise.
11891 (sigaltstack): Likewise.
11892 (wait4): Likewise.
11893 (sigblock): Remove.
11894 (sigsetmask): Likewise.
11895 (wait3): Likewise.
11896 (waitpid): Likewise.
11897 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11898 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11899 file.
11900 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11901 * sysdeps/unix/bsd/Makefile: ... here.
11902 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11903 * sysdeps/unix/bsd/Versions: ... here.
11904 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11905 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11906 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11907 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11908 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11909 * sysdeps/unix/bsd/sigblock.c: ... here.
11910 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11911 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11912 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11913 * sysdeps/unix/bsd/sigvec.c: ... here.
11914 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11915 * sysdeps/unix/bsd/tcdrain.c: ... here.
11916 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11917 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11918 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11919 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11920 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11921 * sysdeps/unix/bsd/wait.c: ... here.
11922 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11923 * sysdeps/unix/bsd/wait3.c: ... here.
11924 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11925 * sysdeps/unix/bsd/waitpid.c: ... here.
11926
5b0626b9
JM
119272013-12-21 Joseph Myers <joseph@codesourcery.com>
11928
11929 [BZ #16356]
11930 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11931 round-to-nearest for [!USE_AS_EXPM1L].
11932 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11933 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11934 more tests of exp and exp10. Expect some exp10 tests to miss
11935 exceptions or fail in directed rounding modes.
11936 * math/auto-libm-test-out: Regenerated.
11937 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11938 (exp10_test_tonearest): New function.
11939 (exp10_towardzero_test_data): New array.
11940 (exp10_test_towardzero): New function.
11941 (exp10_downward_test_data): New array.
11942 (exp10_test_downward): New function.
11943 (exp10_upward_test_data): New array.
11944 (exp10_test_upward): New function.
11945 (main): Call the new functions.
11946 * sysdeps/i386/fpu/libm-test-ulps: Update.
11947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11948
7fda5682
JM
119492013-12-20 Joseph Myers <joseph@codesourcery.com>
11950
31e3a405
JM
11951 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11952 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11953 * math/auto-libm-test-out: Regenerated.
11954 * math/libm-test.inc (acosh_test_data): Add more tests.
11955 (atanh_test_data): Likewise.
11956 (ceil_test_data): Likewise.
11957 (copysign_test_data): Likewise.
11958 * sysdeps/i386/fpu/libm-test-ulps: Update.
11959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11960
85bff96a
JM
11961 * timezone/checktab.awk: Update from tzcode 2013i.
11962 * timezone/private.h: Likewise.
11963 * timezone/scheck.c: Likewise.
11964 * timezone/tzfile.h: Likewise.
11965 * timezone/tzselect.ksh: Likewise.
11966 * timezone/zdump.c: Likewise.
11967 * timezone/zic.c: Likewise.
11968
b7867a3b
JM
11969 * math/auto-libm-test-in: Add tests of cpow.
11970 * math/auto-libm-test-out: Regenerated.
11971 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11972 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11973 mpc_cc_c.
11974 (func_calc_desc): Add mpc_cc_c union field.
11975 (test_functions): Add cpow.
11976 (special_fill_2pi): New function.
11977 (special_real_inputs): Add 2pi.
11978 (calc_generic_results): Handle mpc_cc_c.
11979 * sysdeps/i386/fpu/libm-test-ulps: Update.
11980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11981
7fda5682
JM
11982 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11983 csqrt, ctan and ctanh.
11984 * math/auto-libm-test-out: Regenerated.
11985 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11986 (TEST_COND_x86): Likewise.
11987 (ccos_test_data): Use AUTO_TESTS_c_c.
11988 (ccosh_test_data): Likewise.
11989 (cexp_test_data): Likewise.
11990 (clog_test_data): Likewise.
11991 (csqrt_test_data): Likewise.
11992 (ctan_test_data): Likewise.
11993 (ctan_tonearest_test_data): Likewise.
11994 (ctan_towardzero_test_data): Likewise.
11995 (ctan_downward_test_data): Likewise.
11996 (ctan_upward_test_data): Likewise.
11997 (ctanh_test_data): Likewise.
11998 (ctanh_tonearest_test_data): Likewise.
11999 (ctanh_towardzero_test_data): Likewise.
12000 (ctanh_downward_test_data): Likewise.
12001 (ctanh_upward_test_data): Likewise.
12002 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12003 mpc_c_c.
12004 (func_calc_desc): Add mpc_c_c union field.
12005 (FUNC_mpc_c_c): New macro.
12006 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12007 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12008 ctanh.
12009 (special_fill_min_subnorm_p120): New function.
12010 (special_real_inputs): Add min_subnorm_p120.
12011 (calc_generic_results): Handle mpc_c_c.
12012 * sysdeps/i386/fpu/libm-test-ulps: Update.
12013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12014
5ff8d60e
SP
120152013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12016
57f41c40
AS
12017 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12018 (do_sin_slow): New functions.
12019 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12020 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12021
84ba214c
SP
12022 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12023 Use M to change sign of result instead of X. Assume X is
12024 positive.
12025 (csloww1): Likewise.
12026 (__sin): Adjust.
12027 (__cos): Adjust.
12028
975195e4
SP
12029 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12030 arguments A and DA.
12031 (__sin): Adjust.
12032 (__cos): Likewise.
12033
5ff8d60e
SP
12034 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12035 (__cos): Likewise.
12036 (sloww1): Don't adjust sign of DX.
12037 (csloww1): Likewise.
12038 (sloww2): Use X directly and don't adjust sign of DX.
12039 (csloww2): Likewise.
12040
eb983568
JM
120412013-12-19 Joseph Myers <joseph@codesourcery.com>
12042
64a17f1a
JM
12043 * math/auto-libm-test-in: Add tests of cabs and carg.
12044 * math/auto-libm-test-out: Regenerated.
12045 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12046 (carg_test_data): Likewise.
12047 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12048 mpc_c_f.
12049 (func_calc_desc): Add mpc_c_f union field.
12050 (test_functions): Add cabs and carg.
12051 (calc_generic_results): Handle mpc_c_f.
12052
eb983568
JM
12053 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12054 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12055 as a macro and a compat symbol.
12056 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12057 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12058 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12059 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12060 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12061 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12062 not use .hidden.
12063 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12064 Likewise.
12065 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12066 Likewise.
12067 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12068 Likewise.
12069 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12070 Likewise.
12071 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12072 Likewise.
12073 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12074 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12075 from GLIBC_2.3.2.
12076
6eeb678a
AZ
120772013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12078
12079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12080
6f6fc482
JM
120812013-12-19 Joseph Myers <joseph@codesourcery.com>
12082
21fea2e2
JM
12083 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12084 trailing whitespace removed.
12085 * scripts/config.guess: Update to version 2013-11-29.
12086 * scripts/config.sub: Update to version 2013-10-01.
12087
6f6fc482
JM
12088 * math/auto-libm-test-in: Add tests of sincos.
12089 * math/auto-libm-test-out: Regenerated.
12090 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12091 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12092 mpfr_f_11.
12093 (func_calc_desc): Add mpfr_f_11 union field.
12094 (test_functions): Add sincos.
12095 (calc_generic_results): Handle mpfr_f_11.
12096 * sysdeps/i386/fpu/libm-test-ulps: Update.
12097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12098
83f5c32d
AS
120992013-12-19 Andreas Schwab <schwab@suse.de>
12100
12101 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12102 CALL_MCOUNT.
12103 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12104 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12105 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12106
c688b419
JM
121072013-12-19 Joseph Myers <joseph@codesourcery.com>
12108
335ee092
JM
12109 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12110 * sysdeps/i386/fpu/libm-test-ulps: Update.
12111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12112
f88acd39
JM
12113 [BZ #16293]
12114 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12115 round-to-nearest mode when using frndint.
12116 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12117 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12118 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12119 Likewise.
12120 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12121 sinh test to fail.
12122 * math/auto-libm-test-out: Regenerated.
12123 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12124 (TEST_COND_x86): Likewise.
12125 (expm1_tonearest_test_data): New array.
12126 (expm1_test_tonearest): New function.
12127 (expm1_towardzero_test_data): New array.
12128 (expm1_test_towardzero): New function.
12129 (expm1_downward_test_data): New array.
12130 (expm1_test_downward): New function.
12131 (expm1_upward_test_data): New array.
12132 (expm1_test_upward): New function.
12133 (main): Run the new test functions.
12134 * sysdeps/i386/fpu/libm-test-ulps: Update.
12135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12136
c688b419
JM
12137 * include/features.h: Update comment documenting feature test
12138 macros. Mention _DEFAULT_SOURCE in comment.
12139 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12140 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12141 _BSD_SOURCE and _SVID_SOURCE.
12142 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12143 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12144 !_SVID_SOURCE]: Likewise.
12145 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12146 (__USE_POSIX_IMPLICITLY): Define.
12147 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12148 (_POSIX_SOURCE): Undefine and redefine.
12149 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12150 (_POSIX_C_SOURCE): Likewise.
12151 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12152 (Feature Test Macros): Update documentation of default features.
12153
9f6e964c
RS
121542013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12155
12156 * benchtests/Makefile: Add bench-strtok.
12157 * benchtests/bench-strtok.c: New file: strtok benchtest.
12158
ee0a148a
AM
121592013-12-19 Allan McRae <allan@archlinux.org>
12160
12161 * manual/install.texi: Suppress menu for plain text output.
12162 * INSTALL: Regenerated.
12163
b9ab448f
BM
121642013-12-18 Brooks Moses <bmoses@google.com>
12165
12166 [BZ #15846]
12167 * misc/getauxval.c: Include errno.h.
12168 (__getauxval): Set errno to ENOENT if the requested type is not
12169 found.
12170 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12171 don't declare with __attribute_const__.
12172 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12173 * manual/startup.texi: Document that getauxval sets errno.
12174
23776487
JM
121752013-12-18 Joseph Myers <joseph@codesourcery.com>
12176
f889953b
JM
12177 * math/auto-libm-test-in: Add tests of jn and yn.
12178 * math/auto-libm-test-out: Regenerated.
12179 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12180 (yn_test_data): Likewise.
12181 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12182 mpfr_if_f.
12183 (func_calc_desc): Add mpfr_if_f union field.
12184 (FUNC_mpfr_if_f): New macro.
12185 (test_functions): Add jn and yn.
12186 (calc_generic_results): Assert type of second input for
12187 mpfr_ff_f. Handle mpfr_if_f.
12188 (output_for_one_input_case): Disable all checking for arguments
12189 fitting floating-point types in case of an integer argument.
12190 * sysdeps/i386/fpu/libm-test-ulps: Update.
12191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12192
23776487
JM
12193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12194 Don't expect fegetround reference in libm.so.
12195
cb756c6d
MS
121962013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12197
12198 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12199 $(config-cflags-nofma).
12200
2dec468f
JM
122012013-12-18 Joseph Myers <joseph@codesourcery.com>
12202
5953eb3a
JM
12203 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12204 * math/auto-libm-test-out: Regenerated.
12205
2dec468f
JM
12206 [BZ #16338]
12207 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12208 to determine exponent and adjust argument to have exponent of -1.
12209 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12210 log2.
12211 * math/auto-libm-test-out: Regenerated.
12212 * sysdeps/i386/fpu/libm-test-ulps: Update.
12213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12214
4d84e6ad
OB
122152013-12-18 Ondřej Bílka <neleai@seznam.cz>
12216
12217 * manual/probes.texi: Remove cases when per-thread arenas are
12218 disabled.
12219
1818483b
AS
122202013-12-18 Andreas Schwab <schwab@suse.de>
12221
12222 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12223 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12224 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12225 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12226 * sysdeps/i386/i686/multiarch/Makefile: Update.
12227 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12228
25de95bf
JM
122292013-12-17 Joseph Myers <joseph@codesourcery.com>
12230
12231 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12232 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12233
674762d9
PE
122342013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12235
ed27ed83 12236 [BZ #15968]
0748546f
PE
12237 Support TZ transition times < 00:00:00.
12238 This is needed for version-3 tz-format files; it supports time
12239 stamps past 2037 for America/Godthab (the only entry in the tz
12240 database for which this change is relevant).
12241 * manual/time.texi (TZ Variable): Document transition times
12242 from -167:59:59 through -00:00:01.
12243 * time/tzset.c (tz_rule): Time of day is now signed.
12244 (__tzset_parse_tz): Parse negative time of day.
12245
4480e934
PE
12246 Document TZ transition times >= 25:00:00.
12247 * manual/time.texi (TZ Variable): Document transition times from
12248 25:00:00 through 167:59:59. These are already supported, and this
12249 support will help with version-3 tz-format files.
12250
69947401
PE
12251 * manual/time.texi (TZ Variable): Modernize North America example
12252 to reflect current (i.e., 2007-and-later) daylight saving rules.
12253
674762d9
PE
12254 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12255
7011c262
JM
122562013-12-17 Joseph Myers <joseph@codesourcery.com>
12257
2fc6557e
JM
12258 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12259 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12261 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12262 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12263 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12264 * sysdeps/unix/bsd/clock.c: Likewise.
12265 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12266 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12267 * sysdeps/unix/bsd/init-posix.c: Likewise.
12268 * sysdeps/unix/bsd/poll.c: Likewise.
12269 * sysdeps/unix/bsd/ptsname.c: Likewise.
12270 * sysdeps/unix/bsd/seekdir.c: Likewise.
12271 * sysdeps/unix/bsd/setegid.c: Likewise.
12272 * sysdeps/unix/bsd/seteuid.c: Likewise.
12273 * sysdeps/unix/bsd/setgid.c: Likewise.
12274 * sysdeps/unix/bsd/setrgid.c: Likewise.
12275 * sysdeps/unix/bsd/setruid.c: Likewise.
12276 * sysdeps/unix/bsd/setsid.c: Likewise.
12277 * sysdeps/unix/bsd/setuid.c: Likewise.
12278 * sysdeps/unix/bsd/sigaction.c: Likewise.
12279 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12280 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12281 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12282 * sysdeps/unix/bsd/telldir.c: Likewise.
12283 * sysdeps/unix/bsd/times.c: Likewise.
12284 * sysdeps/unix/bsd/usleep.c: Likewise.
12285
029c7b25
JM
12286 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12287 ($(objpfx)libbsd-compat.a): Remove rule.
12288
7011c262
JM
12289 * include/features.h (__FAVOR_BSD): Do not define.
12290 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12291 features conflicting with POSIX.
12292 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12293 (_BSD_SOURCE): Remove description of not being a subset of other
12294 feature test macros.
12295 * manual/job.texi (getpgrp): Do not document BSD version.
12296 (getpgid): Do not document by reference to BSD getpgrp.
12297 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12298 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12299 * signal/signal.h [__FAVOR_BSD]: Likewise.
12300 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12301 instead of making contents conditional on [__FAVOR_BSD].
12302 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12303
affb6f78
AZ
123042013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12305
12306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12307
c88769dd
JM
123082013-12-17 Joseph Myers <joseph@codesourcery.com>
12309
6432a540
JM
12310 [BZ #16314]
12311 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12312 values below 2**-450, not 2**-500.
12313 * math/auto-libm-test-in: Don't allow spurious underflow from
12314 hypot.
12315 * math/auto-libm-test-out: Regenerated.
12316
c88769dd
JM
12317 [BZ #16316]
12318 [BZ #16330]
12319 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12320 values of ha and hb and sort them after adjusting subnormal
12321 arguments.
12322 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12323 Likewise.
12324 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12325 values of ea and eb and sort them after adjusting subnormal
12326 arguments.
12327 * math/auto-libm-test-in: Do not expect some hypot tests of
12328 subnormals to fail. Add more hypot tests.
12329 * math/auto-libm-test-out: Regenerated.
12330
29618f6b
KK
123312013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12332
12333 [BZ #13304]
12334 * sysdeps/sh/s_fma.c: New file.
12335 * sysdeps/sh/s_fmaf.c: New file.
12336 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12337 version.
12338 * sysdeps/sh/Implies: Add sh/soft-fp.
12339
eacfdfbf
RM
123402013-12-16 Roland McGrath <roland@hack.frob.com>
12341
12342 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12343 level of indirection to members `objname', `errstring', `malloced'.
12344 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12345 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12346 it as the __longjmp argument (just pass 1 instead).
12347 (_dl_catch_error): Initialize C with argument pointers and address of
12348 volatile local ERRCODE rather than copying values out of C at return.
12349
ff362e5b
JM
123502013-12-16 Joseph Myers <joseph@codesourcery.com>
12351
12352 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12353 * math/auto-libm-test-out: Regenerated.
12354 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12355 (hypot_test_data): Likewise.
12356 (pow_test_data): Likewise.
12357 (pow_tonearest_test_data): Likewise.
12358 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12359 mpfr_ff_f.
12360 (func_calc_desc): Add mpfr_ff_f union field.
12361 (FUNC_mpfr_ff_f): New macro.
12362 (test_functions): Add atan2, hypot and pow.
12363 (special_fill_min): New function.
12364 (special_fill_minus_min): Likewise.
12365 (special_fill_min_subnorm): Likewise.
12366 (special_fill_minus_min_subnorm): Likewise.
12367 (special_real_inputs): Add min, -min, min_subnorm and
12368 -min_subnorm.
12369 (calc_generic_results): Handle mpfr_ff_f.
12370 * sysdeps/i386/fpu/libm-test-ulps: Update.
12371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12372
5764c27f
WN
123732013-12-16 Will Newton <will.newton@linaro.org>
12374
12375 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12376 (Aligned Memory Blocks): Add documentation for aligned_alloc
12377 and suggest it as an alternative to posix_memalign.
12378 (Hooks for Malloc): Document __memalign_hook is also called
12379 for aligned_alloc. (Summary of Malloc): Add summary for
12380 aligned alloc. Document __memalign_hook is also called
12381 for aligned_alloc.
12382
0a096e44
WN
123832013-12-16 Will Newton <will.newton@linaro.org>
12384
12385 * manual/memory.texi (Malloc Examples): Clarify default
12386 alignment documentation. Suggest posix_memalign rather
12387 than memalign or valloc.
12388 (Aligned Memory Blocks): Remove suggestion to use memalign
12389 or valloc. Remove obsolete comment about BSD.
12390 Document memalign errno values and mark the function obsolete.
12391 Document posix_memalign returned error codes. Mark valloc
12392 as obsolete. (Hooks for Malloc): __memalign_hook is also
12393 called for posix_memalign and valloc.
12394 (Summary of Malloc): Add posix_memalign to function summary.
12395 __memalign_hook is also called for posix_memalign and valloc.
12396
8d561986
SP
123972013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12398
12399 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12400 TAYLOR_SIN.
12401 (__sin): Adjust.
12402 (__cos): Likewise.
12403 (sloww): Use mynumber union. Expand ternary operator into
12404 if-else statements.
12405 (cslow): use mynumber union.
12406
73616a74
AM
124072013-12-16 Allan McRae <allan@archlinux.org>
12408
9e8ac24b
AM
12409 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12410 * configure: Regenerated.
12411
6f8e37eb
AM
12412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12413
8894bad3
AM
12414 [BZ #14120]
12415 * configure.ac: Added --enable-maintainer-mode. Check for
12416 autoconf when enabled.
12417 * configure: Regenerated.
12418
73616a74
AM
12419 * nscd/nscd.service: New file.
12420 * nscd/nscd.tmpfiles: New file.
12421
584b18eb
OB
124222013-12-14 Ondřej Bílka <neleai@seznam.cz>
12423
12424 [BZ #12100]
12425 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12426 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12427 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12428 (strstr): Add __strstr_sse2_unaligned ifunc.
12429 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12430 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12431 (strcasestr): Remove __strcasestr_sse42 ifunc.
12432 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12435
8a5c7897
KK
124362013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12437
12438 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12439 * sysdeps/sh/bits/fenv.h: ... here.
12440 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12441
fd712ef3
AZ
124422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12443
12444 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12445
42fcb46c
AZ
12446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12447 hypotf multiarch implementations.
12448 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12449 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12450 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12451 multiarch hypot for PPC64.
12452 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12453 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12454 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12455 multiarch hypotf for PPC64.
12456
83efded4
AZ
12457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12458 modff multiarch implementations.
12459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12462 multiarch modf for PPC64.
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12466 multiarch modff for PPC64.
12467
43e246d2
AZ
12468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12469 and logl multiarch implementations.
12470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12473 multiarch logb for PPC64.
12474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12477 multiarch logb for PPC64.
12478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12481 multiarch logb for PPC64.
12482
8fdad123
AZ
12483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12484 isinff multiarch implementation.
12485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12486 file.
12487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12489 multiarch isinf for PPC64.
12490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12491 file.
12492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12493 multiarch isinff for PPC64.
12494
1481d706
AZ
12495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12496 finitef multiarch implementation.
12497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12498 file.
12499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12501 multiarch finite for PPC64.
12502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12503 file.
12504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12505 multiarch finitef for PPC64.
12506
5ccd5fc8
AZ
12507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12508 lrint multiarch implementation.
12509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12510 file.
12511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12513 multiarch llrint for PPC64.
12514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12515 multiarch lrint for PPC64.
12516
2568f3fa
AZ
12517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12518 copysignf multiarch implementation.
12519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12520 file.
12521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12522 file.
12523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12524 multiarch copysign for PPC64.
12525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12526 multiarch copysignf for PPC64.
12527
1cb341fd
AZ
12528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12529 multiarch implementation.
12530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12531 file.
12532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12533 file.
12534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12535 file.
12536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12537 file.
12538 multiarch llround for PPC64.
12539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12540 multiarch trunc for PPC64.
12541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12542 multiarch truncf for PPC64.
12543
59a3e194
AZ
12544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12545 multiarch implementation.
12546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12547 file.
12548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12549 file.
12550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12551 file.
12552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12553 file.
12554 multiarch llround for PPC64.
12555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12556 multiarch round for PPC64.
12557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12558 multiarch roundf for PPC64.
12559
357fd3b4
AZ
12560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12561 multiarch implementation.
12562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12563 file.
12564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12565 file.
12566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12567 file.
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12569 file.
12570 multiarch llround for PPC64.
12571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12572 multiarch floor for PPC64.
12573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12574 multiarch floorf for PPC64.
12575
96770f12
AZ
12576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12577 multiarch implementation.
12578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12579 file.
12580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12581 file.
12582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12583 file.
12584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12585 file.
12586 multiarch llround for PPC64.
12587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12588 multiarch ceil for PPC64.
12589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12590 multiarch ceilf for PPC64.
12591
c3627f6e
AZ
12592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12593 multiarch implementation.
12594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12595 file.
12596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12597 file.
12598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12599 file.
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12601 multiarch llround for PPC64.
12602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12603 multiarch lround for PPC64.
12604
b2284ad7
AZ
12605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12606 multiarch implementation.
12607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12610 file.
12611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12614 multiarch isnan for PPC64.
12615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12616 multiarch isnanf for PPC64.
12617
69bbc63d
AZ
12618 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12619 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12620 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12621 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12622 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12624
c24517c9
AZ
12625 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12626 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12629
a52374e8
AZ
12630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12631 multiarch implementations.
12632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12633 (__libc_ifunc_impl_list): Likewise.
12634 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12635 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12636 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12637 multiarch stpcpy for PPC64.
12638
7f5ec113
AZ
12639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12640 multiarch implementations.
12641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12642 (__libc_ifunc_impl_list): Likewise.
12643 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12644 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12645 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12646 multiarch strcpy for PPC64.
12647
e28bcd42
AZ
12648 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12649 redefine function name.
12650 (_wordcopy_fwd_dest_aligned): Likewise.
12651 (_wordcopy_bwd_aligned): Likewise.
12652 (_wordcopy_bwd_dest_aligned): Likewise.
12653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12654 multiarch implementations.
12655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12656 (__libc_ifunc_impl_list): Likewise.
12657 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12658 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12659 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12660 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12661 multiarch wcscpy for PPC64.
12662
92cacfce
AZ
12663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12664 multiarch implementations.
12665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12666 (__libc_ifunc_impl_list): Likewise.
12667 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12668 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12669 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12670 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12671 multiarch wcscpy for PPC64.
12672
7b714620
AZ
12673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12674 multiarch implementations.
12675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12676 (__libc_ifunc_impl_list): Likewise.
12677 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12678 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12679 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12680 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12681 multiarch wcsrchr for PPC64.
12682
16fd2ae3
AZ
12683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12684 multiarch implementations.
12685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12686 (__libc_ifunc_impl_list): Likewise.
12687 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12688 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12689 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12690 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12691 multiarch wcschr for PPC64.
12692
9ee2969b
AZ
12693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12694 multiarch implementations.
12695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12696 (__libc_ifunc_impl_list): Likewise.
12697 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12698 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12699 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12700 multiarch strchrnul for PPC64.
12701
372dc060
AZ
12702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12703 implementations.
12704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12705 (__libc_ifunc_impl_list): Likewise.
12706 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12707 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12708 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12709 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12710 strchr for PPC64.
12711
24c2c3b9
AZ
12712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12713 implementations.
12714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12715 (__libc_ifunc_impl_list): Likewise.
12716 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12717 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12718 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12719 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12720 strncmp for PPC64.
12721
1c92d9a0
AZ
12722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12723 multiarch implementations.
12724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12725 (__libc_ifunc_impl_list): Likewise.
12726 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12727 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12728 strncasecmp for PPC64.
12729 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12730 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12731 multiarch strncasecmp_l for PPC64.
12732
17de3ee3
AZ
12733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12734 multiarch implementations.
12735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12736 (__libc_ifunc_impl_list): Likewise.
12737 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12738 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12739 multiarch strcasecmp for PPC64.
12740 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12741 file.
12742 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12743 multiarch strcasecmp_l for PPC64.
12744
62982bf9
AZ
12745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12746 implementations.
12747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12748 (__libc_ifunc_impl_list): Likewise.
12749 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12750 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12751 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12752 strnlen for PPC64.
12753
a65f4904
AZ
12754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12755 implementations.
12756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12757 (__libc_ifunc_impl_list): Likewise.
12758 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12759 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12760 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12761 strlen for PPC64.
12762
1fd005ad
AZ
12763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12764 implementations.
12765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12766 (__libc_ifunc_impl_list): Likewise.
12767 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12768 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12769 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12770 rawmemrchr for PPC64.
12771
cd05ba91
AZ
12772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12773 implementation.
12774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12775 (__libc_ifunc_impl_list): Likewise.
12776 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12777 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12778 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12779 memrchr for PPC64.
12780
870f8676
AZ
12781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12782 implementation.
12783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12784 (__libc_ifunc_impl_list): Likewise.
12785 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12786 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12787 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12788 memchr for PPC64.
12789
f00be62b
AZ
12790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12791 implementation.
12792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12793 (__libc_ifunc_impl_list): Likewise.
12794 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12795 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12796 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12797 mempcpy for PPC64.
12798
8a29a3d0
AZ
12799 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12800 avoid cretion of __bzero symbol.
12801 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12802 Likewise.
12803 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12804 Likewise.
12805 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12806 Likewise.
12807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12808 multiarch implementations.
12809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12810 (__libc_ifunc_impl_list): Likewise.
12811 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12812 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12813 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12814 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12815 bzero for PPC32.
12816 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12817 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12818 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12819 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12820 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12821 memset for PPC64.
12822 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12823
07253fcf
AZ
12824 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12826 implementations.
12827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12828 (__libc_ifunc_impl_list): Likewise.
12829 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12830 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12831 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12832 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12833 memcmp for PPC64.
12834
b5beafbc
AZ
12835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12836 multiarch for POWER/PPC64.
12837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12838 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12839 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12840 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12841 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12842 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12843 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12844 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12845 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12846 memcpy for PPC64.
12847
5e6a4d4b
AZ
12848 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12849 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12850 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12851 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12852 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12853 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12854 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12855 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12856 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12857 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12858 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12859 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12860 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12861 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12862 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12870
ddfab6dc
KK
128712013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12872
12873 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12874
19b5525e
SP
128752013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12876
12877 * benchtests/Makefile (bench): Add exp2 and log2.
12878 (LDLIBS-bench-exp2): Add -lm.
12879 (LDLIBS-bench-log2): Likewise.
12880 * benchtests/exp2-inputs: New inputs file.
12881 * benchtests/log2-inputs: New inputs file.
12882 * benchtests/log-inputs: Add new inputs.
12883 * benchtests/tan-inputs: Likewise.
12884
196f7f5d
SP
128852013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12886
7a74607f
SP
12887 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12888 definition...
57f41c40
AS
12889 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12890 (csloww2): ... from here.
7a74607f 12891
196f7f5d
SP
12892 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12893 instead of structures.
12894 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12895 (POLYNOMIAL): Likewise.
12896 (TAYLOR_SLOW): Likewise.
12897 (__sin): Likewise.
12898 (__cos): Likewise.
12899 (slow1): Likewise.
12900 (slow2): Likewise.
12901 (sloww): Likewise.
12902 (sloww1); Likewise.
12903 (sloww2): Likewise.
12904 (bsloww1): Likewise.
12905 (bsloww2): Likewise.
12906 (cslow2): Likewise.
12907 (csloww): Likewise.
12908 (csloww1): Likewise.
12909 (csloww2): Likewise.
12910
0dfa665c
OB
129112013-12-10 Ondřej Bílka <neleai@seznam.cz>
12912
12913 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12914 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12915 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12916 * malloc/hooks.c (realloc_check): Likewise.
12917
5782a80f
OB
12918 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12919 * malloc/arena.c: Remove PER_THREAD conditional.
12920 [!PER_THREAD]: Remove code.
12921 (ptmalloc_unlock_all2): Likewise.
12922 (ptmalloc_init): Likewise.
12923 (_int_new_arena): Likewise.
12924 (arena_get2): Likewise.
12925 * malloc/hooks.c (__malloc_get_state): Likewise.
12926 (__malloc_set_state): Likewise.
12927 * malloc/malloc.c: Likewise.
12928 (struct malloc_state): Likewise.
12929 (struct malloc_par): Likewise.
12930 (__libc_realloc): Likewise.
12931 (__libc_mallopt): Likewise.
12932
aeb95445
AZ
129332013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12934
12935 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12936
e8349efd
OB
129372013-12-09 Ondřej Bílka <neleai@seznam.cz>
12938
12939 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12940 macro to a function. Check for zero perturb_byte.
12941 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12942
f3eeb3fc 12943 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12944 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12945 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12946 force_reg by atomic_forced_read.
12947 * malloc/arena.c (ptmalloc_init): Likewise.
12948 * malloc/hooks.c (top_check): Likewise.
12949
be2f9009
AZ
129502013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12951
12952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12953
e7b914bd
MT
129542013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12955
12956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12957
9f0be4f8
JM
129582013-12-08 Joseph Myers <joseph@codesourcery.com>
12959
12960 * math/auto-libm-test-in: Add tests of lgamma.
12961 * math/auto-libm-test-out: Regenerated.
12962 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12963 (M_LOG_2_SQRT_PIl): Likewise.
12964 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12965 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12966 mpfr_f_f1.
12967 (func_calc_desc): Add mpfr_f_f1 union field.
12968 (ARGS1): New macro.
12969 (ARGS2): Likewise.
12970 (ARGS3): Likewise.
12971 (ARGS4): Likewise.
12972 (RET1): Likewise.
12973 (RET2): Likewise.
12974 (CALC): Likewise.
12975 (FUNC): Likewise.
12976 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12977 (test_functions): Add lgamma.
12978 (calc_generic_results): Handle mpfr_f_f1.
12979 * sysdeps/i386/fpu/libm-test-ulps: Update.
12980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12981
24eeafdb
AZ
129822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12983
12984 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12985 __mpn_add_n for PowerPC64/POWER7.
12986 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12987 __mpn_sub_n for PowerPC64/POWER7.
12988
4a2c0fd4
AZ
12989 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12990 __mpn_addmul_1 for PowerPC64.
12991 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12992 __mpn_submul_1 for PowerPC64.
12993 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12994 for PowerPC64.
12995 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12996 for PowerPC64.
12997
4b5b548c
FS
129982013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12999
13000 [BZ #15089]
13001 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13002
0a3ac0aa
AZ
130032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13004
13005 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13006
ccdc8438
AZ
13007 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13008 add multiarch folders.
13009 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13010 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13011 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13012 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13013 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13014 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13015 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13016 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13017 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13018 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13019 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13026
2e973d99
AZ
13027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13028 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13030 New file.
13031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13032 New file.
13033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13034 multiarch __ieee754_hypot for PowerPC32.
13035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13036 New file.
13037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13038 New file.
13039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13040 multiarch __ieee754_hypotf for PowerPC32.
13041
2d9470b2
AZ
13042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13043 long_double_symbol only if __logbl is defined.
13044 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13045 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13046 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13047 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13049 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13050 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13051 path for implementation.
13052 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13053 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13055 logb, and logbl multiarch implementations for PowerPC32.
13056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13057 file.
13058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13059 file.
13060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13061 multiarch logb for PowerPC32.
13062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13063 file.
13064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13065 file.
13066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13067 multiarch logbf for PowerPC32.
13068 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13070 file.
13071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13072 multiarch logbl implementation for PowerPC32.
13073
5212ffce
AZ
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13075 and modff multiarch implementations.
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13077 New file.
13078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13079 New file.
13080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13081 multiarch modf for PowerPC32.
13082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13083 New file.
13084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13085 New file.
13086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13087 multiarch modff for PowerPC32.
13088
79dccf31
AZ
13089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13090 and lrintf multiarch implementations.
13091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13092 New file.
13093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13094 New file.
13095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13096 multiarch lrint for PowerPC32.
13097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13098 file: multiarch lrintf for PowerPC32.
13099
deb66480
AZ
13100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13101 and lroundf multiarch implementations.
13102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13103 New file.
13104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13105 New file.
13106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13107 New file.
13108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13109 multiarch lround for PowerPC32.
13110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13111 file: multiarch lroundf for PowerPC32.
13112
264b036b
AZ
13113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13114 copysign and copysignf multiarch implementations.
13115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13116 New file.
13117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13118 New file.
13119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13120 file: multiarch copysign for PowerPC32.
13121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13122 file: multiarch copysignf for PowerPC32.
13123
d47db6c9
AZ
13124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13125 and truncf multiarch implementations.
13126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13127 New file.
13128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13129 file.
13130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13131 multiarch trunc for PowerPC32.
13132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13133 New file.
13134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13135 New file.
13136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13137 multiarch truncf for PowerPC32.
13138
ddb60b5a
AZ
13139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13140 and roundf multiarch implementations.
13141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13142 New file.
13143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13144 file.
13145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13146 multiarch round for PowerPC32.
13147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13148 New file.
13149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13150 New file.
13151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13152 multiarch roundf for PowerPC32.
13153
bedcf49b
AZ
13154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13155 and floorf multiarch implementations.
13156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13157 New file.
13158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13159 file.
13160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13161 multiarch floor for PowerPC32.
13162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13163 New file.
13164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13165 New file.
13166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13167 multiarch floorf for PowerPC32.
13168
35ae5b40
AZ
13169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13170 and ceilf multiarch implementations.
13171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13172 New file.
13173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13174 file.
13175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13176 multiarch ceil for PowerPC32.
13177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13178 New file.
13179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13180 file.
13181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13182 multiarch ceilf for PowerPC32.
13183
ae1a4cd9
AZ
13184 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13185 is defined.
13186 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13187 FINITEF is defined.
13188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13189 and finitef multiarch implementations.
13190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13191 New file.
13192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13193 file.
13194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13195 multiarch finite for PowerPC32.
13196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13197 New file.
13198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13199 file: multiarch finitef for PowerPC32.
13200
64fffd65
AZ
13201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13202 and isinff multiarch implementations.
13203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13204 file.
13205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13206 file.
13207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13208 multiarch isinf for PowerPC32.
13209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13210 New file.
13211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13212 multiarch isinff for PowerPC32.
13213
8e4e7ba2
AZ
13214 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13215 alias when __isnan is defined.
13216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13217 and isnanf multiarch implementations.
13218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13219 file.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13221 file.
13222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13223 file.
13224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13225 file.
13226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13227 multiarch isnan for PowerPC32.
13228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13229 New file.
13230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13231 New file.
13232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13233 multiarch isnanf for PowerPC32.
13234
ddba588e
AZ
13235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13236 and sqrtf multiarch implementations.
13237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13238 file.
13239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13240 file.
13241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13242 multiarch sqrt for PowerPC32.
13243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13244 file.
13245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13246 file.
13247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13248 multiarch sqrtf for PowerPC32.
13249
0f96a2f0
AZ
13250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13251 and llroundf multiarch implementations.
13252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13253 New file.
13254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13255 New file.
13256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13257 New file.
13258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13259 file: multiarch llround for PowerPC32.
13260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13261 file: multiarch llroundf for PowerPC32.
13262
c9b5d79e
AZ
13263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13264 multiarch PowerPC32 fpu implementations.
13265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13266 New file.
13267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13268 New file.
13269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13270 multiarch llrint for PowerPC32.
13271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13272 New file.
13273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13274 New file.
13275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13276 file.
13277
9cbb3aab
AZ
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13279
ea5a72f8
AZ
13280 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13281 file.
13282 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13283 file.
13284 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13285 file.
13286 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13287 multiarch wordcopy for PPC32.
13288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13289 wordcopy objects.
13290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13291 (__libc_ifunc_impl_list): Likewise.
13292 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13293 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13294 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13295 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13296 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13297 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13298
93be09e7
AZ
13299 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13301 file.
13302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13303 file.
13304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13305 file.
13306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13307 multiarch wcscpy for PPC32.
13308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13309 multiarch objects.
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13311 (__libc_ifunc_impl_list): Likewise.
13312 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13313 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13314 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13315 sysdeps/powerpc/power6/wcscpy.c.
13316
bb04e529
AZ
13317 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13319 file.
13320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13321 file.
13322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13323 file.
13324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13325 multiarch wcsrchr for PPC32.
13326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13327 multiarch objects.
13328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13329 (__libc_ifunc_impl_list): Likewise.
13330 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13331 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13332 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13333 sysdeps/powerpc/power6/wcsrchr.c.
13334
05b5cd1c
AZ
13335 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13336 file.
13337 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13338 file.
13339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13340 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13341 multiarch wcschr for PPc32.
13342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13343 multiarch objects.
13344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13345 (__libc_ifunc_impl_list): Likewise.
13346 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13347 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13348 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13349 sysdeps/powerpc/power6/wcschr.c.
13350
ba964147
AZ
13351 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13352 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13353 file.
13354 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13355 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13356 file: multiarch strchr for PPC32.
13357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13358 multiarch objects.
13359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13360 (__libc_ifunc_impl_list): Likewise.
13361
31c81aaa
AZ
13362 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13363 name.
13364 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13365 file.
13366 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13367 file.
13368 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13369 multiarch strchrnul for PPC32.
13370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13371 multiarch objects.
13372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13373 (__libc_ifunc_impl_list): Likewise.
13374
0d0607d9
AZ
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13376 file.
13377 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13378 multiarch strncasecmp for PPC32.
13379 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13380 file.
13381 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13382 multiarch strncasecmp_l for PPC32.
13383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13384 strncasecmp multiarch objects.
13385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13386 (__libc_ifunc_impl_list): Likewise.
13387
4dfd5c86
AZ
13388 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13389 file.
13390 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13391 multiarch strncasecmp for PPC32.
13392 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13393 New file.
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13395 multiarch strcasecmp_l for PPC32.
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13397 multiarch objects.
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13399 (__libc_ifunc_impl_list): Likewise.
13400
a19e01a3
AZ
13401 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13402 file.
13403 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13404 file.
13405 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13406 multiarch strncmp for PPC32.
13407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13408 multiarch objects.
13409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13410 (__libc_ifunc_impl_list): Likewise.
13411
ae9cf7a2
AZ
13412 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13413 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13414 file.
13415 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13418 multiarch objects.
13419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13420 (__libc_ifunc_impl_list): Likewise.
13421
3148bb7d
AZ
13422 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13423 file.
13424 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13425 file.
13426 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13428 multiarch objects.
13429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13430 (__libc_ifunc_impl_list): Likewise.
13431
7af8b946
AZ
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13433 file.
13434 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13435 file.
13436 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13437 multiarch rawmemchr for PPC32.
13438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13439 multiarch objects.
13440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13441 (__libc_ifunc_impl_list): Likewise.
13442
03a6aa6a
AZ
13443 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13444 file.
13445 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13446 file.
13447 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13448 file: memrchr multiarch for PPC32.
13449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13450 multiarch objects.
13451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13452 (__libc_ifunc_impl_list): Likewise.
13453
1c62e6d9
AZ
13454 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13455 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13456 file.
13457 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13458 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13459 multiarch memchr for PPC32.
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13461 multiarch objects.
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13463 (__libc_ifunc_impl_list): Likewise.
13464
87da8bdb
AZ
13465 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13466 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13467 file.
13468 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13469 file.
13470 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13471 file: multiarch mempcpy for PPC32.
13472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13473 multiarch objects.
13474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13475 (__libc_ifunc_impl_list): Likewise.
13476
20ed4714
AZ
13477 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13478 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13479 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13480 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13481 multiarch bzero for PPC32.
13482 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13483 file.
13484 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13485 file.
13486 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13487 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13488 file: multiarch memset for PPC32.
13489 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13491 memset multiarch objects.
13492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13493 (__libc_ifunc_impl_list): Likewise.
13494
ab3e3a46
AZ
13495 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13496 file.
13497 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13499 memcmp for PPC32.
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13502 multiarch objects.
13503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13504 (__libc_ifunc_impl_list): Likewise.
13505
930de6f0
AZ
13506 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13507 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13508 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13509 file.
13510 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13511 file.
13512 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13513 file.
13514 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13515 multiarch memcpy for PPC32.
13516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13517 multiarch objects.
13518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13519 (__libc_ifunc_impl_list): Likewise.
13520
4c628e00
AZ
13521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13522 support multiarch for POWER/PPC32.
13523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13524 Likewise.
13525 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13527 Implies file to make multiarch folder appers before the fpu and
13528 default folder for power4 configuration.
13529
f4479220
SP
135302013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13531
13532 * scripts/bench.pl: Append volatile keyword to type.
13533
8517800f
KK
135342013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13535
13536 * sysdeps/sh/sotruss-lib.c: New file.
13537 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13538
180138f1
AZ
135392013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13540
13541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13542
bbf37bdc
JM
135432013-12-05 Joseph Myers <joseph@codesourcery.com>
13544
e47cc4e0
JM
13545 [BZ #6810]
13546 * math/w_tgamma.c: Include <errno.h>.
13547 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13548 * math/w_tgammaf.c: Include <errno.h>.
13549 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13550 * math/w_tgammal.c: Include <errno.h>.
13551 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13552 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13553 underflow. Add more tgamma tests.
13554 * math/auto-libm-test-out: Regenerated.
13555 * sysdeps/i386/fpu/libm-test-ulps: Update.
13556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13557
bbf37bdc
JM
13558 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13559 sin, sinh, tan, tanh, tgamma, y0 and y1.
13560 * math/auto-libm-test-out: Regenerated.
13561 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13562 (TEST_COND_x86): Likewise.
13563 (M_E2l): Remove macro.
13564 (M_E3l): Likewise.
13565 (M_2_SQRT_PIl): Likewise.
13566 (M_SQRT_PIl): Likewise.
13567 (M_1_DIV_El): Likewise.
13568 (log_test_data): Use AUTO_TESTS_f_f.
13569 (log10_test_data): Likewise.
13570 (log1p_test_data): Likewise.
13571 (log2_test_data): Likewise.
13572 (sin_test_data): Likewise.
13573 (sin_tonearest_test_data): Likewise.
13574 (sin_towardzero_test_data): Likewise.
13575 (sin_downward_test_data): Likewise.
13576 (sin_upward_test_data): Likewise.
13577 (sinh_test_data): Likewise.
13578 (sinh_tonearest_test_data): Likewise.
13579 (sinh_towardzero_test_data): Likewise.
13580 (sinh_downward_test_data): Likewise.
13581 (sinh_upward_test_data): Likewise.
13582 (tan_test_data): Likewise.
13583 (tan_tonearest_test_data): Likewise.
13584 (tan_towardzero_test_data): Likewise.
13585 (tan_downward_test_data): Likewise.
13586 (tan_upward_test_data): Likewise.
13587 (tanh_test_data): Likewise.
13588 (tgamma_test_data): Likewise.
13589 (y0_test_data): Likewise.
13590 (y1_test_data): Likewise.
13591 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13592 (special_real_inputs): Add pi/4.
13593 * sysdeps/i386/fpu/libm-test-ulps: Update.
13594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13595
eb5ad6b9
AZ
135962013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13597
13598 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13599 "longjmp_target" static probes.
13600 (__longjmp): Rename to __longjmp_symbol.
13601 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13602 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13603 on which longjmp to generate.
13604 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13605 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13606 probe.
13607 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13608 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13609 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13610 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13611 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13612 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13614 __longjmp_symbol based on which __longjmp to generate.
13615 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13616 probe.
13617 (setjmp): Rename to setjmp_symbol.
13618 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13619 (_setjmp): Rename to _setjmp_symbol.
13620 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13621 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13622 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13623 which setjmp to generate.
13624 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13625 "longjmp_target" static probes.
13626
d136c6dc
SP
136272013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13628
9298ecba
SP
13629 * benchtests/README: Add note about output arguments.
13630 * benchtests/bench-sincos.c: Remove file.
13631 * benchtests/sincos-inputs: New file.
13632 * scripts/bench.pl: Identify output arguments and define
13633 static variables for them.
13634
232983e9
SP
13635 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13636
d136c6dc
SP
13637 [BZ #15941]
13638 * Makefile (INSTALL): Add install-plain.texi as the primary
13639 dependency.
13640 * manual/install-plain.texi: New file.
13641 * manual/install.texi: Include node directive only for
13642 non-plaintext output.
13643
699ff837
JM
136442013-12-04 Joseph Myers <joseph@codesourcery.com>
13645
ab07cea8
JM
13646 * stdlib/longlong.h: Update from GCC.
13647
699ff837
JM
13648 [BZ #6807]
13649 [BZ #15901]
13650 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13651 * math/w_j0f.c (y0f): Likewise.
13652 * math/w_j0l.c (__y0l): Likewise.
13653 * math/w_j1.c (y1): Likewise.
13654 * math/w_j1f.c (y1f): Likewise.
13655 * math/w_j1l.c (__y1l): Likewise
13656 * math/w_jn.c (yn): Likewise.
13657 * math/w_jnf.c (ynf): Likewise.
13658 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13659 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13660 value for Bessel function domain errors outside _SVID_ mode.
13661 Adjust sign of return value for yn (negative integer, 0).
13662 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13663 by zero in return for negative x and set sign appropriately for
13664 negative n.
13665 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13666 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13667 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13668 expectations in error cases.
13669 (y1_test_data): Likewise.
13670 (yn_test_data): Likewise.
13671 * sysdeps/i386/fpu/libm-test-ulps: Update.
13672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13673
5b118558
UW
136742013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13675
13676 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13677 "64" to "64-v1". Add "64-v2".
13678 (abi-64-options): Rename to ...
13679 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13680 (abi-64-condition): Rename to ...
13681 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13682 (abi-64-ld-soname): Rename to ...
13683 (abi-64-v1-ld-soname): ... this.
13684 (abi-64-v2-options): Define.
13685 (abi-64-v2-condition): Likewise.
13686 (abi-64-v2-ld-soname): Likewise.
13687 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13688 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13692
61cd8fe4
UW
136932013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13694 Alan Modra <amodra@gmail.com>
13695
13696 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13697 New versions for use with the ELFv2 ABI.
13698 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13699 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13700 declaration.
13701 (struct La_ppc64v2_retval): Likewise.
13702 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13703 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13704 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13705 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13706 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13707 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13708 Do not save or restore CR.
13709 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13710 (_dl_profile_resolve): Do no save or restore CR. Support extended
13711 return values for ELFv2 ABI. Fix location of FPR return registers.
13712 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13713 updated values for _CALL_ELF == 2.
13714 (La_regs, La_retval, int_retval): Likewise.
13715
8b8a692c
UW
137162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13717
13718 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13719 (FRAME_MIN_SIZE_PARM): Likewise.
13720 (FRAME_BACKCHAIN): Likewise.
13721 (FRAME_CR_SAVE): Likewise.
13722 (FRAME_LR_SAVE): Likewise.
13723 (FRAME_TOC_SAVE): Likewise.
13724 (FRAME_PARM_SAVE): Likewise.
13725 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13726 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13727 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13728 (call_mcount_parm_offset): New macro.
13729 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13730 (PROF): Use symbolic stack frame offsets.
13731 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13732 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13733 Redefine in terms of FRAME_MIN_SIZE.
13734 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13735 (_dl_profile_resolve): Likewise. Update comment.
13736 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13737 symbols stack frame offsets.
13738 (__sigsetjmp): Likewise.
13739 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13740 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13741 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13742 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13743
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13745 (FRAME_BACKCHAIN): Remove.
13746 (FRAME_CR_SAVE): Likewise.
13747 (FRAME_LR_SAVE): Likewise.
13748 (FRAME_COMPILER_DW): Likewise.
13749 (FRAME_LINKER_DW): Likewise.
13750 (FRAME_TOC_SAVE): Likewise.
13751 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13752 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13753 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13754 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13756 (CHECK_SP): Use symbolic stack frame offsets.
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13758 zone" instead of caller's parameter save area for temp storage.
13759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13760 Likewise. Also, use symbolic stack frame offsets.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13762 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13763 our own stack frame instead of the caller's.
13764 (__socket): Use symbolic stack frame offsets.
13765
122b66de
UW
137662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13767 Alan Modra <amodra@gmail.com>
13768
13769 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13770 Define.
57f41c40
AS
13771 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13772 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13773 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13774 New function.
13775 (elf_machine_fixup_plt): Call it.
13776 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13777 reloc arguments.
13778 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13780 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13781 r2 before calling target.
13782
696caf1d
UW
137832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13784 Alan Modra <amodra@gmail.com>
13785
13786 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13787 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13788 versions of macros to support ELFv2 ABI.
13789 (LOCALENTRY): New macro.
13790 (ENTRY, EALIGN): Use it.
13791 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13792 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13793 fall through into ENTRY entry point.
13794 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13795 Only define if _CALL_ELF != 2.
13796
13797 (elf_machine_matches_host): Verify ABI version matches.
13798 (RTLD_START): Use LOCALENTRY.
13799 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13800 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13801 (PLT_ENTRY_WORDS): New macro.
13802 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13803 (elf_machine_runtime_setup): Support ELFv2 ABI.
13804 (elf_machine_fixup_plt): Likewise.
13805 (elf_machine_plt_conflict): Likewise.
13806 (resolve_ifunc): Likewise.
13807 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13809 Likewise.
13810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13811 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13813 (makecontext): Support ELFv2 ABI.
13814 * elf/elf.h (EF_PPC64_ABI): Define.
13815
d31beafa
UW
138162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13817
57f41c40
AS
13818 * sysdeps/powerpc/powerpc64/sysdep.h
13819 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13820 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13821 (ENTRY) [ASSEMBLER]: ... but instead here ...
13822 (EALIGN) [ASSEMBLER]: ... and here.
13823 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13824 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13825 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13826 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13827 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13828 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13829 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13830 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13832 Use PPC64_LOAD_FUNCPTR.
13833
b525166b
UW
13834 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13835
7ec07d9a
AM
138362013-12-04 Alan Modra <amodra@gmail.com>
13837
13838 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13839 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13840 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13841 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13842
13843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13844 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13845 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13846 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13847 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13848 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13849
5162e7dd
UW
138502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13851
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13853 (__makecontext): Fix incorrect CFI when backtracing out of
13854 context created via makecontext.
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13856 (__setcontext): Fix incorrect CFI during switch to new context.
13857 (__novec_setcontext): Likewise.
13858
19e3372b
OB
138592013-12-04 Ondřej Bílka <neleai@seznam.cz>
13860
13861 [BZ #4772]
13862 * time/strptime_l.c (__strptime_internal): Allow modifiers
13863 in strptime.
13864 * time/tst-strptime.c (day_tests): Add testcase.
13865
ecaf142d
SP
138662013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13867
13868 * scripts/bench.pl: Skip over blank lines.
13869
fbf964ae
PE
138702013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13871
13872 [BZ #926]
13873 * manual/time.texi (Calendar Time): Clarify what timezone functions
13874 use.
13875
fa60a674
AZ
138762013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13877
13878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13879
d674f0ef
OB
138802013-12-04 Ondřej Bílka <neleai@seznam.cz>
13881
13882 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13883 implementation.
13884 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13885 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13886 * debug/memset_chk.c (__memset_chk): Likewise.
13887 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13888 * debug/strncpy_chk.c: Likewise.
13889
17dea188
JM
138902013-12-03 Joseph Myers <joseph@codesourcery.com>
13891
749008ff
JM
13892 [BZ #15268]
13893 [BZ #15425]
13894 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13895 (__ieee754_exp): For possibly underflowing results, check size of
13896 result and force underflow exception if required.
13897 * math/auto-libm-test-in: Add more tests of exp.
13898 * math/auto-libm-test-out: Regenerated.
13899 * sysdeps/i386/fpu/libm-test-ulps: Update.
13900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13901
17dea188
JM
13902 [BZ #16283]
13903 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13904 * math/w_exp2f.c (__exp2f): Likewise.
13905 * math/w_exp2l.c (__exp2l): Likewise.
13906 * math/auto-libm-test-in: Do not allow missing errno on exp2
13907 underflow.
13908 * math/auto-libm-test-out: Regenerated.
13909
b20de2c3
OB
139102013-12-03 Ondřej Bílka <neleai@seznam.cz>
13911
13912 [BZ #16274]
13913 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13914 handle filename validation.
13915 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13916 (do_open): Delete.
13917
d8e2dbe3
JM
139182013-12-03 Joseph Myers <joseph@codesourcery.com>
13919
34e16df5
JM
13920 [BZ #6786]
13921 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13922 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13923 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13924 <float.h>.
13925 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13926 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13927 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13928 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13929 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13930 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13931 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13932 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13933 Add more erfc tests.
13934 * math/auto-libm-test-out: Regenerated.
13935 * sysdeps/i386/fpu/libm-test-ulps: Update.
13936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13937
d8e2dbe3
JM
13938 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13939 exp2, expm1, j0 and j1.
13940 * math/auto-libm-test-out: Regenerated.
13941 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13942 (erfc_test_data): Likewise.
13943 (exp_test_data): Likewise.
13944 (exp_tonearest_test_data): Likewise.
13945 (exp_towardzero_test_data): Likewise.
13946 (exp_downward_test_data): Likewise.
13947 (exp_upward_test_data): Likewise.
13948 (exp10_test_data): Likewise.
13949 (exp2_test_data): Likewise.
13950 (expm1_test_data): Likewise.
13951 (j0_test_data): Likewise.
13952 (j1_test_data): Likewise.
13953 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13954 (input_flag_type): Add flag_xfail_rounding.
13955 (input_flags): Add xfail-rounding.
13956 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13957 (output_for_one_input_case): Handle flag_xfail_rounding.
13958 * sysdeps/i386/fpu/libm-test-ulps: Update.
13959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13960
18d14251
AJ
139612013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13962
3d2e6075 13963 [BZ #16289]
18d14251
AJ
13964 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13965 division by 0.
13966
520d437b
SP
139672013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13968
13969 [BZ #16195]
13970 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13971 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13972 (STAP_PROBE0): New macro.
13973 (STAP_PROBE1): Likewise.
13974 (STAP_PROBE2): Likewise.
13975 (STAP_PROBE3): Likewise.
13976 (STAP_PROBE4): Likewise.
13977
416e0145
OB
139782013-12-02 Ondřej Bílka <neleai@seznam.cz>
13979
13980 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13981
9d17796a
SE
139822013-12-02 Steve Ellcey <sellcey@mips.com>
13983
13984 * benchtests/Makefile (bench): Add sqrt.
13985 (LDLIBS-bench-sqrt): New.
13986 * benchtests/sqrt-input: New.
13987
f524d6a8
PS
139882013-12-02 Pavel Simerda <psimerda@redhat.com>
13989
639a0ef8
PS
13990 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13991 (GAIH_EAI): Likewise.
13992 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13993 (gaih_inet): Likewise.
13994 (getaddrinfo): Don't use GAIH_EAI.
13995
f524d6a8
PS
13996 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13997 (struct gaih): Remove definition.
13998
df3aedaf
SP
139992013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14000
14001 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14002 Use HERRNOP directly.
14003
1ab19dec
AZ
140042013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14005
b42ad38d 14006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14007
176b0c79
JM
140082013-11-30 Joseph Myers <joseph@codesourcery.com>
14009
14010 * math/gen-auto-libm-tests.c (test_functions): Add more
14011 single-argument functions.
14012 (special_fill_pi_2): New function.
14013 (special_fill_minus_pi_2): Likewise.
14014 (special_fill_pi_6): Likewise.
14015 (special_fill_minus_pi_6): Likewise.
14016 (special_fill_pi_3): Likewise.
14017 (special_fill_2pi_3): Likewise.
14018 (special_fill_e): Likewise.
14019 (special_fill_1_e): Likewise.
14020 (special_fill_e_minus_1): Likewise.
14021 (special_real_inputs): Add more special inputs.
14022 (output_for_one_input_case): Do not require ERANGE on underflow to
14023 zero if round-to-nearest result does not underflow to zero, unless
14024 exact results required.
14025 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14026 atan, atanh, cbrt, cos and cosh.
14027 * math/auto-libm-test-out: Regenerated.
14028 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14029 (acos_tonearest_test_data): Likewise.
14030 (acos_towardzero_test_data): Likewise.
14031 (acos_downward_test_data): Likewise.
14032 (acos_upward_test_data): Likewise.
14033 (acosh_test_data): Likewise.
14034 (asin_test_data): Likewise.
14035 (asin_tonearest_test_data): Likewise.
14036 (asin_towardzero_test_data): Likewise.
14037 (asin_upward_test_data): Likewise.
14038 (asinh_test_data): Likewise.
14039 (atan_test_data): Likewise.
14040 (atanh_test_data): Likewise.
14041 (cbrt_test_data): Likewise.
14042 (cos_test_data): Likewise.
14043 (cos_tonearest_test_data): Likewise.
14044 (cos_towardzero_test_data): Likewise.
14045 (cos_downward_test_data): Likewise.
14046 (cos_upward_test_data): Likewise.
14047 (cosh_test_data): Likewise.
14048 (cosh_tonearest_test_data): Likewise.
14049 (cosh_towardzero_test_data): Likewise.
14050 (cosh_downward_test_data): Likewise.
14051 (cosh_upward_test_data): Likewise.
14052 * sysdeps/i386/fpu/libm-test-ulps: Update.
14053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14054
ffb536d0
JM
140552013-11-29 Joseph Myers <joseph@codesourcery.com>
14056
2a77a467
JM
14057 [BZ #6787]
14058 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14059 * math/w_exp10f.c (__exp10f): Likewise.
14060 * math/w_exp10l.c (__exp10l): Likewise.
14061 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14062 errno settings in existing tests.
14063
ea3bc4e8
JM
14064 [BZ #14032]
14065 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14066 precision control set to double precision.
14067 * sysdeps/i386/fpu/w_sqrt.c: New file.
14068 * math/auto-libm-test-in: Add more tests.
14069 * math/auto-libm-test-out: Update.
14070
0712c9d8
JM
14071 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14072 (sqrt_test_tonearest): New function.
14073 (sqrt_towardzero_test_data): New variable.
14074 (sqrt_test_towardzero): New function.
14075 (sqrt_downward_test_data): New variable.
14076 (sqrt_test_downward): New function.
14077 (sqrt_upward_test_data): New variable.
14078 (sqrt_test_upward): New function.
14079 (main): Call the new functions.
14080
ffb536d0
JM
14081 * math/gen-auto-libm-tests.c: New file.
14082 * math/auto-libm-test-in: Likewise.
14083 * math/auto-libm-test-out: New generated file.
14084 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14085 variables.
14086 (%beautify): Add generated representations of zero.
14087 (top level): Set $auto_input and call parse_auto_input.
14088 (beautify): Remove trailing "f" from hex float constants.
14089 (parse_args): Handle XFAIL_TEST.
14090 (convert_condition): New function.
14091 (or_value): Likewise.
14092 (or_cond_value): Likewise.
14093 (generate_testfile): Handle AUTO_TESTS_* lines.
14094 (parse_auto_input): New function.
14095 * math/libm-test.inc (XFAIL_TEST): New macro.
14096 (ERRNO_UNCHANGED): Update value.
14097 (ERRNO_EDOM): Likewise.
14098 (ERRNO_ERANGE): Likewise.
14099 (IGNORE_RESULT): Likewise.
14100 (TEST_COND_flt_32): New macro.
14101 (TEST_COND_dbl_64): Likewise.
14102 (TEST_COND_ldbl_96_intel): Likewise.
14103 (TEST_COND_ldbl_96_m68k): Likewise.
14104 (TEST_COND_ldbl_128): Likewise.
14105 (TEST_COND_ldbl_128ibm): Likewise.
14106 (TEST_COND_long32): Likewise.
14107 (TEST_COND_long64): Likewise.
14108 (TEST_COND_before_rounding): Likewise.
14109 (TEST_COND_after_rounding): Likewise.
14110 (enable_test): Handle XFAIL_TEST flag.
14111 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14112 with finite results.
14113 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14114 auto-libm-test-out.
14115
acd98a8e
AK
141162013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14117 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14118
14119 [BZ #16214]
14120 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14121 __tls_get_addr_internal instead of __tls_get_offset in order to
14122 avoid GOT pointer dependency. Make rtld export
14123 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14124 __tls_get_addr since we are a __tls_get_offset platform.
14125 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14126 GOT pointer being set up before.
14127 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14128
3c1c46a6
JM
141292013-11-28 Joseph Myers <joseph@codesourcery.com>
14130
7475aef5
JM
14131 * manual/math.texi (Errors in Math Functions): Document accuracy
14132 goals.
14133
8bca7cd8
JM
14134 [BZ #15004]
14135 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14136 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14138 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14139 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14140 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14141 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14142 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14143 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14144 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14145 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14146 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14147 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14151
91a1f3fe
JM
14152 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14153 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14154 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14155 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14156 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14157 Likewise.
14158 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14159 Likewise.
14160 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14161 Likewise.
14162 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14163 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14164 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14165 atomic-feupdateenv and flt-rounds.
14166 * sysdeps/powerpc/nofpu/Versions (libc): Add
14167 __atomic_feholdexcept, __atomic_feclearexcept,
14168 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14169 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14170 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14171 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14172 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14173 here.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14175 Update.
14176
c5df7609
JM
14177 * manual/arith.texi (FP Exceptions): Document that exceptions may
14178 not be raised when matherr is used.
14179 (Math Error Reporting): Document overflow in directed rounding
14180 modes. Document that errno may not be set when finite values are
14181 returned on overflow. Document intent to set errno on underflow
14182 only for underflow to zero.
14183
3c1c46a6
JM
14184 [BZ #16271]
14185 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14186 round-to-nearest then adjust result for other rounding modes.
14187 * include/fenv.h (fegetround): Use libm_hidden_proto.
14188 * math/fegetround.c (fegetround): Use libm_hidden_def.
14189 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14190 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14191 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14192 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14193 Likewise.
14194 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14195 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14196 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14197 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14198
5a4c6d53
SP
141992013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14200
14201 [BZ #16077]
14202 * nss/Versions (libnss_files): Add
14203 _nss_files_gethostbyname3_r.
14204 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14205 New function.
14206 (HOST_DB_LOOKUP): Remove macro.
14207 (_nss_files_gethostbyname_r): Implement function without the
14208 HOST_DB_LOOKUP macro.
14209 (_nss_files_gethostbyname2_r): Likewise.
14210
897b98ba
OB
142112013-11-28 Ondřej Bílka <neleai@seznam.cz>
14212
14213 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14214
6f476861
UB
142152013-11-26 Uros Bizjak <ubizjak@gmail.com>
14216
14217 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14218 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14219 warning.
14220
bd12ab55
AZ
142212013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14222
14223 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14224 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14225 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14226 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14227 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14228 __fe_nomask_env_priv and attribute_hidden.
14229 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14230 (libc_feupdateenv_test_ppc): Likewise.
14231 (libc_feresetround_ppc): Likewise.
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14233 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14234 compat_symbol macro.
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14236 (__fe_nomask_env): Likewise.
14237 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14238
52bb6543
OB
142392013-11-26 Ondřej Bílka <neleai@seznam.cz>
14240
14241 * string/Makefile: Remove ifunc tests.
14242 * string/test-string.h: Define TEST_IFUNC.
14243 * string/test-bcopy-ifunc.c: Remove.
14244 * string/test-bzero-ifunc.c: Likewise.
14245 * string/test-memccpy-ifunc.c: Likewise.
14246 * string/test-memchr-ifunc.c: Likewise.
14247 * string/test-memcmp-ifunc.c: Likewise.
14248 * string/test-memcpy-ifunc.c: Likewise.
14249 * string/test-memmem-ifunc.c: Likewise.
14250 * string/test-memmove-ifunc.c: Likewise.
14251 * string/test-mempcpy-ifunc.c: Likewise.
14252 * string/test-memrchr-ifunc.c: Likewise.
14253 * string/test-memset-ifunc.c: Likewise.
14254 * string/test-rawmemchr-ifunc.c: Likewise.
14255 * string/test-stpcpy-ifunc.c: Likewise.
14256 * string/test-stpncpy-ifunc.c: Likewise.
14257 * string/test-strcasecmp-ifunc.c: Likewise.
14258 * string/test-strcasestr-ifunc.c: Likewise.
14259 * string/test-strcat-ifunc.c: Likewise.
14260 * string/test-strchr-ifunc.c: Likewise.
14261 * string/test-strchrnul-ifunc.c: Likewise.
14262 * string/test-strcmp-ifunc.c: Likewise.
14263 * string/test-strcpy-ifunc.c: Likewise.
14264 * string/test-strcspn-ifunc.c: Likewise.
14265 * string/test-strlen-ifunc.c: Likewise.
14266 * string/test-strncasecmp-ifunc.c: Likewise.
14267 * string/test-strncat-ifunc.c: Likewise.
14268 * string/test-strncmp-ifunc.c: Likewise.
14269 * string/test-strncpy-ifunc.c: Likewise.
14270 * string/test-strnlen-ifunc.c: Likewise.
14271 * string/test-strpbrk-ifunc.c: Likewise.
14272 * string/test-strrchr-ifunc.c: Likewise.
14273 * string/test-strspn-ifunc.c: Likewise.
14274 * string/test-strstr-ifunc.c: Likewise.
14275
ab260039 142762013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14277
14278 * benchtests/Makefile: Remove ifunc tests.
14279 * benchtests/bench-string.h: Define TEST_IFUNC.
14280 * benchtests/bench-bcopy-ifunc.c: Remove.
14281 * benchtests/bench-bzero-ifunc.c: Likewise.
14282 * benchtests/bench-memccpy-ifunc.c: Likewise.
14283 * benchtests/bench-memchr-ifunc.c: Likewise.
14284 * benchtests/bench-memcmp-ifunc.c: Likewise.
14285 * benchtests/bench-memcpy-ifunc.c: Likewise.
14286 * benchtests/bench-memmem-ifunc.c: Likewise.
14287 * benchtests/bench-memmove-ifunc.c: Likewise.
14288 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14289 * benchtests/bench-memrchr-ifunc.c: Likewise.
14290 * benchtests/bench-memset-ifunc.c: Likewise.
14291 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14292 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14293 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14294 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14295 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14296 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14297 * benchtests/bench-strcat-ifunc.c: Likewise.
14298 * benchtests/bench-strchr-ifunc.c: Likewise.
14299 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14300 * benchtests/bench-strcmp-ifunc.c: Likewise.
14301 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14302 * benchtests/bench-strcpy-ifunc.c: Likewise.
14303 * benchtests/bench-strcspn-ifunc.c: Likewise.
14304 * benchtests/bench-strlen-ifunc.c: Likewise.
14305 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14306 * benchtests/bench-strncat-ifunc.c: Likewise.
14307 * benchtests/bench-strncmp-ifunc.c: Likewise.
14308 * benchtests/bench-strncpy-ifunc.c: Likewise.
14309 * benchtests/bench-strnlen-ifunc.c: Likewise.
14310 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14311 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14312 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14313 * benchtests/bench-strspn-ifunc.c: Likewise.
14314 * benchtests/bench-strstr-ifunc.c: Likewise.
14315
143162013-11-26 Ondřej Bílka <neleai@seznam.cz>
14317
ab260039
OB
14318 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14319
d1d9eaf4 143202013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14321
d1d9eaf4
OB
14322 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14323 * rt/aio.h: Likewise.
14324 * sysdeps/gnu/bits/utmp.h: Likewise.
14325 * sysdeps/gnu/bits/utmpx.h: Likewise.
14326 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14327 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14328 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14329 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14330 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14331 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14332 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14333 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14334 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14335 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14336 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14337 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14340 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14341 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14342 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14343 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14344 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14345 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14346 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14347 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14348 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14349 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14350 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14352 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14353 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14354 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14355 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14356 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14357 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14358 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14359 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14360 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14361 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14362 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14363 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14364 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14365 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14366 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14367 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14368
a7624ed9
CD
143692013-11-25 Carlos O'Donell <carlos@redhat.com>
14370
14371 [BZ #16245]
14372 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14373 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14374
63cfe52b
JM
143752013-11-25 Joseph Myers <joseph@codesourcery.com>
14376
14377 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14378 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14379 Likewise.
14380
41e8926a
AZ
143812013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14382
14383 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14384 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14385 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14386 (__fesetround): Remove define.
14387 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14388 rounding and exceptions handling.
14389 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14390 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14391 (__fe_nomask_env): Likewise.
14392 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14393 __fegetround instead of fegetround.
14394 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14395 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14396
6851bd4d
RM
143972013-11-21 Roland McGrath <roland@hack.frob.com>
14398
070906ff
RM
14399 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14400 it's there.
14401
6851bd4d
RM
14402 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14403
84ae135d
MI
144042013-11-21 Meador Inge <meadori@codesourcery.com>
14405
14406 [BZ #11157]
14407 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14408 (encrypt_r): Likewise.
14409 * malloc/obstack.h (obstack_free): Likewise.
14410 * posix/unistd.h (encrypt): Likewise.
14411
daf75146
GM
144122013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14413
14414 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14415 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14416 DL_CALL_DT_FINI() that call the functions directly.
14417 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14418 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14419 * elf/dl-fini.c: Likewise.
14420
10ad46bc
OB
144212013-11-20 Ondřej Bílka <neleai@seznam.cz>
14422
14423 * malloc/hooks.c (memalign_check): Add alignment rounding.
14424 * malloc/malloc.c (_mid_memalign): New function.
14425 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14426 Implement by calling _mid_memalign.
14427 * manual/probes.texi (Memory Allocation Probes): Remove
14428 memory_valloc_retry and memory_pvalloc_retry.
14429
f3fd2628
SP
144302013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14431
4712799f
SP
14432 * locale/programs/locarchive.c (open_archive): Add const
14433 qualifier to ARCHIVEFNAME and copy default fname to
14434 DEFAULT_FNAME.
14435
0417b20f
SP
14436 [BZ #15601]
14437 * libio/tst-widetext.input: Rename Oriya to Odia.
14438 * locale/iso-639.def: Likewise.
14439
f3fd2628
SP
14440 * manual/probes.texi (Mathematical Function Probes): Add
14441 documentation for sin, cos, asin and acos probes.
14442 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14443 (__sin32): Add slowasin probe.
14444 (__cos32): Add slowacos probe.
14445 (__mpsin): Add slowsin probe.
14446 (__mpcos): Add slowcos probe.
14447
73c1ce4f
JM
144482013-11-19 Joseph Myers <joseph@codesourcery.com>
14449
14450 [BZ #15483]
14451 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14452 thread-local __sim_exceptions_thread and global
14453 __sim_exceptions_global.
14454 (__sim_disabled_exceptions): Change to thread-local
14455 __sim_disabled_exceptions_thread and global
14456 __sim_disabled_exceptions_global.
14457 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14458 and global __sim_round_mode_global.
14459 (__simulate_exceptions): Use thread-local floating-point state and
14460 set global state from it as needed.
14461 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14462 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14463 __sim_round_mode_thread.
14464 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14465 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14466 and global __sim_exceptions_global.
14467 (__sim_disabled_exceptions): Change to thread-local
14468 __sim_disabled_exceptions_thread and global
14469 __sim_disabled_exceptions_global.
14470 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14471 and global __sim_round_mode_global.
14472 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14473 (SIM_SET_GLOBAL): Likewise.
14474 * sysdeps/powerpc/soft-fp/sfp-machine.h
14475 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14476 __sim_round_mode_thread.
14477 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14478 __sim_disabled_exceptions_thread.
14479 (__sim_exceptions): Change to __sim_exceptions_thread.
14480 (__sim_disabled_exceptions): Change to
14481 __sim_disabled_exceptions_thread.
14482 (__sim_round_mode): Change to __sim_round_mode_thread.
14483 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14484 thread-local floating-point state and set global state from it as
14485 needed.
14486 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14487 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14488 (__sim_disabled_exceptions): Remove extern declaration.
14489 (feenableexcept): Use thread-local floating-point state and set
14490 global state from it as needed.
14491 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14492 extern declaration.
14493 (__sim_disabled_exceptions): Likewise.
14494 (__sim_round_mode): Likewise.
14495 (__fegetenv): Use thread-local floating-point state.
14496 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14497 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14498 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14499 floating-point state and set global state from it as needed.
14500 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14501 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14502 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14503 Likewise.
14504 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14505 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14506 Likewise.
14507 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14508 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14509 Use __sim_round_mode_thread.
14510 * math/test-fenv-tls.c: New file.
14511 * math/Makefile (tests): Add test-fenv-tls.
14512 ($(objpfx)test-fenv-tls): Depend on
14513 $(common-objpfx)nptl/libpthread.so.
14514
b5449b12
AS
145152013-11-19 Andreas Schwab <schwab@suse.de>
14516
14517 * locale/programs/locale.c (show_info): Decode wordarray elements.
14518 * locale/categories.def (LC_MONETARY): Add element for
14519 _NL_MONETARY_CRNCYSTR.
14520 * locale/C-monetary.c (conversion_rate): New variable.
14521 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14522 element.
14523
e186536b
CM
145242013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14525
14526 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14527 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14528
5c349950
PP
145292013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14530
14531 * elf/Makefile (tst-auxv): New test.
14532 * elf/tst-auxv.c: New
14533 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14534
699df45b
JM
145352013-11-18 Joseph Myers <joseph@codesourcery.com>
14536
14537 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14538 (hidden_proto): Caller changed.
14539 (hidden_tls_proto): New macro.
14540 (libc_hidden_tls_proto): Likewise.
14541 (rtld_hidden_tls_proto): Likewise.
14542 (libm_hidden_tls_proto): Likewise.
14543 (libresolv_hidden_tls_proto): Likewise.
14544 (librt_hidden_tls_proto): Likewise.
14545 (libdl_hidden_tls_proto): Likewise.
14546 (libnss_files_hidden_tls_proto): Likewise.
14547 (libnsl_hidden_tls_proto): Likewise.
14548 (libnss_nisplus_hidden_tls_proto): Likewise.
14549 (libutil_hidden_tls_proto): Likewise.
14550
b7589107
OB
145512013-11-18 Ondřej Bílka <neleai@seznam.cz>
14552
14553 [BZ #10253]
14554 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14555 (decompose_rpath): Defer expansion to fillin_rpath.
14556 (_dl_init_paths): Pass linkmap to fillin_rpath.
14557
250c23bd
RS
145582013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14559
14560 * benchtests/Makefile: Add strsep.
14561 * benchtests/bench-strsep.c: New file: strsep benchtest.
14562 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14563
a7931fcf
AS
145642013-11-18 Andreas Schwab <schwab@suse.de>
14565
14566 * locale/programs/locale.c (show_info) [case byte]: Check for
14567 '\377' instead of '\177'.
14568 * locale/C-monetary.c (not_available): Always use "\377".
14569 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14570 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14571 detect unavailable sign_posn locale elements.
14572 * locale/localeconv.c (__localeconv): For grouping and
14573 mon_grouping handle "\177" and "\377" like no grouping.
14574 (INT_ELEM): New macro. Use it to set all numeric members.
14575 * locale/programs/ld-monetary.c (monetary_read)
14576 <tok_mon_grouping>: Normalize single -1 to the empty string.
14577 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14578 Likewise.
14579
728dab0e
OB
145802013-11-07 Ondřej Bílka <neleai@seznam.cz>
14581
14582 [BZ #16055]
14583 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14584 when we match (nil).
14585 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14586
66294491
JM
145872013-11-16 Joseph Myers <joseph@codesourcery.com>
14588
ce665817
JM
14589 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14590 (NO_TEST_INLINE): Update value.
14591 (ERRNO_UNCHANGED): Likewise.
14592 (ERRNO_EDOM): Likewise.
14593 (ERRNO_ERANGE): Likewise.
14594 (IGNORE_RESULT): Likewise.
14595 (check_float_internal): Check signs of NaN results if
14596 TEST_NAN_SIGN used.
14597 (check_complex): Pass TEST_NAN_SIGN flag through to second
14598 check_float_internal call.
14599 (copysign_test_data): Add tests with quiet NaNs as second
14600 argument. Use TEST_NAN_SIGN.
14601 (fabs_test_data): Add test of negative quiet NaN argument. Use
14602 TEST_NAN_SIGN.
14603 (signbit_test_data): Add tests of quiet NaN argument.
14604 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14605
ee1466a9
JM
14606 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14607 $ignore_result.
14608 (parse_args): Handle function results specified as IGNORE.
14609 * math/libm-test.inc (IGNORE_RESULT): New macro.
14610 (check_float_internal): Do not check numerical result if flag
14611 IGNORE_RESULT set.
14612 (check_complex): Pass through IGNORE_RESULT to second
14613 check_float_internal call.
14614 (check_int): Do not check numerical result if flag IGNORE_RESULT
14615 set.
14616 (check_long): Likewise.
14617 (check_bool): Likewise.
14618 (check_longlong): Likewise.
14619 (lrint_test_data): Add tests of infinite and NaN arguments.
14620 (lrint_tonearest_test_data): Likewise.
14621 (lrint_towardzero_test_data): Likewise.
14622 (lrint_downward_test_data): Likewise.
14623 (lrint_upward_test_data): Likewise.
14624 (llrint_test_data): Likewise.
14625 (llrint_tonearest_test_data): Likewise.
14626 (llrint_towardzero_test_data): Likewise.
14627 (llrint_downward_test_data): Likewise.
14628 (llrint_upward_test_data): Likewise.
14629 (lround_test_data): Likewise.
14630 (llround_test_data): Likewise.
14631
14407b7e
JM
14632 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14633 (ERRNO_UNCHANGED): Update value.
14634 (ERRNO_EDOM): Likewise.
14635 (ERRNO_ERANGE): Likewise.
14636 (NO_TEST_INLINE_FLOAT): New macro.
14637 (NO_TEST_INLINE_DOUBLE): Likewise.
14638 (enable_test): New function.
14639 (RUN_TEST_f_f): Check enable_test before running test.
14640 (RUN_TEST_2_f): Likewise.
14641 (RUN_TEST_fff_f): Likewise.
14642 (RUN_TEST_c_f): Likewise.
14643 (RUN_TEST_f_f1): Likewise.
14644 (RUN_TEST_fF_f1): Likewise.
14645 (RUN_TEST_fI_f1): Likewise.
14646 (RUN_TEST_ffI_f1): Likewise.
14647 (RUN_TEST_c_c): Likewise.
14648 (RUN_TEST_cc_c): Likewise.
14649 (RUN_TEST_f_i): Likewise.
14650 (RUN_TEST_f_i_tg): Likewise.
14651 (RUN_TEST_ff_i_tg): Likewise.
14652 (RUN_TEST_f_b): Likewise.
14653 (RUN_TEST_f_b_tg): Likewise.
14654 (RUN_TEST_f_l): Likewise.
14655 (RUN_TEST_f_L): Likewise.
14656 (RUN_TEST_fFF_11): Likewise.
14657 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14658 conditionals.
14659 (cosh_test_data): Likewise.
14660 (exp_test_data): Likewise.
14661 (expm1_test_data): Likewise.
14662 (hypot_test_data): Likewise.
14663 (pow_test_data): Likewise.
14664 (sinh_test_data): Likewise.
14665 (tanh_test_data): Likewise.
14666 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14667 flags argument.
14668
ca07f197
JM
14669 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14670 tests with quiet NaN input and output.
14671 (acosh_test_data): Likewise.
14672 (asin_test_data): Likewise.
14673 (asinh_test_data): Likewise.
14674 (atan_test_data): Likewise.
14675 (atanh_test_data): Likewise.
14676 (atan2_test_data): Likewise.
14677 (cbrt_test_data): Likewise.
14678 (cos_test_data): Likewise.
14679 (cosh_test_data): Likewise.
14680 (erf_test_data): Likewise.
14681 (erfc_test_data): Likewise.
14682 (exp_test_data): Likewise.
14683 (exp10_test_data): Likewise.
14684 (exp2_test_data): Likewise.
14685 (expm1_test_data): Likewise.
14686 (hypot_test_data): Likewise.
14687 (j0_test_data): Likewise.
14688 (j1_test_data): Likewise.
14689 (jn_test_data): Likewise.
14690 (lgamma_test_data): Likewise.
14691 (log_test_data): Likewise.
14692 (log10_test_data): Likewise.
14693 (log1p_test_data): Likewise.
14694 (log2_test_data): Likewise.
14695 (pow_test_data): Likewise.
14696 (scalb_test_data): Likewise.
14697 (sin_test_data): Likewise.
14698 (sincos_test_data): Likewise.
14699 (sinh_test_data): Likewise.
14700 (tan_test_data): Likewise.
14701 (tanh_test_data): Likewise.
14702 (tgamma_test_data): Likewise.
14703 (y0_test_data): Likewise.
14704 (y1_test_data): Likewise.
14705 (yn_test_data): Likewise.
14706
66294491
JM
14707 [BZ #16167]
14708 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14709 argument being NaN and avoid computations with second argument in
14710 that case.
14711 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14712 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14713 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14714
1820b143
CL
147152013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14716
14717 * locale/iso-639.def: Add Chitwani Tharu (the).
14718
714bd261
AS
147192013-11-14 Andreas Schwab <schwab@suse.de>
14720
14721 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14722 word instead of empty string.
14723
7ab44563
AZ
147242013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14725
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14727 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14729 (__fe_nomask_env): Likewise.
14730
e8470ea2
SE
147312013-11-13 Steve Ellcey <sellcey@mips.com>
14732
14733 * benchtests/bench-timing.h: Include time.h.
14734
17c1d9f0
L
147352013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14736
14737 [BZ #15997]
14738 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14739 to 3.4.0 for x32.
14740 * sysdeps/unix/sysv/linux/configure: Regenerated.
14741
9310c284
JM
147422013-11-13 Joseph Myers <joseph@codesourcery.com>
14743
14744 [BZ #16151]
14745 * stdlib/strtod_l.c (round_and_return): Do not consider
14746 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14747 exponent one less than half the least subnormal exponent.
14748 * stdlib/test-strtod-round-data: Add more tests.
14749 * stdlib/tst-strtod-round.c (tests): Regenerated.
14750
7a2ad8cf
AZ
147512013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14752
14753 [BZ #14143]
14754 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14755 (__fe_mask_env): Likewise.
14756 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14757 libm_hidden_proto and add function prototype.
14758 (__fe_mask_env): Add function prototype.
14759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14760 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14762 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14764 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14765
50727aa7
MS
147662013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14767
b2f386c1 14768 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14769 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14770
a615be46
MS
147712013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14772
14773 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14774 of htab_find_slot().
14775
7ddace62
DM
147762013-11-11 David S. Miller <davem@davemloft.net>
14777
14778 [BZ #16150]
14779 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14780 symbol in the non-vis3 case in static builds.
14781 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14782 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14783 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14784 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14785
9182aa67
JK
147862013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14787
14788 [BZ #387]
14789 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14790 it is empty.
14791
450a2e2d
AZ
147922013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14793
b2f386c1
SP
14794 * benchtests/Makefile: Add bench-strtod.
14795 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14796
8ec3f656
AS
147972013-11-11 Andreas Schwab <schwab@suse.de>
14798
14799 [BZ #16153]
14800 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14801 terminating NUL in key length.
14802
76a9b998
AZ
148032013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14804
14805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14806 Add artificial ODP entry for vDSO symbol for PPC64.
14807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14808 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14809
e4368156
OB
148102013-11-07 Ondřej Bílka <neleai@seznam.cz>
14811
14812 [BZ #15374]
14813 * nss/getent.c (services_keys): Recognize services starting with digit.
14814
8d6bb57c
DM
148152013-11-06 David S. Miller <davem@davemloft.net>
14816
14817 [BZ #15985]
14818 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14819 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14820
e256c421
WN
148212013-11-06 Will Newton <will.newton@linaro.org>
14822
14823 * manual/memory.texi (Malloc Examples): Remove register
14824 keyword from examples.
14825
f6e12daa 148262013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14827
f6e12daa 14828 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14829
9d880655
AS
148302013-11-04 Joseph Myers <joseph@codesourcery.com>
14831
fd2f9486 14832 [BZ #6981]
9d880655
AS
14833 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14834 depending on [__GCC_IEC_559 > 0].
14835 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14836 depending on [__GCC_IEC_559_COMPLEX > 0].
14837
ae129d3c
CL
148382013-11-03 Chris Leonard <cjl@sugarlabs.org>
14839
14840 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14841 to iso-639.def.
14842
4a15c2a4 148432013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14844
14845 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14846
8b35e35d
OB
148472013-11-01 Ondřej Bílka <neleai@seznam.cz>
14848
14849 [BZ #16112]
14850 * malloc/malloc (malloc_info): Do not handle first bin as
14851 special case.
14852
1d70fd6c
CL
148532013-11-01 Chris Leonard <cjl@sugarlabs.org>
14854
14855 * locale/iso-639.def: Add Central Nahuatl (nhn).
14856
8c5c2600
BH
148572013-11-01 Bruno Haible <bruno@clisp.org>
14858
14859 [BZ #7003]
14860 * manual/math.texi (BSD Random): Specify range upper bound as
14861 in POSIX.
14862
da5579c2
CL
148632013-10-31 Chris Leonard <cjl@sugarlabs.org>
14864
14865 * locale/iso-639.def: Add Meadow Mari (mhr).
14866
5d30d853
OB
148672013-10-31 Ondřej Bílka <neleai@seznam.cz>
14868
14869 [BZ #14752], [BZ #15763]
14870 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14871 Validate name.
14872 * rt/tst_shm.c: Add test for escaping directory.
14873
a4966c61
AS
148742013-10-31 Andreas Schwab <schwab@suse.de>
14875
8a43e768 14876 [BZ #15917]
a4966c61
AS
14877 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14878 followed by 'x' as part of digit sequence.
14879 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14880
28d708c4
MAP
148812013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14882
14883 [BZ #16037]
14884 * configure.ac: allow GNU Make 4.0 and greater.
14885 * configure: Regenerated.
14886
a56ee40b
WN
148872013-10-30 Will Newton <will.newton@linaro.org>
14888
14889 [BZ #16038]
14890 * malloc/hooks.c (memalign_check): Limit alignment to the
14891 maximum representable power of two.
14892 * malloc/malloc.c (__libc_memalign): Likewise.
14893 * malloc/tst-memalign.c (do_test): Add test for very
14894 large alignment values.
14895 * malloc/tst-posix_memalign.c (do_test): Likewise.
14896
c6e4925d
OB
148972013-10-30 Ondřej Bílka <neleai@seznam.cz>
14898
14899 [BZ #11087]
14900 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14901 (munmap_chunk): Likewise.
14902 (mremap_chunk): Likewise.
14903
149042013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14905
8a43e768 14906 [BZ #15799]
bbea82f7
OB
14907 * stdlib/div.c (div): Remove obsolete code.
14908 * stdlib/ldiv.c (ldiv): Likewise.
14909 * stdlib/lldiv.c (lldiv): Likewise.
14910
977f4b31
SP
149112013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14912
14913 [BZ #16071]
14914 * nss/nss_files/files-XXX.c (get_contents_ret): New
14915 enumerator.
14916 (get_contents): New function.
14917 (internal_getent): Use it. Expand size of LINEBUFLEN.
14918
cb8a6dbd
MF
149192013-10-30 Mike Frysinger <vapier@gentoo.org>
14920
14921 * configure.in: Moved to ...
14922 * configure.ac: ... here. Change reference to configure.in
14923 to configure.ac.
14924 * sysdeps/arm/preconfigure.ac: ... here.
14925 configure.in to configure.ac.
14926 * sysdeps/gnu/configure.in: Moved to ...
14927 * sysdeps/gnu/configure.ac: ... here.
14928 * sysdeps/i386/configure.in: Moved to ...
14929 * sysdeps/i386/configure.ac: ... here.
14930 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14931 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14932 * sysdeps/mach/configure.in: Moved to ...
14933 * sysdeps/mach/configure.ac: ... here.
14934 * sysdeps/mach/hurd/configure.in: Moved to ...
14935 * sysdeps/mach/hurd/configure.ac: ... here.
14936 * sysdeps/powerpc/configure.in: Moved to ...
14937 * sysdeps/powerpc/configure.ac: ... here.
14938 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14939 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14940 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14941 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14942 * sysdeps/s390/s390-32/configure.in: Moved to ...
14943 * sysdeps/s390/s390-32/configure.ac: ... here.
14944 * sysdeps/s390/s390-64/configure.in: Moved to ...
14945 * sysdeps/s390/s390-64/configure.ac: ... here.
14946 * sysdeps/sh/configure.in: Moved to ...
14947 * sysdeps/sh/configure.ac: ... here.
14948 * sysdeps/sparc/configure.in: Moved to ...
14949 * sysdeps/sparc/configure.ac: ... here.
14950 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14951 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14952 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14953 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14954 * sysdeps/x86_64/configure.in: Moved to ...
14955 * sysdeps/x86_64/configure.ac: ... here.
14956 * sysdeps/x86_64/preconfigure.in: Moved to ...
14957 * sysdeps/x86_64/preconfigure.ac: ... here.
14958 * aclocal.m4: Change reference to configure.in to configure.ac.
14959 * config.h.in: Likewise.
14960 * manual/install.texi: Likewise.
14961 * manual/maint.texi: Likewise.
14962 * Makefile: Likewise.
14963 * malloc/Makefile: Likewise.
14964 * nscd/Makefile: Likewise.
14965 * Makeconfig: Change reference to configure.in and
14966 preconfigure.in to configure.ac and preconfigure.ac
14967 respectively.
14968 * INSTALL: Regenerated.
14969 * configure: Likewise.
14970 * sysdeps/gnu/configure: Likewise.
14971 * sysdeps/i386/configure: Likewise.
14972 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14973 * sysdeps/mach/configure: Likewise.
14974 * sysdeps/mach/hurd/configure: Likewise.
14975 * sysdeps/powerpc/configure: Likewise.
14976 * sysdeps/powerpc/powerpc32/configure: Likewise.
14977 * sysdeps/powerpc/powerpc64/configure: Likewise.
14978 * sysdeps/s390/s390-32/configure: Likewise.
14979 * sysdeps/s390/s390-64/configure: Likewise.
14980 * sysdeps/sh/configure: Likewise.
14981 * sysdeps/sparc/configure: Likewise.
14982 * sysdeps/unix/sysv/linux/configure: Likewise.
14983 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14984 * sysdeps/x86_64/configure: Likewise.
14985 * sysdeps/x86_64/preconfigure: Likewise.
14986
36a4953a
AS
149872013-10-29 Andreas Schwab <schwab@suse.de>
14988
14989 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14990
c79a1204
SP
149912013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14992
dfa1b402
SP
14993 * benchtests/pow-inputs: Add new inputs.
14994
54f73d9c
SP
14995 * benchtests/exp-inputs: Add new inputs.
14996
c79a1204
SP
14997 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14998 conditional check for return value.
14999 (__cos32): Likewise.
15000
67beb545 150012013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15002
15003 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15004 to provide a boost for large inputs with word alignment.
15005 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15006 implementation based on optimized PPC64 strcpy.
15007 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15008 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15009 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15010 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15011
151659f6
OB
150122013-10-25 Ondřej Bílka <neleai@seznam.cz>
15013
482a077e 15014 [BZ #2801]
151659f6
OB
15015 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15016
10b0f26b
OB
150172013-10-25 Ondřej Bílka <neleai@seznam.cz>
15018
15019 [BZ #14876]
15020 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15021 * time/tst-strptime.c (day_tests): Add testcase.
15022
ca42d35e
OB
150232013-10-25 Ondřej Bílka <neleai@seznam.cz>
15024
482a077e 15025 [BZ #14029]
ca42d35e
OB
15026 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15027
52e6d801
FB
150282013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15029
15030 [BZ #16074]
15031 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15032 MAP_FAILED on error.
15033
7cbcdb36
SP
150342013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15035
15036 [BZ #16072]
15037 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15038 heap for large requests.
15039
894f3f10
AM
150402013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15041
15042 [BZ #9954]
15043 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15044 result if the result has no associated interface.
15045 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15046 interface for all 127.X.Y.Z addresses.
15047
b85545a6
CL
150482013-10-24 Chris Leonard <cjl@sugarlabs.org>
15049
15050 * locale/iso-639.def: Add Ligurian (lij)
15051
d1f23d46
OB
150522013-10-21 Ondřej Bílka <neleai@seznam.cz>
15053
15054 [BZ #15825]
15055 * sunrpc/rpc_main.c: Document rpcgen -5.
15056
4db5b08f
MS
150572013-10-19 Michael Stahl <mstahl@redhat.com>
15058
15059 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15060
a471e96a
OB
150612013-10-19 Ondřej Bílka <neleai@seznam.cz>
15062
d1f23d46 15063 [BZ #10278]
a471e96a
OB
15064 * posix/glob.c: Match only directories when trailing slash is present.
15065 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15066 (main): Add testcase.
15067
45c30c61
OB
150682013-10-19 Ondřej Bílka <neleai@seznam.cz>
15069
15070 [BZ #15670]
15071 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15072
484c12fb
CD
150732013-10-18 Carlos O'Donell <carlos@redhat.com>
15074
3d7dc513
CD
15075 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15076 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15077 AUTH_DES and cindex for FIPS 140-2.
15078 (DES Encryption): Add cindex FIPS 46-3.
15079
484c12fb
CD
15080 * locale/locarchive.h (struct locarhandle): Add fname.
15081 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15082 if an optional argument was specified to --list-archive,
15083 otherwise NULL.
15084 * locale/programs/locarchive.c (show_archive_content): Take new
15085 argument fname and pass it via ah.fname to open_archive.
15086 * locale/programs/localedef.h: Update decl.
15087 (open_archive): If AH->fname is non-null, open that file
15088 rather than the default file name, and don't ignore ENOENT.
15089 (create_archive): Set AH.fname to NULL.
15090 (delete_locales_from_archive): Likewise.
15091 (add_locales_to_archive): Likewise.
15092 * locale/programs/locfile.c (write_all_categories): Likewise.
15093
3c8325fb
JM
150942013-10-18 Joseph Myers <joseph@codesourcery.com>
15095 Aldy Hernandez <aldyh@redhat.com>
15096
15097 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15098 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15099 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15100 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15101 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15102 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15103 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15104 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15105 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15106 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15107 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15108 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15109 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15110 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15111 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15112 Likewise.
15113 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15114 Likewise.
15115 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15116 Likewise.
15117 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15118 Likewise.
15119 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15120 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15121 Likewise.
15122 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15123 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15124 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15125 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15126 Likewise.
15127 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15128 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15129 * sysdeps/powerpc/preconfigure: Likewise.
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15131 Likewise.
15132 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15133 Replace contents of file by #include of <fenv_libc.h>.
15134 * sysdeps/powerpc/soft-fp/sfp-machine.h
15135 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15136 and <sys/prctl.h>.
15137 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15138 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15139 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15140 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15141 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15142 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15144 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15145 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15146 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15147 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15148 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15150 Allow copysignl PLT reference to be missing.
15151
5abe0682
RS
151522013-10-18 Richard Sandiford <richard@codesourcery.com>
15153 Joseph Myers <joseph@codesourcery.com
15154
15155 [BZ #15948]
15156 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15157 single character.
15158 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15159
c7738d08
SP
151602013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15161
15162 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15163 * elf/tst-tls1.c: Likewise.
15164 * elf/tst-tls10.h: Likewise.
15165 * elf/tst-tls14.c: Likewise.
15166 * elf/tst-tls2.c: Likewise.
15167 * elf/tst-tls3.c: Likewise.
15168 * elf/tst-tls4.c: Likewise.
15169 * elf/tst-tls5.c: Likewise.
15170 * elf/tst-tls6.c: Likewise.
15171 * elf/tst-tls7.c: Likewise.
15172 * elf/tst-tls8.c: Likewise.
15173 * elf/tst-tls9.c: Likewise.
15174 * elf/tst-tlsmod1.c: Likewise.
15175 * elf/tst-tlsmod13.c: Likewise.
15176 * elf/tst-tlsmod13a.c: Likewise.
15177 * elf/tst-tlsmod14a.c: Likewise.
15178 * elf/tst-tlsmod16a.c: Likewise.
15179 * elf/tst-tlsmod16b.c: Likewise.
15180 * elf/tst-tlsmod2.c: Likewise.
15181 * elf/tst-tlsmod3.c: Likewise.
15182 * elf/tst-tlsmod4.c: Likewise.
15183 * elf/tst-tlsmod5.c: Likewise.
15184 * elf/tst-tlsmod6.c: Likewise.
15185
0bfcf2c7
OB
151862013-10-18 Ondřej Bílka <neleai@seznam.cz>
15187
15188 [BZ #12486]
15189 * malloc/malloc.c: remove checks for statistics.
15190
264aad1e
OB
151912013-10-17 Ondřej Bílka <neleai@seznam.cz>
15192
15193 [BZ #15277]
15194 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15195 * inet/tst-network.c: Add testcase.
15196
b957ced8
AS
151972013-10-17 Andreas Schwab <schwab@suse.de>
15198
15199 [BZ #15218]
15200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15201 to determine canonical name.
15202
c5d5d574
OB
152032013-10-17 Ondřej Bílka <neleai@seznam.cz>
15204
15205 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15206 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15229 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15230 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15231 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15232 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15233 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15234 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15235 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15236 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15237 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15238 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15248 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15250 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15252 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15255 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15256 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15257 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15258 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15260 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15262 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15263
e5c2c2d0
JM
152642013-10-17 Joseph Myers <joseph@codesourcery.com>
15265
15266 [BZ #16041]
15267 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15268 make result into a quiet NaN.
15269
51ca9e29
JM
152702013-10-16 Joseph Myers <joseph@codesourcery.com>
15271
15272 * soft-fp/adddf3.c: Fix horizontal whitespace.
15273 * soft-fp/addsf3.c: Likewise.
15274 * soft-fp/addtf3.c: Likewise.
15275 * soft-fp/divdf3.c: Likewise.
15276 * soft-fp/divsf3.c: Likewise.
15277 * soft-fp/divtf3.c: Likewise.
15278 * soft-fp/double.h: Likewise.
15279 * soft-fp/eqdf2.c: Likewise.
15280 * soft-fp/eqsf2.c: Likewise.
15281 * soft-fp/eqtf2.c: Likewise.
15282 * soft-fp/extenddftf2.c: Likewise.
15283 * soft-fp/extended.h: Likewise.
15284 * soft-fp/extendsfdf2.c: Likewise.
15285 * soft-fp/extendsftf2.c: Likewise.
15286 * soft-fp/extendxftf2.c: Likewise.
15287 * soft-fp/fixdfdi.c: Likewise.
15288 * soft-fp/fixdfsi.c: Likewise.
15289 * soft-fp/fixdfti.c: Likewise.
15290 * soft-fp/fixsfdi.c: Likewise.
15291 * soft-fp/fixsfsi.c: Likewise.
15292 * soft-fp/fixsfti.c: Likewise.
15293 * soft-fp/fixtfdi.c: Likewise.
15294 * soft-fp/fixtfsi.c: Likewise.
15295 * soft-fp/fixtfti.c: Likewise.
15296 * soft-fp/fixunsdfdi.c: Likewise.
15297 * soft-fp/fixunsdfsi.c: Likewise.
15298 * soft-fp/fixunsdfti.c: Likewise.
15299 * soft-fp/fixunssfdi.c: Likewise.
15300 * soft-fp/fixunssfsi.c: Likewise.
15301 * soft-fp/fixunssfti.c: Likewise.
15302 * soft-fp/fixunstfdi.c: Likewise.
15303 * soft-fp/fixunstfsi.c: Likewise.
15304 * soft-fp/fixunstfti.c: Likewise.
15305 * soft-fp/floatdidf.c: Likewise.
15306 * soft-fp/floatdisf.c: Likewise.
15307 * soft-fp/floatditf.c: Likewise.
15308 * soft-fp/floatsidf.c: Likewise.
15309 * soft-fp/floatsisf.c: Likewise.
15310 * soft-fp/floatsitf.c: Likewise.
15311 * soft-fp/floattidf.c: Likewise.
15312 * soft-fp/floattisf.c: Likewise.
15313 * soft-fp/floattitf.c: Likewise.
15314 * soft-fp/floatundidf.c: Likewise.
15315 * soft-fp/floatundisf.c: Likewise.
15316 * soft-fp/floatunditf.c: Likewise.
15317 * soft-fp/floatunsidf.c: Likewise.
15318 * soft-fp/floatunsisf.c: Likewise.
15319 * soft-fp/floatunsitf.c: Likewise.
15320 * soft-fp/floatuntidf.c: Likewise.
15321 * soft-fp/floatuntisf.c: Likewise.
15322 * soft-fp/floatuntitf.c: Likewise.
15323 * soft-fp/fmadf4.c: Likewise.
15324 * soft-fp/fmasf4.c: Likewise.
15325 * soft-fp/fmatf4.c: Likewise.
15326 * soft-fp/gedf2.c: Likewise.
15327 * soft-fp/gesf2.c: Likewise.
15328 * soft-fp/getf2.c: Likewise.
15329 * soft-fp/ledf2.c: Likewise.
15330 * soft-fp/lesf2.c: Likewise.
15331 * soft-fp/letf2.c: Likewise.
15332 * soft-fp/muldf3.c: Likewise.
15333 * soft-fp/mulsf3.c: Likewise.
15334 * soft-fp/multf3.c: Likewise.
15335 * soft-fp/negdf2.c: Likewise.
15336 * soft-fp/negsf2.c: Likewise.
15337 * soft-fp/negtf2.c: Likewise.
15338 * soft-fp/op-1.h: Likewise.
15339 * soft-fp/op-2.h: Likewise.
15340 * soft-fp/op-4.h: Likewise.
15341 * soft-fp/op-8.h: Likewise.
15342 * soft-fp/op-common.h: Likewise.
15343 * soft-fp/quad.h: Likewise.
15344 * soft-fp/single.h: Likewise.
15345 * soft-fp/soft-fp.h: Likewise.
15346 * soft-fp/sqrtdf2.c: Likewise.
15347 * soft-fp/sqrtsf2.c: Likewise.
15348 * soft-fp/sqrttf2.c: Likewise.
15349 * soft-fp/subdf3.c: Likewise.
15350 * soft-fp/subsf3.c: Likewise.
15351 * soft-fp/subtf3.c: Likewise.
15352 * soft-fp/truncdfsf2.c: Likewise.
15353 * soft-fp/trunctfdf2.c: Likewise.
15354 * soft-fp/trunctfsf2.c: Likewise.
15355 * soft-fp/trunctfxf2.c: Likewise.
15356 * soft-fp/unorddf2.c: Likewise.
15357 * soft-fp/unordsf2.c: Likewise.
15358 * soft-fp/unordtf2.c: Likewise.
15359
9ebb0332
JM
153602013-10-15 Joseph Myers <joseph@codesourcery.com>
15361
15362 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15363 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15364
4b1a6d8b
OB
153652013-10-15 Ondřej Bílka <neleai@seznam.cz>
15366
15367 * elf/dl-libc.c: Clear initfini list after freeing.
15368
1e145589
JM
153692013-10-14 Joseph Myers <joseph@codesourcery.com>
15370
15371 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15372 * soft-fp/addsf3.c: Likewise.
15373 * soft-fp/addtf3.c: Likewise.
15374 * soft-fp/divdf3.c: Likewise.
15375 * soft-fp/divsf3.c: Likewise.
15376 * soft-fp/divtf3.c: Likewise.
15377 * soft-fp/double.h: Likewise.
15378 * soft-fp/eqdf2.c: Likewise.
15379 * soft-fp/eqsf2.c: Likewise.
15380 * soft-fp/eqtf2.c: Likewise.
15381 * soft-fp/extenddftf2.c: Likewise.
15382 * soft-fp/extended.h: Likewise.
15383 * soft-fp/extendsfdf2.c: Likewise.
15384 * soft-fp/extendsftf2.c: Likewise.
15385 * soft-fp/extendxftf2.c: Likewise.
15386 * soft-fp/fixdfdi.c: Likewise.
15387 * soft-fp/fixdfsi.c: Likewise.
15388 * soft-fp/fixdfti.c: Likewise.
15389 * soft-fp/fixsfdi.c: Likewise.
15390 * soft-fp/fixsfsi.c: Likewise.
15391 * soft-fp/fixsfti.c: Likewise.
15392 * soft-fp/fixtfdi.c: Likewise.
15393 * soft-fp/fixtfsi.c: Likewise.
15394 * soft-fp/fixtfti.c: Likewise.
15395 * soft-fp/fixunsdfdi.c: Likewise.
15396 * soft-fp/fixunsdfsi.c: Likewise.
15397 * soft-fp/fixunsdfti.c: Likewise.
15398 * soft-fp/fixunssfdi.c: Likewise.
15399 * soft-fp/fixunssfsi.c: Likewise.
15400 * soft-fp/fixunssfti.c: Likewise.
15401 * soft-fp/fixunstfdi.c: Likewise.
15402 * soft-fp/fixunstfsi.c: Likewise.
15403 * soft-fp/fixunstfti.c: Likewise.
15404 * soft-fp/floatdidf.c: Likewise.
15405 * soft-fp/floatdisf.c: Likewise.
15406 * soft-fp/floatditf.c: Likewise.
15407 * soft-fp/floatsidf.c: Likewise.
15408 * soft-fp/floatsisf.c: Likewise.
15409 * soft-fp/floatsitf.c: Likewise.
15410 * soft-fp/floattidf.c: Likewise.
15411 * soft-fp/floattisf.c: Likewise.
15412 * soft-fp/floattitf.c: Likewise.
15413 * soft-fp/floatundidf.c: Likewise.
15414 * soft-fp/floatundisf.c: Likewise.
15415 * soft-fp/floatunsidf.c: Likewise.
15416 * soft-fp/floatunsisf.c: Likewise.
15417 * soft-fp/floatuntidf.c: Likewise.
15418 * soft-fp/floatuntisf.c: Likewise.
15419 * soft-fp/floatuntitf.c: Likewise.
15420 * soft-fp/fmadf4.c: Likewise.
15421 * soft-fp/fmasf4.c: Likewise.
15422 * soft-fp/fmatf4.c: Likewise.
15423 * soft-fp/gedf2.c: Likewise.
15424 * soft-fp/gesf2.c: Likewise.
15425 * soft-fp/getf2.c: Likewise.
15426 * soft-fp/ledf2.c: Likewise.
15427 * soft-fp/lesf2.c: Likewise.
15428 * soft-fp/letf2.c: Likewise.
15429 * soft-fp/muldf3.c: Likewise.
15430 * soft-fp/mulsf3.c: Likewise.
15431 * soft-fp/multf3.c: Likewise.
15432 * soft-fp/negdf2.c: Likewise.
15433 * soft-fp/negsf2.c: Likewise.
15434 * soft-fp/negtf2.c: Likewise.
15435 * soft-fp/op-1.h: Likewise.
15436 * soft-fp/op-2.h: Likewise.
15437 * soft-fp/op-4.h: Likewise.
15438 * soft-fp/op-8.h: Likewise.
15439 * soft-fp/op-common.h: Likewise.
15440 * soft-fp/quad.h: Likewise.
15441 * soft-fp/single.h: Likewise.
15442 * soft-fp/soft-fp.h: Likewise.
15443 * soft-fp/sqrtdf2.c: Likewise.
15444 * soft-fp/sqrtsf2.c: Likewise.
15445 * soft-fp/sqrttf2.c: Likewise.
15446 * soft-fp/subdf3.c: Likewise.
15447 * soft-fp/subsf3.c: Likewise.
15448 * soft-fp/subtf3.c: Likewise.
15449 * soft-fp/truncdfsf2.c: Likewise.
15450 * soft-fp/trunctfdf2.c: Likewise.
15451 * soft-fp/trunctfsf2.c: Likewise.
15452 * soft-fp/trunctfxf2.c: Likewise.
15453 * soft-fp/unorddf2.c: Likewise.
15454 * soft-fp/unordsf2.c: Likewise.
15455 * soft-fp/unordtf2.c: Likewise.
15456
17c48a60
OB
154572013-10-14 Ondřej Bílka <neleai@seznam.cz>
15458
15459 [BZ #15672]
15460 * misc/error.c (error_tail): Fix possible buffer overflow.
15461
cabba934
OB
154622013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15463
15464 [BZ #13028]
15465 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15466 address.
15467
94bf958a
PM
154682013-10-14 P. J. McDermott <pj@pehjota.net>
15469
15470 [BZ #832]
15471 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15472 testing pipefail option.
15473
71b4dea7
JM
154742013-10-12 Joseph Myers <joseph@codesourcery.com>
15475
15476 * soft-fp/double.h: Indent preprocessor directives inside #if.
15477 * soft-fp/extended.h: Likewise.
15478 * soft-fp/op-2.h: Likewise.
15479 * soft-fp/op-4.h: Likewise.
15480 * soft-fp/op-common.h: Likewise.
15481 * soft-fp/quad.h: Likewise.
15482 * soft-fp/single.h: Likewise.
15483 * soft-fp/soft-fp.h: Likewise.
15484
55602758
YC
154852013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15486
15487 * iconv/iconv_prog.c: Fix typos.
15488 * stdio-common/psiginfo-data.h: Likewise.
15489
9cd83302
RT
154902013-10-12 Reuben Thomas <rrt@sc3d.org>
15491
15492 [BZ #15764]
15493 * locale/setlocale.c: Fix typo.
15494
99fd9f47
JM
154952013-10-12 Joseph Myers <joseph@codesourcery.com>
15496
b7ea74f0
JM
15497 [BZ #16036]
15498 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15499 signaling NaN arguments.
15500 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15501 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15502
8a509447
JM
15503 [BZ #14910]
15504 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15505 unordered operands.
15506 * soft-fp/gesf2.c (__gesf2): Likewise.
15507 * soft-fp/getf2.c (__getf2): Likewise.
15508 * soft-fp/ledf2.c (__ledf2): Likewise.
15509 * soft-fp/lesf2.c (__lesf2): Likewise.
15510 * soft-fp/letf2.c (__letf2): Likewise.
15511
98998e9f
JM
15512 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15513 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15514 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15515 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15516 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15517 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15518 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15519 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15520 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15521 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15522 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15523 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15524 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15525 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15526 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15527 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15528 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15529 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15530 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15531 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15532 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15533 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15534 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15535 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15536 * soft-fp/floattidf.c (__floattidf): Likewise.
15537 * soft-fp/floattisf.c (__floattisf): Likewise.
15538 * soft-fp/floattitf.c (__floattitf): Likewise.
15539 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15540 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15541 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15542 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15543 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15544 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15545 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15546 * soft-fp/gesf2.c (__gesf2): Likewise.
15547 * soft-fp/getf2.c (__getf2): Likewise.
15548 * soft-fp/ledf2.c (__ledf2): Likewise.
15549 * soft-fp/lesf2.c (__lesf2): Likewise.
15550 * soft-fp/letf2.c (__letf2): Likewise.
15551
8edc4a11
JM
15552 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15553 Undefine and redefine.
15554 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15555 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15556 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15557 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15558 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15559 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15560 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15561 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15562 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15563 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15564 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15565 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15566 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15567 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15568 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15569
8399acaf
JM
15570 [BZ #16032]
15571 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15572 without decrementing exponent if mantissa >= that for the
15573 denominator, not >.
15574 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15575 denominator, not >. Decrement exponent in < case instead of
15576 incrementing in >= case.
15577 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15578 without decrementing exponent if mantissa >= that for the
15579 denominator, not >.
15580
99fd9f47
JM
15581 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15582 computing saturated result for unsigned overflow.
15583
10e1cf6b
SP
155842013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15585 Jeff Law <law@redhat.com>
15586
15587 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15588 (atan2Mp): Add systemtap probe marker.
15589 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15590 (__ieee754_log): Add systemtap probe marker.
15591 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15592 (atanMp): Add systemtap probe marker.
15593 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15594 (tanMp): Add systemtap probe marker.
15595 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15596 (__slowexp): Add systemtap probe marker.
15597 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15598 (__slowpow): Add systemtap probe marker.
15599 * manual/probes.texi: Document probes.
15600
3d110c7c
EB
156012013-10-11 Eric Biggers <ebiggers3@gmail.com>
15602
15603 [BZ #15362]
15604 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15605 written.
15606 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15607 written.
15608 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15609 written to buffer but not flushed.
15610 * libio/iofwrite_u.c: Likewise.
15611 * libio/iopadn.c: Return bytes returned even if EOF was
15612 encountered.
15613 * libio/iowpadn.c: Likewise.
15614 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15615 if _IO_padn does not write the whole buffer.
15616 [!COMPILE_WPRINTF] (PAD): Likewise.
15617
75b4202a
DM
156182013-10-10 David S. Miller <davem@davemloft.net>
15619
15620 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15621 directory block.
15622
6c6352e6
JM
156232013-10-10 Joseph Myers <joseph@codesourcery.com>
15624
33b853c3
JM
15625 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15626 instead of FSF address.
15627 * soft-fp/fixdfti.c: Likewise.
15628 * soft-fp/fixsfti.c: Likewise.
15629 * soft-fp/fixtfti.c: Likewise.
15630 * soft-fp/fixunsdfti.c: Likewise.
15631 * soft-fp/fixunssfti.c: Likewise.
15632 * soft-fp/fixunstfti.c: Likewise.
15633 * soft-fp/floattidf.c: Likewise.
15634 * soft-fp/floattisf.c: Likewise.
15635 * soft-fp/floattitf.c: Likewise.
15636 * soft-fp/floatuntidf.c: Likewise.
15637 * soft-fp/floatuntisf.c: Likewise.
15638 * soft-fp/floatuntitf.c: Likewise.
15639 * soft-fp/trunctfxf2.c: Likewise.
15640
6c6352e6
JM
15641 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15642 * soft-fp/fixdfti.c: Likewise.
15643 * soft-fp/fixsfti.c: Likewise.
15644 * soft-fp/fixtfti.c: Likewise.
15645 * soft-fp/fixunsdfti.c: Likewise.
15646 * soft-fp/fixunssfti.c: Likewise.
15647 * soft-fp/fixunstfti.c: Likewise.
15648 * soft-fp/floattidf.c: Likewise.
15649 * soft-fp/floattisf.c: Likewise.
15650 * soft-fp/floattitf.c: Likewise.
15651 * soft-fp/floatuntidf.c: Likewise.
15652 * soft-fp/floatuntisf.c: Likewise.
15653 * soft-fp/floatuntitf.c: Likewise.
15654 * soft-fp/trunctfxf2.c: Likewise.
15655
3bf78b71
DM
156562013-10-10 David S. Miller <davem@davemloft.net>
15657
15658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15659
6f10289e
JM
156602013-10-10 Joseph Myers <joseph@codsourcery.com>
15661
bd878fc0
JM
15662 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15663 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15664 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15665 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15666 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15667 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15668 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15669
6f10289e
JM
15670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15671 for NaNs before doing comparisons on argument.
15672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15673 Likewise.
15674
321e2684
WN
156752013-10-10 Will Newton <will.newton@linaro.org>
15676
15677 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15678 passed to _int_memalign does not overflow.
15679
40fefba1
TR
156802013-10-10 Torvald Riegel <triegel@redhat.com>
15681
15682 * scripts/bench.pl: Add include-sources directive.
15683 * benchtests/README: Update documentation.
15684
2ae21ed2
JM
156852013-10-10 Joseph Myers <joseph@codesourcery.com>
15686
dcc2dd3f
JM
15687 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15688 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15689 instead of FP_INIT_ROUNDMODE.
15690 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15691 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15692
2ae21ed2
JM
15693 [BZ #16034]
15694 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15695 copy class of input value.
15696 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15697 not handle exceptions.
15698 * soft-fp/negsf2.c (__negsf2): Likewise.
15699 * soft-fp/negtf2.c (__negtf2): Likewise.
15700 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15701
cb8f9562
JM
157022013-10-09 Joseph Myers <joseph@codesourcery.com>
15703
15704 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15705 semicolon. From Linux kernel.
15706
5b60c59d
AB
157072013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15708
15709 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15710
b86835ca
YC
157112013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15712
15713 [BZ #156]
15714 * manual/socket.texi: Added statement about buffer
15715 for gethostbyname2_r.
15716
e7044ea7
OB
157172013-10-08 Ondřej Bílka <neleai@seznam.cz>
15718
15719 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15720 Use .p2align directive instead, throughout.
15721 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15722 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15723 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15724 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15725 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15726 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15727 * sysdeps/x86_64/strchr.S: Likewise.
15728 * sysdeps/x86_64/strrchr.S: Likewise.
15729
09544cbc
SP
157302013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15731
88576635
SP
15732 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15733
e7b2d1dd
SP
15734 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15735
09544cbc
SP
15736 * sysdeps/generic/math_private.h (__mpsin1): Remove
15737 declaration.
15738 (__mpcos1): Likewise.
15739 (__mpsin): New argument __range_reduce.
15740 (__mpcos): Likewise.
15741 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15742 (slow): Use __mpsin and __mpcos.
15743 (slow1): Likewise.
15744 (slow2): Likewise.
15745 (sloww): Likewise.
15746 (sloww1): Likewise.
15747 (sloww2): Likewise.
15748 (bsloww): Likewise.
15749 (bsloww1): Likewise.
15750 (bsloww2): Likewise.
15751 (cslow2): Likewise.
15752 (csloww): Likewise.
15753 (csloww1): Likewise.
15754 (csloww2): Likewise.
15755 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15756 range_reduce. Merge in __mpsin1.
15757 (__mpcos): Likewise.
15758 (__mpsin1): Remove.
15759 (__mpcos1): Likewise.
15760
7602d070
JM
157612013-10-07 Joseph Myers <joseph@codesourcery.com>
15762
15763 * locale/loadlocale.c (_nl_intern_locale_data): Use
15764 LOCFILE_ALIGNED_P.
15765 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15766 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15767 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15768 obstack data is appropriately aligned.
15769 (obstack_int32_grow_fast): Likewise.
15770 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15771 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15772 (add_locale_uint32_array): Likewise.
15773
a357259b
SP
157742013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15775
15776 * benchtests/Makefile: Remove ARGLIST and RET variables.
15777 ($(objpfx)bench-%.c): Pass only function name to the script.
15778 * benchtests/README: Update documentation.
15779 * benchtests/acos-inputs: Add new directives.
15780 * benchtests/acosh-inputs: Likewise.
15781 * benchtests/asin-inputs: Likewise.
15782 * benchtests/asinh-inputs: Likewise.
15783 * benchtests/atan-inputs: Likewise.
15784 * benchtests/atanh-inputs: Likewise.
15785 * benchtests/cos-inputs: Likewise.
15786 * benchtests/cosh-inputs: Likewise.
15787 * benchtests/exp-inputs: Likewise.
15788 * benchtests/log-inputs: Likewise.
15789 * benchtests/pow-inputs: Likewise.
15790 * benchtests/rint-inputs: Likewise.
15791 * benchtests/sin-inputs: Likewise.
15792 * benchtests/sinh-inputs: Likewise.
15793 * benchtests/tan-inputs: Likewise.
15794 * benchtests/tanh-inputs: Likewise.
15795 * scripts/bench.pl: Add support for new directives.
15796
9ec1b13d
AM
157972013-10-07 Alan Modra <amodra@gmail.com>
15798
15799 * README: Fix careless merge.
15800
8b7d57cd
AM
158012013-10-05 Alan Modra <amodra@gmail.com>
15802
15803 * NEWS: Mention powerpc64le support and bugs fixed.
15804 * README: Both big-endian and little-endian powerpc64 supported.
15805
7b7bab13
ST
158062013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15807
57f41c40
AS
15808 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15809 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15810 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15811 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15812
d39baad1
RA
158132013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15814
15815 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15816 match prototype.
15817
cd78f7e7
JM
158182013-10-04 Joseph Myers <joseph@codesourcery.com>
15819
29d73d86
JM
15820 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15821 Move -mhard-float appending from
15822 ports/sysdeps/powerpc/powerpc32/Makefile.
15823 [$(with-fp) = yes] (ASFLAGS): Likewise.
15824 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15825 * sysdeps/powerpc/nofpu: Move directory from
15826 ports/sysdeps/powerpc/nofpu.
15827 * sysdeps/powerpc/soft-fp: Move directory from
15828 ports/sysdeps/powerpc/soft-fp.
15829 * sysdeps/powerpc/powerpc32/405: Move directory from
15830 ports/sysdeps/powerpc/powerpc32/405.
15831 * sysdeps/powerpc/powerpc32/440: Move directory from
15832 ports/sysdeps/powerpc/powerpc32/440.
15833 * sysdeps/powerpc/powerpc32/464: Move directory from
15834 ports/sysdeps/powerpc/powerpc32/464.
15835 * sysdeps/powerpc/powerpc32/476: Move directory from
15836 ports/sysdeps/powerpc/powerpc32/476.
15837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15838 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15840 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15842 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15844 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15846 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15847 * README: Update for powerpc-*-linux-gnu software floating point
15848 support in libc.
15849
e246b347
JM
15850 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15851 case to powerpc/powerpc32*.
15852 * sysdeps/unix/sysv/linux/configure: Regenerated.
15853
89c2003e
JM
15854 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15855 (_FPU_MASK_OM): Define as 0x04.
15856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15858 0x00c10080.
15859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15860 0x0000003c.
15861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15862
cd78f7e7
JM
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15864 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15865 getcontext_e500.
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15867 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15868 setcontext_e500.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15870 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15871 and setcontext_e500.
15872
c755294d
CL
158732013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15874
15875 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15876
e16d221c
SP
158772013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15878
15879 * manual/threads.texi (Default Thread Attributes): Fix typo.
15880
215c7d43
WN
158812013-10-04 Will Newton <will.newton@linaro.org>
15882
15883 * malloc/Makefile: Add tst-memalign.
15884 * malloc/tst-memalign.c: New file.
15885
27d0461b
WN
15886 * malloc/tst-posix_memalign.c: Add comments.
15887 (do_test): Add comments and call free on all potentially
15888 allocated pointers. Add space after cast.
15889
1bc92709
WN
15890 * malloc/tst-pvalloc.c: Add comments.
15891 (do_test): Add comments and call free on all potentially
15892 allocated pointers. Remove duplicate check for NULL pointer.
15893 Add space after cast.
15894
66a9be9d
WN
15895 * malloc/tst-valloc.c: Add comments.
15896 (do_test): Add comments and call free on all potentially
15897 allocated pointers. Remove duplicate check for NULL pointer.
15898 Add space after cast.
15899
4cb81307
AM
159002013-10-04 Alan Modra <amodra@gmail.com>
15901
15902 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15903 Use stdint types in rather than __attribute__((mode())).
15904 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15905
f8e3e9f3
AM
159062013-10-04 Alan Modra <amodra@gmail.com>
15907
15908 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15909 Correct handling of unaligned relocs for little-endian.
15910 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15911
8f9ebb08
AM
159122013-10-04 Alan Modra <amodra@gmail.com>
15913
15914 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15915 * configure: Regenerate.
15916 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15917 * shlib-versions: Likewise.
15918
0edf96c2
AM
159192013-10-04 Alan Modra <amodra@gmail.com>
15920
15921 * string/tester.c (test_memrchr): Increment reported test cycle.
15922
e0f7a380
AM
159232013-10-04 Alan Modra <amodra@gmail.com>
15924
15925 * string/test-memcpy.c (do_one_test): When reporting errors, print
15926 string address and don't overrun end of string.
15927
466b0393
AM
159282013-10-04 Alan Modra <amodra@gmail.com>
15929
15930 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15931 insrdi. Make better use of reg selection to speed exit slightly.
15932 Schedule entry path a little better. Remove useless "are we done"
15933 checks on entry to main loop. Handle wrapping around zero address.
15934 Correct main loop count. Handle single left-over word from main
15935 loop inline rather than by using loop_small. Remove extra word
15936 case in loop_small caused by wrong loop count. Add little-endian
15937 support.
15938 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15939 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15940 cache hint.
15941 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15942 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15943 support. Avoid rlwimi.
15944 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15945
3be87c77
AM
159462013-10-04 Alan Modra <amodra@gmail.com>
15947
15948 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15949 insrdi. Formatting.
3be87c77
AM
15950 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15951 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15952 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15953 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15954 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15955 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15956
759cfef3
AM
159572013-10-04 Alan Modra <amodra@gmail.com>
15958
15959 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15960 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15961 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15962 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15963 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15964 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15965 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15966 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15967 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15968 use of regs. Use power7 mtocrf. Tidy function tails.
15969
fe6e95d7
AM
159702013-10-04 Alan Modra <amodra@gmail.com>
15971
15972 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15973 Formatting. Consistently use rXXX register defines or rN defines.
15974 Use early exit labels that avoid restoring unused non-volatile regs.
15975 Make cr field use more consistent with rWORDn compares. Rename
15976 regs used as shift registers for unaligned loop, using rN defines
15977 for short lifetime/multiple use regs.
15978 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15979 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15980 addi 1,1,64 to pop stack frame. Simplify return value code.
15981 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15982
664318c3
AM
159832013-10-04 Alan Modra <amodra@gmail.com>
15984
15985 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15986 support. Correct typos, formatting. Optimize tail. Use insrdi
15987 rather than rlwimi.
15988 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15989 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15990 little-endian support. Correct typos.
15991 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15992 rather than rlwimi.
15993 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15994 in loop and entry code to keep "and." results.
15995 (strchr): Add little-endian support. Comment. Move cntlzd
15996 earlier in tail.
15997 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15998
43b84013
AM
159992013-10-04 Alan Modra <amodra@gmail.com>
16000
16001 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16002 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16003 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16004 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16005
8a7413f9
AM
160062013-10-04 Alan Modra <amodra@gmail.com>
16007
16008 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16009 (rTMP): Define as r11.
16010 (strcmp): Add little-endian support. Optimise tail.
16011 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16012 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16013 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16014 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16015 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16016 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16017 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16018
33ee81de
AM
160192013-10-04 Alan Modra <amodra@gmail.com>
16020
16021 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16022 little-endian support. Remove unnecessary "are we done" tests.
16023 Handle "s" wrapping around zero and extremely large "size".
16024 Correct main loop count. Handle single left-over word from main
16025 loop inline rather than by using small_loop. Correct comments.
16026 Delete "zero" tail, use "end_max" instead.
16027 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16028
db9b4570
AM
160292013-10-04 Alan Modra <amodra@gmail.com>
16030
16031 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16032 support. Don't branch over align.
16033 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16034 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16035 support. Rearrange tmp reg use to suit. Comment.
16036 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16037
f7c399cf
AM
160382013-10-04 Alan Modra <amodra@gmail.com>
16039
16040 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16041
0b2c2ace
AM
160422013-10-04 Alan Modra <amodra@gmail.com>
16043
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16045 conditional form of branch and link when obtaining pc.
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16047
02f04a6c
AM
160482013-10-04 Alan Modra <amodra@gmail.com>
16049
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16051 HIWORD/LOWORD.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16054
9b874b2f
AM
160552013-10-04 Alan Modra <amodra@gmail.com>
16056
16057 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16058 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16059 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16060 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16061 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16062 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16063 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16064 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16065 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16066 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16067
be1e5d31
AB
160682013-10-04 Anton Blanchard <anton@au1.ibm.com>
16069 Alistair Popple <alistair@ozlabs.au.ibm.com>
16070 Alan Modra <amodra@gmail.com>
16071
16072 [BZ #15723]
16073 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16074 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16075 _dl_hwcap access for little-endian.
16076 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16077 destroy vmx regs when saving unaligned.
16078 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16079 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16080 destroy vmx regs when saving unaligned.
16081
fef13a78
AM
160822013-10-04 Alan Modra <amodra@gmail.com>
16083
16084 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16085 Don't use a union to pack hi/low value.
16086
76a66d51
AB
160872013-10-04 Anton Blanchard <anton@au1.ibm.com>
16088
16089 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16090 for little-endian.
16091 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16092 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16093 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16094 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16095 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16096
6a31fe7f
AM
160972013-10-04 Alan Modra <amodra@gmail.com>
16098
16099 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16100 constants to usual value for .cst8 section, and remove redundant
16101 high address load.
16102 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16103 constant for 0x1p52. Load little-endian words of double from
16104 correct stack offsets.
16105
7b88401f
AM
161062013-10-04 Alan Modra <amodra@gmail.com>
16107
16108 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16109 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16110 words of double from correct stack offsets.
16111 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16112 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16113 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16114 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16115 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16116 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16117 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16118 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16119 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16120 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16121 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16122 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16123 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16124 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16125 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16126 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16127 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16128
9c008155
AM
161292013-10-04 Alan Modra <amodra@gmail.com>
16130
16131 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16132 64-bit int/double union.
16133 (_FPU_SETCW): Likewise.
16134 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16135 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16136
da13146d
AM
161372013-10-04 Alan Modra <amodra@gmail.com>
16138
16139 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16140 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16141
603e8410
AM
161422013-10-04 Alan Modra <amodra@gmail.com>
16143
16144 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16145 use vector int constants.
16146 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16147
4a28b3ca
AB
161482013-10-04 Anton Blanchard <anton@au1.ibm.com>
16149
16150 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16151 array with long long.
16152 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16153 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16154 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16155 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16156 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16157 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16158 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16159 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16160 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16161 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16162 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16163 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16164 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16165
2ca85d2b
AB
161662013-10-04 Anton Blanchard <anton@au1.ibm.com>
16167
16168 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16169 (__signbit): Likewise. Correct for little-endian.
16170 (__signbitl): Call __signbit.
16171 (lrint): Correct for little-endian.
16172 (lrintf): Call lrint.
16173
62a728ae
AM
161742013-10-04 Alan Modra <amodra@gmail.com>
16175
16176 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16177 union 32-bit int array member with 64-bit int array.
16178 (t515, tm256): Double rather than long double.
16179 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16180
32c301df
AM
161812013-10-04 Alan Modra <amodra@gmail.com>
16182
16183 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16184 Delete.
16185 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16187 version of math_ldbl.h.
16188
650ef4bd
AM
161892013-10-04 Alan Modra <amodra@gmail.com>
16190
16191 [BZ #15734], [BZ #15735]
16192 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16193 all uses of ieee875 long double macros and unions. Simplify test
16194 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16195 ldbl_extract_mantissa value for ix,iy exponents. Properly
16196 normalize after ldbl_extract_mantissa, and don't add hidden bit
16197 already handled. Don't treat low word of ieee854 mantissa like
16198 low word of IBM long double and mask off bit when testing for
16199 zero.
16200 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16201 all uses of ieee875 long double macros and unions. Simplify tests
16202 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16203 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16204 two1022, instead use their values. Recognise that tests for large
16205 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16206 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16207 Rewrite all uses of ieee875 long double macros and unions. Simplify
16208 test for 0.0L and nan. Correct negation.
16209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16210 ieee875 long double macros and unions. Correct output for large
16211 magnitude x. Correct absolute value calculation.
16212 (__erfcl): Likewise.
16213 * math/libm-test.inc: Add tests for errors discovered in IBM long
16214 double versions of fmodl, remainderl, erfl and erfcl.
16215
765714ca
AM
162162013-10-04 Alan Modra <amodra@gmail.com>
16217
16218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16219 all uses of ieee854 long double macros and unions. Simplify tests
16220 for long doubles that are fully specified by the high double.
16221 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16222 Likewise.
16223 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16224 Remove dead code too.
16225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16226 (__ieee754_ynl): Likewise.
16227 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16228 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16229 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16230 Remove dead code too.
16231 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16232 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16233 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16234 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16235 Simplify.
16236 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16237 Simplify.
16238 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16239 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16240 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16241 Comment on variable precision.
16242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16243 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16244 Likewise.
16245 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16246 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16247 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16248 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16249 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16250
4ebd120c
AM
162512013-10-04 Alan Modra <amodra@gmail.com>
16252
16253 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16254 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16255 all uses of ieee854 long double macros and unions.
16256 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16258 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16259 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16260 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16261 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16262 Likewise.
16263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16266 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16267 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16268 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16269 Simplify sign and nan test too.
16270 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16271 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16272 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16273 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16274 Likewise.
16275 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16276 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16277 Likewise.
16278 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16279 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16280 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16281 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16282 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16283 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16284
1b6adf88
AM
162852013-10-04 Alan Modra <amodra@gmail.com>
16286
16287 * stdio-common/printf_size.c (__printf_size): Don't use
16288 union ieee854_long_double in fpnum union.
16289 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16290 signbit macro to retrieve sign from long double.
16291 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16292 retrieve sign from long double.
16293 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16294 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16295 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16296 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16297 * math/test-misc.c (main): Don't use union ieee854_long_double.
16298
4cf69995
AM
162992013-10-04 Alan Modra <amodra@gmail.com>
16300
16301 [BZ #15680]
16302 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16303 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16304 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16305 calculation. Remove unnecessary test for denormal exponent.
16306 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16307 Correct handling of denormals. Avoid undefined shift behaviour.
16308 Correct normalisation of low mantissa when low double is denormal.
16309 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16310 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16311 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16312 Correct normalisation of low mantissa. Test for overflow of high
16313 mantissa and normalise.
16314 (ldbl_nearbyint): Use more readable constant for two52.
16315 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16316 (__mpn_construct_long_double): Fix test for overflow of high
16317 mantissa and correct normalisation. Avoid undefined shift.
16318
9605ca6c
AM
163192013-10-04 Alan Modra <amodra@gmail.com>
16320
16321 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16322 (union ibm_extended_long_double): Define as an array of ieee754_double.
16323 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16324 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16325 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16326 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16330 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16334
975569d0
JM
163352013-10-03 Joseph Myers <joseph@codesourcery.com>
16336
d3d23756
JM
16337 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16338 page size instead of calling getpagesize.
16339
975569d0
JM
16340 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16341 (LOCFILE_ALIGN_MASK): Likewise.
16342 (LOCFILE_ALIGN_UP): Likewise.
16343 (LOCFILE_ALIGNED_P): Likewise.
16344 * locale/programs/ld-collate.c (collate_output): Use the new
16345 macros instead of __alignof__ (int32_t).
16346 * locale/weight.h (findidx): Likewise.
16347
b1fe1f2b
OB
163482013-10-03 Ondřej Bílka <neleai@seznam.cz>
16349
16350 [BZ #431]
16351 * manual/string.texi: Fix strncat and wcsncat.
16352
5f855e35
BM
163532013-10-03 Brooks Moses <bmoses@google.com>
16354
16355 [BZ #15915]
16356 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16357 * Makerules: ...here, and adjust associated comments.
16358
3cef6009
WN
163592013-10-02 Will Newton <will.newton@linaro.org>
16360
16361 * malloc/Makefile: Add tst-pvalloc.
16362 * malloc/tst-pvalloc.c: New file.
16363
7815420b
WN
163642013-10-02 Will Newton <will.newton@linaro.org>
16365
16366 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16367 improve test coverage.
16368
4868b204
WN
163692013-10-02 Will Newton <will.newton@linaro.org>
16370
16371 * malloc/Makefile: Add tst-posix_memalign.
16372 * malloc/tst-posix_memalign.c: New file.
16373
29c793b3
EB
163742013-10-01 Eric Blake <eblake@redhat.com>
16375
16376 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16377 Use __THROWNL rather than __THROW on static functions.
16378
fd967522
PM
163792013-09-30 Petr Machata <pmachata@redhat.com>
16380
16381 * elf/elf.h (R_AARCH64_ABS16): New macro.
16382 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16383 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16384 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16385 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16386 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16387 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16388 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16389 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16390 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16391 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16392 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16393 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16394 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16395 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16396 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16397 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16398 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16399 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16400 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16401 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16402 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16403 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16404 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16405 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16406 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16407 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16408 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16409 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16410 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16411 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16412 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16413 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16414 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16415 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16416 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16417 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16418 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16419 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16420 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16421 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16422 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16423 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16424 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16425 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16426 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16427 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16428 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16429 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16430 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16431 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16432 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16433 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16434 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16435 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16436 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16437 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16438 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16439 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16440 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16441 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16442 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16443 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16444 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16445 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16446 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16447 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16448 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16449 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16450 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16451 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16452 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16453 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16454 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16455 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16456 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16457 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16458 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16459 (R_AARCH64_TLSDESC_LDR): Likewise.
16460 (R_AARCH64_TLSDESC_ADD): Likewise.
16461 (R_AARCH64_TLSDESC_CALL): Likewise.
16462
b2179107
AS
164632013-09-30 Andreas Schwab <schwab@suse.de>
16464
16465 [BZ #15048]
16466 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16467 the nss database lookup.
16468 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16470
47f28d0a
MF
164712013-09-28 Mike Frysinger <vapier@gentoo.org>
16472
16473 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16474
164752013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16476
16477 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16478 ${Bash-specific parameter/pattern/string} parameter expansion.
16479 * sysdeps/unix/make-syscalls.sh: Likewise.
16480
f4518a17
KK
164812013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16482
16483 * sysdeps/sh/stackguard-macros.h: New file.
16484
dc1a95c7
OB
164852013-09-26 Ondřej Bílka <neleai@seznam.cz>
16486
16487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16488 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16489 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16490 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16491 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16492 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16493
5ebbff8f
AZ
164942013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16495
16496 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16497 Fix thread ID register.
16498
4fd2cf9f
JM
164992013-09-25 Joseph Myers <joseph@codesourcery.com>
16500
16501 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16502 [POSIX || UNIX98]: Require rather than permitting all symbols from
16503 <time.h>.
16504 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16505 element of struct sched_param.
16506 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16507 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16508 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16509 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16510 constant.
16511
12c22bc4
OL
165122013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16513
16514 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16515 argument calculation.
16516
a03d8ea7
JM
165172013-09-24 Joseph Myers <joseph@codesourcery.com>
16518
16519 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16520 Expect macro.
16521 [POSIX] (pthread_attr_t): Do not require type.
16522 [POSIX] (pthread_cond_t): Likewise.
16523 [POSIX] (pthread_condattr_t): Likewise.
16524 [POSIX] (pthread_key_t): Likewise.
16525 [POSIX] (pthread_mutex_t): Likewise.
16526 [POSIX] (pthread_mutexattr_t): Likewise.
16527 [POSIX] (pthread_once_t): Likewise.
16528 [POSIX] (pthread_t): Likewise.
16529 [POSIX-based standards] (pthread_atfork): Expect function.
16530
6055173a
JM
165312013-09-24 Joseph Myers <joseph@codesourcery.com>
16532 Richard Sandiford <richard@codesourcery.com>
16533
16534 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16535 (swap_endianness_p): New extern variable.
16536 (set_big_endian): New inline function.
16537 (maybe_swap_uint32): Likewise.
16538 (maybe_swap_uint32_array): Likewise.
16539 (maybe_swap_uint32_obstack): Likewise.
16540 * locale/programs/locfile.c: Include <stdbool.h>.
16541 (swap_endianness_p): New variable.
16542 (add_locale_uint32): Call maybe_swap_uint32.
16543 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16544 (write_locale_data): Call maybe_swap_uint32_array.
16545 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16546 maybe_swap_uint32.
16547 (obstack_int32_grow_fast): Likewise.
16548 (output_weightwc): Call maybe_swap_uint32_obstack.
16549 (collate_output): Likewise.
16550 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16551 (OPT_LITTLE_ENDIAN): Likewise.
16552 (options): Add --little-endian and --big-endian options.
16553 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16554 * locale/programs/locarchive.c: Include "locfile.h".
16555 (GET): New macro.
16556 (SET): Likewise.
16557 (INC): Likewise.
16558 (create_archive): Use the new macros to access fields of
16559 structures directly mapped from or written to locale archives.
16560 (oldlocrecentcmp): Likewise.
16561 (enlarge_archive): Likewise.
16562 (insert_name): Likewise.
16563 (add_alias): Likewise.
16564 (add_locale): Likewise.
16565 (delete_locales_from_archive): Likewise.
16566 (show_archive_content): Likewise.
16567 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16568 locale data.
16569
39bf0bb4
RM
165702013-09-24 Roland McGrath <roland@hack.frob.com>
16571
16572 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16573 http://www.gnu.org/doc/freemanuals.texi.
16574 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16575
f02eed10
WN
165762013-09-24 Will Newton <will.newton@linaro.org>
16577
16578 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16579 macro.
16580
a3a6c312
JM
165812013-09-23 Joseph Myers <joseph@codesourcery.com>
16582
16583 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16584 unsigned char.
16585
107375ac
MR
165862013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16587
16588 * manual/threads.texi (POSIX Threads): Fix a typo.
16589
141f3a77
SP
165902013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16591
303e567a
SP
16592 [BZ #14547]
16593 * string/tst-strcoll-overflow.c: New test case.
16594 * string/Makefile (xtests): Add tst-strcoll-overflow.
16595 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16596 cache if string sizes may cause integer overflow.
16597
141f3a77
SP
16598 [BZ #14547]
16599 * string/strcoll_l.c (coll_seq): New members rule, idx,
16600 save_idx and back_us.
16601 (get_next_seq_nocache): New function.
16602 (do_compare_nocache): New function.
16603 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16604 when malloc fails.
16605
c61b4d41
CD
166062013-09-23 Carlos O'Donell <carlos@redhat.com>
16607
0b1f8e35
CD
16608 [BZ #15754]
16609 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16610 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16611 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16612
c61b4d41
CD
16613 [BZ #15754]
16614 * elf/Makefile (tests): Add tst-ptrguard1.
16615 (tests-static): Add tst-ptrguard1-static.
16616 (tst-ptrguard1-ARGS): Define.
16617 (tst-ptrguard1-static-ARGS): Define.
16618 * elf/tst-ptrguard1.c: New file.
16619 * elf/tst-ptrguard1-static.c: New file.
16620 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16621 * sysdeps/i386/stackguard-macros.h: Likewise.
16622 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16623 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16624 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16625 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16626 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16627 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16628
166292013-09-23 Hector Marco <hecmargi@upv.es>
16630 Ismael Ripoll <iripoll@disca.upv.es>
16631 Carlos O'Donell <carlos@redhat.com>
16632
16633 [BZ #15754]
16634 * sysdeps/generic/stackguard-macros.h: Define
16635 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16636 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16637 Define __pointer_chk_guard_local.
16638 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16639 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16640
f5f4e7b4
VV
166412013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16642
16643 [BZ #15859]
16644 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16645
5bb43a43
AS
166462013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16647
16648 * include/string.h (__ffs): Declare as hidden.
16649 * string/ffs.c (__ffs): Define as hidden.
16650 * sysdeps/i386/ffs.c (__ffs): Likewise.
16651 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16652 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16653 * sysdeps/s390/ffs.c (__ffs): Likewise.
16654 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16655
3ea5be54
AO
166562013-09-20 Alexandre Oliva <aoliva@redhat.com>
16657
ffb89e53
AO
16658 * NEWS: Mention malloc probes.
16659
322dea08
AO
16660 * malloc/arena.c (new_heap): New memory_heap_new probe.
16661 (grow_heap): New memory_heap_more probe.
16662 (shrink_heap): New memory_heap_less probe.
16663 (heap_trim): New memory_heap_free probe.
16664 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16665 (systrim): New memory_sbrk_less probe.
16666 * manual/probes.texi: Document them.
16667
655673f3
AO
16668 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16669 * manual/probes.texi: Document it.
16670
35fed6f1
AO
16671 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16672 (__libc_realloc): Add memory_realloc_retry probe.
16673 (__libc_memalign): Add memory_memalign_retry probe.
16674 (__libc_valloc): Add memory_valloc_retry probe.
16675 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16676 (__libc_calloc): Add memory_calloc_retry probe.
16677 * manual/probes.texi: Document them.
16678
6999d38c
AO
16679 * malloc/arena.c (get_free_list): Add probe
16680 memory_arena_reuse_free_list.
16681 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16682 and memory_arena_reuse.
16683 (arena_get2) [!PER_THREAD]: Likewise.
16684 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16685 memory_arena_reuse_realloc.
16686 * manual/probes.texi: Document them.
16687
0653427f
AO
16688 * malloc/malloc.c (__libc_free): Add
16689 memory_mallopt_free_dyn_thresholds probe.
16690 (__libc_mallopt): Add multiple memory_mallopt probes.
16691 * manual/probes.texi: Document them.
16692
3ea5be54
AO
16693 * malloc/malloc.c: Include stap-probe.h.
16694 (__libc_mallopt): Add memory_mallopt probe.
16695 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16696 * manual/probes.texi: New.
16697 * manual/Makefile (chapters): Add probes.
16698 * manual/threads.texi: Set next node.
16699
e35696c3 167002013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16701
e35696c3
CL
16702 [BZ #15963, #13985]
16703 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16704 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16705 Add `Chinese' to `nan' entry name.
16706
4aafb73c
SP
167072013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16708
16709 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16710 (POLYNOMIAL): Likewise.
16711 (TAYLOR_SINCOS): Likewise.
16712 (TAYLOR_SLOW): Likewise.
16713 (__sin): Use TAYLOR_SINCOS.
16714 (__cos): Likewise.
16715 (slow): Use TAYLOR_SLOW.
16716 (sloww): Likewise.
16717 (bsloww): Likewise.
16718 (csloww): Likewise.
16719
d84f25c7
LD
167202013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16721
16722 * stdlib/strtod_l.c: Fix buffer overrun.
16723
5eea0404
SP
167242013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16725
7849ff93
SP
16726 * benchtests/Makefile (bench): Add sincos.
16727 * benchtests/bench-sincos.c: New file.
16728
cfa3c886
SP
16729 * math/libm-test.inc (cos_test_data): New test inputs.
16730 (sin_test_data): Likewise.
16731
b348e1e3
SP
16732 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16733 macro.
16734 (__sin): Use it.
16735 (__cos): Likewise.
16736 (slow1): Likewise.
16737 (slow2): Likewise.
16738 (sloww1): Likewise.
16739 (sloww2): Likewise.
16740 (bsloww1): Likewise.
16741 (bsloww2): Likewise.
16742 (cslow2): Likewise.
16743 (csloww1): Likewise.
16744 (csloww2): Likewise.
16745
6cce25f8
SP
16746 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16747 function.
16748 (__sin): Use it.
16749 (__cos): Likewise.
16750
5eea0404
SP
16751 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16752 gotos.
16753 (__cos): Likewise.
16754
9c21573c
MR
167552013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16756
16757 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16758 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16759 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16760 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16761 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16762 * elf/cache.c (print_entry): Handle the new cache flags.
16763
24d22e65
JM
167642013-09-18 Joseph Myers <joseph@codesourcery.com>
16765 Aldy Hernandez <aldyh@redhat.com>
16766
16767 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16768 Change condition to [_SOFT_FLOAT].
16769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16776 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16778 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16781 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16784 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16785 declaration.
16786
d13ef066
JM
167872013-09-18 Joseph Myers <joseph@codesourcery.com>
16788
2e071de0
JM
16789 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16790 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16791 (__longjmp): Use LOAD_GP to load saved GPRs.
16792 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16793 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16794 (__sigsetjmp): Use SAVE_GP to save GPRs.
16795
d13ef066
JM
16796 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16797 Do not append -msoft-float.
16798 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16799
97a0650b
SP
168002013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16801
16802 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16803
11ca09e9
JM
168042013-09-17 Joseph Myers <joseph@codesourcery.com>
16805
16806 [BZ #15966]
16807 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16808 (_FPU_GETCW): Use initial "__" on variable and field names but not
16809 on macro parameter name.
16810 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16811 parentheses around reference to macro parameter.
16812
08ffcf34
RS
168132013-09-13 Richard Sandiford <richard@codesourcery.com>
16814
16815 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16816 prototype.
16817 (ctype_startup): Use uint32_t in cast and sizeof for
16818 ctype->charnames.
16819
ae7080d3
JL
168202013-09-11 Jia Liu <proljc@gmail.com>
16821
16822 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16823 __daddr_t_defined.
16824 [__FreeBSD__]: Likewise.
16825
5905e7b3
OB
168262013-09-11 Ondřej Bílka <neleai@seznam.cz>
16827
16828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16829 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16830 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16831 (strchr): Remove __strchr_sse42 ifunc selection.
16832 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16833 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16834
b987c776
WN
168352013-09-11 Will Newton <will.newton@linaro.org>
16836
16837 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16838 parameter to RES. Remove hardcoded 1000 value.
16839 * benchtests/bench-skeleton.c (main): Pass RES parameter
16840 to TIMING_INIT and multiply result by 1000.
16841
ddf985af
AZ
168422013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16843
16844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16845
ffdd3181
AS
168462013-09-11 Andreas Schwab <schwab@suse.de>
16847
16848 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16849 if not defined.
16850 (O_TMPFILE) [__USE_GNU]: Define.
16851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16852 Define.
16853
b73ed247
WN
168542013-09-11 Will Newton <will.newton@linaro.org>
16855
16856 [BZ #15857]
16857 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16858 does not overflow.
16859
55e17aad
WN
168602013-09-11 Will Newton <will.newton@linaro.org>
16861
16862 [BZ #15856]
16863 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16864 does not overflow.
16865
1159a193
WN
168662013-09-11 Will Newton <will.newton@linaro.org>
16867
16868 [BZ #15855]
16869 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16870 does not overflow.
16871
5905e7b3 168722013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16873
16874 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16875 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16876 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16877 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16878 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16879
cdfc721b
AM
168802013-09-10 Allan McRae <allan@archlinux.org>
16881
aa04af00
AM
16882 [BZ #15748]
16883 * manual/arith.texi (Parsing of Floats): Clarify
16884 cross-reference.
16885
cdfc721b
AM
16886 [BZ #15849]
16887 * manual/install.texi (Running make install): Mention
16888 --enable-pt-chown.
16889 * INSTALL: Regenerated.
16890
95e7cf29
MR
168912013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16892
16893 * csu/init-first.c (_init): Remove the !SHARED condition around
16894 FPU control word initialization.
16895 * elf/dl-support.c (_dl_fpu_control): New variable.
16896 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16897 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16898 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16899 * math/test-fpucw-static.c: New file.
16900 * math/test-fpucw-ieee.c: New file.
16901 * math/test-fpucw-ieee-static.c: New file.
16902 * math/Makefile (tests): Add `test-fpucw-ieee' and
16903 `$(tests-static)'.
16904 (tests-static): New variable.
16905 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16906 dependency to...
16907 [($(build-shared),yes)]
16908 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16909 ... this.
16910 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16911 New dependency.
16912
83e43bf0
AM
169132013-09-09 Allan McRae <allan@archlinux.org>
16914
a9f5ce09
AM
16915 [BZ #15939]
16916 * manual/string.texi (Collation Functions): Fix typo in
16917 strcoll example.
16918 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16919
34829bc2
AM
16920 [BZ #15893]
16921 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16922
3932737d
AM
16923 [BZ #15892]
16924 * libio/memstream.c (open_memstream): Fix memory leak.
16925 * libio/wmemstream.c (open_wmemstream): Likewise.
16926
83e43bf0
AM
16927 [BZ #15895]
16928 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16929
0c66b8e9
WN
169302013-09-09 Will Newton <will.newton@linaro.org>
16931
16932 * malloc/Makefile: Add tst-realloc to tests.
16933 * malloc/tst-realloc.c: New file.
16934
f6b00fd1
AM
169352013-09-09 Allan McRae <allan@archlinux.org>
16936
16937 [BZ #15844]
16938 * COPYING: Update from GNU website to fix FSF address.
16939 * COPYING.LIB: Likewise.
16940
eec55e16
DM
169412013-09-06 David S. Miller <davem@davemloft.net>
16942
16943 * po/zh_TW.po: Update Chinese (traditional) translation from
16944 translation project.
16945
1ecbb381
RS
169462013-09-06 Richard Sandiford <richard@codesourcery.com>
16947 Joseph Myers <joseph@codesourcery.com>
16948
16949 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16950 "localeinfo.h".
16951 (obstack_chunk_alloc): New macro.
16952 (obstack_chunk_free): Likewise.
16953 (record_offset): New function.
16954 (init_locale_data): Likewise.
16955 (align_locale_data): Likewise.
16956 (add_locale_empty): Likewise.
16957 (add_locale_raw_data): Likewise.
16958 (add_locale_raw_obstack): Likewise.
16959 (add_locale_string): Likewise.
16960 (add_locale_wstring): Likewise.
16961 (add_locale_uint32): Likewise.
16962 (add_locale_uint32_array): Likewise.
16963 (add_locale_char): Likewise.
16964 (start_locale_structure): Likewise.
16965 (end_locale_structure): Likewise.
16966 (start_locale_prelude): Likewise.
16967 (end_locale_prelude): Likewise.
16968 (write_locale_data): Take locale_file structure rather than an
16969 iovec.
16970 * locale/programs/locfile.h: Include "obstack.h".
16971 (struct locale_file): Change to store locale file contents instead
16972 of header.
16973 (init_locale_data): New prototype.
16974 (align_locale_data): Likewise.
16975 (add_locale_empty): Likewise.
16976 (add_locale_raw_data): Likewise.
16977 (add_locale_raw_obstack): Likewise.
16978 (add_locale_string): Likewise.
16979 (add_locale_wstring): Likewise.
16980 (add_locale_uint32): Likewise.
16981 (add_locale_uint32_array): Likewise.
16982 (add_locale_char): Likewise.
16983 (start_locale_structure): Likewise.
16984 (end_locale_structure): Likewise.
16985 (start_locale_prelude): Likewise.
16986 (end_locale_prelude): Likewise.
16987 (write_locale_data): Update prototype.
16988 * locale/programs/3level.h (struct TABLE): Remove result field.
16989 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16990 Use new locale_file interface.
16991 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16992 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16993 * locale/programs/ld-address.c (address_output): Use new
16994 locale_file interface.
16995 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16996 NO_ADD_LOCALE.
16997 (collate_finish): Don't call collseq_table_finalize.
16998 (collate_output): Use new locale_file interface.
16999 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17000 in file.
17001 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17002 (TABLE): Move defines earlier in file.
17003 (ELEMENT): Likewise.
17004 (DEFAULT): Likewise.
17005 (wctrans_table_add): Move macro and inline function earlier in
17006 file.
17007 (struct wctype_table): Move type earlier in file.
17008 (add_locale_wctype_table): New static prototype.
17009 (struct locale_ctype_t): Use logical types instead of struct iovec
17010 pointers for members.
17011 (ctype_output): Use new locale_file interface.
17012 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17013 new locale_file interface.
17014 (allocate_arrays): Update for use of new locale_file interface.
17015 * locale/programs/ld-identification.c (identification_output): Use
17016 new locale_file interface.
17017 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17018 * locale/programs/ld-messages.c (messages_output): Likewise.
17019 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17020 * locale/programs/ld-name.c (name_output): Likewise.
17021 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17022 * locale/programs/ld-paper.c (paper_output): Likewise.
17023 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17024 * locale/programs/ld-time.c (time_output): Likewise.
17025
e029e2e5
AZ
170262013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17027
17028 * benchtests/Makefile: Add memrchr benchmark.
17029 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17030 benchmark as memrchr.
17031 * benchtests/bench-memrchr-ifunc.c: New file.
17032 * benchtests/bench-memrchr.c: New file.
17033
bbf6e8e4
WN
170342013-09-06 Will Newton <will.newton@linaro.org>
17035
17036 * benchtests/Makefile (string-bench): Add memcpy.
17037
6c82a2f8
CD
170382013-09-05 Carlos O'Donell <carlos@redhat.com>
17039 Cong Wang <amwang@redhat.com>
17040
e732c5f0 17041 [BZ #15850]
6c82a2f8
CD
17042 * sysdeps/unix/sysv/linux/bits/in.h
17043 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17044 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17045 before __USE_KERNEL_IPV6_DEFS uses.
17046 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17047 IPPROTO_BEETPH.
17048 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17049 sockaddr_in6, or ipv6_mreq.
17050
5430fc65
AZ
170512013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17052
17053 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17054 memory access for final bytes in some large inputs.
17055 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17056
4660856c
AZ
170572013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17058
17059 * string/test-memrchr.c: New file.
17060 * string/test-memrchr-ifunc.c: New file.
17061 * string/Makefile: Add new memrchr testcase.
17062
bb8ea713
MF
170632013-09-05 Mike Frysinger <vapier@gentoo.org>
17064
17065 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17066 fanotify_init returns EPERM.
17067
b92a20b5
JM
170682013-09-04 Joseph Myers <joseph@codesourcery.com>
17069
17070 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17071 errors.
17072 (top level): Treat second token from macro or constant entries for
17073 allowed headers as allowed.
17074 * include/complex.h: Condition internal declarations on
17075 [!_ISOMAC].
17076 * include/fenv.h: Condition include of <stdbool.h> and internal
17077 declarations on [!_ISOMAC].
7447ccd9
CL
17078
170792013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17080
3e181dda 17081 [BZ #15923]
7447ccd9
CL
17082 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17083
3f2e46a4
JM
170842013-09-04 Joseph Myers <joseph@codesourcery.com>
17085
17086 * configure.in (--enable-versioning): Remove configure option.
17087 (libc_cv_asm_symver_directive): Remove configure test.
17088 (libc_cv_ld_version_script_option): Likewise.
17089 (VERSIONING): Remove variable and AC_SUBST.
17090 (DO_VERSIONING): Remove AC_DEFINE.
17091 * configure: Regenerated.
17092 * config.h.in (DO_VERSIONING): Remove macro.
17093 * Makerules [$(versioning) = yes]: Change conditionals to
17094 [$(build-shared) = yes].
17095 * config.make.in (versioning): Remove variable.
17096 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17097 [$(build-shared) = yes].
17098 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17099 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17100 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17101 [$(build-shared) = yes].
17102 * extra-lib.mk [$(versioning) = yes]: Likewise.
17103 * hurd/Makefile [$(versioning) = yes]: Likewise.
17104 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17105 [SHARED].
17106 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17107 [SHARED].
17108 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17109 [SHARED && !NO_HIDDEN].
17110 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17111 [SHARED].
17112 [SHARED && DO_VERSIONING]: Likewise..
17113 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17114 [$(build-shared) = yes].
17115 * manual/install.texi (--disable-versioning): Remove
17116 documentation.
17117 * INSTALL: Regenerated.
17118 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17119 to [SHARED].
17120 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17121 [$(build-shared) = yes].
17122 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17123 * sysdeps/i386/i686/multiarch/strstr-c.c
17124 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17125 [SHARED && !NO_HIDDEN].
17126 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17127 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17128 * sysdeps/powerpc/powerpc32/dl-machine.c
17129 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17130 * sysdeps/powerpc/powerpc32/sysdep.h
17131 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17132 to [SHARED && PIC && !NO_HIDDEN].
17133 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17134 conditional to [SHARED].
17135
44558701
WN
171362013-09-04 Will Newton <will.newton@linaro.org>
17137
17138 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17139 * benchtests/bench-string.h: Include bench-timing.h instead
17140 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17141 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17142 call to HP_TIMING_DIFF_INIT.
17143 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17144 instead of hp-timing.h macros.
17145 * benchtests/bench-memchr.c: Likewise.
17146 * benchtests/bench-memcmp.c: Likewise.
17147 * benchtests/bench-memcpy.c: Likewise.
17148 * benchtests/bench-memmem.c: Likewise.
17149 * benchtests/bench-memmove.c: Likewise.
17150 * benchtests/bench-memset.c: Likewise.
17151 * benchtests/bench-rawmemchr.c: Likewise.
17152 * benchtests/bench-strcasecmp.c: Likewise.
17153 * benchtests/bench-strcasestr.c: Likewise.
17154 * benchtests/bench-strcat.c: Likewise.
17155 * benchtests/bench-strchr.c: Likewise.
17156 * benchtests/bench-strcmp.c: Likewise.
17157 * benchtests/bench-strcpy.c: Likewise.
17158 * benchtests/bench-strcpy_chk.c: Likewise.
17159 * benchtests/bench-strlen.c: Likewise.
17160 * benchtests/bench-strncasecmp.c: Likewise.
17161 * benchtests/bench-strncat.c: Likewise.
17162 * benchtests/bench-strncmp.c: Likewise.
17163 * benchtests/bench-strncpy.c: Likewise.
17164 * benchtests/bench-strnlen.c: Likewise.
17165 * benchtests/bench-strpbrk.c: Likewise.
17166 * benchtests/bench-strrchr.c: Likewise.
17167 * benchtests/bench-strspn.c: Likewise.
17168 * benchtests/bench-strstr.c: Likewise.
17169
cae16d66
WN
171702013-09-04 Will Newton <will.newton@linaro.org>
17171
17172 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17173
ffa3cd7f
JM
171742013-09-03 Joseph Myers <joseph@codesourcery.com>
17175
17176 [BZ #15427]
17177 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17178 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17179 * math/libm-test.inc (lgamma_test_data): Add more tests.
17180 * sysdeps/i386/fpu/libm-test-ulps: Update.
17181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17182
8f02859f
OB
171832013-09-03 Ondřej Bílka <neleai@seznam.cz>
17184
17185 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17186 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17187 Add ifunc.
17188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17189 Add strcmp-sse2-unaligned
17190 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17191
18d43716
MF
171922013-09-02 Mike Frysinger <vapier@gentoo.org>
17193
17194 * Versions.def (libc): Add GLIBC_2.19.
17195
ac444012
MF
171962013-09-02 Mike Frysinger <vapier@gentoo.org>
17197
17198 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17199 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17200
b7835e32
JM
172012013-09-02 Joseph Myers <joseph@codesourcery.com>
17202
17203 [BZ #14155]
17204 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17205 intermediate calculations in recurrence.
17206 (__ieee754_ynf): Likewise.
17207 * math/libm-test.inc (jn_test_data): Do not allow spurious
17208 underflow exception. Add more tests.
17209 (yn_test_data): Add more tests.
17210 * sysdeps/i386/fpu/libm-test-ulps: Update.
17211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17212
8220f4f0
OB
172132013-09-02 Ondřej Bílka <neleai@seznam.cz>
17214
17215 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17216
f24a6d08
OB
172172013-08-30 Ondřej Bílka <neleai@seznam.cz>
17218
17219 * csu/init-first.c: Fix then/than typos.
17220 * locale/programs/ld-collate.c: Likewise.
17221 * locale/programs/linereader.h: Likewise.
17222 * manual/charset.texi: Likewise.
17223 * manual/filesys.texi: Likewise.
17224 * manual/stdio.texi: Likewise.
17225 * manual/string.texi: Likewise.
17226 * stdlib/fmtmsg.c: Likewise.
17227 * sysdeps/i386/stpncpy.S: Likewise.
17228 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17229 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17230 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17231 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17232
382466e0
OB
172332013-08-30 Ondřej Bílka <neleai@seznam.cz>
17234
17235 * elf/dl-open.c: Fix typos.
17236 * iconvdata/gbbig5.c: Likewise.
17237 * iconvdata/iso-2022-jp.c: Likewise.
17238 * iconv/gconv_int.h: Likewise.
17239 * iconv/loop.c: Likewise.
17240 * nis/rpcsvc/nis.h: Likewise.
17241 * resolv/ns_name.c: Likewise.
17242 * stdio-common/vfscanf.c: Likewise.
17243 * streams/stropts.h: Likewise.
17244 * sunrpc/rpc_thread.c: Likewise.
17245 * sysdeps/i386/strpbrk.S: Likewise.
17246 * sysdeps/ieee754/k_standard.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17249 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17250 * sysdeps/mach/hurd/profil.c: Likewise.
17251 * sysdeps/s390/dl-procinfo.h: Likewise.
17252 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17253 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17254 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17255 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17256 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17257
0186c6e9
OB
172582013-08-30 Ondřej Bílka <neleai@seznam.cz>
17259
17260 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17262
d4e16af1
OB
172632013-08-29 Ondřej Bílka <neleai@seznam.cz>
17264
17265 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17266 aix specific files.
17267 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17268 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17269 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17270 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17271 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17272 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17273 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17274 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17275
88335980
TS
172762013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17277 Roland McGrath <roland@hack.frob.com>
17278
17279 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17280 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17281
ed479b02
ST
172822013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17283
17284 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17285 __executable_start symbol instead of _start.
17286
f1cc4c86
TS
172872013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17288
d821f07c
TS
17289 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17290 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17291 Move macros to...
17292 * sysdeps/gnu/ldsodefs.h: ... this new file.
17293
c54290cf
TS
17294 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17295 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17296 instead of ELFOSABI_LINUX.
17297
0007fc9b 17298 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17299 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17300 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17301 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17302 Likewise.
17303 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17304 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17305 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17306 Likewise.
17307 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17308 (ibm_extended_long_double): Add ieee_nan member.
17309 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17310 (do_test): New function.
17311
f1cc4c86
TS
17312 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17313 TEST_TRUNC.
17314 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17315 functions, renamed from truncdfsf_test, trunctfsf_test,
17316 trunctfdf_test.
17317 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17318 functions.
17319 (do_test): Run all these.
17320
6f65e668
OB
173212013-08-29 Ondřej Bílka <neleai@seznam.cz>
17322
17323 * argp/argp-help.c: Fix typos.
17324 * argp/argp-parse.c: Likewise.
17325 * debug/backtracesyms.c: Likewise.
17326 * elf/elf.h: Likewise.
17327 * malloc/malloc.c: Likewise.
17328 * nis/nis_print.c: Likewise.
17329 * resolv/res_comp.c: Likewise.
17330 * stdlib/stdlib.h: Likewise.
17331 * sunrpc/clnt_tcp.c: Likewise.
17332 * sunrpc/clnt_udp.c: Likewise.
17333 * sunrpc/clnt_unix.c: Likewise.
17334 * sysdeps/unix/bsd/ptsname.c: Likewise.
17335 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17336 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17338 Likewise.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17340 Likewise.
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17342 Likewise.
6f65e668
OB
17343 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17344
3a309239
SP
173452013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17346
17347 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17349
3b813b29
MF
173502013-08-27 Mike Frysinger <vapier@gentoo.org>
17351
17352 [BZ #15897]
17353 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17354 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17355 ($(objpfx)bug-dl-leaf): New rule.
17356 ($(objpfx)bug-dl-leaf.so): Likewise.
17357 ($(objpfx)bug-dl-leaf.out): Likewise.
17358 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17359 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17360 * dlfcn/bug-dl-leaf.c: New test.
17361 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17362 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17363 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17364 (dlclose): Likewise.
17365 (dlmopen): Likewise.
17366
8cc3269f
RM
173672013-08-27 Roland McGrath <roland@hack.frob.com>
17368
7f9d0034
RM
17369 * include/netdb.h [!_ISOMAC]:
17370 Don't include <tls.h>.
17371 (h_errno, __libc_h_errno): Move declaration and macros out of
17372 [_LIBC_REENTRANT].
17373
fb431262
RM
17374 * include/resolv.h [_RESOLV_H_]:
17375 Don't include <tls.h>.
17376 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17377 * resolv/res_libc.c: Don't include <tls.h>.
17378 (_res): Use __attribute__ ((nocommon)) in place of
17379 __attribute__ ((section (".bss"))).
17380
bd81123a
RM
17381 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17382 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17383
c4e42566
RM
17384 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17385
f890a59b
RM
17386 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17387 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17388
17389 * resolv/res_mkquery.c: Include <sys/time.h>.
17390
5d1f0a09
RM
17391 * inet/ifreq.c: Moved to ...
17392 * sysdeps/unix/ifreq.c: ... here.
17393 * inet/ifreq.c: New file, true stub version.
17394
6fcf28b3
RM
17395 * socket/sa_len.c: New file.
17396 * socket/Makefile (aux): Add it.
17397 * sysdeps/unix/sysv/linux/Makefile
17398 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17399 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17400 and #include <socket/sa_len.c>.
17401 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17402 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17403
e041fb8b
RM
17404 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17405 * bits/socket.h: ... here.
17406
8cc3269f
RM
17407 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17408 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17409 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17410
5d228a43
AS
174112013-08-27 Andreas Schwab <schwab@suse.de>
17412
45b8accc
AS
17413 [BZ #15736]
17414 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17415 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17416 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17417 * string/test-strcasecmp.c (test_main): Run tests in several
17418 locales.
17419 * string/test-strncasecmp.c (test_main): Likewise.
17420
5d228a43
AS
17421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17422 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17423 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17425 (__strncasecmp_ssse3) [PIC]: Likewise.
17426
59d112a4
RM
174272013-08-26 Roland McGrath <roland@hack.frob.com>
17428
53234cc3
RM
17429 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17430
59d112a4
RM
17431 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17432 instead of explicitly declaring xdecrypt.
17433 * nis/nss_nis/nis-publickey.c: Likewise.
17434
595aba70
SP
174352013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17436
17437 [BZ #15890]
17438 * nscd/aicache.c: Include res_hconf.h.
17439 (addhstaiX): Initialize res_hconf.
17440
ffabd393
AS
174412013-08-26 Andreas Schwab <schwab@suse.de>
17442
17443 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17444 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17445
e0a69f5c
SP
174462013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17447
17448 * nscd/aicache.c (addhstaiX): Fix indentation.
17449
8c12f01d
MF
174502013-08-25 Mike Frysinger <vapier@gentoo.org>
17451
17452 * configure.ac: Quote $build_pt_chown test.
17453 * configure: Regenerated.
17454
8fe89494
JM
174552013-08-23 Joseph Myers <joseph@codesourcery.com>
17456
17457 [BZ #15532]
17458 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17459 * math/s_cexpf.c (__cexpf): Likewise.
17460 * math/s_cexpl.c (__cexpl): Likewise.
17461 * math/libm-test.inc (cexp_test_data): Correct expected return
17462 value for NaN + i0. Add another test.
17463
75b181d6
DM
174642013-08-22 David S. Miller <davem@davemloft.net>
17465
17466 * po/ca.po: Update Catalan translation from translation project.
936241e4 17467 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17468
acd06bb1
JM
174692013-08-21 Joseph Myers <joseph@codesourcery.com>
17470
17471 [BZ #15797]
17472 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17473 is infinite, not alongside NaN test.
17474 * math/s_fdimf.c (__fdimf): Likewise.
17475 * math/s_fdiml.c (__fdiml): Likewise.
17476 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17477 errno is unchanged.
17478
c0c3f78a
OB
174792013-08-21 Ondřej Bílka <neleai@seznam.cz>
17480
17481 * argp/argp-help.c: Fix typos.
17482 * crypt/speeds.c: Likewise.
17483 * csu/check_fds.c: Likewise.
17484 * elf/dl-load.c: Likewise.
17485 * elf/dl-open.c: Likewise.
17486 * elf/reldep3.c: Likewise.
17487 * elf/reldep.c: Likewise.
17488 * elf/sprof.c: Likewise.
17489 * iconv/iconv_charmap.c: Likewise.
17490 * iconv/skeleton.c: Likewise.
17491 * iconv/strtab.c: Likewise.
17492 * io/lockf64.c: Likewise.
17493 * libio/libioP.h: Likewise.
17494 * resolv/gai_notify.c: Likewise.
17495 * resolv/ns_name.c: Likewise.
17496 * resolv/ns_samedomain.c: Likewise.
17497 * resolv/res_send.c: Likewise.
17498 * stdlib/random.c: Likewise.
17499 * sunrpc/rpc/xdr.h: Likewise.
17500 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17501 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17502 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17503 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17504 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17505 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17507 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17508 * sysdeps/mach/hurd/check_fds.c: Likewise.
17509 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17510 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17511 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17512 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17513 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17514 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17515 * sysdeps/pthread/aio_notify.c: Likewise.
17516 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17517 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17518 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17519 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17520 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17521
46ed1038
LD
175222013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17523
17524 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17525 version if bit_Slow_SSE4_2 is set.
17526 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17528
d400dcac
AZ
175292013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17530
17531 [BZ #15867]
17532 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17533 trampoline stack frame information.
17534 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17535 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17536 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17537 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17538 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17539 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17540 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17541 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17542 sa_flags value.
17543 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17544 interrupting a syscall and set with option SA_SIGINFO.
17545
42c8fdd8
JM
175462013-08-20 Joseph Myers <joseph@codesourcery.com>
17547
c980f2f4
JM
17548 [BZ #15531]
17549 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17550 argument is infinite.
17551 * math/s_cprojf.c (__cprojf): Likewise.
17552 * math/s_cprojl.c (__cprojl): Likewise.
17553 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17554 * math/libm-test.inc (cproj_test_data): Add more tests.
17555
0716c4fc
JM
17556 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17557
42c8fdd8
JM
17558 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17559 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17560 size. Use __ffs to determine corresponding shift.
17561
b31469d0
JM
175622013-08-20 Joseph Myers <joseph@codesourcery.com>
17563 Roland McGrath <roland@hack.frob.com>
17564
17565 * Makefile (INSTALL): Remove trailing blank lines from output of
17566 makeinfo.
17567
4e39af6e
AK
175682013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17569
17570 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17571 Align 32 bit compat elf_greg to 8 bytes.
17572
f315524e
AA
175732013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17574
17575 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17576
1326ba1a
SP
175772013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17578
17579 * string/strcoll_l.c (coll_seq): New structure.
17580 (get_next_seq_cached): New function.
17581 (get_next_seq): New function.
17582 (do_compare): New function.
17583 (STRCOLL): Use GNU style definition. Simplify implementation
17584 by using get_next_seq, get_next_seq_cached and do_compare.
17585
91ce4085
FW
175862013-08-16 Florian Weimer <fweimer@redhat.com>
17587
17588 [BZ #14699]
17589 CVE-2013-4237
17590 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17591 member.
17592 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17593 member.
17594 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17595 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17596 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17597 conditional.
17598 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17599 GETDENTS_64BIT_ALIGNED.
17600 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17601 * manual/filesys.texi (Reading/Closing Directory): Document
17602 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17603 strongly.
17604 * manual/conf.texi (Limits for Files): Add portability note to
17605 NAME_MAX, PATH_MAX.
17606 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17607
ca0a6bc4
AS
176082013-08-13 Andreas Schwab <schwab@suse.de>
17609
17610 [BZ #15749]
17611 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17612 of fabs.
17613 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17614 LDBL_MAX_EXP >= 16384]: Add tests for it.
17615
6c1fd795
DM
176162013-08-12 David S. Miller <davem@davemloft.net>
17617
17618 * version.h (RELEASE): Set to "development".
17619 (VERSION): Set to "2.18.90".
17620 * NEWS: Add 2.19 section.
17621
31ad488d
DM
176222013-08-03 David S. Miller <davem@davemloft.net>
17623
17624 * po/ko.po: Update Korean translation from translation project.
17625
db24e684
DM
176262013-08-01 David S. Miller <davem@davemloft.net>
17627
17628 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17629 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17630 Bilka.
17631
f723285b
DM
176322013-07-30 David S. Miller <davem@davemloft.net>
17633
17634 * po/fr.po: Update French translation from translation project.
17635
3cbc52db
DM
176362013-07-28 David S. Miller <davem@davemloft.net>
17637
30bbc0cc
DM
17638 * po/cs.po: Update Czech translation from translation project.
17639
3cbc52db
DM
17640 * po/sv.po: Update Swedish translation from translation project.
17641
d492e6d0
DM
176422013-07-27 David S. Miller <davem@davemloft.net>
17643
f1a7f492
DM
17644 * po/eo.po: Update Esperanto translation from translation project.
17645
90e62a4a
DM
17646 * po/vi.po: Update Vietnamese translation from translation project.
17647
d492e6d0
DM
17648 * po/de.po: Update German translation from translation project.
17649
d4baa62d
DM
176502013-07-26 David S. Miller <davem@davemloft.net>
17651
641aa7b4
DM
17652 * po/bg.po: Update Bulgarian translation from translation project.
17653
d4baa62d
DM
17654 * po/nl.po: Update Dutch translation from translation project.
17655 * po/pl.po: Update Polish translation from translation project.
17656 * po/ru.po: Update Russian translation from translation project.
17657
61a9dcb9
DM
176582013-07-24 David S. Miller <davem@davemloft.net>
17659
17660 * po/libc.pot: Update.
17661
7b1f8b58
AZ
176622013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17663
17664 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17665 variable page size.
17666 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17667 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17668 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17669
a8fc7a03
AK
176702013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17671
17672 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17673
e4608715
CD
176742013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17675 Andreas Schwab <schwab@suse.de>
17676 Roland McGrath <roland@hack.frob.com>
17677 Joseph Myers <joseph@codesourcery.com>
17678 Carlos O'Donell <carlos@redhat.com>
17679
17680 [BZ #15755]
17681 * config.h.in: Define HAVE_PT_CHOWN.
17682 * config.make.in (build-pt-chown): New variable.
17683 * configure.in (--enable-pt_chown): New configure option.
17684 * configure: Regenerate.
17685 * login/Makefile: Include Makeconfig. Build pt_chown only if
17686 build-pt-chown is enabled.
17687 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17688 pt_chown to fix pty ownership.
17689 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17690 CLOSE_ALL_FDS.
17691 * manual/install.texi (Configuring and compiling): Mention
17692 --enable-pt_chown. Add @findex for grantpt.
17693 * INSTALL: Regenerate.
17694
da2d62df
DM
176952013-07-20 David S. Miller <davem@davemloft.net>
17696
17697 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17698 difference between 32-bit and 64-bit.
17699
d7e06450
CD
177002013-07-15 Carlos O'Donell <carlos@redhat.com>
17701
17702 [BZ #15711]
17703 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17704 Avoid system header dependency with -ffreestanding.
17705 ($(objpfx)bits/syscall%d): Likewise.
17706
f959cfd7
DM
177072013-07-13 David S. Miller <davem@davemloft.net>
17708
17709 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17710 underflows from atanl/atan2l due to bug 15319.
17711 (casinh_test_data): Likewise.
17712
c61f8513
DM
177132013-07-07 David S. Miller <davem@davemloft.net>
17714
17715 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17716
72c90ed0
JA
177172013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17718
17719 * sysdeps/i386/fpu/libm-test-ulps: Update.
17720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17721
52dfbe13
SP
177222013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17723
17724 * configure.in (--enable-lock-elision): Fix message text.
17725 * INSTALL: Regenerate.
17726 * configure: Regenerate.
17727
3f169543
AZ
177282013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17729
17730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17731
521c6785
AJ
177322013-07-03 Andreas Jaeger <aj@suse.de>
17733
17734 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17735 define.
17736 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17737 (ptrace_peeksiginfo_args): Add.
17738 (__ptrace_peeksiginfo_flags): Add.
17739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17740 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17742
d2cc15cb
AM
177432013-07-03 Allan McRae <allan@archlinux.org>
17744
17745 * sysdeps/i386/fpu/libm-test-ulps: Update.
17746
3aaeeca7
DM
177472013-07-02 David S. Miller <davem@davemloft.net>
17748
17749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17750
5314ed1a
MT
177512013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17752
17753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17754
67338156
JM
177552013-07-02 Joseph Myers <joseph@codesourcery.com>
17756
17757 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17759
1717da59
AK
177602013-07-02 Andi Kleen <ak@linux.intel.com>
17761
17762 * config.h.in (ENABLE_LOCK_ELISION): Add.
17763 * configure.in (--enable-lock-elision): Add option.
17764 * manual/install.texi: Document --enable lock elision.
17765 * configure: Regenerate
17766 * INSTALL: Regenerate.
17767
1c81621c
L
177682013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17769
17770 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17771 SSE4.2 strcasecmp for libc.a.
17772 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17773
77f01ab5
JM
177742013-07-02 Joseph Myers <joseph@codesourcery.com>
17775
17776 [BZ #13304]
17777 * soft-fp/op-common.h (_FP_FMA): New macro.
17778 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17779 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17780 (_FP_MUL_MEAT_1_imm): ... here.
17781 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17782 (_FP_MUL_MEAT_1_wide): ... here.
17783 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17784 (_FP_MUL_MEAT_1_hard): ... here.
17785 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17786 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17787 (_FP_MUL_MEAT_2_wide): ... here.
17788 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17789 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17790 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17791 (_FP_MUL_MEAT_2_gmp): ... here.
17792 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17793 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17794 (_FP_MUL_MEAT_4_wide): ... here.
17795 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17796 (_FP_MUL_MEAT_4_gmp): ... here.
17797 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17798 (_FP_WFRACBITS_DW_S): Likewise.
17799 (_FP_WFRACXBITS_DW_S): Likewise.
17800 (_FP_HIGHBIT_DW_S): Likewise.
17801 (FP_FMA_S): Likewise.
17802 (_FP_FRAC_HIGH_DW_S): Likewise.
17803 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17804 (_FP_WFRACBITS_DW_D): Likewise.
17805 (_FP_WFRACXBITS_DW_D): Likewise.
17806 (_FP_HIGHBIT_DW_D): Likewise.
17807 (FP_FMA_D): Likewise.
17808 (_FP_FRAC_HIGH_DW_D): Likewise.
17809 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17810 (_FP_WFRACBITS_DW_E): Likewise.
17811 (_FP_WFRACXBITS_DW_E): Likewise.
17812 (_FP_HIGHBIT_DW_E): Likewise.
17813 (FP_FMA_E): Likewise.
17814 (_FP_FRAC_HIGH_DW_E): Likewise.
17815 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17816 (_FP_WFRACBITS_DW_Q): Likewise.
17817 (_FP_WFRACXBITS_DW_Q): Likewise.
17818 (_FP_HIGHBIT_DW_Q): Likewise.
17819 (FP_FMA_Q): Likewise.
17820 (_FP_FRAC_HIGH_DW_Q): Likewise.
17821 * soft-fp/fmasf4.c: New file.
17822 * soft-fp/fmadf4.c: Likewise.
17823 * soft-fp/fmatf4.c: Likewise.
17824
6308fd9a
LD
178252013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17826
17827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17828 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17829 Silvermont.
17830 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17831 macro.
17832 (index_Slow_SSE4_2): Likewise.
17833 (index_Prefer_PMINUB_for_stringop): Likewise.
17834 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17835 bit_Slow_SSE4_2 is set.
17836 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17837 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17838
89cd9569
RA
178392013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17840
17841 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17842 rtld_global._dl_hwcap2.
17843 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17844 POWER8.
17845 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17846 POWER8 feature descriptions defined in _dl_hwcap2.
17847 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17848 string handling for POWER8 feature bits.
17849 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17850 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17851 _dl_powerpc_cap_flags.
17852 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17853 * sysdeps/powerpc/rtld-global-offsets.sym
17854 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17855 _dl_hwcap2 in the rtld_global_ro structure.
17856
1ae8bfe0
RA
178572013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17858
17859 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17860 hardware capabilities in support of AT_HWCAP2.
17861 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17862 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17863 GLRO(dl_hwcap2).
17864 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17865 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17866 explicitly the unknown a_type display mechanism is used.
17867 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17868 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17869 struct member.
17870 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17871 to macro prototype for AT_HWCAP2 support.
17872 * sysdeps/i386/dl-procinfo.h: Likewise.
17873 * sysdeps/s390/dl-procinfo.h: Likewise.
17874 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17875 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17876 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17877 return -1 for unknown a_type display fallback.
17878 * sysdeps/sparc/dl-procinfo.h: Likewise.
17879 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17880 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17881
8fbec010
JM
178822013-06-28 Joseph Myers <joseph@codesourcery.com>
17883
17884 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17885 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17886
0432680e
PY
178872013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17888
17889 [BZ #12492]
17890 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17891 mprotect making __stack_prot writable.
17892
ce61a2ad
NF
178932013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17894 Joseph Myers <joseph@codesourcery.com>
17895
17896 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17897 as being properly aligned.
17898
f91f1c0f
MR
178992013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17900
3d0f5d0c
MR
17901 * dlfcn/modstatic5.c: New file.
17902 * dlfcn/tststatic5.c: New file.
17903 * dlfcn/Makefile (tests): Add tststatic5.
17904 (tests-static): Likewise.
17905 (modules-names): Add modstatic5.
17906 (tststatic5-ENV): New variable.
17907 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17908
f91f1c0f
MR
17909 [BZ #15022]
17910 * elf/dl-support.c (_dl_main_map): New variable.
17911 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17912 (_dl_nns, _dl_load_adds): Set to 1.
17913 (_dl_initial_searchlist): Refer to _dl_main_map.
17914 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17915 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17916 call to _dl_get_origin.
17917 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17918 around call_map.
17919 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17920 * dlfcn/modstatic3.c: New file.
17921 * dlfcn/tststatic3.c: New file.
17922 * dlfcn/tststatic4.c: New file.
17923 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17924 (tests-static): Likewise.
17925 (modules-names): Add modstatic3.
17926 (tststatic3-ENV, tststatic4-ENV): New variables.
17927 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17928 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17929
cbe7d24b
JM
179302013-06-26 Joseph Myers <joseph@codesourcery.com>
17931
17932 * configure.in (CC): Require GCC version 4.4 or later.
17933 * configure: Regenerated.
17934 * manual/install.texi (Tools for Compilation): Update GCC version
17935 requirement.
17936 * INSTALL: Regenerated.
17937
11b8a0e1
LD
179382013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17939
17940 [BZ #15674]
bb5bb87c
L
17941 * string/test-memcmp.c (check2): New.
17942 (main): Call check2.
17943
11b8a0e1
LD
17944 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17945
b0037103
MR
179462013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17947
17948 [BZ #15022]
17949 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17950 over to...
17951 (dl_open_worker) [!SHARED]: ... here.
17952
c18c701d
RA
179532013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17954
17955 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17956
1d17fa5f
RH
179572013-06-25 Richard Henderson <rth@redhat.com>
17958
17959 * locale/programs/locarchive.c: Include <libc-internal.h>
17960
8fcb833a
JM
179612013-06-25 Joseph Myers <joseph@codesourcery.com>
17962
17963 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17964 trailing whitespace removed.
17965
17db6e8d
MF
179662013-06-24 Mike Frysinger <vapier@gentoo.org>
17967
17968 [BZ #10283]
17db6e8d
MF
17969 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17970 * locale/programs/locarchive.c: Include libc-mmap.h.
17971 (prepare_address_space): Take two new outputs (the mmap base and len).
17972 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17973 values.
17974 (create_archive): Declare new mmap base and len values for
17975 prepare_address_space, and store the result in ah.
17976 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17977 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17978 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17979 Declare new mmap base and len values for
17980 prepare_address_space, and store the result in new_ah.
17981 (open_archive): Declare new mmap base and len values for
17982 prepare_address_space, and store the result in ah.
17983 (close_archive): If ah->mmap_base is not NULL, use that and
17984 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17985 * sysdeps/generic/libc-mmap.h: New file.
17986
d605071e
MF
179872013-06-24 Mike Frysinger <vapier@gentoo.org>
17988
17989 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17990 (ALIGN_UP): Likewise.
17991 (PTR_ALIGN_DOWN): Likewise.
17992 (PTR_ALIGN_UP): Likewise.
17993
2f063a6e
RA
179942013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17995
17996 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17997 entry mapped to PPC_PLATFORM_POWER8.
17998 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17999 POWER8.
18000 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18001 (_dl_string_platform): Add case for exporting platform position for
18002 POWER8.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18004 search path to sysdeps/powerpc/powerpc32/power8 directory.
18005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18006 search path to sysdeps/powerpc/powerpc64/power8 directory.
18007 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18008 power7 directories.
18009 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18010 power7 directories.
18011
a31ee4b3
SP
180122013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18013
a74ca98f
SP
18014 * INSTALL: Regenerate.
18015
a31ee4b3
SP
18016 * nscd/connections.c (nscd_init): Fix comment.
18017
695c378f
JM
180182013-06-22 Joseph Myers <joseph@codesourcery.com>
18019
d8412221
JM
18020 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18021
695c378f
JM
18022 [BZ #15667]
18023 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18024 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18025
d1d54715
MR
180262013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18027
18028 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18029 DL_DST_REQ_STATIC.
18030 (DL_DST_REQ_STATIC): Remove macro.
18031
8fdda7af
JM
180322013-06-21 Joseph Myers <joseph@codesourcery.com>
18033
18034 [BZ #7006]
18035 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18036 with a shift of 0 bits.
18037
f3bc5e5a
MR
180382013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18039
18040 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18041 $(tststatic-ENV).
18042
be09e8c9
KK
180432013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18044
18045 [BZ #15655]
18046 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18047
85c2e611
AZ
180482013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18049
18050 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18051 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18052 accepts -fno-tree-loop-distribute-patterns.
18053 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18054 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18055 recursive call.
18056 * string/memset.c (memset): Likewise.
18057 * string/test-memmove.c (simple_memmove): Disable loop transformation
18058 to library calls.
18059 * string/test-memset.c (simple_memset): Likewise.
18060 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18061 * benchtests/bench-memset.c (simple_memset): Likewise.
18062 * configure: Regenerated.
18063
c91e0825
JM
180642013-06-20 Joseph Myers <joseph@codesourcery.com>
18065
b8c792af
JM
18066 * math/test-misc.c (main): Ignore fesetround failure when failures
18067 of subsequent rounding tests would be ignored.
18068
c91e0825
JM
18069 [BZ #15654]
18070 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18071 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18072 * math/fegetenv.c (__fegetenv): Return 0.
18073 * math/fegetexcept.c (fegetexcept): Return 0.
18074 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18075 FE_TONEAREST.
18076 * math/feholdexcpt.c (feholdexcept): Return 0.
18077 * math/fesetenv.c (__fesetenv): Return 0.
18078 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18079 argument FE_TONEAREST.
18080 * math/feupdateenv.c (__feupdateenv): Return 0.
18081 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18082
bfcacbde
RM
180832013-06-18 Roland McGrath <roland@hack.frob.com>
18084
18085 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18086 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18087 ($(objpfx)rtld-%.os rules): Use them.
18088
e55a9b25
AZ
180892013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18090
18091 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18092 fields.
18093
346d65b3
RM
180942013-06-17 Roland McGrath <roland@hack.frob.com>
18095
12086fb4
RM
18096 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18097 length of target pattern, then descending length of dependency pattern.
18098 * configure.in (AWK): Require gawk 3.1.2 or newer.
18099 * manual/install.texi (Tools for Compilation): Say that we do.
18100 * configure: Regenerated.
18101
346d65b3
RM
18102 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18103 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18104 * scripts/sysd-rules.awk: ... this new script.
18105 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18106 than a glob-style pattern.
18107
1a846317
JM
181082013-06-17 Joseph Myers <joseph@codesourcery.com>
18109
18110 * math/test-misc.c (main): Do not treat incorrectly rounded
18111 conversions as failure unless ROUNDING_TESTS passes.
18112
8fc75e6f
JM
181132013-06-15 Joseph Myers <joseph@codesourcery.com>
18114
3711a167
JM
18115 [BZ #15631]
18116 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18117 restore exception state around main square root computation, then
18118 check for inexactness explicitly.
18119
8fc75e6f
JM
18120 * math/libm-test.inc (fma_test_data): Add another test.
18121
61dd6208
SP
181222013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18123
adf23d2c
SP
18124 * manual/threads.texi (Non-POSIX Extensions): New document
18125 node. Document pthread_getattr_default_np and
18126 pthread_setattr_default_np.
18127
61dd6208
SP
18128 * Versions.def (libpthread): Add GLIBC_2.18.
18129 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18131 Likewise.
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18133 Likewise.
18134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18135 Likewise.
18136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18137 Likewise.
18138 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18139 Likewise.
18140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18141 Likewise.
18142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18143 Likewise.
18144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18145 Likewise.
18146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18147 Likewise.
18148
d086fc7b
LD
181492013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18150
18151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18152 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18153
747ef469
SP
181542013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18155 H.J. Lu <hjl.tools@gmail.com>
18156
18157 [BZ #15627]
18158 * sysdeps/x86_64/rtld-memset.c: Remove file.
18159 * sysdeps/x86_64/rtld-memset.S: New file.
18160
1b2feed2
JM
181612013-06-14 Joseph Myers <joseph@codesourcery.com>
18162
18163 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18164 (test_in_one_mode): Take arguments for whether the rounding mode
18165 is supported for each floating-point type.
18166 (do_test): Pass new arguments to test_in_one_mode using
18167 ROUNDING_TESTS.
18168
a58ad3f8
RM
181692013-06-13 Roland McGrath <roland@hack.frob.com>
18170
18171 * posix/tst-waitid.c (do_test): Distinguish different instances of
18172 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18173 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18174 before entering the kernel for waitpid.
18175
c204ab28
SP
181762013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18177
18178 * NEWS: Fix note on clock function precision. Text by Roland
18179 McGrath.
18180
f4a29fba
RM
181812013-06-13 Roland McGrath <roland@hack.frob.com>
18182
18183 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18184 it into place only when and if the sanity check passes.
18185
1f24b9ad
JM
181862013-06-13 Joseph Myers <joseph@codesourcery.com>
18187
18188 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18189 output for whether conversion result is exact. Take argument
18190 indicating whether type is IBM long double.
18191 (round_for_all): Change need_exact field to ibm_ld.
18192 * stdlib/tst-strtod-round.c (struct exactness): New type.
18193 (struct test): Change bool ld_ok field to struct exactness exact.
18194 (TEST): Update all definitions for change to field.
18195 (tests): Regenerate array contents.
18196 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18197 field value. Check for IBM long double here.
18198 (do_test): Update calls to test_in_one_mode.
18199
58206c68
SP
182002013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18201
18202 [BZ #12515]
18203 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18204 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18205
2d6f4c5b 182062013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18207
18208 [BZ #15605]
18209 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18210 generated by the compiler on loop optimizations.
18211 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18212 general definitions.
18213
94f2c076
JM
182142013-06-12 Joseph Myers <joseph@codesourcery.com>
18215
18216 * math/bug-nextafter.c: Include <math-tests.h>.
18217 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18218 the relevant type.
18219 * math/bug-nexttoward.c: Include <math-tests.h>.
18220 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18221 the relevant type.
18222 * math/test-misc.c: Include <math-tests.h>.
18223 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18224 the relevant type.
18225
e0e50a0a
AJ
182262013-06-12 Andreas Jaeger <aj@suse.de>
18227
18228 * po/ia.po: Update Interlingua translation from translation
18229 project.
18230
25061094
SP
182312013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18232
18233 * include/fenv.h: Include stdbool.h.
18234 (struct rm_ctx): New structure.
18235 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18236 Define macro.
18237 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18238 (SET_RESTORE_ROUNDF): Likewise.
18239 (SET_RESTORE_ROUNDL): Likewise.
18240 (SET_RESTORE_ROUND_NOEX): Likewise.
18241 (SET_RESTORE_ROUND_NOEXF): Likewise.
18242 (SET_RESTORE_ROUND_NOEXL): Likewise.
18243 (SET_RESTORE_ROUND_53BIT): Likewise.
18244 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18245 (libc_feresetround_noexf_ctx): Likewise.
18246 (libc_feresetround_noexl_ctx): Likewise.
18247 (libc_feholdsetround_53bit_ctx): Likewise.
18248 (libc_feresetround_53bit_ctx): Likewise.
18249 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18250 (libc_feholdexcept_setround_sse_ctx): New function.
18251 (libc_fesetenv_sse_ctx): Likewise.
18252 (libc_feupdateenv_sse_ctx): Likewise.
18253 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18254 (libc_feholdexcept_setround_387_ctx): Likewise.
18255 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18256 (libc_feholdsetround_387_prec_ctx): Likewise.
18257 (libc_feholdsetround_387_ctx): Likewise.
18258 (libc_feholdsetround_387_53bit_ctx): Likewise.
18259 (libc_feholdsetround_sse_ctx): Likewise.
18260 (libc_feresetround_sse_ctx): Likewise.
18261 (libc_feresetround_387_ctx): Likewise.
18262 (libc_feupdateenv_387_ctx): Likewise.
18263 (libc_feholdexcept_setroundf_ctx): Define macro.
18264 (libc_fesetenvf_ctx): Likewise.
18265 (libc_feupdateenvf_ctx): Likewise.
18266 (libc_feholdsetroundf_ctx): Likewise.
18267 (libc_feresetroundf_ctx): Likewise.
18268 (libc_feholdexcept_setround_ctx): Likewise.
18269 (libc_fesetenv_ctx): Likewise.
18270 (libc_feupdateenv_ctx): Likewise.
18271 (libc_feholdsetround_ctx): Likewise.
18272 (libc_feresetround_ctx): Likewise.
18273 (libc_feholdexcept_setroundl_ctx): Likewise.
18274 (libc_feupdateenvl_ctx): Likewise.
18275 (libc_feholdsetroundl_ctx): Likewise.
18276 (libc_feresetroundl_ctx): Likewise.
18277 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18278 (libc_feresetround_53bit_ctx): Likewise.
18279
59b30555
SP
182802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18281
18282 * locale/iso-639.def: Convert to UTF-8.
18283
f1d73d30
JM
182842013-06-11 Joseph Myers <joseph@codesourcery.com>
18285
18286 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18287 (EXCEPTION_TESTS_double): Likewise.
18288 (EXCEPTION_TESTS_long_double): Likewise.
18289 (EXCEPTION_TESTS): Likewise.
18290 * math/libm-test.inc (test_exceptions): Only test exceptions if
18291 EXCEPTION_TESTS (FLOAT).
18292
94aca5e7
SP
182932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18294
18295 * benchtests/Makefile (string-bench): Add strcpy_chk and
18296 stpcpy_chk.
18297 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18298 * benchtests/bench-stpcpy_chk.c: New file.
18299 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18300 * benchtests/bench-strcpy_chk.c: New file.
18301 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18302 code.
18303 (do_test): Likewise.
18304
fac0c5f2
RA
183052013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18306
18307 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18308 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18309 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18310 with tabs where appropriate.
18311 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18312 dl-procinfo.h.
18313 [PPC_PLATFORM_PPC440]: Likewise.
18314 [PPC_PLATFORM_PPC464]: Likewise.
18315 [PPC_PLATFORM_PPC476]: Likewise.
18316 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18317 ppc464, and ppc476 platform strings merging from ports/
18318 dl-procinfo.h.
18319
f22bc486
AS
183202013-06-11 Andreas Schwab <schwab@suse.de>
18321
18322 [BZ #14991]
18323 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18324 (from_ucs4_idx): Regenerate.
18325 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18326 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18327 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18328 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18329 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18330 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18331 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18332 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18333 from FROM_LOOP and TO_LOOP specific macros.
18334 (BODY): Handle combining characters.
18335 * iconvdata/BIG5HKSCS.irreversible: Update.
18336 * iconvdata/BIG5HKSCS.precomposed: New file.
18337 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18338 characters.
18339 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18340
c1f75dc3
SP
183412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18342
4eacded2
SP
18343 * include/sys/time.h: Fix indentation and add copyright header.
18344
fec799f8
SP
18345 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18346 (do_test): Likewise.
18347 * string/test-memchr.c (do_one_test): Likewise.
18348 (do_test): Likewise.
18349 * string/test-memcmp.c (do_one_test): Likewise.
18350 (do_test): Likewise.
18351 * string/test-memcpy.c (do_one_test): Likewise.
18352 (do_test): Likewise.
18353 * string/test-memmem.c (do_one_test): Likewise.
18354 (do_test): Likewise.
18355 (do_random_tests): Likewise.
18356 * string/test-memmove.c (do_one_test): Likewise.
18357 (do_test): Likewise.
18358 * string/test-memset.c (do_one_test): Likewise.
18359 (do_test): Likewise.
18360 * string/test-rawmemchr.c (do_one_test): Likewise.
18361 (do_test): Likewise.
18362 * string/test-strcasecmp.c (do_one_test): Likewise.
18363 (do_test): Likewise.
18364 * string/test-strcasestr.c (do_one_test): Likewise.
18365 (do_test): Likewise.
18366 * string/test-strcat.c (do_one_test): Likewise.
18367 (do_test): Likewise.
18368 * string/test-strchr.c (do_one_test): Likewise.
18369 (do_test): Likewise.
18370 * string/test-strcmp.c (do_one_test): Likewise.
18371 (do_test): Likewise.
18372 * string/test-strcpy.c (do_one_test): Likewise.
18373 (do_test): Likewise.
18374 * string/test-string.h: Likewise.
18375 (test_init): Likewise.
18376 * string/test-strlen.c (do_one_test): Likewise.
18377 (do_test): Likewise.
18378 * string/test-strncasecmp.c (do_one_test): Likewise.
18379 (do_test): Likewise.
18380 * string/test-strncat.c (do_one_test): Likewise.
18381 (do_test): Likewise.
18382 * string/test-strncmp.c (do_one_test): Likewise.
18383 (do_test_limit): Likewise.
18384 (do_test): Likewise.
18385 * string/test-strncpy.c (do_one_test): Likewise.
18386 (do_test): Likewise.
18387 * string/test-strnlen.c (do_one_test): Likewise.
18388 (do_test): Likewise.
18389 * string/test-strpbrk.c (do_one_test): Likewise.
18390 (do_test): Likewise.
18391 * string/test-strrchr.c (do_one_test): Likewise.
18392 (do_test): Likewise.
18393 * string/test-strspn.c (do_one_test): Likewise.
18394 (do_test): Likewise.
18395 * string/test-strstr.c (do_one_test): Likewise.
18396 (do_test): Likewise.
18397
97020474
SP
18398 * benchtests/Makefile (string-bench): Add string benchmarks.
18399 * benchtests/bench-bcopy-ifunc.c: New file.
18400 * benchtests/bench-bcopy.c: New file.
18401 * benchtests/bench-bzero-ifunc.c: New file.
18402 * benchtests/bench-bzero.c: New file.
18403 * benchtests/bench-memccpy-ifunc.c: New file.
18404 * benchtests/bench-memccpy.c: New file.
18405 * benchtests/bench-memchr-ifunc.c: New file.
18406 * benchtests/bench-memchr.c: New file.
18407 * benchtests/bench-memcmp-ifunc.c: New file.
18408 * benchtests/bench-memcmp.c: New file.
18409 * benchtests/bench-memmem-ifunc.c: New file.
18410 * benchtests/bench-memmem.c: New file.
18411 * benchtests/bench-memmove-ifunc.c: New file.
18412 * benchtests/bench-memmove.c: New file.
18413 * benchtests/bench-mempcpy-ifunc.c: New file.
18414 * benchtests/bench-mempcpy.c: New file.
18415 * benchtests/bench-memset-ifunc.c: New file.
18416 * benchtests/bench-memset.c: New file.
18417 * benchtests/bench-rawmemchr-ifunc.c: New file.
18418 * benchtests/bench-rawmemchr.c: New file.
18419 * benchtests/bench-stpcpy-ifunc.c: New file.
18420 * benchtests/bench-stpcpy.c: New file.
18421 * benchtests/bench-stpncpy-ifunc.c: New file.
18422 * benchtests/bench-stpncpy.c: New file.
18423 * benchtests/bench-strcasecmp-ifunc.c: New file.
18424 * benchtests/bench-strcasecmp.c: New file.
18425 * benchtests/bench-strcasestr-ifunc.c: New file.
18426 * benchtests/bench-strcasestr.c: New file.
18427 * benchtests/bench-strcat-ifunc.c: New file.
18428 * benchtests/bench-strcat.c: New file.
18429 * benchtests/bench-strchr-ifunc.c: New file.
18430 * benchtests/bench-strchr.c: New file.
18431 * benchtests/bench-strchrnul-ifunc.c: New file.
18432 * benchtests/bench-strchrnul.c: New file.
18433 * benchtests/bench-strcmp-ifunc.c: New file.
18434 * benchtests/bench-strcmp.c: New file.
18435 * benchtests/bench-strcpy-ifunc.c: New file.
18436 * benchtests/bench-strcpy.c: New file.
18437 * benchtests/bench-strcspn-ifunc.c: New file.
18438 * benchtests/bench-strcspn.c: New file.
18439 * benchtests/bench-strlen-ifunc.c: New file.
18440 * benchtests/bench-strlen.c: New file.
18441 * benchtests/bench-strncasecmp-ifunc.c: New file.
18442 * benchtests/bench-strncasecmp.c: New file.
18443 * benchtests/bench-strncat-ifunc.c: New file.
18444 * benchtests/bench-strncat.c: New file.
18445 * benchtests/bench-strncmp-ifunc.c: New file.
18446 * benchtests/bench-strncmp.c: New file.
18447 * benchtests/bench-strncpy-ifunc.c: New file.
18448 * benchtests/bench-strncpy.c: New file.
18449 * benchtests/bench-strnlen-ifunc.c: New file.
18450 * benchtests/bench-strnlen.c: New file.
18451 * benchtests/bench-strpbrk-ifunc.c: New file.
18452 * benchtests/bench-strpbrk.c: New file.
18453 * benchtests/bench-strrchr-ifunc.c: New file.
18454 * benchtests/bench-strrchr.c: New file.
18455 * benchtests/bench-strspn-ifunc.c: New file.
18456 * benchtests/bench-strspn.c: New file.
18457 * benchtests/bench-strstr-ifunc.c: New file.
18458 * benchtests/bench-strstr.c: New file.
18459
c1f75dc3
SP
18460 * benchtests/Makefile: Disable parallel execution of targets.
18461 (string-bench): Add memcpy.
18462 (benchset): New variable to store a list of benchmark sets.
18463 (bench-func): Renamed from bench.
18464 (bench-set): New target.
18465 (bench): Depend on bench-func and bench-set.
18466 * benchtests/README: Add section on benchmark sets.
18467 * benchtests/bench-memcpy-ifunc.c: New file.
18468 * benchtests/bench-memcpy.c: New file.
18469 * benchtests/bench-string.h: New file.
18470
50fd745b
AS
184712013-06-11 Andreas Schwab <schwab@suse.de>
18472
18473 [BZ #15577]
18474 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18475 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18476 values in the triple.
18477 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18478 terminator in the group key.
18479
3ee7e9fe
AJ
184802013-06-11 Andreas Jaeger <aj@suse.de>
18481
18482 * po/zh_TW.po: Update Chinese (traditional) translation from
18483 translation project.
18484
89fb6835
SP
184852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18486
18487 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18488 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18489 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18490 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18491 (clock_getcpuclockid): Likewise.
18492 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18493 Add weak_alias and libc_hidden_def.
18494 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18495 * rt/clock_gettime.c (clock_gettime): Rename to
18496 __clock_gettime. Add weak_alias and libc_hidden_def.
18497 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18498 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18499 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18500 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18501 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18502 Likewise.
18503 * rt/clock_settime.c (clock_settime): Rename to
18504 __clock_settime. Add weak_alias and libc_hidden_def.
18505 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18506
0efa6f8b
JM
185072013-06-10 Joseph Myers <joseph@codesourcery.com>
18508
b8c61b4b
JM
18509 * mach/err_boot.sub: Remove trailing whitespace.
18510 * mach/err_ipc.sub: Likewise.
18511 * mach/err_mach.sub: Likewise.
18512
0efa6f8b
JM
18513 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18514 (ROUNDING_TESTS_double): Likewise.
18515 (ROUNDING_TESTS_long_double): Likewise.
18516 (ROUNDING_TESTS): Likewise.
18517 * math/libm-test.inc: Include <math-tests.h>.
18518 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18519 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18520 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18521 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18522
50b818bf
SP
185232013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18524
18525 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18526 of assigning.
18527
60d2f8f3
JM
185282013-06-08 Joseph Myers <joseph@codesourcery.com>
18529
4902d2c3
JM
18530 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18531 otherwise empty TRANS lines.
18532 * sysdeps/gnu/errlist.c: Regenerated.
18533
60d2f8f3
JM
18534 * catgets/gencat.c (error_print): Use (void) in function
18535 definition.
18536 * crypt/crypt_util.c (__init_des): Likewise.
18537 * crypt/speeds.c (Stop): Likewise.
18538 (main): Likewise.
18539 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18540 * inet/ruserpass.c (token): Likewise.
18541 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18542 * intl/localealias.c (extend_alias_table): Likewise.
18543 * intl/plural-exp.c (init_germanic_plural): Likewise.
18544 * libio/fcloseall.c (__fcloseall): Likewise.
18545 * libio/genops.c (_IO_flush_all): Likewise.
18546 (_IO_flush_all_linebuffered): Likewise.
18547 (_IO_cleanup): Likewise.
18548 (_IO_iter_begin): Likewise.
18549 (_IO_iter_end): Likewise.
18550 (_IO_list_lock): Likewise.
18551 (_IO_list_unlock): Likewise.
18552 (_IO_list_resetlock): Likewise.
18553 * libio/getchar.c (getchar): Likewise.
18554 * libio/getchar_u.c (getchar_unlocked): Likewise.
18555 * libio/getwchar.c (getwchar): Likewise.
18556 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18557 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18558 * login/getpt.c (__getpt): Likewise.
18559 * login/tst-utmp.c (main): Likewise.
18560 * malloc/hooks.c (__malloc_check_init): Likewise.
18561 * malloc/malloc.c (__malloc_stats): Likewise.
18562 * malloc/mtrace.c (tr_break): Likewise.
18563 (mtrace): Likewise.
18564 (muntrace): Likewise.
18565 * misc/fstab.c (endfsent): Likewise.
18566 * misc/getclktck.c (__getclktck): Likewise.
18567 * misc/getdtsz.c (__getdtablesize): Likewise.
18568 * misc/gethostid.c (gethostid): Likewise.
18569 * misc/getpagesize.c (__getpagesize): Likewise.
18570 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18571 (__get_nprocs): Likewise.
18572 (__get_phys_pages): Likewise.
18573 (__get_avphys_pages): Likewise.
18574 * misc/getttyent.c (getttyent): Likewise.
18575 (setttyent): Likewise.
18576 (endttyent): Likewise.
18577 * misc/getusershell.c (getusershell): Likewise.
18578 (endusershell): Likewise.
18579 (setusershell): Likewise.
18580 (initshells): Likewise.
18581 * misc/hsearch.c (__hdestroy): Likewise.
18582 * misc/sync.c (sync): Likewise.
18583 * misc/syslog.c (closelog_internal): Likewise.
18584 (closelog): Likewise.
18585 * misc/ttyslot.c (ttyslot): Likewise.
18586 * misc/vhangup.c (vhangup): Likewise.
18587 * posix/fork.c (__fork): Likewise.
18588 * posix/getegid.c (__getegid): Likewise.
18589 * posix/geteuid.c (__geteuid): Likewise.
18590 * posix/getgid.c (__getgid): Likewise.
18591 * posix/getpid.c (__getpid): Likewise.
18592 * posix/getppid.c (__getppid): Likewise.
18593 * posix/getuid.c (__getuid): Likewise.
18594 * posix/pause.c (pause): Likewise.
18595 * posix/setpgrp.c (setpgrp): Likewise.
18596 * posix/setsid.c (__setsid): Likewise.
18597 * posix/test-vfork.c (noop): Likewise.
18598 * resolv/gethnamaddr.c (_endhtent): Likewise.
18599 (_gethtent): Likewise.
18600 (ht_endhostent): Likewise.
18601 (gethostent): Likewise.
18602 (dns_service): Likewise.
18603 * stdlib/drand48.c (drand48): Likewise.
18604 * stdlib/lrand48.c (lrand48): Likewise.
18605 * stdlib/mrand48.c (mrand48): Likewise.
18606 * stdlib/rand.c (rand): Likewise.
18607 * stdlib/random.c (__random): Likewise.
18608 * stdlib/setenv.c (clearenv): Likewise.
18609 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18610 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18611 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18612 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18613 (__get_nprocs): Likewise.
18614 (__get_phys_pages): Likewise.
18615 (__get_avphys_pages): Likewise.
18616 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18617 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18618 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18619 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18620 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18621 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18622 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18623 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18624 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18625 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18626 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18627 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18628 * sysdeps/posix/clock.c (clock): Likewise.
18629 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18630 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18631 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18632 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18633 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18635 (__get_nprocs_conf): Likewise.
18636 (__get_phys_pages): Likewise.
18637 (__get_avphys_pages): Likewise.
18638 * time/clock.c (clock): Likewise.
18639 * time/tzset.c (__tzname_max): Likewise.
18640
2e09a79a
JM
186412013-06-07 Joseph Myers <joseph@codesourcery.com>
18642
18643 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18644 (__bswap_32): Do not use "register".
18645 * crypt/crypt.c (_ufc_doit_r): Likewise.
18646 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18647 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18648 * gmon/gmon.c (__monstartup): Likewise.
18649 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18650 * hurd/hurdmalloc.c (more_memory): Likewise.
18651 (malloc): Likewise.
18652 (free): Likewise.
18653 (realloc): Likewise.
18654 (malloc_fork_prepare): Likewise.
18655 (malloc_fork_parent): Likewise.
18656 (malloc_fork_child): Likewise.
18657 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18658 (_svcauth_des): Likewise.
18659 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18660 * inet/inet_net.c (inet_network): Likewise.
18661 * inet/inet_netof.c (inet_netof): Likewise.
18662 * inet/rcmd.c (__validuser2_sa): Likewise.
18663 * io/fts.c (fts_open): Likewise.
18664 (fts_load): Likewise.
18665 (fts_close): Likewise.
18666 (fts_read): Likewise.
18667 (fts_children): Likewise.
18668 (fts_build): Likewise.
18669 (fts_stat): Likewise.
18670 (fts_sort): Likewise.
18671 (fts_alloc): Likewise.
18672 (fts_lfree): Likewise.
18673 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18674 (_IO_file_xsgetn): Likewise.
18675 (_IO_file_xsgetn_mmap): Likewise.
18676 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18677 (_IO_cookie_write): Likewise.
18678 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18679 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18680 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18681 * malloc/obstack.c (_obstack_begin): Likewise.
18682 (_obstack_begin_1): Likewise.
18683 (_obstack_newchunk): Likewise.
18684 (_obstack_allocated_p): Likewise.
18685 (obstack_free): Likewise.
18686 (_obstack_memory_used): Likewise.
18687 * misc/getttyent.c (getttynam): Likewise.
18688 (getttyent): Likewise.
18689 (skip): Likewise.
18690 (value): Likewise.
18691 * misc/getusershell.c (initshells): Likewise.
18692 * misc/syslog.c (__vsyslog_chk): Likewise.
18693 * misc/ttyslot.c (ttyslot): Likewise.
18694 * nis/nis_hash.c (__nis_hash): Likewise.
18695 * posix/fnmatch_loop.c (FCT): Likewise.
18696 * posix/getconf.c (print_all): Likewise.
18697 (main): Likewise.
18698 * posix/getopt.c (exchange): Likewise.
18699 * posix/glob.c (globfree): Likewise.
18700 (prefix_array): Likewise.
18701 (__glob_pattern_type): Likewise.
18702 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18703 (NS_GET32): Likewise.
18704 (NS_PUT16): Likewise.
18705 (NS_PUT32): Likewise.
18706 * resolv/gethnamaddr.c (getanswer): Likewise.
18707 (gethostbyname2): Likewise.
18708 (gethostbyaddr): Likewise.
18709 (_gethtent): Likewise.
18710 (_gethtbyname2): Likewise.
18711 (_gethtbyaddr): Likewise.
18712 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18713 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18714 * resolv/res_init.c (__res_vinit): Likewise.
18715 (net_mask): Likewise.
18716 * resolv/res_mkquery.c (outchar): Likewise.
18717 (PRINT): Likewise.
18718 * stdio-common/printf_fp.c (outchar): Likewise.
18719 (PRINT): Likewise.
18720 * stdio-common/printf_fphex.c (outchar): Likewise.
18721 (PRINT): Likewise.
18722 * stdio-common/printf_size.c (outchar): Likewise.
18723 (PRINT): Likewise.
18724 * stdio-common/test_rdwr.c (main): Likewise.
18725 * stdio-common/tfformat.c (matches): Likewise.
18726 * stdio-common/vfprintf.c (outchar): Likewise.
18727 (printf_unknown): Likewise.
18728 (buffered_vfprintf): Likewise.
18729 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18730 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18731 (ReadFile): Likewise.
18732 * stdlib/qsort.c (SWAP): Likewise.
18733 (_quicksort): Likewise.
18734 * stdlib/setenv.c (__add_to_environ): Likewise.
18735 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18736 * stdlib/strtol_l.c (__strtol_l): Likewise.
18737 * stdlib/tst-strtod.c (main): Likewise.
18738 * stdlib/tst-strtol.c (main): Likewise.
18739 * stdlib/tst-strtoll.c (main): Likewise.
18740 * string/bits/string2.h (__strcmp_cc): Likewise.
18741 (__strcmp_cg): Likewise.
18742 (__strcspn_c1): Likewise.
18743 (__strcspn_c2): Likewise.
18744 (__strcspn_c3): Likewise.
18745 (__strspn_c1): Likewise.
18746 (__strspn_c2): Likewise.
18747 (__strspn_c3): Likewise.
18748 (__strsep_1c): Likewise.
18749 (__strsep_2c): Likewise.
18750 (__strsep_3c): Likewise.
18751 * string/memccpy.c (__memccpy): Likewise.
18752 * string/stpcpy.c (__stpcpy): Likewise.
18753 * string/strcmp.c (strcmp): Likewise.
18754 * string/strrchr.c (strrchr): Likewise.
18755 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18756 Likewise.
18757 * sysdeps/mach/hurd/getcwd.c
18758 (_hurd_canonicalize_directory_name_internal): Likewise.
18759 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18760 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18761 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18762 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18763 Likewise, in both definitions.
18764 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18765 definitions.
18766 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18767 64] (__bswap_64): Likewise.
18768 * time/test_time.c (main): Likewise.
18769 * time/tzfile.c (__tzfile_read): Likewise.
18770 (__tzfile_compute): Likewise.
18771 * time/tzset.c (__tzset_parse_tz): Likewise.
18772 (tzset_internal): Likewise.
18773 (compute_change): Likewise.
18774 * wcsmbs/wcscat.c (__wcscat): Likewise.
18775 * wcsmbs/wcschr.c (wcschr): Likewise.
18776 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18777 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18778 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18779 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18780 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18781 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18782 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18783 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18784 * wcsmbs/wmemset.c (wmemset): Likewise.
18785
9e54314b
JM
187862013-06-06 Joseph Myers <joseph@codesourcery.com>
18787
18788 * scripts/config.guess: Update to version 2013-05-16.
18789 * scripts/config.sub: Update to version 2013-04-24.
18790 * scripts/install-sh: Update to version 2011-11-20.07.
18791 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18792 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18793
350635a5
OB
187942013-06-06 Ondřej Bílka <neleai@seznam.cz>
18795
18796 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18797 * elf/sln.c: Likewise.
18798 * hurd/hurd/ioctl.h: Likewise.
18799 * hurd/hurdmalloc.c: Likewise.
18800 * hurd/xattr.c: Likewise.
18801 * include/shlib-compat.h: Likewise.
18802 * inet/ruserpass.c: Likewise.
18803 * libio/iofgets_u.c: Likewise.
18804 * libio/iofgetws_u.c: Likewise.
18805 * locale/programs/ld-identification.c: Likewise.
18806 * locale/programs/ld-time.c: Likewise.
18807 * mach/msg-destroy.c: Likewise.
18808 * nss/nss_files/files-netgrp.c: Likewise.
18809 * resolv/res_data.c: Likewise.
18810 * soft-fp/op-1.h: Likewise.
18811 * soft-fp/op-2.h: Likewise.
18812 * soft-fp/op-4.h: Likewise.
18813 * soft-fp/op-common.h: Likewise.
18814 * stdio-common/printf_fphex.c: Likewise.
18815 * stdlib/strtod_l.c: Likewise.
18816 * sunrpc/rpc/clnt.h: Likewise.
18817 * sysdeps/generic/framestate.c: Likewise.
18818 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18819 * sysdeps/i386/bsd-setjmp.S: Likewise.
18820 * sysdeps/i386/__longjmp.S: Likewise.
18821 * sysdeps/i386/setjmp.S: Likewise.
18822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18823 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18824 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18840 * sysdeps/ieee754/support.c: Likewise.
18841 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18842 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18843 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18844 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18845 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18846 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18847 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18848 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18849 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18850 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18851 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18852 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18853 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18854 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18855 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18856 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18857 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18859
44a988af
OB
188602013-06-05 Ondřej Bílka <neleai@seznam.cz>
18861
25506f09 18862 * posix/transbug.c: Remove executable mode.
44a988af 18863
9c84384c
JM
188642013-06-05 Joseph Myers <joseph@codesourcery.com>
18865
18866 * crypt/speeds.c: Remove trailing whitespace.
18867 * dlfcn/default.c: Likewise.
18868 * elf/ifuncdep2.c: Likewise.
18869 * elf/ifuncmain1.c: Likewise.
18870 * elf/ifuncmain1vis.c: Likewise.
18871 * elf/testobj.h: Likewise.
18872 * elf/tst-stackguard1.c: Likewise.
18873 * gmon/sys/gmon.h: Likewise.
18874 * hurd/hurdmsg.c: Likewise.
18875 * hurd/new-fd.c: Likewise.
18876 * hurd/ports-get.c: Likewise.
18877 * iconvdata/ibm1008_420.c: Likewise.
18878 * inet/tst-getni1.c: Likewise.
18879 * inet/tst-getni2.c: Likewise.
18880 * libio/ioungetc.c: Likewise.
18881 * libio/wfiledoalloc.c: Likewise.
18882 * manual/libm-err-tab.pl: Likewise.
18883 * math/w_dremf.c: Likewise.
18884 * misc/ftruncate.c: Likewise.
18885 * posix/bug-glob2.c: Likewise.
18886 * posix/tst-pcre.c: Likewise.
18887 * posix/wait4.c: Likewise.
18888 * resolv/README: Likewise.
18889 * resolv/res_debug.h: Likewise.
18890 * resolv/tst-inet_ntop.c: Likewise.
18891 * setjmp/bug269-setjmp.c: Likewise.
18892 * soft-fp/extended.h: Likewise.
18893 * soft-fp/op-1.h: Likewise.
18894 * soft-fp/op-2.h: Likewise.
18895 * soft-fp/op-4.h: Likewise.
18896 * soft-fp/op-8.h: Likewise.
18897 * soft-fp/testit.c: Likewise.
18898 * stdio-common/bug16.c: Likewise.
18899 * stdlib/random.c: Likewise.
18900 * sunrpc/rpcsvc/rquota.x: Likewise.
18901 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18902 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18903 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18904 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18905 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18906 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18907 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18908 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18909 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18910 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18911 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18928 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18930 * sysdeps/ieee754/s_lib_version.c: Likewise.
18931 * sysdeps/mach/hurd/check_fds.c: Likewise.
18932 * sysdeps/mach/hurd/getsockname.c: Likewise.
18933 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18934 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18935 * sysdeps/powerpc/bits/link.h: Likewise.
18936 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18937 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18938 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18939 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18940 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18941 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18942 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18943 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18944 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18945 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18946 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18947 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18948 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18949 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18950 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18951 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18953 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18955 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18956 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18957 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18958 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18959 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18960 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18961 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18962 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18963 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18964 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18965 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18966 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18967 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18968 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18969 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18970 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18971 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18972 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18973 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18974 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18975 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18976 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18977 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18978 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18979 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18980 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18981 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18982 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18983 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18984 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18985 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18986 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18987 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18989 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18990 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18991 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18992 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18993 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18994 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18995 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18996 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18997 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18998 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18999 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19000 * sysdeps/powerpc/sysdep.h: Likewise.
19001 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19002 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19003 * sysdeps/sh/dl-trampoline.S: Likewise.
19004 * sysdeps/sh/memset.S: Likewise.
19005 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19006 * sysdeps/sh/strlen.S: Likewise.
19007 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19008 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19009 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19010 * sysdeps/sparc/sparc32/rem.S: Likewise.
19011 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19012 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19013 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19014 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19015 * sysdeps/sparc/sparc32/urem.S: Likewise.
19016 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19017 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19018 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19019 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19020 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19021 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19022 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19023 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19024 * sysdeps/unix/bsd/times.c: Likewise.
19025 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19026 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19030 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19031 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19032 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19033 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19034 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19035 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19036 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19037 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19038 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19039 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19040 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19041 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19042 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19043 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19044 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19045 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19046 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19047 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19048 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19049 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19050 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19051 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19052 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19053 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19054 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19055 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19056 * sysdeps/x86_64/strcspn.S: Likewise.
19057
869378a5
RA
190582013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19059
19060 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19061 generated file. Regenerate properly from gen-translit.pl.
19062 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19063 locale/C-translit.h.
19064
840e2943
AS
190652013-06-05 Andreas Schwab <schwab@suse.de>
19066
19067 [BZ #15100]
19068 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19069 week as 6 instead of -1.
19070 * time/tst-strptime.c (day_tests): Add test case.
19071
4c60cb0c
SP
190722013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19073
19074 * sysdeps/generic/math_private.h
19075 (libc_feholdexcept_setround_53bit): Replace with
19076 libc_feholdsetround_53bit.
19077 (libc_feupdateenv_53bit): Replace with
19078 libc_feresetround_53bit.
19079 (SET_RESTORE_ROUND_53BIT): Adjust.
19080
d180203e
SP
190812013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19082
96df079a
SP
19083 * string/test-strchrnul.c: Add copyright header.
19084
d180203e
SP
19085 * posix/tst-getaddrinfo4.c: Increase test timeout.
19086
8b0ccb2d
CD
190872013-06-03 Carlos O'Donell <carlos@redhat.com>
19088
19089 [BZ #15536]
19090 * math/libm-test.inc (MAX_EXP): Remove
19091 (MIN_EXP): Define.
19092 (ulp): Use MIN_EXP - MANT_DIG.
19093 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19094
3b3c4d40
CD
190952013-05-31 Carlos O'Donell <carlos@redhat.com>
19096
19097 * po/be.po: Revert last change.
19098 * po/zh_CN.po: Likewise.
19099 * po/header.pot: Likewise.
19100
fab7ce3f
JM
191012013-05-31 Joseph Myers <joseph@codesourcery.com>
19102
19103 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19104 link-libc-deps to empty as target-specific variable.
19105 * Makerules (link-libc-args): New variable.
19106 (libc-for-link): Likewise.
19107 (link-libc-deps): Likewise.
19108 (lib%.so): Depend on $(link-libc-deps). Link with
19109 $(link-libc-args).
19110 (build-module): Link with $(link-libc-args).
19111 (build-module-asneeded): Likewise.
19112 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19113 list of objects.
19114 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19115 target-specific variable.
19116 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19117 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19118 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19119 libc.
19120 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19121 libc and ld.so.
19122 ($(objpfx)libpcprofile.so): Likewise.
19123 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19124 libc_nonshared.a.
19125 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19126 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19127 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19128 $(link-libc-deps).
19129 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19130 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19131 * login/Makefile ($(objpfx)libutil.so): Likewise.
19132 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19133 * math/Makefile ($(objpfx)libm.so): Likewise.
19134 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19135 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19136 variable instead of depending directly on libc.
19137 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19138 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19139 $(link-libc-deps).
19140 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19141 libc.
19142 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19143 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19144 ($(objpfx)libanl.so): Likewise.
19145 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19146 ld.so.
19147 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19148 $(link-libc-deps).
19149 * sysdeps/i386/fpu/Makefile: Remove file.
19150 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19151 ($(objpfx)libm.so): Remove dependency on ld.so.
19152
eca5920c
PF
191532013-05-30 Patsy Franklin <pfrankli@redhat.com>
19154
19155 [BZ # 15553]
19156 * nis/yp_xdr.c (XDRMAXNAME): Define.
19157 (XDRMAXRECORD): Define.
19158 (xdr_domainname): Use XDRMAXNAME.
19159 (xdr_mapname): Likewise.
19160 (xdr_peername): Likewise.
19161 (xdr_keydat): Use XDRMAXRECORD.
19162 (xdr_valdat): Likewise.
19163
191642013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19165
19166 [BZ #14256]
19167 * manual/errno.texi (ESTALE): Update to account for more than
19168 just NFS file systems.
19169 * sysdeps/gnu/errlist.c: Regenerated.
19170
b9375348
SP
191712013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19172
19173 [BZ #15465]
19174 * elf/Makefile (tests): Add tst-null-argv.
19175 (modules-names): Add tst-null-argv-lib.
19176 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19177 (tst-null-argv-ENV): Set environment for tst-null-argv.
19178 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19179 (RTLD_PROGNAME): New macro.
19180 * elf/tst-null-argv.c: New test case.
19181 * elf/tst-null-argv-lib.c: Library for test case.
19182 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19183 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19184 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19185 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19186 * elf/dl-init.c (call_init): Likewise.
19187 (_dl_init): Likewise.
19188 * elf/dl-load.c (print_search_path): Likewise.
19189 (_dl_map_object): Likewise.
19190 * elf/dl-lookup.c (do_lookup_x): Likewise.
19191 (add_dependency): Likewise.
19192 (_dl_lookup_symbol_x): Likewise.
19193 (_dl_debug_bindings): Likewise.
19194 * elf/dl-open.c (_dl_show_scope): Likewise.
19195 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19196 * elf/dl-version.c (match_symbol): Likewise.
19197 (_dl_check_map_versions): Likewise.
19198 * elf/rtld.c (dl_main): Likewise.
19199 (print_unresolved): Use RTLD_PROGNAME.
19200 (print_missing_version): Likewise.
19201 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19202 (elf_machine_rela): Likewise.
19203 * sysdeps/powerpc/powerpc32/dl-machine.c
19204 (__process_machine_rela): Likewise.
19205 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19206 Likewise.
19207 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19208 Likewise.
19209 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19210 Likewise.
19211 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19212 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19213 Likewise.
19214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19215 Likewise.
19216 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19217
8a9f20c8
CD
192182013-05-28 Carlos O'Donell <carlos@redhat.com>
19219
19220 * po/be.po: Add descriptive title.
19221 * po/zh_CN.po: Likewise.
19222 * po/header.pot: Likewise.
19223
0e60d68e
MF
192242013-05-28 Mike Frysinger <vapier@gentoo.org>
19225
19226 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19227 error message.
19228 (enlarge_archive): Likewise.
19229
56b672e9
BN
192302013-05-28 Ben North <ben@redfrontdoor.org>
19231
19232 * manual/arith.texi (frexp): It is the magnitude of the return
19233 value which lies in [0.5, 1), not the return value itself.
19234
5e056687
AZ
192352013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19236
19237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19238
2b66ef5d
TS
192392013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19240
528c2405
TS
19241 * stdio-common/bug26.c (main): Correct fscanf template.
19242
07b4c13d
TS
19243 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19244 declare _dl_skip_args.
19245
ec9dd97c
TS
19246 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19247 Don't declare.
19248
2b66ef5d
TS
19249 * manual/platform.texi: Add missing @end deftypefun.
19250
4f8dfe27
JM
192512013-05-24 Joseph Myers <joseph@codesourcery.com>
19252
0323d086
JM
19253 [BZ #15529]
19254 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19255 bit of mantissa of 2^16382.
19256 * math/libm-test.inc (hypot_test_data): Add more tests.
19257
dd4259b9
JM
19258 * math/libm-test.inc: Add drem and pow10 to list of tested
19259 functions.
19260 (pow10_test): New function.
19261 (drem_test): Likewise.
19262 (drem_test_tonearest): Likewise.
19263 (drem_test_towardzero): Likewise.
19264 (drem_test_downward): Likewise.
19265 (drem_test_upward): Likewise.
19266 (main): Call the new functions.
19267
4f8dfe27
JM
19268 * math/libm-test.inc (finite_test_data): Remove.
19269 (finite_test): Run tests from isfinite_test_data.
19270 (gamma_test_data): Remove.
19271 (gamma_test): Run tests from lgamma_test_data.
19272 * sysdeps/i386/fpu/libm-test-ulps: Update.
19273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19274
d116b7c4
AZ
192752013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19276
19277 * manual/platform.texi: Add PowerPC PPR function set documentation.
19278 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19279 implementation.
19280
e96e3767
CD
192812013-05-24 Carlos O'Donell <carlos@redhat.com>
19282
19283 * math/libm-test.inc (MAX_EXP): Define.
19284 (ULPDIFF): Define.
19285 (ulp): New function.
19286 (check_float_internal): Use ULPDIFF.
19287 (cpow_test): Disable failing test.
19288 (check_ulp): Test ulp() implemetnation.
19289 (main): Call check_ulp before starting tests.
19290
b679a606
JM
192912013-05-24 Joseph Myers <joseph@codesourcery.com>
19292
e8bdba36
JM
19293 * math/gen-libm-test.pl (generate_testfile): Do not handle
19294 START_DATA and END_DATA.
19295 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19296 END_DATA.
19297 (acos_tonearest_test_data): Likewise.
19298 (acos_towardzero_test_data): Likewise.
19299 (acos_downward_test_data): Likewise.
19300 (acos_upward_test_data): Likewise.
19301 (acosh_test_data): Likewise.
19302 (asin_test_data): Likewise.
19303 (asin_tonearest_test_data): Likewise.
19304 (asin_towardzero_test_data): Likewise.
19305 (asin_downward_test_data): Likewise.
19306 (asin_upward_test_data): Likewise.
19307 (asinh_test_data): Likewise.
19308 (atan_test_data): Likewise.
19309 (atanh_test_data): Likewise.
19310 (atan2_test_data): Likewise.
19311 (cabs_test_data): Likewise.
19312 (cacos_test_data): Likewise.
19313 (cacosh_test_data): Likewise.
19314 (carg_test_data): Likewise.
19315 (casin_test_data): Likewise.
19316 (casinh_test_data): Likewise.
19317 (catan_test_data): Likewise.
19318 (catanh_test_data): Likewise.
19319 (cbrt_test_data): Likewise.
19320 (ccos_test_data): Likewise.
19321 (ccosh_test_data): Likewise.
19322 (ceil_test_data): Likewise.
19323 (cexp_test_data): Likewise.
19324 (cimag_test_data): Likewise.
19325 (clog_test_data): Likewise.
19326 (clog10_test_data): Likewise.
19327 (conj_test_data): Likewise.
19328 (copysign_test_data): Likewise.
19329 (cos_test_data): Likewise.
19330 (cos_tonearest_test_data): Likewise.
19331 (cos_towardzero_test_data): Likewise.
19332 (cos_downward_test_data): Likewise.
19333 (cos_upward_test_data): Likewise.
19334 (cosh_test_data): Likewise.
19335 (cosh_tonearest_test_data): Likewise.
19336 (cosh_towardzero_test_data): Likewise.
19337 (cosh_downward_test_data): Likewise.
19338 (cosh_upward_test_data): Likewise.
19339 (cpow_test_data): Likewise.
19340 (cproj_test_data): Likewise.
19341 (creal_test_data): Likewise.
19342 (csin_test_data): Likewise.
19343 (csinh_test_data): Likewise.
19344 (csqrt_test_data): Likewise.
19345 (ctan_test_data): Likewise.
19346 (ctan_tonearest_test_data): Likewise.
19347 (ctan_towardzero_test_data): Likewise.
19348 (ctan_downward_test_data): Likewise.
19349 (ctan_upward_test_data): Likewise.
19350 (ctanh_test_data): Likewise.
19351 (ctanh_tonearest_test_data): Likewise.
19352 (ctanh_towardzero_test_data): Likewise.
19353 (ctanh_downward_test_data): Likewise.
19354 (ctanh_upward_test_data): Likewise.
19355 (erf_test_data): Likewise.
19356 (erfc_test_data): Likewise.
19357 (exp_test_data): Likewise.
19358 (exp_tonearest_test_data): Likewise.
19359 (exp_towardzero_test_data): Likewise.
19360 (exp_downward_test_data): Likewise.
19361 (exp_upward_test_data): Likewise.
19362 (exp10_test_data): Likewise.
19363 (exp2_test_data): Likewise.
19364 (expm1_test_data): Likewise.
19365 (fabs_test_data): Likewise.
19366 (fdim_test_data): Likewise.
19367 (finite_test_data): Likewise.
19368 (floor_test_data): Likewise.
19369 (fma_test_data): Likewise.
19370 (fma_towardzero_test_data): Likewise.
19371 (fma_downward_test_data): Likewise.
19372 (fma_upward_test_data): Likewise.
19373 (fmax_test_data): Likewise.
19374 (fmin_test_data): Likewise.
19375 (fmod_test_data): Likewise.
19376 (fpclassify_test_data): Likewise.
19377 (frexp_test_data): Likewise.
19378 (gamma_test_data): Likewise.
19379 (hypot_test_data): Likewise.
19380 (ilogb_test_data): Likewise.
19381 (isfinite_test_data): Likewise.
19382 (isgreater_test_data): Likewise.
19383 (isgreaterequal_test_data): Likewise.
19384 (isinf_test_data): Likewise.
19385 (isless_test_data): Likewise.
19386 (islessequal_test_data): Likewise.
19387 (islessgreater_test_data): Likewise.
19388 (isnan_test_data): Likewise.
19389 (isnormal_test_data): Likewise.
19390 (issignaling_test_data): Likewise.
19391 (isunordered_test_data): Likewise.
19392 (j0_test_data): Likewise.
19393 (j1_test_data): Likewise.
19394 (jn_test_data): Likewise.
19395 (ldexp_test_data): Likewise.
19396 (lgamma_test_data): Likewise.
19397 (lrint_test_data): Likewise.
19398 (lrint_tonearest_test_data): Likewise.
19399 (lrint_towardzero_test_data): Likewise.
19400 (lrint_downward_test_data): Likewise.
19401 (lrint_upward_test_data): Likewise.
19402 (llrint_test_data): Likewise.
19403 (llrint_tonearest_test_data): Likewise.
19404 (llrint_towardzero_test_data): Likewise.
19405 (llrint_downward_test_data): Likewise.
19406 (llrint_upward_test_data): Likewise.
19407 (log_test_data): Likewise.
19408 (log10_test_data): Likewise.
19409 (log1p_test_data): Likewise.
19410 (log2_test_data): Likewise.
19411 (logb_test_data): Likewise.
19412 (logb_downward_test_data): Likewise.
19413 (lround_test_data): Likewise.
19414 (llround_test_data): Likewise.
19415 (modf_test_data): Likewise.
19416 (nearbyint_test_data): Likewise.
19417 (nextafter_test_data): Likewise.
19418 (nexttoward_test_data): Likewise.
19419 (pow_test_data): Likewise.
19420 (pow_tonearest_test_data): Likewise.
19421 (pow_towardzero_test_data): Likewise.
19422 (pow_downward_test_data): Likewise.
19423 (pow_upward_test_data): Likewise.
19424 (remainder_test_data): Likewise.
19425 (remainder_tonearest_test_data): Likewise.
19426 (remainder_towardzero_test_data): Likewise.
19427 (remainder_downward_test_data): Likewise.
19428 (remainder_upward_test_data): Likewise.
19429 (remquo_test_data): Likewise.
19430 (rint_test_data): Likewise.
19431 (rint_tonearest_test_data): Likewise.
19432 (rint_towardzero_test_data): Likewise.
19433 (rint_downward_test_data): Likewise.
19434 (rint_upward_test_data): Likewise.
19435 (round_test_data): Likewise.
19436 (scalb_test_data): Likewise.
19437 (scalbn_test_data): Likewise.
19438 (scalbln_test_data): Likewise.
19439 (signbit_test_data): Likewise.
19440 (sin_test_data): Likewise.
19441 (sin_tonearest_test_data): Likewise.
19442 (sin_towardzero_test_data): Likewise.
19443 (sin_downward_test_data): Likewise.
19444 (sin_upward_test_data): Likewise.
19445 (sincos_test_data): Likewise.
19446 (sinh_test_data): Likewise.
19447 (sinh_tonearest_test_data): Likewise.
19448 (sinh_towardzero_test_data): Likewise.
19449 (sinh_downward_test_data): Likewise.
19450 (sinh_upward_test_data): Likewise.
19451 (sqrt_test_data): Likewise.
19452 (tan_test_data): Likewise.
19453 (tan_tonearest_test_data): Likewise.
19454 (tan_towardzero_test_data): Likewise.
19455 (tan_downward_test_data): Likewise.
19456 (tan_upward_test_data): Likewise.
19457 (tanh_test_data): Likewise.
19458 (tgamma_test_data): Likewise.
19459 (trunc_test_data): Likewise.
19460 (y0_test_data): Likewise.
19461 (y1_test_data): Likewise.
19462 (yn_test_data): Likewise.
19463 (significand_test_data): Likewise.
19464
b679a606
JM
19465 * math/gen-libm-test.pl (@functions): Remove variable.
19466 (generate_testfile): Don't handle START and END lines.
19467 * math/libm-test.inc (START): New macro.
19468 (END): Likewise.
19469 (END_COMPLEX): Likewise.
19470 (acos_test): Use END macro without arguments.
19471 (acos_test_tonearest): Likewise.
19472 (acos_test_towardzero): Likewise.
19473 (acos_test_downward): Likewise.
19474 (acos_test_upward): Likewise.
19475 (acosh_test): Likewise.
19476 (asin_test): Likewise.
19477 (asin_test_tonearest): Likewise.
19478 (asin_test_towardzero): Likewise.
19479 (asin_test_downward): Likewise.
19480 (asin_test_upward): Likewise.
19481 (asinh_test): Likewise.
19482 (atan_test): Likewise.
19483 (atanh_test): Likewise.
19484 (atan2_test): Likewise.
19485 (cabs_test): Likewise.
19486 (cacos_test): Use END_COMPLEX macro without arguments.
19487 (cacosh_test): Likewise.
19488 (carg_test): Use END macro without arguments.
19489 (casin_test): Use END_COMPLEX macro without arguments.
19490 (casinh_test): Likewise.
19491 (catan_test): Likewise.
19492 (catanh_test): Likewise.
19493 (cbrt_test): Use END macro without arguments.
19494 (ccos_test): Use END_COMPLEX macro without arguments.
19495 (ccosh_test): Likewise.
19496 (ceil_test): Use END macro without arguments.
19497 (cexp_test): Use END_COMPLEX macro without arguments.
19498 (cimag_test): Use END macro without arguments.
19499 (clog_test): Use END_COMPLEX macro without arguments.
19500 (clog10_test): Likewise.
19501 (conj_test): Likewise.
19502 (copysign_test): Use END macro without arguments.
19503 (cos_test): Likewise.
19504 (cos_test_tonearest): Likewise.
19505 (cos_test_towardzero): Likewise.
19506 (cos_test_downward): Likewise.
19507 (cos_test_upward): Likewise.
19508 (cosh_test): Likewise.
19509 (cosh_test_tonearest): Likewise.
19510 (cosh_test_towardzero): Likewise.
19511 (cosh_test_downward): Likewise.
19512 (cosh_test_upward): Likewise.
19513 (cpow_test): Use END_COMPLEX macro without arguments.
19514 (cproj_test): Likewise.
19515 (creal_test): Use END macro without arguments.
19516 (csin_test): Use END_COMPLEX macro without arguments.
19517 (csinh_test): Likewise.
19518 (csqrt_test): Likewise.
19519 (ctan_test): Likewise.
19520 (ctan_test_tonearest): Likewise.
19521 (ctan_test_towardzero): Likewise.
19522 (ctan_test_downward): Likewise.
19523 (ctan_test_upward): Likewise.
19524 (ctanh_test): Likewise.
19525 (ctanh_test_tonearest): Likewise.
19526 (ctanh_test_towardzero): Likewise.
19527 (ctanh_test_downward): Likewise.
19528 (ctanh_test_upward): Likewise.
19529 (erf_test): Use END macro without arguments.
19530 (erfc_test): Likewise.
19531 (exp_test): Likewise.
19532 (exp_test_tonearest): Likewise.
19533 (exp_test_towardzero): Likewise.
19534 (exp_test_downward): Likewise.
19535 (exp_test_upward): Likewise.
19536 (exp10_test): Likewise.
19537 (exp2_test): Likewise.
19538 (expm1_test): Likewise.
19539 (fabs_test): Likewise.
19540 (fdim_test): Likewise.
19541 (finite_test): Likewise.
19542 (floor_test): Likewise.
19543 (fma_test): Likewise.
19544 (fma_test_towardzero): Likewise.
19545 (fma_test_downward): Likewise.
19546 (fma_test_upward): Likewise.
19547 (fmax_test): Likewise.
19548 (fmin_test): Likewise.
19549 (fmod_test): Likewise.
19550 (fpclassify_test): Likewise.
19551 (frexp_test): Likewise.
19552 (gamma_test): Likewise.
19553 (hypot_test): Likewise.
19554 (ilogb_test): Likewise.
19555 (isfinite_test): Likewise.
19556 (isgreater_test): Likewise.
19557 (isgreaterequal_test): Likewise.
19558 (isinf_test): Likewise.
19559 (isless_test): Likewise.
19560 (islessequal_test): Likewise.
19561 (islessgreater_test): Likewise.
19562 (isnan_test): Likewise.
19563 (isnormal_test): Likewise.
19564 (issignaling_test): Likewise.
19565 (isunordered_test): Likewise.
19566 (j0_test): Likewise.
19567 (j1_test): Likewise.
19568 (jn_test): Likewise.
19569 (ldexp_test): Likewise.
19570 (lgamma_test): Likewise.
19571 (lrint_test): Likewise.
19572 (lrint_test_tonearest): Likewise.
19573 (lrint_test_towardzero): Likewise.
19574 (lrint_test_downward): Likewise.
19575 (lrint_test_upward): Likewise.
19576 (llrint_test): Likewise.
19577 (llrint_test_tonearest): Likewise.
19578 (llrint_test_towardzero): Likewise.
19579 (llrint_test_downward): Likewise.
19580 (llrint_test_upward): Likewise.
19581 (log_test): Likewise.
19582 (log10_test): Likewise.
19583 (log1p_test): Likewise.
19584 (log2_test): Likewise.
19585 (logb_test): Likewise.
19586 (logb_test_downward): Likewise.
19587 (lround_test): Likewise.
19588 (llround_test): Likewise.
19589 (modf_test): Likewise.
19590 (nearbyint_test): Likewise.
19591 (nextafter_test): Likewise.
19592 (nexttoward_test): Likewise.
19593 (pow_test): Likewise.
19594 (pow_test_tonearest): Likewise.
19595 (pow_test_towardzero): Likewise.
19596 (pow_test_downward): Likewise.
19597 (pow_test_upward): Likewise.
19598 (remainder_test): Likewise.
19599 (remainder_test_tonearest): Likewise.
19600 (remainder_test_towardzero): Likewise.
19601 (remainder_test_downward): Likewise.
19602 (remainder_test_upward): Likewise.
19603 (remquo_test): Likewise.
19604 (rint_test): Likewise.
19605 (rint_test_tonearest): Likewise.
19606 (rint_test_towardzero): Likewise.
19607 (rint_test_downward): Likewise.
19608 (rint_test_upward): Likewise.
19609 (round_test): Likewise.
19610 (scalb_test): Likewise.
19611 (scalbn_test): Likewise.
19612 (scalbln_test): Likewise.
19613 (signbit_test): Likewise.
19614 (sin_test): Likewise.
19615 (sin_test_tonearest): Likewise.
19616 (sin_test_towardzero): Likewise.
19617 (sin_test_downward): Likewise.
19618 (sin_test_upward): Likewise.
19619 (sincos_test): Likewise.
19620 (sinh_test): Likewise.
19621 (sinh_test_tonearest): Likewise.
19622 (sinh_test_towardzero): Likewise.
19623 (sinh_test_downward): Likewise.
19624 (sinh_test_upward): Likewise.
19625 (sqrt_test): Likewise.
19626 (tan_test): Likewise.
19627 (tan_test_tonearest): Likewise.
19628 (tan_test_towardzero): Likewise.
19629 (tan_test_downward): Likewise.
19630 (tan_test_upward): Likewise.
19631 (tanh_test): Likewise.
19632 (tgamma_test): Likewise.
19633 (trunc_test): Likewise.
19634 (y0_test): Likewise.
19635 (y1_test): Likewise.
19636 (yn_test): Likewise.
19637 (significand_test): Likewise.
19638
bae143d2
OB
196392013-05-24 Ondřej Bílka <neleai@seznam.cz>
19640
19641 [BZ #15381]
19642 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19643
9323d39b
EM
196442013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19645
d4ea44a0 19646 [BZ #14894]
9323d39b
EM
19647 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19648 __ppc_mdoio and __ppc_mdoom.
19649 * manual/platform.texi: Document new functions __ppc_yield,
19650 __ppc_mdoio and __ppc_mdoom.
19651
13e23af7
CD
196522013-05-22 Carlos O'Donell <carlos@redhat.com>
19653
19654 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19655 (main): Mention "tls" pseudo-hwcap is legacy.
19656 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19657
351fe550
JM
196582013-05-22 Joseph Myers <joseph@codesourcery.com>
19659
19660 * math/gen-libm-test.pl (parse_args): Output only string of
19661 arguments as text for test name, not full call or descriptions of
19662 tests for extra outputs.
19663 (generate_testfile): Do not pass function name to parse_args.
19664 Generate this_func variable from START.
19665 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19666 field to arg_str.
19667 (struct test_ff_f_data): Likewise.
19668 (test_ff_f_data_nexttoward): Likewise.
19669 (struct test_fi_f_data): Likewise.
19670 (struct test_fl_f_data): Likewise.
19671 (struct test_if_f_data): Likewise.
19672 (struct test_fff_f_data): Likewise.
19673 (struct test_c_f_data): Likewise.
19674 (struct test_f_f1_data): Likewise. Remove field extra_name.
19675 (struct test_fF_f1_data): Likewise.
19676 (struct test_ffI_f1_data): Likewise.
19677 (struct test_c_c_data): Rename test_name field to arg_str.
19678 (struct test_cc_c_data): Likewise.
19679 (struct test_f_i_data): Likewise.
19680 (struct test_ff_i_data): Likewise.
19681 (struct test_f_l_data): Likewise.
19682 (struct test_f_L_data): Likewise.
19683 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19684 and extra2_name.
19685 (COMMON_TEST_SETUP): New macro.
19686 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19687 (COMMON_TEST_CLEANUP): Likewise.
19688 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19689 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19690 macros.
19691 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19692 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19693 macros.
19694 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19695 (RUN_TEST_fff_f): Take argument string. Call new setup and
19696 cleanup macros.
19697 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19698 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19699 macros.
19700 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19701 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19702 macros.
19703 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19704 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19705 cleanup macros.
19706 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19707 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19708 cleanup macros.
19709 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19710 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19711 cleanup macros.
19712 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19713 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19714 macros.
19715 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19716 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19717 macros.
19718 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19719 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19720 macros.
19721 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19722 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19723 cleanup macros.
19724 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19725 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19726 cleanup macros.
19727 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19728 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19729 macros.
19730 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19731 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19732 cleanup macros.
19733 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19734 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19735 macros.
19736 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19737 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19738 macros.
19739 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19740 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19741 cleanup macros.
19742 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19743
85118d4d
EBM
197442013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19745
19746 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19747 to _sifields.sigfault.
19748 (si_addr_lsb): Define new macro.
19749 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19750 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19751 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19752
7a44c18f
CD
197532013-05-03 Carlos O'Donell <carlos at redhat.com>
19754
19755 [BZ #15441]
19756 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19757 returns -1.
19758 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19759 null return -1.
19760 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19761 loading the domain.
19762
b50a7181
JM
197632013-05-22 Joseph Myers <joseph@codesourcery.com>
19764
19765 * math/gen-libm-test.pl (parse_args): Do not include expected
19766 result in test name.
19767 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19768 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19769 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19770 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19771 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19773
051063c8
SP
197742013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19775
3ce9e010
SP
19776 * benchtests/Makefile: Sort function entries.
19777
051063c8
SP
19778 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19779 tanh, asinh, acosh, atanh.
19780 * benchtests/acos-inputs: New file.
19781 * benchtests/acosh-inputs: New file.
19782 * benchtests/asin-inputs: New file.
19783 * benchtests/asinh-inputs: New file.
19784 * benchtests/atanh-inputs: New file.
19785 * benchtests/cosh-inputs: New file.
19786 * benchtests/log-inputs: New file.
19787 * benchtests/sinh-inputs: New file.
19788 * benchtests/tanh-inputs: New file.
19789
47c22455
DL
197902013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19791
19792 [BZ #15339]
19793 * posix/tst-getaddrinfo4.c: New test.
19794 * posix/Makefile (tests): Add it.
19795
3d04f5db
SP
197962013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19797
19798 [BZ #15339]
19799 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19800 when no services were used.
19801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19802 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19803
d5dd6189
AS
198042013-05-21 Andreas Schwab <schwab@suse.de>
19805
19806 [BZ #15014]
19807 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19808 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19809 successful.
19810 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19811 redundant variable declarations and reallocation of buffer when
19812 parsing as IPv6 address. Always set NSS status when called from
19813 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19814 buffer too small. Correct computation of needed size.
19815 * nss/Makefile (tests): Add test-digits-dots.
19816 * nss/test-digits-dots.c: New test.
19817
fef94eab
SP
198182013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19819
19820 * benchtests/Makefile: Remove instructions for adding
19821 benchmark tests.
19822 * benchtests/README: New file to explain how to execute and
19823 enhance the benchmark tests.
19824
e39adf43
AS
198252013-05-21 Andreas Schwab <schwab@suse.de>
19826
19827 [BZ #15493]
19828 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19829 * setjmp/tst-sigsetjmp.c: New test.
19830
b2b671b6
OB
198312013-05-20 Ondřej Bílka <neleai@seznam.cz>
19832
19833 * sysdeps/x86_64/memset.S (memset): New implementation.
19834 (__bzero): Likewise.
19835 (__memset_tail): New function.
19836
2d48b41c
OB
198372013-05-20 Ondřej Bílka <neleai@seznam.cz>
19838
19839 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19840 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19841 __memcpy_sse2_unaligned ifunc selection.
19842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19843 Add memcpy-sse2-unaligned.S.
19844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19845 Add: __memcpy_sse2_unaligned.
19846
f16cc3eb
JM
198472013-05-19 Joseph Myers <joseph@codesourcery.com>
19848
3e694268
JM
19849 [BZ #15490]
19850 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19851 math_force_eval before restoring floating-point envrionment.
19852 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19854 Likewise.
19855 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19856 <math_private.h>.
19857 (__nearbyintl): Use math_force_eval before restoring
19858 floating-point environment.
19859 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19860
db62a907
JM
19861 * math/gen-libm-test.pl (special_functions): Remove.
19862 (parse_args): Don't handle TEST_extra. Handle functions with no
19863 return value.
19864 * math/libm-test.inc (struct test_sincos_data): Replace with
19865 struct test_fFF_11_data.
19866 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19867 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19868 (sincos_test_data): Change element type to struct
19869 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19870 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19871 RUN_TEST_LOOP_sincos.
19872 * math/README.libm-test: Don't mention special handling of
19873 individual functions.
19874 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19875 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19876 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19877 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19878 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19880
f16cc3eb
JM
19881 * math/gen-libm-test.pl (get_variable): Remove function.
19882 (parse_args): Don't show pointer parameters to call in test
19883 names. Use "extra output N" in test names for extra outputs
19884 rather than naming variables.
19885
3779b5b6
JM
198862013-05-18 Joseph Myers <joseph@codesourcery.com>
19887
2ee094ff
JM
19888 [BZ #15488]
19889 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19890 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19891 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19892 double tests.
19893 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19894 disable.
19895 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19896 check_long_double.
19897
3779b5b6
JM
19898 * math/gen-libm-test.pl (@tests): Remove variable.
19899 ($count): Likewise.
19900 (new_test): Remove function.
19901 (show_exceptions): New function.
19902 (special_functions): Use show_exceptions instead of new_test.
19903 (parse_args): Likewise.
19904 (generate_testfile): Pass only function name in generated call to
19905 print_max_error or print_complex_max_error.
19906 (get_ulps): Do not handle complex tests specially.
19907 (output_test): Rename to ...
19908 (get_all_ulps_for_test): ... this. Return a string rather than
19909 printing to a file. Require ulps to be present.
19910 (output_ulps): Generate arrays rather than #defines.
19911 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19912 (struct ulp_data): New type.
19913 (BUILD_COMPLEX_ULP): Remove macro.
19914 (compare_ulp_data): New function.
19915 (find_ulps): Likewise.
19916 (find_test_ulps): Likewise.
19917 (find_function_ulps): Likewise.
19918 (find_complex_function_ulps): Likewise.
19919 (print_max_error): Determine allowed ulps using
19920 find_function_ulps.
19921 (print_complex_max_error): Determine allowed ulps using
19922 find_complex_function_ulps.
19923 (check_float_internal): Determine max ulps using find_test_ulps.
19924 (check_float): Do not take max_ulp parameter. Update call to
19925 check_float_internal.
19926 (check_complex): Likewise.
19927 (check_int): Do not take max_ulp parameter.
19928 (check_long): Likewise.
19929 (check_bool): Likewise.
19930 (check_longlong): Likewise.
19931 (struct test_f_f_data): Remove max_ulp field.
19932 (struct test_ff_f_data): Likewise.
19933 (struct test_ff_f_data_nexttoward): Likewise.
19934 (struct test_fi_f_data): Likewise.
19935 (struct test_fl_f_data): Likewise.
19936 (struct test_if_f_data): Likewise.
19937 (struct test_fff_f_data): Likewise.
19938 (struct test_c_f_data): Likewise.
19939 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19940 (struct test_fF_f1_data): Likewise.
19941 (struct test_ffI_f1_data): Likewise.
19942 (struct test_c_c_data): Remove max_ulp field.
19943 (struct test_cc_c_data): Likewise.
19944 (struct test_f_i_data): Likewise.
19945 (struct test_ff_i_data): Likewise.
19946 (struct test_f_l_data): Likewise.
19947 (struct test_f_L_data): Likewise.
19948 (struct test_sincos_data): Likewise.
19949 (RUN_TEST_f_f): Do not handle ulps.
19950 (RUN_TEST_LOOP_f_f): Likewise.
19951 (RUN_TEST_2_f): Likewise.
19952 (RUN_TEST_LOOP_2_f): Likewise.
19953 (RUN_TEST_fff_f): Likewise.
19954 (RUN_TEST_LOOP_fff_f): Likewise.
19955 (RUN_TEST_c_f): Likewise.
19956 (RUN_TEST_LOOP_c_f): Likewise.
19957 (RUN_TEST_f_f1): Likewise.
19958 (RUN_TEST_LOOP_f_f1): Likewise.
19959 (RUN_TEST_fF_f1): Likewise.
19960 (RUN_TEST_LOOP_fF_f1): Likewise.
19961 (RUN_TEST_fI_f1): Likewise.
19962 (RUN_TEST_LOOP_fI_f1): Likewise.
19963 (RUN_TEST_ffI_f1): Likewise.
19964 (RUN_TEST_LOOP_ffI_f1): Likewise.
19965 (RUN_TEST_c_c): Likewise.
19966 (RUN_TEST_LOOP_c_c): Likewise.
19967 (RUN_TEST_cc_c): Likewise.
19968 (RUN_TEST_LOOP_cc_c): Likewise.
19969 (RUN_TEST_f_i): Likewise.
19970 (RUN_TEST_LOOP_f_i): Likewise.
19971 (RUN_TEST_f_i_tg): Likewise.
19972 (RUN_TEST_LOOP_f_i_tg): Likewise.
19973 (RUN_TEST_ff_i_tg): Likewise.
19974 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19975 (RUN_TEST_f_b): Likewise.
19976 (RUN_TEST_LOOP_f_b): Likewise.
19977 (RUN_TEST_f_b_tg): Likewise.
19978 (RUN_TEST_LOOP_f_b_tg): Likewise.
19979 (RUN_TEST_f_l): Likewise.
19980 (RUN_TEST_LOOP_f_l): Likewise.
19981 (RUN_TEST_f_L): Likewise.
19982 (RUN_TEST_LOOP_f_L): Likewise.
19983 (RUN_TEST_sincos): Likewise.
19984 (RUN_TEST_LOOP_sincos): Likewise.
19985
8269107f
JM
199862013-05-17 Joseph Myers <joseph@codesourcery.com>
19987
bb38759d
JM
19988 [BZ #15480]
19989 [BZ #15485]
19990 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19991 main case of finite arguments, set rounding mode to FE_TONEAREST
19992 and discard exceptions.
19993 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19994 exceptions.
19995 (remainder_tonearest_test_data): New variable.
19996 (remainder_test_tonearest): New function.
19997 (remainder_towardzero_test_data): New variable.
19998 (remainder_test_towardzero): New function.
19999 (remainder_downward_test_data): New variable.
20000 (remainder_test_downward): New function.
20001 (remainder_upward_test_data): New variable.
20002 (remainder_test_upward): New function.
20003 (main): Call the new test functions.
20004
a00bdcf0
JM
20005 * math/libm-test.inc (struct test_f_f1_data): Remove field
20006 extra_init.
20007 (struct test_fF_f1_data): Likewise.
20008 (struct test_ffI_f1_data): Likewise.
20009 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20010 based on value of EXTRA_EXPECTED.
20011 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20012 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20013 EXTRA_VAR based on value of EXTRA_EXPECTED.
20014 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20015 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20016 EXTRA_VAR based on value of EXTRA_EXPECTED.
20017 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20018 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20019 EXTRA_VAR based on value of EXTRA_EXPECTED.
20020 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20021 * math/gen-libm-test.pl (parse_args): Don't output initializers
20022 for extra output values.
20023
de407f79
JM
20024 * math/libm-test.inc (check_int): Expect result to be exactly
20025 equal to expected value and do not handle ulps.
20026 (check_long): Likewise.
20027 (check_longlong): Likewise.
20028
8269107f
JM
20029 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20030 exceptions.
20031 (cimag_test_data): Likewise.
20032 (conj_test_data): Likewise.
20033 (copysign_test_data): Likewise.
20034 (cproj_test_data): Likewise.
20035 (creal_test_data): Likewise.
20036 (fabs_test_data): Likewise.
20037 (fdim_test_data): Likewise.
20038 (finite_test_data): Likewise.
20039 (floor_test_data): Likewise.
20040 (fmax_test_data): Likewise.
20041 (fmin_test_data): Likewise.
20042 (fmod_test_data): Likewise.
20043 (fpclassify_test_data): Likewise.
20044 (frexp_test_data): Likewise.
20045 (ilogb_test_data): Likewise.
20046 (isfinite_test_data): Likewise.
20047 (isgreater_test_data): Likewise.
20048 (isgreaterequal_test_data): Likewise.
20049 (isinf_test_data): Likewise.
20050 (isless_test_data): Likewise.
20051 (islessequal_test_data): Likewise.
20052 (islessgreater_test_data): Likewise.
20053 (isnan_test_data): Likewise.
20054 (isnormal_test_data): Likewise.
20055 (issignaling_test_data): Likewise.
20056 (isunordered_test_data): Likewise.
20057 (ldexp_test_data): Likewise.
20058 (lrint_test_data): Likewise.
20059 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20060 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20061 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20062 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20063 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20064 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20065 test input.
20066 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20067 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20068 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20069 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20070 that test input.
20071 (lrint_downward_test_data): Test for "inexact" exceptions.
20072 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20073 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20074 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20075 test input.
20076 (lrint_upward_test_data): Test for "inexact" exceptions.
20077 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20078 test input.
20079 (llrint_test_data): Test for "inexact" exceptions.
20080 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20081 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20082 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20083 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20084 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20085 (llrint_downward_test_data): Test for "inexact" exceptions.
20086 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20087 (llrint_upward_test_data): Test for "inexact" exceptions.
20088 (logb_test_data): Likewise.
20089 (logb_downward_test_data): Likewise.
20090 (nextafter_test_data): Likewise.
20091 (nexttoward_test_data): Likewise.
20092 (remainder_test_data): Likewise.
20093 (remquo_test_data): Likewise.
20094 (scalbn_test_data): Likewise.
20095 (scalbln_test_data): Likewise.
20096 (signbit_test_data): Likewise.
20097 (sqrt_test_data): Likewise.
20098 (significand_test_data): Likewise.
20099
48a18de1
SP
201002013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20101
20102 [BZ #15424]
20103 * benchtests/bench-modf.c (struct args): Mark arg0 as
20104 volatile.
20105 * scripts/bench.pl: Mark members of struct args as volatile.
20106
13d3b41a
AZ
201072013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20108
68191c1d 20109 [BZ # 15497]
13d3b41a
AZ
20110 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20111 negative infinity on POWER6 or lower.
20112 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20113
2848b105
MR
201142013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20115
20116 [BZ #15442]
20117 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20118 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20119 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20120 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20121 (_FP_SETQNAN): New macro.
20122 (_FP_SETQNAN_SEMIRAW): Likewise.
20123 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20124 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20125 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20126 (FP_EXTEND): Use _FP_FRAC_SNANP.
20127 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20128 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20129 into account.
20130 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20131 New macro.
20132 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20133 Likewise.
20134
323e5cb7
JM
201352013-05-16 Joseph Myers <joseph@codesourcery.com>
20136
c58b274f
JM
20137 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20138 with DIVIDE_BY_ZERO_EXCEPTION.
20139 (gamma_test_data): Likewise.
20140 (lgamma_test_data): Likewise.
20141 (log_test_data): Likewise.
20142 (log10_test_data): Likewise.
20143 (log2_test_data): Likewise.
20144 (tgamma_test_data): Likewise.
20145
0ab34904
JM
20146 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20147 (acos_test_tonearest): Likewise.
20148 (acos_test_towardzero): Likewise.
20149 (acos_test_downward): Likewise.
20150 (acos_test_upward): Likewise.
20151 (acosh_test): Likewise.
20152 (asin_test): Likewise.
20153 (asin_test_tonearest): Likewise.
20154 (asin_test_towardzero): Likewise.
20155 (asin_test_downward): Likewise.
20156 (asin_test_upward): Likewise.
20157 (asinh_test): Likewise.
20158 (atan_test): Likewise.
20159 (atanh_test): Likewise.
20160 (atan2_test): Likewise.
20161 (cabs_test): Likewise.
20162 (cacos_test): Likewise.
20163 (cacosh_test): Likewise.
20164 (casin_test): Likewise.
20165 (casinh_test): Likewise.
20166 (catan_test): Likewise.
20167 (catanh_test): Likewise.
20168 (cbrt_test): Likewise.
20169 (ccos_test): Likewise.
20170 (ccosh_test): Likewise.
20171 (cexp_test): Likewise.
20172 (clog_test): Likewise.
20173 (clog10_test): Likewise.
20174 (cos_test): Likewise.
20175 (cos_test_tonearest): Likewise.
20176 (cos_test_towardzero): Likewise.
20177 (cos_test_downward): Likewise.
20178 (cos_test_upward): Likewise.
20179 (cosh_test): Likewise.
20180 (cosh_test_tonearest): Likewise.
20181 (cosh_test_towardzero): Likewise.
20182 (cosh_test_downward): Likewise.
20183 (cosh_test_upward): Likewise.
20184 (cpow_test): Likewise.
20185 (csin_test): Likewise.
20186 (csinh_test): Likewise.
20187 (csqrt_test): Likewise.
20188 (ctan_test): Likewise.
20189 (ctan_test_tonearest): Likewise.
20190 (ctan_test_towardzero): Likewise.
20191 (ctan_test_downward): Likewise.
20192 (ctan_test_upward): Likewise.
20193 (ctanh_test): Likewise.
20194 (ctanh_test_tonearest): Likewise.
20195 (ctanh_test_towardzero): Likewise.
20196 (ctanh_test_downward): Likewise.
20197 (ctanh_test_upward): Likewise.
20198 (erf_test): Likewise.
20199 (erfc_test): Likewise.
20200 (exp_test): Likewise.
20201 (exp_test_tonearest): Likewise.
20202 (exp_test_towardzero): Likewise.
20203 (exp_test_downward): Likewise.
20204 (exp_test_upward): Likewise.
20205 (exp10_test): Likewise.
20206 (exp2_test): Likewise.
20207 (expm1_test): Likewise.
20208 (fmod_test): Likewise.
20209 (gamma_test): Likewise.
20210 (hypot_test): Likewise.
20211 (j0_test): Likewise.
20212 (j1_test): Likewise.
20213 (jn_test): Likewise.
20214 (lgamma_test): Likewise.
20215 (log_test): Likewise.
20216 (log10_test): Likewise.
20217 (log1p_test): Likewise.
20218 (log2_test): Likewise.
20219 (logb_test_downward): Likewise.
20220 (pow_test): Likewise.
20221 (pow_test_tonearest): Likewise.
20222 (pow_test_towardzero): Likewise.
20223 (pow_test_downward): Likewise.
20224 (pow_test_upward): Likewise.
20225 (remainder_test): Likewise.
20226 (remquo_test): Likewise.
20227 (sin_test): Likewise.
20228 (sin_test_tonearest): Likewise.
20229 (sin_test_towardzero): Likewise.
20230 (sin_test_downward): Likewise.
20231 (sin_test_upward): Likewise.
20232 (sincos_test): Likewise.
20233 (sinh_test): Likewise.
20234 (sinh_test_tonearest): Likewise.
20235 (sinh_test_towardzero): Likewise.
20236 (sinh_test_downward): Likewise.
20237 (sinh_test_upward): Likewise.
20238 (sqrt_test): Likewise.
20239 (tan_test): Likewise.
20240 (tan_test_tonearest): Likewise.
20241 (tan_test_towardzero): Likewise.
20242 (tan_test_downward): Likewise.
20243 (tan_test_upward): Likewise.
20244 (tanh_test): Likewise.
20245 (tgamma_test): Likewise.
20246 (y0_test): Likewise.
20247 (y1_test): Likewise.
20248 (yn_test): Likewise.
20249
323e5cb7
JM
20250 * math/gen-libm-test.pl (adjust_arg): Remove function.
20251 (special_function): Remove argument $in_func. Only handle
20252 generating output for tables of tests, not inside functions.
20253 (parse_args): Likewise.
20254 (generate_testfile): Remove variable $in_func. Update call to
20255 parse_args.
20256 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20257 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20258 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20259 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20260 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20261 (MAX_VALUE_INIT): Rename macro to max_value.
20262 (MIN_VALUE_INIT): Rename macro to min_value.
20263 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20264 (plus_zero): Remove variable.
20265 (minus_zero): Likewise.
20266 (plus_infty): Likewise.
20267 (minus_infty): Likewise.
20268 (qnan_value): Likewise.
20269 (max_value): Likewise.
20270 (min_value): Likewise.
20271 (min_subnorm_value): Likewise.
20272
e054f494
RA
202732013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20274
20275 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20276 uint64_t or uint32_t usage.
20277 * crypt/sha256-block.c: Likewise.
20278 * crypt/sha256-crypt.c: Likewise.
20279 * crypt/sha256.c: Likewise.
20280 * crypt/sha512-block.c: Likewise.
20281 * crypt/sha512-crypt.c: Likewise.
20282 * crypt/sha512.c: Likewise.
20283 * debug/backtrace-tst.c: Likewise.
20284 * debug/pcprofiledump.c: Likewise.
20285 * elf/cache.c: Likewise.
20286 * elf/dl-cache.c: Likewise.
20287 * elf/dl-misc.c: Likewise.
20288 * elf/dl-profile.c: Likewise.
20289 * elf/dl-support.c: Likewise.
20290 * elf/ldconfig.c: Likewise.
20291 * elf/sprof.c: Likewise.
20292 * iconv/dummy-repertoire.c: Likewise.
20293 * iconv/iconv_charmap.c: Likewise.
20294 * iconv/skeleton.c: Likewise.
20295 * iconvdata/8bit-generic.c: Likewise.
20296 * iconvdata/cp737.h: Likewise.
20297 * iconvdata/cp775.h: Likewise.
20298 * iconvdata/ibm1008.h: Likewise.
20299 * iconvdata/ibm1025.h: Likewise.
20300 * iconvdata/ibm1046.h: Likewise.
20301 * iconvdata/ibm1097.h: Likewise.
20302 * iconvdata/ibm1112.h: Likewise.
20303 * iconvdata/ibm1122.h: Likewise.
20304 * iconvdata/ibm1123.h: Likewise.
20305 * iconvdata/ibm1124.h: Likewise.
20306 * iconvdata/ibm1129.h: Likewise.
20307 * iconvdata/ibm1130.h: Likewise.
20308 * iconvdata/ibm1132.h: Likewise.
20309 * iconvdata/ibm1133.h: Likewise.
20310 * iconvdata/ibm1137.h: Likewise.
20311 * iconvdata/ibm1140.h: Likewise.
20312 * iconvdata/ibm1141.h: Likewise.
20313 * iconvdata/ibm1142.h: Likewise.
20314 * iconvdata/ibm1143.h: Likewise.
20315 * iconvdata/ibm1144.h: Likewise.
20316 * iconvdata/ibm1145.h: Likewise.
20317 * iconvdata/ibm1146.h: Likewise.
20318 * iconvdata/ibm1147.h: Likewise.
20319 * iconvdata/ibm1148.h: Likewise.
20320 * iconvdata/ibm1149.h: Likewise.
20321 * iconvdata/ibm1153.h: Likewise.
20322 * iconvdata/ibm1154.h: Likewise.
20323 * iconvdata/ibm1155.h: Likewise.
20324 * iconvdata/ibm1156.h: Likewise.
20325 * iconvdata/ibm1157.h: Likewise.
20326 * iconvdata/ibm1158.h: Likewise.
20327 * iconvdata/ibm1160.h: Likewise.
20328 * iconvdata/ibm1161.h: Likewise.
20329 * iconvdata/ibm1162.h: Likewise.
20330 * iconvdata/ibm1163.h: Likewise.
20331 * iconvdata/ibm1164.h: Likewise.
20332 * iconvdata/ibm1166.h: Likewise.
20333 * iconvdata/ibm1167.h: Likewise.
20334 * iconvdata/ibm12712.h: Likewise.
20335 * iconvdata/ibm1390.h: Likewise.
20336 * iconvdata/ibm1399.h: Likewise.
20337 * iconvdata/ibm16804.h: Likewise.
20338 * iconvdata/ibm4517.h: Likewise.
20339 * iconvdata/ibm4899.h: Likewise.
20340 * iconvdata/ibm4909.h: Likewise.
20341 * iconvdata/ibm4971.h: Likewise.
20342 * iconvdata/ibm5347.h: Likewise.
20343 * iconvdata/ibm803.h: Likewise.
20344 * iconvdata/ibm856.h: Likewise.
20345 * iconvdata/ibm901.h: Likewise.
20346 * iconvdata/ibm902.h: Likewise.
20347 * iconvdata/ibm9030.h: Likewise.
20348 * iconvdata/ibm9066.h: Likewise.
20349 * iconvdata/ibm921.h: Likewise.
20350 * iconvdata/ibm922.h: Likewise.
20351 * iconvdata/ibm9448.h: Likewise.
20352 * iconvdata/isiri-3342.h: Likewise.
20353 * iconvdata/jis0201.h: Likewise.
20354 * include/link.h: Likewise.
20355 * include/netdb.h: Likewise.
20356 * inet/check_native.c: Likewise.
20357 * inet/check_pf.c: Likewise.
20358 * inet/getipv4sourcefilter.c: Likewise.
20359 * inet/getnameinfo.c: Likewise.
20360 * inet/getsourcefilter.c: Likewise.
20361 * inet/htonl.c: Likewise.
20362 * inet/setipv4sourcefilter.c: Likewise.
20363 * inet/setsourcefilter.c: Likewise.
20364 * inet/test-inet6_opt.c: Likewise.
20365 * inet/tst-network.c: Likewise.
20366 * locale/C-collate.c: Likewise.
20367 * locale/C-ctype.c: Likewise.
20368 * locale/C-time.c: Likewise.
20369 * locale/C-translit.h: Likewise.
20370 * locale/loadarchive.c: Likewise.
20371 * locale/programs/3level.h: Likewise.
20372 * locale/programs/charmap.c: Likewise.
20373 * locale/programs/charmap.h: Likewise.
20374 * locale/programs/ld-address.c: Likewise.
20375 * locale/programs/ld-collate.c: Likewise.
20376 * locale/programs/ld-ctype.c: Likewise.
20377 * locale/programs/ld-identification.c: Likewise.
20378 * locale/programs/ld-measurement.c: Likewise.
20379 * locale/programs/ld-messages.c: Likewise.
20380 * locale/programs/ld-monetary.c: Likewise.
20381 * locale/programs/ld-name.c: Likewise.
20382 * locale/programs/ld-numeric.c: Likewise.
20383 * locale/programs/ld-paper.c: Likewise.
20384 * locale/programs/ld-telephone.c: Likewise.
20385 * locale/programs/ld-time.c: Likewise.
20386 * locale/programs/linereader.c: Likewise.
20387 * locale/programs/locale.c: Likewise.
20388 * locale/programs/locarchive.c: Likewise.
20389 * locale/programs/locfile.h: Likewise.
20390 * locale/programs/repertoire.c: Likewise.
20391 * locale/programs/simple-hash.c: Likewise.
20392 * locale/programs/simple-hash.h: Likewise.
20393 * malloc/memusage.c: Likewise.
20394 * malloc/memusagestat.c: Likewise.
20395 * nis/nis_defaults.c: Likewise.
20396 * nis/nis_hash.c: Likewise.
20397 * nis/nis_print.c: Likewise.
20398 * nis/nis_xdr.c: Likewise.
20399 * nscd/connections.c: Likewise.
20400 * nscd/hstcache.c: Likewise.
20401 * nscd/nscd_gethst_r.c: Likewise.
20402 * nscd/nscd_getserv_r.c: Likewise.
20403 * nscd/nscd_helper.c: Likewise.
20404 * nscd/servicescache.c: Likewise.
20405 * nss/makedb.c: Likewise.
20406 * nss/nss_db/db-XXX.c: Likewise.
20407 * nss/nss_db/db-initgroups.c: Likewise.
20408 * nss/nss_db/db-netgrp.c: Likewise.
20409 * nss/nss_files/files-network.c: Likewise.
20410 * nss/nss_files/files-parse.c: Likewise.
20411 * posix/bug-regex5.c: Likewise.
20412 * posix/fnmatch_loop.c: Likewise.
20413 * posix/regcomp.c: Likewise.
20414 * posix/regexec.c: Likewise.
20415 * posix/tst-rfc3484-2.c: Likewise.
20416 * posix/tst-rfc3484-3.c: Likewise.
20417 * posix/tst-rfc3484.c: Likewise.
20418 * resolv/nss_dns/dns-canon.c: Likewise.
20419 * resolv/nss_dns/dns-network.c: Likewise.
20420 * resolv/res_init.c: Likewise.
20421 * resolv/res_mkquery.c: Likewise.
20422 * resolv/tst-aton.c: Likewise.
20423 * stdlib/cxa_atexit.c: Likewise.
20424 * stdlib/cxa_finalize.c: Likewise.
20425 * stdlib/gen-fpioconst.c: Likewise.
20426 * stdlib/strtol_l.c: Likewise.
20427 * string/tst-endian.c: Likewise.
20428 * sunrpc/auth_des.c: Likewise.
20429 * sunrpc/clnt_udp.c: Likewise.
20430 * sunrpc/rtime.c: Likewise.
20431 * sunrpc/svcauth_des.c: Likewise.
20432 * sunrpc/xdr.c: Likewise.
20433 * sunrpc/xdr_intXX_t.c: Likewise.
20434 * sunrpc/xdr_rec.c: Likewise.
20435 * sysdeps/generic/ldconfig.h: Likewise.
20436 * sysdeps/generic/ldsodefs.h: Likewise.
20437 * sysdeps/generic/memusage.h: Likewise.
20438 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20439 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20440 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20441 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20442 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20444 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20445 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20446 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20447 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20448 * sysdeps/posix/getaddrinfo.c: Likewise.
20449 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20450 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20451 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20452 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20453 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20454 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20455 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20456 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20457 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20458 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20459 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20460 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20461 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20462 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20463 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20464 * sysdeps/x86_64/dl-tls.h: Likewise.
20465 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20466 * time/alt_digit.c: Likewise.
20467 * time/era.c: Likewise.
20468 * wcsmbs/tst-c16c32-1.c: Likewise.
20469
8c75f674
JM
204702013-05-16 Joseph Myers <joseph@codesourcery.com>
20471
20472 * math/libm-test.inc (struct test_sincos_data): New type.
20473 (RUN_TEST_LOOP_sincos): New macro.
20474 (sincos_test_data): New variable.
20475 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20476
e6e49e59
RH
204772013-05-16 Richard Henderson <rth@redhat.com>
20478
20479 * math/atest-exp2.c (LIMB64): New macro.
20480 (CONSTSZ): New macro.
20481 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20482 (hexdig): Move ...
20483 (print_mpn_fp): ... to function scope.
20484 (read_mpn_hex): Remove.
20485 (get_log2): Remove.
20486 (exp2_mpn): Use mp_log2.
20487 (main): Use mp_exp1.
20488
15c7c18d
JM
204892013-05-16 Joseph Myers <joseph@codesourcery.com>
20490
105a07df
JM
20491 * math/libm-test.inc: Remove comment about not testing "inexact"
20492 exceptions.
20493 (INEXACT_EXCEPTION): New macro.
20494 (NO_INEXACT_EXCEPTION): Likewise.
20495 (INVALID_EXCEPTION_OK): Update value.
20496 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20497 (OVERFLOW_EXCEPTION_OK): Likewise.
20498 (UNDERFLOW_EXCEPTION_OK): Likewise.
20499 (IGNORE_ZERO_INF_SIGN): Likewise.
20500 (ERRNO_UNCHANGED): Likewise.
20501 (ERRNO_EDOM): Likewise.
20502 (ERRNO_ERANGE): Likewise.
20503 (test_exceptions): Handle testing "inexact" exceptions.
20504 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20505 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20506 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20507 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20508 INEXACT_EXCEPTION.
20509 (rint_towardzero_test_data): Likewise.
20510 (rint_downward_test_data): Likewise.
20511 (rint_upward_test_data): Likewise.
20512
e9eee333
JM
20513 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20514 with OVERFLOW_EXCEPTION.
20515 (exp10_test_data): Likewise.
20516 (exp2_test_data): Likewise.
20517 (expm1_test_data): Likewise.
20518 (lgamma_test_data): Likewise.
20519 (pow_test_data): Likewise.
20520 (tgamma_test_data): Likewise.
20521 (yn_test_data): Remove duplicate test of overflow.
20522
1c38ff73
JM
20523 * math/libm-test.inc (struct test_cc_c_data): New type.
20524 (RUN_TEST_LOOP_cc_c): New macro.
20525 (cpow_test_data): New variable.
20526 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20527
15c7c18d
JM
20528 * math/libm-test.inc (struct test_f_L_data): New type.
20529 (RUN_TEST_LOOP_f_L): New macro.
20530 (llrint_test_data): New variable.
20531 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20532 (llrint_tonearest_test_data): New variable.
20533 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20534 (llrint_towardzero_test_data): New variable.
20535 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20536 (llrint_downward_test_data): New variable.
20537 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20538 (llrint_upward_test_data): New variable.
20539 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20540 (llround_test_data): New variable.
20541 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20542
f137ff13
PC
205432013-05-13 Peter Collingbourne <pcc@google.com>
20544
20545 * math/atest-exp2.c (get_log2): Remove const attribute.
20546
3608cb24
JM
205472013-05-15 Joseph Myers <joseph@codesourcery.com>
20548
20549 * math/libm-test.inc (struct test_f_l_data): New type.
20550 (RUN_TEST_LOOP_f_l): New macro.
20551 (lrint_test_data): New variable.
20552 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20553 (lrint_tonearest_test_data): New variable.
20554 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20555 (lrint_towardzero_test_data): New variable.
20556 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20557 (lrint_downward_test_data): New variable.
20558 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20559 (lrint_upward_test_data): New variable.
20560 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20561 (lround_test_data): New variable.
20562 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20563
39b1f617
PC
205642013-05-15 Peter Collingbourne <pcc@google.com>
20565
1deff3dc
PC
20566 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20567 (EXTRACT_WORDS64) Use where appropriate.
20568 (INSERT_WORDS64) Likewise.
20569
791f3ba0
PC
20570 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20571 constraints with x constraints.
20572 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20573
39b1f617
PC
20574 * malloc/obstack.c (_obstack_compat): Add initializer.
20575
12fba011
EM
205762013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20577
20578 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20579 si_trapno and add si_addr_lsb to _sifields.sigfault.
20580 (si_trapno): Remove macro.
20581 (si_addr_lsb): Define new macro.
20582 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20583
d369f531
JM
205842013-05-15 Joseph Myers <joseph@codesourcery.com>
20585
b861c6c4
JM
20586 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20587 instead of TEST_f_l.
20588 (llrint_test_tonearest): Likewise.
20589 (llrint_test_towardzero): Likewise.
20590 (llrint_test_downward): Likewise.
20591 (llrint_test_upward): Likewise.
20592 (llround_test): Likewise.
20593
7abeee12
JM
20594 * math/libm-test.inc (struct test_f_i_data): Add comment.
20595 (RUN_TEST_LOOP_f_b): New macro.
20596 (RUN_TEST_LOOP_f_b_tg): Likewise.
20597 (finite_test_data): New variable.
20598 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20599 (isfinite_test_data): New variable.
20600 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20601 (isinf_test_data): New variable.
20602 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20603 (isnan_test_data): New variable.
20604 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20605 (isnormal_test_data): New variable.
20606 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20607 (issignaling_test_data): New variable.
20608 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20609 (signbit_test_data): New variable.
20610 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20611
cbe8c4d3
JM
20612 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20613 with INVALID_EXCEPTION.
20614 (acosh_test_data): Likewise.
20615 (asin_test_data): Likewise.
20616 (atanh_test_data): Likewise.
20617 (fmod_test_data): Likewise.
20618 (log_test_data): Likewise.
20619 (log10_test_data): Likewise.
20620 (log2_test_data): Likewise.
20621 (pow_test_data): Likewise.
20622 (sqrt_test_data): Likewise.
20623 (y0_test_data): Likewise.
20624 (y1_test_data): Likewise.
20625 (yn_test_data): Likewise.
20626
5575c0e5
JM
20627 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20628 function contents.
20629
d369f531
JM
20630 * math/libm-test.inc (struct test_ff_i_data): New type.
20631 (RUN_TEST_LOOP_ff_i_tg): New macro.
20632 (isgreater_test_data): New variable.
20633 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20634 (isgreaterequal_test_data): New variable.
20635 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20636 (isless_test_data): New variable.
20637 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20638 (islessequal_test_data): New variable.
20639 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20640 (islessgreater_test_data): New variable.
20641 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20642 (isunordered_test_data): New variable.
20643 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20644
781fd748
DM
206452013-05-14 David S. Miller <davem@davemloft.net>
20646
20647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20648
87aa21df
JM
206492013-05-14 Joseph Myers <joseph@codesourcery.com>
20650
5e908270
JM
20651 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20652
f71172e5
JM
20653 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20654 extra_test to int.
20655 (struct test_f_i_data): Change type of max_ulp to int.
20656
8cfa635a
JM
20657 * math/libm-test.inc (test_ffI_f1_data): New type.
20658 (RUN_TEST_LOOP_ffI_f1): New macro.
20659 (remquo_test_data): New variable.
20660 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20661
2bcb36b2
JM
20662 * setjmp/tst-setjmp-fp.c: New file.
20663 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20664 (link-libm): New variable.
20665 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20666
acbd839a
JM
20667 * math/libm-test.inc (struct test_f_i_data): New type.
20668 (RUN_TEST_LOOP_f_i): New macro.
20669 (RUN_TEST_LOOP_f_i_tg): Likewise.
20670 (fpclassify_test_data): New variable.
20671 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20672 (ilogb_test_data): New variable.
20673 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20674
e414d745
JM
20675 * math/libm-test.inc (scalbln_test): Correct function name in END
20676 call.
20677
d9c2a0fd
JM
20678 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20679 (RUN_TEST_LOOP_fI_f1): New macro.
20680 (frexp_test_data): New variable.
20681 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20682
9dc9095d
JM
20683 * math/libm-test.inc (struct test_fF_f1_data): New type.
20684 (RUN_TEST_LOOP_fF_f1): New macro.
20685 (modf_test_data): New variable.
20686 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20687
87aa21df
JM
20688 * math/libm-test.inc (struct test_f_f1_data): New type.
20689 (RUN_TEST_LOOP_f_f1): New macro.
20690 (gamma_test_data): New variable.
20691 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20692 (lgamma_test_data): New variable.
20693 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20694
141af660
CD
206952013-05-13 Carlos O'Donell <carlos@redhat.com>
20696
20697 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20698 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20699 (main): Comment "tls" pseudo-hwcap.
20700
6d33265c
JM
207012013-05-13 Joseph Myers <joseph@codesourcery.com>
20702
68fc074c
JM
20703 * math/libm-test.inc (struct test_fl_f_data): New type.
20704 (RUN_TEST_LOOP_fl_f): New variable.
20705 (scalbln_test_data): New variable.
20706 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20707
243216e1
JM
20708 * math/libm-test.inc (struct test_fi_f_data): New type.
20709 (RUN_TEST_LOOP_fi_f): New macro.
20710 (ldexp_test_data): New variable.
20711 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20712 (scalbn_test_data): New variable.
20713 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20714
6a1992e2
JM
20715 * math/libm-test.inc (struct test_c_f_data): New type.
20716 (RUN_TEST_LOOP_c_f): New macro.
20717 (cabs_test_data): New variable.
20718 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20719 (carg_test_data): New variable.
20720 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20721 (cimag_test_data): New variable.
20722 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20723 (creal_test_data): New variable.
20724 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20725
0e400df5
JM
20726 * math/libm-test.inc (struct test_if_f_data): New type.
20727 (RUN_TEST_LOOP_if_f): New macro.
20728 (jn_test_data): New variable.
20729 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20730 (yn_test_data): New variable.
20731 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20732
6d33265c
JM
20733 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20734
f98ece5f
AZ
207352013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20736
20737 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20738 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20739
0f7d347b
SP
207402013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20741
43fe811b
SP
20742 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20743 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20744 (bench-deps): Add bench-timing.h.
20745 * benchtests-bench-skeleton.c: Include bench-timing.h.
20746 (main): Use TIMING_* macros instead of clock_gettime.
20747 * benchtests/bench-timing.h: New file.
20748
0f7d347b
SP
20749 [BZ #14582]
20750 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20751 Renamed from _LIB_VERSION.
20752 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20753
601a3a5f
JM
207542013-05-12 Joseph Myers <joseph@codesourcery.com>
20755
4f184d30
JM
20756 * math/libm-test.inc (struct test_fff_f_data): New type.
20757 (RUN_TEST_LOOP_fff_f): New macro.
20758 (fma_test_data): New variable.
20759 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20760 (fma_towardzero_test_data): New variable.
20761 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20762 (fma_downward_test_data): New variable.
20763 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20764 (fma_upward_test_data): New variable.
20765 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20766
08198877
JM
20767 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20768 (struct test_c_c_data): New type.
20769 (RUN_TEST_LOOP_c_c): New macro.
20770 (cacos_test_data): New variable.
20771 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20772 (cacosh_test_data): New variable.
20773 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20774 (casin_test_data): New variable.
20775 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20776 (casinh_test_data): New variable.
20777 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20778 (catan_test_data): New variable.
20779 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20780 (catanh_test_data): New variable.
20781 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20782 (ccos_test_data): New variable.
20783 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20784 (ccosh_test_data): New variable.
20785 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20786 (cexp_test_data): New variable.
20787 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20788 (clog_test_data): New variable.
20789 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20790 (clog10_test_data): New variable.
20791 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20792 (conj_test_data): New variable.
20793 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20794 (cproj_test_data): New variable.
20795 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20796 (csin_test_data): New variable.
20797 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20798 (csinh_test_data): New variable.
20799 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20800 (csqrt_test_data): New variable.
20801 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20802 (ctan_test_data): New variable.
20803 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20804 (ctan_tonearest_test_data): New variable.
20805 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20806 (ctan_towardzero_test_data): New variable.
20807 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20808 (ctan_downward_test_data): New variable.
20809 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20810 (ctan_upward_test_data): New variable.
20811 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20812 (ctanh_test_data): New variable.
20813 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20814 (ctanh_tonearest_test_data): New variable.
20815 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20816 (ctanh_towardzero_test_data): New variable.
20817 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20818 (ctanh_downward_test_data): New variable.
20819 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20820 (ctanh_upward_test_data): New variable.
20821 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20822 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20823 of BUILD_COMPLEX.
20824
601a3a5f
JM
20825 * math/libm-test.inc (struct test_ff_f_data): New type.
20826 (struct test_ff_f_data_nexttoward): Likewise.
20827 (RUN_TEST_LOOP_2_f): New macro.
20828 (RUN_TEST_LOOP_ff_f): Likewise.
20829 (atan2_test_data): New variable.
20830 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20831 (copysign_test_data): New variable.
20832 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20833 (fdim_test_data): New variable.
20834 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20835 (fmax_test_data): New variable.
20836 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20837 (fmin_test_data): New variable.
20838 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20839 (fmod_test_data): New variable.
20840 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20841 (hypot_test_data): New variable.
20842 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20843 (nextafter_test_data): New variable.
20844 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20845 (nexttoward_test_data): New variable.
20846 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20847 (pow_test_data): New variable.
20848 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20849 (pow_tonearest_test_data): New variable.
20850 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20851 (pow_towardzero_test_data): New variable.
20852 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20853 (pow_downward_test_data): New variable.
20854 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20855 (pow_upward_test_data): New variable.
20856 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20857 (remainder_test_data): New variable.
20858 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20859 (scalb_test_data): New variable.
20860 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20861 * sysdeps/i386/fpu/libm-test-ulps: Update.
20862
74c57478
JM
208632013-05-11 Joseph Myers <joseph@codesourcery.com>
20864
8329e4da
JM
20865 * math/libm-test.inc (fma_test): Use max_value instead of local
20866 variable fltmax.
20867 (nextafter_test): Likewise.
20868
74c57478
JM
20869 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20870 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20871 (acos_downward_test_data): New variable.
20872 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20873 (acos_upward_test_data): New variable.
20874 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20875 (acosh_test_data): New variable.
20876 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20877 (asin_test_data): New variable.
20878 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20879 (asin_tonearest_test_data): New variable.
20880 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20881 (asin_towardzero_test_data): New variable.
20882 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20883 (asin_downward_test_data): New variable.
20884 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20885 (asin_upward_test_data): New variable.
20886 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20887 (asinh_test_data): New variable.
20888 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20889 (atan_test_data): New variable.
20890 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20891 (atanh_test_data): New variable.
20892 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20893 (cbrt_test_data): New variable.
20894 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20895 (ceil_test_data): New variable.
20896 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20897 (cos_test_data): New variable.
20898 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20899 (cos_tonearest_test_data): New variable.
20900 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20901 (cos_towardzero_test_data): New variable.
20902 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20903 (cos_downward_test_data): New variable.
20904 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20905 (cos_upward_test_data): New variable.
20906 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20907 (cosh_test_data): New variable.
20908 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20909 (cosh_tonearest_test_data): New variable.
20910 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20911 (cosh_towardzero_test_data): New variable.
20912 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20913 (cosh_downward_test_data): New variable.
20914 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20915 (cosh_upward_test_data): New variable.
20916 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20917 (erf_test_data): New variable.
20918 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20919 (erfc_test_data): New variable.
20920 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20921 (exp_test_data): New variable.
20922 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20923 (exp_tonearest_test_data): New variable.
20924 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20925 (exp_towardzero_test_data): New variable.
20926 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20927 (exp_downward_test_data): New variable.
20928 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20929 (exp_upward_test_data): New variable.
20930 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20931 (exp10_test_data): New variable.
20932 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20933 (exp2_test_data): New variable.
20934 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20935 (expm1_test_data): New variable.
20936 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20937 (fabs_test_data): New variable.
20938 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20939 (floor_test_data): New variable.
20940 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20941 (j0_test_data): New variable.
20942 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20943 (j1_test_data): New variable.
20944 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20945 (log_test_data): New variable.
20946 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20947 (log10_test_data): New variable.
20948 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20949 (log1p_test_data): New variable.
20950 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20951 (log2_test_data): New variable.
20952 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20953 (logb_test_data): New variable.
20954 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20955 (logb_downward_test_data): New variable.
20956 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20957 (nearbyint_test_data): New variable.
20958 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20959 (rint_test_data): New variable.
20960 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20961 (rint_tonearest_test_data): New variable.
20962 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20963 (rint_towardzero_test_data): New variable.
20964 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20965 (rint_downward_test_data): New variable.
20966 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20967 (rint_upward_test_data): New variable.
20968 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20969 (round_test_data): New variable.
20970 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20971 (sin_test_data): New variable.
20972 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20973 (sin_tonearest_test_data): New variable.
20974 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20975 (sin_towardzero_test_data): New variable.
20976 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20977 (sin_downward_test_data): New variable.
20978 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20979 (sin_upward_test_data): New variable.
20980 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20981 (sinh_test_data): New variable.
20982 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20983 (sinh_tonearest_test_data): New variable.
20984 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20985 (sinh_towardzero_test_data): New variable.
20986 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20987 (sinh_downward_test_data): New variable.
20988 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20989 (sinh_upward_test_data): New variable.
20990 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20991 (sqrt_test_data): New variable.
20992 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20993 (tan_test_data): New variable.
20994 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20995 (tan_tonearest_test_data): New variable.
20996 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20997 (tan_towardzero_test_data): New variable.
20998 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20999 (tan_downward_test_data): New variable.
21000 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21001 (tan_upward_test_data): New variable.
21002 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21003 (tanh_test_data): New variable.
21004 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21005 (tgamma_test_data): New variable.
21006 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21007 (trunc_test_data): New variable.
21008 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21009 (y0_test_data): New variable.
21010 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21011 (y1_test_data): New variable.
21012 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21013 (significand_test_data): New variable.
21014 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21015
7187d844
CG
210162013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21017
21018 [BZ #12387]
21019 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21020
f63fae73
PT
210212013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21022
21023 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21024
8a67a4b3
AJ
210252013-05-10 Andreas Jaeger <aj@suse.de>
21026
21027 [BZ #15448]
21028 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21029 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21030
51df539d
JM
210312013-05-10 Joseph Myers <joseph@codesourcery.com>
21032
21033 * math/gen-libm-test.pl (adjust_arg): New function.
21034 (special_functions): Handle generating output in both functions
21035 and arrays.
21036 (parse_args): Likewise.
21037 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21038 $in_func argument to parse_args.
21039 * math/libm-test.inc (struct test_f_f_data): New type.
21040 (IF_ROUND_INIT_): New macro.
21041 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21042 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21043 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21044 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21045 (ROUND_RESTORE_): Likewise.
21046 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21047 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21048 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21049 (ROUND_RESTORE_FE_UPWARD): Likewise.
21050 (RUN_TEST_LOOP_f_f): New macro.
21051 (acos_test_data): New variable.
21052 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21053 (acos_tonearest_test_data): New variable.
21054 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21055
5c637fe5
SP
210562013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21057
21058 * benchtests/bench-skeleton.c (startup): Fix coding style.
21059
ab2b9461
JM
210602013-05-10 Joseph Myers <joseph@codesourcery.com>
21061
21062 [BZ #6809]
21063 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21064 negative infinity argument.
21065 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21066 negative infinity argument.
21067 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21068 negative infinity argument.
21069 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21070 domain errors.
21071
4c0fe6fe
FW
210722013-05-10 Florian Weimer <fweimer@redhat.com>
21073
21074 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21075 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21076 * iconv/iconv_prog.c (main): Likewise.
21077 * locale/programs/charmap-dir.c (charmap_readdir)
21078 (fopen_uncompressed): Likewise.
21079 * locale/programs/locfile.c (siblings_uncached)
21080 (write_locale_data): Use lstat64 instead of lstat.
21081 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21082 stat.
21083
a3375d29
AJ
210842013-05-10 Andreas Jaeger <aj@suse.de>
21085
21086 [BZ #15395]
21087 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21088 localization.
21089 Include <locale.h>.
21090
36129722
CD
210912013-05-09 Carlos O'Donell <carlos@redhat.com>
21092
21093 * elf/dl-close.c (_dl_close_worker): Add comments.
21094
faa7f811
JM
210952013-05-09 Joseph Myers <joseph@codesourcery.com>
21096
ed41ffef
JM
21097 [BZ #15359]
21098 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21099 high part of pi/2.
21100 (__ieee754_rem_pio2l): Update comments.
21101
d0213cd0
JM
21102 [BZ #15429]
21103 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21104 high part of pi/2.
21105 (__ieee754_rem_pio2l): Update comments.
21106
0d3e777a
JM
21107 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21108 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21109
24f56066
JM
21110 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21111 M_PI_4l.
21112
faa7f811
JM
21113 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21114 (M_PI_34_LOG10El): Likewise.
21115 (M_PI2_LOG10El): Likewise.
21116 (M_PI4_LOG10El): Likewise.
21117 (M_PI_LOG10El): Likewise.
21118
e9a5e0fd
AZ
211192013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21120
21121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21122
d8cd06db
JM
211232013-05-08 Joseph Myers <joseph@codesourcery.com>
21124
a0d9f9d7
JM
21125 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21126 (MINUS_ZERO_INIT): Likewise.
21127 (PLUS_INFTY_INIT): Likewise.
21128 (MINUS_INFTY_INIT): Likewise.
21129 (QNAN_VALUE_INIT): Likewise.
21130 (MAX_VALUE_INIT): Likewise.
21131 (MIN_VALUE_INIT): Likewise.
21132 (MIN_SUBNORM_VALUE_INIT): Likewise.
21133 (plus_zero): Initialize with PLUS_ZERO_INIT.
21134 (minus_zero): Initialize with MINUS_ZERO_INIT.
21135 (plus_infty): Initialize with PLUS_INFTY_INIT.
21136 (minus_infty): Initialize with MINUS_INFTY_INIT.
21137 (qnan_value): Initialize with QNAN_VALUE_INIT.
21138 (max_value): Initialize with MAX_VALUE_INIT.
21139 (min_value): Initialize with MIN_VALUE_INIT.
21140 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21141
ae08db3b
JM
21142 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21143 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21144 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21145 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21146
f44bf14a
JM
21147 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21148 (RUN_TEST_2_f): Likewise.
21149 (RUN_TEST_ff_f): Likewise.
21150 (RUN_TEST_fi_f): Likewise.
21151 (RUN_TEST_fl_f): Likewise.
21152 (RUN_TEST_fff_f): Likewise.
21153 (RUN_TEST_c_f): Likewise.
21154 (RUN_TEST_f_f1): Likewise.
21155 (RUN_TEST_fF_f1): Likewise.
21156 (RUN_TEST_fI_f1): Likewise.
21157 (RUN_TEST_ffI_f1): Likewise.
21158 (RUN_TEST_c_c): Likewise.
21159 (RUN_TEST_cc_c): Likewise.
21160 (RUN_TEST_f_i): Likewise.
21161 (RUN_TEST_f_i_tg): Likewise.
21162 (RUN_TEST_ff_i_tg): Likewise.
21163 (RUN_TEST_f_b): Likewise.
21164 (RUN_TEST_f_b_tg): Likewise.
21165 (RUN_TEST_f_l): Likewise.
21166 (RUN_TEST_f_L): Likewise.
21167 (RUN_TEST_sincos): Likewise.
21168 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21169 whether to show exceptions. Do not include ");\n" in return
21170 value.
21171 (special_functions): Output call to RUN_TEST_sincos instead of
21172 check_float calls. Update calls to new_test.
21173 (parse_args): Output call to single RUN_TEST_* macro instead of
21174 check_* calls and other assignments. Update calls to new_test.
21175
d8cd06db
JM
21176 [BZ #2546]
21177 [BZ #2560]
21178 [BZ #5159]
21179 [BZ #15426]
21180 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21181 input to result for tgamma overflow.
21182 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21183 (gamma_coeff): New variable.
21184 (NCOEFF): New macro.
21185 (gamma_positive): New function.
21186 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21187 underflow here. Use gamma_positive instead of exp (lgamma) for
21188 other arguments.
21189 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21190 (gamma_coeff): New variable.
21191 (NCOEFF): New macro.
21192 (gammaf_positive): New function.
21193 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21194 underflow here. Use gamma_positive instead of exp (lgamma) for
21195 other arguments.
21196 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21197 (gamma_coeff): New variable.
21198 (NCOEFF): New macro.
21199 (gammal_positive): New function.
21200 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21201 underflow here. Use gamma_positive instead of exp (lgamma) for
21202 other arguments.
21203 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21204 (gamma_coeff): New variable.
21205 (NCOEFF): New macro.
21206 (gammal_positive): New function.
21207 (__ieee754_gammal_r): Handle positive infinity, overflow and
21208 underflow here. Handle NaN the same as positive infinity. Remove
21209 check x < 0xffffffff for negative integers. Use gamma_positive
21210 instead of exp (lgamma) for other arguments.
21211 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21212 (gamma_coeff): New variable.
21213 (NCOEFF): New macro.
21214 (gammal_positive): New function.
21215 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21216 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21220 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21221 * sysdeps/generic/math_private.h (__gamma_productf): New
21222 prototype.
21223 (__gamma_product): Likewise.
21224 (__gamma_productl): Likewise.
21225 * math/Makefile (libm-calls): Add gamma_product.
21226 * math/libm-test.inc (tgamma_test): Add more tests.
21227 * sysdeps/i386/fpu/libm-test-ulps: Update.
21228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21229
bb7cf681
OB
212302013-05-08 Ondřej Bílka <neleai@seznam.cz>
21231
21232 * benchtests/bench-skeleton.c (main): Preheat CPU.
21233
ba853947
AJ
212342013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21235
21236 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21237
8347c74c
RM
212382013-05-07 Roland McGrath <roland@hack.frob.com>
21239
21240 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21241 and _dl_skip_args_internal.
21242
e8dd4791
CD
212432013-05-07 Carlos O'Donell <carlos@redhat.com>
21244
21245 * manual/message.texi (Message Translation): Talk about users.
21246 Message to key mapping impacts design.
21247
c7405830
RM
212482013-05-06 Roland McGrath <roland@hack.frob.com>
21249
a9173057
RM
21250 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21251
976e2f03
RM
21252 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21253
9723ffc5
RM
21254 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21255 * sysdeps/wordsize-64/glob64.c: ... here.
21256
962e6658
RM
21257 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21258 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21259 New macros.
21260
ee586a6d
RM
21261 * debug/getlogin_r_chk.c: Moved to ...
21262 * login/getlogin_r_chk.c: ... here.
21263 * debug/Makefile (routines): Move getlogin_r_chk to ...
21264 * login/Makefile (routines): ... here.
21265 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21266 * login/Versions (libc: GLIBC_2.4): ... here.
21267
355f9165
RM
21268 * io/poll.c (__poll): Renamed from poll.
21269 Add libc_hidden_def.
21270 (poll): Define as weak alias.
21271
bd9ffde6
RM
21272 * debug/ptsname_r_chk.c: Moved to ...
21273 * login/ptsname_r_chk.c: ... here.
21274 * debug/Makefile (routines): Move ptsname_r_chk to ...
21275 * login/Makefile (routines): ... here.
21276 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21277 * login/Versions (libc: GLIBC_2.4): ... here.
21278
8fb16a04
RM
21279 * posix/getlogin.c: Moved to ...
21280 * login/getlogin.c: ... here.
21281 * posix/getlogin_r.c: Moved to ...
21282 * login/getlogin_r.c: ... here.
21283 * posix/getlogin_r.c: Moved to ...
21284 * login/getlogin_r.c: ... here.
21285 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21286 * login/Makefile (routines): ... here.
21287 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21288 * login/Versions (libc: GLIBC_2.0): ... here.
21289
b99b892f
RM
21290 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21291 (setrlimit): Define as weak alias.
21292
c7405830
RM
21293 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21294 Call __ names for open, ftruncate, and close.
21295 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21296 (truncate): Define as weak alias.
21297
5bf96de5
JM
212982013-05-06 Joseph Myers <joseph@codesourcery.com>
21299
9ea3513c
JM
21300 * math/gen-libm-test.pl (parse_args): Initialize x before each
21301 test of frexp, modf and remquo.
21302
5bf96de5
JM
21303 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21304 test signgam value.
21305
16e616a7
AZ
213062013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21307
21308 [BZ #15418]
21309 [BZ #15419]
21310 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21311 internal tests.
21312 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21313
d5e82754
RM
213142013-05-06 Roland McGrath <roland@hack.frob.com>
21315
21316 * elf/dl-writev.h: New file.
21317 * elf/dl-misc.c: Include it.
21318 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21319 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21320
a7548d41
JM
213212013-05-04 Joseph Myers <joseph@codesourcery.com>
21322
b7dab1e4
JM
21323 * math/libm-test.inc (noXFails): Remove variable.
21324 (noXPasses): Likewise.
21325 (BUILD_COMPLEX_INT): Remove macro.
21326 (print_screen): Remove xfail argument.
21327 (print_screen_max_error): Likewise.
21328 (update_stats): Likewise.
21329 (print_max_error): Likewise. Update calls to other affected
21330 functions.
21331 (print_complex_max_error): Likewise.
21332 (test_single_exception): Update calls to print_screen.
21333 (test_single_errno): Likewise.
21334 (check_float_internal): Remove xfail argument. Update calls to
21335 other affected functions.
21336 (check_float): Likewise.
21337 (check_complex): Likewise.
21338 (check_int): Likewise.
21339 (check_long): Likewise.
21340 (check_bool): Likewise.
21341 (check_longlong): Likewise.
21342 (main): Don't print noXFails and noXPasses.
21343 * math/gen-libm-test.pl (top level): Don't mention expected
21344 failure handling in comment.
21345 (new_test): Don't handle expected failures.
21346 (parse_args): Don't mention expected failure handling in comment.
21347 (generate_testfile): Don't handle expected failures.
21348 (parse_ulps): Likewise.
21349 (print_ulps_file): Likewise.
21350 (get_failure): Remove function.
21351 (output_test): Don't handle expected failures.
21352 * make/README.libm-test: Don't mention expected failure handling.
21353
a7548d41
JM
21354 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21355 (minus_zero): Likewise.
21356 (plus_infty): Likewise.
21357 (minus_infty): Likewise.
21358 (qnan_value): Likewise.
21359 (max_value): Likewise.
21360 (min_value): Likewise.
21361 (min_subnorm_value): Likewise.
21362 (initialize): Do not initialize those variables dynamically.
21363
60bfd54c
RM
213642013-05-03 Roland McGrath <roland@hack.frob.com>
21365
cc0e6ed8
RM
21366 * io/open.c (__open_2): Moved to ...
21367 * io/open_2.c: ... this new file.
21368 * io/open64.c (__open64_2): Moved to ...
21369 * io/open64_2.c: ... this new file.
21370 * io/openat.c (__openat_2): Moved to ...
21371 * io/openat_2.c: ... this new file.
21372 * io/openat64.c (__openat64_2): Moved to ...
21373 * io/openat64_2.c: ... this new file.
21374 * io/Makefile (routines): Add them.
21375 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21376 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21377 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21378 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21379 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21380 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21381 (__openat64): Add hidden_ver.
21382 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21383 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21384
60bfd54c
RM
21385 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21386 Separately conditionalize setting of GLRO(dl_sysinfo) so
21387 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21388 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21389
83e7640f
AZ
213902013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21391
21392 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21393 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21394 definition.
21395 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21396 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21397 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21398 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21399 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21400
d5dc2af3
JM
214012013-05-03 Joseph Myers <joseph@codesourcery.com>
21402
c31a5b1e
JM
21403 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21404 test signgam value.
21405
d5dc2af3
JM
21406 * math/libm-test.inc (hypot_test): Do not use
21407 IGNORE_ZERO_INF_SIGN.
21408
164fd39d
AJ
214092013-05-03 Andreas Jaeger <aj@suse.de>
21410
21411 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21412 Linux 3.9.
21413 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21414 (PF_MAX): Adjust for VSOCK change.
21415
8237f48c
AZ
214162013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21417
21418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21419
9df02941
CD
214202013-05-02 Carlos O'Donell <carlos@redhat.com>
21421
21422 [BZ #15264]
21423 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21424 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21425 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21426
d422395e
DM
214272013-05-02 David S. Miller <davem@davemloft.net>
21428
21429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21430
a07c5731
OB
214312013-05-01 Ondřej Bílka <neleai@seznam.cz>
21432
21433 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21434
1324e37f
RM
214352013-05-01 Roland McGrath <roland@hack.frob.com>
21436
21437 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21438
0695940b
RS
214392013-05-01 Richard Smith <richard@metafoo.co.uk>
21440
bb5f27ad 21441 [BZ #14952]
0695940b
RS
21442 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21443 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21444 Use __attribute__ ((__gnu_inline__)).
21445 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21446 Don't use __attribute__ ((__gnu_inline__)).
21447
10de07f5
JM
214482013-05-01 Joseph Myers <joseph@codesourcery.com>
21449
21450 [BZ #15423]
21451 * math/s_catan.c (__catan): Handle small real or imaginary part of
21452 input specially to avoid spurious underflow.
21453 * math/s_catanf.c (__catanf): Likewise.
21454 * math/s_catanh.c (__catanh): Likewise.
21455 * math/s_catanhf.c (__catanhf): Likewise.
21456 * math/s_catanhl.c (__catanhl): Likewise.
21457 * math/s_catanl.c (__catanl): Likewise.
21458 * math/libm-test.inc (catan_test): Add more tests.
21459 (catanh_test): Likewise.
21460 * sysdeps/i386/fpu/libm-test-ulps: Update.
21461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21462
cb4d5414
AZ
214632013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21464
21465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21466
caf84319
JM
214672013-04-30 Joseph Myers <joseph@codesourcery.com>
21468
21469 [BZ #15416]
21470 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21471 accurately for denominator in atan2.
21472 * math/s_catanf.c (__catanf): Likewise.
21473 * math/s_catanh.c (__catanh): Likewise.
21474 * math/s_catanhf.c (__catanhf): Likewise.
21475 * math/s_catanhl.c (__catanhl): Likewise.
21476 * math/s_catanl.c (__catanl): Likewise.
21477 * math/libm-test.inc (catan_test): Add more tests.
21478 (catanh_test): Likewise.
21479 * sysdeps/i386/fpu/libm-test-ulps: Update.
21480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21481
d569c6ee
SP
214822013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21483
6dbe713d
SP
21484 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21485
f0ee064b
SP
21486 * benchtests/Makefile (bench): Remove slow benchmarks.
21487 * benchtests/atan-inputs: Add slow benchmark inputs.
21488 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21489 (BENCH_FUNC): Accept variant offset.
21490 (VARIANT): Define.
21491 * benchtests/bench-skeleton.c (main): Run benchmark for each
21492 variant.
21493 * benchtests/cos-inputs: Add slow benchmark inputs.
21494 * benchtests/exp-inputs: Likewise.
21495 * benchtests/pow-inputs: Likewise.
21496 * benchtests/sin-inputs: Likewise.
21497 * benchtests/slowatan-inputs: Remove.
21498 * benchtests/slowatan.c: Remove.
21499 * benchtests/slowcos-inputs: Remove.
21500 * benchtests/slowcos.c: Remove.
21501 * benchtests/slowexp-inputs: Remove.
21502 * benchtests/slowexp.c: Remove.
21503 * benchtests/slowpow-inputs: Remove.
21504 * benchtests/slowpow.c: Remove.
21505 * benchtests/slowsin-inputs: Remove.
21506 * benchtests/slowsin.c: Remove.
21507 * benchtests/slowtan-inputs: Remove.
21508 * benchtests/slowtan.c: Remove.
21509 * benchtests/tan-inputs: Add slow benchmark inputs.
21510 * scripts/bench.pl: Parse comments and directives.
21511
d569c6ee
SP
21512 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21513 in CPPFLAGS.
21514 ($(objpfx)bench-%.c): Remove *-ITER.
21515 * benchtests/bench-modf.c: Remove definition of ITER.
21516 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21517 (main): Loop for DURATION seconds instead of fixed number of
21518 iterations.
21519 * scripts/bench.pl: Don't expect iterations in parameters.
21520
a6a242fe
RM
215212013-04-29 Roland McGrath <roland@hack.frob.com>
21522
21523 * io/fchdir.c (__fchdir): Renamed from fchdir.
21524 (fchdir): Define as weak alias.
21525
f2da7793
JM
215262013-04-29 Joseph Myers <joseph@codesourcery.com>
21527
21528 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21529 (ERRNO_EDOM): Likewise.
21530 (ERRNO_ERANGE): Likewise.
21531 (noErrnoTests): New variable.
21532 (init_max_error): Set errno to 0.
21533 (test_single_errno): New function.
21534 (test_errno): Likewise.
21535 (check_float_internal): Call test_errno. Set errno to 0.
21536 (check_complex): Refer to errno tests in comment.
21537 (check_int): Call test_errno. Set errno to 0.
21538 (check_long): Likewise.
21539 (check_bool): Likewise.
21540 (check_longlong): Likewise.
21541 (cos_test): Use ERRNO_* flags for errno tests instead of
21542 check_int.
21543 (expm1_test): Likewise.
21544 (fmod_test): Likewise.
21545 (ilogb_test): Likewise.
21546 (lgamma_test): Likewise.
21547 (pow_test): Likewise.
21548 (remainder_test): Likewise.
21549 (sin_test): Likewise.
21550 (tan_test): Likewise.
21551 (yn_test): Likewise.
21552 (initialize): Set errno to 0.
21553 (main): Print number of errno tests.
21554 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21555
b1a36ceb
AJ
215562013-04-29 Andreas Jaeger <aj@suse.de>
21557
c3ed8088
AJ
21558 [BZ #15084]
21559 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21560 and RES_USEVC.
21561
f1a24198
AJ
21562 [BZ #15085]
21563 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21564 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21565 unimplemented.
21566
9ce3b2cb
AJ
21567 [BZ #15380]
21568 * stdlib/random.c (__initstate): Return NULL if
21569 __initstate fails.
21570
f1a24198 21571 [BZ #15086]
b1a36ceb
AJ
21572 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21573 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21574 RES_SNGLKUPREOP.
21575
7e7b6f36
AZ
215762013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21577
21578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21579
4d14f449
JM
215802013-04-29 Joseph Myers <joseph@codesourcery.com>
21581
21582 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21583 of individual tests.
21584 (casin_test): Likewise.
21585 (casinh_test): Likewise.
21586
5b4217d7
JM
215872013-04-27 Joseph Myers <joseph@codesourcery.com>
21588
21589 [BZ #15409]
21590 * math/s_catan.c (__catan): Handle arguments with large real or
21591 imaginary part separately without squaring.
21592 * math/s_catanf.c (__catanf): Likewise.
21593 * math/s_catanh.c (__catanh): Likewise.
21594 * math/s_catanhf.c (__catanhf): Likewise.
21595 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21596 and redefine.
21597 (__catanhl): Handle arguments with large real or imaginary part
21598 separately without squaring.
21599 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21600 and redefine.
21601 (__catanl): Handle arguments with large real or imaginary part
21602 separately without squaring.
21603 * math/libm-test.inc (catan_test): Add more tests.
21604 (catanh_test): Likewise.
21605 * sysdeps/i386/fpu/libm-test-ulps: Update.
21606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21607
4220c3ef
AJ
216082013-04-27 Andreas Jaeger <aj@suse.de>
21609
21610 [BZ #15007]
21611 * stdlib/stdlib.h: Update guards for qecvt.
21612 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21613 <stdlib.h>.
21614
4721b2d1
AM
216152013-04-27 Allan McRae <allan@archlinux.org>
21616
21617 * sysdeps/i386/fpu/libm-test-ulps: Update.
21618
f0302940
JM
216192013-04-26 Joseph Myers <joseph@codesourcery.com>
21620
9457fd95
JM
21621 [BZ #15406]
21622 * math/s_catan.c: Include <float.h>.
21623 (__catan): Ensure underflow exception occurs for underflowed
21624 result.
21625 * math/s_catanf.c: Include <float.h>.
21626 (__catanf): Ensure underflow exception occurs for underflowed
21627 result.
21628 * math/s_catanh.c: Include <float.h>.
21629 (__catanh): Ensure underflow exception occurs for underflowed
21630 result.
21631 * math/s_catanhf.c: Include <float.h>.
21632 (__catanhf): Ensure underflow exception occurs for underflowed
21633 result.
21634 * math/s_catanhl.c: Include <float.h>.
21635 (__catanhl): Ensure underflow exception occurs for underflowed
21636 result.
21637 * math/s_catanl.c: Include <float.h>.
21638 (__catanl): Ensure underflow exception occurs for underflowed
21639 result.
21640 * math/libm-test.inc (catan_test): Add more tests.
21641 (catanh_test): Likewise.
21642
f0302940
JM
21643 [BZ #15405]
21644 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21645 underflowed result.
21646 * math/s_ccoshf.c (__ccoshf): Likewise.
21647 * math/s_ccoshl.c (__ccoshl): Likewise.
21648 * math/s_csin.c (__csin): Likewise.
21649 * math/s_csinf.c (__csinf): Likewise.
21650 * math/s_csinh.c (__csinh): Likewise.
21651 * math/s_csinhf.c (__csinhf): Likewise.
21652 * math/s_csinhl.c (__csinhl): Likewise.
21653 * math/s_csinl.c (__csinl): Likewise.
21654 * math/libm-test.inc (ccos_test): Add more tests.
21655 (ccosh_test): Likewise.
21656 (csin_test): Likewise.
21657 (csinh_test): Likewise.
21658
aa630f59
AZ
216592013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21660
21661 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21662 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21663 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21664 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21665 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21666 powerpc/power5+/fpu folders.
21667 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21668
21669
1b835983
MT
216702013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21671
21672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21673
73709b26
JM
216742013-04-25 Joseph Myers <joseph@codesourcery.com>
21675
21676 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21677 additions to variable.
21678 [$(config-machine) = x86_64] (modules-names): Likewise.
21679 ($(objpfx)tst-audit3): Remove dependency.
21680 ($(objpfx)tst-audit3.out): Likewise.
21681 ($(objpfx)tst-audit4): Likewise.
21682 ($(objpfx)tst-audit4.out): Likewise.
21683 ($(objpfx)tst-audit5): Likewise.
21684 ($(objpfx)tst-audit5.out): Likewise.
21685 ($(objpfx)tst-audit6): Likewise.
21686 ($(objpfx)tst-audit6.out): Likewise.
21687 ($(objpfx)tst-audit7): Likewise.
21688 ($(objpfx)tst-audit7.out): Likewise.
21689 (tst-audit3-ENV): Remove variable.
21690 (tst-audit4-ENV): Likewise.
21691 (tst-audit5-ENV): Likewise.
21692 (tst-audit6-ENV): Likewise.
21693 (tst-audit7-ENV): Likewise.
21694 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21695 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21696 addition to variable.
21697 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21698 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21699 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21700 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21701 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21702 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21703 tst-audit3, tst-audit4 and tst-audit5.
21704 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21705 tst-audit6 and tst-audit7.
21706 [$(subdir) = elf] (modules-names): Add audit modules for those
21707 tests.
21708 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21709 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21710 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21711 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21712 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21713 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21714 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21715 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21716 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21717 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21718 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21719 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21720 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21721 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21722 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21723 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21724 Likewise.
21725 [$(subdir) = elf && $(config-cflags-avx) = yes]
21726 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21727 [$(subdir) = elf && $(config-cflags-avx) = yes]
21728 (CFLAGS-tst-auditmod4a.c): Likewise.
21729 [$(subdir) = elf && $(config-cflags-avx) = yes]
21730 (CFLAGS-tst-auditmod4b.c): Likewise.
21731 [$(subdir) = elf && $(config-cflags-avx) = yes]
21732 (CFLAGS-tst-auditmod6b.c): Likewise.
21733 [$(subdir) = elf && $(config-cflags-avx) = yes]
21734 (CFLAGS-tst-auditmod6c.c): Likewise.
21735 [$(subdir) = elf && $(config-cflags-avx) = yes]
21736 (CFLAGS-tst-auditmod7b.c): Likewise.
21737 * elf/tst-audit3.c: Move to ...
21738 * sysdeps/x86_64/tst-audit3.c: ... here.
21739 * elf/tst-audit4.c: Move to ...
21740 * sysdeps/x86_64/tst-audit4.c: ... here.
21741 * elf/tst-audit5.c: Move to ...
21742 * sysdeps/x86_64/tst-audit5.c: ... here.
21743 * elf/tst-audit6.c: Move to ...
21744 * sysdeps/x86_64/tst-audit6.c: ... here.
21745 * elf/tst-audit7.c: Move to ...
21746 * sysdeps/x86_64/tst-audit7.c: ... here.
21747 * elf/tst-auditmod3a.c: Move to ...
21748 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21749 * elf/tst-auditmod3b.c: Move to ...
21750 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21751 * elf/tst-auditmod4a.c: Move to ...
21752 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21753 * elf/tst-auditmod4b.c: Move to ...
21754 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21755 * elf/tst-auditmod5a.c: Move to ...
21756 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21757 * elf/tst-auditmod5b.c: Move to ...
21758 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21759 * elf/tst-auditmod6a.c: Move to ...
21760 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21761 * elf/tst-auditmod6b.c: Move to ...
21762 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21763 * elf/tst-auditmod6c.c: Move to ...
21764 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21765 * elf/tst-auditmod7a.c: Move to ...
21766 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21767 * elf/tst-auditmod7b.c: Move to ...
21768 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21769
1ef74943
PP
217702013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21771
21772 [BZ #15366]
21773 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21774 define unconditionally.
21775 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21776 define unconditionally.
21777 (INT8_C, INT16_C, etc.): Likewise.
21778
93fd48c5
MR
217792013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21780
ae9552cf
MR
21781 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21782 __ehdr_start with hidden visibility.
21783
93fd48c5
MR
21784 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21785
418601aa
CD
217862013-04-24 Carlos O'Donell <carlos@redhat.com>
21787
21788 * math/libm-test.inc (cos_test): Use accurate hex constants.
21789 (sincost_test): Likewise.
21790
2f38fbfe
JM
217912013-04-24 Joseph Myers <joseph@codesourcery.com>
21792
5e221800
JM
21793 * math/libm-test.inc (catan_test): Add more tests.
21794 (catanh_test): Likewise.
21795
77f143fd
JM
21796 * math/s_catanf.c (__catanf): Use suffixed floating-point
21797 constants.
21798 * math/s_catanhf.c (__catanhf): Likewise.
21799 * math/s_catanhl.c (__catanhl): Likewise.
21800 * math/s_catanl.c (__catanl): Likewise.
21801
2f38fbfe
JM
21802 [BZ #15394]
21803 * math/s_catan.c (__catan): Calculate imaginary part of result
21804 with log1p not log unless computing log of number close to 0.
21805 * math/s_catanf.c (__catanf): Likewise.
21806 * math/s_catanl.c (__catanl): Likewise.
21807 * math/s_catanh.c (__catanh): Calculate real part of result with
21808 log1p not log unless computing log of number close to 0.
21809 * math/s_catanhf.c (__catanhf): Likewise.
21810 * math/s_catanhl.c (__catanhl): Likewise.
21811 * math/libm-test.inc (catan_test): Add more tests.
21812 (catanh_test): Likewise.
21813 * sysdeps/i386/fpu/libm-test-ulps: Update.
21814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21815
45d69176
SP
218162013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21817
21818 * benchtests/Makefile: Mention files in which fast and slow
21819 paths of math functions are implemented.
21820
87f51853
RM
218212013-04-23 Roland McGrath <roland@hack.frob.com>
21822
21823 * sysdeps/posix/timespec_get.c: New file.
21824
3c026539
AZ
218252013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21826
21827 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21828 POWER.
21829 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21830 for POWER.
21831 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21832 powerpc/power5/fpu folders.
21833 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21834 * benchtests/Makefile: Add modf testcase.
21835 * benchtests/bench-modf.c: New file: Benchmark test for mo
21836
ff491d14
SP
218372013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21838
21839 [BZ #14888]
21840 * time/Makefile (tests): Add tst-strptime-whitespace.
21841 * time/strptime_l.c (get_number): Use ISSPACE.
21842 (__strptime_internal): Likewise.
21843 * time/tst-strptime-whitespace.c: New test case.
21844
7ed3f4e8
AS
218452013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21846
21847 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21848 member.
21849 (_nss_files_init): Set it here.
21850
5c95f7b6
HC
218512013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21852
21853 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21854 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21855 unsigned.
21856
d34c9158
JBG
218572013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21858
21859 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21860
2169712d
SP
218612013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21862
21863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21864 size just once.
21865
29c5de99
DM
218662013-04-21 David S. Miller <davem@davemloft.net>
21867
21868 * po/ru.po: Update Russion translation from translation project.
21869
ccdad15d
AC
218702013-04-17 Adam Conrad <adconrad@0c3.net>
21871
21872 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21873 and setfsgid.
21874
0f122b8d
CD
218752013-04-17 Carlos O'Donell <carlos@redhat.com>
21876
5c5b07da 21877 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21878 * configure: Regenerate.
5c5b07da 21879 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21880 Add example to error message.
21881 * sysdeps/i386/configure: Regenerate.
21882
037714dd
SP
218832013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21884
21885 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21886 slowtan.
21887 * benchtests/cos-inputs: New file.
21888 * benchtests/slowcos-inputs: New file.
21889 * benchtests/slowcos.c: New file.
21890 * benchtests/slowtan-inputs: New file.
21891 * benchtests/slowtan.c: New file.
21892 * benchtests/tan-inputs: New file.
21893
e913141d
RM
218942013-04-16 Roland McGrath <roland@hack.frob.com>
21895
21896 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21897 considered kosher.
21898
a2964074
SP
218992013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21900
4856bcd2
SP
21901 * benchtests/Makefile: Include cppflags-iterator.mk to add
21902 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21903
a2964074
SP
21904 * Makefile.in (bench-clean): New target.
21905 * benchtests/Makefile (bench-clean): Likewise.
21906
9fbf9aca
DH
219072013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21908
21909 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21910
207d1e2a
TS
219112013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21912
21913 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21914
306dfba9
AS
219152013-04-15 Andreas Schwab <schwab@suse.de>
21916
21917 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21919 * nscd/pwdcache.c (cache_addpw): Likewise.
21920 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21921 more than recsize.
21922
206a6699
SP
219232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21924
21925 * benchtests/Makefile (bench): Write all output to
21926 bench-out.tmp together.
21927
0582f6b3
AS
219282013-04-15 Andreas Schwab <schwab@suse.de>
21929
21930 * nscd/nscd.c (main): Don't fork again after closing files.
21931
acb4325f
SP
219322013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21933
5cb26d0a
SP
21934 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21935
acb4325f
SP
21936 * benchtests/Rules (bench-deps): Collect dependencies into a
21937 single variable. Add Makefile to dependencies.
21938 ($(objpfx)bench-%.c): Depend on bench-deps.
21939
47792506
RM
219402013-04-12 Roland McGrath <roland@hack.frob.com>
21941 Xavier Roche <roche+kml2@exalead.com>
21942
21943 [BZ #15361]
21944 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21945 just that it's a file descriptor.
21946 * manual/llio.texi (Synchronizing AIO Operations): Update description
21947 for EBADF error from aio_fsync.
21948
8fc1bee5
SP
219492013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21950
21951 * Rules (bench): Move target definition...
21952 * benchtests/Makefile: ... here.
21953
aba5e333
CD
219542013-04-11 Carlos O'Donell <carlos@redhat.com>
21955
21956 * math/libm-test.inc (cos_test): Fix PI/2 test.
21957 (sincos_test): Likewise.
21958 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21959 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21960
273cdee8
AS
219612013-04-11 Andreas Schwab <schwab@suse.de>
21962
6ecec3b6
AS
21963 [BZ #13988]
21964 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21965 accept exponent character only when digits were seen.
21966 * stdio-common/Makefile (tests): Add bug26.
21967 * stdio-common/bug26.c: New file.
21968
273cdee8
AS
21969 [BZ #14293]
21970 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21971 non-freeable.
21972
8da491f5
SP
219732013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21974
01dc6df9
SP
21975 * Makeconfig (rtld-prefix): Define built linker prefix.
21976 * Rules (run-bench): Use it.
21977 * math/Makefile (run-regen-ulps): Likewise.
21978
8da491f5
SP
21979 * Rules (bench): Remove eval.
21980
abe7f530
SP
219812013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21982 Roland McGrath <roland@hack.frob.com>
21983 Ondrej Bilka <neleai@seznam.cz>
21984
21985 [BZ #15346]
21986 * time/getdate.c: Include ctype.h and alloca.h.
21987 (__getdate_r): Trim leading and trailing spaces of input.
21988 * time/tst-getdate.c (tests): Add tests with leading and
21989 trailing spaces.
21990
61c23e62
RM
219912013-04-08 Roland McGrath <roland@hack.frob.com>
21992
21993 [BZ #14280]
21994 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21995 when computing value.
21996
7208a313
CD
219972013-04-06 Carlos O'Donell <carlos@redhat.com>
21998
085b2d41
CD
21999 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22000 Use testrun.sh to run libm tests.
22001
7208a313
CD
22002 [BZ #15309]
22003 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22004
872c0acd
MM
220052013-04-06 Marko Myllynen <myllynen@redhat.com>
22006
22007 [BZ #15264]
22008 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22009
26510bdd
CD
220102013-04-06 Carlos O'Donell <carlos@redhat.com>
22011
22012 * Makefile.in (regen-ulps): New target.
22013 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22014 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22015 [ifneq (no,$(PERL)] (regen-ulps): New target.
22016 [ifeq (no,$(PERL)] (regen-ulps): New target.
22017 * math/libm-test.inc (ulps_file_name): Define.
22018 (output_dir): New variable.
22019 (options): Add "output-dir" option.
22020 (parse_opt): Handle 'o' case.
22021 (main): If output_dir is non-NULL use it as a prefix
22022 otherwise use "".
22023 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22024
a01f19c8
CD
220252013-04-06 Carlos O'Donell <carlos@redhat.com>
22026
22027 [BZ #10060, #10062]
22028 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22029 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22030 fail configure if __sync_val_compare_and_swap is not inlined.
22031 * sysdeps/i386/configure: Regenerate.
22032 * configure.in: Build for i686 when configured for i386.
22033 * configure: Regenerate.
22034 * README: Remove i386 reference.
22035
b7a329a5
CD
220362013-04-06 Carlos O'Donell <carlos@redhat.com>
22037
22038 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22039 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22040
bf0f50df
TS
220412013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22042
ee091edf
TS
22043 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22044 (lmsnanval): New variables.
22045 (F): Add conversion tests.
22046 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22047 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22048
a8b792d6
TS
22049 * stdio-common/tstdiomisc.c (F): Properly collect individual
22050 tests' results.
22051
a1cbf437
TS
22052 [BZ #14686, #15336]
22053 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22054 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22055 Instead, use input NaN values or generate a qNaN by arithmetic
22056 operation. Also fix bugs to comply with the standard.
22057 * math/libm-test.inc (remainder_test): Add more tests.
22058
8b43a0c9
TS
22059 [BZ #15335, #15342]
22060 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22062 input NaN values or generate a qNaN by arithmetic operation.
22063
d91da4ce
TS
22064 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22065 unreachable code.
22066
bf0f50df
TS
22067 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22068 definitions.
22069
05e166c8
JM
220702013-04-03 Joseph Myers <joseph@codesourcery.com>
22071
22072 [BZ #14478]
22073 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22074 underflowed result.
22075 * math/s_cexpf.c (__cexpf): Likewise.
22076 * math/s_cexpl.c (__cexpl): Likewise.
22077 * math/libm-test.inc (cexp_test): Add more tests.
22078
1cef1b19
AS
220792013-04-03 Andreas Schwab <schwab@suse.de>
22080
22081 [BZ #15330]
22082 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22083 order arrays from heap if bigger than alloca cutoff.
22084
74d87055
TS
220852013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22086
22087 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22088 (SNAN_TESTS_double): Refer to GCC PR56831.
22089 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22090 GCC PR56828.
22091
d755bba4
SP
220922013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22093
90d5d5bb
SP
22094 * Rules (bench): Move bench.out after the run is complete.
22095
73e0cd5d
SP
22096 * Rules (bench): Echo currently running benchmark.
22097
64aabd4b
SP
22098 * benchtests/Makefile (bench): Add atan and slowatan.
22099 * benchtests/atan-inputs: New file.
22100 * benchtests/slowatan-inputs: New file.
22101 * benchtests/slowatan.c: New file.
22102
c871eccd
SP
22103 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22104 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22105 its value.
22106
d755bba4
SP
22107 [BZ #15305]
22108 * sysdeps/unix/sysv/linux/kernel-features.h
22109 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22110 __ASSUME_XFS_RESTRICTED_CHOWN.
22111 * sysdeps/unix/sysv/linux/pathconf.c
22112 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22113 Save and restore errno.
22114
52ce4860
JM
221152013-04-02 Joseph Myers <joseph@codesourcery.com>
22116
22117 [BZ #15327]
22118 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22119 arguments using __kernel_casinh.
22120 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22121 arguments using __kernel_casinhf.
22122 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22123 arguments using __kernel_casinhl.
22124 * math/libm-test.inc (cacosh_test): Add more tests.
22125 * sysdeps/i386/fpu/libm-test-ulps: Update.
22126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22127
81f311c2
SP
221282013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22129
e7906a47
SP
22130 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22132
92e3664b
SP
22133 * bench/Makefile (bench): Add sin and slowsin.
22134 * benchtests/sin-inputs: New file.
22135 * benchtests/slowsin-inputs: New file.
22136 * benchtests/slowsin.c: New file.
22137
81f311c2
SP
22138 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22139 (bench): Add slowexp and slowpow.
22140 (exp-ITER): Increase iterations.
22141 (pow-ITER): Likewise.
22142 * benchtests/exp-inputs: Change input.
22143 * benchtests/pow-inputs: Likewise.
22144 * benchtests/slowexp-inputs: New file.
22145 * benchtests/slowexp.c: New file.
22146 * benchtests/slowpow-inputs: New file.
22147 * benchtests/slowpow.c: New file.
22148
ab0f1aa9
AZ
221492013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22150
22151 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22152 instructions.
22153 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22154 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22155 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22156 * benchtests/Makefile: Add rint benchtest.
22157 * benchtests/rint-inputs: Input for rint benchtest.
22158
57267616
TS
221592013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22160
22161 * Versions.def (libm): Add GLIBC_2.18.
22162 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22163 hidden libm prototypes.
22164 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22165 * math/Makefile (libm-calls): Add s_issignaling.
22166 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22167 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22168 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22169 declaration.
22170 * math/math.h [__USE_GNU] (issignaling): New macro.
22171 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22172 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22173 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22174 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22177 * manual/arith.texi (issignaling): New section.
22178 * manual/libm-err-tab.pl (@all_functions): Update comment.
22179 * math/gen-libm-test.pl (parse_args): Apply special handling for
22180 issignaling.
22181 * math/libm-test.inc (print_float, issignaling_test): New
22182 functions.
22183 (check_float_internal): Add issignaling checks.
22184 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22185 default definition.
22186 * sysdeps/powerpc/math-tests.h: New file.
22187 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22188 tests.
22189 * math/test-snan.c (TEST_FUNC): Likewise.
22190
6142896d
DM
221912013-03-30 David S. Miller <davem@davemloft.net>
22192
22193 * po/de.po: Update from translation team.
22194
ccc8cadf
JM
221952013-03-30 Joseph Myers <joseph@codesourcery.com>
22196
22197 [BZ #10357]
22198 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22199 imaginary part less than 1.0 and real part less than 0.5
22200 specially.
22201 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22202 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22203 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22204 (cacos_test): Add more tests.
22205 (casin_test): Likewise.
22206 (casinh_test): Likewise.
22207 * sysdeps/i386/fpu/libm-test-ulps: Update.
22208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22209
0f6a8d4b
SP
222102013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22211
0d1029de
SP
22212 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22213 ONE with its value.
22214
c2d94018
SP
22215 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22216 (__pow_mp): Replace ONE and MONE with their values.
22217 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22218 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22219 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22220 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22221 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22222 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22223
27ec37f1
SP
22224 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22225
a64d7e0e
SP
22226 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22227 (__pow_mp): Replace ZERO and MZERO with their values.
22228 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22229 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22230 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22231 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22232 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22233 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22234 (__sqr): Likewise.
22235
d26dd3eb
SP
22236 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22237
0f6a8d4b
SP
22238 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22239
e57b0c61
RM
222402013-03-28 Roland McGrath <roland@hack.frob.com>
22241
22242 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22243 Declare with __attribute__ ((weak)).
22244 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22245 Call __call_tls_dtors only if it's not NULL.
22246
356b3480
RM
222472013-03-28 Roland McGrath <roland@hack.frob.com>
22248
288f7d79
RM
22249 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22250 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22251 magic __ehdr_start linker symbol if it's defined.
22252 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22253 them up here if it was already done.
22254
dc0a0263
RM
22255 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22256 (_dl_aux_init): Use const in cast when setting it.
22257 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22258 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22259 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22260
3d3436ae
RM
22261 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22262 Declare them here.
22263 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22264 * csu/libc-tls.c: Nor here.
22265 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22266
356b3480
RM
22267 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22268 (__libc_message): Never call vsyslog.
22269
b0f1246a
AM
222702013-03-28 Alan Modra <amodra@gmail.com>
22271
22272 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22273 Define as empty.
22274 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22275 Likewise.
22276
fbbe2b9a
AZ
222772013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22278
22279 [BZ #15214]
22280 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22281 underflow.
22282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22283
1728ab37
SP
222842013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22285
7a86be6e
SP
22286 [BZ #15304]
22287 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22288 Don't add gid passed as argument.
22289
1728ab37
SP
22290 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22291
3a7182a1
JM
222922013-03-27 Joseph Myers <joseph@codesourcery.com>
22293
22294 [BZ #15307]
22295 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22296 imaginary part between 1.0 and 1.5 and real part less than 0.5
22297 specially.
22298 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22299 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22300 * math/libm-test.inc (cacos_test): Add more tests.
22301 (casin_test): Likewise.
22302 (casinh_test): Likewise.
22303 * sysdeps/i386/fpu/libm-test-ulps: Update.
22304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22305
6f2e90e7
SP
223062013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22307
5739f705
SP
22308 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22309 constants.
22310 (norm): Likewise.
22311 (denorm): Likewise.
22312 (__dbl_mp): Likewise.
22313 (add_magnitudes): Likewise.
22314 (sub_magnitudes): Likewise.
22315 (__add): Likewise.
22316 (__sub): Likewise.
22317 (__mul): Likewise.
22318 (__sqr): Likewise.
22319 (__inv): Likewise.
22320 (__dvd): Likewise.
22321
e375e83d
SP
22322 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22323 commented code.
22324 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22325 (__dubcos): Likewise.
22326 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22327 (__ieee754_acos): Likewise.
22328 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22329 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22330 (__exp1): Likewise.
22331 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22332 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22333 (log1): Likewise.
22334 (my_log2): Likewise.
22335 (checkint): Likewise.
22336 * sysdeps/ieee754/dbl-64/e_remainder.c
22337 (__ieee754_remainder): Likewise.
22338 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22339 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22340 (bsloww): Likewise.
22341 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22342
6f2e90e7
SP
22343 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22344 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22345 MANTISSA_STORE_T to store computations on mantissa. Use
22346 macros for rounding and division.
22347 (denorm): Likewise.
22348 (__dbl_mp): Likewise.
22349 (add_magnitudes): Likewise.
22350 (sub_magnitudes): Likewise.
22351 (__mul): Likewise.
22352 (__sqr): Likewise.
22353 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22354 powers of two in terms of TWOPOW macro.
22355 (mp_no): Make type of mantissa as MANTISSA_T.
22356 [!RADIXI]: Define RADIXI.
22357 [!TWO52]: Define TWO52.
22358 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22359
fce14d4e
AZ
223602013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22361
22362 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22363 llroundl symbol when building for PPC32.
22364
9ad027fb
MW
223652013-03-24 Mark H Weaver <mhw@netris.org>
22366
22367 * manual/arith.texi (Normalization Functions): Fix prototypes for
22368 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22369
e42a38dd
AZ
223702013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22371
22372 [BZ #13889]
22373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22374 high value to check if expl overflow.
22375 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22376 to check for underflow and overflow.
22377 * math/libm-test.inc: Add exp test.
22378
2e0fb521
DL
223792013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22380
22381 [BZ #11120]
22382 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22383 with NOT_IN_libc.
22384
b5784d95
AZ
223852013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22386
22387 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22388 symbol.
22389
5aa4a1a1
TS
223902013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22391
bdef0be7
TS
22392 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22393 wrap blocks consisting of several statements.
22394
5aa4a1a1
TS
22395 * sysdeps/generic/math-tests.h: New file.
22396 * sysdeps/i386/fpu/math-tests.h: Likewise.
22397 * math/test-snan.c: Include it.
22398 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22399
98c48fe5
JM
224002013-03-21 Joseph Myers <joseph@codesourcery.com>
22401
22402 [BZ #15285]
22403 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22404 (__ieee754_j0l): Do not improve calculations using cos of twice
22405 input for inputs above LDBL_MAX / 2.0L.
22406 (__ieee754_y0l): Likewise.
22407 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22408 (__ieee754_j1l): Do not improve calculations using cos of twice
22409 input for inputs above LDBL_MAX / 2.0L.
22410 (__ieee754_y1l): Likewise.
22411 * math/libm-test.inc (j0_test): Add another test.
22412 (j1_test): Likewise.
22413 (y0_test): Likewise.
22414 (y1_test): Likewise.
22415 * sysdeps/i386/fpu/libm-test-ulps: Update.
22416
3775a8bc
SP
224172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22418
22419 * Rules ($(objpfx)bench-%.c): Include code from a C source
22420 file.
22421
0a1b2ae6
JM
224222013-03-21 Joseph Myers <joseph@codesourcery.com>
22423
22424 [BZ #15287]
22425 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22426 imaginary part 1.0 and real part less than 0.5 specially.
22427 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22428 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22429 * math/libm-test.inc (cacos_test): Add more tests.
22430 (casin_test): Likewise.
22431 (casinh_test): Likewise.
22432 * sysdeps/i386/fpu/libm-test-ulps: Update.
22433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22434
b33d4ce4
SP
224352013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22436
22437 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22438 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22439
bef0b507
JM
224402013-03-20 Joseph Myers <joseph@codesourcery.com>
22441
22442 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22443 * config.make.in (config-cflags-sse4): Remove variable.
22444 (config-cflags-avx): Likewise.
22445 (config-cflags-sse2avx): Likewise.
22446 (config-cflags-novzeroupper): Likewise.
22447 (config-asflags-i686): Likewise.
22448 (have-mfma4): Likewise.
22449 (have-as-vis3): Likewise.
22450 (MIG): Likewise.
22451 * configure.in (MIG): Do not AC_SUBST.
22452 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22453 (libc_cv_cc_sse4): Do not AC_SUBST.
22454 (libc_cv_cc_avx): Likewise.
22455 (libc_cv_cc_sse2avx): Likewise.
22456 (libc_cv_cc_novzeroupper): Likewise.
22457 (libc_cv_cc_fma4): Likewise.
22458 (libc_cv_as_i686): Likewise.
22459 (libc_cv_sparc_as_vis3): Likewise.
22460 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22461 LIBC_CONFIG_VAR.
22462 (config-asflags-i686): Likewise.
22463 (config-cflags-avx): Likewise.
22464 (config-cflags-sse2avx): Likewise.
22465 (have-mfma4): Likewise.
22466 (config-cflags-novzeroupper): Likewise.
22467 * sysdeps/mach/configure.in (MIG): Likewise.
22468 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22469 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22470 LIBC_CONFIG_VAR.
22471 (config-cflags-avx): Likewise.
22472 (config-cflags-sse2avx): Likewise.
22473 (have-mfma4): Likewise.
22474 (config-cflags-novzeroupper): Likewise.
22475 * configure: Regenerated.
22476 * sysdeps/i386/configure: Likewise.
22477 * sysdeps/mach/configure: Likewise.
22478 * sysdeps/sparc/configure: Likewise.
22479 * sysdeps/x86_64/configure: Likewise.
22480
912cc4b3
RM
224812013-03-20 Roland McGrath <roland@hack.frob.com>
22482
22483 [BZ #14812]
22484 * locale/programs/localedef.c (options): Put N_ translation marker
22485 on argument names, not just descriptions.
22486
04eed2b0
MS
224872013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22488
22489 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22490
a065ceff
OB
224912013-03-20 Ondřej Bílka <neleai@seznam.cz>
22492
9bb2a810 22493 [BZ #14176]
a065ceff
OB
22494 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22495
a600e5ce
RM
224962013-03-19 Roland McGrath <roland@hack.frob.com>
22497
22498 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22499 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22500 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22501 [!BEFORE_ABORT] (before_abort): New function.
22502 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22503 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22504 (writev_for_fatal): New function.
22505 (WRITEV_FOR_FATAL): New macro; call that.
22506 (backtrace_and_maps): New function.
22507 (BEFORE_ABORT): New macro; call that.
22508 (struct str_list): Type removed.
22509 (__libc_message, __libc_fatal): Functions removed.
22510 Include <sysdeps/posix/libc_fatal.c> instead.
22511
6b18bea6
JM
225122013-03-19 Joseph Myers <joseph@codesourcery.com>
22513
22514 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22515 constants.
22516 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22517 double constants.
22518
aaa8cb4b
AS
225192013-03-19 Andreas Schwab <schwab@suse.de>
22520
44673770
AS
22521 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22522 * sysdeps/gnu/configure: Regenerate.
22523
aaa8cb4b
AS
22524 * configure.in: Substitute libc_cv_rtlddir.
22525 * configure: Regenerate.
22526 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22527 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22528 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22529 * elf/Makefile (install-others, CFLAGS-interp.c)
22530 (ldso_install, common-ldd-rewrite): Likewise.
22531 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22532 $(inst_slibdir)/$(rtld-installed-name).
22533 * scripts/rellns-sh: Add -p option.
22534 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22535 for source.
22536
d3cfc668
SP
225372013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22538
22539 * manual/nptl.texi: Renamed to ...
22540 * manual/threads.texi: ... this.
22541 * manual/Makefile (chapters): Update.
22542
0e2b9cdd
RM
225432013-03-18 Roland McGrath <roland@hack.frob.com>
22544
22545 [BZ #14812]
22546 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22547 on argument names, not just descriptions.
0e2b9cdd
RM
22548 * malloc/memusagestat.c (options): Likewise.
22549 * nss/getent.c (options): Likewise.
63270c24
RM
22550
225512013-03-18 Benno Schulenberg <bensberg@justemail.net>
22552
22553 [BZ #14812]
22554 * iconv/iconv_prog.c (options): Put N_ translation marker
22555 on argument names, not just descriptions.
22556 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22557
b2e1393c
OB
225582013-03-18 Ondrej Bilka <neleai@seznam.cz>
22559
22560 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22561 implementation which is faster on all x86_64 architectures.
22562 Tested on AMD, Intel Nehalem, SNB, IVB.
22563 * sysdeps/x86_64/strnlen.S: Likewise.
22564
22565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22566 Remove all multiarch strlen and strnlen versions.
22567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22568 Remove strlen and strnlen related parts.
22569
22570 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22571 Inline strlen part.
22572 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22573
22574 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22575 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22576 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22577 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22578 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22579 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22580
ec4ff04d
CD
225812013-03-17 Carlos O'Donell <carlos@redhat.com>
22582
22583 * manual/memory.texi (Malloc Tunable Parameters):
22584 Sort parameters alphabetically. Add comments for missing entries.
22585
cd18e90a
DM
225862013-03-17 David S. Miller <davem@davemloft.net>
22587
22588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22589
2a185d32
JM
225902013-03-16 Joseph Myers <joseph@codesourcery.com>
22591
d2f9799e
JM
22592 [BZ #15283]
22593 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22594 for arguments at most half maximum finite value.
22595 * math/libm-test.inc (j0_test): Add more tests.
22596 (j1_test): Likewise.
22597 (y0_test): Likewise.
22598 (y1_test): Likewise.
22599 * sysdeps/i386/fpu/libm-test-ulps: Update.
22600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22601
2a185d32
JM
22602 [BZ #14155]
22603 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22604 1 / x and functions P and Q for arguments above 0x1p256L.
22605 (__ieee754_y0l): Likewise.
22606 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22607 (__ieee754_y1l): Likewise.
22608 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22609 (j1_test): Likewise.
22610 (y0_test): Likewise.
22611 (y1_test): Likewise.
22612
6cbec759
TS
226132013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22614
22615 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22616 variable.
22617
bc16e260
RM
226182013-03-15 Roland McGrath <roland@hack.frob.com>
22619
aefc9b8c
RM
22620 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22621 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22622 zero since it's initialized to EXEC_PAGESIZE.
22623
bc16e260
RM
22624 * sysdeps/unix/sysv/linux/ldsodefs.h
22625 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22626 * sysdeps/generic/ldsodefs.h: ... here.
22627
a57da955
TS
226282013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22629
af00a34d
TS
22630 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22631
495ded2c
TS
22632 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22633 math/test-snan.c.
22634 * math/test-snan.c: Renamed from
22635 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22636 * math/Makefile (tests): Add test-snan.
22637 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22638 test-powerpc-snan.
22639
777b0332
TS
22640 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22641 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22642 functions.
22643 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22644 __builtin_nan family of functions.
22645 * math/libm-test.inc (initialize): Initialize qnan_value with
22646 __builtin_nan family of functions.
22647 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22648 Remove variables.
22649 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22650 Remove functions.
22651 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22652 storage class. Initialize qNaN_var and sNaN_var with
22653 __builtin_nan and __builtin_nans families of functions,
22654 respectively.
22655
64d063b8
TS
22656 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22657 (sqrt_test): Remove duplicate test with qNaN input.
22658 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22659 (round_test, signbit_test, significand_test): Note missing +/-Inf
22660 as well as qNaN tests.
22661
67e971f1
TS
22662 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22663 qNaN_var. Fix a few strings, too.
22664 * math/libm-test.inc (nan_value): Rename to qnan_value.
22665 * math/gen-libm-test.pl (%beautify): Adjust to that.
22666 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22667 * math/test-misc.c (main): Likewise.
22668 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22669 to __qnan_bytes, and __qnan_union, respectively.
22670 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22671 Likewise.
22672 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22673 and lqnanval, respectively.
22674 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22675 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22676 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22677 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22678
64487e12
TS
22679 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22680 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22681 doubles.
22682
e015e27b
TS
22683 * math/test-misc.c (main): Fix copy'n'pastos.
22684 * misc/tst-efgcvt.c (special): Likewise.
22685
a57da955
TS
22686 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22687 Remove declarations.
22688
1e380345
SP
226892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22690
22691 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22692 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22693 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22694 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22695
ef26eece
AZ
226962013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22697
22698 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22699 macro to return vdso values correctly in IFUNC implementations.
22700 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22701 Optimization by using IFUNC.
22702
8cfdb7e0
SP
227032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22704 Richard Henderson <rth@redhat.com>
22705 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22706
22707 * Makefile.in (bench): New target.
22708 * NEWS: Mention the benchmark framework.
22709 * Rules (bench): Likewise.
22710 (binaries-bench): Generate binaries for functions to
22711 benchmark.
22712 * benchtests/Makefile: New makefile for benchmark tests.
22713 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22714 programs.
22715 * benchtests/exp-inputs: New input file for EXP function.
22716 * benchtests/pow-inputs: New input file for POW function.
22717 * scripts/bench.pl: New script to generate source files for
22718 benchmark programs.
22719
bcda9880
SP
227202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22721
d22ca8cd
SP
22722 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22723 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22724 computations on mantissa. Use macros for rounding and
22725 division.
22726 (denorm): Likewise.
22727 (__dbl_mp): Likewise.
22728 (add_magnitudes): Likewise.
22729 (sub_magnitudes): Likewise.
22730 (__mul): Likewise.
22731 (__sqr): Likewise.
22732 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22733 powers of two in terms of TWOPOW macro.
22734 (mp_no): Make type of mantissa as MANTISSA_T.
22735 [!RADIXI]: Define RADIXI.
22736 [!TWO52]: Define TWO52.
22737 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22738
bcda9880
SP
22739 * manual/nptl.texi (cindex): Modify threads to pthreads.
22740
06d5adfb
JM
227412013-03-15 Joseph Myers <joseph@codesourcery.com>
22742
22743 * sysdeps/x86_64/preconfigure: Regenerated.
22744
41c7328e
JM
227452013-03-14 Joseph Myers <joseph@codesourcery.com>
22746
22747 [BZ #14155]
22748 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22749 0x1p28 and above.
22750 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22751 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22752 0x1p28 and above.
22753 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22754 * math/libm-test.inc (j0_test): Do not allow one spurious
22755 underflow exception.
22756 (y1_test): Likewise.
22757
e25cfa60
SP
227582013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22759
0409959c
SP
22760 * manual/Makefile (chapters): Add nptl.
22761 * manual/debug.texi (Debugging Support): Add link to Threads
22762 chapter.
22763 * manual/nptl.texi: New file.
22764
e25cfa60
SP
22765 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22766
58a1335e
PB
227672013-03-14 Petr Baudis <pasky@ucw.cz>
22768
22769 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22770 for non-NULL pointer before the memory validity test. Pointed
22771 out by Holger Brunck <holger.brunck@keymile.com>.
22772
9dc7c64f
AS
227732013-03-13 Andreas Schwab <schwab@suse.de>
22774
22775 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22776 instead of .os.
22777
54206aa6
JM
227782013-03-13 Joseph Myers <joseph@codesourcery.com>
22779
22780 * timezone/zic.c: Update from tzcode 2013b.
22781
e98cdb38
CD
227822013-03-12 Carlos O'Donell <carlos@redhat.com>
22783
22784 * manual/install.texi (Configuring and compiling):
22785 Mention i686 and i586.
22786 * INSTALL: Regenerate.
22787
9967e003
RM
227882013-03-12 Roland McGrath <roland@hack.frob.com>
22789
22790 * sysdeps/init_array/elf-init.c: New file.
22791 * csu/elf-init.c
22792 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22793 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22794
22795 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22796 __gmon_start__ as global, but as static with a .preinit_array pointer.
22797 * sysdeps/init_array/gmon-start.c: New file. Use that.
22798 * sysdeps/init_array/crti.S: New file, empty except for comments.
22799 * sysdeps/init_array/crtn.S: Likewise.
22800
e6b5a293 228012013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22802
22803 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22804 definining bcopy.
80f844c9
OB
22805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22806 Remove Prefer_SSE_for_memop.
22807 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22808 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22809 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22811 memset-x86-64.
80f844c9 22812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22813 Remove bzero, memset ifunc support.
80f844c9
OB
22814 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22815 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22816 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22817 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22818
fb6b0fcb
AS
228192013-03-11 Andreas Schwab <schwab@suse.de>
22820
22821 [BZ #15234]
22822 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22823 by SHLIB_COMPAT.
22824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22825 (GLIBC_2.16): Remove pthread_atfork.
22826
3e6bd4b1
PP
228272013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22828
22829 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22830 (ptestcases.h): Likewise.
22831
222d7f00
RM
228322013-03-08 Roland McGrath <roland@hack.frob.com>
22833
22834 * Makeconfig ($(common-objpfx)config.status): Depend on
22835 sysdeps/*/preconfigure{,.in} too.
22836
1ba4f030
JM
228372013-03-08 Joseph Myers <joseph@codesourcery.com>
22838
a222d91a
JM
22839 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22840 (__free_hook): Use void * instead of __malloc_ptr_t.
22841 (__malloc_hook): Likewise.
22842 (__realloc_hook): Likewise.
22843 (__memalign_hook): Likewise.
22844 (__after_morecore_hook): Likewise.
22845 * malloc/arena.c (save_malloc_hook): Likewise.
22846 (save_free_hook): Likewise.
22847 * malloc/hooks.c (malloc_hook_ini): Likewise.
22848 (realloc_hook_ini): Likewise.
22849 (memalign_hook_ini): Likewise.
22850 * malloc/malloc.c (malloc_hook_ini): Likewise.
22851 (realloc_hook_ini): Likewise.
22852 (memalign_hook_ini): Likewise.
22853 (__free_hook): Likewise.
22854 (__malloc_hook): Likewise.
22855 (__realloc_hook): Likewise.
22856 (__memalign_hook): Likewise.
22857 (__libc_malloc): Likewise.
22858 (__libc_free): Likewise.
22859 (__libc_realloc): Likewise.
22860 (__libc_memalign): Likewise.
22861 (__libc_valloc): Likewise.
22862 (__libc_pvalloc): Likewise.
22863 (__libc_calloc): Likewise.
22864 (__posix_memalign): Likewise.
22865 * malloc/morecore.c (__sbrk): Likewise.
22866 (__default_morecore): Likewise.
22867
5cc45e10
JM
22868 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22869
dd54b864
JM
22870 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22871 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22872 __malloc_ptrdiff_t.
22873
1ba4f030
JM
22874 * malloc/malloc.h (__malloc_size_t): Remove macro.
22875 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22876 __malloc_size_t.
22877 (old_memalign_hook): Likewise.
22878 (old_realloc_hook): Likewise.
22879 (struct hdr): Likewise.
22880 (flood): Likewise.
22881 (mallochook): Likewise.
22882 (memalignhook): Likewise.
22883 (reallochook): Likewise.
22884 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22885 (tr_old_realloc_hook): Likewise.
22886 (tr_old_memalign_hook): Likewise.
22887 (tr_mallochook): Likewise.
22888 (tr_reallochook): Likewise.
22889 (tr_memalignhook): Likewise.
22890
edf66e57
AZ
228912013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22892
22893 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22894 default_ldbl_pack and using as default implementation.
22895 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22896 implementation.
22897 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22898 redundant definition.
22899 (ldbl_insert_mantissa): Likewise.
22900 (ldbl_canonicalize): Likewise.
22901 (ldbl_nearbyint): Likewise.
22902 (ldbl_pack): Rename to ldbl_pack_ppc.
22903 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22904 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22905 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22906
6d9145d8
SP
229072013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22908
22909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22910 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22911 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22912 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22914 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22915 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22916 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22917
4dd4e157
AJ
229182013-03-07 Andreas Jaeger <aj@suse.de>
22919
22920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22921 bits/mman-linux.h.
22922
adbb8027
SP
229232013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22924
ce544b5b
SP
22925 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22926 Include mpa.h and declare __MPEXP.
22927 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22928 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22929 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22930 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22931 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22932 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22933 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22934
4cc149fd
SP
22935 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22936 (__slowpow): Use long double EXPL and LOGL functions to
22937 compute POW.
22938 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22939 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22940 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22941 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22942 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22943 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22944
e6ebd4a7
SP
22945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22946 intermediate variable to calculate exponent.
22947 (__sqr): Likewise.
22948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22949 Likewise.
22950 (__sqr): Likewise.
22951
82a9811d
SP
22952 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22953 [!NO__SQR]: Define __sqr.
22954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22955 and NO__SQR. Remove all code except __mul and __sqr. Include
22956 sysdeps/ieee754/dbl-64/mpa.c.
22957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22958
adbb8027
SP
22959 [BZ #12723]
22960 * posix/Makefile (tests): Add tst-pathconf.
22961 * posix/tst-pathconf.c: New test case.
22962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22963 _PC_PIPE_BUF.
22964 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22965
39120df9
PF
229662013-03-06 Patsy Franklin <pfrankli@redhat.com>
22967
22968 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22969
67525cb8
AJ
229702013-03-06 Andreas Jaeger <aj@suse.de>
22971
664a9ce4
AJ
22972 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22973 definition via __MAP_ANONYMOUS.
22974
8e39047d
AJ
22975 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22976 it's not part of Linux headers.
22977
67525cb8
AJ
22978 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22979 (MAP_HUGE_MASK): Define.
22980
22981 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22982 Define.
22983 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22984 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22985 Define.
22986 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22987 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22988 Define.
22989 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22990 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22991 Define.
22992 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22993
22994 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22995 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22996 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22997 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22998 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22999 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23000
23001 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23002 Handle f2fs.
23003
23004 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23005 Handle f2fs and efivarfs.
23006
23007 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23008 f2fs.
23009
23010 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23011 (EFIVARFS_MAGIC): Add.
23012 (F2FS_LINK_MAX): Add.
23013
e1b42695
PP
230142013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23015
23016 * stdio-common/vfprintf.c: Replace __builtin_expect with
23017 __glibc_unlikely.
23018
2d67d91a
JM
230192013-03-06 Joseph Myers <joseph@codesourcery.com>
23020
23021 [BZ #13550]
23022 * sysdeps/generic/bp-sym.h: Remove file.
23023 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23024 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23025 <bp-sym.h> and <bp-asm.h>.
23026 (__longjmp): Don't use BP_SYM.
23027 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23028 and <bp-asm.h>.
23029 (memcpy): Don't use BP_SYM.
23030 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23031 <bp-sym.h> and <bp-asm.h>.
23032 (memcpy): Don't use BP_SYM.
23033 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23034 <bp-asm.h>.
23035 (memcpy): Don't use BP_SYM.
23036 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23037 <bp-asm.h>.
23038 (memset): Don't use BP_SYM.
23039 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23040 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23041 (__bzero): Don't use BP_SYM.
23042 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23043 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23044 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23045 <bp-sym.h> and <bp-asm.h>.
23046 (memcmp): Don't use BP_SYM. Remove comment about bounded
23047 pointers.
23048 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23049 <bp-sym.h> and <bp-asm.h>.
23050 (memcpy): Don't use BP_SYM.
23051 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23052 <bp-sym.h> and <bp-asm.h>.
23053 (memset): Don't use BP_SYM.
23054 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23055 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23056 (__bzero): Don't use BP_SYM.
23057 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23058 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23059 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23060 <bp-sym.h> and <bp-asm.h>.
23061 (strncmp): Don't use BP_SYM. Remove comment about bounded
23062 pointers.
23063 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23064 <bp-sym.h> and <bp-asm.h>.
23065 (memcpy): Don't use BP_SYM.
23066 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23067 <bp-sym.h> and <bp-asm.h>.
23068 (memset): Don't use BP_SYM.
23069 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23070 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23071 (__bzero): Don't use BP_SYM.
23072 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23073 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23074 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23075 <bp-sym.h> and <bp-asm.h>.
23076 (__memchr): Don't use BP_SYM.
23077 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23078 <bp-sym.h> and <bp-asm.h>.
23079 (memcmp): Don't use BP_SYM. Remove comment about bounded
23080 pointers.
23081 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23082 <bp-sym.h> and <bp-asm.h>.
23083 (memcpy): Don't use BP_SYM.
23084 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23085 <bp-sym.h> and <bp-asm.h>.
23086 (__mempcpy): Don't use BP_SYM.
23087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23088 <bp-sym.h> and <bp-asm.h>.
23089 (__memrchr): Don't use BP_SYM.
23090 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23091 <bp-sym.h> and <bp-asm.h>.
23092 (memset): Don't use BP_SYM.
23093 (__bzero): Likewise.
23094 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23095 <bp-sym.h> and <bp-asm.h>.
23096 (__rawmemchr): Don't use BP_SYM.
23097 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23098 <bp-sym.h> and <bp-asm.h>.
23099 (__STRCMP): Don't use BP_SYM.
23100 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23101 <bp-sym.h> and <bp-asm.h>.
23102 (strchr): Don't use BP_SYM.
23103 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23104 <bp-sym.h> and <bp-asm.h>.
23105 (__strchrnul): Don't use BP_SYM.
23106 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23107 <bp-sym.h> and <bp-asm.h>.
23108 (strlen): Don't use BP_SYM.
23109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23110 <bp-sym.h> and <bp-asm.h>.
23111 (strncmp): Don't use BP_SYM. Remove comment about bounded
23112 pointers.
23113 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23114 <bp-sym.h> and <bp-asm.h>.
23115 (__strnlen): Don't use BP_SYM.
23116 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23117 <bp-sym.h> and <bp-asm.h>.
23118 (__GI__setjmp): Don't use BP_SYM.
23119 (_setjmp): Likewise.
23120 (__sigsetjmp): Likewise.
23121 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23122 (L(start_addresses)): Don't use BP_SYM.
23123 (_start): Likewise.
23124 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23125 <bp-asm.h>.
23126 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23127 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23128 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23129 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23130 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23131 <bp-asm.h>.
23132 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23133 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23134 about bounded pointers.
23135 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23136 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23137 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23138 <bp-asm.h>.
23139 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23140 about bounded pointers. Remove GKM FIXME comments.
23141 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23142 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23143 <bp-asm.h>.
23144 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23145 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23146 Remove GKM FIXME comments.
23147 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23148 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23149 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23150 <bp-asm.h>.
23151 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23152 about bounded pointers. Remove GKM FIXME comment.
23153 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23154 and <bp-asm.h>.
23155 (strncmp): Don't use BP_SYM. Remove comment about bounded
23156 pointers.
23157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23158 <bp-sym.h> and <bp-asm.h>.
23159 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23161 <bp-sym.h> and <bp-asm.h>.
23162 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23163 comment.
23164
cdcf361f
PP
231652013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23166
23167 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23168 call free(NULL).
23169
3c4a2b15
DM
231702013-03-05 David S. Miller <davem@davemloft.net>
23171
23172 * po/es.po: Update from translation team.
23173
cdcf361f 231742013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23175
23176 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23177 <bits/mman-linux.h>.
23178 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23179 is fine.
23180 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23181 <bits/mman-linux.h> to end of file.
23182 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23183 is fine.
23184 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23185 <bits/mman-linux.h> to end of file.
23186 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23187 is fine.
23188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23189 <bits/mman-linux.h> to end of file.
23190
23191 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23192 (MCL_CURRENT, MCL_FUTURE): Define here.
23193
5f67c04f
AK
231942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23195
8a4473cc 23196 [BZ #15232]
5f67c04f
AK
23197 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23198 attribute_hidden.
23199 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23200
c3e94a95
AK
232012013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23202
23203 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23204 fourth parameter needed for rt_sigprocmask syscall.
23205 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23206 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23207 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23208 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23209 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23210 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23211
cfb6382a
JM
232122013-03-04 Joseph Myers <joseph@codesourcery.com>
23213
23214 [BZ #13550]
23215 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23216 comment about bounded pointers.
23217 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23218 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23219
539d8e01
AJ
232202013-03-04 Andreas Jaeger <aj@suse.de>
23221
23222 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23223 common definitions.
23224
23225 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23226 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23227 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23228 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23229 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23230 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23231
2e167a70 232322013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23233
23234 [BZ #15055]
23235 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23236 __ieee754_sqrl instead of __sqrl.
23237
68508633
JM
232382013-03-01 Joseph Myers <joseph@codesourcery.com>
23239
23240 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23241 * sysdeps/powerpc/fpu_control.h: ... here.
23242 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23243 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23244 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23245 * sysdeps/powerpc/bits/mathinline.h: ... here.
23246
7775448e
RM
232472013-03-01 Roland McGrath <roland@hack.frob.com>
23248
23249 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23250 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23251 to just [NEED_DL_SYSINFO_DSO].
23252 * elf/dl-support.c: Likewise.
23253 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23254 * elf/rtld.c (dl_main): Likewise.
23255 * elf/setup-vdso.h (setup_vdso): Likewise.
23256 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23257 * sysdeps/unix/sysv/linux/dl-sysdep.c
23258 (_dl_discover_osversion): Likewise.
23259
4e9b5995
CD
232602013-03-01 Carlos O'Donell <carlos@redhat.com>
23261
23262 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23263 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23264
e23872c8
SP
232652013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23266
e5c74c63
SP
23267 * NEWS: Mention libm performance improvements and non-x86 PI
23268 futex support.
23269
e23872c8
SP
23270 * csu/libc-start.c (__pthread_initialize_minimal): Change
23271 function arguments.
23272 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23273
b5510883
JM
232742013-02-28 Joseph Myers <joseph@codesourcery.com>
23275
23276 [BZ #13550]
23277 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23278 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23279 <bp-sym.h> and <bp-asm.h>.
23280 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23281 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23282 and <bp-asm.h>.
23283 (memcpy): Don't use BP_SYM.
23284 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23285 <bp-asm.h>.
23286 (__mpn_add_n): Don't use BP_SYM.
23287 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23288 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23289 and <bp-asm.h>.
23290 (__mpn_addmul_1): Don't use BP_SYM.
23291 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23292 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23293 <bp-sym.h>.
23294 (_setjmp): Don't use BP_SYM.
23295 (__novmx_setjmp): Likewise.
23296 (__GI__setjmp): Likewise.
23297 (__vmx_setjmp): Likewise.
23298 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23299 <bp-sym.h>.
23300 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23301 (__bzero): Don't use BP_SYM.
23302 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23303 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23304 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23305 <bp-sym.h> and <bp-asm.h>.
23306 (memcpy): Don't use BP_SYM.
23307 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23308 <bp-sym.h> and <bp-asm.h>.
23309 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23310 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23311 <bp-sym.h> and <bp-asm.h>.
23312 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23313 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23314 <bp-asm.h>.
23315 (__mpn_lshift): Don't use BP_SYM.
23316 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23317 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23318 <bp-asm.h>.
23319 (memset): Don't use BP_SYM.
23320 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23321 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23322 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23323 <bp-asm.h>.
23324 (__mpn_mul_1): Don't use BP_SYM.
23325 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23326 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23327 <bp-sym.h> and <bp-asm.h>.
23328 (memcmp): Don't use BP_SYM.
23329 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23330 <bp-sym.h> and <bp-asm.h>.
23331 (memcpy): Don't use BP_SYM.
23332 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23333 <bp-sym.h> and <bp-asm.h>.
23334 (memset): Don't use BP_SYM.
23335 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23336 <bp-sym.h> and <bp-asm.h>.
23337 (strncmp): Don't use BP_SYM.
23338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23339 <bp-sym.h> and <bp-asm.h>.
23340 (memcpy): Don't use BP_SYM.
23341 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23342 <bp-sym.h> and <bp-asm.h>.
23343 (memset): Don't use BP_SYM.
23344 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23345 <bp-sym.h> and <bp-asm.h>.
23346 (__memchr): Don't use BP_SYM.
23347 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23348 <bp-sym.h> and <bp-asm.h>.
23349 (memcmp): Don't use BP_SYM.
23350 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23351 <bp-sym.h> and <bp-asm.h>.
23352 (memcpy): Don't use BP_SYM.
23353 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23354 <bp-sym.h> and <bp-asm.h>.
23355 (__mempcpy): Don't use BP_SYM.
23356 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23357 <bp-sym.h> and <bp-asm.h>.
23358 (__memrchr): Don't use BP_SYM.
23359 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23360 <bp-sym.h> and <bp-asm.h>.
23361 (memset): Don't use BP_SYM.
23362 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23363 <bp-sym.h> and <bp-asm.h>.
23364 (__rawmemchr): Don't use BP_SYM.
23365 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23366 <bp-sym.h> and <bp-asm.h>.
23367 (__STRCMP): Don't use BP_SYM.
23368 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23369 <bp-sym.h> and <bp-asm.h>.
23370 (strchr): Don't use BP_SYM.
23371 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23372 <bp-sym.h> and <bp-asm.h>.
23373 (__strchrnul): Don't use BP_SYM.
23374 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23375 <bp-sym.h> and <bp-asm.h>.
23376 (strlen): Don't use BP_SYM.
23377 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23378 <bp-sym.h> and <bp-asm.h>.
23379 (strncmp): Don't use BP_SYM.
23380 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23381 <bp-sym.h> and <bp-asm.h>.
23382 (__strnlen): Don't use BP_SYM.
23383 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23384 <bp-asm.h>.
23385 (__mpn_rshift): Don't use BP_SYM.
23386 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23387 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23388 <bp-sym.h> and <bp-asm.h>.
23389 (__sigsetjmp): Don't use BP_SYM.
23390 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23391 (L(start_addresses)): Don't use BP_SYM.
23392 (_start): Likewise.
23393 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23394 <bp-asm.h>.
23395 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23396 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23397 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23398 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23399 <bp-asm.h>.
23400 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23401 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23402 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23403 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23404 <bp-asm.h>.
23405 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23406 comments.
23407 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23408 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23409 <bp-asm.h>.
23410 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23411 FIXME comments.
23412 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23413 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23414 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23415 <bp-asm.h>.
23416 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23417 comment.
23418 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23419 and <bp-asm.h>.
23420 (strncmp): Don't use BP_SYM,
23421 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23422 <bp-asm.h>.
23423 (__mpn_sub_n): Don't use BP_SYM.
23424 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23425 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23426 and <bp-asm.h>.
23427 (__mpn_submul_1): Don't use BP_SYM.
23428 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23430 <bp-sym.h> and <bp-asm.h>.
23431 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23433 <bp-sym.h> and <bp-asm.h>.
23434 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23435 comment.
23436
8d19fe64
SP
234372013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23438
23439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23440 Use ZK to minimize writes to Z.
23441 (sub_magnitudes): Simplify code a bit.
23442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23443 Use ZK to minimize writes to Z.
23444 (sub_magnitudes): Simplify code a bit.
23445
85bd816a
RM
234462013-02-27 Roland McGrath <roland@hack.frob.com>
23447
23448 * csu/gmon-start.c: Add special exception to license text.
23449
b5977bf2
RH
234502013-02-27 Richard Henderson <rth@redhat.com>
23451
23452 * scripts/config.guess: Update from config.git.
23453 * scripts/config.sub: Likewise.
23454
11d6e2f2
SP
234552013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23456
09c14ed2
SP
23457 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23458
a688864e
SP
23459 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23460
6295157a
SP
23461 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23462
b8de2202
SP
23463 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23464
11d6e2f2
SP
23465 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23466
7e80ddb8
RM
234672013-02-26 Roland McGrath <roland@hack.frob.com>
23468
23469 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23470 [$(build-shared = yes].
7e80ddb8 23471
7da6d9ed
SP
234722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23473
45f05884
SP
23474 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23475 (__mul): Reduce iterations for calculating mantissa.
23476
2236d359
SP
23477 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23478 MPTWO.
23479 (__mpranred): Likewise.
23480
7da6d9ed
SP
23481 [BZ #15160]
23482 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23483 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23484
b7688c42
PE
234852013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23486
23487 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23488 Define __attribute__.
23489
53a5c423
SP
234902013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23491
23492 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23493 unused.
23494 * posix/regex_internal.h (__attribute): Remove.
23495 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23496 (re_string_context_at): Likewise.
23497 (bitset_not): Use __attribute__ and mark function as possibly
23498 unused.
23499 (bitset_merge): Likewise.
23500 (bitset_mask): Likewise.
23501 (re_string_char_size_at): Likewise.
23502 (re_string_wchar_at): Likewise.
23503 (re_string_elem_size_at): Likewise.
23504
60f5a8b5
SP
235052013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23506
2a983a2e
SP
23507 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23508 code.
23509 (cc32): Likewise.
23510
e69804d1
SP
23511 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23512 (__acr): Likewise.
23513 (__cpy): Likewise.
23514 (norm): Likewise.
23515 (denorm): Likewise.
23516 (__dbl_mp): Likewise.
23517 (add_magnitudes): Likewise.
23518 (sub_magnitudes): Likewise.
23519 (__mul): Likewise.
23520 (__inv): Likewise.
23521
2f22a1e8
SP
23522 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23523 style.
23524
8930ddc7
SP
23525 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23526 style.
23527
dc60cb11
SP
23528 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23529 code.
23530
60f5a8b5
SP
23531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23532 up changes with default code.
23533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23534 Likewise.
23535
b4d1fd33
AM
235362013-02-24 Allan McRae <allan@archlinux.org>
23537
faf6f8bc
AM
23538 * manual/socket.texi (The Internet Namespace): Order menu items
23539 to match that in the file.
23540
b4d1fd33
AM
23541 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23542 node listing of the info page menu.
23543
2366713d
JM
235442013-02-21 Joseph Myers <joseph@codesourcery.com>
23545
23546 [BZ #13550]
23547 * sysdeps/i386/bp-asm.h: Remove file.
23548 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23549 (PARMS): Do not use macros from bp-asm.h.
23550 (S1): Likewise.
23551 (S2): Likewise.
23552 (SIZE): Likewise.
23553 (__mpn_add_n): Do not use BP_SYM
23554 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23555 "bp-asm.h".
23556 (PARMS): Do not use macros from bp-asm.h.
23557 (S1): Likewise.
23558 (SIZE): Likewise.
23559 (__mpn_addmul_1): Do not use BP_SYM
23560 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23561 "bp-asm.h".
23562 (PARMS): Do not use macros from bp-asm.h.
23563 (SIGMSK): Likewise.
23564 (_setjmp): Likewise. Do not use BP_SYM.
23565 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23566 "bp-asm.h".
23567 (PARMS): Do not use macros from bp-asm.h.
23568 (SIGMSK): Likewise.
23569 (setjmp): Likewise. Do not use BP_SYM.
23570 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23571 "bp-asm.h".
23572 (PARMS): Do not use macros from bp-asm.h.
23573 (__frexp): Do not use BP_SYM.
23574 (frexp): Likewise.
23575 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23576 "bp-asm.h".
23577 (PARMS): Do not use macros from bp-asm.h.
23578 (__frexpf): Do not use BP_SYM.
23579 (frexpf): Likewise.
23580 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23581 "bp-asm.h".
23582 (PARMS): Do not use macros from bp-asm.h.
23583 (__frexpl): Do not use BP_SYM.
23584 (frexpl): Likewise.
23585 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23586 "bp-asm.h".
23587 (PARMS): Do not use macros from bp-asm.h.
23588 (__remquo): Do not use BP_SYM.
23589 (remquo): Likewise.
23590 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23591 "bp-asm.h".
23592 (PARMS): Do not use macros from bp-asm.h.
23593 (__remquof): Do not use BP_SYM.
23594 (remquof): Likewise.
23595 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23596 "bp-asm.h".
23597 (PARMS): Do not use macros from bp-asm.h.
23598 (__remquol): Do not use BP_SYM.
23599 (remquol): Likewise.
23600 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23601 "bp-asm.h".
23602 (PARMS): Do not use macros from bp-asm.h.
23603 (DEST): Likewise.
23604 (SRC): Likewise.
23605 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23606 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23607 "bp-asm.h".
23608 (PARMS): Do not use macros from bp-asm.h.
23609 (strlen): Do not use BP_SYM.
23610 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23611 "bp-asm.h".
23612 (PARMS): Do not use macros from bp-asm.h.
23613 (S1): Likewise.
23614 (S2): Likewise.
23615 (SIZE): Likewise.
23616 (__mpn_add_n): Do not use BP_SYM.
23617 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23618 "bp-asm.h".
23619 (PARMS): Do not use macros from bp-asm.h.
23620 (S1): Likewise.
23621 (SIZE): Likewise.
23622 (__mpn_addmul_1): Do not use BP_SYM.
23623 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23624 weak_alias.
23625 (bzero): Likewise.
23626 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23627 "bp-asm.h".
23628 (PARMS): Do not use macros from bp-asm.h.
23629 (S): Likewise.
23630 (SIZE): Likewise.
23631 (__mpn_lshift): Do not use BP_SYM.
23632 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23633 "bp-asm.h".
23634 (PARMS): Do not use macros from bp-asm.h.
23635 (DEST): Likewise.
23636 (SRC): Likewise.
23637 (LEN): Likewise.
23638 (memcpy): Likewise. Do not use BP_SYM.
23639 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23640 libc_hidden_def and weak_alias.
23641 (mempcpy): Do not use BP_SYM in weak_alias.
23642 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23643 "bp-asm.h".
23644 (PARMS): Do not use macros from bp-asm.h.
23645 (DEST): Likewise.
23646 (LEN): Likewise.
23647 [!BZERO_P] (CHR): Likewise.
23648 (memset): Likewise. Do not use BP_SYM.
23649 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23650 "bp-asm.h".
23651 (PARMS): Do not use macros from bp-asm.h.
23652 (S1): Likewise.
23653 (SIZE): Likewise.
23654 (__mpn_mul_1): Do not use BP_SYM.
23655 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23656 "bp-asm.h".
23657 (PARMS): Do not use macros from bp-asm.h.
23658 (S): Likewise.
23659 (SIZE): Likewise.
23660 (__mpn_rshift): Do not use BP_SYM.
23661 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23662 "bp-asm.h".
23663 (PARMS): Do not use macros from bp-asm.h.
23664 (STR): Likewise.
23665 (CHR): Likewise.
23666 (strchr): Likewise. Do not use BP_SYM.
23667 (index): Do not use BP_SYM in weak_alias.
23668 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23669 "bp-asm.h".
23670 (PARMS): Do not use macros from bp-asm.h.
23671 (DEST): Likewise.
23672 (SRC): Likewise.
23673 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23674 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23675 "bp-asm.h".
23676 (PARMS): Do not use macros from bp-asm.h.
23677 (strlen): Do not use BP_SYM.
23678 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23679 "bp-asm.h".
23680 (PARMS): Do not use macros from bp-asm.h.
23681 (S1): Likewise.
23682 (S2): Likewise.
23683 (SIZE): Likewise.
23684 (__mpn_sub_n): Do not use BP_SYM.
23685 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23686 "bp-asm.h".
23687 (PARMS): Do not use macros from bp-asm.h.
23688 (S1): Likewise.
23689 (SIZE): Likewise.
23690 (__mpn_submul_1): Do not use BP_SYM.
23691 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23692 "bp-asm.h".
23693 (PARMS): Do not use macros from bp-asm.h.
23694 (S1): Likewise.
23695 (S2): Likewise.
23696 (SIZE): Likewise.
23697 (__mpn_add_n): Do not use BP_SYM.
23698 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23699 weak_alias.
23700 (bzero): Likewise.
23701 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23702 "bp-asm.h".
23703 (PARMS): Do not use macros from bp-asm.h.
23704 (BLK2): Likewise.
23705 (LEN): Likewise.
23706 (memcmp): Do not use BP_SYM.
23707 (bcmp): Do not use BP_SYM in weak_alias.
23708 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23709 "bp-asm.h".
23710 (PARMS): Do not use macros from bp-asm.h.
23711 (DEST): Likewise.
23712 (SRC): Likewise.
23713 (LEN): Likewise.
23714 (memcpy): Likewise. Do not use BP_SYM.
23715 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23716 "bp-asm.h".
23717 (PARMS): Do not use macros from bp-asm.h.
23718 (DEST): Likewise.
23719 (SRC): Likewise.
23720 (LEN): Likewise.
23721 (memmove): Likewise. Do not use BP_SYM.
23722 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23723 "bp-asm.h".
23724 (PARMS): Do not use macros from bp-asm.h.
23725 (DEST): Likewise.
23726 (SRC): Likewise.
23727 (LEN): Likewise.
23728 (__mempcpy): Likewise. Do not use BP_SYM.
23729 (mempcpy): Do not use BP_SYM in weak_alias.
23730 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23731 "bp-asm.h".
23732 (PARMS): Do not use macros from bp-asm.h.
23733 (DEST): Likewise.
23734 (LEN): Likewise.
23735 [!BZERO_P] (CHR): Likewise.
23736 (memset): Likewise. Do not use BP_SYM.
23737 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23738 "bp-asm.h".
23739 (PARMS): Do not use macros from bp-asm.h.
23740 (STR2): Likewise.
23741 (strcmp): Do not use BP_SYM.
23742 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23743 "bp-asm.h".
23744 (PARMS): Do not use macros from bp-asm.h.
23745 (STR): Likewise.
23746 (DELIM): Likewise.
23747 [USE_AS_STRTOK_R] (SAVE): Likewise.
23748 (FUNCTION): Likewise. Do not use BP_SYM.
23749 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23750 aliases.
23751 (strtok_r): Likewise.
23752 (__GI___strtok_r): Likewise.
23753 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23754 (PARMS): Do not use macros from bp-asm.h.
23755 (S): Likewise.
23756 (SIZE): Likewise.
23757 (__mpn_lshift): Do not use BP_SYM.
23758 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23759 (PARMS): Do not use macros from bp-asm.h.
23760 (STR): Likewise.
23761 (CHR): Likewise.
23762 (__memchr): Do not use BP_SYM.
23763 (memchr): Do not use BP_SYM in weak_alias.
23764 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23765 (PARMS): Do not use macros from bp-asm.h.
23766 (BLK2): Likewise.
23767 (LEN): Likewise.
23768 (memcmp): Do not use BP_SYM.
23769 (bcmp): Do not use BP_SYM in weak_alias.
23770 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23771 (PARMS): Do not use macros from bp-asm.h.
23772 (S1): Likewise.
23773 (SIZE): Likewise.
23774 (__mpn_mul_1): Do not use BP_SYM.
23775 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23776 "bp-asm.h".
23777 (PARMS): Do not use macros from bp-asm.h.
23778 (STR): Likewise.
23779 (CHR): Likewise.
23780 (__rawmemchr): Do not use BP_SYM.
23781 (rawmemchr): Do not use BP_SYM in weak_alias.
23782 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23783 (PARMS): Do not use macros from bp-asm.h.
23784 (S): Likewise.
23785 (SIZE): Likewise.
23786 (__mpn_rshift): Do not use BP_SYM.
23787 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23788 (PARMS): Do not use macros from bp-asm.h.
23789 (SIGMSK): Likewise.
23790 (__sigsetjmp): Likewise. Do not use BP_SYM.
23791 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23792 (_start): Do not use BP_SYM.
23793 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23794 (PARMS): Do not use macros from bp-asm.h.
23795 (DEST): Likewise.
23796 (SRC): Likewise.
23797 (__stpcpy): Likewise. Do not use BP_SYM.
23798 (stpcpy): Do not use BP_SYM in weak_alias.
23799 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23800 "bp-asm.h".
23801 (PARMS): Do not use macros from bp-asm.h.
23802 (DEST): Likewise.
23803 (SRC): Likewise.
23804 (LEN): Likewise.
23805 (__stpncpy): Likewise. Do not use BP_SYM.
23806 (stpncpy): Do not use BP_SYM in weak_alias.
23807 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23808 (PARMS): Do not use macros from bp-asm.h.
23809 (STR): Likewise.
23810 (CHR): Likewise.
23811 (strchr): Likewise. Do not use BP_SYM.
23812 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23813 "bp-asm.h".
23814 (PARMS): Do not use macros from bp-asm.h.
23815 (STR): Likewise.
23816 (CHR): Likewise.
23817 (__strchrnul): Likewise. Do not use BP_SYM.
23818 (strchrnul): Do not use BP_SYM in weak_alias.
23819 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23820 "bp-asm.h".
23821 (PARMS): Do not use macros from bp-asm.h.
23822 (STOP): Likewise.
23823 (strcspn): Do not use BP_SYM.
23824 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23825 "bp-asm.h".
23826 (PARMS): Do not use macros from bp-asm.h.
23827 (STR): Likewise.
23828 (STOP): Likewise.
23829 (strpbrk): Likewise. Do not use BP_SYM.
23830 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23831 "bp-asm.h".
23832 (PARMS): Do not use macros from bp-asm.h.
23833 (STR): Likewise.
23834 (CHR): Likewise.
23835 (strrchr): Likewise. Do not use BP_SYM.
23836 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23837 (PARMS): Do not use macros from bp-asm.h.
23838 (SKIP): Likewise.
23839 (strspn): Do not use BP_SYM.
23840 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23841 (PARMS): Do not use macros from bp-asm.h.
23842 (STR): Likewise.
23843 (DELIM): Likewise.
23844 (SAVE): Likewise.
23845 (FUNCTION): Likewise. Do not use BP_SYM.
23846 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23847 aliases.
23848 (strtok_r): Likewise.
23849 (__GI___strtok_r): Likewise.
23850 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23851 (PARMS): Do not use macros from bp-asm.h.
23852 (S1): Likewise.
23853 (S2): Likewise.
23854 (SIZE): Likewise.
23855 (__mpn_sub_n): Do not use BP_SYM.
23856 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23857 "bp-asm.h".
23858 (PARMS): Do not use macros from bp-asm.h.
23859 (S1): Likewise.
23860 (SIZE): Likewise.
23861 (__mpn_submul_1): Do not use BP_SYM.
23862 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23863 <bp-sym.h>.
23864 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23865 and <bp-asm.h>.
23866 (PARMS): Do not use macros from bp-asm.h.
23867 (FLAGS): Likewise.
23868 (PTID): Likewise.
23869 (TLS): Likewise.
23870 (CTID): Likewise.
23871 (__clone): Do not use BP_SYM.
23872 (clone): Do not use BP_SYM in weak_alias.
23873 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23874 and <bp-asm.h>.
23875 (PARMS): Do not use macros from bp-asm.h.
23876 (LEN): Likewise.
23877 (__mmap64): Do not use BP_SYM.
23878 (mmap64): Do not use BP_SYM in weak_alias.
23879 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23880 <bp-sym.h> and <bp-asm.h>.
23881 (PARMS): Do not use macros from bp-asm.h.
23882 (__posix_fadvise64_l64): Do not use BP_SYM.
23883 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23884 (PARMS): Do not use macros from bp-asm.h.
23885 (NSOPS): Likewise.
23886 (semtimedop): Do not use BP_SYM.
23887 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23888 and <bp-asm.h>.
23889
582a3cff
AM
238902013-02-21 Allan McRae <allan@archlinux.org>
23891
23892 * manual/message.texi (Charset conversion in gettext):
23893 Move @end statement to beginning of line.
23894
bab8a695
SP
238952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23896
80945231
SP
23897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23898 static.
23899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23900 Likewise.
23901
bab8a695
SP
23902 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23903 (denorm): Likewise.
23904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23906
e21d7aa7
AK
239072013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23908
23909 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23910 tail-call to the resolved function if pltexit isn't needed.
23911
4c7a4263
SP
239122013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23913
23914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23915 or Y being zero as being unlikely.
23916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23917 Likewise.
23918
41f49342
CD
239192013-02-20 Carlos O'Donell <carlos@redhat.com>
23920
23921 * manual/nss.texi (System Databases and Name Service Switch):
23922 Remove frobnicate @pxref.
23923
50022a93
TS
239242013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23925
23926 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23927 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23928
08cbd996
PM
239292013-02-20 Petr Machata <pmachata@redhat.com>
23930
23931 * elf/elf.h (R_ARM_TARGET1): New macro.
23932 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23933 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23934 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23935 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23936 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23937 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23938 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23939 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23940 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23941 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23942 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23943 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23944 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23945 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23946 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23947 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23948 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23949 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23950 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23951 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23952 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23953 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23954 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23955 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23956 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23957 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23958 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23959 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23960 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23961 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23962 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23963 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23964 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23965 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23966 (R_ARM_THM_GOT_BREL12): Likewise.
23967 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23968 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23969 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23970 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23971 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23972 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23973 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23974 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23975 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23976
c7b275d6
TS
239772013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23978
23979 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23980 __attribute_used__ to __attribute__ ((unused)).
23981
20cd7fb3
SP
239822013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23983
23984 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23985 powerpc mpa.c.
23986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23987 comment formatting.
23988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23989
92945b52
JM
239902013-02-19 Joseph Myers <joseph@codesourcery.com>
23991
23992 [BZ #13550]
23993 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23994 Remove macro.
23995 (ENTER): Remove both macro definitions.
23996 (LEAVE): Likewise.
23997 (CHECK_BOUNDS_LOW): Likewise.
23998 (CHECK_BOUNDS_HIGH): Likewise.
23999 (CHECK_BOUNDS_BOTH): Likewise.
24000 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24001 (RETURN_BOUNDED_POINTER): Likewise.
24002 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24003 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24004 (POP_ERRNO_LOCATION_RETURN): Likewise.
24005 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24006 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24007 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24008 macros.
24009 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24010 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24011 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24012 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24013 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24014 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24015 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24016 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24017 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24018 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24019 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24020 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24021 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24022 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24023 removed macros.
24024 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24025 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24026 macros.
24027 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24028 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24029 * sysdeps/i386/i586/memset.S (memset): Likewise.
24030 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24031 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24032 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24033 macros.
24034 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24035 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24036 Change uses of L(2) to L(out).
24037 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24038 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24039 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24040 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24041 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24042 removed macros.
24043 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24044 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24045 macros.
24046 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24047 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24048 (RETURN): Do not use macro LEAVE.
24049 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24050 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24051 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24052 * sysdeps/i386/i686/memset.S (memset): Likewise.
24053 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24054 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24055 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24056 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24057 Likewise.
24058 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24059 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24060 L(1_2) and L(1_3) into L(1).
24061 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24062 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24063 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24064 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24065 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24066 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24067 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24068 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24069 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24070 macros.
24071 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24072 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24073 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24074 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24075 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24076 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24077 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24078 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24079 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24080 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24081 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24082 * sysdeps/i386/strspn.S (strspn): Likewise.
24083 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24084 conditional code.
24085 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24086 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24087 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24088 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24089 L(1_3) into L(1_1).
24090 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24091 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24092 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24093 macros.
24094 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24095
2389741a
JJ
240962013-02-19 Jakub Jelinek <jakub@redhat.com>
24097
24098 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24099 macro.
24100
2016b3cd
SP
241012013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24102
e4f22324
SP
24103 * math/atest-exp.c (exp_mpn): Remove ROUND.
24104 * math/atest-exp2.c (exp_mpn): Likewise.
24105 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24106
2016b3cd
SP
24107 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24108 * stdlib/tst-tls-atexit-lib.c: Likewise.
24109 * stdlib/tst-tls-atexit.c: Likewise.
24110
4be9b544
MF
241112013-02-18 Mike Frysinger <vapier@gentoo.org>
24112
24113 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24114 and __attribute_alloc_size__.
24115
2f62b9ee
MF
241162013-02-18 Mike Frysinger <vapier@gentoo.org>
24117
24118 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24119 __attribute_alloc_size__.
24120 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24121 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24122
6ff444c4
MF
241232013-02-18 Mike Frysinger <vapier@gentoo.org>
24124
24125 * include/programs/xmalloc.h: New file.
24126 * catgets/gencat.c: Include it.
24127 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24128 * elf/pldd.c: Likewise.
24129 * iconv/iconv_charmap.c: Likewise.
24130 * iconv/iconvconfig.c: Likewise.
24131 * iconv/strtab.c: Likewise.
24132 * locale/programs/locale.c: Likewise.
24133 * locale/programs/localedef.h: Likewise.
24134 * locale/programs/simple-hash.c: Likewise.
24135 * nscd/nscd.h: Likewise.
24136 * nss/makedb.c: Likewise.
24137 * sysdeps/generic/ldconfig.h: Likewise.
24138
be179c8a
SP
241392013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24140
ba384f6e
SP
24141 * Versions.def: Add GLIBC_2.18.
24142 * include/link.h (struct link_map): New member l_tls_dtor_count.
24143 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24144 (__call_tls_dtors): Likewise.
24145 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24146 __cxa_thread_atexit_impl.
24147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24148 Likewise.
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24150 Likewise.
24151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24152 Likewise.
24153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24154 Likewise.
24155 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24157 Likewise.
24158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24159 Likewise.
24160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24162 Likewise.
24163 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24164 (tests): Add test case tst-tls-atexit.
24165 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24166 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24167 (GLIBC_PRIVATE): Add __call_tls_dtors.
24168 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24169 for libstdc++.
24170 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24171 * stdlib/tst-tls-atexit.c: New test case.
24172 * stdlib/tst-tls-atexit-lib.c: New test case.
24173
ffaa74cf 24174 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24175
be179c8a
SP
24176 * elf/Versions (ld): Add _dl_find_dso_for_object.
24177 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24178 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24179 (dl_open_worker): Use _dl_find_dso_for_object.
24180 * elf/dl-sym.c (do_sym): Likewise.
24181 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24182
f78b5caa
AK
241832013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24184
24185 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24186 Syntactic changes only.
24187 (_dl_runtime_profile): Do a tail-call to the resolved function.
24188
29691210
JM
241892013-02-17 Joseph Myers <joseph@codesourcery.com>
24190
24191 [BZ #13550]
24192 * sysdeps/x86_64/bp-asm.h: Remove file.
24193 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24194 <bp-sym.h> and <bp-asm.h>.
24195 (__clone): Do not use BP_SYM.
24196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24197 <bp-sym.h> and <bp-asm.h>.
24198 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24199 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24200 "bp-asm.h".
24201 (_setjmp): Do not use BP_SYM.
24202 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24203 "bp-asm.h".
24204 (setjmp): Do not use BP_SYM.
24205 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24206 libc_hidden_def.
24207 (mempcpy): Do not use BP_SYM in weak_alias.
24208 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24209 "bp-asm.h".
24210 (strchr): Do not use BP_SYM.
24211 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24212 "bp-asm.h".
24213 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24214 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24215 (_start): Do not use BP_SYM.
24216 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24217 "bp-asm.h".
24218 (strcat): Do not use BP_SYM.
24219 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24220 "bp-asm.h".
24221 (STRCMP): Do not use BP_SYM.
24222 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24223 "bp-asm.h".
24224 (STRCPY): Do not use BP_SYM.
24225 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24226 "bp-asm.h".
24227 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24228 "bp-asm.h".
24229 (FUNCTION): Do not use BP_SYM.
24230 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24231 weak_alias.
24232 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24233
f238fd19
AJ
242342013-02-17 Andreas Jaeger <aj@suse.de>
24235
24236 * time/Versions: Sort entries.
24237 * string/Versions: Likewise.
24238 * resolv/Versions: Likewise.
24239 * posix/Versions: Likewise.
24240 * iconv/Versions: Likewise.
24241 * elf/Versions: Likewise.
24242 * wcsmbs/Versions: Likewise.
24243
bd07f23c 242442013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24245
22af19f9
SP
24246 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24247 loop termination condition.
24248
4709fe76
SP
24249 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24250 variable to calculate EZ.
24251 (__sqr): Likewise.
2d0e0f29
SP
24252
24253 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24254 the lower precision input.
24255
daaa7713
JM
242562013-02-15 Joseph Myers <joseph@codesourcery.com>
24257
24258 [BZ #13550]
24259 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24260 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24261 (run-via-rtld-prefix): Do not handle %-bp tests.
24262 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24263 (all-object-suffixes): Remove .ob.
24264 (bppfx): Remove variable.
24265 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24266 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24267 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24268 [$(build-bounded) = yes] (libtype.ob): Likewise.
24269 * Makerules (elide-routines.ob): Remove variable.
24270 (do-tests-clean): Do not handle *-bp.out.
24271 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24272 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24273 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24274 (tests): Do not include $(tests-bp.out).
24275 (xtests): Do not include $(xtests-bp.out).
24276 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24277 [$(build-bounded) = yes] ($(addprefix
24278 $(objpfx),$(binaries-bounded))): Remove rule.
24279 ($(objpfx)%-bp.out): Remove rule.
24280 * config.make.in (build-bounded): Remove variable.
24281 * crypt/Makefile [$(build-bounded) = yes]
24282 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24283 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24284 append to variable.
24285 [$(build-bounded) = yes] (install-lib): Likewise.
24286 [$(build-bounded) = yes] (generated): Likewise.
24287 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24288 Remove rule.
24289 * intl/Makefile [$(build-bounded) = yes]
24290 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24291 * math/Makefile [$(build-bounded) = yes]
24292 ($(tests:%=$(objpfx)%-bp): Likewise.
24293 * misc/Makefile [$(build-bounded) = yes]
24294 ($(objpfx)tst-tsearch-bp): Likewise.
24295 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24296 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24297 Remove dependency.
24298 * string/Makefile (o-objects.ob): Remove variable.
24299 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24300 (CFLAGS-.ob): Remove variable.
24301 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24302 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24303 both definitions of variable.
24304 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24305 (ASFLAGS-.ob): Remove variable.
24306
e97ed6dd
JM
243072013-02-14 Joseph Myers <joseph@codesourcery.com>
24308
2bdd4ca6
JM
24309 [BZ #13550]
24310 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24311 Remove __BOUNDED_POINTERS__ from condition.
24312 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24313 * string/bits/string2.h [!__NO_STRING_INLINES &&
24314 !__BOUNDED_POINTERS__]: Likewise.
24315 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24316 Likewise.
24317 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24318 Remove conditional code.
24319 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24320 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24321 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24322 condition.
24323
e97ed6dd
JM
24324 [BZ #13550]
24325 * csu/libc-start.c: Do not include <bp-sym.h>.
24326 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24327 * elf/dl-open.c: Do not include <bp-sym.h>.
24328 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24329 * math/fegetenv.c: Do not include <bp-sym.h>.
24330 (fegetenv): Do not use BP_SYM in versioned symbols.
24331 * nptl/sysdeps/pthread/bits/libc-lockP.h
24332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24333 <bp-sym.h>.
24334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24335 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24337 (__pthread_mutex_destroy): Likewise.
24338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24339 (__pthread_mutex_lock): Likewise.
24340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24341 (__pthread_mutex_trylock): Likewise.
24342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24343 (__pthread_mutex_unlock): Likewise.
24344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24345 (__pthread_mutexattr_init): Likewise.
24346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24347 (__pthread_mutexattr_destroy): Likewise.
24348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24349 (__pthread_mutexattr_settype): Likewise.
24350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24351 (__pthread_rwlock_init): Likewise.
24352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24353 (__pthread_rwlock_destroy): Likewise.
24354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24355 (__pthread_rwlock_rdlock): Likewise.
24356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24357 (__pthread_rwlock_tryrdlock): Likewise.
24358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24359 (__pthread_rwlock_wrlock): Likewise.
24360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24361 (__pthread_rwlock_trywrlock): Likewise.
24362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24363 (__pthread_rwlock_unlock): Likewise.
24364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24365 (__pthread_key_create): Likewise.
24366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24367 (__pthread_setspecific): Likewise.
24368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24369 (__pthread_getspecific): Likewise.
24370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24371 Likewise.
24372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24373 (_pthread_cleanup_push_defer): Likewise.
24374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24375 (_pthread_cleanup_pop_restore): Likewise.
24376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24377 (pthread_setcancelstate): Likewise.
24378 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24379 <bp-sym.h>.
24380 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24381 (memchr): Do not use BP_SYM in weak_alias.
24382 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24383 (fegetenv): Do not use BP_SYM in versioned symbols.
24384 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24385 (fesetenv): Do not use BP_SYM in versioned symbols.
24386 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24387 (feupdateenv): Do not use BP_SYM in versioned symbols.
24388 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24389 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24390 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24391 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24392 (open64): Do not use BP_SYM in weak_alias.
24393 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24394 (fegetenv): Do not use BP_SYM in versioned symbols.
24395 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24396 (fesetenv): Do not use BP_SYM in versioned symbols.
24397 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24398 (feupdateenv): Do not use BP_SYM in versioned symbols.
24399 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24400 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24401 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24402 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24403 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24404 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24405 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24406 <bp-sym.h>.
24407 (__libc_start_main): Do not use BP_SYM.
24408
d6752ccd
SP
244092013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24410
cb57ce60
SP
24411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24412 redundant return line.
24413 (norm): Likewise.
24414 (denorm): Likewise.
24415 (dbl_mp): Likewise.
24416 (sub_magnitudes): Likewise.
24417 (__add): Likewise.
24418 (__sub): Likewise.
24419 (__mul): Likewise.
24420 (__inv): Likewise.
24421 (__dvd): Likewise.
24422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24423 (norm): Likewise.
24424 (denorm): Likewise.
24425 (dbl_mp): Likewise.
24426 (sub_magnitudes): Likewise.
24427 (__add): Likewise.
24428 (__sub): Likewise.
24429 (__mul): Likewise.
24430 (__inv): Likewise.
24431 (__dvd): Likewise.
24432
f414520d
SP
24433 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24434 instead of __mul.
24435 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24436 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24437 (cc32): Likewise.
24438
d6752ccd
SP
24439 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24440 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24442 of __mul for squares.
24443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24444 function
24445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24446 Likewise.
24447 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24448 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24449
70d9946a
JM
244502013-02-13 Joseph Myers <joseph@codesourcery.com>
24451
24452 [BZ #13550]
24453 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24454 code.
24455 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24456 prototype or function definition. Rename ubp_* variables and
24457 parameters. Remove argv definitions conditional on
24458 [__BOUNDED_POINTERS__].
24459 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24460 * elf/dl-runtime.c (_dl_fixup): Likewise.
24461 * include/set-hooks.h (RUN_HOOK): Likewise.
24462 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24463 definition.
24464 * string/strcpy.c (strcpy): Do not use __unbounded.
24465 * sysdeps/generic/frame.h (struct layout): Likewise.
24466 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24467 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24468 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24469 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24470 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24471 (__backtrace): Likewise.
24472 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24473 use __ptrvalue.
24474 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24475 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24476 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24477 Likewise.
24478 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24479 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24480 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24481 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24482 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24483 Do not use __unbounded.
24484 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24485 Rename __unboundedrlimits parameter to rlimits in prototype.
24486 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24487 Do not use __unbounded.
24488 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24489 not use __ptrvalue.
24490 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24491 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24492 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24493 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24494 __ptrvalue or __unbounded.
24495 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24496 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24497 use __unbounded.
24498 (__new_msgctl): Do not use __ptrvalue.
24499 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24500 __unbounded.
24501 (__libc_msgrcv): Do not use __ptrvalue.
24502 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24503 startup_info): Do not use __unbounded.
24504 (__libc_start_main): Likewise. Rename ubp_* variables and
24505 parameters. Remove argv definitions conditional on
24506 [__BOUNDED_POINTERS__].
24507 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24508 __ptrvalue.
24509 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24510 use __unbounded.
24511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24512 or __ptrvalue.
24513 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24514 use __unbounded.
24515 (__new_shmctl): Do not use __ptrvalue.
24516 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24517 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24518 Likewise.
24519 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24520 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24521 (__libc_sigaction): Likewise.
24522 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24523 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24524 Likewise.
24525 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24526
cc7834d6
OB
245272013-02-13 Ondřej Bílka <neleai@seznam.cz>
24528
ffb1ec7b 24529 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24530
24531 * string/mempcpy.c: Implement by calling memcpy.
24532
bdf02814
SP
245332013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24534
c2af38aa
SP
24535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24536
4e92d59e
SP
24537 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24538 evaluation.
24539
909279a5
SP
24540 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24541 values in the mantissa.
24542
bdf02814
SP
24543 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24544 minimize writes to Z.
24545 (sub_magnitudes): Simplify code a bit.
24546
cd525923
RM
245472013-02-12 Roland McGrath <roland@hack.frob.com>
24548
24549 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24550 from the message. The linker prefixes all warnings with that already.
24551
7e2f0d2d
AS
245522013-02-12 Andreas Schwab <schwab@suse.de>
24553
a445af0b
AS
24554 [BZ #15078]
24555 * posix/regexec.c (extend_buffers): Add parameter min_len.
24556 (check_matching): Pass minimum needed length.
24557 (clean_state_log_if_needed): Likewise.
24558 (get_subexp): Likewise.
24559 * posix/Makefile (tests): Add bug-regex34.
24560 (bug-regex34-ENV): Define.
24561 * posix/bug-regex34.c: New file.
24562
7e2f0d2d
AS
24563 [BZ #11561]
24564 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24565 elements compare against the byte sequence of it, not its name.
24566 * posix/Makefile (tests): Add bug-regex35.
24567 (bug-regex35-ENV): Define.
24568 * posix/bug-regex35.c: New file.
24569
a175b684
TV
245702013-02-11 Tom de Vries <tom@codesourcery.com>
24571
24572 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24573 comment.
24574 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24575 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24576 (CHECK_EOL): Add undef.
24577
310998fe 245782013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24579
24580 * bits/stdlib-bsearch.h: New file.
24581 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24582 * stdlib/stdlib.h: Likewise.
41eda41d 24583
8ded91fb
RM
245842013-02-11 Roland McGrath <roland@hack.frob.com>
24585
24586 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24587 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24588 declaration.
24589 * manual/search.texi (Array Search Function): Add missing const in
24590 lfind prototype.
24591 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24592 declaration to use rlim_t.
24593 (Basic Scheduling Functions): Remove erroneous const from
24594 sched_getparam prototype. Remove erroneous * from
24595 sched_get_priority_max and sched_get_priority_min prototypes.
24596 (Resource Usage): Fix summary @comment on vtimes to refer to
24597 sys/vtimes.h rather than vtimes.h.
24598 Add missing *s in vtimes prototype.
24599 (Limits on Resources): Fix ulimit prototype to return long int.
24600 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24601 prototypes to use long int rather than double.
24602 (BSD Random): Fix initstate and setstate to use char *, not void *.
24603 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24604 prototype to make second argument 'struct aiocb64 *const[]'.
24605 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24606 (Status of AIO Operations): Remove erroneous const in aio_return and
24607 aio_return64 prototypes.
24608 (Synchronizing I/O): Fix sync prototype to return void.
24609 * manual/startup.texi (Suboptions): Remove an erroneous const in
24610 getsubopt prototype.
24611 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24612 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24613 use size_t rather than int.
24614 (Scanning All Users): Likewise for getpwent_r.
24615 (Setting Groups): Add missing const to setgroups prototype.
24616 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24617 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24618 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24619 'const void *' rather than 'const char *'.
24620 (Host Address Functions): Likewise for inet_ntop.
24621 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24622 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24623 ssize_t for return value.
24624 (Sending Data): Likewise for send, sendto, sendmsg.
24625 (Socket Option Functions): Add a missing const in setsockopt prototype.
24626 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24627 use wchar_t for the argument.
24628 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24629 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24630 take no arguments.
24631 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24632 double/float/long double for second argument.
24633 Fix return types of significand, significandf, significandl.
24634 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24635 argument in fchmod prototype.
24636 (File Owner): Use uid_t and gid_t in fchown prototype.
24637 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24638 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24639 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24640 use 'const struct dirent **' as argument types to CMP function pointer
24641 argument.
24642 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24643 (File Times): Fix summary magic @comment for struct utimbuf and utime
24644 to refer to utime.h, not time.h.
24645 * manual/string.texi (Argz Functions): Add missing const in
24646 argz_extract and argz_next prototypes.
24647 (Finding Tokens in a String): Likewise for basename.
24648 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24649 (Copying and Concatenation): Fix typo in wmemmove prototype.
24650 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24651 (Signal Stack): Remove erroneous const in sigstack prototype.
24652 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24653 prototype.
24654 (Simple Calendar Time): Likewise for stime.
24655 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24656 prototype.
24657 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24658 say sys/sysctl.h instead.
24659 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24660 and vsyslog prototypes.
24661
fe77fe6d
TV
246622013-02-11 Tom de Vries <tom@codesourcery.com>
24663
24664 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24665 Remove.
24666
3a09b620
RM
246672013-02-11 Roland McGrath <roland@hack.frob.com>
24668
24669 * misc/sys/mman.h: Fix typo in mremap comment.
24670
550a0b89
RM
246712013-02-08 Roland McGrath <roland@hack.frob.com>
24672
24673 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24674 the '\0' terminator.
24675
a2da1673
JM
246762013-02-08 Joseph Myers <joseph@codesourcery.com>
24677
24678 [BZ #13550]
24679 * debug/segfault.c: Don't include <bp-checks.h>.
24680 * sysdeps/generic/bp-checks.h: Remove file.
24681 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24682 (__GETDENTS): Don't use CHECK_N.
24683 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24684 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24685 (__getgroups): Don't use CHECK_N.
24686 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24687 (setgroups): Don't use CHECK_N.
24688 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24689 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24690 (__libc_msgrcv): Don't use CHECK_N.
24691 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24692 (__libc_msgsnd): Don't use CHECK_N.
24693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24694 <bp-checks.h>.
24695 (__libc_pread): Don't use CHECK_N.
24696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24697 include <bp-checks.h>.
24698 (__libc_pread64): Don't use CHECK_N.
24699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24700 include <bp-checks.h>.
24701 (__libc_pwrite): Don't use CHECK_N.
24702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24703 include <bp-checks.h>.
24704 (__libc_pwrite64): Don't use CHECK_N.
24705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24706 <bp-checks.h>.
24707 (__libc_pread): Don't use CHECK_N.
24708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24709 include <bp-checks.h>.
24710 (__libc_pread64): Don't use CHECK_N.
24711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24712 include <bp-checks.h>.
24713 (__libc_pwrite): Don't use CHECK_N.
24714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24715 include <bp-checks.h>.
24716 (__libc_pwrite64): Don't use CHECK_N.
24717 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24718 (do_pread): Don't use CHECK_N.
24719 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24720 (do_pread64): Don't use CHECK_N.
24721 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24722 (do_pwrite): Don't use CHECK_N.
24723 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24724 (do_pwrite64): Don't use CHECK_N.
24725 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24726 (__libc_readv): Don't use CHECK_N.
24727 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24728 (semop): Don't use CHECK_N.
24729 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24730 <bp-checks.h>.
24731 (semtimedop): Don't use CHECK_N.
24732 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24733 (__libc_pread): Don't use CHECK_N.
24734 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24735 <bp-checks.h>.
24736 (__libc_pread64): Don't use CHECK_N.
24737 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24738 <bp-checks.h>.
24739 (__libc_pwrite): Don't use CHECK_N.
24740 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24741 <bp-checks.h>.
24742 (__libc_pwrite64): Don't use CHECK_N.
24743 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24744 <bp-checks.h>.
24745 (__libc_msgrcv): Don't use CHECK_N.
24746 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24747 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24748 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24749 (__libc_writev): Don't use CHECK_N.
24750
b84660a8
RM
247512013-02-08 Roland McGrath <roland@hack.frob.com>
24752
7f3e75f8
RM
24753 * string/strcpy.c: Removed unused variable.
24754
b84660a8
RM
24755 * Makeconfig (+sysdep-includes): Define with := rather than =.
24756 Use an existing include/ subdir of each sysdeps dir before it.
24757
471514d3
CD
247582013-02-08 Carlos O'Donell <carlos@redhat.com>
24759
24760 * nscd/connection.c (register_traced_file): Comment function.
24761 [HAVE_INOTIFY] (union __inev): Define.
24762 [HAVE_INOTIFY] (inotify_check_files): New function.
24763 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24764 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24765 clear_db_cache.
24766 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24767
b2d3c3be
CD
247682013-02-08 Carlos O'Donell <carlos@redhat.com>
24769
24770 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24771 loaded if not already and that a failure is permanent.
24772
b39949d2
CD
247732013-02-08 Carlos O'Donell <carlos@redhat.com>
24774
ddacd1db 24775 [BZ #15006]
b39949d2
CD
24776 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24777 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24778
b2c9eff4
JM
247792013-02-08 Joseph Myers <joseph@codesourcery.com>
24780
f3aae3f3
JM
24781 [BZ #13550]
24782 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24783 (CHECK_1_NULL_OK): Likewise.
24784 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24785 (__fxstat): Do not use CHECK_1.
24786 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24787 <bp-checks.h>.
24788 (___fxstat64): Do not use CHECK_1.
24789 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24790 <bp-checks.h>.
24791 (__fxstatat): Do not use CHECK_1.
24792 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24793 <bp-checks.h>.
24794 (__fxstatat64): Do not use CHECK_1.
24795 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24796 <bp-checks.h>.
24797 (__fxstat): Do not use CHECK_1.
24798 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24799 <bp-checks.h>.
24800 (__fxstatat): Do not use CHECK_1.
24801 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24802 <bp-checks.h>.
24803 (__getresgid): Do not use CHECK_1.
24804 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24805 <bp-checks.h>.
24806 (__getresuid): Do not use CHECK_1.
24807 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24808 <bp-checks.h>.
24809 (__lxstat): Do not use CHECK_1.
24810 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24811 <bp-checks.h>.
24812 (__old_msgctl): Do not use CHECK_1.
24813 (__new_msgctl): Likewise.
24814 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24815 <bp-checks.h>.
24816 (__new_setrlimit): Do not use CHECK_1.
24817 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24818 <bp-checks.h>.
24819 (__old_shmctl): Do not use CHECK_1.
24820 (__new_shmctl): Likewise.
24821 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24822 <bp-checks.h>.
24823 (__xstat): Do not use CHECK_1.
24824 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24825 (__lxstat): Do not use CHECK_1.
24826 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24827 <bp-checks.h>.
24828 (___lxstat64): Do not use CHECK_1.
24829 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24830 (__old_msgctl): Do not use CHECK_1.
24831 (__new_msgctl): Likewise.
24832 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24833 <bp-checks.h>.
24834 (__gettimeofday): Do not use CHECK_1.
24835 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24836 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24837 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24838 <bp-checks.h>.
24839 (__gettimeofday): Do not use CHECK_1.
24840 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24841 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24842 (__new_shmctl): Do not use CHECK_1.
24843 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24844 <bp-checks.h>.
24845 (do_sigtimedwait): Do not use CHECK_1.
24846 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24847 <bp-checks.h>.
24848 (do_sigwaitinfo): Do not use CHECK_1.
24849 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24850 <bp-checks.h>.
24851 (msgctl): Do not use CHECK_1.
24852 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24853 <bp-checks.h>.
24854 (shmctl): Do not use CHECK_1.
24855 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24856 (ustat): Do not use CHECK_1.
24857 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24858 <bp-checks.h>.
24859 (__fxstat): Do not use CHECK_1.
24860 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24861 <bp-checks.h>.
24862 (__fxstatat): Do not use CHECK_1.
24863 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24864 <bp-checks.h>.
24865 (__lxstat): Do not use CHECK_1.
24866 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24867 <bp-checks.h>.
24868 (__xstat): Do not use CHECK_1.
24869 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24870 (__xstat): Do not use CHECK_1.
24871 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24872 (___xstat64): Do not use CHECK_1.
24873
b2c9eff4
JM
24874 [BZ #13550]
24875 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24876 definitions.
24877 (CHECK_BOUNDS_HIGH): Likewise.
24878 * string/strcpy.c: Do not include <bp-checks.h>.
24879 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24880
f1d70dad
RM
248812013-02-07 Roland McGrath <roland@hack.frob.com>
24882
24883 * nscd/nscd-client.h (__nscd_drop_map_ref):
24884 Add __attribute__ ((unused)).
24885 * nis/nss-nisplus.h (niserr2nss): Likewise.
24886
24887 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24888 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24889
24890 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24891 Remove inline keyword.
24892 * include/rounding-mode.h (round_away): Likewise.
24893 * libio/wfileops.c (adjust_wide_data): Likewise.
24894 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24895 (__m128i_strloadu_tolower): Likewise.
24896 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24897 (__m128i_strloadu_tolower): Likewise.
24898 * time/mktime.c (ydhms_diff): Likewise.
24899 * locale/elem-hash.h (elem_hash): Likewise.
24900 * locale/setlocale.c (setdata): Likewise.
24901 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24902 (re_string_wchar_at): Likewise.
24903 (bitset_not, bitset_merge, bitset_mask): Likewise.
24904 [!(__GNUC__ > 3)] (inline): Remove macro.
24905 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24906 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24907 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24908 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24909 * string/memcmp.c (memcmp_bytes): Likewise.
24910 * locale/programs/locarchive.c (compute_hashval): Likewise.
24911 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24912 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24913 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24914 * nss/getent.c (print_rpc, print_protocols): Likewise.
24915 (print_passwd, print_group, print_aliases): Likewise.
24916 * nis/nss-nisplus.h (niserr2nss): Likewise.
24917 * nscd/connections.c (restart_p): Likewise.
24918 Change return type to bool.
24919
eab55bfb
RM
249202013-02-05 Roland McGrath <roland@hack.frob.com>
24921
7bd642f5
RM
24922 * Makeconfig (all-Depend-files): Add existing
24923 $(sorted-subdirs:=/Depend) files.
24924 (all-subdirs): Remove nss.
24925 * sysdeps/unix/inet/Subdirs: Add it here instead.
24926 * hesiod/Depend: New file.
24927
573c29b2
RM
24928 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24929 instead of calling alloca.
24930
b2e25af0
RM
24931 * io/lseek.c (__lseek): Rename to __libc_lseek.
24932 Define __lseek as an alias.
24933
eab55bfb
RM
24934 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24935
9a0d1941
CD
249362013-02-04 Carlos O'Donell <carlos@redhat.com>
24937
24938 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24939 else clause and remove check for non-standard endianness.
24940
b83bbec4
DM
249412013-02-04 David S. Miller <davem@davemloft.net>
24942
24943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24944
6277fdab
JM
249452013-02-04 Joseph Myers <joseph@codesourcery.com>
24946
24947 [BZ #13550]
24948 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24949 (__ubp_memchr): Remove prototype.
24950 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24951 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24952 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24953 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24954 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24955 Remove alias.
24956 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24957 (__ubp_memchr): Likewise.
24958 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24959 (__ubp_memchr): Likewise.
24960 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24961 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24962 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24963 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24964 CHECK_STRING.
24965 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24966 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24967 (__getcwd): Do not use CHECK_STRING.
24968 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24969 <bp-checks.h>.
24970 (__real_chown): Do not use CHECK_STRING.
24971 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24972 <bp-checks.h>.
24973 (fchownat): Do not use CHECK_STRING.
24974 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24975 CHECK_STRING.
24976 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24977 <bp-checks.h>.
24978 (__lchown): Do not use CHECK_STRING.
24979 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24980 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24981 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24982 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24984 include <bp-checks.h>.
24985 (truncate64): Do not use CHECK_STRING.
24986 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24987 <bp-checks.h>.
24988 (__real_chown): Do not use CHECK_STRING.
24989 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24990 <bp-checks.h>.
24991 (__lchown): Do not use CHECK_STRING.
24992 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24993 <bp-checks.h>.
24994 (__chown): Do not use CHECK_STRING.
24995 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24996 <bp-checks.h>.
24997 (truncate64): Do not use CHECK_STRING.
24998 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24999 Likewise.
25000 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25001 (__xmknod): Do not use CHECK_STRING.
25002 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25003 <bp-checks.h>.
25004 (__xmknodat): Do not use CHECK_STRING.
25005 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25006 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25007
903ae060
AS
250082013-02-04 Andreas Schwab <schwab@suse.de>
25009
25010 [BZ #14142]
25011 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25012 * include/netdb.h: Likewise for h_errno.
25013 * elf/tst-stackguard1.c: Include <tls.h>.
25014
542f9466
JK
250152013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25016
25017 * elf/link.h (struct link_map): Extend the l_addr comment.
25018 * include/link.h (struct link_map): Likewise.
25019
e782a927
JM
250202013-02-01 Joseph Myers <joseph@codesourcery.com>
25021
25022 [BZ #13550]
25023 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25024 (BOUNDED_1): Remove macro.
25025 * debug/backtrace.c: Don't include <bp-checks.h>.
25026 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25027 (__backtrace): Likewise.
25028 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25029 <bp-checks.h>.
25030 (__backtrace): Don't use BOUNDED_1.
25031 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25032 <bp-checks.h>.
25033 (__backtrace): Don't use BOUNDED_1.
25034 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25035 (__backtrace): Don't use BOUNDED_1.
25036 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25037 (shmat): Don't use BOUNDED_N.
25038
8cf28c5e
JM
250392013-01-31 Joseph Myers <joseph@codesourcery.com>
25040
3a7ac8a0
JM
25041 [BZ #13550]
25042 * sysdeps/generic/bp-start.h: Remove file.
25043 * csu/libc-start.c: Don't include <bp-start.h>.
25044 (LIBC_START_MAIN): Set up __environ directly instead of using
25045 INIT_ARGV_and_ENVIRON.
25046 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25047 <bp-start.h>.
25048
f3499f95
JM
25049 [BZ #13550]
25050 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25051 definitions.
25052 (CHECK_FCNTL): Likewise.
25053 (CHECK_N_PAGES): Likewise.
25054
32a45bea
JM
25055 [BZ #13550]
25056 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25057 definitions.
25058 (CHECK_SIGSET_NULL_OK): Likewise.
25059 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25060 <bp-checks.h>.
25061 (sigpending): Don't use CHECK_SIGSET.
25062 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25063 <bp-checks.h>.
25064 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25065 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25066 <bp-checks.h>.
25067 (do_sigsuspend): Don't use CHECK_SIGSET.
25068 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25069 use CHECK_SIGSET.
25070 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25071 (do_sigwait): Don't use CHECK_SIGSET.
25072 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25073 use CHECK_SIGSET.
25074 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25075 include <bp-checks.h>.
25076 (sigpending): Don't use CHECK_SIGSET.
25077 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25078 include <bp-checks.h>.
25079 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25080 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25081 <bp-checks.h>.
25082 (sigpending): Don't use CHECK_SIGSET.
25083 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25084 <bp-checks.h>.
25085 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25086
2e8a5c8c
JM
25087 [BZ #13550]
25088 * sysdeps/generic/bp-semctl.h: Remove file.
25089 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25090 <bp-checks.h> and <bp-semctl.h>.
25091 (__old_semctl): Don't use CHECK_SEMCTL.
25092 (__new_semctl): Likewise.
25093 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25094 and <bp-semctl.h>.
25095 (__old_semctl): Don't use CHECK_SEMCTL.
25096 (__new_semctl): Likewise.
25097 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25098 <bp-checks.h> and <bp-semctl.h>.
25099 (__old_semctl): Don't use CHECK_SEMCTL.
25100 (__new_semctl): Likewise.
25101 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25102 <bp-checks.h> and <bp-semctl.h>.
25103 (semctl): Don't use CHECK_SEMCTL.
25104
c2d54929
JM
25105 [BZ #13550]
25106 * Makerules (elide-bp-thunks): Remove variable.
25107 (elide-routines.oS): Don't use $(elide-bp-thunks).
25108 (elide-routines.os): Likewise.
25109 (elide-routines.o): Likewise.
25110 (elide-routines.op): Likewise.
25111 (elide-routines.og): Likewise.
25112 (objects): Don't use $(bp-thunks).
25113 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25114 include.
25115 (common-generated): Do not add s-proto-bp.d.
25116 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25117 (int): Likewise.
25118 (typ): Likewise.
25119 Do not generate makefile rules for bounded-pointer thunks.
25120 * sysdeps/generic/bp-thunks.h: Remove file.
25121 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25122 * sysdeps/unix/s-proto-bp.S: Likewise.
25123
8cf28c5e
JM
25124 [BZ #15062]
25125 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25126 parts of result separately when argument is not close to line from
25127 -i to i and one part of argument is small.
25128 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25129 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25130 * math/libm-test.inc (cacos_test): Add more tests.
25131 (casin_test): Likewise.
25132 (casinh_test): Likewise.
25133 * sysdeps/i386/fpu/libm-test-ulps: Update.
25134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25135
c4e33b8d
DM
251362013-01-31 David S. Miller <davem@davemloft.net>
25137
25138 * po/de.po: Update from translation team.
25139
3b60b421
MK
251402013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25141
25142 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25143
bb931195
TS
251442013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25145
b5a5da23
TS
25146 * configure.in (_AC_PROG_CC_C89): New definition.
25147 * configure: Regenerate.
25148
bb931195
TS
25149 * configure.in (AC_PROG_CPP): New definition.
25150 * configure: Regenerate.
25151
8c53a12c
JM
251522013-01-23 Joseph Myers <joseph@codesourcery.com>
25153
25154 * debug/tst-backtrace.h: New file.
25155 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25156 (ret): Remove variable.
25157 (x): Likewise.
25158 (FAIL): Remove macro.
25159 (NO_INLINE): Likewise.
25160 (fn1): Use match function instead of strstr.
25161 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25162 (ret): Remove variable.
25163 (x): Likewise.
25164 (FAIL): Remove macro.
25165 (NO_INLINE): Likewise.
25166 (fn): Use match function instead of strstr.
25167 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25168 (ret): Remove variable.
25169 (x): Likewise.
25170 (FAIL): Remove macro.
25171 (NO_INLINE): Likewise.
25172 (handle_signal): Use match function instead of strstr.
25173 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25174 (ret): Remove variable.
25175 (x): Likewise.
25176 (FAIL): Remove macro.
25177 (NO_INLINE): Likewise.
25178 (handle_signal): Use match function instead of strstr.
25179
4858fa2a
RM
251802013-01-23 Roland McGrath <roland@hack.frob.com>
25181
25182 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25183
bae8e7f5
DM
251842013-01-23 David S. Miller <davem@davemloft.net>
25185
25186 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25187 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25188 argument of CAS if possible.
25189 * sysdeps/sparc/sparc64/bits/atomic.h
25190 (__arch_compare_and_exchange_val_32_acq): Likewise.
25191 (__arch_compare_and_exchange_val_64_acq): Likewise.
25192
9cbbc4ae
PT
251932013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25194
25195 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25196 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25197 Include <limits.h>.
67b3f58c 25198 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25199
5655a0b5
AC
252002013-01-23 Adam Conrad <adconrad@0c3.net>
25201
25202 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25203 (LDFLAGS-tst-array5): Likewise.
25204
052aff95
JM
252052013-01-23 Joseph Myers <joseph@codesourcery.com>
25206
25207 [BZ #15036]
25208 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25209 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25210 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25211 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25212
7c1e01aa
DM
252132013-01-21 David S. Miller <davem@davemloft.net>
25214
25215 * sysdeps/sparc/backtrace.c: New file.
25216 * sysdeps/sparc/sparc32/backtrace.h: New file.
25217 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25218 * sysdeps/sparc/sparc64/backtrace.h: New file.
25219 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25220 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25221 -funwind-tables.
25222
ab087e0a
AS
252232013-01-21 Andreas Schwab <schwab@suse.de>
25224
25225 [BZ #15020]
25226 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25227 closed its stdout.
25228
ed689c2f
AS
252292013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25230
25231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25232 "mpa2.h".
25233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25234
31d470ac
JM
252352013-01-18 Joseph Myers <joseph@codesourcery.com>
25236 Mark Mitchell <mark@codesourcery.com>
25237 Tom de Vries <tom@codesourcery.com>
25238 Paul Pluzhnikov <ppluzhnikov@google.com>
25239
25240 * debug/tst-backtrace2.c: New file.
25241 * debug/tst-backtrace3.c: Likewise.
25242 * debug/tst-backtrace4.c: Likewise.
25243 * debug/tst-backtrace5.c: Likewise.
25244 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25245 (CFLAGS-tst-backtrace3.c): Likewise.
25246 (CFLAGS-tst-backtrace4.c): Likewise.
25247 (CFLAGS-tst-backtrace5.c): Likewise.
25248 (LDFLAGS-tst-backtrace2): Likewise.
25249 (LDFLAGS-tst-backtrace3): Likewise.
25250 (LDFLAGS-tst-backtrace4): Likewise.
25251 (LDFLAGS-tst-backtrace5): Likewise.
25252 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25253 tst-backtrace4 and tst-backtrace5.
25254
90567f30 252552013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25256 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25257
25258 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25259 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25260 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25261 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25263 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25264 "+r" and remove output regs list as redundant. Add explicit inline
25265 asm to specify register of return val to work around compiler codegen
25266 bug. Remove (int) cast on return value. Add return type parameter to
25267 use in macro so that this macro does not truncate return value for
25268 64-bit values.
25269 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25270 pass to INTERNAL_VSYSCALL_NCS.
25271 (INLINE_VSYSCALL): Add 'long int' as return type to
25272 INTERNAL_VSYSCALL_NCS macro invocation.
25273 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25274 INTERNAL_VSYSCALL_NCS macro invocation.
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25276
d3b9ea61
SP
252772013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25278
0b57daeb
SP
25279 [BZ #14496]
25280 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25281 Fix application of SIMD FP exception mask.
25282
caa99d06
SP
25283 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25284 mp_no from a power of two.
25285 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25286 __mpexp_twomm1. Use __pow_mp.
25287
d3b9ea61
SP
25288 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25289 multiplication.
25290
1dbaee3c
DM
252912013-01-17 David S. Miller <davem@davemloft.net>
25292
25293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25294
728d7b43
JM
252952013-01-17 Joseph Myers <joseph@codesourcery.com>
25296
25297 [BZ #15023]
25298 * include/complex.h: Condition contents on [!_COMPLEX_H].
25299 (__kernel_casinhf): New prototype.
25300 (__kernel_casinh): Likewise.
25301 (__kernel_casinhl): Likewise.
25302 * math/Makefile (libm_calls): Add k_casinh.
25303 * math/k_casinh.c: New file.
25304 * math/k_casinhf.c: Likewise.
25305 * math/k_casinhl.c: Likewise.
25306 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25307 finite nonzero arguments.
25308 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25309 finite nonzero arguments.
25310 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25311 finite nonzero arguments.
25312 * math/s_casinh.c: Do not include <float.h>.
25313 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25314 * math/s_casinhf.c: Do not include <float.h>.
25315 (__casinhf): Move code for finite nonzero arguments to
25316 k_casinhf.c.
25317 * math/s_casinhl.c: Do not include <float.h>.
25318 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25319 redefine.
25320 (__casinhl): Move code for finite nonzero arguments to
25321 k_casinhl.c.
25322 * math/libm-test.inc (cacos_test): Add more tests.
25323 * sysdeps/i386/fpu/libm-test-ulps: Update.
25324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25325
2a26ef3a
PT
253262013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25327
25328 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25329 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25330 [!HAVE_MREMAP]: Remove [defined linux] case.
25331 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25332
a897655d
SP
253332013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25334
25335 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25336
881ebe89 253372013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25338
25339 * elf/elf.h (R_386_SIZE32): New relocation.
25340 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25341 R_386_SIZE32.
25342 (elf_machine_rela): Likewise.
25343 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25344 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25345
59981e9b
JM
253462013-01-17 Joseph Myers <joseph@codesourcery.com>
25347
25348 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25349 (FP_FAST_FMA): Do not define.
25350 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25351 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25352 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25353 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25354 !_SOFT_FLOAT]: Likewise.
25355 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25356 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25357 value.
25358 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25359 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25360 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25361 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25362 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25363 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25364 file.
25365
cfa8054f
AS
253662013-01-16 Andreas Schwab <schwab@suse.de>
25367
25368 [BZ #14327]
25369 * include/stdlib.h (__mktemp): Add declaration.
25370 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25371 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25372
dd930cc5
SP
253732013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25374
881ebe89
SP
25375 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25376 definitions.
25377 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25378 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25379 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25380 definitions here.
25381 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25382 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25383 definitions.
25384 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25385 and ONE.
25386 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25387 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25388 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25389 definitions.
25390 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25391 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25392 definitions.
25393 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25394
dd930cc5
SP
25395 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25396
c19a9f89
DM
253972013-01-15 David S. Miller <davem@davemloft.net>
25398
1aa61767
DM
25399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25400 trunc{,f} to libm-sysdep_routes.
25401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25403 file.
25404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25406 file.
25407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25408 file.
25409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25411 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25412 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25413 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25414 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25415 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25416 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25417
c42d5e98
DM
25418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25419 nearbyint{,f} to libm-sysdep_routes.
25420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25422 New file.
25423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25424 file.
25425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25426 New file.
25427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25428 file.
25429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25431 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25432 file.
25433 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25434 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25435 file.
25436 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25437 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25438 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25439
c19a9f89
DM
25440 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25441 libc_feholdexcept and libc_fesetenv.
25442
357679d2
MF
254432013-01-15 Mike Frysinger <vapier@gentoo.org>
25444
25445 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25446
65a82e3d
DM
254472013-01-14 David S. Miller <davem@davemloft.net>
25448
8b954ab9
DM
25449 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25450 (SPARC_ASM_VIS2_IFUNC): Likewise.
25451 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25453 use of 'siam' instruction.
25454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25455 Likewise.
25456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25457 Likewise.
25458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25459 Likewise.
25460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25465 file.
25466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25467 file.
25468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25469 file.
25470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25471 file.
25472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25477 new VIS2 routines.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25481 Likewise.
25482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25487 routines to libm-sysdep_routines.
25488 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25489
65a82e3d
DM
25490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25491 fdim/fdimf to libm-sysdep_routines.
25492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25493 file.
25494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25496 file.
25497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25500 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25501 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25502 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25503 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25504
e34ab705
SP
255052013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25506
2a91b573
SP
25507 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25508 to optimize copies.
25509
1066a534
SP
25510 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25513
e34ab705
SP
25514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25515 local variable MPTWO.
25516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25517 Likewise.
25518
aba5e596
MF
255192013-01-13 Mike Frysinger <vapier@gentoo.org>
25520
25521 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25522 GLOB_NOESCAPE.
25523
e557e9e5
MF
255242013-01-13 Mike Frysinger <vapier@gentoo.org>
25525
25526 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25527
0428cec9
MF
255282013-01-13 Mike Frysinger <vapier@gentoo.org>
25529
25530 * manual/pattern.texi (glob_t): Document gl_flags.
25531 (glob64_t): Likewise.
25532
8794a964
DM
255332013-01-11 David S. Miller <davem@davemloft.net>
25534
66438c3f
RM
25535 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25536 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25537 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25538 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25539 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25540 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25541 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25542 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25543 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25544 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25545 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25546 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25547 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25548
4ae4244d
DM
25549 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25550 sparc V9 rather than using V8 code.
25551 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25552 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25553
8794a964
DM
25554 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25555 Move to...
25556 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25557 Here.
25558
6270516e
RM
255592013-01-11 Roland McGrath <roland@hack.frob.com>
25560
25561 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25562 not in the main loop.
25563 * configure: Regenerated.
25564
6a57d931
JM
255652013-01-11 Joseph Myers <joseph@codesourcery.com>
25566
25567 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25568 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25569 to just #else.
25570 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25571 [!__GLIBC_HAVE_LONG_LONG] case.
25572 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25573 condition to just #else.
25574 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25575 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25576 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25577 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25578 unconditional.
25579 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25580 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25581 #elif condition to just #else.
25582 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25583 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25584 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25585 #elif condition to just #else.
25586
0e8529e9
SE
255872013-01-11 Steve Ellcey <sellcey@mips.com>
25588
25589 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25590 (EF_MIPS_ARCH_64): Fix value.
25591 (EF_MIPS_ARCH_32R2): New.
25592 (EF_MIPS_ARCH_64R2): New.
25593
740b3dbe
L
255942013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25595
25596 * Makeconfig (+link-pie-before-libc): New.
25597 (+link-pie-after-libc): Likewise.
25598 (+link-pie-tests): Likewise.
25599 (+link-pie): Rewritten.
25600 (link-before-libc): Remove $(config-LDFLAGS).
25601 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25602 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25603 (config-LDFLAGS): Renamed to ...
25604 (rtld-LDFLAGS): This.
25605 (rtld-tests-LDFLAGS): New macro.
25606 (link-libc-rpath-link): Likewise.
25607 (link-libc-tests-rpath-link): Likewise.
25608 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25609 (link-libc): Prepand $(link-libc-rpath-link).
25610 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25611 (test-program-prefix): New macro.
25612 (test-via-rtld-prefix): Likewise.
25613 (test-program-cmd): Likewise.
25614 (host-test-program-cmd): Likewise.
25615 * Makefile ($(common-objpfx)testrun.sh): Replace
25616 $(run-program-prefix) with $(test-program-prefix).
25617 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25618 $(rtld-LDFLAGS).
25619 ($(common-objpfx)shlib.lds): Likewise.
25620 (build-module-helper): Likewise.
25621 ($(common-objpfx)format.lds): Likewise.
25622 * Rules (binaries-pie-tests): New.
25623 (binaries-pie-notests): Likewise.
25624 (binaries-pie): Rewritten.
25625 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25626 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25627 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25628 (make-test-out): Replace $(host-built-program-cmd) with
25629 $(host-test-program-cmd).
25630 * config.make.in (build-hardcoded-path-in-tests): New variable.
25631 * configure.in (--enable-hardcoded-path-in-tests): New configure
25632 option.
25633 (hardcoded_path_in_tests): New AC_SUBST.
25634 * configure: Regenerated.
25635 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25636 $(built-program-cmd) with $(test-program-cmd).
25637 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25638 (test_program_cmd): This.
25639 * elf/Makefile ($(objpfx)order.out): Run test with
25640 $(test-program-prefix).
25641 ($(objpfx)order2.out): Likewise.
25642 ($(objpfx)tst-initorder.out): Likewise.
25643 ($(objpfx)tst-initorder2.out): Likewise.
25644 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25645 $(test-program-cmd).
25646 ($(objpfx)tst-array1-static.out): Likewise.
25647 ($(objpfx)tst-array2.out): Likewise.
25648 ($(objpfx)tst-array3.out): Likewise.
25649 ($(objpfx)tst-array4.out): Likewise.
25650 ($(objpfx)tst-array5.out): Likewise.
25651 ($(objpfx)tst-array5-static.out): Likewise.
25652 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25653 $(test-program-cmd).
25654 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25655 $(run-program-prefix) with $(test-program-prefix).
25656 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25657 (test_program_prefix): This.
25658 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25659 $(run-program-prefix) with $(test-program-prefix).
25660 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25661 (test_program_prefix): This.
25662 * iconvdata/tst-tables.sh: Likewise.
25663 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25664 $(run-program-prefix) with $(test-program-prefix).
25665 ($(objpfx)tst-translit.out): Likewise.
25666 ($(objpfx)tst-gettext2.out): Likewise.
25667 ($(objpfx)tst-gettext4.out): Likewise.
25668 ($(objpfx)tst-gettext6.out): Likewise.
25669 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25670 (test_program_prefix): This.
25671 * intl/tst-gettext2.sh: Likewise.
25672 * intl/tst-gettext4.sh Likewise.
25673 * intl/tst-gettext6.sh: Likewise.
25674 * intl/tst-translit.sh: Likewise.
25675 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25676 with $(test-program-cmd).
25677 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25678 $(run-program-prefix) with $(test-program-prefix).
25679 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25680 (test_program_prefix): This.
25681 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25682 $(run-program-prefix) with $(test-program-prefix).
25683 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25684 (test_program_prefix): This.
25685 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25686 * posix/Makefile ($(objpfx)globtest.out): Replace
25687 $(run-via-rtld-prefix) and $(test-wrapper) with
25688 $(test-program-prefix) and $(test-via-rtld-prefix).
25689 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25690 $(test-program-prefix).
25691 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25692 $(host-test-program-cmd).
25693 (tst-spawn-ARGS): Likewise.
25694 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25695 $(test-program-prefix).
25696 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25697 (test_via_rtld_prefix): This.
25698 (test_wrapper): Renamed to ...
25699 (test_program_prefix): This.
25700 (run_program_prefix): Replaced by test_program_prefix.
25701 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25702 (test_program_prefix): This.
25703 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25704 with $(host-test-program-cmd).
25705 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25706 $(run-program-prefix) with $(test-program-prefix).
25707 ($(objpfx)tst-printf.out): Likewise.
25708 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25709 $(test-program-cmd).
25710 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25711 (test_program_prefix): This.
25712 * stdio-common/tst-unbputc.sh: Likewise.
25713 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25714 $(run-program-prefix) with $(test-program-prefix).
25715 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25716 (test_program_prefix): This.
25717 * string/Makefile ($(objpfx)tst-svc.out): Replace
25718 $(built-program-cmd) with $(test-program-cmd).
25719
c6fe55cf
AJ
257202013-01-11 Andreas Jaeger <aj@suse.de>
25721
25722 [BZ #15003]
25723 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25724 value. Sync with Linux 3.7.
25725
9e6919c8
DM
257262013-01-10 David S. Miller <davem@davemloft.net>
25727
25728 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25729 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25730 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25731
1c9f1a02
RM
257322013-01-10 Roland McGrath <roland@hack.frob.com>
25733
25734 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25735 never set.
25736 * configure: Regenerated.
25737
b9de2dde
DM
257382013-01-10 David S. Miller <davem@davemloft.net>
25739
25740 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25741 sparc V9 rather than using V8 code.
25742 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25743 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25744
e7f68ef4
RM
257452013-01-10 Roland McGrath <roland@hack.frob.com>
25746
25747 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25748 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25749 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25750 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25751 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25752 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25753 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25754 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25755 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25756 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25757 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25758 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25759 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25760 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25761 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25762 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25763 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25764 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25765 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25766 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25767 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25768 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25769 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25770 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25771 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25772 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25773 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25774
5a47cc9c
DM
257752013-01-10 David S. Miller <davem@davemloft.net>
25776
25777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25778
4cf8f209
L
257792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25780
25781 * posix/Makefile (tests-static): New variable.
25782 (tests): Add $(tests-static).
25783 (tst-exec-static-ARGS): New variable.
25784 (tst-spawn-static-ARGS): Likewise.
25785 * posix/tst-exec-static.c: New file.
25786 * posix/tst-spawn-static.c: Likewise.
25787 * posix/tst-exec.c: Support run directly.
25788 * posix/tst-spawn.c: Likewise.
25789
fed0faa1
JM
257902013-01-10 Joseph Myers <joseph@codesourcery.com>
25791
828beb13
JM
25792 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25793 long.
25794 * math/bits/mathcalls.h (llrint): Likewise.
25795 (llround): Likewise.
25796 * stdlib/stdlib.h (struct drand48_data): Likewise.
25797 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25798 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25799 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25800 Likewise.
25801 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25802 Likewise.
25803 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25804 (elf_greg_t): Likewise.
25805 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25806 (__jmp_buf): Likewise.
25807 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25808 definitions.
25809 (llrint): Likewise, for all definitions.
25810 (llrintl): Likewise.
25811
fed0faa1
JM
25812 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25813 Remove [__GNUC__] condition.
25814 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25815 condition to just [__USE_ISOC99].
25816 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25817
1a20cb20
L
258182013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25819
25820 [BZ #14200]
25821 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25822 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25823 defined.
25824 (_POSIX_V6_ILP32_OFF32): Likewise.
25825 (_XBS5_ILP32_OFF32): Likewise.
25826 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25827 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25828
751b85f7
SP
258292013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25830
7490eb81
SP
25831 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25832
751b85f7
SP
25833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25834 doubles __mpexp_twomm1. Adjust usage.
25835 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25836 Remove.
25837
988197f0
AS
258382013-01-10 Andreas Schwab <schwab@suse.de>
25839
25840 [BZ #14964]
25841 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25842 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25843
e83d7298
DM
258442013-01-09 David S. Miller <davem@davemloft.net>
25845
034ed64b 25846 [BZ #15003]
57f41c40
AS
25847 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25848 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25849 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25850 (TCP_FASTOPEN): Define.
e83d7298
DM
25851 (tcp_repair_opt): New structure.
25852 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25853 enum values.
57f41c40
AS
25854 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25855 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25856 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25857 (tcp_cookie_transactions): New structure.
25858
d5e0b9bd
AB
258592013-01-09 Anton Blanchard <anton@samba.org>
25860
25861 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25862 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25863 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25864 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25865
0c07e3ea
JM
258662013-01-09 Joseph Myers <joseph@codesourcery.com>
25867
25868 * include/features.h (__USE_ANSI): Remove.
25869
232f7002
RM
258702013-01-09 Roland McGrath <roland@hack.frob.com>
25871
ad98e30c
RM
25872 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25873
232f7002
RM
25874 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25875
950c99ca
SP
258762013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25877
b5792741
SP
25878 * sysdeps/s390/fpu/libm-test-ulps: Update.
25879
47cf2278
SP
25880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25881
950c99ca
SP
25882 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25883 (__acr): Likewise.
25884 (__cpy): Likewise.
25885 (norm): Likewise.
25886 (denorm): Likewise.
25887 (__mp_dbl): Likewise.
25888 (__dbl_mp): Likewise.
25889 (add_magnitudes): Likewise.
25890 (sub_magnitudes): Likewise.
25891 (__add): Likewise.
25892 (__sub): Likewise.
25893 (__mul): Likewise.
25894 (__inv): Likewise.
25895 (__dvd): Likewise.
25896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25897 (__acr): Likewise.
25898 (__cpy): Likewise.
25899 (norm): Likewise.
25900 (denorm): Likewise.
25901 (__mp_dbl): Likewise.
25902 (__dbl_mp): Likewise.
25903 (add_magnitudes): Likewise.
25904 (sub_magnitudes): Likewise.
25905 (__add): Likewise.
25906 (__sub): Likewise.
25907 (__mul): Likewise.
25908 (__inv): Likewise.
25909 (__dvd): Likewise.
25910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25911 (__acr): Likewise.
25912 (__cpy): Likewise.
25913 (norm): Likewise.
25914 (denorm): Likewise.
25915 (__mp_dbl): Likewise.
25916 (__dbl_mp): Likewise.
25917 (add_magnitudes): Likewise.
25918 (sub_magnitudes): Likewise.
25919 (__add): Likewise.
25920 (__sub): Likewise.
25921 (__mul): Likewise.
25922 (__inv): Likewise.
25923 (__dvd): Likewise.
25924
eede9df9
JM
259252013-01-08 Joseph Myers <joseph@codesourcery.com>
25926
25927 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25928 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25929 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25930 2 && __USE_EXTERN_INLINES]: Likewise.
25931
c40ea3d9
AJ
259322013-01-08 Andreas Jaeger <aj@suse.de>
25933
25934 [BZ# 14985]
25935 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25936 Remove.
25937 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25938 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25939
2ccdea26
AB
259402013-01-07 Anton Blanchard <anton@samba.org>
25941
25942 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25943 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25944 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25945 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25946 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25947 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25948 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25949 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25951 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25952 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25953 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25954 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25955 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25956 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25957 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25958 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25959 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25960 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25961 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25962 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25963 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25964 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25965 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25966 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25967 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25968 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25969 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25970 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25971 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25972 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25974 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25975 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25976 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25977 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25978 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25979 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25980 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25981 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25982 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25983 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25984 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25985
a9708fed
JM
259862013-01-07 Joseph Myers <joseph@codesourcery.com>
25987
375607b9
JM
25988 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25989 (__MALLOC_PMT): Likewise.
25990 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25991 [__GNUC__], only on [_LIBC].
25992 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25993 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25994 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25995 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25996 forward declaration.
25997 (realloc_hook_ini): Likewise.
25998 (memalign_hook_ini): Likewise.
25999 (__libc_memalign): Do not use __MALLOC_PMT in variable
26000 declaration.
26001 (__libc_valloc): Likewise.
26002 (__libc_pvalloc): Likewise.
26003 (__libc_calloc): Likewise.
26004 (__posix_memalign): Likewise.
26005
a9708fed
JM
26006 [BZ #14996]
26007 * math/s_casinh.c: Include <float.h>.
26008 (__casinh): Do not do computation with squaring and square root
26009 for large arguments.
26010 * math/s_casinhf.c: Include <float.h>.
26011 (__casinhf): Do not do computation with squaring and square root
26012 for large arguments.
26013 * math/s_casinhl.c: Include <float.h>.
26014 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26015 (__casinhl): Do not do computation with squaring and square root
26016 for large arguments.
26017 * math/libm-test.inc (casin_test): Add more tests.
26018 (casinh_test): Likewise.
26019 * sysdeps/i386/fpu/libm-test-ulps: Update.
26020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26021
afec409a
L
260222013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26023
26024 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26025 (__x86_64_raw_data_cache_size): Likewise.
26026 (__x86_64_data_cache_size_half): Likewise.
26027 (__x86_64_raw_data_cache_size_half): Likewise.
26028 (__x86_64_shared_cache_size): Likewise.
26029 (__x86_64_raw_shared_cache_size): Likewise.
26030 (__x86_64_shared_cache_size_half): Likewise.
26031 (__x86_64_raw_shared_cache_size_half): Likewise.
26032 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26033 to ...
26034 (__x86_data_cache_size): This.
26035 (__x86_64_raw_data_cache_size): Renamed to ...
26036 (__x86_raw_data_cache_size): This.
26037 (__x86_64_data_cache_size_half): Renamed to ...
26038 (__x86_data_cache_size_half): This.
26039 (__x86_64_raw_data_cache_size_half): Renamed to ...
26040 (__x86_raw_data_cache_size_half): This.
26041 (__x86_64_shared_cache_size): Renamed to ...
26042 (__x86_shared_cache_size): This.
26043 (__x86_64_raw_shared_cache_size): Renamed to ...
26044 (__x86_raw_shared_cache_size): This.
26045 (__x86_64_shared_cache_size_half): Renamed to ...
26046 (__x86_shared_cache_size_half): This.
26047 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26048 (__x86_raw_shared_cache_size_half): This.
26049 * sysdeps/x86_64/memcpy.S: Updated.
26050 * sysdeps/x86_64/memset.S: Likewise.
26051 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26052 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26053 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26054
0b3986d0
DM
260552013-01-04 David S. Miller <davem@davemloft.net>
26056
26057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26058
e47686e9
AS
260592013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26060
d643bac1
AS
26061 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26062 1 to avoid redefinition warning.
26063 (__USE_GNU): Don't define.
26064 (init_signaling_nan): Protoize.
26065
e47686e9
AS
26066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26067
b18decba
SP
260682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26069
fffb407f
SP
26070 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26072 (__cpymn): Likewise.
26073 (norm): Remove commented code.
26074 (denorm): Likewise.
26075 (__mp_dbl): Likewise.
26076 (__inv): Likewise.
26077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26078 (__cpymn): Likewise.
26079 (norm): Remove commented code.
26080 (denorm): Likewise.
26081 (__mp_dbl): Likewise.
26082 (__inv): Likewise.
26083
b18decba
SP
26084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26085 mp_no value for 1.0 and 2.0.
26086 (norm): Use RADIXI instead of radixi.d.
26087 (denorm): Likewise.
26088 (__mul): Use 0.0 instead of zero.d.
26089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26090 mp_no value for 1.0 and 2.0.
26091 (norm): Use RADIXI instead of radixi.d.
26092 (denorm): Likewise.
26093 (__mul): Use 0.0 instead of zero.d.
26094
cdc1c96f
JM
260952013-01-04 Joseph Myers <joseph@codesourcery.com>
26096
26097 [BZ #14994]
26098 * math/s_casinh.c (__casinh): Reduce finite argument to first
26099 quadrant then set signs of results at the end.
26100 * math/s_casinhf.c (__casinhf): Likewise.
26101 * math/s_casinhl.c (__casinhl): Likewise.
26102 * math/libm-test.inc (casin_test): Add more tests.
26103 (casinh_test): Likewise.
26104 * sysdeps/i386/fpu/libm-test-ulps: Update.
26105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26106
302913e1
SP
261072013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26108
6420d207
SP
26109 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26110
a9e48ab4
SP
26111 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26112
b7837264
SP
26113 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26114 declarations.
26115 (denorm): Likewise.
26116 (__mp_dbl): Likewise.
26117 (__inv): Likewise.
26118
f8af25d2
SP
26119 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26120 and adjust the header comment.
26121
302913e1
SP
26122 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26123 variable name from declaration.
26124
5d7dd1ca
L
261252013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26126
26127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26128 Initialize COMMON_CPUID_INDEX_7 element.
26129 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26130 (CPUID_RTM): Likewise.
26131 (HAS_RTM): Likewise.
26132 (COMMON_CPUID_INDEX_7): New enum.
26133
2f5f40f4
AS
261342013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26135
26136 [BZ #14981]
26137 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26138 size is zero, record memory as freed.
26139
4056f4a0
AJ
261402013-01-03 Andreas Jaeger <aj@suse.de>
26141
26142 * po/ia.po: Add new Interlingua translation.
26143
ab15736f 261442012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26145
26146 * locale/programs/localedef.c: Fix description of '--posix' flag.
26147
568035b7
JM
261482013-01-02 Joseph Myers <joseph@codesourcery.com>
26149
e6898b8d
JM
26150 * NEWS: Update dates in second copyright notice.
26151 * README: Update copyright dates in example.
26152 * manual/libc.texinfo: Update copyright dates.
26153 * scripts/test-installation.pl: Update copyright date in --version
26154 output.
26155
0e2f9562
JM
26156 * hurd/ctty-input.c: Fix copyright notice formatting.
26157 * hurd/ctty-output.c: Likewise.
26158 * hurd/dtable.c: Likewise.
26159 * hurd/hurd-raise.c: Likewise.
26160 * hurd/hurdprio.c: Likewise.
26161 * hurd/msgportdemux.c: Likewise.
26162 * misc/sys/file.h: Likewise.
26163 * misc/sys/ioctl.h: Likewise.
26164 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26165 * sysdeps/mach/hurd/chdir.c: Likewise.
26166 * sysdeps/mach/hurd/fchdir.c: Likewise.
26167 * sysdeps/mach/hurd/rename.c: Likewise.
26168 * sysdeps/mach/hurd/rmdir.c: Likewise.
26169 * sysdeps/mach/hurd/seekdir.c: Likewise.
26170 * sysdeps/mach/hurd/setsid.c: Likewise.
26171 * sysdeps/posix/wait3.c: Likewise.
26172
568035b7
JM
26173 * All files with FSF copyright notices: Update copyright dates
26174 using scripts/update-copyrights.
26175 * intl/plural.c: Regenerated.
26176 * locale/programs/charmap-kw.h: Likewise.
26177 * locale/programs/locfile-kw.h: Likewise.
26178
da08f647
SP
261792013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26180
0f5477af
SP
26181 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26182 four values.
26183
44e0d4c2
SP
26184 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26185 calculation loop and add branch prediction.
26186
4d55b4e5
SP
26187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26188 check access beyond bounds of m1np.
26189
da08f647
SP
26190 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26191 MPTWO.
26192 (__inv): Remove local variable MPTWO to use the global
26193 constant.
26194 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26195 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26196 variable MPTWO.
26197 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26198 MP3HALFS static const.
26199
8e051029
DM
262002013-01-01 David S. Miller <davem@davemloft.net>
26201
26202 * po/ca.po: Update from translation team.
26203
f4cf5f2d
JM
262042013-01-01 Joseph Myers <joseph@codesourcery.com>
26205
26206 * scripts/update-copyrights: New file.
26207 * Makeconfig: Reformat copyright notice.
26208 * ctype/ctype.h: Likewise.
26209 * debug/swprintf_chk.c: Likewise.
26210 * elf/dl-cache.c: Likewise.
26211 * elf/dl-debug.c: Likewise.
26212 * elf/dl-object.c: Likewise.
26213 * grp/initgroups.c: Likewise.
26214 * hurd/Makefile: Likewise.
26215 * hurd/hurd/signal.h: Likewise.
26216 * hurd/hurdfault.c: Likewise.
26217 * hurd/hurdioctl.c: Likewise.
26218 * hurd/hurdlookup.c: Likewise.
26219 * hurd/intr-msg.c: Likewise.
26220 * iconv/gconv_open.c: Likewise.
26221 * libio/swprintf.c: Likewise.
26222 * locale/lc-ctype.c: Likewise.
26223 * locale/nl_langinfo.c: Likewise.
26224 * mach/Machrules: Likewise.
26225 * mach/Makefile: Likewise.
26226 * malloc/obstack.h: Likewise.
26227 * manual/Makefile: Likewise.
26228 * manual/tsort.awk: Likewise.
26229 * misc/bits/stab.def: Likewise.
26230 * nis/nis_print_group_entry.c: Likewise.
26231 * nis/nis_table.c: Likewise.
26232 * nis/nss_compat/compat-pwd.c: Likewise.
26233 * nis/nss_compat/compat-spwd.c: Likewise.
26234 * po/Makefile: Likewise.
26235 * posix/fnmatch.c: Likewise.
26236 * posix/regex.h: Likewise.
26237 * resolv/Makefile: Likewise.
26238 * resolv/nss_dns/dns-network.c: Likewise.
26239 * resolv/res_hconf.c: Likewise.
26240 * scripts/gen-sorted.awk: Likewise.
26241 * soft-fp/soft-fp.h: Likewise.
26242 * stdio-common/printf.h: Likewise.
26243 * stdlib/monetary.h: Likewise.
26244 * stdlib/random.c: Likewise.
26245 * stdlib/random_r.c: Likewise.
26246 * sysdeps/generic/Makefile: Likewise.
26247 * sysdeps/gnu/Makefile: Likewise.
26248 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26255 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26256 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26257 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26258 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26259 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26263 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26264 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26265 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26266 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26267 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26268 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26269 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26270 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26276 * sysdeps/mach/hurd/errnos.awk: Likewise.
26277 * sysdeps/mach/hurd/fork.c: Likewise.
26278 * sysdeps/mach/hurd/getcwd.c: Likewise.
26279 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26280 * sysdeps/mach/hurd/mmap.c: Likewise.
26281 * sysdeps/mach/hurd/utimes.c: Likewise.
26282 * sysdeps/mach/hurd/xmknod.c: Likewise.
26283 * sysdeps/posix/profil.c: Likewise.
26284 * sysdeps/posix/readdir_r.c: Likewise.
26285 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26286 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26287 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26288 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26290 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26291 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26292 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26294 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26295 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26296 * sysdeps/pthread/lio_listio.c: Likewise.
26297 * sysdeps/sparc/dl-procinfo.h: Likewise.
26298 * sysdeps/unix/i386/sysdep.S: Likewise.
26299 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26300 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26301 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26302 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26304 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26305 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26306 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26307 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26308 * sysdeps/wordsize-32/divdi3.c: Likewise.
26309 * time/sys/time.h: Likewise.
26310 * wcsmbs/Makefile: Likewise.
26311
0549fbba
DM
263122013-01-01 David S. Miller <davem@davemloft.net>
26313
a141f1a7
DM
26314 * po/fr.po: Update from translation team.
26315
0549fbba
DM
26316 * catgets/gencat.c: Update copyright year.
26317 * csu/version.c: Likewise.
26318 * debug/catchsegv.sh: Likewise.
26319 * debug/pcprofiledump.c: Likewise.
26320 * debug/xtrace.sh: Likewise.
26321 * elf/ldconfig.c: Likewise.
26322 * elf/ldd.bash.in: Likewise.
26323 * elf/pldd.c: Likewise.
26324 * elf/sotruss.ksh: Likewise.
26325 * elf/sprof.c: Likewise.
26326 * iconv/iconv_prog.c: Likewise.
26327 * iconv/iconvconfig.c: Likewise.
26328 * locale/programs/locale.c: Likewise.
26329 * locale/programs/localedef.c: Likewise.
26330 * login/programs/pt_chown.c: Likewise.
26331 * malloc/memusage.sh: Likewise.
26332 * malloc/memusagestat.c: Likewise.
26333 * malloc/mtrace.pl: Likewise.
26334 * nscd/nscd.c: Likewise.
26335 * nss/getent.c: Likewise.
26336 * nss/makedb.c: Likewise.
26337 * posix/getconf.c: Likewise.
26338
18ea052c
SP
263392012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26340
26341 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26342 numbers.
26343
9c89fca6
MF
263442012-12-30 Mike Frysinger <vapier@gentoo.org>
26345
26346 * math/bits/mathcalls.h (modf): Use __nonnull.
26347
085ec079
SP
263482012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26349
26350 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26351 (split): Use macro CN instead of the bare value.
26352 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26353 could be used.
26354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26355 instead of the bare value.
26356 (power1): Likewise.
26357
6d9f97e1
SP
263582012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26359
d63f73be
SP
26360 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26361 __ATAN_TWOM.
26362 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26363
6d9f97e1
SP
26364 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26365 their values.
26366 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26367 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26368 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26369 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26370
4c4febf5
AJ
263712012-12-28 Andreas Jaeger <aj@suse.de>
26372
af5843ef
AJ
26373 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26374 values are from Linux 3.7.
26375
4c4febf5
AJ
26376 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26377 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26378
99136f82
SP
263792012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26380
2f216c3c 26381 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26382 TRUE case.
26383
99136f82
SP
26384 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26385 (norm): Likewise.
26386 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26387 variables with preprocessor constants.
26388 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26389 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26390 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26391
7fffbdff
BH
263922012-12-27 Bruno Haible <bruno@clisp.org>
26393
26394 [BZ #14317]
26395 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26396 only if needed.
26397
b76eb5f0
SP
263982012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26399
31a7fe5c
SP
26400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26401 and use variable directly.
26402 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26403
b76eb5f0
SP
26404 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26405 MPONE.
26406 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26407 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26408 variable MPONE.
26409 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26411 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26412 include directive. Remove local variable MPONE.
26413 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26414 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26415 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26416
2c8bfe7d
DM
264172012-12-25 David S. Miller <davem@davemloft.net>
26418
26419 * version.h (RELEASE): Set to "development".
26420 (VERSION): Set to "2.17.90".
26421 * NEWS: Add 2.18 section.
26422
147d03b0
DM
264232012-12-21 David S. Miller <davem@davemloft.net>
26424
26425 * po/hr.po: Update from translation team.
26426
a8ebb2b9
AK
264272012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26428
26429 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26430
95b4f1b6
SE
264312012-12-19 Steve Ellcey <sellcey@mips.com>
26432
b2d94007 26433 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26434
cedb2a90
MS
264352012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26436
26437 * manual/contrib.texi (Contributors): Spelling correction.
26438
bbf527d6
DM
264392012-12-15 David S. Miller <davem@davemloft.net>
26440
26441 * po/ru.po: Update from translation team.
26442
bc38c906
DM
264432012-12-13 David S. Miller <davem@davemloft.net>
26444
85429b1a
DM
26445 * NEWS: Mention IFUNC testsuite enhancements.
26446
d283e353
DM
26447 * po/pl.po: Update from translation team.
26448 * po/bg.po: Likewise.
26449
bc38c906
DM
26450 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26451 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26452
a181b0d7
DM
264532012-12-11 David S. Miller <davem@davemloft.net>
26454
4641d57e
DM
26455 * po/sv.po: Update from translation team.
26456
f7bc6495
DM
26457 * po/vi.po: Update from translation team.
26458
6fc9048f
DM
26459 * po/cs.po: Update from translation team.
26460
a181b0d7
DM
26461 * po/de.po: Update from translation team.
26462 * po/eo.po: Likewise.
26463 * po/nl.po: Likewise.
26464
f70bfe80
SP
264652012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26466
3c8b4190
SP
26467 [BZ #14246]
26468 * manual/argp.texi (Argp Helper Functions): Move node to follow
26469 Argp Parsing State.
26470
f70bfe80
SP
26471 [BZ #14872]
26472 * manual/conf.texi (Limits on File System Capacity): Mention if
26473 terminating null is included in the max size.
26474
188f0adf
AJ
264752012-12-10 Andreas Jaeger <aj@suse.de>
26476
26477 * po/cs.po: Update from translation team.
26478
56e7d3ad
SP
264792012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26480
26481 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26482 void pointer and cast to uintptr_t.
26483 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26484 path.
26485 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26486 * sysdeps/s390/s390-64/memset.S: Likewise.
26487
76f2d2ea 264882012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26489
26490 [BZ #14833]
26491 * menual/message.texi (Message Translation): Fix typos.
26492 (Helper programs for gettext): Likewise.
26493
67cbf9a2
AS
264942012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26495
26496 [BZ #14898]
26497 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26498 Change to -1.
26499
682d0e9a
DM
265002012-12-07 David S. Miller <davem@davemloft.net>
26501
26502 * po/libc.pot: Update.
26503
573cd484
RH
265042012-12-07 Richard Henderson <rth@redhat.com>
26505
7e9da188 26506 [BZ #10114]
573cd484
RH
26507 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26508 normal/normal case to before the switch.
26509 (_FP_DIV): Likewise.
26510
e933a943
MF
265112012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26512 Mike Frysinger <vapier@gentoo.org>
26513
26514 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26515 check for __NR_fadvise64_64.
26516
82123268
CM
265172012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26518
26519 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26520 0, not just to plain "0" as a statement.
26521 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26522 with cw.
26523
d9814526
JM
265242012-12-06 Joseph Myers <joseph@codesourcery.com>
26525
26526 * NEWS: Use sourceware.org in Bugzilla URL.
26527
7728c574
SP
265282012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26529
f16946dd
SP
26530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26531 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26532
5704bbcb
SP
26533 * stdio-common/tst-put-error.c (do_test): Add newline to the
26534 padded test to ensure flush.
26535
17aa0516
JL
265362012-12-05 Jeff Law <law@redhat.com>
26537
26538 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26539
363313b5
JM
265402012-12-05 Joseph Myers <joseph@codesourcery.com>
26541
effbd42a
JM
26542 * README: Don't refer to ports add-on as distributed separately.
26543 Mention AArch64 in list of systems supported in the ports add-on.
26544
87600365
JM
26545 * LICENSES: Add more non-FSF copyright and license notices.
26546
a0d7066a
JM
26547 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26548 ((unused)).
26549
66ca5a5b
JM
26550 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26551
363313b5
JM
26552 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26553 10000 as width of padded output.
26554
b37984ad
JM
265552012-12-04 Joseph Myers <joseph@codesourcery.com>
26556
9003570a
JM
26557 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26558
b37984ad
JM
26559 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26560 variable LX with __attribute__ ((unused)).
26561 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26562 Likewise.
26563 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26564 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26565 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26566 with __attribute__ ((unused)).
26567
c8df52ec
DM
265682012-12-04 David S. Miller <davem@abraco.davemloft.net>
26569
26570 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26571
b3b099af
JM
265722012-12-04 Joseph Myers <joseph@codesourcery.com>
26573
c33aa6e3
JM
26574 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26575 (CFLAGS-nldbl-acos.c): New variable.
26576 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26577 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26578 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26579 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26580 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26581 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26582 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26583 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26584 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26585 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26586 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26587 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26588 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26589 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26590 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26591 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26592 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26593 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26594 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26595 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26596 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26597 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26598 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26599 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26600 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26601 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26602 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26603 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26604 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26605 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26606 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26607 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26608 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26609 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26610 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26611 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26612 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26613 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26614 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26615 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26616 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26617 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26618 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26619 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26620 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26621 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26622 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26623 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26624 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26625 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26626 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26627 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26628 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26629 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26630 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26631 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26632 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26633 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26634 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26635 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26636 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26637 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26638 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26639 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26640 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26641 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26642 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26643 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26644 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26645 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26646 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26647 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26648 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26649 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26650 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26651 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26652 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26653 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26654 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26655 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26656 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26657 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26658 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26659 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26660 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26661 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26662 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26663 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26664 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26665 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26666 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26667 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26668 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26669 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26670 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26671 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26672 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26673
20f0018d
JM
26674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26675 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26676
b3b099af
JM
26677 [BZ #14914]
26678 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26679 whole low double instead of just low 47 bits when splitting values
26680 into two parts.
26681
029264d1
AM
266822012-12-03 Allan McRae <allan@archlinux.org>
26683
26684 * manual/stdio.texi (Predefined Printf Handlers): Remove
26685 @hsep and @vsep usage.
26686
c9d6789e
MF
266872012-12-03 Mike Frysinger <vapier@gentoo.org>
26688
26689 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26690 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26691
4b7634a5
JL
266922012-12-03 Jeff Law <law@redhat.com>
26693
26694 * time/sys/time.h (settimeofday): Do not mark TV argument
26695 as __nonnull.
26696
eb6cbd24
MF
266972012-12-01 Mike Frysinger <vapier@gentoo.org>
26698
26699 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26700 when currently writing and seek to current position when not.
26701 * libio/Makefile (tests): Remove bug-fclose1.
26702 * libio/bug-fclose1.c: Delete.
26703
f638872a
JM
267042012-12-01 Joseph Myers <joseph@codesourcery.com>
26705
26706 * manual/arith.texi (feenableexcept): Fix typo.
26707 (fedisableexcept): Likewise.
26708
48085d14
RM
267092012-11-30 Roland McGrath <roland@hack.frob.com>
26710
26711 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26712 second, differently-typed declaration, rather than a cast.
26713
1a538b9f
SP
267142012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26715
26716 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26717 * include/rpc/svc.h: ... here.
26718
d07f2ff1 267192012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26720
26721 [BZ #13013]
26722 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26723 depending n and resplen2 to catch cases where answer
26724 equals answerp2.
26725
c93ec1f0
CD
267262012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26727
26728 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26729 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26730
37db69de
MF
267312012-11-29 Mike Frysinger <vapier@gentoo.org>
26732
26733 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26734
e10c4e4f
RM
267352012-11-29 Roland McGrath <roland@hack.frob.com>
26736
26737 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26738
2af1b328
JL
267392012-11-28 Jeff Law <law@redhat.com>
26740
26741 [BZ #13761]
26742 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26743 dataset_temporary. Track alloca usage into alloca_used.
26744 If dataset is large allocate and release it via malloc/free.
26745
111db5b1
FW
267462012-06-04 Florian Weimer <fweimer@redhat.com>
26747
f06cc227 26748 [BZ #14197]
111db5b1
FW
26749 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26750
dd694abd
DM
267512012-11-28 David S. Miller <davem@davemloft.net>
26752
26753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26754
9984dd01
JM
267552012-11-28 Joseph Myers <joseph@codesourcery.com>
26756
26757 [BZ #14803]
26758 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26759 of pi/2 rounded to nearest to 64 bits.
26760 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26761 nearest to 64 bits.
26762 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26763 bits.
26764
14bc93a9
JL
267652012-11-28 Jeff Law <law@redhat.com>
26766 Martin Osvald <mosvald@redhat.com>
26767
26768 [BZ #14889]
26769 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26770 * sunrpc/svc.c: Include time.h.
26771 (__svc_accept_failed): New function.
26772 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26773 any reason other than EINTR, call __svc_accept_failed.
26774 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26775 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26776
e3c6aa3a
AS
267772012-11-28 Andreas Schwab <schwab@suse.de>
26778
26779 * scripts/abilist.awk: Also handle indirect functions in .opd
26780 section.
26781
1bead169
JM
267822012-11-28 Joseph Myers <joseph@codesourcery.com>
26783
26784 [BZ #13881]
26785 * sysdeps/x86/fpu/powl_helper.c: New file.
26786 * sysdeps/x86/fpu/Makefile: Likewise.
26787 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26788 (p3): New object.
26789 (__ieee754_powl): Use __powl_helper for finite arguments except
26790 integer exponents below 8.
26791 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26792 (p3): New object.
26793 (__ieee754_powl): Use __powl_helper for finite arguments except
26794 integer exponents below 8.
26795 * math/libm-test.inc (pow_test): Add more tests and enable some
26796 previously disabled tests.
26797 * sysdeps/i386/fpu/libm-test-ulps: Update.
26798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26799
0817d63d
SP
268002012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26801 Carlos O'Donell <carlos_odonell@mentor.com>
26802
26803 * nss/makedb.c (is_prime): Assert that input is odd and greater
26804 than 4. Note that fact in a comment too.
26805 (next_prime): Add 4 to input.
26806
de2fd463
SP
268072012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26808
26809 [BZ #11741]
26810 * libio/Makefile (tests): Add test case tst-fwrite-error.
26811 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26812 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26813 * libio/tst-fwrite-error.c: New test case.
26814
c515fb51
L
268152012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26816
26817 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26818 before casting to void *.
26819 * include/libc-internal.h (__pointer_type): New macro.
26820 (__integer_if_pointer_type_sub): Likewise.
26821 (__integer_if_pointer_type): Likewise.
26822 (cast_to_integer): Likewise.
26823 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26824 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26825 before casting to atomic64_t.
26826 (atomic_exchange_acq): Likewise.
26827 (__arch_exchange_and_add_body): Likewise.
26828 (__arch_add_body): Likewise.
26829 (atomic_add_negative): Likewise.
26830 (atomic_add_zero): Likewise.
26831
4cf77aa9
JM
268322012-11-26 Joseph Myers <joseph@codesourcery.com>
26833
26834 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26835 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26836 (add_fdes): Likewise.
26837 (linear_search_fdes): Likewise.
26838 (binary_search_unencoded_fdes): Likewise.
26839
d260b3b4
AS
268402012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26841
26842 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26843
67060746
AC
268442012-11-24 Adam Conrad <adconrad@0c3.net>
26845
26846 * configure.in: Autodetect C++ header directories.
26847 * configure: Regenerated.
26848
800938a1
MF
268492012-11-23 Mike Frysinger <vapier@gentoo.org>
26850
26851 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26852
4e6e34e6
AS
268532012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26854
26855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26856
7c7feb47
JM
268572012-11-22 Joseph Myers <joseph@codesourcery.com>
26858
7184dcdf
JM
26859 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26860 LDBL_MANT_DIG == 106]: Disable some tests.
26861 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26862 Likewise.
26863 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26864 Likewise.
26865
0a42601f
JM
26866 [BZ #14871]
26867 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26868 input for small inputs. Return +/- pi/2 for large inputs.
26869 * math/libm-test.inc (atan_test): Add more tests.
26870
79c9b9fe
JM
26871 * sysdeps/generic/unwind-dw2-fde-glibc.c
26872 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26873 __attribute__ ((unused)).
26874
c60d3bf2
JM
26875 [BZ #14645]
26876 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26877 x * y if x and y are nonzero and z is zero.
26878
ef1e0867
JM
26879 [BZ #14811]
26880 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26881 nonzero exponents with absolute value below 0x1p-117 to +/-
26882 0x1p-117.
26883
1468ded3
JM
26884 [BZ #14869]
26885 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26886 up arguments below 2**-450, not just those below 2**-500.
26887 * math/libm-test.inc (hypot_test): Add another test.
26888
8e27e3cc
JM
26889 [BZ #14868]
26890 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26891 Return a+b for ratio over 2**120, not 2**60.
26892 * math/libm-test.inc (hypot_test): Add another test.
26893
c9c0279b
JM
26894 * math/libm-test.inc (clog_test): Use
26895 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26896 (clog10_test): Likewise.
26897
7c7feb47
JM
26898 [BZ #6778]
26899 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26900
fff1530e
AS
269012012-11-22 Andreas Schwab <schwab@suse.de>
26902
26903 * sysdeps/i386/fpu/libm-test-ulps: Update.
26904
94558d30
PT
269052012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26906
26907 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26908 printf output with newline.
26909
7e1be741
L
269102012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26911
6bfea974
L
26912 [BZ #14865]
26913 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26914 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26915 -z nodlopen, -z initfirst and -z execstack support.
26916 * configure: Regenerated.
26917
7e1be741
L
26918 * elf/elf.h (DF_1_NODIRECT): New macro.
26919 (DF_1_IGNMULDEF): Likewise.
26920 (DF_1_NOKSYMS): Likewise.
26921 (DF_1_NOHDR): Likewise.
26922 (DF_1_EDITED): Likewise.
26923 (DF_1_NORELOC): Likewise.
26924 (DF_1_SYMINTPOSE): Likewise.
26925 (DF_1_GLOBAUDIT): Likewise.
26926 (DF_1_SINGLETON): Likewise.
26927 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26928 DT_1_SUPPORTED_MASK bits.
26929 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26930
105ce2ce
CD
269312012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26932
26933 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26934
123be9de
TS
269352012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26936
d072f3f7
TS
26937 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26938 macro.
26939
123be9de
TS
26940 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26941 (sendmmsg): Move declarations...
26942 * socket/sys/socket.h: ... here.
26943 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26944 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26945 include it from...
26946 * socket/recvmmsg.c: ... this new file.
26947 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26948 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26949 definition of __sendmmsg hidden.
26950 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26951 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26952 Move ENOSYS stub into and include it from...
26953 * socket/sendmmsg.c: ... this new file.
26954 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26955 (sysdep_routines): Move recvmmsg and sendmmsg...
26956 * socket/Makefile (routines): ... here.
26957 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26958 (GLIBC_PRIVATE): Add __sendmmsg.
26959 * include/sys/socket.h (__sendmmsg): Add declarations.
26960 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26961 sendmmsg.
26962
cf9a5d18
JM
269632012-11-20 Joseph Myers <joseph@codesourcery.com>
26964
26965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26966 variable I1 with __attribute__ ((unused)).
26967 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26968
ecd4caf9
JM
269692012-11-19 Joseph Myers <joseph@codesourcery.com>
26970
be14d48f
JM
26971 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26972 DUMMY variables with __attribute__ ((unused)).
26973
ecd4caf9
JM
26974 * bits/byteswap.h: Include <bits/types.h>.
26975 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26976
986cab95
PT
269772012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26978
26979 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26980 string_t. Do not manually set errno.
26981 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26982 length with __strnlen. Make sure to both set errno and return it on
26983 failure.
26984
6d33cc9d
DM
269852012-11-19 David S. Miller <davem@davemloft.net>
26986
26987 With help from Joseph Myers.
26988 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26989 very large arguments properly.
26990 * math/libm-test.inc (atan_test): New tests.
26991 (atan2_test): New tests.
26992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26994
ee663277
JM
269952012-11-19 Joseph Myers <joseph@codesourcery.com>
26996
877f2d8e
JM
26997 [BZ #14856]
26998 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26999 Define to 3.
27000
116fc08a
JM
27001 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27002 [POSIX] (EADDRNOTAVAIL): Likewise.
27003 [POSIX] (EAFNOSUPPORT): Likewise.
27004 [POSIX] (EALREADY): Likewise.
27005 [POSIX] (ECONNABORTED): Likewise.
27006 [POSIX] (ECONNREFUSED): Likewise.
27007 [POSIX] (ECONNRESET): Likewise.
27008 [POSIX] (EDESTADDRREQ): Likewise.
27009 [POSIX] (EDQUOT): Likewise.
27010 [POSIX] (EHOSTUNREACH): Likewise.
27011 [POSIX] (EIDRM): Likewise.
27012 [POSIX] (EISCONN): Likewise.
27013 [POSIX] (ELOOP): Likewise.
27014 [POSIX] (EMULTIHOP): Likewise.
27015 [POSIX] (ENETDOWN): Likewise.
27016 [POSIX] (ENETUNREACH): Likewise.
27017 [POSIX] (ENOBUFS): Likewise.
27018 [POSIX] (ENODATA): Likewise.
27019 [POSIX] (ENOLINK): Likewise.
27020 [POSIX] (ENOMSG): Likewise.
27021 [POSIX] (ENOPROTOOPT): Likewise.
27022 [POSIX] (ENOSR): Likewise.
27023 [POSIX] (ENOSTR): Likewise.
27024 [POSIX] (ENOTCONN): Likewise.
27025 [POSIX] (ENOTSOCK): Likewise.
27026 [POSIX] (EOPNOTSUPP): Likewise.
27027 [POSIX] (EOVERFLOW): Likewise.
27028 [POSIX] (EPROTO): Likewise.
27029 [POSIX] (EPROTONOSUPPORT): Likewise.
27030 [POSIX] (EPROTOTYPE): Likewise.
27031 [POSIX] (ESTALE): Likewise.
27032 [POSIX] (ETIME): Likewise.
27033 [POSIX] (ETXTBSY): Likewise.
27034 [POSIX] (EWOULDBLOCK): Likewise.
27035 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27036 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27037 [POSIX] (SEEK_CUR): Likewise.
27038 [POSIX] (SEEK_END): Likewise.
27039 [POSIX || UNIX98] (mode_t): Do not require.
27040 [POSIX] (off_t): Likewise.
27041 [POSIX] (pid_t): Likewise.
27042 [POSIX] (sys/stat.h): Do not allow header.
27043 [POSIX] (unistd.h): Likewise.
27044 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27045 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27046 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27047 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27048 require.
27049 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27050 sigevent): Specify elements.
27051 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27052 entry.
27053 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27054 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27055
a483863f
JM
27056 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27057 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27058 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27059 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27060 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27061 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27062 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27063 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27064 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27065 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27066 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27067 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27068 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27069 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27070 Likewise.
27071 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27072 Likewise.
27073 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27074 Likewise.
27075 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27076 Likewise.
27077 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27078 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27079 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27080 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27081 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27082 Specify lower bound on value.
27083 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27084 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27085 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27086 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27087 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27088 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27089 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27090 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27091 value.
27092 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27093 as optional.
27094 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27095 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27096 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27097 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27098 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27099 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27100 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27101 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27102 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27103 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27104 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27105 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27106 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27107 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27108 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27109 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27110 entry.
27111 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27112 optional.
27113 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27114 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27115 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27116 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27117 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27118 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27119 Likewise.
27120 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27121 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27122 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27123 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27124 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27125 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27126 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27127 as optional.
27128 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27129 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27130 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27131 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27132 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27133 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27134 specify as optional.
27135 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27136 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27137 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27138 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27139 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27140 [XPG3] (NL_LANGMAX): Likewise.
27141 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27142 [POSIX || XPG3] (NL_NMAX): Likewise.
27143 [POSIX || XPG3] (NL_SETMAX): Likewise.
27144 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27145 [XPG3] (NZERO): Likewise.
27146 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27147 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27148 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27149 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27150 (REG_ERANGE): Expect.
27151 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27152 optional-constant.
27153 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27154 Use (void) in prototype.
27155 [POSIX] (*_t): Allow.
27156 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27157 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27158 (WRDE_BADVAL): Expect.
27159
5ba924e3
JM
27160 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27161 expect.
27162 [XPG3 || XPG4] (O_RSYNC): Likewise.
27163 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27164 Likewise.
27165 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27166 [XPG3 || XPG4] (sigqueue): Likewise.
27167 [XPG3 || XPG4] (sigtimedwait): Likewise.
27168 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27169 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27170 [XPG3 || XPG4] (vsnprintf): Likewise.
27171 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27172 Likewise.
27173 [XPG3 || XPG4] (blksize_t): Likewise.
27174 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27175 Likewise.
27176 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27177 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27178 [XPG3 || XPG4] (struct itimerspec): Likewise.
27179 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27180 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27181 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27182 [XPG3 || XPG4] (clockid_t): Likewise.
27183 [XPG3 || XPG4] (timer_t): Likewise.
27184 [XPG3 || XPG4] (clock_getres): Likewise.
27185 [XPG3 || XPG4] (clock_gettime): Likewise.
27186 [XPG3 || XPG4] (clock_settime): Likewise.
27187 [XPG3 || XPG4] (nanosleep): Likewise.
27188 [XPG3 || XPG4] (timer_create): Likewise.
27189 [XPG3 || XPG4] (timer_delete): Likewise.
27190 [XPG3 || XPG4] (timer_gettime): Likewise.
27191 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27192 [XPG3 || XPG4] (timer_settime): Likewise.
27193 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27194 [XPG3 || XPG4] (getlogin_r): Likewise.
27195 [XPG3 || XPG4] (pread): Likewise.
27196 [XPG3 || XPG4] (pthread_atfork): Likewise.
27197 [XPG3 || XPG4] (pwrite): Likewise.
27198
ee663277
JM
27199 [BZ #14835]
27200 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27201 <bits/siginfo.h>.
27202
942caa16
PT
272032012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27204
e19af380
PT
27205 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27206 finalizing MALLSTREAM.
27207
942caa16
PT
27208 * sysdeps/mach/hurd/syncfs.c: New file.
27209
cfde9b46
SP
272102012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27211
27212 [BZ #14719]
27213 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27214 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27215 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27216 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27217 (_nss_dns_gethostbyname4_r): Likewise.
27218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27219 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27220
f6da27e5
PH
272212012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27222
27223 [BZ #13763]
27224 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27225
6665d4a2
SM
272262012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27227
1f51ee92
SM
27228 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27229 * elf/cache.c (print_entry): Print ",AArch64" for
27230 FLAG_AARCH64_LIB64
27231
6665d4a2
SM
27232 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27233 * elf/cache.c (print_entry): Print ",hard-float" for
27234 FLAG_ARM_LIBHF.
27235
05b227bd
DM
272362012-11-18 David S. Miller <davem@davemloft.net>
27237
27238 With help from Joseph Myers.
27239 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27240 cutoff to 2**-13.
27241 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27242 cutoff to 2**-25.
27243 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27244 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27245 small.
27246 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27247 * math/libm-test.inc (y0_test): New tests.
27248 (y1_test): New tests.
27249 * sysdeps/i386/fpu/libm-test-ulps: Update.
27250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27252
786b0b67
AS
272532012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27254
27255 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27256 64-bit targets.
27257 * configure: Regenerated.
27258
8e18b86d
DM
272592012-11-17 David S. Miller <davem@davemloft.net>
27260
27261 [BZ #14811]
27262 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27263 nonzero exponents with absolute value below 0x1p-128 to +/-
27264 0x1p-128.
27265
531f1ae0
JM
272662012-11-17 Joseph Myers <joseph@codesourcery.com>
27267
12df29e2
JM
27268 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27269
150dc1a0
JM
27270 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27271
531f1ae0
JM
27272 * posix/getconf-speclist.c: New file.
27273 * posix/posix-envs.def: Likewise.
27274 * posix/confstr.c (START_ENV_GROUP): New macro.
27275 (END_ENV_GROUP): Likewise.
27276 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27277 (KNOWN_PRESENT_ENV_STRING): Likewise.
27278 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27279 (UNKNOWN_ENVIRONMENT): Likewise.
27280 (confstr): Include posix-envs.def instead of handling
27281 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27282 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27283 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27284 (END_ENV_GROUP): Likewise.
27285 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27286 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27287 (UNKNOWN_ENVIRONMENT): Likewise.
27288 (__sysconf): Include posix-envs.def instead of handling associated
27289 cases directly here.
27290 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27291 preprocessing getconf-speclist.c rather than running getconf or
27292 generating empty file.
27293
a93f9cbc
PT
272942012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27295
27296 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27297
d64d9f87
AL
272982012-11-16 Andrej Lajovic <natrij@gmail.com>
27299
27300 [BZ #14672]
27301 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27302
447885eb
DM
273032012-11-16 David S. Miller <davem@davemloft.net>
27304
27305 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27306 smaller than LDBL_EPSILON/2.0L, just return xm1.
27307
bcbf9830
L
273082012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27309
27310 * elf/tst-array1.c (init): Set constructor priority to 1000.
27311 (fini): Set destructor priority to 1000.
27312 * elf/tst-array2dep.c: Likewise.
27313
2b766585
SP
273142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27315
27316 [BZ #11741]
27317 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27318 (_IO_new_file_xsputn): Also return EOF if none of the input
27319 data was written when overflow failed.
27320 * libio/iopadn.c (_IO_padn): Likewise.
27321 * libio/iowpadn.c (_IO_wpadn): Likewise.
27322 * stdio-common/tst-put-error.c: Add copyright notice.
27323 (do_test): Add case for printing padded string.
27324 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27325 _IO_padn returned error.
27326 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27327 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27328 return EOF.
27329
b1848fde
SP
273302012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27331
27332 * libio/libioP.h: Add comment note that the references to C++
27333 bits are now obsolete.
27334
2fd89785
MS
273352012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27336
27337 * math/libm-test.inc (check_complex): Use asprintf.
27338
e3ea5409
JM
273392012-11-14 Joseph Myers <joseph@codesourcery.com>
27340
27341 * debug/pcprofiledump.c (print_version): Update copyright year.
27342 * malloc/memusagestat.c (print_version): Likewise.
27343
2e64d265
L
273442012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27345
27346 [BZ #14831]
27347 * elf/Makefile (tests): Add tst-audit8.
27348 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27349 ($(objpfx)tst-audit8.out): New target.
27350 (tst-audit8-ENV): New variable.
27351 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27352 audit if l_reloc_result is NULL.
27353 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27354 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27355 * elf/tst-audit8.c: New file.
27356
c485e4d2
MS
273572012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27358
27359 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27360 * misc/Makefile (CFLAGS-select.c): Define.
27361 * posix/Makefile (CFLAGS-pause.c): Define.
27362
3a0d900a
DM
273632012-11-13 David S. Miller <davem@davemloft.net>
27364
27365 * crypt/Makefile: Move test targets after toplevel Rules
27366 inclusion. Grab any necessary sysdep routines when linking.
27367 * crypt/md5.c (md5_process_block): Remove define, we will always
27368 name it __md5_process_block.
27369 (md5_finish_ctx): Update md5_process_block call.
27370 (md5_stream): Likewise.
27371 (md5_process_bytes): Likewise.
27372 (md5_process_block): Rename to __md5_process_block and move to ...
27373 * crypt/md5-block.c: ... here.
27374 * crypt/sha256.c (sha256_process_block): Move to ...
27375 * crypt/sha256-block.c: ... here.
27376 * crypt/sha512.c (sha512_process_block): Move to ...
27377 * crypt/sha512-block.c: ... here.
27378 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27379 path.
27380 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27381 * sysdeps/sparc/sparc64/multiarch/Makefile
27382 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27383 crypt subdir.
27384 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27385 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27386 multiarch changes.
27387 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27388 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27389 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27390 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27391 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27392 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27393 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27394 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27395 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27396 file.
27397 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27398 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27399 file.
27400 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27401
8ca89318
JM
274022012-11-13 Joseph Myers <joseph@codesourcery.com>
27403
e27d476a
JM
27404 * timezone/tzselect.ksh: Update from tzcode git revision
27405 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27406 * timezone/zdump.c: Likewise.
27407 * timezone/zic.c: Likewise.
27408 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27409 in TZVERSION setting, not $(PKGVERSION).
27410 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27411 REPORT_BUGS_TO settings.
27412
8ca89318
JM
27413 [BZ #14838]
27414 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27415 macro.
27416
47594329
MS
274172012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27418
27419 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27420 detection to immediately after _FP_ROUND().
27421 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27422 bits are 0.
27423
640ac3f1
DM
274242012-11-11 David S. Miller <davem@davemloft.net>
27425
27426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27427 inttypes.h
27428 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27429 __close rather than their public counterparts.
27430
3d2577bb
JM
274312012-11-10 Joseph Myers <joseph@codesourcery.com>
27432
27433 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27434 file.
27435 [UNIX98] (sem_timedwait): Do not expect.
27436 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27437 [XPG4 || UNIX98] (sockatmark): Do not expect.
27438 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27439 (clock_getcpuclockid): Do not expect.
27440 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27441 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27442 Do not expect.
27443 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27444 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27445 [UNIX98] (vwscanf): Likewise.
27446 [UNIX98] (vswscanf): Likewise.
27447
fb1ae1ee
JM
274482012-11-09 Joseph Myers <joseph@codesourcery.com>
27449
9ec6f8bd
JM
27450 * timezone/version.h: Remove file.
27451 * timezone/README: Do not refer to version.h.
27452 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27453 $(objpfx)version.h.
27454 ($(objpfx)zdump.o): Likewise.
c3f81911 27455 ($(objpfx)version.h): New target.
9ec6f8bd 27456
0aa8f8a1
JM
27457 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27458 2012i.
27459 * timezone/README: Don't mention modification to tzselect.ksh.
27460 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27461 work on unmodified tzselect.ksh. Substitute version numbers in
27462 tzselect.ksh.
27463
4e87147f
JM
27464 * Makefile (format-me): Remove.
27465 (INSTALL): Adjust indentation. Use commands directly instead of
27466 using $(format-me).
27467
8b748aed
JM
27468 * aclocal.m4 (ACX_PKGVERSION): New macro.
27469 (ACX_BUGURL): Likewise.
27470 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27471 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27472 (REPORT_BUGS_TO): Likewise.
27473 * configure: Regenerated.
27474 * config.h.in (PKGVERSION): New macro.
27475 (REPORT_BUGS_TO): Likewise.
27476 * config.make.in (PKGVERSION): New variable.
27477 (PKGVERSION_TEXI): Likewise.
27478 (REPORT_BUGS_TO): Likewise.
27479 (REPORT_BUGS_TEXI): Likewise.
27480 * Makefile (format-me): Use -I$(common-objpfx)manual.
27481 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27482 ($(common-objpfx)manual/%): New target.
27483 (manual/%): Remove target.
27484 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27485 (print_version): Use PKGVERSION.
27486 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27487 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27488 and REPORT_BUGS_TO.
27489 ($(objpfx)xtrace): Likewise.
27490 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27491 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27492 (print_version): Use PKGVERSION.
27493 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27494 (do_version): Use PKGVERSION.
27495 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27496 REPORT_BUGS_TO.
27497 (common-ldd-rewrite): Likewise.
27498 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27499 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27500 (print_version): Use PKGVERSION.
27501 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27502 * elf/pldd.c (argp_program_bug_address): Remove variable.
27503 (more_help): New function.
27504 (argp): Use more_help.
27505 (print_version): Use PKGVERSION.
27506 * elf/sln.c (main): Use PKGVERSION.
27507 (usage): Use REPORT_BUGS_TO.
27508 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27509 (top level): Use PKGVERSION.
27510 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27511 (print_version): Use PKGVERSION.
27512 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27513 (print_version): Use PKGVERSION.
27514 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27515 (print_version): Use PKGVERSION.
27516 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27517 (print_version): Use PKGVERSION.
27518 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27519 (print_version): Use PKGVERSION.
27520 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27521 (print_version): Use PKGVERSION.
27522 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27523 and BUGURL.
27524 ($(objpfx)memusage): Likewise.
27525 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27526 (do_version): Use PKGVERSION.
27527 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27528 (print_version): Use PKGVERSION.
27529 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27530 ($PKGVERSION): New variable.
27531 ($REPORT_BUGS_TO): Likewise.
27532 (usage): Use $REPORT_BUGS_TO.
27533 (top level): Use $PKGVERSION.
27534 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27535 ($(objpfx)pkgvers.texi): New rule.
27536 ($(objpfx)stamp-pkgvers): Likewise.
27537 * manual/install.texi: Include pkgvers.texi.
27538 (--with-pkgversion): Document new configure option.
27539 (--with-bugurl): Likewise.
27540 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27541 than necessarily for this particular distribution. Use
27542 REPORT_BUGS_TO for where to report bugs.
27543 * INSTALL: Regenerated.
27544 * manual/libc.texinfo: Include pkgvers.texi.
27545 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27546 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27547 (print_version): Use PKGVERSION.
27548 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27549 (print_version): Use PKGVERSION.
27550 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27551 (print_version): Use PKGVERSION.
27552 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27553 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27554 macro.
27555 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27556 (print_version): Use PKGVERSION.
27557 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27558 (print_version): Use PKGVERSION.
27559 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27560 and PKGVERSION.
27561
92e4b6a9
JM
27562 * timezone/checktab.awk: Update from tzcode 2012i.
27563 * timezone/ialloc.c: Likewise.
27564 * timezone/private.h: Likewise.
27565 * timezone/scheck.c: Likewise.
27566 * timezone/tzfile.h: Likewise.
27567 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27568 (TZVERSION): Hardcode tzcode version number.
27569 * timezone/zdump.c: Update from tzcode 2012i.
27570 * timezone/zic.c: Likewise.
27571 * timezone/version.h: New file.
27572 * timezone/README: Describe version.h. Update upstream location.
27573
9bde902c
JM
27574 [BZ #14824]
27575 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27576 (mktemp): Enable declaration.
27577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27578 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27580 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27581 Likewise.
27582 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27583 Likewise.
27584 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27585 Likewise.
27586 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27587 Likewise.
27588 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27589 Likewise.
27590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27591 Likewise.
27592
fb1ae1ee
JM
27593 [BZ #14821]
27594 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27595 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27596 for copies of such integer values.
27597 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27598 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27599
2c1adbcb
AJ
276002012-11-09 Andreas Jaeger <aj@suse.de>
27601
27602 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27603 definitions and declarations that are provided by
27604 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27605
d0f8457e
AK
276062012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27607
3a235abb 27608 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27609 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27610 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27611 definition.
27612
57241e26
MS
276132012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27614
27615 * elf/elf.h: Update comment before AArch64 relocations.
27616
60e8270d
DM
276172012-11-07 David S. Miller <davem@davemloft.net>
27618
27619 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27620 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27621 (__start_context): Declare.
27622 (__makecontext_ret): Delete.
27623 (__makecontext): Hook up __start_context instead of
27624 __makecontext_ret.
27625 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27626 (sysdep_routines): Add __start_context when in stdlib.
27627
0fbb0fbc
JM
276282012-11-07 Joseph Myers <joseph@codesourcery.com>
27629
27630 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27631 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27632 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27633 hardcoded "nm".
27634 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27635 (READELF): New variable. Use it instead of hardcoded "readelf".
27636
eb48db7e
L
276372012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27638
27639 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27640 * sysdeps/x86/Makefile: Here.
27641 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27642 * sysdeps/x86/tst-xmmymm.sh: This.
27643
05bcf62a
JM
276442012-11-07 Joseph Myers <joseph@codesourcery.com>
27645
c4b6cf53
JM
27646 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27647 expectations.
27648 [UNIX98] (pthread_barrier_t): Do not expect.
27649 [UNIX98] (pthread_barrierattr_t): Likewise.
27650 [UNIX98] (pthread_spinlock_t): Likewise.
27651 [UNIX98] (pthread_barrier_destroy): Likewise.
27652 [UNIX98] (pthread_barrier_init): Likewise.
27653 [UNIX98] (pthread_barrier_wait): Likewise.
27654 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27655 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27656 [UNIX98] (pthread_barrierattr_init): Likewise.
27657 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27658 [UNIX98] (pthread_getcpuclockid): Likewise.
27659 [UNIX98] (pthread_mutex_timedlock): Likewise.
27660 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27661 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27662 [UNIX98] (pthread_sigmask): Likewise.
27663 [UNIX98] (pthread_spin_destroy): Likewise.
27664 [UNIX98] (pthread_spin_init): Likewise.
27665 [UNIX98] (pthread_spin_lock): Likewise.
27666 [UNIX98] (pthread_spin_trylock): Likewise.
27667 [UNIX98] (pthread_spin_unlock): Likewise.
27668 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27669 Do not expect.
27670 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27671 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27672 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27673 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27674 [XPG3 || XPG4] (pthread_key_t): Likewise.
27675 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27676 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27677 [XPG3 || XPG4] (pthread_once_t): Likewise.
27678 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27679 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27680 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27681 [XPG3 || XPG4] (pthread_t): Likewise.
27682
cbe6e120
JM
27683 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27684 not expect.
27685 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27686
1b126443
JM
27687 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27688 Change function return type to int.
27689
b961a573
JM
27690 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27691 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27692 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27693 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27694 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27695 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27696 [!POSIX] (posix_madvise): Likewise.
27697 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27698 && !UNIX98].
27699 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27700 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27701 (mode_t): Likewise.
27702 (posix_mem_offset): Likewise.
27703 (posix_typed_mem_get_info): Likewise.
27704 (posix_typed_mem_open): Likewise.
27705
9e188909
JM
27706 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27707 Change condition to [XOPEN2K8].
27708
05bcf62a
JM
27709 * conform/conformtest.pl: Preprocess allow-header data with -x c
27710 instead of from stdin.
27711 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27712 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27713 [C99-based standards] (cerfc): Likewise.
27714 [C99-based standards] (cexp2): Likewise.
27715 [C99-based standards] (cexpm1): Likewise.
27716 [C99-based standards] (clog10): Likewise.
27717 [C99-based standards] (clog1p): Likewise.
27718 [C99-based standards] (clog2): Likewise.
27719 [C99-based standards] (clgamma): Likewise.
27720 [C99-based standards] (ctgamma): Likewise.
27721 [C99-based standards] (cerff): Likewise.
27722 [C99-based standards] (cerfcf): Likewise.
27723 [C99-based standards] (cexp2f): Likewise.
27724 [C99-based standards] (cexpm1f): Likewise.
27725 [C99-based standards] (clog10f): Likewise.
27726 [C99-based standards] (clog1pf): Likewise.
27727 [C99-based standards] (clog2f): Likewise.
27728 [C99-based standards] (clgammaf): Likewise.
27729 [C99-based standards] (ctgammaf): Likewise.
27730 [C99-based standards] (cerfl): Likewise.
27731 [C99-based standards] (cerfcl): Likewise.
27732 [C99-based standards] (cexp2l): Likewise.
27733 [C99-based standards] (cexpm1l): Likewise.
27734 [C99-based standards] (clog10l): Likewise.
27735 [C99-based standards] (clog1pl): Likewise.
27736 [C99-based standards] (clog2l): Likewise.
27737 [C99-based standards] (clgammal): Likewise.
27738 [C99-based standards] (ctgammal): Likewise.
27739 * conform/data/inttypes.h-data [C99-based standards]: Include
27740 stdint.h-data. Remove all expectations for stdint.h contents.
27741 [C99-based standards] (PRI*): Do not allow.
27742 [C99-based standards] (SCN*): Likewise.
27743 [C99-based standards] (*_t): Likewise.
27744 [C99-based-standards] (PRId8): Expect macro.
27745 [C99-based-standards] (PRIi8): Likewise.
27746 [C99-based-standards] (PRIo8): Likewise.
27747 [C99-based-standards] (PRIu8): Likewise.
27748 [C99-based-standards] (PRIx8): Likewise.
27749 [C99-based-standards] (PRIX8): Likewise.
27750 [C99-based-standards] (SCNd8): Likewise.
27751 [C99-based-standards] (SCNi8): Likewise.
27752 [C99-based-standards] (SCNo8): Likewise.
27753 [C99-based-standards] (SCNu8): Likewise.
27754 [C99-based-standards] (SCNx8): Likewise.
27755 [C99-based-standards] (PRIdLEAST8): Likewise.
27756 [C99-based-standards] (PRIiLEAST8): Likewise.
27757 [C99-based-standards] (PRIoLEAST8): Likewise.
27758 [C99-based-standards] (PRIuLEAST8): Likewise.
27759 [C99-based-standards] (PRIxLEAST8): Likewise.
27760 [C99-based-standards] (PRIXLEAST8): Likewise.
27761 [C99-based-standards] (SCNdLEAST8): Likewise.
27762 [C99-based-standards] (SCNiLEAST8): Likewise.
27763 [C99-based-standards] (SCNoLEAST8): Likewise.
27764 [C99-based-standards] (SCNuLEAST8): Likewise.
27765 [C99-based-standards] (SCNxLEAST8): Likewise.
27766 [C99-based-standards] (PRIdFAST8): Likewise.
27767 [C99-based-standards] (PRIiFAST8): Likewise.
27768 [C99-based-standards] (PRIoFAST8): Likewise.
27769 [C99-based-standards] (PRIuFAST8): Likewise.
27770 [C99-based-standards] (PRIxFAST8): Likewise.
27771 [C99-based-standards] (PRIXFAST8): Likewise.
27772 [C99-based-standards] (SCNdFAST8): Likewise.
27773 [C99-based-standards] (SCNiFAST8): Likewise.
27774 [C99-based-standards] (SCNoFAST8): Likewise.
27775 [C99-based-standards] (SCNuFAST8): Likewise.
27776 [C99-based-standards] (SCNxFAST8): Likewise.
27777 [C99-based-standards] (PRId16): Likewise.
27778 [C99-based-standards] (PRIi16): Likewise.
27779 [C99-based-standards] (PRIo16): Likewise.
27780 [C99-based-standards] (PRIu16): Likewise.
27781 [C99-based-standards] (PRIx16): Likewise.
27782 [C99-based-standards] (PRIX16): Likewise.
27783 [C99-based-standards] (SCNd16): Likewise.
27784 [C99-based-standards] (SCNi16): Likewise.
27785 [C99-based-standards] (SCNo16): Likewise.
27786 [C99-based-standards] (SCNu16): Likewise.
27787 [C99-based-standards] (SCNx16): Likewise.
27788 [C99-based-standards] (PRIdLEAST16): Likewise.
27789 [C99-based-standards] (PRIiLEAST16): Likewise.
27790 [C99-based-standards] (PRIoLEAST16): Likewise.
27791 [C99-based-standards] (PRIuLEAST16): Likewise.
27792 [C99-based-standards] (PRIxLEAST16): Likewise.
27793 [C99-based-standards] (PRIXLEAST16): Likewise.
27794 [C99-based-standards] (SCNdLEAST16): Likewise.
27795 [C99-based-standards] (SCNiLEAST16): Likewise.
27796 [C99-based-standards] (SCNoLEAST16): Likewise.
27797 [C99-based-standards] (SCNuLEAST16): Likewise.
27798 [C99-based-standards] (SCNxLEAST16): Likewise.
27799 [C99-based-standards] (PRIdFAST16): Likewise.
27800 [C99-based-standards] (PRIiFAST16): Likewise.
27801 [C99-based-standards] (PRIoFAST16): Likewise.
27802 [C99-based-standards] (PRIuFAST16): Likewise.
27803 [C99-based-standards] (PRIxFAST16): Likewise.
27804 [C99-based-standards] (PRIXFAST16): Likewise.
27805 [C99-based-standards] (SCNdFAST16): Likewise.
27806 [C99-based-standards] (SCNiFAST16): Likewise.
27807 [C99-based-standards] (SCNoFAST16): Likewise.
27808 [C99-based-standards] (SCNuFAST16): Likewise.
27809 [C99-based-standards] (SCNxFAST16): Likewise.
27810 [C99-based-standards] (PRId32): Likewise.
27811 [C99-based-standards] (PRIi32): Likewise.
27812 [C99-based-standards] (PRIo32): Likewise.
27813 [C99-based-standards] (PRIu32): Likewise.
27814 [C99-based-standards] (PRIx32): Likewise.
27815 [C99-based-standards] (PRIX32): Likewise.
27816 [C99-based-standards] (SCNd32): Likewise.
27817 [C99-based-standards] (SCNi32): Likewise.
27818 [C99-based-standards] (SCNo32): Likewise.
27819 [C99-based-standards] (SCNu32): Likewise.
27820 [C99-based-standards] (SCNx32): Likewise.
27821 [C99-based-standards] (PRIdLEAST32): Likewise.
27822 [C99-based-standards] (PRIiLEAST32): Likewise.
27823 [C99-based-standards] (PRIoLEAST32): Likewise.
27824 [C99-based-standards] (PRIuLEAST32): Likewise.
27825 [C99-based-standards] (PRIxLEAST32): Likewise.
27826 [C99-based-standards] (PRIXLEAST32): Likewise.
27827 [C99-based-standards] (SCNdLEAST32): Likewise.
27828 [C99-based-standards] (SCNiLEAST32): Likewise.
27829 [C99-based-standards] (SCNoLEAST32): Likewise.
27830 [C99-based-standards] (SCNuLEAST32): Likewise.
27831 [C99-based-standards] (SCNxLEAST32): Likewise.
27832 [C99-based-standards] (PRIdFAST32): Likewise.
27833 [C99-based-standards] (PRIiFAST32): Likewise.
27834 [C99-based-standards] (PRIoFAST32): Likewise.
27835 [C99-based-standards] (PRIuFAST32): Likewise.
27836 [C99-based-standards] (PRIxFAST32): Likewise.
27837 [C99-based-standards] (PRIXFAST32): Likewise.
27838 [C99-based-standards] (SCNdFAST32): Likewise.
27839 [C99-based-standards] (SCNiFAST32): Likewise.
27840 [C99-based-standards] (SCNoFAST32): Likewise.
27841 [C99-based-standards] (SCNuFAST32): Likewise.
27842 [C99-based-standards] (SCNxFAST32): Likewise.
27843 [C99-based-standards] (PRId64): Likewise.
27844 [C99-based-standards] (PRIi64): Likewise.
27845 [C99-based-standards] (PRIo64): Likewise.
27846 [C99-based-standards] (PRIu64): Likewise.
27847 [C99-based-standards] (PRIx64): Likewise.
27848 [C99-based-standards] (PRIX64): Likewise.
27849 [C99-based-standards] (SCNd64): Likewise.
27850 [C99-based-standards] (SCNi64): Likewise.
27851 [C99-based-standards] (SCNo64): Likewise.
27852 [C99-based-standards] (SCNu64): Likewise.
27853 [C99-based-standards] (SCNx64): Likewise.
27854 [C99-based-standards] (PRIdLEAST64): Likewise.
27855 [C99-based-standards] (PRIiLEAST64): Likewise.
27856 [C99-based-standards] (PRIoLEAST64): Likewise.
27857 [C99-based-standards] (PRIuLEAST64): Likewise.
27858 [C99-based-standards] (PRIxLEAST64): Likewise.
27859 [C99-based-standards] (PRIXLEAST64): Likewise.
27860 [C99-based-standards] (SCNdLEAST64): Likewise.
27861 [C99-based-standards] (SCNiLEAST64): Likewise.
27862 [C99-based-standards] (SCNoLEAST64): Likewise.
27863 [C99-based-standards] (SCNuLEAST64): Likewise.
27864 [C99-based-standards] (SCNxLEAST64): Likewise.
27865 [C99-based-standards] (PRIdFAST64): Likewise.
27866 [C99-based-standards] (PRIiFAST64): Likewise.
27867 [C99-based-standards] (PRIoFAST64): Likewise.
27868 [C99-based-standards] (PRIuFAST64): Likewise.
27869 [C99-based-standards] (PRIxFAST64): Likewise.
27870 [C99-based-standards] (PRIXFAST64): Likewise.
27871 [C99-based-standards] (SCNdFAST64): Likewise.
27872 [C99-based-standards] (SCNiFAST64): Likewise.
27873 [C99-based-standards] (SCNoFAST64): Likewise.
27874 [C99-based-standards] (SCNuFAST64): Likewise.
27875 [C99-based-standards] (SCNxFAST64): Likewise.
27876 [C99-based-standards] (PRIdMAX): Likewise.
27877 [C99-based-standards] (PRIiMAX): Likewise.
27878 [C99-based-standards] (PRIoMAX): Likewise.
27879 [C99-based-standards] (PRIuMAX): Likewise.
27880 [C99-based-standards] (PRIxMAX): Likewise.
27881 [C99-based-standards] (PRIXMAX): Likewise.
27882 [C99-based-standards] (SCNdMAX): Likewise.
27883 [C99-based-standards] (SCNiMAX): Likewise.
27884 [C99-based-standards] (SCNoMAX): Likewise.
27885 [C99-based-standards] (SCNuMAX): Likewise.
27886 [C99-based-standards] (SCNxMAX): Likewise.
27887 [C99-based-standards] (PRIdPTR): Likewise.
27888 [C99-based-standards] (PRIiPTR): Likewise.
27889 [C99-based-standards] (PRIoPTR): Likewise.
27890 [C99-based-standards] (PRIuPTR): Likewise.
27891 [C99-based-standards] (PRIxPTR): Likewise.
27892 [C99-based-standards] (PRIXPTR): Likewise.
27893 [C99-based-standards] (SCNdPTR): Likewise.
27894 [C99-based-standards] (SCNiPTR): Likewise.
27895 [C99-based-standards] (SCNoPTR): Likewise.
27896 [C99-based-standards] (SCNuPTR): Likewise.
27897 [C99-based-standards] (SCNxPTR): Likewise.
27898 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27899 allow.
27900 * conform/data/stdint.h-data: Update comments to clarify
27901 requirements.
27902 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27903 type.
27904 [C99-based standards] (INT8_MAX): Likewise.
27905 [C99-based standards] (INT16_MIN): Likewise.
27906 [C99-based standards] (INT16_MAX): Likewise.
27907 [C99-based standards] (INT32_MIN): Likewise.
27908 [C99-based standards] (INT32_MAX): Likewise.
27909 [C99-based standards] (INT64_MIN): Likewise.
27910 [C99-based standards] (INT64_MAX): Likewise.
27911 [C99-based standards] (UINT8_MAX): Likewise.
27912 [C99-based standards] (UINT16_MAX): Likewise.
27913 [C99-based standards] (UINT32_MAX): Likewise.
27914 [C99-based standards] (UINT64_MAX): Likewise.
27915 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27916 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27917 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27918 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27919 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27920 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27921 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27922 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27923 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27924 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27925 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27926 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27927 [C99-based standards] (INT_FAST8_MIN): Likewise.
27928 [C99-based standards] (INT_FAST8_MAX): Likewise.
27929 [C99-based standards] (INT_FAST16_MIN): Likewise.
27930 [C99-based standards] (INT_FAST16_MAX): Likewise.
27931 [C99-based standards] (INT_FAST32_MIN): Likewise.
27932 [C99-based standards] (INT_FAST32_MAX): Likewise.
27933 [C99-based standards] (INT_FAST64_MIN): Likewise.
27934 [C99-based standards] (INT_FAST64_MAX): Likewise.
27935 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27936 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27937 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27938 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27939 [C99-based standards] (INTPTR_MIN): Likewise.
27940 [C99-based standards] (INTPTR_MAX): Likewise.
27941 [C99-based standards] (UINTPTR_MAX): Likewise.
27942 [C99-based standards] (INTMAX_MIN): Likewise.
27943 [C99-based standards] (INTMAX_MAX): Likewise.
27944 [C99-based standards] (UINTMAX_MAX): Likewise.
27945 [C99-based standards] (PTRDIFF_MIN): Likewise.
27946 [C99-based standards] (PTRDIFF_MAX): Likewise.
27947 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27948 [C99-based standards] (SIZE_MAX): Likewise.
27949 [C99-based standards] (WCHAR_MAX): Likewise.
27950 [C99-based standards] (WINT_MAX): Likewise.
27951 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27952 constraint on value.
27953 [C99-based standards] (WCHAR_MIN): Likewise.
27954 [C99-based standards] (WINT_MIN): Likewise.
27955 [C99-based standards] (*_t): Allow.
27956 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27957 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27958 Include math.h-data and complex.h-data. Remove all expectations
27959 of math.h and complex.h contents.
27960 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27961 at end of line.
27962 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27963 (struct tm): Expect tag.
27964 [C99-based-standards] (wcstof): Expect function.
27965 [C99-based-standards] (wcstold): Likewise.
27966 [C99-based-standards] (wcstoll): Likewise.
27967 [C99-based-standards] (wcstoull): Likewise.
27968 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27969 macro-int-constant. Specify type.
27970 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27971 constraint on value.
27972 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27973 Specify type.
27974 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27975 Specify value.
27976 [ISO C standards]: Do not allow headers.
27977 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27978 wcs[abcdefghijklmnopqrstuvwxyz]*.
27979 [ISO C standards] (*_t): Do not allow.
27980 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27981 Expect function.
27982 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27983 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27984 Specify type.
27985 [ISO C standards]: Do not allow headers.
27986 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27987 is[abcdefghijklmnopqrstuvwxyz]*.
27988 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27989 to[abcdefghijklmnopqrstuvwxyz]*.
27990 [ISO C standards] (*_t): Do not allow.
27991 * conform/data/stdalign.h-data: New file.
27992 * conform/data/stdbool.h-data: Likewise.
27993 * conform/data/stdnoreturn.h-data: Likewise.
27994
7514feb8
RM
279952012-11-07 Roland McGrath <roland@hack.frob.com>
27996
27997 [BZ #14815]
27998 * manual/filesys.texi (Directory Entries): Typo fix.
27999 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28000
19b2ecfc
MS
280012012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28002
28003 * elf/elf.h (EM_AARCH64): New macro.
28004 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28005 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28006 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28007 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28008 (R_AARCH64_TLSDESC): Likewise.
28009 (NT_ARM_TLS): Likewise.
28010 (NT_ARM_HW_BREAK): Likewise.
28011 (NT_ARM_HW_WATCH): Likewise.
28012
60e235ee
JM
280132012-11-07 Joseph Myers <joseph@codesourcery.com>
28014
28015 [BZ #14811]
28016 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28017 (__ieee754_powl): Saturate nonzero exponents with absolute value
28018 below 0x1p-79 to +/- 0x1p-79.
28019 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28020 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28021 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28022 nonzero exponents with absolute value below 0x1p-32 to +/-
28023 0x1p-32.
28024 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28025 (__ieee754_powl): Saturate nonzero exponents with absolute value
28026 below 0x1p-79 to +/- 0x1p-79.
28027 * math/libm-test.inc (pow_test): Add more tests.
28028
0ab234b7
AK
280292012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28030
28031 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28032 _dl_s390_cap_flags with kernel. Increase string length.
28033 (_dl_s390_platforms): Add z196 and zEC12.
28034
45832f74
JM
280352012-11-07 Joseph Myers <joseph@codesourcery.com>
28036
28037 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28038 Change XOPEN21K to XOPEN2K.
28039
19218757
MK
280402012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28041
28042 * string/memmove.c: Use memcpy when possible.
28043
c5f45721
AJ
280442012-11-06 Andreas Jaeger <aj@suse.de>
28045
28046 * po/eo.po: Update from translation team.
28047
82477c28
JM
280482012-11-06 Joseph Myers <joseph@codesourcery.com>
28049
28050 [BZ #14793]
28051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28052 exponent and small x and y exponents, scale x or y up. Increase
28053 by 2 the exponent used in scaling up.
28054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28056 * math/libm-test.inc (fma_test): Add more tests.
28057 (fma_test_towardzero): Likewise.
28058 (fma_test_downward): Likewise.
28059 (fma_test_upward): Likewise.
28060
99252c8c
JM
280612012-11-05 Joseph Myers <joseph@codesourcery.com>
28062
acfa885f
JM
28063 [BZ #14805]
28064 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28065 fenv_t *.
28066
99252c8c
JM
28067 [BZ #14801]
28068 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28069 namespace for names of struct fields.
28070 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28071 fenv_t fields.
28072 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28073 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28074
d6d98dea
ST
280752012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28076
28077 [BZ #3665]
28078 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28079
e10bb107
TS
280802012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28081
28082 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28083 PTR_DEMANGLE.
28084
28085 [BZ #5246]
28086 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28087 PTR_DEMANGLE.
28088
a0c2940d
JM
280892012-11-04 Joseph Myers <joseph@codesourcery.com>
28090
28091 [BZ #14797]
28092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28093 definitely overflow as x * y not x * y + z.
28094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28096 * math/libm-test.inc (fma_test): Add more tests.
28097 (fma_test_towardzero): Likewise.
28098 (fma_test_downward): Likewise.
28099 (fma_test_upward): Likewise.
28100
b830319d
TS
281012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28102
28103 [BZ #157]
28104
28105 * include/stub-tag.h: Remove file.
28106 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28107 '#include' of it.
28108 * manual/maint.texi (Porting): Don't reference it.
28109 * Makerules ($(objpfx)stubs): Likewise.
28110 * dirent/closedir.c: Don't include <stub-tag.h>.
28111 * dirent/dirfd.c: Likewise.
28112 * dirent/fdopendir.c: Likewise.
28113 * dirent/getdents.c: Likewise.
28114 * dirent/getdents64.c: Likewise.
28115 * dirent/opendir.c: Likewise.
28116 * dirent/readdir.c: Likewise.
28117 * dirent/readdir64.c: Likewise.
28118 * dirent/readdir64_r.c: Likewise.
28119 * dirent/readdir_r.c: Likewise.
28120 * dirent/rewinddir.c: Likewise.
28121 * dirent/seekdir.c: Likewise.
28122 * dirent/telldir.c: Likewise.
28123 * gmon/profil.c: Likewise.
28124 * grp/setgroups.c: Likewise.
28125 * inet/if_index.c: Likewise.
28126 * io/access.c: Likewise.
28127 * io/chdir.c: Likewise.
28128 * io/chmod.c: Likewise.
28129 * io/chown.c: Likewise.
28130 * io/close.c: Likewise.
28131 * io/dup.c: Likewise.
28132 * io/dup2.c: Likewise.
28133 * io/dup3.c: Likewise.
28134 * io/euidaccess.c: Likewise.
28135 * io/faccessat.c: Likewise.
28136 * io/fchdir.c: Likewise.
28137 * io/fchmod.c: Likewise.
28138 * io/fchmodat.c: Likewise.
28139 * io/fchown.c: Likewise.
28140 * io/fchownat.c: Likewise.
28141 * io/fcntl.c: Likewise.
28142 * io/flock.c: Likewise.
28143 * io/fstatfs.c: Likewise.
28144 * io/fstatfs64.c: Likewise.
28145 * io/fstatvfs.c: Likewise.
28146 * io/fstatvfs64.c: Likewise.
28147 * io/futimens.c: Likewise.
28148 * io/fxstat.c: Likewise.
28149 * io/fxstat64.c: Likewise.
28150 * io/fxstatat.c: Likewise.
28151 * io/fxstatat64.c: Likewise.
28152 * io/getcwd.c: Likewise.
28153 * io/isatty.c: Likewise.
28154 * io/lchmod.c: Likewise.
28155 * io/lchown.c: Likewise.
28156 * io/link.c: Likewise.
28157 * io/linkat.c: Likewise.
28158 * io/lseek.c: Likewise.
28159 * io/lseek64.c: Likewise.
28160 * io/lxstat64.c: Likewise.
28161 * io/mkdir.c: Likewise.
28162 * io/mkdirat.c: Likewise.
28163 * io/mkfifo.c: Likewise.
28164 * io/mkfifoat.c: Likewise.
28165 * io/open.c: Likewise.
28166 * io/open64.c: Likewise.
28167 * io/openat.c: Likewise.
28168 * io/openat64.c: Likewise.
28169 * io/pipe.c: Likewise.
28170 * io/pipe2.c: Likewise.
28171 * io/poll.c: Likewise.
28172 * io/posix_fadvise.c: Likewise.
28173 * io/posix_fadvise64.c: Likewise.
28174 * io/posix_fallocate.c: Likewise.
28175 * io/posix_fallocate64.c: Likewise.
28176 * io/read.c: Likewise.
28177 * io/readlink.c: Likewise.
28178 * io/readlinkat.c: Likewise.
28179 * io/rmdir.c: Likewise.
28180 * io/sendfile.c: Likewise.
28181 * io/sendfile64.c: Likewise.
28182 * io/statfs.c: Likewise.
28183 * io/statfs64.c: Likewise.
28184 * io/statvfs.c: Likewise.
28185 * io/statvfs64.c: Likewise.
28186 * io/symlink.c: Likewise.
28187 * io/symlinkat.c: Likewise.
28188 * io/ttyname.c: Likewise.
28189 * io/ttyname_r.c: Likewise.
28190 * io/umask.c: Likewise.
28191 * io/unlink.c: Likewise.
28192 * io/unlinkat.c: Likewise.
28193 * io/utime.c: Likewise.
28194 * io/utimensat.c: Likewise.
28195 * io/write.c: Likewise.
28196 * io/xmknod.c: Likewise.
28197 * io/xmknodat.c: Likewise.
28198 * io/xstat.c: Likewise.
28199 * io/xstat64.c: Likewise.
28200 * login/getpt.c: Likewise.
28201 * login/grantpt.c: Likewise.
28202 * login/unlockpt.c: Likewise.
28203 * math/e_acoshl.c: Likewise.
28204 * math/e_acosl.c: Likewise.
28205 * math/e_asinl.c: Likewise.
28206 * math/e_atan2l.c: Likewise.
28207 * math/e_atanhl.c: Likewise.
28208 * math/e_coshl.c: Likewise.
28209 * math/e_expl.c: Likewise.
28210 * math/e_fmodl.c: Likewise.
28211 * math/e_gammal_r.c: Likewise.
28212 * math/e_hypotl.c: Likewise.
28213 * math/e_j0l.c: Likewise.
28214 * math/e_j1l.c: Likewise.
28215 * math/e_jnl.c: Likewise.
28216 * math/e_lgammal_r.c: Likewise.
28217 * math/e_log10l.c: Likewise.
28218 * math/e_log2l.c: Likewise.
28219 * math/e_logl.c: Likewise.
28220 * math/e_powl.c: Likewise.
28221 * math/e_rem_pio2l.c: Likewise.
28222 * math/e_sinhl.c: Likewise.
28223 * math/e_sqrtl.c: Likewise.
28224 * math/fclrexcpt.c: Likewise.
28225 * math/fedisblxcpt.c: Likewise.
28226 * math/feenablxcpt.c: Likewise.
28227 * math/fegetenv.c: Likewise.
28228 * math/fegetexcept.c: Likewise.
28229 * math/fegetround.c: Likewise.
28230 * math/feholdexcpt.c: Likewise.
28231 * math/fesetenv.c: Likewise.
28232 * math/fesetround.c: Likewise.
28233 * math/feupdateenv.c: Likewise.
28234 * math/fgetexcptflg.c: Likewise.
28235 * math/fraiseexcpt.c: Likewise.
28236 * math/fsetexcptflg.c: Likewise.
28237 * math/ftestexcept.c: Likewise.
28238 * math/k_cosl.c: Likewise.
28239 * math/k_rem_pio2l.c: Likewise.
28240 * math/k_sinl.c: Likewise.
28241 * math/k_tanl.c: Likewise.
28242 * math/s_asinhl.c: Likewise.
28243 * math/s_atanl.c: Likewise.
28244 * math/s_cbrtl.c: Likewise.
28245 * math/s_erfl.c: Likewise.
28246 * math/s_expm1l.c: Likewise.
28247 * math/s_log1pl.c: Likewise.
28248 * math/s_tanhl.c: Likewise.
28249 * misc/acct.c: Likewise.
28250 * misc/brk.c: Likewise.
28251 * misc/chflags.c: Likewise.
28252 * misc/chroot.c: Likewise.
28253 * misc/fchflags.c: Likewise.
28254 * misc/fgetxattr.c: Likewise.
28255 * misc/flistxattr.c: Likewise.
28256 * misc/fremovexattr.c: Likewise.
28257 * misc/fsetxattr.c: Likewise.
28258 * misc/fsync.c: Likewise.
28259 * misc/ftruncate.c: Likewise.
28260 * misc/futimes.c: Likewise.
28261 * misc/futimesat.c: Likewise.
28262 * misc/getdomain.c: Likewise.
28263 * misc/getdtsz.c: Likewise.
28264 * misc/gethostid.c: Likewise.
28265 * misc/gethostname.c: Likewise.
28266 * misc/getloadavg.c: Likewise.
28267 * misc/getpagesize.c: Likewise.
28268 * misc/getsysstats.c: Likewise.
28269 * misc/getxattr.c: Likewise.
28270 * misc/gtty.c: Likewise.
28271 * misc/ioctl.c: Likewise.
28272 * misc/lgetxattr.c: Likewise.
28273 * misc/listxattr.c: Likewise.
28274 * misc/llistxattr.c: Likewise.
28275 * misc/lremovexattr.c: Likewise.
28276 * misc/lsetxattr.c: Likewise.
28277 * misc/lutimes.c: Likewise.
28278 * misc/madvise.c: Likewise.
28279 * misc/mincore.c: Likewise.
28280 * misc/mlock.c: Likewise.
28281 * misc/mlockall.c: Likewise.
28282 * misc/mmap.c: Likewise.
28283 * misc/mprotect.c: Likewise.
28284 * misc/msync.c: Likewise.
28285 * misc/munlock.c: Likewise.
28286 * misc/munlockall.c: Likewise.
28287 * misc/munmap.c: Likewise.
28288 * misc/preadv.c: Likewise.
28289 * misc/preadv64.c: Likewise.
28290 * misc/ptrace.c: Likewise.
28291 * misc/pwritev.c: Likewise.
28292 * misc/pwritev64.c: Likewise.
28293 * misc/readv.c: Likewise.
28294 * misc/reboot.c: Likewise.
28295 * misc/remap_file_pages.c: Likewise.
28296 * misc/removexattr.c: Likewise.
28297 * misc/revoke.c: Likewise.
28298 * misc/select.c: Likewise.
28299 * misc/setdomain.c: Likewise.
28300 * misc/setegid.c: Likewise.
28301 * misc/seteuid.c: Likewise.
28302 * misc/sethostid.c: Likewise.
28303 * misc/sethostname.c: Likewise.
28304 * misc/setregid.c: Likewise.
28305 * misc/setreuid.c: Likewise.
28306 * misc/setxattr.c: Likewise.
28307 * misc/sstk.c: Likewise.
28308 * misc/stty.c: Likewise.
28309 * misc/swapoff.c: Likewise.
28310 * misc/swapon.c: Likewise.
28311 * misc/sync.c: Likewise.
28312 * misc/syncfs.c: Likewise.
28313 * misc/syscall.c: Likewise.
28314 * misc/truncate.c: Likewise.
28315 * misc/ualarm.c: Likewise.
28316 * misc/usleep.c: Likewise.
28317 * misc/ustat.c: Likewise.
28318 * misc/utimes.c: Likewise.
28319 * misc/vhangup.c: Likewise.
28320 * misc/writev.c: Likewise.
28321 * posix/_exit.c: Likewise.
28322 * posix/alarm.c: Likewise.
28323 * posix/execve.c: Likewise.
28324 * posix/fexecve.c: Likewise.
28325 * posix/fork.c: Likewise.
28326 * posix/fpathconf.c: Likewise.
28327 * posix/getaddrinfo.c: Likewise.
28328 * posix/getegid.c: Likewise.
28329 * posix/geteuid.c: Likewise.
28330 * posix/getgid.c: Likewise.
28331 * posix/getgroups.c: Likewise.
28332 * posix/getlogin.c: Likewise.
28333 * posix/getlogin_r.c: Likewise.
28334 * posix/getpgid.c: Likewise.
28335 * posix/getpid.c: Likewise.
28336 * posix/getppid.c: Likewise.
28337 * posix/getresgid.c: Likewise.
28338 * posix/getresuid.c: Likewise.
28339 * posix/getsid.c: Likewise.
28340 * posix/getuid.c: Likewise.
28341 * posix/glob64.c: Likewise.
28342 * posix/nanosleep.c: Likewise.
28343 * posix/pathconf.c: Likewise.
28344 * posix/pause.c: Likewise.
28345 * posix/posix_madvise.c: Likewise.
28346 * posix/pread.c: Likewise.
28347 * posix/pread64.c: Likewise.
28348 * posix/pwrite.c: Likewise.
28349 * posix/pwrite64.c: Likewise.
28350 * posix/sched_getaffinity.c: Likewise.
28351 * posix/sched_getp.c: Likewise.
28352 * posix/sched_gets.c: Likewise.
28353 * posix/sched_primax.c: Likewise.
28354 * posix/sched_primin.c: Likewise.
28355 * posix/sched_rr_gi.c: Likewise.
28356 * posix/sched_setaffinity.c: Likewise.
28357 * posix/sched_setp.c: Likewise.
28358 * posix/sched_sets.c: Likewise.
28359 * posix/sched_yield.c: Likewise.
28360 * posix/setgid.c: Likewise.
28361 * posix/setlogin.c: Likewise.
28362 * posix/setpgid.c: Likewise.
28363 * posix/setresgid.c: Likewise.
28364 * posix/setresuid.c: Likewise.
28365 * posix/setsid.c: Likewise.
28366 * posix/setuid.c: Likewise.
28367 * posix/sleep.c: Likewise.
28368 * posix/spawni.c: Likewise.
28369 * posix/sysconf.c: Likewise.
28370 * posix/times.c: Likewise.
28371 * posix/wait.c: Likewise.
28372 * posix/wait3.c: Likewise.
28373 * posix/wait4.c: Likewise.
28374 * posix/waitpid.c: Likewise.
28375 * resolv/gai_sigqueue.c: Likewise.
28376 * resource/getpriority.c: Likewise.
28377 * resource/getrlimit.c: Likewise.
28378 * resource/getrusage.c: Likewise.
28379 * resource/nice.c: Likewise.
28380 * resource/setpriority.c: Likewise.
28381 * resource/setrlimit.c: Likewise.
28382 * resource/ulimit.c: Likewise.
28383 * rt/aio_cancel.c: Likewise.
28384 * rt/aio_fsync.c: Likewise.
28385 * rt/aio_read.c: Likewise.
28386 * rt/aio_sigqueue.c: Likewise.
28387 * rt/aio_suspend.c: Likewise.
28388 * rt/aio_write.c: Likewise.
28389 * rt/clock_getres.c: Likewise.
28390 * rt/clock_gettime.c: Likewise.
28391 * rt/clock_nanosleep.c: Likewise.
28392 * rt/clock_settime.c: Likewise.
28393 * rt/lio_listio.c: Likewise.
28394 * rt/mq_close.c: Likewise.
28395 * rt/mq_getattr.c: Likewise.
28396 * rt/mq_notify.c: Likewise.
28397 * rt/mq_open.c: Likewise.
28398 * rt/mq_receive.c: Likewise.
28399 * rt/mq_send.c: Likewise.
28400 * rt/mq_setattr.c: Likewise.
28401 * rt/mq_timedreceive.c: Likewise.
28402 * rt/mq_timedsend.c: Likewise.
28403 * rt/mq_unlink.c: Likewise.
28404 * rt/shm_open.c: Likewise.
28405 * rt/shm_unlink.c: Likewise.
28406 * rt/timer_create.c: Likewise.
28407 * rt/timer_delete.c: Likewise.
28408 * rt/timer_getoverr.c: Likewise.
28409 * rt/timer_gettime.c: Likewise.
28410 * rt/timer_settime.c: Likewise.
28411 * setjmp/__longjmp.c: Likewise.
28412 * setjmp/setjmp.c: Likewise.
28413 * signal/kill.c: Likewise.
28414 * signal/killpg.c: Likewise.
28415 * signal/raise.c: Likewise.
28416 * signal/sigaction.c: Likewise.
28417 * signal/sigaltstack.c: Likewise.
28418 * signal/sigblock.c: Likewise.
28419 * signal/sigignore.c: Likewise.
28420 * signal/sigintr.c: Likewise.
28421 * signal/signal.c: Likewise.
28422 * signal/sigpause.c: Likewise.
28423 * signal/sigpending.c: Likewise.
28424 * signal/sigqueue.c: Likewise.
28425 * signal/sigreturn.c: Likewise.
28426 * signal/sigset.c: Likewise.
28427 * signal/sigsetmask.c: Likewise.
28428 * signal/sigstack.c: Likewise.
28429 * signal/sigsuspend.c: Likewise.
28430 * signal/sigtimedwait.c: Likewise.
28431 * signal/sigvec.c: Likewise.
28432 * signal/sigwait.c: Likewise.
28433 * signal/sigwaitinfo.c: Likewise.
28434 * signal/sysv_signal.c: Likewise.
28435 * socket/accept.c: Likewise.
28436 * socket/accept4.c: Likewise.
28437 * socket/bind.c: Likewise.
28438 * socket/connect.c: Likewise.
28439 * socket/getpeername.c: Likewise.
28440 * socket/getsockname.c: Likewise.
28441 * socket/getsockopt.c: Likewise.
28442 * socket/isfdtype.c: Likewise.
28443 * socket/listen.c: Likewise.
28444 * socket/recv.c: Likewise.
28445 * socket/recvfrom.c: Likewise.
28446 * socket/recvmsg.c: Likewise.
28447 * socket/send.c: Likewise.
28448 * socket/sendmsg.c: Likewise.
28449 * socket/sendto.c: Likewise.
28450 * socket/setsockopt.c: Likewise.
28451 * socket/shutdown.c: Likewise.
28452 * socket/sockatmark.c: Likewise.
28453 * socket/socket.c: Likewise.
28454 * socket/socketpair.c: Likewise.
28455 * stdio-common/ctermid.c: Likewise.
28456 * stdio-common/cuserid.c: Likewise.
28457 * stdio-common/remove.c: Likewise.
28458 * stdio-common/rename.c: Likewise.
28459 * stdio-common/renameat.c: Likewise.
28460 * stdio-common/tempname.c: Likewise.
28461 * stdlib/getcontext.c: Likewise.
28462 * stdlib/makecontext.c: Likewise.
28463 * stdlib/setcontext.c: Likewise.
28464 * stdlib/swapcontext.c: Likewise.
28465 * stdlib/system.c: Likewise.
28466 * streams/fattach.c: Likewise.
28467 * streams/fdetach.c: Likewise.
28468 * streams/getmsg.c: Likewise.
28469 * streams/getpmsg.c: Likewise.
28470 * streams/putmsg.c: Likewise.
28471 * streams/putpmsg.c: Likewise.
28472 * sysdeps/unix/bsd/getpt.c: Likewise.
28473 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28474 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28475 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28477 Likewise.
28478 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28479 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28480 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28481 * sysvipc/msgctl.c: Likewise.
28482 * sysvipc/msgget.c: Likewise.
28483 * sysvipc/msgrcv.c: Likewise.
28484 * sysvipc/msgsnd.c: Likewise.
28485 * sysvipc/semctl.c: Likewise.
28486 * sysvipc/semget.c: Likewise.
28487 * sysvipc/semop.c: Likewise.
28488 * sysvipc/semtimedop.c: Likewise.
28489 * sysvipc/shmat.c: Likewise.
28490 * sysvipc/shmctl.c: Likewise.
28491 * sysvipc/shmdt.c: Likewise.
28492 * sysvipc/shmget.c: Likewise.
28493 * termios/tcdrain.c: Likewise.
28494 * termios/tcflow.c: Likewise.
28495 * termios/tcflush.c: Likewise.
28496 * termios/tcgetattr.c: Likewise.
28497 * termios/tcgetpgrp.c: Likewise.
28498 * termios/tcsendbrk.c: Likewise.
28499 * termios/tcsetattr.c: Likewise.
28500 * termios/tcsetpgrp.c: Likewise.
28501 * time/adjtime.c: Likewise.
28502 * time/clock.c: Likewise.
28503 * time/getitimer.c: Likewise.
28504 * time/gettimeofday.c: Likewise.
28505 * time/setitimer.c: Likewise.
28506 * time/settimeofday.c: Likewise.
28507 * time/stime.c: Likewise.
28508 * time/time.c: Likewise.
28509
285102012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28511
a20492cf
PT
28512 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28513 /usr/old/bin.
28514
72e182e3
PT
28515 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28516 instead of spaces.
28517 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28518
fbeafede
JM
285192012-11-03 Joseph Myers <joseph@codesourcery.com>
28520
5b5b04d6
JM
28521 [BZ #14796]
28522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28523 FE_TONEAREST before applying Dekker multiplication and Knuth
28524 addition. Clear inexact exceptions and check for exact zero
28525 results afterwards.
28526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28527 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28529 * math/libm-test.inc (fma_test): Add more tests.
28530 (fma_test_towardzero): Likewise.
28531 (fma_test_downward): Likewise.
28532 (fma_test_upward): Likewise.
28533 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28534 function.
28535 (libc_fesetround): New macro.
28536 (libc_fesetroundf): Likewise.
28537 (libc_fesetroundl): Likewise.
28538 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28539 function.
28540 (libc_fesetround_387): Likewise.
28541 (libc_fesetroundf): New macro.
28542 (libc_fesetround): Likewise.
28543 (libc_fesetroundl): Likewise.
28544 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28545 function.
28546 (libc_fesetroundf): New macro.
28547 (libc_fesetround): Likewise.
28548 (libc_fesetroundl): Likewise.
28549 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28550 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28551 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28552 libm_hidden_ver.
28553 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28554 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28555 libm_hidden_def.
28556 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28557 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28558 libm_hidden_ver.
28559 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28560 libm_hidden_def.
28561
fbeafede
JM
28562 [BZ #3439]
28563 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28564 integer constant usable in #if and use that to give value to enum
28565 constant.
28566 (FE_DIVBYZERO): Likewise.
28567 (FE_UNDERFLOW): Likewise.
28568 (FE_OVERFLOW): Likewise.
28569 (FE_INVALID): Likewise.
28570 (FE_INVALID_SNAN): Likewise.
28571 (FE_INVALID_ISI): Likewise.
28572 (FE_INVALID_IDI): Likewise.
28573 (FE_INVALID_ZDZ): Likewise.
28574 (FE_INVALID_IMZ): Likewise.
28575 (FE_INVALID_COMPARE): Likewise.
28576 (FE_INVALID_SOFTWARE): Likewise.
28577 (FE_INVALID_SQRT): Likewise.
28578 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28579 (FE_TONEAREST): Likewise.
28580 (FE_TOWARDZERO): Likewise.
28581 (FE_UPWARD): Likewise.
28582 (FE_DOWNWARD): Likewise.
28583 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28584 (FE_DIVBYZERO): Likewise.
28585 (FE_OVERFLOW): Likewise.
28586 (FE_UNDERFLOW): Likewise.
28587 (FE_INEXACT): Likewise.
28588 (FE_TONEAREST): Likewise.
28589 (FE_DOWNWARD): Likewise.
28590 (FE_UPWARD): Likewise.
28591 (FE_TOWARDZERO): Likewise.
28592 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28593 (FE_UNDERFLOW): Likewise.
28594 (FE_OVERFLOW): Likewise.
28595 (FE_DIVBYZERO): Likewise.
28596 (FE_INVALID): Likewise.
28597 (FE_TONEAREST): Likewise.
28598 (FE_TOWARDZERO): Likewise.
28599 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28600 (FE_OVERFLOW): Likewise.
28601 (FE_UNDERFLOW): Likewise.
28602 (FE_DIVBYZERO): Likewise.
28603 (FE_INEXACT): Likewise.
28604 (FE_TONEAREST): Likewise.
28605 (FE_TOWARDZERO): Likewise.
28606 (FE_UPWARD): Likewise.
28607 (FE_DOWNWARD): Likewise.
28608 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28609 (FE_DIVBYZERO): Likewise.
28610 (FE_OVERFLOW): Likewise.
28611 (FE_UNDERFLOW): Likewise.
28612 (FE_INEXACT): Likewise.
28613 (FE_TONEAREST): Likewise.
28614 (FE_DOWNWARD): Likewise.
28615 (FE_UPWARD): Likewise.
28616 (FE_TOWARDZERO): Likewise.
28617
105ca950
CM
286182012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28619
28620 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28621
a542b389
AS
286222012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28623
28624 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28625 commands. Quote $PWD.
28626 (blacklist_exports): Don't use remove_newlines. Replace "declare
28627 -x" by "export".
28628 (remove_newlines): Remove.
28629
f62c8abc
L
286302012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28631
28632 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28633 * stdlib/stdlib.h (atof): Moved to ...
28634 * include/bits/stdlib-float.h: Here. New file.
28635 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28636 * stdlib/bits/stdlib-float.h: New file.
28637 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28638 -mno-sse -mno-mmx.
28639 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28640 <xmmintrin.h>.
28641
0155d5b2
JM
286422012-11-02 Joseph Myers <joseph@codesourcery.com>
28643
a68d0680
JM
28644 * conform/conformtest.pl (@headers): Add fenv.h.
28645 * conform/data/fenv.h-data: New file.
28646 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28647 include of <math/fenv.h>.
28648
caf7f573
JM
28649 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28650 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28651 && !UNIX98]. Enables tests for XOPEN2K8.
28652 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28653 POSIX2008]: Likewise.
28654
6c073ad6
JM
28655 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28656 (struct rusage): Do not expect type or its members.
28657
0155d5b2
JM
28658 [BZ #3439]
28659 * math/math.h (FP_NAN): Define macro to integer constant usable in
28660 #if and use that to give value to enum constant.
28661 (FP_INFINITE): Likewise.
28662 (FP_ZERO): Likewise.
28663 (FP_SUBNORMAL): Likewise.
28664 (FP_NORMAL): Likewise.
28665
b5dcacb4
AS
286662012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28667
28668 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28669 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28670 arguments.
28671
f7934be8
RM
286722012-11-02 Roland McGrath <roland@hack.frob.com>
28673
28674 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28675 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28676 autoconf-time if not.
28677 * configure.in: Remove AC_PREREQ.
28678
d7d08bde
TMQMF
286792012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28680
28681 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28682 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28683 of the internal implementation.
28684
dcdae19a
JM
286852012-11-02 Joseph Myers <joseph@codesourcery.com>
28686
28687 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28688 except include of <misc/sys/syslog.h>.
28689
d6cffd3e
AS
286902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28691
28692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28693 function returns with a NULL context exit with zero.
28694
b3563932
TMQMF
286952012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28696
28697 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28698
b288a93d
L
286992012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28700
28701 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28702 (run_program_cmd): This.
28703 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28704 (tst_langinfo): New variable. Use it.
28705
a2421a68
SAS
287062012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28707
28708 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28709 floating point opcodes.
28710
6f796e1b
TS
287112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28712
7402596b
TS
28713 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28714 variable.
28715
d0d4f868
TS
28716 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28717
6f796e1b
TS
28718 * sysdeps/mach/hurd/powerpc: Remove directory.
28719 * sysdeps/mach/powerpc: Likewise.
28720
4da224a2
AS
287212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28722
28723 * scripts/check-local-headers.sh: Ignore c++ headers.
28724
341dd673
TS
287252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28726
28727 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28728 __libc_cleanup_region_start argument.
28729
473611b2
JM
287302012-11-01 Joseph Myers <joseph@codesourcery.com>
28731
28732 [BZ #14784]
28733 [BZ #14785]
28734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28735 x * y using scaling, not as x * y + z.
28736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28738 * math/libm-test.inc (fma_test): Add more tests.
28739 (fma_test_towardzero): Likewise.
28740 (fma_test_downward): Likewise.
28741 (fma_test_upward): Likewise.
28742
4078da3d
TS
287432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28744
28745 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28746
903252aa
JM
287472012-10-31 Joseph Myers <joseph@codesourcery.com>
28748
28749 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28750 New variable.
28751
cbc818d0
TS
287522012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28753
28754 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28755
5a03cb1e
AS
287562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28757
28758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28759 Fix sort order.
28760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28761 Likewise.
28762
90aff2ff
TMQMF
287632012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28764
28765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28766 Fix the order of the list for glibc 2.17.
28767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28768 Likewise.
28769
1818fcb7
AS
287702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28771
28772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28773
ef82f4da
JM
287742012-10-31 Joseph Myers <joseph@codesourcery.com>
28775
16a0e2ec
JM
28776 [BZ #14610]
28777 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28778 for low part of x being zero before using __atanl (y).
28779 * math/libm-test.inc (atan2_test): Add another test.
28780
0eb69512
JM
28781 * manual/install.texi (Configuring and compiling): Document
28782 general use of test-wrapper and test-wrapper-env.
28783 * INSTALL: Regenerated.
28784
ef82f4da
JM
28785 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28786 (__fma): Do not extract and scale down low bits on after-rounding
28787 systems when result rounded to normal precision would have normal
28788 exponent.
28789 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28790 (__fmal): Do not extract and scale down low bits on after-rounding
28791 systems when result rounded to normal precision would have normal
28792 exponent.
28793 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28794 (__fmal): Do not extract and scale down low bits on after-rounding
28795 systems when result rounded to normal precision would have normal
28796 exponent.
28797 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28798 macro.
28799 (fma_test): Add more tests.
28800 (fma_test_towardzero): Likewise.
28801 (fma_test_downward): Likewise.
28802 (fma_test_upward): Likewise.
28803
954ef0d9
L
288042012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28805
28806 * sysdeps/i386/tininess.h: Renamed to ...
28807 * sysdeps/x86/tininess.h: This.
28808 * sysdeps/x86_64/tininess.h: Removed.
28809
df61ffb2
JM
288102012-10-30 Joseph Myers <joseph@codesourcery.com>
28811
28812 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28813 input. Use $(build-program-cmd).
28814 ($(objpfx)tst-array1-static.out): Likewise.
28815 ($(objpfx)tst-array2.out): Likewise.
28816 ($(objpfx)tst-array3.out): Likewise.
28817 ($(objpfx)tst-array4.out): Likewise.
28818 ($(objpfx)tst-array5.out): Likewise.
28819 ($(objpfx)tst-array5-static.out): Likewise.
28820
01767843
CM
288212012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28822
47cc1490
CM
28823 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28824 if defined.
28825
01767843
CM
28826 * nss/nsswitch.h (nss_interface_function): Provide new
28827 macro for use with NSS functions.
28828 * grp/initgroups.c: Use new macro.
28829 * nss/getXXbyYY.c: Likewise.
28830 * nss/getXXbyYY_r.c: Likewise.
28831 * nss/getXXent.c: Likewise.
28832 * nss/getXXent_r.c: Likewise.
28833 * sysdeps/posix/getaddrinfo.c: Likewise.
28834
8321aa97
AJ
288352012-10-30 Andreas Jaeger <aj@suse.de>
28836
28837 * po/ru.po: Update Russion translation from translation project.
28838
2a27fd6d
JM
288392012-10-30 Joseph Myers <joseph@codesourcery.com>
28840
8627a232
JM
28841 [BZ #14152]
28842 [BZ #14783]
28843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28844 result and shift together with sticky bit instead of replicating
28845 round-to-nearest rounding.
28846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28848 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28849 missing underflow exceptions.
28850 (fma_test_towardzero): Add more tests.
28851 (fma_test_downward): Likewise.
28852 (fma_test_upward): Likewise.
28853
2a27fd6d
JM
28854 [BZ #14047]
28855 * sysdeps/generic/tininess.h: New file.
28856 * sysdeps/i386/tininess.h: Likewise.
28857 * sysdeps/sh/tininess.h: Likewise.
28858 * sysdeps/x86_64/tininess.h: Likewise.
28859 * stdlib/tst-strtod-underflow.c: Likewise.
28860 * stdlib/tst-tininess.c: Likewise.
28861 * stdlib/strtod_l.c: Include <tininess.h>.
28862 (round_and_return): Do not set errno for exact underflow cases.
28863 Force an underflow exception when setting errno for underflow.
28864 Determine underflow based on rounding to normal precision if
28865 TININESS_AFTER_ROUNDING.
28866 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28867 ERANGE for exact underflow cases.
28868 * stdlib/Makefile (tests): Add tst-tininess and
28869 tst-strtod-underflow.
28870 ($(objpfx)tst-tininess): Use $(link-libm).
28871 ($(objpfx)tst-strtod-underflow): Likewise.
28872
e7170363
AJ
288732012-10-30 Andreas Jaeger <aj@suse.de>
28874
e5088dc6
AJ
28875 [BZ#14767]
28876 * elf/Makefile (tests): Remove conditional for have-initfini-array
28877 since this is now always required and the variable does not exist
28878 anymore.
28879 (tests-static): Likewise.
28880 (modules-names): Likewise.
28881
e7170363 28882 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28883
28884 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28885 merged with constructor/destructor.
28886 (init_array): Likewise.
28887 * elf/tst-array2dep.c (fini_array): Likewise.
28888 (init_array): Likewise.
28889
60457d8a
MF
288902012-10-29 Mike Frysinger <vapier@gentoo.org>
28891
28892 * manual/message.texi: Delete @cartouche tags.
28893
8bece752
PT
288942012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28895
94ce799f
PT
28896 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28897 EOPNOTSUPP.
28898 * sysdeps/mach/hurd/fsync.c: Likewise.
28899
8bece752
PT
28900 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28901 [_POSIX_REALTIME_SIGNALS]: Change condition to
28902 [_POSIX_REALTIME_SIGNALS > 0].
28903
86ebe6b1
AJ
289042012-10-27 Andreas Jaeger <aj@suse.de>
28905
28906 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28907 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28909 [__WORDSIZE != 64]: Likewise.
28910
54399c08
L
289112012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28912
28913 * iconvdata/tst-table.sh: Remove ${SHELL}.
28914 * iconvdata/tst-tables.sh: Likewise.
28915
e2211bed
DM
289162012-10-25 David S. Miller <davem@davemloft.net>
28917
28918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28919 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28920 of strtoull.
28921
f303f97c
DM
28922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28923 ifunc-impl-list.c
28924 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28925 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28926 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28927 file.
28928
1e9d84cd
RM
289292012-10-25 Roland McGrath <roland@hack.frob.com>
28930
28931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28932 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28933 __getdirentries.
28934
df381762
JM
289352012-10-25 Joseph Myers <joseph@codesourcery.com>
28936 Jim Blandy <jimb@codesourcery.com>
28937
28938 * scripts/cross-test-ssh.sh: New file.
28939 * manual/install.texi (Configuring and compiling): Document use of
28940 cross-test-ssh.sh.
28941 * INSTALL: Regenerated.
28942
bff64913
PT
289432012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28944
28945 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28946 EOPNOTSUPP.
28947
25fe8932
JM
289482012-10-25 Joseph Myers <joseph@codesourcery.com>
28949
28950 * Makeconfig (run-program-prefix): Fix comment.
28951
cc1290d0
JM
289522012-10-24 Joseph Myers <joseph@codesourcery.com>
28953 Jim Blandy <jimb@codesourcery.com>
28954
28955 * Makeconfig (test-wrapper): New variable,
28956 (test-wrapper-env): Likewise.
28957 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28958 (run-built-tests): Define to yes.
28959 (run-program-prefix): Use $(test-wrapper).
28960 (built-program-cmd): Likewise.
28961 * Rules (make-test-out): Use $(test-wrapper-env) and
28962 $(host-built-program-cmd).
28963 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28964 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28965 tst-pathopt.sh.
28966 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28967 $(test-wrapper-env) to tst-rtld-load-self.sh.
28968 ($(objpfx)order2.out): Use $(test-wrapper).
28969 ($(objpfx)tst-initorder.out): Likewise.
28970 ($(objpfx)tst-initorder2.out): Likewise.
28971 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28972 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28973 (test_wrapper_env): New variable. Use it to run ld.so.
28974 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28975 Use it to run ld.so.
28976 (test_wrapper_env): Likewise.
28977 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28978 $(test-wrapper) to run-iconv-test.sh.
28979 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28980 (ICONV): Use $test_wrapper.
28981 * posix/Makefile ($(objpfx)globtest.out): Pass
28982 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28983 globtest.sh, not $(run-program-prefix).
28984 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28985 (test_wrapper): Likewise.
28986 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28987 set together with run_via_rtld_prefix.
28988 (run_program_prefix): Define in terms of test_wrapper and
28989 run_via_rtld_prefix.
28990
6e6249d0
RM
289912012-10-24 Roland McGrath <roland@hack.frob.com>
28992
28993 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28994 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28995 Targets removed.
28996
28997 [BZ #14743]
28998 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28999 Declare __clock_getres, __clock_gettime, __clock_settime,
29000 __clock_nanosleep, and __clock_getcpuclockid.
29001 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29002 Remove librt_hidden_def (clock_gettime).
29003 * sysdeps/unix/clock_gettime.c: Likewise.
29004 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29005 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29006 * rt/clock_getres.c: Define __clock_getres as an alias.
29007 * sysdeps/posix/clock_getres.c: Likewise.
29008 * rt/clock_settime.c: Define __clock_settime as an alias.
29009 * sysdeps/unix/clock_settime.c: Likewise.
29010 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29011 * sysdeps/unix/clock_nanosleep.c: Likewise.
29012 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29013 * rt/clock-compat.c: New file.
29014 * rt/Makefile (librt-routines): Add clock-compat and move
29015 $(clock-routines) to ...
29016 (routines): ... here, new variable.
29017 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29018 Don't add get_clockfreq here.
29019 * rt/Versions (libc: GLIBC_2.17): New version set.
29020 Add clock_* symbols here.
29021 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29022 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29023 (GLIBC_2.17): Add clock_* symbols.
29024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29026 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29028 Likewise.
29029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29030 Likewise.
29031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29035 * NEWS: Mention the move.
29036
29037 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29038 Use __open, __read, __close rather than their public counterparts.
29039 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29040 (__get_clockfreq_via_cpuinfo): Likewise.
29041 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29042 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29043
29044 * config.h.in (HAVE_IFUNC): New #undef.
29045 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29046 was successful.
29047 * configure: Regenerated.
29048
0cae3f4b
MF
290492012-10-24 Mike Frysinger <vapier@gentoo.org>
29050
29051 * configure.in: Move READELF check to start of file.
29052 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29053 libc_cv_asm_gnu_indirect_function in the process.
29054 * configure: Regenerated.
29055
8175a253
MF
290562012-10-24 Mike Frysinger <vapier@gentoo.org>
29057
29058 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29059 send the output to /dev/null.
29060 (libc_cv_cc_with_libunwind): Likewise.
29061 (libc_cv_as_noexecstack): Likewise.
29062 * configure: Regenerate.
29063
0708a7d1
JM
290642012-10-24 Joseph Myers <joseph@codesourcery.com>
29065
10b40d85
JM
29066 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29067
0708a7d1
JM
29068 * posix/globtest.sh (TMPDIR): Do not set.
29069 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29070 (testout): Likewise.
29071
9fddec1a
AJ
290722012-10-24 Andreas Jaeger <aj@suse.de>
29073
3a8db22f
AJ
29074 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29075 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29076 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29077 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29078 posix_fadvise64, posix_fallocate64.
29079
9fddec1a
AJ
29080 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29081 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29082 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29083 Likewise.
29084 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29085 Likewise.
29086 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29087
29088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29089 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29090 <bits/fcntl-linux.h>.
29091 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29092
29093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29094 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29095 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29096 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29097 [__WORDSIZE != 64]: Likewise.
29098
ebfd1bbd
JM
290992012-10-23 Joseph Myers <joseph@codesourcery.com>
29100
03ac099f
JM
29101 * Makeconfig (run-built-tests): New variable.
29102 * Rules [$(cross-compiling) = yes]: Change condition to
29103 [$(run-built-tests) = no].
29104 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29105 to [$(run-built-tests) = yes].
29106 * elf/Makefile [$(cross-compiling) = no]: Likewise
29107 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29108 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29109 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29110 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29111 * io/Makefile [$(cross-compiling) = no]: Likewise.
29112 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29113 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29114 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29115 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29116 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29117 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29118 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29119 * string/Makefile [$(cross-compiling) = no]: Likewise.
29120
ebfd1bbd
JM
29121 * posix/Makefile ($(objpfx)globtest.out): Pass
29122 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29123 $(rtld-installed-name).
29124 * posix/globtest.sh (elf_objpfx): Remove variable.
29125 (rtld_installed_name): Likewise.
29126 (library_path): Likewise.
29127 (run_program_prefix): New variable. Use for running globtest
29128 binary.
29129
166bca24
JB
291302012-10-23 Jim Blandy <jimb@codesourcery.com>
29131 Joseph Myers <joseph@codesourcery.com>
29132
29133 * Makeconfig (host-built-program-cmd): New variable.
29134 * elf/Makefile (tst-stackguard1-ARGS): Use
29135 $(host-built-program-cmd).
29136 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29137 (tst-spawn-ARGS): Likewise.
29138 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29139
88866099
JM
291402012-10-23 Joseph Myers <joseph@codesourcery.com>
29141 Jim Blandy <jimb@codesourcery.com>
29142
29143 * Makeconfig (run-via-rtld-prefix): New variable.
29144 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29145 (built-program-cmd): Likewise.
29146
b4b4c296
AJ
291472012-10-22 Andreas Jaeger <aj@suse.de>
29148
29149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29150 __O_RSYNC if it exists, otherwise to O_SYNC.
29151
6fb54a22
JB
291522012-10-22 Jim Blandy <jimb@codesourcery.com>
29153 Joseph Myers <joseph@codesourcery.com>
29154
29155 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29156 /dev/null.
29157 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29158 from /dev/null
29159 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29160 /dev/null.
29161
481b90b9
AJ
291622012-10-22 Andreas Jaeger <aj@suse.de>
29163
2a0e2669
AJ
29164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29165 Define always.
29166 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29167
76e38f9a
AJ
29168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29169 bits/fcntl-linux.h.
29170
7cd37b43
AJ
29171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29172 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29173
481b90b9
AJ
29174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29175 to __O_LARGEFILE.
29176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29177 to __O_LARGEFILE.
29178
aba75984
JB
291792012-10-21 Jim Blandy <jimb@codesourcery.com>
29180 Joseph Myers <joseph@codesourcery.com>
29181
29182 * config.make.in (NM): New variable.
29183
88d4247f
AJ
291842012-10-21 Andreas Jaeger <aj@suse.de>
29185
29186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29187 definitions and declarations that are provided by
29188 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29189
f2eed205
L
291902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29191
29192 [BZ #14683]
29193 * elf/Makefile (tests-static): Add tst-leaks1-static.
29194 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29195 ($(objpfx)tst-leaks1-static): New rule.
29196 ($(objpfx)tst-leaks1-static-mem): Likewise.
29197 (tst-leaks1-static-ENV): New macro.
29198 * elf/dl-open.c (dl_open_worker): Check the main application
29199 only if SHARED is defined.
29200 * elf/tst-leaks1-static.c: New file.
29201
335e6931
AJ
292022012-10-20 Andreas Jaeger <aj@suse.de>
29203
29204 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29205 generic values for Linux.
29206 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29207 and declarations that are provided by <bits/fcntl-linux.h> and
29208 include <bits/fcntl-linux.h>.
29209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29210 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29211
ac5c94d3
RM
292122012-10-20 Roland McGrath <roland@hack.frob.com>
29213
29214 * io/fcntl.h: Move include of <bits/types.h> to the top and
29215 include it unconditionally.
29216
de54b33a
L
292172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29218
228cfb01
L
29219 * wcsmbs/Makefile (tests-ifunc): New variable.
29220 (tests): Add $(tests-ifunc).
29221 * wcsmbs/test-wcschr-ifunc.c: New file.
29222 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29223 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29224 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29225 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29226 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29227
69f07e5f
L
29228 * string/Makefile (tests-ifunc): New variable.
29229 (tests): Add $(tests-ifunc).
29230 * string/test-memccpy.c (TEST_NAME): New macro.
29231 * string/test-memchr.c (TEST_NAME): Likewise.
29232 * string/test-memcmp.c (TEST_NAME): Likewise.
29233 * string/test-memcpy.c (TEST_NAME): Likewise.
29234 * string/test-memmem.c (TEST_NAME): Likewise.
29235 * string/test-memmove.c (TEST_NAME): Likewise.
29236 * string/test-memset.c (TEST_NAME): Likewise.
29237 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29238 * string/test-stpcpy.c (TEST_NAME): Likewise.
29239 * string/test-stpncpy.c (TEST_NAME): Likewise.
29240 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29241 * string/test-strcasestr.c (TEST_NAME): Likewise.
29242 * string/test-strcat.c (TEST_NAME): Likewise.
29243 * string/test-strchr.c (TEST_NAME): Likewise.
29244 * string/test-strcmp.c(TEST_NAME): Likewise.
29245 * string/test-strcpy.c (TEST_NAME): Likewise.
29246 * string/test-strcspn.c (TEST_NAME): Likewise.
29247 * string/test-strlen.c (TEST_NAME): Likewise.
29248 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29249 * string/test-strncmp.c (TEST_NAME): Likewise.
29250 * string/test-strncpy.c (TEST_NAME): Likewise.
29251 * string/test-strnlen.c (TEST_NAME): Likewise.
29252 * string/test-strpbrk.c (TEST_NAME): Likewise.
29253 * string/test-strrchr.c (TEST_NAME): Likewise.
29254 * string/test-strspn.c (TEST_NAME): Likewise.
29255 * string/test-strstr.c (TEST_NAME): Likewise.
29256 * string/test-bcopy-ifunc.c: New file.
29257 * string/test-bzero-ifunc.c: Likewise.
29258 * string/test-memccpy-ifunc.c: Likewise.
29259 * string/test-memchr-ifunc.c: Likewise.
29260 * string/test-memcmp-ifunc.c: Likewise.
29261 * string/test-memcpy-ifunc.c: Likewise.
29262 * string/test-memmem-ifunc.c: Likewise.
29263 * string/test-memmove-ifunc.c: Likewise.
29264 * string/test-mempcpy-ifunc.c: Likewise.
29265 * string/test-memset-ifunc.c: Likewise.
29266 * string/test-rawmemchr-ifunc.c: Likewise.
29267 * string/test-stpcpy-ifunc.c: Likewise.
29268 * string/test-stpncpy-ifunc.c: Likewise.
29269 * string/test-strcasecmp-ifunc.c: Likewise.
29270 * string/test-strcasestr-ifunc.c: Likewise.
29271 * string/test-strcat-ifunc.c: Likewise.
29272 * string/test-strchr-ifunc.c: Likewise.
29273 * string/test-strchrnul-ifunc.c: Likewise.
29274 * string/test-strcmp-ifunc.c: Likewise.
29275 * string/test-strcpy-ifunc.c: Likewise.
29276 * string/test-strcspn-ifunc.c: Likewise.
29277 * string/test-strlen-ifunc.c: Likewise.
29278 * string/test-strncasecmp-ifunc.c: Likewise.
29279 * string/test-strncat-ifunc.c: Likewise.
29280 * string/test-strncmp-ifunc.c: Likewise.
29281 * string/test-strncpy-ifunc.c: Likewise.
29282 * string/test-strnlen-ifunc.c: Likewise.
29283 * string/test-strpbrk-ifunc.c: Likewise.
29284 * string/test-strrchr-ifunc.c: Likewise.
29285 * string/test-strspn-ifunc.c: Likewise.
29286 * string/test-strstr-ifunc.c: Likewise.
29287
de54b33a
L
29288 * debug/Makefile (tests-ifunc): New variable.
29289 (tests): Add $(tests-ifunc).
29290 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29291 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29292 * debug/test-stpcpy_chk-ifunc.c: New file.
29293 * debug/test-strcpy_chk-ifunc.c: Likewise.
29294
88481c16
SP
292952012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29296
29297 [BZ #13601]
29298 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29299 header is not read in.
29300
135948bd
JM
293012012-10-19 Joseph Myers <joseph@codesourcery.com>
29302
89f1c388
JM
29303 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29304 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29305 directly. Pass built executable to script as
29306 $(built-program-cmd).
29307 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29308 $testprogram without using LD_LIBRARY_PATH and $ldso.
29309
e40a0d21
JM
29310 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29311 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29312 $(rtld-installed-name).
29313 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29314 (rtld_installed_name): Likewise.
29315 (library_path): Likewise.
29316 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29317 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29318 $(run-program-prefix) to tst-tables.sh.
29319 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29320 it to run tst-table-from and tst-table-to.
29321 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29322 Pass it to tst-table.sh.
29323 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29324 $(run-program-prefix) to tst-gettext.sh.
29325 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29326 tst-translit.sh.
29327 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29328 tst-gettext2.sh.
29329 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29330 to run tst-gettext.
29331 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29332 to run tst-gettext2.
29333 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29334 to run tst-translit.
29335 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29336 $(run-program-prefix) to tst-mtrace.sh.
29337 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29338 to run tst-mtrace.
29339 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29340 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29341 $(rtld-installed-name).
29342 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29343 (rtld_installed_name): Likewise.
29344 (run_program_prefix): New variable. Use it to run wordexp-test.
29345
728e272a
JM
29346 * Makeconfig (ARCH): Remove all definitions.
29347 (machine): Likewise.
29348 [ARCH]: Remove conditional code.
29349 [!objdir]: Give error.
29350 [!objdir] (objpfx): Remove.
29351 [!objdir] (common-objpfx): Likewise.
29352 [!objdir] (common-objdir): Likewise.
29353 * configure.in (config_makefile): Remove. Hardcode Makefile in
29354 AC_CONFIG_FILES call.
29355 * configure: Regenerated.
29356
d528cdcf
JM
29357 [BZ #13888]
29358 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29359 or TMPDIR.
29360 (testout): Likewise.
29361
135948bd
JM
29362 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29363 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29364 $(rtld-installed-name).
29365 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29366 (rtld_installed_name): Likwise.
29367 (runit): Remove function.
29368 (run_getconf): New variable, Use it for running getconf binary.
29369
38c78296
L
293702012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29371
29372 [BZ #14716]
29373 * string/test-memmem.c (check_result): New function.
29374 (do_one_test): Use it.
29375 (check1): New function.
29376 (test_main): Use it.
29377
d077f65f
MT
293782012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29379
29380 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29381
ced52c71
JM
293822012-10-18 Joseph Myers <joseph@codesourcery.com>
29383
29384 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29385 (_G_LSEEK64): Likewise.
29386 (_G_MMAP64): Likewise.
29387 (_G_FSTAT64): Likewise.
29388 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29389 (_G_LSEEK64): Likewise.
29390 (_G_MMAP64): Likewise.
29391 (_G_FSTAT64): Likewise.
29392 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29393 unconditional. Call __mmap64 directly.
29394 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29395 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29396 __lseek64 directly.
29397 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29398 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29399 __mmap64 directly.
29400 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29401 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29402 __lseek64 directly.
29403 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29404 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29405 __lseek64 directly.
29406 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29407 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29408 __lseek64 directly.
29409 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29410 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29411 __fxstat64 directly.
29412 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29413 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29414 unconditional.
29415 (freopen64) [!_G_OPEN64]: Remove conditional code.
29416 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29417 unconditional.
29418 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29419 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29420 unconditional.
29421 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29422 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29423 unconditional.
29424 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29425 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29426 unconditional.
29427 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29428 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29429 unconditional.
29430 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29431 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29432 unconditional.
29433 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29434 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29435 unconditional.
29436 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29437
b741de23
SP
294382012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29439
29440 [BZ #12140]
29441 * manual/memory.texi (Malloc Tunable Parameters): Add note
29442 about free list pointers overwriting some perturb bytes.
29443 Wording suggested by Roland McGrath.
29444
f9b9d9c9
JM
294452012-10-17 Joseph Myers <joseph@codesourcery.com>
29446
29447 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29448 (lgamma_test): Likewise.
29449 (tgamma_test): Likewise.
29450
172a631a
FW
294512012-10-16 Florian Weimer <fweimer@redhat.com>
29452
29453 [BZ #14700]
29454 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29455 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29456
e9f37252
MK
294572012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29458
29459 * NEWS: Mention BZ #14716.
29460 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29461 when removing AVAILABLE1_USES_J macro.
29462
d394eb74
L
294632012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29464
29465 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29466 (__bswap_64): __uint64_t for unsigned 64-bit int.
29467
ca38dc17
AS
294682012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29469
29470 * include/string.h (memmem): Declare libc hidden alias.
29471 * string/memmem.c (memmem): Define libc hidden alias.
29472 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29473 __read, __close instead of open, read, close.
29474
9a387d1f
L
294752012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29476
ac49ecaf
L
29477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29478 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29479 global and hidden.
29480 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29481 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29482 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29483 Likewise.
29484 (__rawmemchr_sse2): Likewise.
29485 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29486 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29487 (__strchr_sse2): Likewise.
29488 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29489 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29490 (__strcasecmp_sse2): Likewise.
29491 (__strncasecmp_sse2): Likewise.
29492 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29493 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29494 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29495 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29496 (__strrchr_sse2): Likewise.
29497 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29498 ifunc-impl-list.c.
29499 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29500 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29501 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29502 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29503 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29504 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29505 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29506 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29507 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29508 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29509 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29510 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29511 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29512 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29513 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29514 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29515 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29516 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29517 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29518 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29519 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29520 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29521 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29522 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29523 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29524 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29525 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29526 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29527 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29528 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29529
b090e8ea
L
29530 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29531 global and hidden.
29532 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29533 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29534 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29535 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29536 Likewise.
29537 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29538 Likewise.
29539 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29540 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29541 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29542 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29543 ifunc-impl-list.c.
29544 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29545 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29546 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29547 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29548 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29549 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29550 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29551 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29552 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29553 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29554 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29555 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29556 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29557 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29558 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29559 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29560 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29561 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29562 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29563 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29564 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29565 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29566 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29567 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29568 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29569 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29570 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29571 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29572 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29573 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29574 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29575 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29576 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29577 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29578 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29579 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29580 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29581 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29582 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29583 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29584 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29585
11dd4af6
L
29586 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29587 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29588 * include/ifunc-impl-list.h: New file.
29589 * misc/ifunc-impl-list.c: Likewise.
29590 * misc/Makefile (routines): Add ifunc-impl-list.
29591 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29592 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29593 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29594 TEST_NAME]: New variables.
11dd4af6
L
29595 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29596 are defined.
29597 (test_init): Call __libc_ifunc_impl_list to initialize
29598 func_list if TEST_IFUNC and TEST_NAME are defined.
29599
9a387d1f
L
29600 * string/Makefile (strop-tests): Add bcopy and bzero.
29601 * string/test-bcopy.c: New file.
29602 * string/test-bzero.c: Likewise.
29603 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29604 defined.
29605 * string/test-memset.c: Support bzero test if TEST_BZERO is
29606 defined.
29607 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29608 __libc_memmove.
29609 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29610 __libc_memset.
29611 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29612 of memset.
29613
472371b9
JM
296142012-10-10 Joseph Myers <joseph@codesourcery.com>
29615
1e4a9536
JM
29616 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29617 * configure: Regenerated.
29618
d173d12e
JM
29619 * Makeconfig (+link-static-before-libc): Don't include
29620 $(link-static-libc).
29621
472371b9
JM
29622 * libio/libio.h (_IO_pos_t): Remove.
29623
89a3ad0b
AO
296242012-10-10 Alexandre Oliva <aoliva@redhat.com>
29625
29626 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29627 McGrath.
29628
e7451425
AO
296292012-10-10 Alexandre Oliva <aoliva@redhat.com>
29630
29631 * crypt/crypt-entry.c: Include fips-private.h.
29632 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29633 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29634 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29635 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29636
4ba74a35
AO
296372012-10-10 Alexandre Oliva <aoliva@redhat.com>
29638
29639 * crypt/crypt-private.h: Include stdbool.h.
29640 (_ufc_setup_salt_r): Return bool.
29641 * crypt/crypt-entry.c: Include errno.h.
29642 (__crypt_r): Return NULL with EINVAL for bad salt.
29643 * crypt/crypt_util.c (bad_for_salt): New.
29644 (_ufc_setup_salt_r): Check that salt is long enough and within
29645 the specified alphabet.
29646 * crypt/badsalttest.c: New file.
29647 * crypt/Makefile (tests): Add it.
29648 ($(objpfx)badsalttest): New.
29649
f96f1242
MK
296502012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29651
29652 * NEWS: Add entry for BZ #14602.
29653
0e8e0c1c
JM
296542012-10-09 Joseph Myers <joseph@codesourcery.com>
29655
29656 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29657 type-generic.
29658 * math/libm-test.inc: Update comment listing what functions and
29659 macros are tested.
29660 (isgreater_test): New function.
29661 (isgreaterequal_test): Likewise.
29662 (isless_test): Likewise.
29663 (islessequal_test): Likewise.
29664 (islessgreater_test): Likewise.
29665 (isunordered_test): Likewise.
29666 (main): Call the new functions.
29667
273edc5e
RM
296682012-10-09 Roland McGrath <roland@hack.frob.com>
29669
b8493de0
RM
29670 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29671 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29672 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29673 * sysdeps/i386/configure: Regenerated.
29674 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29675 * sysdeps/mach/configure: Regenerated.
29676 * sysdeps/mach/hurd/configure: Regenerated.
29677 * sysdeps/powerpc/configure: Regenerated.
29678 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29679 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29680 * sysdeps/s390/s390-32/configure: Regenerated.
29681 * sysdeps/s390/s390-64/configure: Regenerated.
29682 * sysdeps/sh/configure: Regenerated.
29683 * sysdeps/sparc/configure: Regenerated.
29684 * sysdeps/unix/sysv/linux/configure: Regenerated.
29685 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29686 * sysdeps/x86_64/configure: Regenerated.
29687
273edc5e
RM
29688 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29689 defined. Don't check if MAP is NULL.
29690
c8450f70
JM
296912012-10-09 Joseph Myers <joseph@codesourcery.com>
29692
29693 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29694 (_G_stat64): Likewise.
29695 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29696 (_G_stat64): Likewise.
29697 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29698 instead of struct _G_stat64.
29699 * libio/fileops.c (mmap_remap_check): Likewise.
29700 (decide_maybe_mmap): Likewise.
29701 (_IO_new_file_seekoff): Likewise.
29702 (_IO_file_stat): Likewise.
29703 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29704 _G_off64_t.
29705 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29706 instead of struct _G_stat64.
29707 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29708
57e605ba
MK
297092012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29710
29711 [BZ #14602]
29712 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29713 Replace with ...
29714 (CHECK_EOL): New macro.
29715 (two_way_short_needle): Check beginning of haystack for EOL. Use
29716 CHECK_EOL.
29717 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29718 Replace with CHECK_EOL.
29719 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29720 Replace with CHECK_EOL.
29721
ef1bb361
JM
297222012-10-08 Joseph Myers <joseph@codesourcery.com>
29723
29724 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29725 type-generic.
29726 * math/libm-test.inc: Update comment listing what functions and
29727 macros are tested.
29728 (finite_test): New function.
29729 (isinf_test): Likewise.
29730 (isnan_test): Likewise.
29731 (fpclassify_test): Test subnormal input.
29732 (isfinite_test): Likewise.
29733 (isnormal_test): Likewise.
29734 (main): Call the new functions.
29735
55f11534
JN
297362012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29737
29738 [BZ #14660]
29739 * Makerules (%.dynsym): Force C locale when running
29740 $(OBJDUMP) --dynamic-syms.
29741
1ab29350
AS
297422012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29743
29744 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29745 <stdint.h>.
29746
f1ecb7ef
DM
297472012-10-06 David S. Miller <davem@davemloft.net>
29748
29749 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29750 upper 32-bits of the length value in %o2 since we use branch-on-register
29751 tests which consider the entire 64-bit register.
29752
5d41d91a
L
297532012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29754
29755 * string/test-strstr.c (check2): Add a test for page boundary.
29756
3baddb72
DM
297572012-10-05 David S. Miller <davem@davemloft.net>
29758
29759 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29760 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29761 file.
29762 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29763 sysdep_routines.
29764 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29765 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29766 and bzero when HWCAP_SPARC_CRYPTO is present.
29767
9cee5585
L
297682012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29769
d7e0dab9
L
29770 [BZ #14602]
29771 * string/test-strstr.c (check2): New function.
29772 (test_main): Call check2.
29773
03759f47
L
29774 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29775 and bug-strchr1.
29776 * string/bug-strcasestr1.c (do_test): Moved to ...
29777 * string/test-strcasestr.c (check1): Here. New function.
29778 (do_one_test): Break out result checking code into ...
29779 (check_result): This. New function.
29780 (do_one_test): Call check_result.
29781 (test_main): Call check1.
29782 * string/bug-strchr1.c (do_test): Moved to ...
29783 * string/test-strchr.c (check1): Here. New function.
29784 (do_one_test): Break out result checking code into ...
29785 (check_result): This. New function.
29786 (do_one_test): Call check_result.
29787 (test_main): Call check1.
29788 * string/bug-strstr1.c (main): Moved to ...
046f153e 29789 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29790 (do_one_test): Break out result checking code into ...
29791 (check_result): This. New function.
29792 (do_one_test): Call check_result.
29793 (test_main): Call check1.
29794 * string/bug-strcasestr1.c: Removed.
29795 * string/bug-strchr1.c: Likewise.
29796 * string/bug-strstr1.c: Likewise.
29797
53cea63e
L
29798 * elf/Makefile (dl-routines): Add hwcaps.
29799 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29800 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29801 (_dl_important_hwcaps): Moved to ...
29802 * elf/dl-hwcaps.c: Here. New file.
29803 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29804
9cee5585 29805 [BZ #14557]
bb859b06
L
29806 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29807 if IS_IN_rtld isn't defined.
29808
9cee5585
L
29809 * elf/dl-support.c (_dl_sysinfo_map): New.
29810 Include "get-dynamic-info.h" and "setup-vdso.h".
29811 (_dl_non_dynamic_init): Call setup_vdso.
29812 * elf/dynamic-link.h: Don't include <assert.h>.
29813 (elf_get_dynamic_info): Moved to ...
29814 * elf/get-dynamic-info.h: Here. New file.
29815 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29816 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29817 * elf/setup-vdso.h: Here. New file.
29818 * elf/rtld.c: Include "setup-vdso.h".
29819 (dl_main): Call setup_vdso.
29820
23c31b76
JM
298212012-10-05 Joseph Myers <joseph@codesourcery.com>
29822
28234b07
JM
29823 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29824 creal in comment listing functions tested. List finite, isinf,
29825 isnan, isless, islessequal, isgreater, isgreaterequal,
29826 islessgreater, isunordered, lgamma_r and pow10 as functions and
29827 macros not tested. Mention which functions not tested are aliases
29828 for other functions. Fix typo. Note that signs of NaNs are not
29829 tested.
29830
23c31b76
JM
29831 * scripts/config.guess: Update from config.git.
29832 * scripts/config.sub: Likewise.
29833
9043e228
RM
298342012-10-04 Roland McGrath <roland@hack.frob.com>
29835
29836 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29837 * misc/madvise.c (madvise): Renamed to __madvise.
29838 Make madvise a weak alias.
29839 * include/sys/mman.h: Declare __madvise.
29840 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29841 * sysdeps/unix/syscalls.list
29842 (madvise): Make __madvise the strong name, and madvise a weak alias.
29843 * sysdeps/unix/sysv/linux/syscalls.list
29844 (madvise, mmap): Remove redundant entries.
29845 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29846 * malloc/malloc.c (mtrim): Likewise.
29847 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29848
f57f8055
RM
298492012-10-03 Roland McGrath <roland@hack.frob.com>
29850
29851 * sysdeps/mach/hurd/dl-cache.c: File removed.
29852 * config.h.in (USE_LDCONFIG): New #undef.
29853 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29854 * configure: Regenerated.
29855 * elf/Makefile (dl-routines): Add dl-cache only under
29856 [$(use-ldconfig) = yes].
29857 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29858 cache on [USE_LDCONFIG].
29859 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29860 [USE_LDCONFIG].
29861 * elf/rtld.c (dl_main): Likewise.
29862
5bb0c10a
PT
298632012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29864
29865 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29866 _SC_LEVEL4_CACHE_LINESIZE.
29867
010188c6
RM
298682012-10-03 Roland McGrath <roland@hack.frob.com>
29869
29870 * sysdeps/unix/bsd/confstr.h: File removed.
29871
b6c5ec07
AO
298722012-10-02 Alexandre Oliva <aoliva@redhat.com>
29873
29874 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29875 sys/sdt-config.h.
29876
408223d4
RM
298772012-10-02 Roland McGrath <roland@hack.frob.com>
29878
29879 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29880 Make 'mapoff' field ElfW(Off) rather than off_t.
29881
bb9510dc
DL
298822012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29883
fc997c6e
DL
29884 * nscd/Makefile: Remove nscd-cflags and all its users.
29885 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29886 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29887
bb9510dc
DL
29888 [BZ #10631]
29889 * malloc.c (malloc_printerr): Clarify error message.
29890
05699367
L
298912012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29892
29893 [BZ #14648]
29894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29895 Set bit_FMA_Usable if FMA is supported.
29896 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29897 macro.
29898 (bit_FMA4_Usable): Updated.
29899 (index_FMA_Usable): New macro.
29900 (CPUID_FMA): Likewise
29901 (HAS_FMA): Defined with bit_FMA_Usable.
29902
51367701
RM
299032012-10-01 Roland McGrath <roland@hack.frob.com>
29904
29905 * bits/types.h (__swblk_t): Type removed.
29906 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29907 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29908 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29909 (__SWBLK_T_TYPE): Likewise.
29910 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29911 (__SWBLK_T_TYPE): Likewise.
29912 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29913 (__SWBLK_T_TYPE): Likewise.
29914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29915 (__SWBLK_T_TYPE): Likewise.
29916
4d57bf63 299172012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29918 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29919
29920 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29921 (xdr_mapname): Use YPMAXMAP as maxsize.
29922 (xdr_peername): Use YPMAXPEER as maxsize.
29923 (xdr_keydat): Use YPAXRECORD as maxsize.
29924 (xdr_valdat): Use YPMAXRECORD as maxsize.
29925
93c65d43
RM
299262012-10-01 Roland McGrath <roland@hack.frob.com>
29927
497a03d6
RM
29928 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29929
93c65d43
RM
29930 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29931 * csu/init-first.c: ... here.
29932 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29933 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29934 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29935 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29936 * sysdeps/i386/init-first.c: File removed.
29937 * sysdeps/sh/init-first.c: File removed.
29938
bec749fd
JM
299392012-10-01 Joseph Myers <joseph@codesourcery.com>
29940
29941 [BZ #14645]
29942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29943 if x * y might underflow to zero and z is zero.
29944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29946 * math/libm-test.inc (min_subnorm_value): New variable.
29947 (fma_test): Add more tests.
29948 (fma_test_towardzero): Likewise.
29949 (fma_test_downward): Likewise
29950 (fma_test_upward): Likewise.
29951 (initialize): Set min_subnorm_value.
29952
8ec5b013
JM
299532012-09-29 Joseph Myers <joseph@codesourcery.com>
29954
29955 [BZ #14638]
29956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29957 0 + 0.
29958 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29959 mode for addition resulting in exact zero.
29960 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29962 exact 0 + 0.
29963 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29964 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29965 * math/libm-test.inc (fma_test): Add more tests.
29966 (fma_test_towardzero): New function.
29967 (fma_test_downward): Likewise.
29968 (fma_test_upward): Likewise.
29969 (main): Call the new functions.
29970
b1fa802e
DM
299712012-09-28 David S. Miller <davem@davemloft.net>
29972
29973 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29974
d3b9fd9e
RM
299752012-09-28 Roland McGrath <roland@hack.frob.com>
29976
ea4d37b3
RM
29977 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29978 instead of SIGALRM.
29979
ac51c949
RM
29980 * sysdeps/gnu/_G_config.h: Moved to ...
29981 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29982 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29983 * sysdeps/generic/_G_config.h: ... here.
29984
28c195f7
RM
29985 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29986
848917f9
RM
29987 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29988
6bacf05b
RM
29989 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29990 Conditionalize target on [libnss_test1.so-version].
29991
91363dbb
RM
29992 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29993
cc87f7d8
RM
29994 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29995 (elfobjdir): Move out of conditionals.
29996
b1c608fe
RM
29997 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29998 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29999 (__nss_lookup_function): Conditionalize label remove_from_tree on
30000 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30001
1d9a6d96
DM
300022012-09-28 David S. Miller <davem@davemloft.net>
30003
30004 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30005 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30006 file.
30007 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30008 sysdep_routines.
30009 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30011 when HWCAP_SPARC_CRYPTO is present.
30012
72581615
PT
300132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30014
30015 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30016
715a900c
JL
300172012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30018
30019 [BZ #6530]
30020 * stdio-common/vfprintf.c (process_string_arg): Revert
30021 2000-07-22 change.
30022
300232011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30024
30025 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30026 for testcase.
30027 * stdio-common/tst-sprintf.c: Include <locale.h>
30028 (main): Test sprintf's handling of incomplete multibyte
30029 characters.
30030
9bac1d86
L
300312012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30032
30033 * elf/dl-runtime.c (VERSYMIDX): Removed.
30034 * elf/dl-version.c (VERSYMIDX): Likewise.
30035 * elf/do-rel.h (VERSYMIDX): Likewise.
30036 (VALIDX): Likewise.
30037 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30038 * elf/rtld.c (VALIDX): Likewise.
30039 (ADDRIDX): Likewise.
9bac1d86
L
30040 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30041 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30042 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30043 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30044 (VALIDX): Likewise.
30045 (ADDRIDX): Likewise.
9bac1d86 30046
b31606c0
PT
300472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30048
30049 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30050
11541177
JL
300512012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30052
30053 [BZ #11438]
30054 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30055 to global scope.
30056 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30057 addresses are in the same scope as 192.0.2/24.
30058 * posix/gai.conf: Document new scope table defaults.
30059
adb26fae
SP
300602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30061
30062 [BZ #5298]
30063 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30064 for ftell. Compute offsets from write pointers instead.
30065 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30066
4573c6b0
SP
300672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30068
30069 [BZ #14543]
30070 * libio/Makefile (tests): New test case tst-fseek.
30071 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30072 combination works in wide mode.
30073 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30074 state when the external buffer state changes.
30075
aa9bbfe6
DM
300762012-09-27 David S. Miller <davem@davemloft.net>
30077
30078 [BZ #14376]
30079 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30080 pass reloc->r_addend in as the 'high' argument to
30081 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30082
784421e7
DM
30083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30084
c39bc8b8
PT
300852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30086
30087 * rt/tst-aio2.c: Include <pthread.h>.
30088 * rt/tst-aio3.c: Likewise.
30089
1ccc2399
SE
300902012-09-27 Steve Ellcey <sellcey@mips.com>
30091
30092 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30093
31ed4153
L
300942012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30095
25f5f885
L
30096 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30097 contents on [SHARED].
31ed4153 30098
b7bfe116
MP
300992012-09-26 Marek Polacek <polacek@redhat.com>
30100
30101 [BZ #14530]
30102 [BZ #13741]
30103 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30104 for C++ and GCC <4.3 as well as for non GCC compilers.
30105
43c4edba
MT
301062012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30107
30108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30109
6a1bf82f
RM
301102012-09-25 Roland McGrath <roland@hack.frob.com>
30111
30112 * Makefile.in (all, install): Declare with .PHONY.
30113 Reported by Michael Hope <michael.hope@linaro.org>.
30114
8ad11b9a
TMQMF
301152012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30116
30117 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30118 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30119 system header.
30120 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30121 Likewise.
30122 (sydep_routines): Add the new and the internal functions.
30123 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30124 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30126 (GLIBC_2.17): Add the new function.
30127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30128 (GLIBC_2.17): Likewise.
30129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30130 (GLIBC_2.17): Likewise.
30131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30132 (GLIBC_2.17): Likewise.
30133 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30134
7e2fca8d
AM
301352012-09-25 Alan Modra <amodra@gmail.com>
30136
30137 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30138 Add release barrier before setting once_control to say
30139 initialisation is done. Add hints on lwarx. Use macro in
30140 place of isync.
30141 (clear_once_control): Add release barrier.
30142
b87c4b24
JM
301432012-09-25 Joseph Myers <joseph@codesourcery.com>
30144
d032e0d2
JM
30145 [BZ #13629]
30146 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30147 specially.
30148 * math/s_clog10.c (__clog10): Likewise.
30149 * math/s_clog10f.c (__clog10f): Likewise.
30150 * math/s_clog10l.c (__clog10l): Likewise.
30151 * math/s_clogf.c (__clogf): Likewise.
30152 * math/s_clogl.c (__clogl): Likewise.
30153 * math/Makefile (libm-calls): Add x2y2m1.
30154 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30155 (__x2y2m1): Likewise.
30156 (__x2y2m1l): Likewise.
30157 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30158 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30159 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30160 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30161 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30162 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30163 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30164 * sysdeps/i386/fpu/libm-test-ulps: Update.
30165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30166
b87c4b24
JM
30167 [BZ #14621]
30168 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30169 int as type of variable DEPTH.
30170 (glob): Use size_t instead of int as type of variables NEWCOUNT
30171 and OLD_PATHC.
30172
6d3bf199
LD
301732012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30174
22bf5c17
LD
30175 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30176 Add s_sincosf-sse2.
30177 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30178 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30179 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30180 macros for using routine as __sincosf_ia32.
30181 Use macro for function declaration and weak_alias.
30182 * sysdeps/i386/fpu/libm-test-ulps: Update.
30183
30184 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30186
30187 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30188 subnormal argument.
30189 * math/s_cexpf.c (__cexpf): Likewise.
30190 * math/s_csinf.c (__csinf): Likewise.
30191 * math/s_csinhf.c (__csinhf): Likewise.
30192 * math/s_ctanf.c (__ctanf): Likewise.
30193 * math/s_ctanhf.c (__ctanhf): Likewise.
30194 * math/s_ccosh.c (__ccoshf): Likewise.
30195 * math/s_cexp.c (__cexpl): Likewise.
30196 * math/s_csin.c (__csin): Likewise.
30197 * math/s_csinh.c (__csinh): Likewise.
30198 * math/s_ctan.c (__ctan): Likewise.
30199 * math/s_ctanh.c (ctanh): Likewise.
30200 * math/s_ccoshl.c (__ccoshl): Likewise.
30201 * math/s_cexpl.c (__cexpl): Likewise.
30202 * math/s_csinl.c (__csinl): Likewise.
30203 * math/s_csinhl.c (__csinhl): Likewise.
30204 * math/s_ctanl.c (__ctanl): Likewise.
30205 * math/s_ctanhl.c (__ctanhl): Likewise.
30206
203e5603
JM
302072012-09-25 Joseph Myers <joseph@codesourcery.com>
30208
30209 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30210 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30211 (_IO_off_t): Define to __off_t, not _G_off_t.
30212 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30213 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30214 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30215 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30216 type of __dummy and __dummy2 fields.
30217 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30218 (_G_ssize_t): Likewise.
30219 (_G_off_t): Likewise.
30220 (_G_pid_t): Likewise.
30221 (_G_uid_t): Likewise.
30222 (_G_wchar_t): Likewise.
30223 (_G_wint_t): Likewise.
30224 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30225 (_G_ssize_t): Likewise.
30226 (_G_off_t): Likewise.
30227 (_G_pid_t): Likewise.
30228 (_G_uid_t): Likewise.
30229 (_G_wchar_t): Likewise.
30230 (_G_wint_t): Likewise.
30231 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30232 (_G_ssize_t): Likewise.
30233 (_G_off_t): Likewise.
30234 (_G_pid_t): Likewise.
30235 (_G_uid_t): Likewise.
30236 (_G_wchar_t): Likewise.
30237 (_G_wint_t): Likewise.
30238
9fab36eb
SP
302392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30240
30241 * malloc/arena.c: Include malloc-sysdep.h.
30242 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30243 is sufficient to shrink the heap or an unmap is needed.
30244 * sysdeps/generic/malloc-sysdep.h: New file. Define
30245 new function check_may_shrink_heap.
30246 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30247 new function check_may_shrink_heap.
30248
2b4f00d1
SP
302492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30250
30251 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30252 comments.
30253
9a9028b1
DL
302542012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30255
57c69bef
DL
30256 * catgets/test-gencat.sh: Add "set -e".
30257 * elf/tst-pathopt.sh: Likewise.
30258 * grp/tst_fgetgrent.sh: Likewise.
30259 * iconvdata/run-iconv-test.sh: Likewise.
30260 * intl/tst-gettext.sh: Likewise.
30261 * intl/tst-gettext2.sh: Likewise.
30262 * intl/tst-gettext4.sh: Likewise.
30263 * intl/tst-gettext6.sh: Likewise.
30264 * intl/tst-translit.sh: Likewise.
30265 * io/ftwtest-sh: Likewise.
30266 * libio/test-freopen.sh: Likewise.
30267 * malloc/tst-mtrace.sh: Likewise.
30268 * posix/globtest.sh: Likewise.
30269 * posix/tst-getconf.sh: Likewise.
30270 * posix/wordexp-tst.sh: Likewise.
30271 * stdio-common/tst-printf.sh: Likewise.
30272 * stdio-common/tst-unbputc.sh: Likewise.
30273 * stdlib/tst-fmtmsg.sh: Likewise.
30274 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30275 * catgets/Makefile: Do not specify -e option when running
30276 testsuite shell scripts.
30277 * elf/Makefile: Likewise.
30278 * grp/Makefile: Likewise.
30279 * iconvdata/Makefile: Likewise.
30280 * intl/Makefile: Likewise.
30281 * io/Makefile: Likewise.
30282 * libio/Makefile: Likewise.
30283 * malloc/Makefile: Likewise.
30284 * posix/Makefile: Likewise.
30285 * stdio-common/Makefile: Likewise.
30286 * stdlib/Makefile: Likewise.
30287 * sysdeps/x86_64/Makefile: Likewise.
30288
9a9028b1
DL
30289 * io/ftwtest-sh: Add copyright header.
30290 * posix/globtest.sh: Likewise.
30291 * posix/tst-getconf.sh: Likewise.
30292 * posix/wordexp-tst.sh: Likewise.
30293 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30294
ced6f16e
L
302952012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30296
94b32c39
L
30297 [BZ #13679]
30298 * Makeconfig (+link): Defined as $(+link-static) if
30299 $(build-shared) isn't yes.
30300 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30301 isn't yes.
30302 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30303
189e935b
L
30304 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30305
ced6f16e
L
30306 [BZ #14562]
30307 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30308 new chunk size with MALLOC_ALIGN_MASK.
30309
a9f8e53a
JM
303102012-09-24 Joseph Myers <joseph@codesourcery.com>
30311
30312 [BZ #5044]
30313 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30314 <rounding-mode.h>.
30315 (__printf_fphex): Determine rounding using get_rounding_mode and
30316 round_away.
30317 * stdio-common/tst-printf-round.c (struct hex_test): New
30318 structure.
30319 (hex_tests): New variable.
30320 (test_hex_in_one_mode): New function.
30321 (do_test): Also run tests for hex float output.
30322
43153109
JM
303232012-09-21 Joseph Myers <joseph@codesourcery.com>
30324
30325 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30326 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30327 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30328 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30329 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30330 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30331 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30332 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30333
8a26625d
JM
303342012-09-20 Joseph Myers <joseph@codesourcery.com>
30335
30336 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30337 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30338 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30339 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30340
f3fd569c
DL
303412012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30342
30343 [BZ #14579]
30344 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30345 mode only.
30346 * elf/tst-rtld-load-self.sh: New test.
30347 * elf/Makefile: Run it.
30348
63bbedd4
JM
303492012-09-18 Joseph Myers <joseph@codesourcery.com>
30350
30351 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30352 (tst-writev-ENV): Remove.
30353 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30354
626f8b6a
CM
303552012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30356
30357 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30358
b7aaa4d6
JM
303592012-09-17 Joseph Myers <joseph@codesourcery.com>
30360
30361 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30362 unconditional.
30363 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30364 Likewise.
30365 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30366 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30367 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30368 Likewise.
30369
65513990
L
303702012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30371
30372 [BZ #14587]
30373 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30374 * config.make.in (have-cpp-asm-debuginfo): Removed.
30375 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30376 * configure: Regenerated.
30377
784761be
JM
303782012-09-14 Joseph Myers <joseph@codesourcery.com>
30379
30380 [BZ #5044]
30381 * stdio-common/printf_fp.c: Include <stdbool.h> and
30382 <rounding-mode.h>.
30383 (___printf_fp): Determine rounding using get_rounding_mode and
30384 round_away.
30385 * stdio-common/tst-printf-round.c: New file.
30386 * stdio-common/Makefile (tests): Add tst-printf-round.
30387 (link-libm): New variable.
30388 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30389
9503345f
L
303902012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30391
30392 [BZ #14576]
30393 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30394 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30395 Likewise.
30396 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30397 Likewise.
30398
ad35fc00
JM
303992012-09-13 Joseph Myers <joseph@codesourcery.com>
30400
30401 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30402 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30403 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30404 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30405
6c9b0f68
JM
304062012-09-12 Joseph Myers <joseph@codesourcery.com>
30407
30408 [BZ #14518]
30409 * include/rounding-mode.h: New file.
30410 * sysdeps/generic/get-rounding-mode.h: Likewise.
30411 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30412 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30413 (MAX_VALUE): New macro.
30414 (MIN_VALUE): Likewise.
30415 (overflow_value): New function.
30416 (underflow_value): Likewise.
30417 (round_and_return): Use overflow_value and underflow_value to
30418 determine return values in overflow and underflow cases. Use
30419 round_away to determine rounding depending on rounding mode.
30420 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30421 determine return values in overflow and underflow cases.
30422 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30423 (struct test_results): New structure.
30424 (struct test): Use struct test_results to store expected results
30425 for all rounding modes.
30426 (TEST): Include expected results for all rounding modes.
30427 (test_in_one_mode): New function.
30428 (do_test): Use test_in_one_mode to compute and check results.
30429 Check results for all rounding modes.
30430 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30431 $(link-libm).
30432
19fcedd5
AM
304332012-12-09 Allan McRae <allan@archlinux.org>
30434
1e9d84cd 30435 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30436
8bbfd2f1
JM
304372012-09-11 Joseph Myers <joseph@codesourcery.com>
30438
30439 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30440 (_G_int32_t): Likewise.
30441 (_G_uint16_t): Likewise.
30442 (_G_uint32_t): Likewise.
30443 (_G_HAVE_BOOL): Likewise.
30444 (_G_HAVE_ATEXIT): Likewise.
30445 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30446 (_G_HAVE_IO_FILE_OPEN): Likewise.
30447 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30448 (_G_int32_t): Likewise.
30449 (_G_uint16_t): Likewise.
30450 (_G_uint32_t): Likewise.
30451 (_G_HAVE_BOOL): Likewise.
30452 (_G_HAVE_ATEXIT): Likewise.
30453 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30454 (_G_HAVE_IO_FILE_OPEN): Likewise.
30455 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30456 (_G_int32_t): Likewise.
30457 (_G_uint16_t): Likewise.
30458 (_G_uint32_t): Likewise.
30459 (_G_HAVE_BOOL): Likewise.
30460 (_G_HAVE_ATEXIT): Likewise.
30461 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30462 (_G_HAVE_IO_FILE_OPEN): Likewise.
30463
b1dc5912
L
304642012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30465
30466 * csu/libc-tls.c: Update copyright years.
30467
0e886ef9
JM
304682012-09-10 Joseph Myers <joseph@codesourcery.com>
30469
28361c5e
JM
30470 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30471 [!_G_USING_THUNKS]: Remove conditional code.
30472 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30473 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30474
0e886ef9
JM
30475 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30476 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30477 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30478 (_G_VTABLE_LABEL_PREFIX): Likewise.
30479 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30480 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30481 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30482 (_G_VTABLE_LABEL_PREFIX): Likewise.
30483 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30484 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30485 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30486 (_G_VTABLE_LABEL_PREFIX): Likewise.
30487 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30488
bcba7aa2
L
304892012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30490
30491 * libio/Makefile: Include ../Makeconfig before tests.
30492 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30493 only if $(build-shared) is yes.
30494
06585ee8
L
30495 * iconv/gconv_db.c: Update copyright years.
30496
80ccd52c
LD
304972012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30498
30499 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30500 unwind info if defined PIC. Fix special cases description.
30501 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30502
30503 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30504 DP_HI_MASK entry.
30505 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30506
691bc9c1
L
305072012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30508
3d9b46b3
L
30509 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30510
de2139a9
L
30511 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30512 is NULL.
30513
5ca78dd0
L
30514 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30515 (LDLIBS-tst-chk4): This.
30516 (LDFLAGS-tst-chk5): Renamed to ...
30517 (LDLIBS-tst-chk5): This.
30518 (LDFLAGS-tst-chk6): Renamed to ...
30519 (LDLIBS-tst-chk6): This.
30520 (LDFLAGS-tst-lfschk4): Renamed to ...
30521 (LDLIBS-tst-lfschk4): This.
30522 (LDFLAGS-tst-lfschk5): Renamed to ...
30523 (LDLIBS-tst-lfschk5): This.
30524 (LDFLAGS-tst-lfschk6): Renamed to ...
30525 (LDLIBS-tst-lfschk6): This.
30526
691bc9c1
L
30527 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30528 on $(common-objpfx)soversions.mk.
30529
65cafb1c
JM
305302012-09-07 Joseph Myers <joseph@codesourcery.com>
30531
30532 [BZ #10014]
30533 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30534 example host name.
30535
c78ab094
SP
305362012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30537
30538 * malloc/arena.c (arena_get_retry): New function that gets
30539 another arena for the caller to try its request on.
30540 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30541 current arena cannot fulfill the request.
30542 (__libc_memalign): Likewise.
30543 (__libc_memalign): Likewise.
30544 (__libc_pvalloc): Likewise.
30545 (__libc_calloc): Likewise.
30546
01f49f59
JT
305472012-09-05 John Tobey <john.tobey@gmail.com>
30548
30549 [BZ #13542]
30550 * manual/arith.texi (Operations on Complex): Fix description
30551 of carg branch cut.
30552
4c23fed5
JM
305532012-09-06 Joseph Myers <joseph@codesourcery.com>
30554
1d3c8572
JM
30555 [BZ #10014]
30556 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30557 host name.
30558
4c23fed5
JM
30559 [BZ #10038]
30560 * manual/memory.texi (Memory): Make order of menu items match
30561 order of sections.
30562
04570aaa
L
305632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30564
30565 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30566 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30567 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30568
b80af2f4
L
305692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30570
30571 * csu/libc-tls.c (static_dtv): Renamed to ...
30572 (_dl_static_dtv): This. Make it global.
30573 (_dl_initial_dtv): Removed.
30574 (__libc_setup_tls): Updated.
30575 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30576 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30577 DL_INITIAL_DTV.
30578
2abe9f15
PM
305792012-09-06 Petr Machata <pmachata@redhat.com>
30580
30581 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30582 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30583 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30584 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30585
0948c3af
L
305862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30587
30588 [BZ #14545]
30589 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30590 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30591 freeing dtv[-1].
30592
a5055ad1
L
305932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30594
30595 [BZ #14544]
30596 * Makeconfig (link-static-before-libc): Replace $(+prector)
30597 with $(+prectorT).
30598 (link-static-after-libc): Replace $(+postctor) with
30599 $(+postctorT).
30600 (link-bounded): Replace $(+prector)/$(+postctor) with
30601 $(+prectorT)/$(+postctorT).
30602 (+prectorT): New macro.
30603 (+postctorT): Likewise.
30604
ed8c2ecd
JM
306052012-09-06 Joseph Myers <joseph@codesourcery.com>
30606
30607 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30608 (round_str): Handle values above the maximum for IBM long double
30609 as inexact.
30610 * stdlib/tst-strtod-round.c (tests): Regenerated.
30611
14c996c8
AK
306122012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30613
30614 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30615 assembler flag.
30616 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30617 zarch_nohighgprs around the zarch optimized routines.
30618 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30619 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30620 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30621 for zarch.
30622
430d6ce6
DM
306232012-09-05 David S. Miller <davem@davemloft.net>
30624
30625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30626
57f41c40
AS
30627 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30628 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30629 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30630 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30631 entries.
30632
24d4e01b
AO
306332012-09-05 Alexandre Oliva <aoliva@redhat.com>
30634
30635 * malloc/arena.c: Fold copyright years.
30636 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30637
61d58174
AO
306382012-09-05 Alexandre Oliva <aoliva@redhat.com>
30639
30640 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30641
20196a5e
AO
306422012-09-05 Alexandre Oliva <aoliva@redhat.com>
30643
30644 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30645
5c447383
AO
306462012-09-05 Alexandre Oliva <aoliva@redhat.com>
30647
30648 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30649 change internal state upon failure.
30650
fad64255
AO
306512012-09-05 Alexandre Oliva <aoliva@redhat.com>
30652
30653 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30654 * malloc/memusage.c (mmap): Likewise.
30655 (mmap64, mremap): Likewise. Adjust name in comment.
30656
1ffb8c90
SP
306572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30658
30659 * libio/fileops.c: Fix typos in comments.
30660 * libio/oldfileops.c: Likewise.
30661 * libio/wfileops.c: Likewise.
30662
6ef9cc37
SP
306632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30664
30665 [BZ #1349]
30666 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30667 (tst-malloc-usable-ENV): Set environment for test case.
30668 * malloc/hooks.c (malloc_check_get_size): New function to get
30669 requested size.
30670 * malloc/malloc.c (musable): Use malloc_check_get_size.
30671 * malloc/tst-malloc-usable.c: New test case.
30672
4d038ae3
AS
306732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30674
30675 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30676
c4e85184
AM
306772012-09-05 Allan McRae <allan@archlinux.org>
30678
b9dafc56 30679 [BZ #13966]
c4e85184
AM
30680 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30681 determine header location.
30682 * configure: Regenerated.
30683
e1343020
AS
306842012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30685
30686 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30687 float format.
30688 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30689 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30690 format.
e1343020
AS
30691 (test): Regenerate.
30692
0a9f1987
DM
306932012-09-04 David S. Miller <davem@davemloft.net>
30694
30695 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30696 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30697 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30698
29237804
FW
306992012-09-04 Florian Weimer <fweimer@redhat.com>
30700
30701 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30702 failures.
30703
edb3cb88
FW
30704 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30705
60160d83
JM
307062012-09-04 Joseph Myers <joseph@codesourcery.com>
30707
30708 [BZ #9914]
30709 * libio/iogetdelim.c: Include <limits.h>.
30710 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30711 + len + 1 would overflow.
30712
bcd6c8dc
AJ
307132012-09-03 Andreas Jaeger <aj@suse.de>
30714
30715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30716 * sysdeps/i386/fpu/libm-test-ulps: Update.
30717
4ffffbd2
LD
307182012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30719
30720 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30721 Add s_sinf-sse2, s_conf-sse2.
30722
30723 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30724 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30725 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30726 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30727
30728 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30729 for using routine as __sinf_ia32.
30730 Use macro for function declaration and weak_alias.
30731 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30732 for using routine as __cosf_ia32.
30733 Use macro for function declaration and weak_alias.
30734
30735 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30736 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30737
30738 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30739 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30741
30742 * math/libm-test.inc (cos_test): Add more test cases.
30743 (sin_test): Likewise.
30744 (sincos_test): Likewise.
30745
511fa286
AK
307462012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30747
30748 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30749 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30750 hidden.
30751 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30752
5f30cfec
L
307532012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30754
30755 [BZ #14538]
30756 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30757 first element of the GOT.
30758 (elf_machine_load_address): Return the difference between
30759 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30760
0786794f
AM
307612012-09-01 Allan McRae <allan@archlinux.org>
30762
5f30cfec
L
30763 [BZ #13412]
30764 * configure.in (AWK): Require gawk version 3.0 or later.
30765 * configure: Regenerated.
0786794f 30766
26889eac
JM
307672012-09-01 Joseph Myers <joseph@codesourcery.com>
30768
30769 * sysdeps/unix/sysv/linux/kernel-features.h
30770 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30771 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30772 [__NR_clock_getres]: Make code unconditional.
30773 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30774 (clock_getcpuclockid): Remove code left unreachable by removal of
30775 conditionals.
30776 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30777 code unconditional.
30778 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30779 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30780 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30781 Make code unconditional.
30782 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30783 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30784 * sysdeps/unix/sysv/linux/clock_settime.c
30785 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30786 conditional code.
30787 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30788 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30789
d22e28b0
L
307902012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30791
30792 [BZ #14476]
30793 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30794 scripts/test-installation.pl.
30795
30796 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30797 and $ld_so_version if it is set.
30798
050af9c4
SP
307992012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30800
30801 [BZ #14516]
30802 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30803 failure if reading from procfs failed.
30804 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30805
ad845c0b
JM
308062012-08-27 Joseph Myers <joseph@codesourcery.com>
30807
30808 * sysdeps/unix/sysv/linux/kernel-features.h
30809 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30810 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30811 Remove conditional code.
30812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30813 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30814 Remove conditional code.
30815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30816 * sysdeps/unix/sysv/linux/i386/fxstat.c
30817 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30819 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30820 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30822 * sysdeps/unix/sysv/linux/i386/lxstat.c
30823 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30825 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30826 Remove conditional code.
30827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30828 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30829 Remove conditional code.
30830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30831 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30832 <kernel-features.h>.
30833 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30834 Remove.
30835 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30836 Remove conditional code.
30837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30838 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30839 Remove conditional.
30840
5dbf56af
MF
308412012-08-27 Mike Frysinger <vapier@gentoo.org>
30842
30843 [BZ #5400]
30844 * NEWS: Add fixed bug number.
30845
d6e70f43
JM
308462012-08-27 Joseph Myers <joseph@codesourcery.com>
30847
7efb4737
JM
30848 [BZ #14519]
30849 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30850 underflowing exponent in case of negative sign.
30851 * stdlib/tst-strtod-round-data: Add more tests.
30852 * stdlib/tst-strtod-round.c (tests): Regenerated.
30853
af92131a
JM
30854 [BZ #3479]
30855 * stdlib/strtod_l.c (NDIG): Remove.
30856 (HEXNDIG): Likewise.
30857 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30858 smallest representable value.
30859 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30860 lie within an exact representation of 1/2 ulp of the result.
30861 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30862 unconditionally.
30863 (TENS_P9_IDX): Define unconditionally.
30864 (TENS_P9_SIZE): Likewise.
30865 (TENS_P10_IDX): Likewise.
30866 (TENS_P10_SIZE): Likewise.
30867 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30868 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30869 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30870 entries for 10^2^13 and 10^2^14.
30871 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30872 (TENS_P13_IDX): Define.
30873 (TENS_P13_SIZE): Likewise.
30874 (TENS_P14_IDX): Likewise.
30875 (TENS_P14_SIZE): Likewise.
30876 (_fpioconst_pow10): Change array size to
30877 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30878 unconditional.
30879 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30880 1024]: Add entries for 10^2^13 and 10^2^14.
30881 [LAST_POW10 > _LAST_POW10]: Remove #error.
30882 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30883 (_fpioconst_pow10): Change array size to
30884 FPIOCONST_POW10_ARRAY_SIZE.
30885 * stdlib/gen-fpioconst.c: New file.
30886 * stdlib/gen-tst-strtod-round.c: Likewise.
30887 * stdlib/tst-strtod-round-data: Likewise.
30888 * stdlib/tst-strtod-round.c: Likewise.
30889 * stdlib/Makefile (tests): Add tst-strtod-round.
30890
d6e70f43
JM
30891 [BZ #14459]
30892 * stdlib/strtod_l.c: Include <stdint.h>.
30893 (NDEBUG): Do not define.
30894 (round_and_return): Change EXPONENT parameter to type intmax_t.
30895 Rearrange calculations to avoid internal overflow possibilities.
30896 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30897 Rearrange calculations to avoid internal overflow possibilities.
30898 Assert that number fits inside MPNSIZE limbs.
30899 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30900 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30901 calculations and add assertions to avoid internal overflow
30902 possibilities. Add casts to avoid signed/unsigned operations.
30903 * stdlib/tst-strtod-overflow.c: New file.
30904 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30905
1f529f7d
MP
309062012-08-25 Marek Polacek <polacek@redhat.com>
30907
30908 * time/time.h: Fix some typos in comments.
30909
59a629f1
RM
309102012-08-23 Roland McGrath <roland@hack.frob.com>
30911
30912 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30913 * posix/tst-rfc3484-2.c: Likewise.
30914 * posix/tst-rfc3484-3.c: Likewise.
30915
d3bafbc9
SM
309162012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30917
30918 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30919 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30920
4efcc022
JM
309212012-08-23 Joseph Myers <joseph@codesourcery.com>
30922
30923 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30924 #include of fxstatat64.c.
30925
3cc3ef96
RM
309262012-08-22 Roland McGrath <roland@hack.frob.com>
30927
f04e2132
RM
30928 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30929 * shadow/getspent_r.c: Likewise.
30930 * shadow/getspnam.c: Likewise.
30931 * shadow/getspnam_r.c: Likewise.
30932 * gshadow/getsgent.c: Likewise.
30933 * gshadow/getsgent_r.c: Likewise.
30934 * gshadow/getsgnam.c: Likewise.
30935 * gshadow/getsgnam_r.c: Likewise.
30936 * inet/getnetbyad.c: Likewise.
30937 * inet/getnetbyad_r.c: Likewise.
30938 * inet/getnetbynm.c: Likewise.
30939 * inet/getnetbynm_r.c: Likewise.
30940 * inet/getnetent.c: Likewise.
30941 * inet/getnetent_r.c: Likewise.
30942 * inet/getproto.c: Likewise.
30943 * inet/getproto_r.c: Likewise.
30944 * inet/getprtent.c: Likewise.
30945 * inet/getprtent_r.c: Likewise.
30946 * inet/getprtname.c: Likewise.
30947 * inet/getprtname_r.c: Likewise.
30948 * inet/getrpcbyname.c: Likewise.
30949 * inet/getrpcbyname_r.c: Likewise.
30950 * inet/getrpcbynumber.c: Likewise.
30951 * inet/getrpcbynumber_r.c: Likewise.
30952 * inet/getrpcent.c: Likewise.
30953 * inet/getrpcent_r.c: Likewise.
30954 * inet/getaliasent.c: Likewise.
30955 * inet/getaliasent_r.c: Likewise.
30956 * inet/getaliasname.c: Likewise.
30957 * inet/getaliasname_r.c: Likewise.
30958 * nscd/getgrgid_r.c: Likewise.
30959 * nscd/getgrnam_r.c: Likewise.
30960 * nscd/gethstbyad_r.c: Likewise.
30961 * nscd/gethstbynm3_r.c: Likewise.
30962 * nscd/getpwnam_r.c: Likewise.
30963 * nscd/getpwuid_r.c: Likewise.
30964 * nscd/getsrvbynm_r.c: Likewise.
30965 * nscd/getsrvbypt_r.c: Likewise.
30966 * nscd/gai.c: Likewise.
30967
c53d909c
RM
30968 * configure.in (build_nscd): New substituted variable, set
30969 by --disable-build-nscd and defaults to $use_nscd.
30970 * configure: Regenerated.
30971 * config.make.in (build-nscd): New substituted variable.
30972 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30973 Change conditional to require [$(build-nscd) = yes] as well.
30974 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30975
3cc3ef96
RM
30976 [BZ# 13696]
30977 * configure.in (use_nscd): New substituted variable, set by
30978 --disable-nscd. If enabled, define USE_NSCD.
30979 * configure: Regenerated.
30980 * config.h.in: Add USE_NSCD.
30981 * config.make.in (use-nscd): New substituted variable.
30982 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30983 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30984 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30985 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30986 (CFLAGS-getgrnam_r.c): Likewise.
30987 (CFLAGS-initgroups.c): Likewise.
30988 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30989 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30990 Variables removed.
30991 * inet/getnetgrent_r.c
30992 (nscd_setnetgrent): New function, broken out of ...
30993 (setnetgrent): ... here. Call it.
30994 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30995 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30996 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30997 * nscd/Makefile (routines, aux): Move definitions after include of
30998 Makeconfig. Conditionalize on [$(use-nscd) != no].
30999 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31000 Conditionalize on [USE_NSCD].
31001 (is_nscd, nscd_init_cb): Likewise.
31002 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31003 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31004 * nss/nss_db/db-init.c: Likewise.
31005 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31006 [USE_NSCD].
31007 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31008 (make_request): Use it.
31009 (cache_valid_p): New function.
31010 (__check_pf): Use it.
31011 * NEWS: Add item for --disable-nscd.
31012
07e51550
DL
310132012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31014
31015 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31016 to support sed >= 4.2.1-20-ga9bf076.
31017 * configure: Regenerated.
31018
35a5b08b
RM
310192012-08-22 Roland McGrath <roland@hack.frob.com>
31020
31021 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31022 Conditionalize whole body on [IREL].
31023
8479f23a
JL
310242012-08-22 Jeff Law <law@redhat.com>
31025
31026 [BZ #14505]
31027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31028 if the family is PF_UNSPEC.
31029
48da0b21
MF
310302012-08-22 Mike Frysinger <vapier@gentoo.org>
31031
31032 * Makerules (lib-version): Rename from V.
31033 (install-lib-nosubdir): Change V to lib-version.
31034
15d0da8c
WS
310352012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31036
31037 [BZ #14252]
31038 * powerpc32/power6/wcschr.c: New file.
31039 * powerpc32/power6/wcscpy.c: New file.
31040 * powerpc32/power6/wcsrchr.c: New file.
31041 * powerpc64/power6/wcschr.c: New file.
31042 * powerpc64/power6/wcscpy.c: New file.
31043 * powerpc64/power6/wcsrchr.c: New file.
31044
bcca0895
MK
310452012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31046
31047 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31048 (two_way_short_needle): Use it.
5a4aaa33
RM
31049 * string/strstr.c (AVAILABLE1_USES_J): Define.
31050 * string/strcasestr.c: Likewise.
99677e57
MK
31051
31052 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31053 array references.
31054 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31055
400726de
MK
31056 [BZ #11607]
31057 * NEWS: Add an entry.
31058 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31059 define their defaults.
31060 (two_way_short_needle): Detect end-of-string on-the-fly.
31061 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31062 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31063 * string/bug-strcasestr1.c: New test.
31064 * string/Makefile: Run it.
31065
20a71f2c
MK
310662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31067
31068 [BZ #11607]
31069 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31070 the first character.
31071
21ad0558
RM
310722012-08-21 Roland McGrath <roland@hack.frob.com>
31073
31074 * csu/elf-init.c (__libc_csu_irel): Function removed.
31075 * csu/libc-start.c (apply_irel): New function.
31076 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31077
0e1d9911
JM
310782012-08-21 Joseph Myers <joseph@codesourcery.com>
31079
31080 * sysdeps/unix/sysv/linux/kernel-features.h
31081 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31082 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31083 <kernel-features.h>.
31084 [__NR_fadvise64_64]: Make code unconditional.
31085 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31086 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31087 !__NR_fadvise64_64)]: Likewise.
31088 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31089 !__NR_fadvise64_64))]: Likewise.
31090 [__NR_fadvise64]: Make code unconditional.
31091 [!__NR_fadvise64]: Remove conditional code.
31092 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31093 <kernel-features.h>.
31094 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31095 unconditional.
31096 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31097 conditional code.
31098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31099 not include <kernel-features.h>.
31100 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31101 unconditional.
31102 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31103 conditional code.
31104 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31105 include <kernel-features.h>.
31106 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31107 unconditional.
31108 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31109 conditional code.
31110
14a50c9d
WS
311112012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31112
31113 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31114 slight instruction rearrangements per scrollpipe analysis.
31115 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31116
c0f4faf0
RM
311172012-08-20 Roland McGrath <roland@hack.frob.com>
31118
696da859
RM
31119 * manual/syslog.texi (syslog; vsyslog, closelog):
31120 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31121 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31122
c0f4faf0
RM
31123 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31124 DSOCAPS to match condition on defining it.
31125
348363b2
JM
311262012-08-20 Joseph Myers <joseph@codesourcery.com>
31127
a35cbf28
JM
31128 * sysdeps/unix/sysv/linux/kernel-features.h
31129 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31131 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31132 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31134 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31135 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31137 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31138 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31139
445f7ecd
JM
31140 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31141 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31142
348363b2
JM
31143 * sysdeps/unix/sysv/linux/kernel-features.h
31144 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31145 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31146 unconditional.
31147 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31148 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31149 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31150 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31151 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31152 Make code unconditional.
31153 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31154 (__mmap64) [!__NR_mmap2]: Likewise.
31155 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31156 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31157 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31158 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31159 [__NR_mmap2]: Make code unconditional.
31160 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31161 (__mmap64) [!__NR_mmap2]: Likewise.
31162
bc5bc0e5
AK
311632012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31164
31165 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31166
88d506de
AJ
311672012-08-18 Andreas Jaeger <aj@suse.de>
31168
31169 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31170
493387d2
MF
311712012-08-18 Mike Frysinger <vapier@gentoo.org>
31172
31173 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31174 * include/unistd.h (__have_sock_cloexec): Likewise.
31175 (__have_pipe2): Likewise.
31176 (__have_dup3): Likewise.
31177
a277af22
MF
311782012-08-18 Mike Frysinger <vapier@gentoo.org>
31179
31180 [BZ #9685]
31181 * include/unistd.h (__have_pipe2): Change define into an extern int.
31182 (__have_dup3): Likewise.
31183 * socket/have_sock_cloexec.c: Include fcntl.h.
31184 (__have_pipe2): New variable.
31185 (__have_dup3): Likewise.
31186
fdab8fd3
MF
311872012-08-17 Mike Frysinger <vapier@gentoo.org>
31188
31189 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31190
31035e80
MP
311912012-08-17 Marek Polacek <polacek@redhat.com>
31192
31193 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31194 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31195
3bd9e993
RM
311962012-08-17 Roland McGrath <roland@hack.frob.com>
31197
c91c505f
RM
31198 * configure.in: Add AC_SUBST for sysheaders.
31199 * configure: Regenerated.
31200 * config.make.in (sysheaders): New substituted variable.
31201
7c6f9d53
RM
31202 * sysdeps/unix/mkfifo.c: Moved ...
31203 * sysdeps/posix/mkfifo.c: ... here.
31204 * sysdeps/unix/mkfifoat.c: Moved ...
31205 * sysdeps/posix/mkfifoat.c: ... here.
31206
31207 * sysdeps/unix/utime.c: Moved ...
31208 * sysdeps/posix/utime.c: ... here.
31209
31210 * sysdeps/unix/time.c: Moved ...
31211 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31212 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31213 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31214
31215 * sysdeps/unix/nice.c: Moved ...
31216 * sysdeps/posix/nice.c: ... here.
31217
31218 * sysdeps/unix/alarm.c: Moved ...
31219 * sysdeps/posix/alarm.c: ... here.
31220
3bd9e993
RM
31221 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31222
d1f09384
JL
312232012-08-17 Jeff Law <law@redhat.com>
31224
31225 * intl/Makefile (codeset_mo): New variable.
31226 ($(codeset_mo)): New target.
31227 (tst-codeset.out): Depend on that. Remove explicit rule.
31228 (tst-gettext3.out, tst-gettext5.out): Likewise.
31229 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31230 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31231 * intl/tst-codeset.sh: Remove.
31232 * intl/tst-gettext3.sh: Likewise.
31233 * intl/tst-gettext5.sh: Likewise.
31234
2ae1ae5c
RM
312352012-08-17 Roland McGrath <roland@hack.frob.com>
31236
c31fdb83
RM
31237 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31238 * sysdeps/unix/syscalls.list: ... here.
31239
a0844057
RM
31240 * sysdeps/posix/getaddrinfo.c
31241 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31242 (gaiconf_init, gaiconf_reload): Use them.
31243 [!_STATBUF_ST_NSEC]
31244 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31245 Define using time_t rather than struct timespec.
31246
750c1f2a
RM
31247 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31248 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31249 Macros removed.
31250 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31251 [!NO_THREADS].
31252 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31253 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31254 Likewise.
31255
2ae1ae5c
RM
31256 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31257 __libc_cleanup_push argument.
31258
e66a42f5
RM
31259 * bits/param.h: New file.
31260 * misc/sys/param.h: New file.
31261 * include/sys/param.h: New file.
31262 * misc/Makefile (headers): Add bits/param.h.
31263 * sysdeps/generic/sys/param.h: File removed.
31264 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31265 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31266 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31267 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31268
b7c08a66
RM
31269 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31270 last change.
31271
b2e1c562
RM
31272 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31273 [_IO_MTSAFE_IO].
31274 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31275 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31276 New macros.
31277
c75ccd4c
RM
31278 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31279 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31280 rather than -D_IO_MTSAFE_IO conditionally.
31281 * stdio-common/Makefile (CPPFLAGS): Likewise.
31282 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31283 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31284 Use $(libio-mtsafe).
31285 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31286 of -D_IO_MTSAFE_IO.
31287 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31288 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31289 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31290 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31291 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31292 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31293 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31294 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31295 (CFLAGS-fread_u_chk.c): Likewise.
31296 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31297 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31298 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31299 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31300 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31301 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31302 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31303 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31304 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31305
31306 * libio/Makefile: Test [$(libc-reentrant) = yes]
31307 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31308
31309 * Makeconfig
31310 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31311 * sysdeps/pthread/configure: File removed.
31312 * sysdeps/pthread/Makeconfig: New file.
31313 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31314 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31315
d9195db8
GB
313162012-08-16 Gary Benson <gbenson@redhat.com>
31317
31318 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31319 unmapping the first object in a namespace.
31320
86466cd9
RM
313212012-08-16 Roland McGrath <roland@hack.frob.com>
31322
31323 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31324 (__internal_setnetgrent): ... this. Add internal_function to
31325 definition. Add libc_hidden_def.
31326 (setnetgrent): Update caller.
31327 (internal_endnetgrent): Renamed to ...
31328 (__internal_endnetgrent): ... this. Add internal_function to
31329 definition. Add libc_hidden_def.
31330 (endnetgrent): Update caller.
31331 (internal_getnetgrent_r): Renamed to ...
31332 (__internal_getnetgrent_r): ... this. Add internal_function to
31333 definition. Add libc_hidden_def.
31334 (__getnetgrent_r): Update caller.
31335 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31336
c3c8283c
JM
313372012-08-16 Joseph Myers <joseph@codesourcery.com>
31338
31339 * stdlib/longlong.h: Update from GCC.
31340
db1ee0a8
RM
313412012-08-16 Roland McGrath <roland@hack.frob.com>
31342
31343 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31344 on _QL, which is set by umul_ppmm but never used.
31345 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31346 variables, which are set by GMP macros but never used.
31347 * stdio-common/_itowa.c (_itowa): Likewise.
31348 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31349 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31350
30f69637
CD
313512012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31352
31353 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31354 struct La_sh_regs is not constant.
31355 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31356 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31357 and struct La_sparc64_regs are not constant.
31358
93a78ac4
JM
313592012-08-16 Joseph Myers <joseph@codesourcery.com>
31360
31361 * sysdeps/unix/sysv/linux/kernel-features.h
31362 (__ASSUME_POSIX_TIMERS): Remove.
31363 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31364 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31365 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31366 Make code unconditional.
31367 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31368 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31369 Make code unconditional.
31370 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31371 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31372 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31374 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31375 Make code unconditional.
31376 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31377 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31378 (__libc_missing_posix_timers): Remove.
31379
dd924cd7
RM
313802012-08-15 Roland McGrath <roland@hack.frob.com>
31381
4b4f2771
RM
31382 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31383 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31384
601c888b
RM
31385 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31386
176790a7
RM
31387 * elf/dl-sym.c: Include <stdlib.h>.
31388
329bc018
RM
31389 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31390 constants, which avoids warnings in 32-bit builds.
31391
e04e272d
RM
31392 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31393 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31394
952bf94a
RM
31395 * misc/lseek.c: File moved to ...
31396 * io/lseek.c: ... here.
31397
7c99b50a
RM
31398 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31399
dd924cd7
RM
31400 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31401 shifting LEN more than 31 bits at once.
31402
b3f479a8
LD
314032012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31404
31405 [BZ #14195]
8c4ae0d4
RM
31406 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31407 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31408 * string/test-strncasecmp.c (check1): Renamed to...
31409 (bz12205): ...this.
31410 (bz14195): Add new testcase for two empty input strings and N > 0.
31411 (test_main): Call new testcase, adapt for renamed function.
31412
9c55864e
AJ
314132012-08-15 Andreas Jaeger <aj@suse.de>
31414
31415 [BZ #14090]
31416 * crypt/md5test2.c: New test, based on test supplied by Serge
31417 Belyshev <belyshev@depni.sinp.msu.ru>.
31418 * crypt/Makefile (xtests): Add md5test-giant..
31419 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31420
02dcb6c5
PE
314212012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31422
31423 [BZ #14090]
31424 * crypt/md5.c (md5_process_block): Don't assume the buffer
31425 length is less than 2**32.
31426 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31427 length is less than 2**64.
31428
a3f95dcc
RM
314292012-08-15 Roland McGrath <roland@hack.frob.com>
31430
be75d758
RM
31431 * string/str-two-way.h: Include <sys/param.h>.
31432 (MAX): Macro removed.
31433
7312ca90
RM
31434 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31435 Move #define and #undef of memmove to just before and after
31436 including <string.h>.
31437
9a0a5486
RM
31438 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31439 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31440 and after including <string.h>. Move declarations of
31441 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31442 to before #include "string/memmove.c".
31443
67cc348d
RM
31444 * include/dirent.h: Declare __getdirentries.
31445
a3f95dcc
RM
31446 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31447 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31448
ca98e171
MF
314492012-08-14 Mike Frysinger <vapier@gentoo.org>
31450
31451 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31452 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31453 * sysdeps/i386/configure: Regenerated.
31454 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31455 STABS_CURRENT_FILE, and STABS_FUN.
31456 (END): Remove call to STABS_FUN_END.
31457 (STABS_CURRENT_FILE1): Delete.
31458 (STABS_CURRENT_FILE): Likewise.
31459 (STABS_FUN): Likewise.
31460 (STABS_FUN_END): Likewise.
31461 (STABS_FUN2): Likewise.
31462 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31463 * sysdeps/x86_64/configure: Regenerated.
31464
5908bf46
RM
314652012-08-14 Roland McGrath <roland@hack.frob.com>
31466
31467 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31468 * elf/dl-lookup.c: Likewise.
5908bf46 31469
f2c05b9e
JM
314702012-08-14 Joseph Myers <joseph@codesourcery.com>
31471
31472 * sysdeps/unix/sysv/linux/kernel-features.h
31473 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31474 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31475 unconditionally.
31476 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31477 unconditionally.
31478 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31479 condition on __ASSUME_CLONE_THREAD_FLAGS.
31480
e11f5155
AJ
314812012-08-14 Andreas Jaeger <aj@suse.de>
31482
31483 * sysdeps/i386/fpu/libm-test-ulps: Update.
31484
51a9ba86
MK
314852012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31486
2fdd4f78
AJ
31487 * include/atomic.h (atomic_exchange_and_add): Split into ...
31488 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31489 New atomic macros.
51a9ba86 31490
ba6cba9e
MT
314912012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31492
31493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31494
42443a47
JL
314952012-08-13 Jeff Law <law@redhat.com>
31496
31497 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31498 null byte in the output string.
31499
121dce05
JM
315002012-08-10 Joseph Myers <joseph@codesourcery.com>
31501
31502 * sysdeps/unix/sysv/linux/kernel-features.h
31503 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31504 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31505 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31506 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31507 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31508 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31509 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31510
bf51f568
JL
315112012-08-09 Jeff Law <law@redhat.com>
31512
31513 [BZ #13939]
31514 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31515 When avoid_arena is set, don't retry in the that arena. Pick the
31516 next one, whatever it might be.
31517 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31518 (arena_lock): Pass in new parameter to arena_get2.
31519 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31520 arena_get2.
31521 (__libc_malloc): Unify retrying after main arena failure with
31522 __libc_memalign version.
31523 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31524
f85fa270
L
315252012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31526
31527 [BZ #14166]
31528 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31529 to __redirect_strstr.
31530 (__strstr_sse42): Use typeof __redirect_strstr.
31531 (__strstr_ia32): Likewise.
31532 (__libc_strstr): New prototype.
31533 (strstr): Renamed to ...
31534 (__libc_strstr): This.
31535 (strstr): New strong alias of __libc_strstr.
31536 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31537 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31538 __redirect_time.
31539 Include <time.h>.
31540 (__libc_time): New prototype.
31541 (time_ifunc): Replace time with __libc_time.
31542 (time): New strong alias and hidden definition of __libc_time.
31543 (__GI_time): Remove strong alias.
31544 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31545 Include <stddef.h>.
31546 (memmove): Redefined to __redirect_memmove.
31547 (__memmove_sse2): Use typeof __redirect_memmove.
31548 (__memmove_ssse3): Likewise.
31549 (__memmove_ssse3_back): Likewise.
31550 (__libc_memmove): New prototype.
31551 (memmove): Renamed to ...
31552 (__libc_memmove): This.
31553 (memmove): New strong alias of __libc_memmove.
31554
33b4a91e
MS
315552012-08-08 Mark Salter <msalter@redhat.com>
31556
31557 * elf/elf.h
31558 (R_MN10300_TLS_GD): Define.
31559 (R_MN10300_TLS_LD): Likewise.
31560 (R_MN10300_TLS_LDO): Likewise.
31561 (R_MN10300_TLS_GOTIE): Likewise.
31562 (R_MN10300_TLS_IE): Likewise.
31563 (R_MN10300_TLS_LE): Likewise.
31564 (R_MN10300_TLS_DTPMOD): Likewise.
31565 (R_MN10300_TLS_DTPOFF): Likewise.
31566 (R_MN10300_TLS_TPOFF): Likewise.
31567 (R_MN10300_SYM_DIFF): Likewise.
31568 (R_MN10300_ALIGN): Likewise.
31569 (R_MN10300_NUM): Update.
31570
b36137f1
JM
315712012-08-08 Joseph Myers <joseph@codesourcery.com>
31572
31573 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31574 Remove.
31575
cdd915fd
RM
315762012-08-08 Roland McGrath <roland@hack.frob.com>
31577
a2433aac
RM
31578 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31579
cdd915fd
RM
31580 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31581 sysdeps/unix -> sysdeps/posix move.
31582 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31583
bf9b740a
AM
315842012-08-07 Allan McRae <allan@archlinux.org>
31585
31586 [BZ #14303]
31587 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31588 (SUNOS_CPP): Likewise.
31589 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31590 not found.
31591 (open_input): Call CPP using execvp.
31592
93df14ee
JM
315932012-08-07 Joseph Myers <joseph@codesourcery.com>
31594
31595 * sysdeps/unix/sysv/linux/kernel-features.h
31596 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31597 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31598 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31599 (__ASSUME_WAITID_SYSCALL): Likewise.
31600 * sysdeps/unix/sysv/linux/dl-execstack.c
31601 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31602 code unconditional.
31603 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31604 conditional code.
31605 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31606 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31607 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31608 code.
31609 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31610 unconditional.
31611 [__ASSUME_WAITID_SYSCALL]: Likewise.
31612 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31613
d34689de
RM
316142012-08-07 Roland McGrath <roland@hack.frob.com>
31615
a281decc
RM
31616 * sysdeps/unix/closedir.c: Renamed to ...
31617 * sysdeps/posix/closedir.c: ... here.
31618 * sysdeps/unix/dirfd.c: Renamed to ...
31619 * sysdeps/posix/dirfd.c: ... here.
31620 * sysdeps/unix/dirstream.h: Renamed to ...
31621 * sysdeps/posix/dirstream.h: ... here.
31622 * sysdeps/unix/fdopendir.c: Renamed to ...
31623 * sysdeps/posix/fdopendir.c: ... here.
31624 * sysdeps/unix/opendir.c: Renamed to ...
31625 * sysdeps/posix/opendir.c: ... here.
31626 * sysdeps/unix/readdir.c: Renamed to ...
31627 * sysdeps/posix/readdir.c: ... here.
31628 * sysdeps/unix/readdir_r.c: Renamed to ...
31629 * sysdeps/posix/readdir_r.c: ... here.
31630 * sysdeps/unix/rewinddir.c: Renamed to ...
31631 * sysdeps/posix/rewinddir.c: ... here.
31632 * sysdeps/unix/seekdir.c: Renamed to ...
31633 * sysdeps/posix/seekdir.c: ... here.
31634 * sysdeps/unix/telldir.c: Renamed to ...
31635 * sysdeps/posix/telldir.c: ... here.
31636 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31637 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31638 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31639 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31640
22895b47
RM
31641 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31642 * bits/fcntl.h: ... here.
31643
707a53b6
RM
31644 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31645 not 0.
31646 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31647 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31648 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31649 (struct flock): Move l_start, l_len to the beginning.
31650 Use __pid_t for l_pid.
31651 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31652 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31653 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31654 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31655 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31656 [__USE_LARGEFILE64] (struct flock64): New type.
31657 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31658
f0bd3e25
RM
31659 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31660 * bits/dirent.h: ... here.
31661
d34689de
RM
31662 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31663 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31664
6dad2c06
JM
316652012-08-07 Joseph Myers <joseph@codesourcery.com>
31666
31667 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31668 Change from 2.6.0 to 2.6.16.
31669 * sysdeps/unix/sysv/linux/configure: Regenerated.
31670 * sysdeps/unix/sysv/linux/kernel-features.h
31671 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31672 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31673 version.
31674 (__ASSUME_UTIMES): Likewise.
31675 (__ASSUME_CLONE_STOPPED): Remove.
31676 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31677 architectures, not kernel version.
31678 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31679 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31680 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31681 (__ASSUME_WAITID_SYSCALL): Likewise.
31682 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31683 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31684 * README: State 2.6.16 as minimum Linux kernel version. Do not
31685 refer to older versions.
31686
03af9520
RM
316872012-08-06 Roland McGrath <roland@hack.frob.com>
31688
8e49df1d
RM
31689 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31690 Define alphasort64 as an alias.
31691 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31692 Define versionsort64 as an alias.
31693 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31694 Define scandir64 as an alias.
31695 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31696 Define scandirat64 as an alias.
31697 * dirent/alphasort64.c (alphasort64):
31698 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31699 * dirent/versionsort64.c: Likewise.
31700 * dirent/scandir64.c: Likewise.
31701 * dirent/scandirat64.c: Likewise.
31702 * sysdeps/wordsize-64/alphasort.c: File removed.
31703 * sysdeps/wordsize-64/alphasort64.c: File removed.
31704 * sysdeps/wordsize-64/scandir.c: File removed.
31705 * sysdeps/wordsize-64/scandir64.c: File removed.
31706 * sysdeps/wordsize-64/scandirat.c: File removed.
31707 * sysdeps/wordsize-64/scandirat64.c: File removed.
31708 * sysdeps/wordsize-64/versionsort.c: File removed.
31709 * sysdeps/wordsize-64/versionsort64.c: File removed.
31710 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31711 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31712 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31713 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31714 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31715 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31716 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31717 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31718
31719 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31721 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31722 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31723 [defined __arch64__ || defined __sparcv9]
31724 (__INO_T_MATCHES_INO64_T): New macro.
31725 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31726 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31727 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31728 * sysdeps/unix/sysv/linux/bits/dirent.h
31729 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31730 (_DIRENT_MATCHES_DIRENT64): New macro.
31731
03af9520
RM
31732 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31733 Define lockf64 as an alias.
31734 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31735 Define fseeko64 as an alias.
31736 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31737 Define ftello64 as an alias.
31738 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31739 Define _IO_fgetpos64 and fgetpos64 as aliases.
31740 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31741 Define _IO_fsetpos64 and fsetpos64 as aliases.
31742 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31743 Conditionalize body on this.
31744 * libio/fseeko64.c: Likewise.
31745 * libio/ftello64.c: Likewise.
31746 * libio/iofgetpos64.c: Likewise.
31747 * libio/iofsetpos64.c: Likewise.
31748 * sysdeps/wordsize-64/lockf.c: File removed.
31749 * sysdeps/wordsize-64/lockf64.c: File removed.
31750 * sysdeps/wordsize-64/fseeko.c: File removed.
31751 * sysdeps/wordsize-64/fseeko64.c: File removed.
31752 * sysdeps/wordsize-64/ftello.c: File removed.
31753 * sysdeps/wordsize-64/ftello64.c: File removed.
31754 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31755 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31756 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31757 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31758 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31759 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31760 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31761 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31762 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31763 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31764 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31765 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31766 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31767 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31768
31769 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31770 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31771 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31772 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31773 [defined __arch64__ || defined __sparcv9]
31774 (__OFF_T_MATCHES_OFF64_T): New macro.
31775 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31776 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31777 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31778 (__OFF_T_MATCHES_OFF64_T): New macro.
31779
c5757acd
L
317802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31781
31782 * stdlib/secure-getenv.c (__secure_getenv): Replace
31783 GLIBC_2_16 with GLIBC_2_17.
31784
3a31811e
L
317852012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31786
31787 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31788 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31789
faa2bccb
DM
317902012-08-03 David S. Miller <davem@davemloft.net>
31791
31792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31793
85fe1997
JM
317942012-08-03 Joseph Myers <joseph@codesourcery.com>
31795
31796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31797 Remove.
31798 (__ASSUME_CORRECT_SI_PID): Likewise.
31799 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31800 (__ASSUME_TMPFS_NAME): Likewise.
31801 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31802 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31803 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31804 (HAVE_AUX_SECURE): Make definition unconditional.
31805 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31806 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31807
4f75b7a0
RM
318082012-08-03 Roland McGrath <roland@hack.frob.com>
31809
31810 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31811 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31812 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31813 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31814 __eloop_threshold instead of SYMLOOP_MAX.
31815
31816 * sysdeps/generic/eloop-threshold.h: New file.
31817 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31818 of MAXSYMLINKS.
31819 * elf/chroot_canon.c (chroot_canon): Likewise.
31820
7aab07e4
JM
318212012-08-03 Joseph Myers <joseph@codesourcery.com>
31822
31823 [BZ #13717]
31824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31825 Change to 2.6.0 everywhere.
31826 * sysdeps/unix/sysv/linux/configure: Regenerated.
31827 * sysdeps/unix/sysv/linux/kernel-features.h
31828 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31829 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31830 kernel versions.
31831 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31832 (__ASSUME_FUTEX_REQUEUE): Remove.
31833 (__ASSUME_STATFS64): Define unconditionally.
31834 (__ASSUME_AT_SECURE): Likewise.
31835 (__ASSUME_CORRECT_SI_PID): Likewise.
31836 (__ASSUME_TGKILL): Define without depending on kernel version for
31837 i386.
31838 (__ASSUME_UTIMES): Likewise.
31839 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31840 kernel version.
31841 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31842 (__ASSUME_TMPFS_NAME): Likewise.
31843 * README: Update reference to Linux kernel versions.
31844
b67e9372
MP
318452012-08-02 Marek Polacek <polacek@redhat.com>
31846
1f529f7d 31847 [BZ# 14150]
b67e9372
MP
31848 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31849 libc_cv_asm_type_prefix with %.
31850 * configure: Regenerated.
d2441631
RM
31851 * include/libc-symbols.h: Remove comment about
31852 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31853 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31854 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31855 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31856 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31857 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31858 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31859 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31860 * elf/tst-unique2mod1.c: Likewise.
31861 * elf/tst-unique1mod2.c: Likewise.
31862 * elf/tst-unique1mod1.c: Likewise.
31863 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31864 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31865 Replace ASM_TYPE_DIRECTIVE with .type.
31866 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31867 * sysdeps/i386/sysdep.h: Likewise.
31868 * sysdeps/x86_64/sysdep.h: Likewise.
31869 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31871 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31872 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31873 * sysdeps/powerpc/powerpc32/sysdep.h:
31874 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31875 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31876 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31877 * sysdeps/i386/fpu/e_powf.S: Likewise.
31878 * sysdeps/i386/fpu/e_expl.S: Likewise.
31879 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31880 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31881 * sysdeps/i386/fpu/e_pow.S: Likewise.
31882 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31883 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31884 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31885 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31886 * sysdeps/i386/fpu/e_log2.S: Likewise.
31887 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31888 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31889 * sysdeps/i386/fpu/e_powl.S: Likewise.
31890 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31891 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31892 * sysdeps/i386/fpu/e_logl.S: Likewise.
31893 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31894 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31895 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31896 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31897 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31898 * sysdeps/i386/fpu/e_log.S: Likewise.
31899 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31900 * sysdeps/i386/fpu/e_logf.S: Likewise.
31901 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31902 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31903 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31904 * sysdeps/i386/fpu/e_log10.S: Likewise.
31905 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31906 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31907 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31908 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31909 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31910 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31911 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31912 * sysdeps/i386/i686/strtok.S: Likewise.
31913 * sysdeps/i386/i386-mcount.S: Likewise.
31914 * sysdeps/i386/strtok.S: Likewise.
31915 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31916 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31917 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31918 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31919 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31920 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31921 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31922 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31923 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31924 * sysdeps/x86_64/_mcount.S: Likewise.
31925 * sysdeps/x86_64/strtok.S: Likewise.
31926 * sysdeps/sh/_mcount.S: Likewise.
31927
2747bf9a
RM
319282012-08-01 Roland McGrath <roland@hack.frob.com>
31929
31930 * libio/iofopen.c: Include <fcntl.h>.
31931 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31932 (_IO_fopen64, fopen64): Define as aliases.
31933 * libio/iofopen64.c: Include <fcntl.h>.
31934 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31935 Conditionalize body on this.
31936 * sysdeps/wordsize-64/iofopen.c: File removed.
31937 * sysdeps/wordsize-64/iofopen64.c: File removed.
31938
3fb791b8
MP
319392012-08-01 Marek Polacek <polacek@redhat.com>
31940
31941 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31942 Use dlfcn directly instead of a variable.
31943 (binfmt-subdir): Do not define.
31944 (dlfcn): Likewise.
31945
a9f1039f
JM
319462012-08-01 Joseph Myers <joseph@codesourcery.com>
31947
23bddc06
JM
31948 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31949 Remove all definitions.
31950 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31951 <kernel-features.h>.
31952 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31953 (miss_F_GETOWN_EX): Remove all definitions.
31954 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31955 macro definition.
31956 [!__ASSUME_FCNTL64]: Remove conditional code.
31957 [__ASSUME_FCNTL64]: Make code unconditional.
31958 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31959 <kernel-features.h>.
31960 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31961 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31962 (lockf64) [__NR_fcntl64]: Make code unconditional.
31963 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31964
a9f1039f
JM
31965 * sysdeps/unix/sysv/linux/kernel-features.h
31966 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31967 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31968 Make code unconditional.
31969 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31970 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31972 [__NR_vfork]: Make code unconditional.
31973 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31974 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31976 [__NR_vfork]: Make code unconditional.
31977 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31978 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31979
09c0ee5f
RM
319802012-08-01 Roland McGrath <roland@hack.frob.com>
31981
48aec5b9
RM
31982 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31983 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31984
cd97c966
RM
31985 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31986 Define mkstemp64 as an alias.
3f55550c
RM
31987 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31988 Define mkstemps64 as an alias.
cd97c966
RM
31989 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31990 Define mkostemp64 as an alias.
b8625cfc
RM
31991 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31992 Define mkostemps64 as an alias.
cd97c966
RM
31993 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31994 Conditionalize body on this.
31995 * misc/mkostemp64.c: Likewise.
b8625cfc 31996 * misc/mkostemps64.c: Likewise.
3f55550c 31997 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31998 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31999 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32000 * sysdeps/wordsize-64/mkostemp.c: File removed.
32001 * sysdeps/wordsize-64/mkstemp.c: File removed.
32002 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32003 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32004 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32005 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32006
09c0ee5f
RM
32007 [BZ #14138]
32008 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32009 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32010 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32011 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32012
32013 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32014 compat_symbol macros from <shlib-compat.h> rather than the underlying
32015 default_symbol_version and symbol_version macros, so that DEFAULT
32016 lines in shlib-versions are respected.
32017 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32018
7e66ee51
FW
320192012-08-01 Florian Weimer <fweimer@redhat.com>
32020
32021 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32022 Declare with warn_unused_result.
32023 (setgid, setregid, setegid, setresgid): Likewise.
32024 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32025 Likewise.
32026 * WUR-REPORT: Remove set*id functions.
32027
d2a54255
PT
320282012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32029
32030 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32031
7ecdb005
RM
320322012-07-31 Roland McGrath <roland@hack.frob.com>
32033
b4180a5e 32034 [BZ #10191]
789bd351
RM
32035 * include/sys/socket.h (__libc_accept, __libc_accept4):
32036 Add attribute_hidden.
32037 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32038
40ce302d
RM
32039 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32040 use of PTR_MANGLE.
32041 * inet/getnetgrent_r.c (setup): Likewise.
32042
7ecdb005
RM
32043 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32044
e2eabb2c
DM
320452012-07-31 David S. Miller <davem@davemloft.net>
32046
32047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32048
d0419dbf
JM
320492012-07-31 Joseph Myers <joseph@codesourcery.com>
32050
32051 [BZ #13629]
32052 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32053 value between 1.0 and 2.0 and smaller part has absolute value less
32054 than 1.0.
32055 * math/s_clog10.c (__clog10): Likewise.
32056 * math/s_clog10f.c (__clog10f): Likewise.
32057 * math/s_clog10l.c (__clog10l): Likewise.
32058 * math/s_clogf.c (__clogf): Likewise.
32059 * math/s_clogl.c (__clogl): Likewise.
32060 * math/libm-test.inc (clog_test): Add more tests.
32061 (clog10_test): Likewise.
32062 * sysdeps/i386/fpu/libm-test-ulps: Update.
32063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32064
2bc13872
FW
320652012-07-31 Florian Weimer <fweimer@redhat.com>
32066
32067 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32068 Exit with zero in case no suitable GID is found, and write a
32069 message to standard error.
32070
bea9b193
RM
320712012-07-30 Roland McGrath <roland@hack.frob.com>
32072
32073 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32074 rather than to 1.
32075 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32076 (MAXPATHLEN): Removed.
32077 (NOGROUP, NODEV): New macros.
32078 (setbit, clrbit, isset, isclr): New macros.
32079 (howmany, roundup, powerof2): New macros.
32080 (DEV_BSIZE): New macro.
32081
32082 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32083 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32084
32085 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32086 definition on [!__NO_LONG_DOUBLE_MATH].
32087
32088 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32089 PTR_MANGLE and PTR_DEMANGLE.
32090
32091 * socket/accept4.c (accept4): Rename to __libc_accept4.
32092 Define accept4 as a weak alias.
32093
32094 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32095 on [_DIRENT_HAVE_D_TYPE].
32096 * io/ftw.c (ftw_dir): Likewise.
32097
32098 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32099
32100 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32101
32102 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32103 Use the BSD numbers rather than the arbitrary ones we had.
32104 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32105 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32106 (SIGXCPU, SIGXFSZ): New macros.
32107 (_NSIG): Now 32.
32108
32109 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32110 initializer on [_LIBC_REENTRANT].
32111
32112 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32113 definitions inside [_POSIX_MAPPED_FILES].
32114
32115 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32116
32117 * dirent/opendir.c: Include <fcntl.h>.
32118
32119 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32120 (__libc_getspecific): Likewise.
32121 (__libc_key_create): Likewise.
32122
32123 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32124 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32125 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32126 (tmpfile64): Define as alias.
32127 * sysdeps/wordsize-64/tmpfile.c: File removed.
32128 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32129 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32130 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32131
32132 * stdio-common/vfscanf.c: Include <stdbool.h>.
32133 * nss/makedb.c: Likewise.
32134 * stdio-common/_i18n_number.h: Likewise.
32135 * argp/argp-help.c: Likewise.
32136 * posix/wordexp.c: Likewise.
32137 * sysdeps/posix/spawni.c: Likewise.
32138 * nss/nss_files/files-initgroups.c: Likewise.
32139 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32140 * nss/nss_files/files-initgroups.c: Likewise.
32141 * nss/nss_db/db-netgrp.c: Likewise.
32142 * nss/nss_db/db-initgroups.c: Likewise.
32143 * io/fchmodat.c: Include <sys/stat.h>.
32144
32145 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32146 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32147
32148 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32149 [HAVE_MMAP].
32150
32151 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32152 Add multiple inclusion protection.
32153
e5abc686
DM
321542012-07-27 David S. Miller <davem@davemloft.net>
32155
32156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32157
815e6fa3
GB
321582012-07-27 Gary Benson <gbenson@redhat.com>
32159
32160 [BZ #14298]
32161 * elf/rtld.c: Include <stap-probe.h>.
32162 (dl_main): Added static probes "init_start" and "init_complete".
32163 * elf/dl-load.c: Include <stap-probe.h>.
32164 (lose): Take new parameter "nsid".
32165 Added static probe "map_failed".
32166 (_dl_map_object_from_fd): Pass namespace id to lose.
32167 Added static probe "map_start".
32168 (open_verify): Pass namespace id to lose.
32169 * elf/dl-open.c: Include <stap-probe.h>.
32170 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32171 and "reloc_complete".
32172 * elf/dl-close.c: Include <stap-probe.h>.
32173 (_dl_close_worker): Added static probes "unmap_start" and
32174 "unmap_complete".
32175 * elf/rtld-debugger-interface.txt: New file documenting the above.
32176
9f98c16c
RM
321772012-07-26 Roland McGrath <roland@hack.frob.com>
32178
32179 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32180 rather than a string variable.
32181 * sunrpc/rpc_main.c (h_output): Likewise.
32182 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32183
f3c22df3
PT
321842012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32185
32186 * inet/check_native.c: New file.
32187
3129cfc6
JM
321882012-07-26 Joseph Myers <joseph@codesourcery.com>
32189
da865e95
JM
32190 [BZ #13629]
32191 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32192 if larger part has absolute value 1.0.
32193 * math/s_clog10.c (__clog10): Likewise.
32194 * math/s_clog10f.c (__clog10f): Likewise.
32195 * math/s_clog10l.c (__clog10l): Likewise.
32196 * math/s_clogf.c (__clogf): Likewise.
32197 * math/s_clogl.c (__clogl): Likewise.
32198 * math/libm-test.inc (clog_test): Add more tests.
32199 (clog10_test): Likewise.
32200 * sysdeps/i386/fpu/libm-test-ulps: Update.
32201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32202
3129cfc6
JM
32203 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32204 (pltexit): Likewise.
32205 (La_regs): Likewise.
32206 (La_retval): Likewise.
32207 (int_retval): Likewise.
32208 Update #error for removed macros to refer only to definitions in
32209 tst-audit.h.
32210 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32211 macro.
32212 (pltexit): Likewise.
32213 (La_regs): Likewise.
32214 (La_retval): Likewise.
32215 (int_retval): Likewise.
32216 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32217 macro.
32218 (pltexit): Likewise.
32219 (La_regs): Likewise.
32220 (La_retval): Likewise.
32221 (int_retval): Likewise.
32222 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32223 macro.
32224 (pltexit): Likewise.
32225 (La_regs): Likewise.
32226 (La_retval): Likewise.
32227 (int_retval): Likewise.
32228 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32229 macro.
32230 (pltexit): Likewise.
32231 (La_regs): Likewise.
32232 (La_retval): Likewise.
32233 (int_retval): Likewise.
32234 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32235 macro.
32236 (pltexit): Likewise.
32237 (La_regs): Likewise.
32238 (La_retval): Likewise.
32239 (int_retval): Likewise.
32240 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32241 macro.
32242 (pltexit): Likewise.
32243 (La_regs): Likewise.
32244 (La_retval): Likewise.
32245 (int_retval): Likewise.
32246 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32247 macro definitions in tst-audit.h.
32248 * sysdeps/i386/tst-audit.h: New file.
32249 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32250 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32251 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32252 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32253 * sysdeps/sh/tst-audit.h: Likewise.
32254 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32255 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32256 * sysdeps/x86_64/tst-audit.h: Likewise.
32257
bfc07087
AJ
322582012-07-26 Andreas Jaeger <aj@suse.de>
32259
b1b2aaf8
AJ
32260 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32261 ptrace.
32262
32263 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32264 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32265 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32266 PTRACE_O_MASK.
32267 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32268 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32269 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32270
bfc07087
AJ
32271 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32272 value.
32273
32274 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32275 _sigsys.
32276 (si_call_addr, si_syscall, si_arch): Define new macro.
32277 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32278 _sigsys.
32279 (si_call_addr, si_syscall, si_arch): Define new marcro.
32280 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32281 _sigsys.
32282 (si_call_addr, si_syscall, si_arch): Define new macro.
32283 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32284 _sigsys.
32285 (si_call_addr, si_syscall, si_arch): Define new macro.
32286
89b4b02f
JM
322872012-07-25 Joseph Myers <joseph@codesourcery.com>
32288
32289 [BZ #13717]
32290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32291 Change to 2.4.21 where previously 2.4.1.
32292 * sysdeps/unix/sysv/linux/configure: Regenerated.
32293 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32294 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32295 Linux kernel version.
32296 (__ASSUME_STD_AUXV): Remove.
32297 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32298 kernel version.
32299 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32300 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32301 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32302 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32303 (__ASSUME_NETLINK_SUPPORT): Likewise.
32304 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32305 (__no_netlink_support): Remove conditional definition.
32306 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32307 Remove.
32308 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32309 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32310 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32311 (if_nameindex_ioctl): Remove.
32312 (if_nameindex_netlink): Do not handle __no_netlink_support.
32313 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32314 code.
32315 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32316 Remove conditional code.
32317 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32318 code.
32319 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32320 unconditional.
32321 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32322 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32323 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32324 Remove.
32325 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32326 [!__ASSUME_STD_AUXV]: Remove conditional code.
32327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32328 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32329 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32331 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32332 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32333 code.
32334 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32336 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32337 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32338 conditional code.
32339 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32341 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32342 code.
32343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32344 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32345 conditional code.
32346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32347 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32348 code unconditional.
32349 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32350 conditional code.
32351 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32352 unconditional.
32353 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32354 conditional code.
32355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32356 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32357 unconditional.
32358 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32359 conditional code.
32360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32361 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32362 code unconditional.
32363 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32364 conditional code.
32365 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32366 unconditional.
32367 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32368 conditional code.
32369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32370 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32371 code unconditional.
32372 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32373 conditional code.
32374 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32375 unconditional.
32376 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32377 conditional code.
32378
842a39cd
AS
323792012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32380
32381 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32382 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32383 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32384 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32385 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32386 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32387 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32388 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32389 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32390 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32391 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32392 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32393 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32394 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32395 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32396 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32397 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32398 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32399 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32401 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32402 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32403 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32404
84b3fd84
FW
324052012-07-25 Florian Weimer <fweimer@redhat.com>
32406
32407 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32408 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32409 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32410 Introduce __libc_secure_getenv.
0c7936d5
FW
32411 * stdlib/Versions (2.17): Add secure_getenv
32412 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32413 * stdlib/secure-getenv.c: Rename __secure_getenv to
32414 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32415 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32416 * stdlib/tst-secure-getenv.c: New.
32417 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32418 * manual/startup.texi (Environment Access): Document
32419 secure_getenv.
84b3fd84
FW
32420 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32421 __libc_secure_getenv.
32422 * inet/ruserpass.c (ruserpass): Likewise.
32423 * malloc/mtrace.c (mtrace): Likewise.
32424 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32425 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32426 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32427 * sysdeps/posix/tempname.c: Likewise. Evaluate
32428 HAVE_SECURE_GETENV.
32429 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32430 __secure_getenv to __libc_secure_getenv.
84b3fd84 32431 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32433 Likewise.
32434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32435 Likewise.
32436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32443
56e49b71
JM
324442012-07-25 Joseph Myers <joseph@codesourcery.com>
32445
32446 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32447 (struct La_i86_retval): Likewise.
32448 (struct La_x86_64_regs): Likewise.
32449 (struct La_x86_64_retval): Likewise.
32450 (struct La_x32_regs): Likewise.
32451 (struct La_x32_retval): Likewise.
32452 (struct La_ppc32_regs): Likewise.
32453 (struct La_ppc32_retval): Likewise.
32454 (struct La_ppc64_regs): Likewise.
32455 (struct La_ppc64_retval): Likewise.
32456 (struct La_sh_regs): Likewise.
32457 (struct La_sh_retval): Likewise.
32458 (struct La_s390_32_regs): Likewise.
32459 (struct La_s390_32_retval): Likewise.
32460 (struct La_s390_64_regs): Likewise.
32461 (struct La_s390_64_retval): Likewise.
32462 (struct La_sparc32_regs): Likewise.
32463 (struct La_sparc32_retval): Likewise.
32464 (struct La_sparc64_regs): Likewise.
32465 (struct La_sparc64_retval): Likewise.
32466 (struct audit_ifaces): Remove architecture-specific pltenter and
32467 pltexit members.
32468 * sysdeps/i386/ldsodefs.h: New file.
32469 * sysdeps/powerpc/ldsodefs.h: Likewise.
32470 * sysdeps/s390/ldsodefs.h: Likewise.
32471 * sysdeps/sh/ldsodefs.h: Likewise.
32472 * sysdeps/sparc/ldsodefs.h: Likewise.
32473 * sysdeps/x86_64/ldsodefs.h: Likewise.
32474
354691b7
MP
324752012-07-25 Marek Polacek <polacek@redhat.com>
32476
32477 [BZ #6808]
32478 * math/libm-test.inc (yn_test): Add another test.
32479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32480 to ERANGE when the result is +-Inf.
32481 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32482 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32483 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32484 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32485
bf9e2071
JM
324862012-07-24 Joseph Myers <joseph@codesourcery.com>
32487
32488 * conform/data/time.h-data (NULL): Use macro-constant. Require
32489 equal to 0.
32490 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32491 clock_t.
32492 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32493
57633811
TS
324942012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32495
32496 * configure.in <sysdeps resolving>: Correct printing
32497 Implies_before.
32498 * configure: Regenerate.
32499
c23c33b0
TS
325002012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32501
32502 * math/w_ilogb.c: Include <limits.h>.
32503 * math/w_ilogbl.c: Likewise.
32504
b5982523
JM
325052012-07-20 Joseph Myers <joseph@codesourcery.com>
32506
32507 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32508 va_copy. Document allowing for unavailable va_copy only as
32509 pre-C99 compatibility.
32510 * manual/string.texi (Copying and Concatenation): Use va_copy
32511 instead of __va_copy in concat example.
32512
ac4ea442
PT
325132012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32514
32515 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32516 (__sendto): Use create_address_port. Initialize APORT and deallocate
32517 it if not null.
32518
f98eafbd
PT
32519 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32520 with O_NOLINK passed to __file_name_lookup.
32521
898c7aab
PT
32522 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32523 with O_NOLINK passed to __file_name_lookup.
32524
0ced335a
PT
32525 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32526 negative N or less than NGIDS.
32527
b3404dbd
PT
32528 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32529 type to string_t. Set ERANGE as errno and return it if NAME is not big
32530 enough. Use memcpy instead of strncpy.
32531
0f48659e
JM
325322012-07-20 Joseph Myers <joseph@codesourcery.com>
32533
32534 * elf/Makefile (check-data): Remove.
32535 (localplt.data): New vpath directive.
32536 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32537 instead of $(check-data).
32538 * scripts/data/localplt-generic.data: Move to ...
32539 * sysdeps/generic/localplt.data: ... here.
32540 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32541 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32542 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32544 ... here.
32545 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32547 ... here.
32548 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32550 ... here.
32551 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32553 ... here.
32554 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32556 ... here.
32557 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32559 ... here.
32560
d37cbdaa
AZ
325612012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32562
32563 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32564 PPC32 and PPC64 files.
32565 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32566 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32567
46f85fc2
AK
325682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32569
32570 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32571 __makecontext_ret to ...
32572 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32573 ... here and call exit if uc_link is NULL. New file.
32574 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32575 __makecontext_ret.S.
32576 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32577 __makecontext_ret to ...
32578 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32579 ... here and call exit if uc_link is NULL. New file.
32580 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32581 __makecontext_ret.S.
32582
08f43f9b
AK
325832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32584
32585 * elf/elf.h (R_390_IRELATIVE): New definition.
32586 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32587 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32588 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32589 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32590 (elf_machine_lazy_rel): Likewise.
32591 * sysdeps/s390/dl-irel.h: New file.
32592 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32593 * sysdeps/s390/s390-64/memset.S: New asm code.
32594 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32595 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32596 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32597 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32598 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32599 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32600 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32601 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32602 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32603 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32604 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32605 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32606 * sysdeps/s390/s390-32/memset.S: New asm code.
32607 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32608
3b05db33
MP
326092012-07-17 Marek Polacek <polacek@redhat.com>
32610
32611 [BZ #14349]
32612 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32613 * sysdeps/s390/s390-64/configure.in: Likewise.
32614 * sysdeps/sparc/configure.in: Likewise.
32615 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32616 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32617 * sysdeps/i386/configure.in: Likewise.
32618 * sysdeps/x86_64/configure.in: Likewise.
32619 * sysdeps/sh/configure.in: Likewise.
32620 * sysdeps/s390/s390-32/configure: Regenerated.
32621 * sysdeps/s390/s390-64/configure: Likewise.
32622 * sysdeps/x86_64/configure: Likewise.
32623 * sysdeps/sh/configure: Likewise.
32624 * sysdeps/powerpc/powerpc64/configure: Likewise.
32625 * sysdeps/powerpc/powerpc32/configure: Likewise.
32626 * sysdeps/sparc/configure: Likwise.
32627 * sysdeps/i386/configure: Likewise.
32628
a66877c6
MP
32629 * elf/dl-open.c: Comment fixes.
32630
cfc82fd8
JM
326312012-07-17 Joseph Myers <joseph@codesourcery.com>
32632
bd29910a
JM
32633 * Makefile [CXX] (check-data): Remove.
32634 [CXX] (c++-types.data): New vpath directive.
32635 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32636 vpath. Do not allow for C++ type data being missing.
32637 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32638 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32639 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32640 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32641 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32642 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32643 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32645 ... here.
32646 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32648 ... here.
32649 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32651 ... here.
32652 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32654 ... here.
32655 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32657 ... here.
32658 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32660 ... here.
32661 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32663 ... here.
32664 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32666
cfc82fd8
JM
32667 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32668 definitions to architecture-specific files.
32669 (TLS_IE): Likewise.
32670 (TLS_LD): Likewise.
32671 (TLS_GD): Likewise.
32672 * sysdeps/i386/tls-macros.h: New file.
32673 * sysdeps/powerpc/tls-macros.h: Likewise.
32674 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32675 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32676 * sysdeps/sh/tls-macros.h: Likewise.
32677 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32678 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32679 * sysdeps/x86_64/tls-macros.h: Likewise.
32680
f7db3170
TS
326812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32682
07cbfc23
TS
32683 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32684 zero value for regular exit case.
32685
f7db3170
TS
32686 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32687 (__start_context): Preserve zero value for regular exit case.
32688
dc97c227
TS
326892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32690 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32691
32692 * manual/setjmp.texi (setcontext): Clarify normal process
32693 termination when uc_link is the null pointer.
32694 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32695 exit call.
32696
d0cd7d02
AS
326972012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32698
32699 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32700 preprocessor. Test for each exception mask separately.
32701
dd318934
AJ
327022012-07-16 Andreas Jaeger <aj@suse.de>
32703
32704 * po/ru.po: Update from translation team.
32705
8048311a
JM
327062012-07-15 Joseph Myers <joseph@codesourcery.com>
32707
32708 * conform/data/string.h-data (NULL): Use macro-constant. Require
32709 equal to 0.
32710 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32711 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32712 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32713 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32714 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32715
b637d46e
AJ
327162012-07-13 Andreas Jaeger <aj@suse.de>
32717
32718 * po/fr.po: Update from translation team.
32719
541428fe
MP
327202012-07-12 Marek Polacek <polacek@redhat.com>
32721
32722 [BZ #14173]
32723 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32724 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32725 loop condition.
32726
ec332e94
JM
327272012-07-12 Joseph Myers <joseph@codesourcery.com>
32728
32729 [BZ #13717]
32730 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32731 Change to 2.4.1 where previously 2.4.0.
32732 * sysdeps/unix/sysv/linux/configure: Regenerated.
32733 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32734 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32735 version.
32736 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32737 (__ASSUME_AT_CLKTCK): Remove.
32738 (__ASSUME_AT_PAGESIZE): Likewise.
32739 (__ASSUME_AT_XID): Likewise.
32740 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32741 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32742 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32743 unconditionally.
32744 (HAVE_AUX_PAGESIZE): Likewise.
32745 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32746 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32747 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32748
7b6e99be
JB
327492012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32750
32751 [BZ #14307]
32752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32753 the temporary buffer used to invoke __gethostbyname2_r,
32754 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32755 host_data / struct gaih_addrtuple.
32756 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32757 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32758 header file nss/nsswitch.h.
32759 * nss/nsswitch.h (global scope): Add definition of implementation
32760 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32761 resolv/nss_dns/dns-host.c).
32762
608404eb
AJ
327632012-07-11 Andreas Jaeger <aj@suse.de>
32764
32765 * po/fr.po: Update from translation team.
32766
71220aca
AJ
32767 * po/sv.po: Update from translation team
32768 * po/fr.po: Another update from translation team.
32769
28cfe843
AZ
327702012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32771
32772 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32773 for subnormals or multiply small sinh result by itself.
32774 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32776
6b90f981
DM
327772012-07-11 David S. Miller <davem@davemloft.net>
32778
32779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32780
c6825772
AS
327812012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32782
32783 [BZ #14347]
32784 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32785 (INTERNAL_MARK): Shift it here.
32786
7b8e0d49
MP
327872012-07-10 Marek Polacek <polacek@redhat.com>
32788
32789 [BZ #14151]
32790 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32791 libc_cv_asm_global_directive with .globl.
32792 * configure: Regenerated.
32793 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32794 with .globl.
32795 * sysdeps/i386/configure: Regenerated.
32796 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32797 with .globl.
32798 * sysdeps/x86_64/configure: Regenerated.
32799 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32800 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32801 * elf/tst-unique2mod2.c: Likewise.
32802 * elf/tst-unique2mod1.c: Likewise.
32803 * elf/tst-unique1mod2.c: Likewise.
32804 * elf/tst-unique1mod1.c: Likewise.
32805 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32806 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32807 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32808 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32809 * sysdeps/mach/sysdep.h: Likewise.
32810 * sysdeps/i386/sysdep.h: Likewise.
32811 * sysdeps/i386/i386-mcount.S: Likewise.
32812 * sysdeps/x86_64/_mcount.S: Likewise.
32813 * sysdeps/x86_64/sysdep.h: Likewise.
32814 * sysdeps/sh/_mcount.S: Likewise.
32815 * sysdeps/sh/sysdep.h: Likewise.
32816 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32817 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32818 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32819 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32820 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32821 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32822 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32823 * locale/localeinfo.h: Likewise.
32824 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32825 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32826
6c55cda3
RM
328272012-07-09 Roland McGrath <roland@hack.frob.com>
32828
32829 [BZ #14336]
32830 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32831 system".
32832 * manual/message.texi (The Uniforum approach): Likewise.
32833 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32834 (glibc iconv Implementation): Likewise.
32835
638a572e
JM
328362012-07-09 Joseph Myers <joseph@codesourcery.com>
32837
32838 [BZ #14337]
32839 * math/s_clog.c (__clog): Avoid scaling a value down where that
32840 could result in underflow.
32841 * math/s_clog10.c (__clog10): Likewise.
32842 * math/s_clog10f.c (__clog10f): Likewise.
32843 * math/s_clog10l.c (__clog10l): Likewise.
32844 * math/s_clogf.c (__clogf): Likewise.
32845 * math/s_clogl.c (__clogl): Likewise.
32846 * math/libm-test.inc (clog_test): Add more tests.
32847 (clog10_test): Likewise.
32848 * sysdeps/i386/fpu/libm-test-ulps: Update.
32849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32850
261f4859
AS
328512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32852
0abaf3e4
AS
32853 [BZ #14283]
32854 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32855 by 7 not 8 to examine high bit of fractional part.
32856
261f4859
AS
32857 [BZ #14042]
32858 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32859 for call to __mcount_internal.
32860 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32861 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32862 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32863
f17ac40d
JM
328642012-07-06 Joseph Myers <joseph@codesourcery.com>
32865
9ad63c23
JM
32866 [BZ #14154]
32867 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32868 approximation for values within 0x1p-13f of an odd multiple of
32869 pi/4.
32870 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32871 exception. Add more tests.
32872 * sysdeps/i386/fpu/libm-test-ulps: Update.
32873
f17ac40d
JM
32874 [BZ #6778]
32875 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32876 inputs and return -1 for them. Do not check for +Inf in case not
32877 reachable for +Inf.
32878 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32879 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32880 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32881 and return -1 for them. Do not check for +Inf in case not
32882 reachable for +Inf.
32883 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32884 define.
32885 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32886 and return -1 for them. Do not check for +Inf in case not
32887 reachable for +Inf.
32888 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32889 spurious underflow.
32890 * sysdeps/i386/fpu/libm-test-ulps: Update.
32891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32892
fb21f89b
MF
328932012-07-06 Mike Frysinger <vapier@gentoo.org>
32894
32895 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32896
cdfe2c5e
JM
328972012-07-05 Joseph Myers <joseph@codesourcery.com>
32898
32899 [BZ #14157]
32900 [BZ #14331]
32901 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32902 could result in spurious underflow. Scale down values above
32903 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32904 * math/s_csqrtf.c (__csqrtf): Likewise.
32905 * math/s_csqrtl.c (__csqrtl): Likewise.
32906 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32907 spurious underflow.
32908 * sysdeps/i386/fpu/libm-test-ulps: Update.
32909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32910
70d35b67
AS
329112012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32912
704bc459
AS
32913 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32914 xopen-msg.sed.
32915 * catgets/xopen-msg.awk: New file.
32916 * catgets/xopen-msg.sed: Removed.
32917
70d35b67
AS
32918 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32919 po2text.sed.
32920 * intl/po2test.awk: New file.
32921 * intl/po2test.sed: Removed.
32922
ca61cf32
JM
329232012-07-04 Joseph Myers <joseph@codesourcery.com>
32924
32925 [BZ #14328]
32926 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32927 or multiply small sinh result by itself.
32928 * math/s_ctanf.c (__ctanf): Likewise.
32929 * math/s_ctanh.c (__ctanh): Likewise.
32930 * math/s_ctanhf.c (__ctanhf): Likewise.
32931 * math/s_ctanhl.c (__ctanhl): Likewise.
32932 * math/s_ctanl.c (__ctanl): Likewise.
32933 * math/libm-test.inc (ctan_test_tonearest): New function.
32934 (ctan_test_towardzero): Likewise.
32935 (ctan_test_downward): Likewise.
32936 (ctan_test_upward): Likewise.
32937 (ctanh_test_tonearest): Likewise.
32938 (ctanh_test_towardzero): Likewise.
32939 (ctanh_test_downward): Likewise.
32940 (ctanh_test_upward): Likewise.
32941 (main): Call these new functions.
32942 * sysdeps/i386/fpu/libm-test-ulps: Update.
32943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32944
ca48a46a
MF
329452012-07-03 Mike Frysinger <vapier@gentoo.org>
32946
32947 * .gitignore: Delete /ports entry.
32948
9d63d37d
AJ
329492012-07-03 Andreas Jaeger <aj@suse.de>
32950
32951 * po/bg.po: Update from translation team.
32952 * po/cs.po: Likewise.
32953 * po/de.po: Likewise.
32954 * po/hr.po: Likewise.
32955 * po/nl.pl: Likewise.
32956 * po/pl.po: Likewise.
32957 * po/vi.po: Likewise.
32958
370ca3d2
JM
329592012-07-03 Joseph Myers <joseph@codesourcery.com>
32960
95f5a9a8
JM
32961 * Makeconfig [!+link] (+link-before-libc): New variable.
32962 [!+link] (+link-after-libc): Likewise.
32963 [!+link] (+link-tests): Likewise.
32964 [!+link] (+link): Define in terms of $(+link-before-libc) and
32965 $(+link-after-libc).
32966 [!+link-static] (+link-static-before-libc): New variable.
32967 [!+link-static] (+link-static-after-libc): Likewise.
32968 [!+link-static] (+link-static-tests): Likewise.
32969 [!+link-static] (+link-static): Define in terms of
32970 $(+link-static-before-libc) and $(+link-static-after-libc).
32971 [build-shared] (link-libc-before-gnulib): New variable.
32972 [build-shared] (link-libc-tests): Likewise.
32973 [build-shared] (link-libc): Define in terms of
32974 $(link-libc-before-gnulib).
32975 [!build-shared] (link-libc-tests): New variable.
32976 (link-libc-static-tests): New variable.
32977 [!gnulib] (gnulib-arch): New variable.
32978 [!gnulib] (gnulib-tests): Likewise.
32979 [!gnulib] (static-gnulib-arch): Likewise.
32980 [!gnulib] (static-gnulib-tests): Likewise.
32981 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32982 Define with "=" instead of ":=".
32983 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32984 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32985 * Rules (binaries-all-notests): New variable.
32986 (binaries-all-tests): Likewise.
32987 (binaries-static-notests): Likewise.
32988 (binaries-static-tests): Likewise.
32989 (binaries-all): Define using $(binaries-all-notests) and
32990 $(binaries-all-tests).
32991 (binaries-static): Define using $(binaries-static-notests) and
32992 $(binaries-static-tests).
32993 (binaries-shared-tests): New variable.
32994 (binaries-shared-notests): Likewise.
32995 (binaries-shared): Remove variable.
32996 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32997 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32998 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32999 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33000 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33001 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33002 * elf/Makefile (sln-modules): New variable.
33003 (extra-objs): Add $(sln-modules:=.o).
33004 (ldconfig-modules): Add static-stubs.
33005 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33006 * elf/static-stubs.c: New file.
33007
7a845b2c
JM
33008 [BZ #14283]
33009 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33010 by 7 not 8 to examine high bit of fractional part. Use volatile
33011 variables when splitting into final array of floats if
33012 __FLT_EVAL_METHOD__ != 0.
33013 * math/libm-test.inc (cos_test): Add another test.
33014 (sin_test): Likewise.
33015 * sysdeps/i386/fpu/libm-test-ulps: Update.
33016
e2283f38
JM
33017 [BZ #14273]
33018 * math/libm-test.inc (cosh_test): Add more tests.
33019
370ca3d2
JM
33020 * version.h (RELEASE): Set to "development".
33021 (VERSION): Set to "2.16.90".
33022
ee9247c3
CD
330232012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33024
33025 * NEWS: Update copyright. Remove last-updated date.
33026 Mention math library bug fixes and timezone data changes.
33027 * README: Mention GNU/Hurd, x32, and HPPA support status.
33028
4648c381
TS
330292012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33030
33031 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33032
aac78a43
AJ
330332012-06-27 Andreas Jaeger <aj@suse.de>
33034
33035 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33036
ed3dbfad
AJ
330372012-06-25 Andreas Jaeger <aj@suse.de>
33038
33039 * sysdeps/s390/fpu/libm-test-ulps: Update.
33040
4d0ee855
AS
330412012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33042 Thomas Schwinge <thomas@codesourcery.com>
33043
33044 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33045 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33046 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33047 fanotify_mark.
33048
af1bce34
TS
330492012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33050
a9fa33ba
TS
33051 * sysdeps/mach/start.c: Remove file.
33052 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33053 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33054 * sysdeps/sh/init-first.c: Likewise.
33055
58f902b8
TS
33056 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33057 registers for frame unwinding purposes, add CFI directives.
33058 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33059 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33060 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33061 Likewise.
33062
1518f58b
TS
33063 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33064 __fortify_fail returning.
33065 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33066
db9b5059
TS
33067 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33068 sysdeps/sh/____longjmp_chk.S.
33069 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33070 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33071 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33072 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33073
967705fe
TS
33074 * sysdeps/sh/abort-instr.h: New file.
33075 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33076 process in case exit returns.
33077
a9def8c4
TS
33078 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33079 initialize the GOT register before use.
33080
2a649725
TS
33081 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33082 calculation of ARGC > 4.
33083
af1bce34
TS
33084 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33085 meaningful names to some local labels.
33086
d230f50a
KK
330872012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33088 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33089
33090 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33091 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33092 (__arch_compare_and_exchange_val_16_acq): Likewise.
33093 (__arch_compare_and_exchange_val_32_acq): Likewise.
33094 (atomic_exchange_and_add): Fix gUSA sequence.
33095 (atomic_add): Likewise.
33096 (atomic_add_negative): Likewise.
33097 (atomic_add_zero): Likewise.
33098 (atomic_bit_test_set): Likewise.
33099
0479b305
AS
331002012-06-22 Andreas Schwab <schwab@redhat.com>
33101
33102 [BZ #13579]
33103 * include/link.h (struct link_map): Add l_free_initfini.
33104 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33105 l_initfini.
33106 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33107 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33108 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33109 set.
33110
0e3933b9
CD
331112012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33112
33113 * configure.in: Use AC_LANG_SOURCE.
33114 * configure: Regenerate.
33115
4248b1b1
RM
331162012-06-22 Roland McGrath <roland@hack.frob.com>
33117
33118 * configure.in (libc_cv_localstatedir): New substituted variable.
33119 * configure: Regenerated.
33120 * config.make.in (localstatedir): New variable, substituted from
33121 libc_cv_localstatedir.
33122 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33123 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33124 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33125 * sysdeps/gnu/configure: Regenerated.
33126
006dd861
JL
331272012-06-21 Jeff Law <law@redhat.com>
33128
33129 [BZ #14277]
33130 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33131 free. Simplify list management for _LIBC case.
33132
79662d42
JM
331332012-06-21 Joseph Myers <joseph@codesourcery.com>
33134
b7abb4bf
JM
33135 [BZ #14273]
33136 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33137 Clear sign bit of 64-bit integer value before comparing against
33138 overflow value.
33139
79662d42
JM
33140 * sysdeps/mach/configure: Regenerated.
33141
1f150908
L
331422012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33143
33144 [BZ #14278]
33145 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33146
28363bbf
JL
331472012-06-21 Jeff Law <law@redhat.com>
33148
33149 [BZ #13882]
33150 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33151 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33152 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33153 * elf/dl-open.c (dl_open_worker): Likewise.
33154
09615db4
CD
331552012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33156
33157 * scripts/list-sources.sh: Scan PORTS for translations.
33158 * po/libc.pot: Regenerated.
33159
2174c6dd
AJ
331602012-06-21 Andreas Jaeger <aj@suse.de>
33161
33162 [BZ #12194]
33163 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33164 warning.
33165 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33166 * bits/byteswap-16.h (__bswap_16): Likewise.
33167 * bits/byteswap.h (__bswap_constant_16): Likewise.
33168
3ee947b1
L
331692012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33170
33171 [BZ #14117]
a2f34833
L
33172 * sysdeps/i386/fpu_control.h: Removed.
33173 * sysdeps/x86_64/fpu_control.h: Moved to ...
33174 * sysdeps/x86/fpu_control.h: Here.
33175
3ee947b1
L
33176 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33177 (_FPU_SETCW): Likewise.
33178
ed1825f8
L
331792012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33180
25f1282a
L
33181 [BZ #14117]
33182 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33183 * sysdeps/x86/fpu/bits/mathinline.h: This.
33184 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33185
ed1825f8
L
33186 [BZ #14050]
33187 [BZ #14117]
33188 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33189 functions if __x86_64__ is defined.
33190
36d54b74
CLT
331912012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33192
33193 * string/endian.h: Add !__ASSEMBLER__ condition for including
33194 conversion interfaces.
33195
10285c21
JM
331962012-06-15 Joseph Myers <joseph@codesourcery.com>
33197
33198 [BZ #14241]
33199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33200 of ABS(x) in calculating zero to negative powers other than odd
33201 integers.
33202 * math/libm-test.inc (pow_test): Add more tests.
33203
06c5abbd
AJ
332042012-06-15 Andreas Jaeger <aj@suse.de>
33205
33206 * manual/contrib.texi (Contributors): Update entry of Liubov
33207 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33208 Machado Filho.
33209
a3aeac40
CH
332102012-06-15 Cyril Hrubis <metan@ucw.cz>
33211
33212 * string/string.h: Add __wur to GNU version of strerror_r.
33213
49bdf4c1
L
332142012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33215
33216 [BZ #14229]
33217 * string/Makefile (tests): Add tst-strtok_r.
33218 * string/tst-strtok_r.c: New file.
33219 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33220 RAX_LP/RDX_LP on SAVE_PTR.
33221
834f9b8d
RM
332222012-06-14 Roland McGrath <roland@hack.frob.com>
33223
33224 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33225
75fa1921
JM
332262012-06-14 Joseph Myers <joseph@codesourcery.com>
33227
33228 * libm_test.inc (csqrt_test): Allow more spurious underflow
33229 exceptions.
33230 (j0_test): Likewise.
33231 (j1_test): Likewise.
33232 (y0_test): Likewise.
33233 (y1_test): Likewise.
33234
771766df
CD
332352012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33236
33237 * po/Makefile (libc.pot): Use UTF-8 charset.
33238
ceb9e56b
PP
332392012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33240
33241 [BZ #14210]
33242 Suppress sign-conversion warning from FD_SET.
33243 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33244 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33245 not unsigned long int.
33246 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33247
ddb28975
L
332482012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33249
33250 [BZ #14050]
33251 [BZ #14117]
33252 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33253 __extern_always_inline instead of __extern_inline.
33254 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33255 (__signbit): Likewise.
33256 (__signbitl): Support C++ namespace.
33257 (lrintf): New inline function.
33258 (lrint): Likewise.
33259 (llrintf): Likewise.
33260 (llrint): Likewise.
33261 (fmaxf): Likewise.
33262 (fmax): Likewise.
33263 (fminf): Likewise.
33264 (fmin): Likewise.
33265 (rint): Likewise.
33266 (rintf): Likewise.
33267 (ceil): Likewise.
33268 (ceilf): Likewise.
33269 (floor): Likewise.
33270 (floorf): Likewise.
33271 (nearbyint): Likewise.
33272 (nearbyintf): Likewise.
33273
d7b4fb26
TS
332742012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33275
33276 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33277 non-default versions.
33278
eb55f5c2
RM
332792012-06-11 Roland McGrath <roland@hack.frob.com>
33280
33281 [BZ #14218]
33282 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33283
366af02c
TS
332842012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33285
99ff6e5c
TS
33286 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33287 (FE_UPWARD, FE_DOWNWARD): Don't define.
33288 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33289 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33290
366af02c
TS
33291 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33292 reading it.
33293 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33294 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33295
793ea851
KK
332962012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33297
33298 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33300 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33301 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33302
a728a38f
L
333032012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33304
33305 [BZ #14117]
c08010c7
L
33306 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33307 * sysdeps/i386/fpu/Implies: New file.
33308 * sysdeps/x86_64/fpu/Implies: Likewise.
33309 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33310 * sysdeps/x86/fpu/bits/fenv.h: This.
33311
a728a38f
L
33312 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33313 __SSE_MATH__.
33314
6e230d11
SP
333152012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33316
33317 [BZ #14134]
33318 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33319 character 0xffff that matches the last element of the
33320 conversion table.
33321
1b671feb
AZ
333222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33323
33324 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33325 fmodl commit.
33326
6043738b
AZ
333272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33328
33329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33330 values higher than 25.6283.
33331
34ae0b32
AZ
333322012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33333
33334 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33335 subnormal exponent extraction and add some __builtin_expect.
33336 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33337 Fix for subnormal mantissa calculation.
33338
1214ec8f
MF
333392012-06-04 Mike Frysinger <vapier@gentoo.org>
33340
33341 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33342 cpu2 is -1 and errno is not ENOSYS.
33343
f3d1f93c
L
333442012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33345
33346 [BZ #14117]
0e4a3cd7
L
33347 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33348 * sysdeps/x86/bits/string.h: This.
33349 * sysdeps/x86_64/bits/string.h: Removed.
33350
6704c645
L
33351 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33352 if not compiling for x86-64, but compiling for >= i486.
33353
48495318
L
33354 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33355 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33356
14adcbfc
L
33357 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33358 New macro from Linux kernel 3.4.0.
33359 (FP_XSTATE_MAGIC2): Likewise.
33360 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33361 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33362 (struct _fpx_sw_bytes): New struct.
33363 (struct _xsave_hdr): Likewise.
33364 (struct _ymmh_state): Likewise.
33365 (struct _xstate): Likewise.
33366
68e408ab
L
33367 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33368 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33369 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33370 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33371 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33372 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33373
f3d1f93c
L
33374 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33375 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33376 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33377 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33378 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33379 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33380
d9dc34cd
TMQMF
333812012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33382
33383 [BZ #13743]
33384 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33385 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33386 (sysdep_headers): Include sys/platform/ppc.h.
33387 * sysdeps/powerpc/test-gettimebase.c: Test for
33388 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33389 * manual/Makefile (appendices): Include platform.texi.
33390 * manual/contrib.texi (Contributors): Update @node pointers.
33391 * manual/maint.texi (Maintenance): Likewise.
33392 (Platform): New node.
33393 * manual/platform.texi: New file. Document the new features.
33394
4af3879c
SP
333952012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33396 Jakub Jelinek <jakub@redhat.com>
33397
33398 [BZ #14188]
33399 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33400 where __builtin_expect is unavailable.
33401
2fd6ff13
DM
334022012-06-03 David S. Miller <davem@davemloft.net>
33403
33404 * stdlib/longlong.h: Updated from GCC.
33405
173f7220
AS
334062012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33407
33408 [BZ #14042]
33409 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33410 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33411 __mcount_internal.
33412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33413 (GLIBC_2.16): Likewise.
33414
f34a1c6f
L
334152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33416
33417 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33418
88a4576f
JM
334192012-06-01 Joseph Myers <joseph@codesourcery.com>
33420
ea32bcdd
JM
33421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33422 (default-abi): New variable.
33423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33424 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33425 variable.
33426 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33427 Likewise.
33428 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33429 Likewise.
33430 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33431 Likewise.
33432
88a4576f
JM
33433 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33434 definition. Document in comment.
33435
402fe938
DM
334362012-06-01 David S. Miller <davem@davemloft.net>
33437
33438 * stdlib/longlong.h: Updated from GCC.
33439
3553723f
L
334402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33441
33442 [BZ #14117]
3bd872c4
L
33443 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33444 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33445 sys/debugreg.h sys/io.h here.
33446 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33447 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33448 sys/io.h.
33449 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33450 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33451 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33452 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33453 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33454 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33455
3553723f
L
33456 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33457 Define only if __x86_64__ is defined.
33458
4842e4fe
JM
334592012-06-01 Joseph Myers <joseph@codesourcery.com>
33460
c5bfe3d5
JM
33461 [BZ #14048]
33462 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33463 Use int64_t for variable i.
33464 * math/libm-test.inc (fmod_test): Add more tests.
33465
4842e4fe
JM
33466 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33467 z computation is not scheduled after fetestexcept.
33468 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33469 Use math_force_eval instead of asm to ensure calculation scheduled
33470 before exception test.
33471 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33472 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33473
efb73488
AJ
334742012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33475
33476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33477 computation is not scheduled after fetestexcept.
33478
29bcce7c
L
334792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33480
33481 [BZ #14117]
33482 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33483 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33484
73a68f94
AZ
334852012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33486
33487 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33488 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33489
67b6df78
L
334902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33491
edf2933a 33492 [BZ #14117]
ebc64a18
L
33493 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33494 <bits/wordsize.h>.
33495 (__WCHAR_MIN): Support __WORDSIZE == 64.
33496 (__WCHAR_MAX): Likewise.
33497
edf2933a
L
33498 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33499 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33500
57c6cf40
L
33501 [BZ #14183]
33502 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33503 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33504
67b6df78 33505 [BZ #14117]
8eb6281e
L
33506 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33507 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33508
aac639f4
L
33509 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33510 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33511
67b6df78
L
33512 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33513 Defined to 1 if __x86_64__ isn't defined.
33514 (_STAT_VER_LINUX_OLD): New.
33515 (st_atime): Remove duplicate.
33516 (st_mtime): Likewise.
33517 (st_ctime): Likewise.
33518
1c2cfe81
DM
335192012-05-31 David S. Miller <davem@davemloft.net>
33520
33521 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33522 entries.
33523
5be8418c
AS
335242012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33525
e7725326
AS
33526 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33527 gen-libm-test.pl.
33528
5be8418c
AS
33529 [BZ #14132]
33530 * elf/dl-reloc.c: Include <_itoa.h>.
33531 (_dl_reloc_bad_type): Remove use of INTUSE.
33532 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33533 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33534 * stdio-common/psiginfo.c (psiginfo): Likewise.
33535 * stdio-common/psignal.c (psignal): Likewise.
33536 * string/strsignal.c (strsignal): Likewise.
33537 * include/signal.h (_sys_siglist): Declare hidden proto.
33538 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33539 INTVARDEF with libc_hidden_data_def.
33540 * stdio-common/itoa-udigits.c: Likewise.
33541 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33542 (_itoa_lower_digits_internal): Remove declaration.
33543 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33544 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33545 (_sys_sigabbrev_internal): Remove aliases.
33546 (_sys_siglist): Define hidden alias.
33547
507352f1
MT
335482012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33549
33550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33551 bits/sysctl.h.
33552
42bbb1c3
L
335532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33554
33555 [BZ #14117]
6bd784b6
L
33556 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33557 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33558
8bca20f0
L
33559 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33560 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33561 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33562 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33563 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33564 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33565
f9e890a9
L
33566 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33567 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33568 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33569
471101a1
L
33570 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33571 with __addr.
33572 (insw): Likewise.
33573 (insl): Likewise.
33574 (outsb): Likewise.
33575 (outsw): Likewise.
33576 (outsl): Likewise.
33577
6451c862
L
33578 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33579 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33580 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33581
a254b8c9
L
33582 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33583 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33584 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33585 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33586 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33587 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33588
b8dfdd92
L
33589 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33590 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33591
578cd270
L
33592 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33593 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33594
de662f5f
L
33595 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33596 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33597 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33598
25653439
L
33599 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33600 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33601 to ...
33602 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33603
6bad24a0
L
33604 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33605 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33606 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33607
42bbb1c3
L
33608 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33609 for x86-64.
33610 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33611
2d10d547
JM
336122012-05-31 Joseph Myers <joseph@codesourcery.com>
33613
33614 * math/math.h (M_El): Use two more decimal places.
33615 (M_LOG2El): Likewise.
33616 (M_LOG10El): Likewise.
33617 (M_LN2l): Likewise.
33618 (M_LN10l): Likewise.
33619 (M_PIl): Likewise.
33620 (M_PI_2l): Likewise.
33621 (M_PI_4l): Likewise.
33622 (M_1_PIl): Likewise.
33623 (M_2_PIl): Likewise.
33624 (M_2_SQRTPIl): Likewise.
33625 (M_SQRT2l): Likewise.
33626 (M_SQRT1_2l): Likewise.
33627
f230c29b
DM
336282012-05-31 David S. Miller <davem@davemloft.net>
33629
33630 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33631 values between float registers.
33632 * sysdeps/sparc/sparc64/memset.S: Likewise.
33633 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33634
fed806c3
MF
336352012-05-31 Mike Frysinger <vapier@gentoo.org>
33636
33637 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33638 -D_FORTIFY_SOURCE=1.
33639 (CPPFLAGS-tst-longjmp_chk.c): Define.
33640 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33641 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33642 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33643 CFLAGS-tst-wchar-h.c.
33644
30917259
MP
336452012-05-31 Marek Polacek <polacek@redhat.com>
33646
33647 [BZ #14132]
33648 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33649 __endmntent_internal): Remove declaration.
33650 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33651 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33652 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33653
1c58d5dc
DM
336542012-05-30 David S. Miller <davem@davemloft.net>
33655
33656 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33657 (___Q_simulate_exceptions): Use real FP ops rather than writing
33658 into the %fsr.
33659 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33660 Likewise.
33661
7dc00e0d
L
336622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33663
33664 [BZ #14117]
0bd53985
L
33665 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33666 * sysdeps/x86/bits/xtitypes.h: This.
33667
3a257e66
L
33668 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33669 * sysdeps/x86/bits/wordsize.h: This.
33670
62f62904
L
33671 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33672 * sysdeps/x86/bits/huge_vall.h: This.
33673
404fe9d9
L
33674 * sysdeps/i386/bits/select.h: Removed.
33675 * sysdeps/x86_64/bits/select.h: Renamed to ...
33676 * sysdeps/x86/bits/select.h: This.
33677
d48d0446
L
33678 * sysdeps/i386/bits/setjmp.h: Removed.
33679 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33680 * sysdeps/x86/bits/setjmp.h: This.
33681
7dc00e0d
L
33682 * sysdeps/i386/bits/mathdef.h: Removed.
33683 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33684 * sysdeps/x86/bits/mathdef.h: This.
33685
03277f8f
AS
336862012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33687
33688 [BZ #14132]
33689 * include/sys/socket.h (__connect_internal)
33690 (__libc_sa_len_internal): Remove declaration.
33691 (__connect, __libc_sa_len): Declare hidden_proto.
33692 (SA_LEN): Remove use of INTUSE.
33693 * socket/connect.c: Add libc_hidden_def.
33694 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33695 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33696 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33697 alias.
33698 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33699 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33700 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33701 of adding _internal alias.
33702
13764867
L
337032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33704
33705 [BZ #14117]
6bd97696
L
33706 * sysdeps/i386/bits/link.h: Removed.
33707 * sysdeps/i386/bits/linkmap.h: Likewise.
33708 * sysdeps/x86_64/bits/link.h: Renamed to ...
33709 * sysdeps/x86/bits/link.h: This.
33710 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33711 * sysdeps/x86/bits/linkmap.h: This.
33712
f726f0bb
L
33713 * sysdeps/i386/bits/endian.h: Removed.
33714 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33715 * sysdeps/x86/bits/endian.h: This.
33716
13764867
L
33717 * sysdeps/i386/bits/byteswap.h: Removed.
33718 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33719 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33720 * sysdeps/x86/bits/byteswap.h: This.
33721 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33722 * sysdeps/x86/bits/byteswap-16.h: This.
33723 * sysdeps/i386/Implies: Add x86.
33724 * sysdeps/x86_64/Implies: Likewise.
33725
ae251b0b
DM
337262012-05-30 David S. Miller <davem@davemloft.net>
33727
33728 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33729 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33730 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33731 (FP_TRAPPING_EXCEPTIONS): Define.
33732 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33733 (FP_TRAPPING_EXCEPTIONS): Define.
33734 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33735 subnormals only when inexact has been signalled or underflow
33736 exceptions are enabled.
33737 (_FP_PACK_CANONICAL): Likewise.
33738
d5c90867
L
337392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33740
33741 [BZ #14183]
33742 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33743 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33744
63f1549e
RH
337452012-05-30 Richard Henderson <rth@twiddle.net>
33746
8d8f2279
RH
33747 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33748 with #ifndef NOT_IN_libc.
33749
63f1549e
RH
33750 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33751 marked to avoid plt entry.
33752
0ab0291b
L
337532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33754
33755 [BZ #14112]
33756 * Makeconfig (default-abi): New macro.
33757 (abi-includes): Likewise.
33758 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33759 $(abi-$(default-abi)-lib-soname) for soname if defined.
33760 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33761 abi-variants.
33762 * Makefile (installed-stubs): Likewise.
33763 * include/stubs-biarch.h: Removed.
33764 * scripts/lib-names.awk: Only handle one library at a time.
33765 * scripts/soversions.awk: Remove WORDSIZE support.
33766 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33767 entries.
33768 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33769 Removed.
33770 (syscall-list-default-condition): Likewise.
33771 (syscall-list-default-condition): Likewise.
33772 (syscall-list-includes): Likewise.
33773 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33774 syscall-list-* with abi-*. Handle undefined abi-variants.
33775 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33776 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33777 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33778 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33779 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33780 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33781 Removed.
33782 (syscall-list-32-options): Likewise.
33783 (syscall-list-32-condition): Likewise.
33784 (syscall-list-64-options): Likewise.
33785 (syscall-list-64-condition): Likewise.
33786 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33787 macro.
33788 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33789 Renamed to ...
33790 (abi-*): This.
33791 (abi-64-ld-soname): New macro.
33792 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33793 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33794 Renamed to ...
33795 (abi-*): This.
33796 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33797 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33798
4da0431d
JM
337992012-05-30 Joseph Myers <joseph@codesourcery.com>
33800
3a85279c
JM
33801 * sysdeps/unix/sysv/linux/kernel-features.h
33802 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33803 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33804 include <kernel-features.h>.
33805 [!__NR_ftruncate64]: Remove conditional code.
33806 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33807 [__NR_ftruncate64]: Make code unconditional.
33808 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33809 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33810 include <kernel-features.h>.
33811 [!__NR_ftruncate64]: Remove conditional code.
33812 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33813 [__NR_ftruncate64]: Make code unconditional.
33814 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33816 include <kernel-features.h>.
33817 [!__NR_ftruncate64]: Remove conditional code.
33818 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33819 [__NR_ftruncate64]: Make code unconditional.
33820 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33822 include <kernel-features.h>.
33823 [!__NR_ftruncate64]: Remove conditional code.
33824 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33825 [__NR_ftruncate64]: Make code unconditional.
33826 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33827
4da0431d
JM
33828 * configure.in (libc_cv_fpie): Weaken to a compile test using
33829 LIBC_TRY_CC_OPTION.
33830 * configure: Regenerated.
33831
11ef492c
AK
338322012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33833
33834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33838 Refreshed.
33839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33845 Refreshed.
33846
d66ef399
DM
338472012-05-27 David S. Miller <davem@davemloft.net>
33848
33849 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33850 (___Q_zero): New.
33851 (__Q_simulate_exceptions): Return void. Change to simulate
33852 exceptions by writing into the %fsr.
33853 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33854 (__Qp_handle_exceptions): Likewise.
33855 (numbers): Delete.
33856 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33857 __Qp_handle_exceptions.
33858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33859 __Qp_handle_exceptions.
33860 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33861 as unused and give dummy FP_RND_NEAREST initializer.
33862 (FP_INHIBIT_RESULTS): Define.
33863 (___Q_simulate_exceptions): Update declaration.
33864 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33865 formatting.
33866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33867 as unused and give dummy FP_RND_NEAREST initializer.
33868 (__Qp_handle_exceptions): Update declaration.
33869 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33870 formatting.
33871
04fb54b5
TS
338722012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33873
33874 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33875 the temporary FPU control word.
33876 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33877 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33878 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33879 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33880 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33881 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33882 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33883 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33884 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33885 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33886 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33887
3f99608f
KK
338882012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33889
33890 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33891 fields.
33892
65a4de4e
CLT
338932012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33894
33895 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33896 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33897 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33898 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33899 Likewise.
33900 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33901 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33902 Likewise.
33903
15749d40
UD
339042012-05-27 Ulrich Drepper <drepper@gmail.com>
33905
33906 * po/h.po: Update from translation team.
33907
25dbcb27
AS
339082012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33909
3d3f8e55
AS
33910 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33911
25dbcb27
AS
33912 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33913 handling of denormals.
33914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33915 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33916 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33917 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33918 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33921 Likewise.
33922
7ad47a80 339232012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33924
33925 [BZ #14152]
33926 * math/libm-test.inc (fma_test): Don't always expect underflow
33927 exception.
33928
9c6ea9fa
SP
339292012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33930
33931 [BZ #12416]
33932 * elf/tst-execstack.c: Include stackinfo.h.
33933 (do_test): Adjust test case to ensure that pthread_getattr_np
33934 behaviour remains the same after marking stack executable.
33935
a8239222
JM
339362012-05-25 Joseph Myers <joseph@codesourcery.com>
33937
33938 * sysdeps/unix/sysv/linux/kernel-features.h
33939 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33940 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33941 kernel-features.h.
33942 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33943 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33944 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33945 kernel-features.h.
33946 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33947 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33948
918b5606
L
339492012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33950
33951 * configure.in: Define the default includes to being none.
33952 * configure: Regenerated.
33953
3a097cc7
RM
339542012-05-25 Roland McGrath <roland@hack.frob.com>
33955
8422c9a5
RM
33956 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33957 * sysdeps/x86_64/setjmp.S: Likewise.
33958 * sysdeps/i386/bsd-setjmp.S: Likewise.
33959 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33960 * sysdeps/i386/setjmp.S: Likewise.
33961 * sysdeps/i386/__longjmp.S: Likewise.
33962 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33963 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33964
3a097cc7
RM
33965 * include/stap-probe.h: New file.
33966 * configure.in: Handle --enable-systemtap.
33967 * configure: Regenerated.
33968 * config.h.in (USE_STAP_PROBE): New #undef.
33969 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33970 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33971 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33972
21708942
JM
339732012-05-25 Joseph Myers <joseph@codesourcery.com>
33974
33975 [BZ #13717]
33976 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33977 to 2.4.0 where earlier.
33978 * sysdeps/unix/sysv/linux/configure: Regenerated.
33979 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33980 <kernel-features.h>.
33981 [__ASSUME_32BITUIDS]: Make code unconditional.
33982 [!__ASSUME_32BITUIDS]: Remove conditional code.
33983 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33984 <kernel-features.h>.
33985 [__ASSUME_32BITUIDS]: Make code unconditional.
33986 [!__ASSUME_32BITUIDS]: Remove conditional code.
33987 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33988 [__ASSUME_32BITUIDS]: Make code unconditional.
33989 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33990 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33991 <kernel-features.h>.
33992 [__ASSUME_32BITUIDS]: Make code unconditional.
33993 [!__ASSUME_32BITUIDS]: Remove conditional code.
33994 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33995 <kernel-features.h>.
33996 [__ASSUME_32BITUIDS]: Make code unconditional.
33997 [!__ASSUME_32BITUIDS]: Remove conditional code.
33998 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33999 <kernel-features.h>.
34000 [__ASSUME_32BITUIDS]: Make code unconditional.
34001 [!__ASSUME_32BITUIDS]: Remove conditional code.
34002 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34003 <kernel-features.h>.
34004 [__ASSUME_32BITUIDS]: Make code unconditional.
34005 [!__ASSUME_32BITUIDS]: Remove conditional code.
34006 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34007 <kernel-features.h>.
34008 [__ASSUME_32BITUIDS]: Make code unconditional.
34009 [!__ASSUME_32BITUIDS]: Remove conditional code.
34010 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34011 <kernel-features.h>.
34012 [__ASSUME_32BITUIDS]: Make code unconditional.
34013 [!__ASSUME_32BITUIDS]: Remove conditional code.
34014 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34015 <kernel-features.h>.
34016 [__ASSUME_32BITUIDS]: Make code unconditional.
34017 [!__ASSUME_32BITUIDS]: Remove conditional code.
34018 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34019 <kernel-features.h>.
34020 [__ASSUME_32BITUIDS]: Make code unconditional.
34021 [!__ASSUME_32BITUIDS]: Remove conditional code.
34022 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34023 <kernel-features.h>.
34024 [__ASSUME_32BITUIDS]: Make code unconditional.
34025 [!__ASSUME_32BITUIDS]: Remove conditional code.
34026 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34027 <kernel-features.h>.
34028 [__ASSUME_32BITUIDS]: Make code unconditional.
34029 [!__ASSUME_32BITUIDS]: Remove conditional code.
34030 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34031 <kernel-features.h>.
34032 [__NR_setresgid] (__setresgid): Do not declare.
34033 [__ASSUME_32BITUIDS]: Make code unconditional.
34034 [!__ASSUME_32BITUIDS]: Remove conditional code.
34035 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34036 <kernel-features.h>.
34037 [__NR_setresuid] (__setresuid): Do not declare.
34038 [__ASSUME_32BITUIDS]: Make code unconditional.
34039 [!__ASSUME_32BITUIDS]: Remove conditional code.
34040 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34041 <kernel-features.h>.
34042 [__ASSUME_32BITUIDS]: Make code unconditional.
34043 [!__ASSUME_32BITUIDS]: Remove conditional code.
34044 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34045 <kernel-features.h>.
34046 [__ASSUME_32BITUIDS]: Make code unconditional.
34047 [!__ASSUME_32BITUIDS]: Remove conditional code.
34048 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34049 <kernel-features.h>.
34050 [__ASSUME_32BITUIDS]: Make code unconditional.
34051 [!__ASSUME_32BITUIDS]: Remove conditional code.
34052 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34053 <kernel-features.h>.
34054 [__ASSUME_32BITUIDS]: Make code unconditional.
34055 [!__ASSUME_32BITUIDS]: Remove conditional code.
34056 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34057 <kernel-features.h>.
34058 [__ASSUME_32BITUIDS]: Make code unconditional.
34059 [!__ASSUME_32BITUIDS]: Remove conditional code.
34060 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34061 <kernel-features.h>.
34062 [__ASSUME_32BITUIDS]: Make code unconditional.
34063 [!__ASSUME_32BITUIDS]: Remove conditional code.
34064 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34065 <kernel-features.h>.
34066 [__ASSUME_32BITUIDS]: Make code unconditional.
34067 [!__ASSUME_32BITUIDS]: Remove conditional code.
34068 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34069 <kernel-features.h>.
34070 [__ASSUME_32BITUIDS]: Make code unconditional.
34071 [!__ASSUME_32BITUIDS]: Remove conditional code.
34072 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34073 <kernel-features.h>.
34074 [__ASSUME_32BITUIDS]: Make code unconditional.
34075 [!__ASSUME_32BITUIDS]: Remove conditional code.
34076 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34077 <kernel-features.h>.
34078 [__ASSUME_32BITUIDS]: Make code unconditional.
34079 [!__ASSUME_32BITUIDS]: Remove conditional code.
34080 * sysdeps/unix/sysv/linux/kernel-features.h
34081 (__ASSUME_SETRESUID_SYSCALL): Remove.
34082 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34083 (__ASSUME_32BITUIDS): Likewise.
34084 (__ASSUME_LDT_WORKS): Likewise.
34085 (__ASSUME_O_DIRECTORY): Likewise.
34086 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34087 architecture but not kernel version.
34088 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34089 (__ASSUME_MMAP2_SYSCALL): Likewise.
34090 (__ASSUME_STAT64_SYSCALL): Likewise.
34091 (__ASSUME_IPC64): Likewise.
34092 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34093 <kernel-features.h>.
34094 [__ASSUME_32BITUIDS]: Make code unconditional.
34095 [!__ASSUME_32BITUIDS]: Remove conditional code.
34096 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34097 <kernel-features.h>.
34098 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34099 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34100 132096]: Remove conditional code.
34101 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34102 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34103 <kernel-features.h>.
34104 [__ASSUME_32BITUIDS]: Make code unconditional.
34105 [!__ASSUME_32BITUIDS]: Remove conditional code.
34106 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34107 <kernel-features.h>.
34108 [__ASSUME_32BITUIDS]: Make code unconditional.
34109 [!__ASSUME_32BITUIDS]: Remove conditional code.
34110 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34111 <kernel-features.h>.
34112 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34113 unconditional.
34114 (__setresgid): Do not declare.
34115 [__ASSUME_32BITUIDS]: Make code unconditional.
34116 [!__ASSUME_32BITUIDS]: Remove conditional code.
34117 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34118 <kernel-features.h>.
34119 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34120 unconditional.
34121 (__setresuid): Do not declare.
34122 [__ASSUME_32BITUIDS]: Make code unconditional.
34123 [!__ASSUME_32BITUIDS]: Remove conditional code.
34124 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34125 <kernel-features.h>.
34126 [__ASSUME_32BITUIDS]: Make code unconditional.
34127 [!__ASSUME_32BITUIDS]: Remove conditional code.
34128 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34129 <kernel-features.h>.
34130 [__ASSUME_32BITUIDS]: Make code unconditional.
34131 [!__ASSUME_32BITUIDS]: Remove conditional code.
34132
a386f1cc
RH
341332012-05-25 Richard Henderson <rth@twiddle.net>
34134
34135 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34136 dl_hwcap to ifunc resolver.
34137 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34138 elf_ifunc_invoke.
34139 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34140 dl_hwcap to ifunc resolver.
34141 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34142
b6550497
JM
341432012-05-24 Joseph Myers <joseph@codesourcery.com>
34144
34145 [BZ #14153]
34146 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34147 for |x| <= 2**-26, not 2**-57.
34148 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34149 exception.
34150
b0bc23a1
JL
341512012-05-24 Jeff Law <law@redhat.com>
34152
34153 * stdio-common/Makefile (tests): Add bug25.
34154 * stdio-common/bug25.c: New test.
34155
347c92e9
L
341562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34157
34158 [BZ #13576]
34159 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34160 multiple of MALLOC_ALIGNMENT in size.
34161 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34162
6bcc8b3f
JM
341632012-05-24 Joseph Myers <joseph@codesourcery.com>
34164
34165 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34166 Require >= 256.
34167 (FILENAME_MAX): Use macro-int-constant.
34168 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34169 (_IOFBF): Use macro-int-constant.
34170 (_IOLBF): Likewise.
34171 (_IONBF): Likewise.
34172 (SEEK_CUR): Likewise.
34173 (SEEK_END): Likewise.
34174 (SEEK_SET): Likewise.
34175 (TMP_MAX): Likewise.
34176 (EOF): Use macro-int-constant. Require < 0.
34177 (NULL): Use macro-constant. Require == 0.
34178 (stdin): Require type to be FILE *.
34179 (stdout): Likewise.
34180 (stderr): Likewise.
34181 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34182 macro-int-constant.
34183 (EXIT_SUCCESS): Likewise.
34184 (NULL): Use macro-constant. Require == 0.
34185 (RAND_MAX): Use macro-int-constant.
34186 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34187 [C99-based standards] (strtof): Require function.
34188 [C99-based standards] (strtold): Likewise.
34189 [C99-based standards] (strtoll): Likewise.
34190 [C99-based standards] (strtoull): Likewise.
34191 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34192 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34193 [ISO || ISO99 || ISO11] (math.h): Likewise.
34194 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34195 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34197
d18ea0c5
AS
341982012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34199
34200 [BZ #14132]
56d25bb8
AS
34201 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34202 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34203 * intl/dgettext.c (DCGETTEXT): Likewise.
34204 * intl/gettext.c (DCGETTEXT): Likewise.
34205 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34206 * posix/regex_internal.h (gettext): Likewise.
34207 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34208 Remove declaration.
34209 * include/argz.h (__argz_count_internal)
34210 (__argz_stringify_internal): Remove declaration.
34211 (__argz_count, __argz_stringify): Declare hidden proto.
34212 * intl/dcgettext.c: Remove use of INTDEF.
34213 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34214 * string/argz-stringify.c: Likewise.
34215 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34216 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34217 Declare hidden proto.
d18ea0c5
AS
34218 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34219 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34220 Declare hidden proto.
34221 * include/stdio.h (__asprintf_internal): Don't declare.
34222 (__asprintf): Don't define as macro. Declare hidden proto.
34223 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34224 (__fsetlocking): Declare hidden proto.
34225 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34226 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34227 hidden proto.
34228 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34229 (_IO_setlinebuf): Remove use of INTUSE.
34230 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34231 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34232 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34233 Remove declaration.
34234 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34235 (_IO_do_flush): Remove use of INTUSE.
34236 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34237 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34238 (_IO_adjust_column, _IO_least_wmarker)
34239 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34240 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34241 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34242 (_IO_default_doallocate, _IO_wdefault_doallocate)
34243 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34244 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34245 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34246 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34247 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34248 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34249 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34250 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34251 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34252 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34253 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34254 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34255 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34256 proto.
34257 (_IO_flush_all_internal, _IO_adjust_column_internal)
34258 (_IO_default_uflow_internal, _IO_default_finish_internal)
34259 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34260 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34261 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34262 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34263 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34264 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34265 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34266 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34267 (_IO_file_close_internal, _IO_file_close_it_internal)
34268 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34269 (_IO_file_init_internal, _IO_file_attach_internal)
34270 (_IO_file_fopen_internal, _IO_file_read_internal)
34271 (_IO_file_sync_internal, _IO_file_seek_internal)
34272 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34273 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34274 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34275 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34276 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34277 (_IO_list_all_internal, _IO_link_in_internal)
34278 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34279 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34280 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34281 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34282 (_IO_do_write_internal, _IO_padn_internal)
34283 (_IO_getline_info_internal, _IO_getline_internal)
34284 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34285 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34286 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34287 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34288 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34289 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34290 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34291 with libc_hidden_ver, remove use of INTUSE.
34292 * libio/genops.c: Likewise.
34293 * libio/freopen.c: Likewise.
34294 * libio/freopen64.c: Likewise.
34295 * libio/iofclose.c: Likewise.
34296 * libio/iofdopen.c: Likewise.
34297 * libio/iofflush.c: Likewise.
34298 * libio/iofflush_u.c: Likewise.
34299 * libio/iofgets.c: Likewise.
34300 * libio/iofgets_u.c: Likewise.
34301 * libio/iofopen.c: Likewise.
34302 * libio/iofopncook.c: Likewise.
34303 * libio/iofread.c: Likewise.
34304 * libio/iofread_u.c: Likewise.
34305 * libio/ioftell.c: Likewise.
34306 * libio/iofwrite.c: Likewise.
34307 * libio/iogetline.c: Likewise.
34308 * libio/iogets.c: Likewise.
34309 * libio/iogetwline.c: Likewise.
34310 * libio/iopadn.c: Likewise.
34311 * libio/iopopen.c: Likewise.
34312 * libio/ioseekoff.c: Likewise.
34313 * libio/ioseekpos.c: Likewise.
34314 * libio/iosetbuffer.c: Likewise.
34315 * libio/iosetvbuf.c: Likewise.
34316 * libio/ioungetc.c: Likewise.
34317 * libio/ioungetwc.c: Likewise.
34318 * libio/iovdprintf.c: Likewise.
34319 * libio/iovsprintf.c: Likewise.
34320 * libio/iovsscanf.c: Likewise.
34321 * libio/memstream.c: Likewise.
34322 * libio/obprintf.c: Likewise.
34323 * libio/oldfileops.c: Likewise.
34324 * libio/oldiofclose.c: Likewise.
34325 * libio/oldiofdopen.c: Likewise.
34326 * libio/oldiofopen.c: Likewise.
34327 * libio/oldiopopen.c: Likewise.
34328 * libio/oldstdfiles.c: Likewise.
34329 * libio/putc.c: Likewise.
34330 * libio/setbuf.c: Likewise.
34331 * libio/setlinebuf.c: Likewise.
34332 * libio/stdfiles.c: Likewise.
34333 * libio/strops.c: Likewise.
34334 * libio/vasprintf.c: Likewise.
34335 * libio/vscanf.c: Likewise.
34336 * libio/vsnprintf.c: Likewise.
34337 * libio/vswprintf.c: Likewise.
34338 * libio/wfiledoalloc.c: Likewise.
34339 * libio/wfileops.c: Likewise.
34340 * libio/wgenops.c: Likewise.
34341 * libio/wmemstream.c: Likewise.
34342 * libio/wstrops.c: Likewise.
34343 * libio/__fpurge.c: Likewise.
34344 * libio/__fsetlocking.c: Likewise.
34345 * assert/assert.c: Likewise.
34346 * debug/fgets_chk.c: Likewise.
34347 * debug/fgets_u_chk.c: Likewise.
34348 * debug/fread_chk.c: Likewise.
34349 * debug/fread_u_chk.c: Likewise.
34350 * debug/gets_chk.c: Likewise.
34351 * debug/obprintf_chk.c: Likewise.
34352 * debug/vasprintf_chk.c: Likewise.
34353 * debug/vdprintf_chk.c: Likewise.
34354 * debug/vsnprintf_chk.c: Likewise.
34355 * debug/vsprintf_chk.c: Likewise.
34356 * malloc/mtrace.c: Likewise.
34357 * misc/error.c: Likewise.
34358 * misc/syslog.c: Likewise.
34359 * stdio-common/asprintf.c: Likewise.
34360 * stdio-common/fxprintf.c: Likewise.
34361 * stdio-common/getw.c: Likewise.
34362 * stdio-common/isoc99_fscanf.c: Likewise.
34363 * stdio-common/isoc99_scanf.c: Likewise.
34364 * stdio-common/isoc99_vfscanf.c: Likewise.
34365 * stdio-common/isoc99_vscanf.c: Likewise.
34366 * stdio-common/isoc99_vsscanf.c: Likewise.
34367 * stdio-common/printf-prs.c: Likewise.
34368 * stdio-common/printf_fp.c: Likewise.
34369 * stdio-common/printf_fphex.c: Likewise.
34370 * stdio-common/printf_size.c: Likewise.
34371 * stdio-common/putw.c: Likewise.
34372 * stdio-common/scanf.c: Likewise.
34373 * stdio-common/sprintf.c: Likewise.
34374 * stdio-common/tmpfile.c: Likewise.
34375 * stdio-common/vfprintf.c: Likewise.
34376 * stdio-common/vfscanf.c: Likewise.
34377 * stdlib/strfmon_l.c: Likewise.
34378 * sunrpc/openchild.c: Likewise.
34379 * sunrpc/xdr_stdio.c: Likewise.
34380 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34381 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34382
d6c33fda
RM
343832012-05-24 Roland McGrath <roland@hack.frob.com>
34384
c1487492
RM
34385 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34386
34387 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34388 in the third column, to generate for the shared library an IFUNC
34389 that uses _dl_vdso_vsym.
34390 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34391 * Makeconfig (object-suffixes-noshared): New variable.
34392
34393 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34394 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34395 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34396 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34397
d6c33fda
RM
34398 [BZ #14132]
34399 * include/sys/time.h (__gettimeofday): Remove macro.
34400 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34401 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34402 Remove INTDEF.
34403 (__gettimeofday): Add libc_hidden_def.
34404 (gettimeofday): Add libc_hidden_weak.
34405 * sysdeps/mach/gettimeofday.c: Likewise.
34406 * sysdeps/posix/gettimeofday.c: Likewise.
34407 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34408 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34410 (__gettimeofday_internal): Remove strong_alias.
34411 (__gettimeofday): Add libc_hidden_def.
34412 (gettimeofday): Add libc_hidden_weak.
34413 * sysdeps/unix/syscalls.list (gettimeofday):
34414 Remove __gettimeofday_internal alias.
34415
b5a2bbe6
L
344162012-05-24 Daniel Jacobowitz <drow@false.org>
34417 H.J. Lu <hongjiu.lu@intel.com>
34418
34419 [BZ #12495]
34420 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34421 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34422 (largebin_index_32_big): New.
34423 (largebin_index): Use it for 16-byte alignment.
34424 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34425 correction with front_misalign.
34426
cfba4fda
L
344272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34428
7f907421
L
34429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34431 Likewise.
34432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34433 Likewise.
34434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34435 Likewise.
34436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34437 Likewise.
34438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34439 Likewise.
34440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34441 Likewise.
34442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34443 Likewise.
34444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34445 Likewise.
34446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34447 Likewise.
34448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34449 Likewise.
34450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34451 Likewise.
34452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34453 Likewise.
34454
cfba4fda
L
34455 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34456 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34457
80bad0cc
JM
344582012-05-24 Joseph Myers <joseph@codesourcery.com>
34459
7a25eb06
JM
34460 [BZ #10846]
34461 [BZ #14036]
34462 * math/libm-test.inc (exp_test): Add test from bug 14036.
34463 (pow_test): Add test from bug 10846.
34464
795405f9
JM
34465 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34466 and other flags.
34467 (special_function): Do not include flags in test name.
34468 (parse_args): Likewise.
34469 * sysdeps/i386/fpu/libm-test-ulps: Update.
34470 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34471 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34472 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34474
80bad0cc
JM
34475 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34476 exceptions.
34477 * math/libm-test.inc ("Philosophy"): Update comment about
34478 exception testing.
34479 (UNDERFLOW_EXCEPTION): New macro.
34480 (UNDERFLOW_EXCEPTION_OK): Likewise.
34481 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34482 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34483 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34484 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34485 (INVALID_EXCEPTION_OK): Update value.
34486 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34487 (OVERFLOW_EXCEPTION_OK): Likewise.
34488 (IGNORE_ZERO_INF_SIGN): Likewise.
34489 (test_exceptions): Handle underflow exceptions.
34490 (acos_test): Update for underflow exception expectations.
34491 (cexp_test): Likewise.
34492 (clog_test): Likewise.
34493 (clog10_test): Likewise.
34494 (csqrt_test): Likewise.
34495 (ctan_test): Likewise.
34496 (ctanh_test): Likewise.
34497 (exp_test): Likewise.
34498 (exp10_test): Likewise.
34499 (exp2_test): Likewise.
34500 (expm1_test): Likewise.
34501 (fma_test): Likewise.
34502 (j0_test): Likewise.
34503 (jn_test): Likewise.
34504 (nexttoward_test): Likewise.
34505 (pow_test): Likewise.
34506 (scalbn_test): Likewise.
34507 (scalbln_test): Likewise.
34508 (tan_test): Likewise.
34509 (y1_test): Likewise.
34510 * sysdeps/i386/fpu/libm-test-ulps: Update.
34511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34512
9e0e3d0b
DM
345132012-05-23 David S. Miller <davem@davemloft.net>
34514
34515 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34516 (__libc_sigaction): Remove unused local variables.
34517
ccd0a08f
L
345182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34519
34520 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34521
62bdf9a6
PE
345222012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34523
f8591f80
PE
34524 mktime: avoid signed integer overflow
34525 * time/mktime.c (__mktime_internal): Do not mishandle the case
34526 where diff == INT_MIN.
34527
94c7d826
PE
34528 mktime: simplify computation of average
34529 * time/mktime.c (ranged_convert): Use new time_t_avg function
34530 instead of rolling our own (probably-slower) code.
34531
ce73d683
PE
34532 mktime: do not assume signed right shift propagates sign bit
34533 * time/mktime.c (isdst_differ): New static function.
34534 (__mktime_internal): No need to normalize tm_isdst now.
34535 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34536 tm_isdst values.
34537
72a22e59
PE
34538 mktime: merge another wrapv change from gnulib
34539 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34540 from some compilers.
34541
68605433
PE
34542 mktime: remove incorrect attempt at unusual arithmetics
34543 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34544 The code didn't really work on such machines anyway.
34545 (TYPE_MINIMUM): Assume two's complement.
34546 (twos_complement_arithmetic): Verify that long_int and time_t
34547 are two's complement (or unsigned, in the latter case).
34548
03cf7fe3
PE
34549 mktime: check signed shifts on long_int and time_t, too
34550 * time/mktime.c (SHR): Check that shifts work as desired
34551 on the types long_int and time_t too, as SHR is used on
34552 such types.
34553
f04dfbc2
PE
34554 mktime: do not assume 'long' is wide enough
34555 * time/mktime.c (verify): Move decl up.
34556 (long_int): New type.
34557 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34558 to remove assumption in the code that 'long' is wide enough to
34559 store year values. This assumption is not true on x32 and on
34560 some non-glibc platforms.
34561
62bdf9a6
PE
34562 mktime: merge wrapv change from gnulib
34563 * time/mktime.c (WRAPV): New macro.
34564 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34565 (guess_time_tm, __mktime_internal): Do not assume that signed
34566 integer overflow wraps around; modern compilers generate code
34567 where this assumption is no longer valid.
34568
5e292e4f
L
345692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34570
34571 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34572 Replace "jmp L(pseudo_end)" with "ret".
34573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34574 Likewise.
34575
8caf8c87
AJ
345762012-05-23 Andreas Jaeger <aj@suse.de>
34577
34578 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34579 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34580
1a09dc56
AJ
345812012-05-23 Andreas Jaeger <aj@suse.de>
34582 Maximilian Attems <max@stro.at>
34583
34584 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34585 New macros.
34586
1c87aba0
L
345872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34588
34589 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34590 code so that pseudo_end is just ret and the stack pointer is
34591 correct also for static library in error case.
34592
40e45bd5
JM
345932012-05-23 Joseph Myers <joseph@codesourcery.com>
34594
c2670533
JM
34595 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34596 move to syscalls.list.
34597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34601
40e45bd5
JM
34602 * manual/install.texi (Running make install): Do not mention Linux
34603 kernel version for which pt_chown is not needed.
34604 (Linux): Do not mention problems with nscd with 2.0 kernels.
34605 * INSTALL: Regenerated.
34606
be08eda5
AJ
346072012-05-23 Andreas Jaeger <aj@suse.de>
34608
34609 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34610 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34611 macro.
34612 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34613 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34614 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34615 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34616 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34617 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34618 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34619 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34620 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34621 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34622 * sysdeps/unix/sysv/linux/bits/in.h
34623 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34624
a6a056bb
RM
346252012-05-22 Roland McGrath <roland@hack.frob.com>
34626
34627 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34628 (PREPARE_VERSION): Just use assert instead, it will be elided
34629 under [NDEBUG] anyway.
34630
c9009328
L
346312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34632
34633 * sysdeps/unix/sysv/linux/Makefile: Include
34634 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34635 (sysdep_routines): Remove sysctl.
c9009328
L
34636 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34637 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34638 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34639 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34640 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34641
73338355
AJ
346422012-05-22 Andreas Jaeger <aj@suse.de>
34643
34644 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34645 that pseudo_end is just ret and the stack pointer is correct also
34646 for static library in error case.
34647
d44638b0
PP
346482012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34649
34650 [BZ #14122]
34651 * nss/nsswitch.c (defconfig_entries): New variable.
34652 (__nss_database_lookup): Don't leak defconfig entries.
34653 (nss_parse_service_list): Don't leak on error paths.
34654 (free_database_entries): New function.
34655 (free_defconfig): New function.
34656 (free_mem): Move common code to free_database_entries.
34657
31a39bd8
L
346582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34659
da0331a8
L
34660 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34661 Add arch_prctl.
34662 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34663
31a39bd8
L
34664 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34665 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34666 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34667 New macro.
34668 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34669 (INTERNAL_SYSCALL_TYPES): Likewise.
34670 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34671 (LOAD_REGS_TYPES_[1-6]): Likewise.
34672 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34673 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34674
45470df3
AZ
346752012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34676
34677 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34678 copysignl for GLIBC_2_0.
34679 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34680 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34681 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34682 logbl for GLIBC_2_0.
34683 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34684 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34685
98a61bcb
L
346862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34687
a4f6e481
L
34688 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34689 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34690
f63d5db6
L
34691 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34692 Use "neg %eax".
34693
98a61bcb
L
34694 * time/mktime.c: Update copyright years.
34695
95770f14
PE
346962012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34697
6226efbd
PE
34698 mktime: merge comment-quoting-style change from gnulib
34699 * time/mktime.c: Quote 'like this' in comments.
34700 The GNU coding standards suggest that we no longer quote `like this',
34701 as "`" and "'" are typically rendered asymmetrically nowadays.
34702 The typical gnulib style is to quote 'like this' when quoting
34703 code, and "like this" when quoting English.
34704
b99e4f78
PE
34705 * time/mktime.c (compile-command): Add "-I.".
34706
643e01e6
PE
34707 mktime: merge mktime-internal.h change from gnulib
34708 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34709
2554247d
PE
34710 mktime: merge time_r change from gnulib
34711 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34712
826dd0ab
PE
34713 mktime: merge DEBUG change from gnulib
34714 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34715 case system <time.h> has a #define.
34716
bd83aabe
PE
34717 mktime: merge <sys/types.h> change from gnulib
34718 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34719 since <time.t> is now guaranteed to define time_t.
34720
95770f14
PE
34721 mktime: merge HAVE_CONFIG_H change from gnulib
34722 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34723
5e1a27a9
L
347242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34725
0e44a77e
L
34726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34727 Use "neg %eax".
34728
5e1a27a9
L
34729 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34730 __rlim_t cast.
34731 (struct rusage): Use anonymous union to pad each field to
34732 __syscall_slong_t.
34733
46259bec
DM
347342012-05-21 David S. Miller <davem@davemloft.net>
34735
34736 * Makefules (o-iterator): Remove .s cases.
34737 (compile-command.s): Delete.
34738 (COMPILE.s): Delete.
34739 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34740
59f0c22e
JM
347412012-05-21 Joseph Myers <joseph@codesourcery.com>
34742
34743 * configure.in (libc_cv_predef_stack_protector): Only consider
34744 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34745 * configure: Regenerated.
34746
20c07380
L
347472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34748
bbb3154b
L
34749 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34750 New macro. Use R*LP on int and pointer.
34751 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34752 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34753 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34754 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34755
20c07380
L
34756 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34757 [__WORDSIZE_TIME64_COMPAT32] instead of
34758 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34759 (struct utmp): Likewise.
34760 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34761 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34762 Renamed to ...
34763 (__WORDSIZE_TIME64_COMPAT32): This.
34764 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34765 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34766 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34767 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34768 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34769 (__WORDSIZE_TIME64_COMPAT32): New macro.
34770
d8d1017e
AJ
347712012-05-21 Andreas Jaeger <aj@suse.de>
34772
34773 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34774 only if [SHARED]. Add prototype for __wcschr_ia32.
34775
6c7fb145
RM
347762012-05-21 Roland McGrath <roland@hack.frob.com>
34777
34778 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34779 of %rbp unmolested in the jmp_buf while mangling the low bits.
34780 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34781 unmolested high bits of %rbp while demangling the low bits.
34782 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34783
66274218
AJ
347842012-05-21 Andreas Jaeger <aj@suse.de>
34785
07c58f8f
AJ
34786 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34787 * sunrpc/svc_simple.c: Use it for registerrpc.
34788 * sunrpc/xcrypt.c: Use it for passwd2des.
34789
66274218
AJ
34790 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34791
61f65140
L
347922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34793
34794 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34795 Don't define if [__SYSCALL_WORDSIZE != 32].
34796 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34797 New macro.
34798
5fefb436
AJ
347992012-05-21 Bruno Haible <bruno@clisp.org>
34800 Andreas Jaeger <aj@suse.de>
34801
34802 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34803 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34804 inptr and inend for must_buffer_ch.
34805 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34806 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34807 * stdio-common/Makefile (tests): Remove bug15.
34808 (bug15-ENV): Remove macro.
34809 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34810 anymore.
34811
d8e272ab
AJ
348122012-05-19 Andreas Jaeger <aj@suse.de>
34813 Roland McGrath <roland@hack.frob.com>
34814
34815 * manual/contrib.texi: Completely rewritten. It contains now an
34816 alphabetical list of contributors and their contributions.
34817
4a56a162
RH
348182012-05-21 Richard Henderson <rth@twiddle.net>
34819
34820 * misc/getauxval.c (__getauxval): Use unsigned long int.
34821 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34822 (getauxval): Use unsigned long int.
34823
d024d23c
L
348242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34825
34826 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34827
cbc00a03
RM
348282012-05-21 Roland McGrath <roland@hack.frob.com>
34829
34830 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34831 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34832 __alignof__ (long double).
34833
478143fa
AZ
348342012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34835
34836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34837
c7683a6d
RH
348382012-05-20 Richard Henderson <rth@twiddle.net>
34839
34840 * misc/getauxval.c: New file.
34841 * misc/sys/auxv.h: New file.
34842 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34843 (routines): Add getauxval.
34844 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34845 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34846 * elf/dl-sysdep.c (_dl_auxv): Remove.
34847 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34848 * elf/dl-support.c (_dl_auxv): New variable.
34849 (_dl_aux_init): Initialize it.
34850 * manual/startup.texi (Auxiliary Vector): New node.
34851 * sysdeps/generic/bits/hwcap.h: New file.
34852 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34853 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34854 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34855 * sysdeps/sparc/sysdep.h: ... here. Include it.
34856 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34859 Update.
c7683a6d
RH
34860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34868
a6f1845d
AZ
348692012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34870
34871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34872
cbcbe830
DM
348732012-05-19 David S. Miller <davem@davemloft.net>
34874
34875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34876
e0b16cc2
JM
348772012-05-19 Joseph Myers <joseph@codesourcery.com>
34878
34879 [BZ #14123]
34880 * math/s_ccosh.c: Include <float.h>
34881 (__ccosh): Avoid internal overflow calculating sinh and cosh
34882 values before multiplying by sin and cos values.
34883 * math/s_ccoshf.c: Likewise.
34884 * math/s_ccoshl.c: Likewise.
34885 * math/s_csin.c: Likewise.
34886 * math/s_csinf.c: Likewise.
34887 * math/s_csinl.c: Likewise.
34888 * math/s_csinh.c: Likewise.
34889 * math/s_csinhf.c: Likewise.
34890 * math/s_csinhl.c: Likewise.
34891 * math/libm-test.inc (ccos_test): Add more tests.
34892 (ccosh_test): Likewise.
34893 (csin_test): Likewise.
34894 (csinh_test): Likewise.
34895 * sysdeps/i386/fpu/libm-test-ulps: Update.
34896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34897
6ad13e08
L
348982012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34899
f66f0ce8
L
34900 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34901 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34902
6ad13e08
L
34903 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34904
b1d072a7
JM
349052012-05-19 Joseph Myers <joseph@codesourcery.com>
34906
34907 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34908 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34909 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34910 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34911 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34912 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34913 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34914 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34915 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34916 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34917 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34918 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34919 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34920 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34921 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34922 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34923 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34924 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34925 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34926 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34927 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34928 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34929 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34930 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34931 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34932 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34933 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34934 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34935 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34936 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34937 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34938
9eae47cb
AJ
349392012-05-18 Andreas Jaeger <aj@suse.de>
34940
34941 * csu/.gitignore: Delete.
34942
bb07f69f
L
349432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34944
34945 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34946 (timex): Use __syscall_slong_t.
34947
e6bdb741
AJ
349482012-05-18 Andreas Jaeger <aj@suse.de>
34949 Carlos O'Donell <carlos_odonell@mentor.com>
34950
34951 * manual/install.texi (Configuring and compiling): Update
34952 description about files modified in the source directory.
d6c33fda 34953 * INSTALL: Regenerated.
e6bdb741 34954
1b74487e
L
349552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34956
34957 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34958 value. Use "or" to set return value to -1.
34959 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34960 negate return value.
34961
a88b64b9
TMQMF
349622012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34963
57f41c40
AS
34964 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34965 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34966 failure if the compiler has Graphite support disabled.
34967 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34968 Likewise.
57f41c40
AS
34969 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34970 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34971 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34972 Likewise.
34973
3707636e
L
349742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34975
610b8622
L
34976 * sysdeps/x86_64/x32/_itoa.h: New file.
34977
7cd195df
L
34978 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34979 getdents system call only if kernel and user dirents have the
34980 same d_ino and d_off.
34981
94b07d20
L
34982 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34983 LLONG_MAX != LONG_MAX.
34984 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34985 (_fitoa_word): Likewise.
34986
18298070
L
34987 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34988 years.
34989 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34990 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34991 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34992
553c7ea4
L
34993 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34994 include <bits/wordsize.h>. Check __x86_64__ instead of
34995 __WORDSIZE.
34996 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34997 if __x86_64__ is defined. Use anonymous union on fpstate.
34998
3707636e
L
34999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35000 anonymous union.
35001
b53ef01a
AS
350022012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35003
37fb1dc0
AS
35004 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35005 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35006 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35007 Refer to _rtld_local_ro instead of _rtld_global_ro.
35008 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35009 Likewise.
35010 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35011 Likewise.
35012 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35013 Likewise.
35014 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35015 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35016 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35017
b53ef01a
AS
35018 * sysdeps/powerpc/powerpc32/dl-machine.c
35019 (__elf_machine_runtime_setup) [PROF]: Don't reference
35020 _dl_prof_resolve.
35021
7a185db2
AJ
350222012-05-18 Andreas Jaeger <aj@suse.de>
35023
35024 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35025 function only available for GCCs before 3.4 since GCC 3.4
35026 introduced a builtin.
35027 (lrint): Likewise.
35028 (llrintf): Likewise.
35029 (llrint): Likewise.
35030 (fmaxf): Likewise.
35031 (fmax): Likewise.
35032 (fminf): Likewise.
35033 (fmin): Likewise.
35034 (rint): Likewise.
35035 (rintf): Likewise.
35036 (nearbyint): Likewise.
35037 (nearbyintf): Likewise.
35038 (ceil): Likewise.
35039 (ceilf): Likewise.
35040 (floor): Likewise.
35041 (floorf): Likewise.
35042
3e5aef87
L
350432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35044
428bd707
L
35045 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35046 on both fields and cast pointer to __syscall_ulong_t.
35047
3e5aef87
L
35048 * bits/types.h (__fsword_t): New type.
35049 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35050 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35051 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35052 (__FSWORD_T_TYPE): Likewise.
35053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35054 (__FSWORD_T_TYPE): Likewise.
35055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35056 (__FSWORD_T_TYPE): Likewise.
35057 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35058 (__FSWORD_T_TYPE): Likewise.
35059 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35060 __SWORD_TYPE with __fsword_t.
35061 (statfs64): Likewise.
35062
1ba7c3dc
DM
350632012-05-17 David S. Miller <davem@davemloft.net>
35064
35065 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35066
59910343
AJ
350672012-05-17 Andreas Jaeger <aj@suse.de>
35068
35069 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35070 warning.
35071
2e4c1e9e
L
350722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35073
35074 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35075
de7f5ce7
AJ
350762012-05-17 Andreas Jaeger <aj@suse.de>
35077
35078 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35079 when it is used.
35080
286abc3d
CM
350812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35082
35083 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35084
477cc68e
L
350852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35086
35087 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35088 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35089
1a0994f5
CD
350902012-05-17 Andreas Jaeger <aj@suse.de>
35091 Carlos O'Donell <carlos_odonell@mentor.com>
35092
35093 [BZ #14059]
35094 * sysdeps/x86_64/multiarch/init-arch.h
35095 (bit_YMM_Usable): Rename to...
35096 (bit_AVX_Usable): ... this.
35097 (bit_FMA4_Usable): New macro.
35098 (bit_XMM_state): New macro.
35099 (bit_YMM_state): New macro.
35100 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35101 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35102 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35103 (CPUID_OSXSAVE): New macro.
35104 (CPUID_AVX): New macro.
35105 (CPUID_FMA4): New macro.
35106 (index_YMM_Usable): Rename to...
35107 (index_AVX_Usable): ... this.
35108 (HAS_AVX): Use HAS_ARCH_FEATURE.
35109 (HAS_FMA4): Likewise.
35110 (HAS_YMM_USABLE): Remove.
35111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35112 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35113 are present.
35114 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35115 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35116 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35117 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35118 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35119
0af797de
CM
351202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35121
35122 * math/libm-test.c: Support platforms without multiple rounding modes.
35123 * math/bug-nextafter.c: Support platforms without FP exceptions.
35124 * math/bug-nexttoward.c: Likewise.
35125 * math/test-fenv.c: Likewise.
35126 * math/test-misc.c: Likewise.
35127 * stdlib/bug-getcontext.c: Likewise.
35128
e39745ff
AJ
351292012-05-17 Andreas Jaeger <aj@suse.de>
35130
35131 * manual/examples/search.c (critter_cmp): Change signature to
35132 avoid warnings.
35133 * manual/string.texi (Collation Functions): Likewise.
35134
48970aba
L
351352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35136
35137 * bits/types.h: Fold copyright years.
35138 * bits/typesizes.h: Likewise.
35139 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35140 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35142 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35143 * time/time.h: Likewise.
35144
bedee953
PP
351452012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35146
35147 [BZ #208]
35148 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35149 in instead of returning them. Return void.
35150 (__libc_mallinfo): Accumulate over all arenas.
35151 (__malloc_stats): Adjust for change in int_mallinfo interface.
35152
61653dfb
RM
351532012-05-16 Roland McGrath <roland@hack.frob.com>
35154
30b99d79
RM
35155 [BZ #10375]
35156 * configure.in (NM): Add AC_CHECK_TOOL for it.
35157 (libc_extra_cflags): New substituted variable.
35158 Check for -fstack-protector being used implicitly.
35159 * configure: Regenerated.
35160 * config.make.in (config-extra-cflags): New variable,
35161 gets @libc_extra_cflags@.
35162 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35163
61653dfb
RM
35164 [BZ #10375]
35165 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35166 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35167 * configure: Regenerated.
35168 * config.make.in (CPPUNDEFS): New substituted variable.
35169 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35170 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35171 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35172
661768bb
L
351732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35174
35175 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35176 (mq_attr): Use __syscall_slong_t.
35177
d4261567
L
351782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35179
35180 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35181 Check __x86_64__ instead of __WORDSIZE.
35182 (_STAT_VER_LINUX): Likewise.
35183 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35184 __syscall_ulong_t and __syscall_slong_t.
35185 (stat64): Likewise.
35186
cf3ff365
L
351872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35188
35189 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35190
76cf3e4d
L
351912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35192
35193 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35194
a637753a
L
351952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35196
35197 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35198 __syscall_ulong_t.
35199
d5e05119
L
35200 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35201 include <bits/wordsize.h>. Check __x86_64__ instead of
35202 __WORDSIZE.
35203 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35204 defined.
35205 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35206
f62ee380
L
35207 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35208 include <bits/wordsize.h>. Check __x86_64__ instead of
35209 __WORDSIZE.
35210 (user_regs_struct): Use "__extension__ unsigned long long"
35211 instead of "unsigned long" if __x86_64__ is defined.
35212 (user): Likewise. Pad after pointer field if __ILP32__ is
35213 defined.
35214
4e124ced
JM
352152012-05-16 Joseph Myers <joseph@codesourcery.com>
35216
6a3951a0
JM
35217 * configure.in (makeinfo): Require version 4.5 or later. Allow
35218 versions 5 to 9.
35219 * configure: Regenerated.
35220 * manual/install.texi (texinfo): Increase version requirement to
35221 4.5 or later.
35222 * INSTALL: Regenerated.
35223
4e124ced
JM
35224 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35225
953ca31a
L
352262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35227
35228 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35229
617aca05
L
35230 * sysdeps/x86_64/x32/ffs.c: New file.
35231
5762f7ae
L
35232 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35233 __syscall_ulong_t.
35234 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35235 defined. Use __syscall_ulong_t.
35236 (shminfo): Use __syscall_ulong_t.
35237 (shm_info): Likewise.
35238
a26b6856
L
35239 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35240 __syscall_ulong_t.
35241
cb2b9ef7
L
35242 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35243 <bits/wordsize.h>.
35244 (msgqnum_t): Use __syscall_ulong_t.
35245 (msglen_t): Likewise.
35246 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35247 __syscall_ulong_t.
35248
34683bb0
L
35249 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35250 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35251
84a68786
L
35252 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35253
48baa5f1
L
35254 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35255 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35256
180be88b
L
35257 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35258 __syscall_slong_t.
35259
5e90c8ad
L
35260 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35261 include <bits/wordsize.h>. Check __x86_64__ instead of
35262 __WORDSIZE.
35263
23dfb58b
L
35264 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35265 "unsigned long long int" if __x86_64__ is defined.
35266 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35267
ce5d54b0
L
35268 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35269 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35270 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35271
13dc9eac
L
35272 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35273 <stdint.h>.
35274 (GET_PC): Cast to uintptr_t first.
35275 (GET_FRAME): Likewise.
35276 (GET_STACK): Likewise.
35277
a7895d15
L
35278 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35279 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35280 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35281 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35282 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35283 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35284 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35285 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35286 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35287 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35288 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35289 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35290 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35291 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35292 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35293 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35294 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35295 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35296 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35297 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35298 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35299 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35300 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35301 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35302 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35303 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35304 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35305 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35306 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35307
656416c9
AS
353082012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35309
5bd66283
AS
35310 * Makerules (+depfiles): Also collect depfiles from .oS in
35311 $(extra-objs).
35312 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35313 .oS, $(libnldbl-routines)).
35314
656416c9
AS
35315 * Makerules (native-compile-mkdep-flags): Define.
35316 * sunrpc/Makefile (extra-objs): Add $(addprefix
35317 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35318 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35319 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35320 calling $(make-target-directory).
35321
a46f2169
L
353222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35323
35324 * bits/types.h (__snseconds_t): Removed.
35325 * time/time.h (struct timespec): Replace __snseconds_t with
35326 __syscall_slong_t.
35327 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35328 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35329 Likewise.
35330 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35331 (__SNSECONDS_T_TYPE): Likewise.
35332 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35333 (__SNSECONDS_T_TYPE): Likewise.
35334 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35335 (__SNSECONDS_T_TYPE): Likewise.
35336
6af6528b
L
353372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35338
35339 * sysdeps/mach/hurd/bits/typesizes.h
35340 (__SYSCALL_SLONG_TYPE): New macro.
35341 (__SYSCALL_ULONG_TYPE): Likewise.
35342
de986b56
L
353432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35344
35345 * bits/types.h (__syscall_slong_t): New type.
35346 (__syscall_ulong_t): Likewise.
35347
35348 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35349 (__SYSCALL_ULONG_TYPE): Likewise.
35350 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35351 (__SYSCALL_SLONG_TYPE): Likewise.
35352 (__SYSCALL_ULONG_TYPE): Likewise.
35353 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35354 (__SYSCALL_SLONG_TYPE): Likewise.
35355 (__SYSCALL_ULONG_TYPE): Likewise.
35356 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35357 (__SYSCALL_SLONG_TYPE): Likewise.
35358 (__SYSCALL_ULONG_TYPE): Likewise.
35359
85736dc7
L
353602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35361
35362 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35363 Add sigaltstack-offsets.sym.
35364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35365 <sigaltstack-offsets.h>.
35366 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35367 longjmp_msg pointer.
35368 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35369 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35370 signal stack.
35371 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35372
cc03b296
JM
353732012-05-15 Joseph Myers <joseph@codesourcery.com>
35374
a9538892
JM
35375 * elf/stackguard-macros.h: Remove file.
35376 * sysdeps/generic/stackguard-macros.h: New file.
35377 * sysdeps/i386/stackguard-macros.h: Likewise.
35378 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35379 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35380 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35381 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35382 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35383 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35384 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35385 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35386 <elf/stackguard-macros.h>.
35387
cc03b296
JM
35388 [BZ #14109]
35389 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35390 __aligned__ in attribute.
35391 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35392 (gregset_t): Likewise.
35393
93171016
L
353942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35395
35396 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35397 * sysdeps/x86_64/64/Implies-after: Here. New file.
35398 * sysdeps/x86_64/x32/Implies-after: New file.
35399
d86813a0
L
354002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35401
35402 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35403 and access return value for _dl_profile_fixup. Use R10_LP to
35404 load frame size.
35405
2953ec75
L
354062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35407
35408 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35409
3b550e9e
L
354102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35411
35412 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35413 * sysdeps/x86_64/x32/sysdep.h: New file.
35414
eda41706
L
354152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35416
35417 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35418 * sysdeps/x86_64/setjmp.S: Likewise.
35419
9ea01d93
AZ
354202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35421
35422 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35423 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35424 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35425 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35426 remove unused global constant.
35427
02a91938
CM
354282012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35429
35430 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35431 include of <not-cancel.h>.
35432
6540185f
RM
354332012-05-15 Roland McGrath <roland@hack.frob.com>
35434
35435 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35436
509072a0
AJ
354372012-05-15 Jeff Law <law@redhat.com>
35438 Andreas Jaeger <aj@suse.de>
35439
35440 [BZ #13594]
35441 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35442 out from...
35443 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35444 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35445 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35446 code changing __hst_map_handle.map.
35447
ba75122d
RM
354482012-05-15 Roland McGrath <roland@hack.frob.com>
35449
35450 * configure.in (sysnames): Look for Implies-before and Implies-after
35451 files.
35452 * configure: Regenerated.
35453
890d8bd8
L
354542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35455
35456 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35457 8-byte data alignment with LP_SIZE alignment.
35458
f6ee6623
L
354592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35460
35461 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35462 into R10_LP.
35463
ea2626f6
L
354642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35465
35466 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35467
085f715e
L
354682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35469
35470 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35471 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35472 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35473 Likewise.
35474 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35475
be8498fc
L
354762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35477
35478 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35479 (stackinfo_sub_sp): Likewise.
35480
70bc83b9
L
354812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35482
35483 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35484 RAX_LP.
35485
9bc0b730
L
354862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35487
35488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35489 into R*_LP.
35490
6d2850e7
L
354912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35492
35493 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35494 sizes into R*_LP.
35495
3cb84561
L
354962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35497
35498 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35499
54e2ed81
L
355002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35501
35502 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35503 into R11_LP and load __x86_64_shared_cache_size_half into
35504 R8_LP.
35505
8a17f349
L
355062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35507
35508 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35509 R8_LP.
35510
777b1eea
AZ
355112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35512
35513 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35514 logb for POWER7.
35515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35516 logbf for POWER7.
35517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35518 logbl for POWER7.
35519 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35520 powerpc32/power7/fpu/s_logb.c via #include.
35521 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35522 powerpc32/power7/fpu/s_logbf.c via #include.
35523 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35524 powerpc32/power7/fpu/s_logbl.c via #include.
35525
d20d4ac2
JM
355262012-05-15 Joseph Myers <joseph@codesourcery.com>
35527
35528 * README.libm: Remove file.
35529
6cdef1ab
L
355302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35531
35532 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35533 count for x32. Use R*_LP and omit operand-size suffix.
35534
0b254d8f
L
355352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35536
35537 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35538 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35539 * sysdeps/x86_64/x32/shlib-versions: New file.
35540
ceb809dc
RM
355412012-05-14 Roland McGrath <roland@hack.frob.com>
35542
35543 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35544 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35545 Use _dl_fatal_printf instead.
35546
37f1abd4
JM
355472012-05-14 Joseph Myers <joseph@codesourcery.com>
35548
35549 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35550 set if not set by the user. Do not allow for being unset.
35551 * sysdeps/unix/sysv/linux/configure: Regenerated.
35552
11de3a33
L
355532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35554
35555 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35556 the `q' suffix from lea and replace .quad with ASM_ADDR.
35557
e02f153a
L
355582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35559
35560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35561 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35562 instead of $17.
35563 (PTR_DEMANGLE): Likewise.
35564
520ae0fd
L
355652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35566
35567 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35568 (LP_OP): Likewise.
35569 (ASM_ADDR): Likewise.
35570 (RAX_LP): Likewise.
35571 (RBP_LP): Likewise.
35572 (RBX_LP): Likewise.
35573 (RCX_LP): Likewise.
35574 (RDI_LP): Likewise.
35575 (RSI_LP): Likewise.
35576 (RSP_LP): Likewise.
35577 (R8_LP): Likewise.
35578 (R9_LP): Likewise.
35579 (R10_LP): Likewise.
35580 (R10_LP): Likewise.
35581 (R11_LP): Likewise.
35582 (R12_LP): Likewise.
35583 (R13_LP): Likewise.
35584 (R14_LP): Likewise.
35585 (R15_LP): Likewise.
35586
b985be81
L
355872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35588
35589 * sysdeps/x86_64/x32/dl-machine.h: New file.
35590
6a4888ff
AJ
355912012-05-14 Andreas Jaeger <aj@suse.de>
35592
35593 * manual/Makefile (subdir): Remove export of subdir.
35594 (all): Remove target.
35595 (.PHONY): Remove all from list.
35596 (mkinstalldirs): Remove.
35597 (.PHONY): Remove installdirs from list.
35598 ($(inst_infodir)/libc.info): Use make-target-directory.
35599 (installdirs): Remove.
35600 (subdir_%): Remove.
35601 (glibc-targets): Remove.
35602 (lib): Remove.
35603 (stubs): Remove.
35604 ($(objpfx)stubs ../po/manual.pot): Remove.
35605 ($(objpfx)stamp%): Remove.
35606 (make-target-directory): Remove.
35607 (subdir_install): Remove.
35608 (routines): Remove.
35609 (aux): Remove.
35610 (sources): Remove.
35611 (objects): Remove.
35612 (headers): Remove.
35613
35614 [BZ #13750]
35615 * manual/.gitignore: Remove, it's not needed anymore.
35616 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35617 all files in it.
35618 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35619 directory.
35620 (texis): Renamed to $(objpfx)texis.
35621 (texis-path): New, contains path to generated files.
35622 (chapters.%): Use texis-path for complete path, add extra argument
35623 libc-texinfo.sh.
35624 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35625 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35626 (summary,texi, stamp-summary): Use complete path of
35627 files. Generate files in build dir.
35628 (dir-add.texi): Build in build dir.
35629 (libm-err.texi,stamp-libm-err): Likewise.
35630 (version.texi, stamp-version): Likewise.
35631 (.%c.texi): Likewise.
35632 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35633 (mostlyclean): Remove target.
35634 (realclean): Remove target.
35635 (generated): Add new variable with contents from mostlyclean and
35636 realclean, remove entries duplicated in common-mostlyclean, add
35637 stamp-libm-err and stamp-version.
35638 (generated-dirs): Add libc directory.
35639 ($(inst_infodir)/libc.info): Install files from build dir.
35640
35641 * manual/install.texi (Configuring and compiling): Adjust since
35642 the info files are not part of the tar ball anymore.
35643
7ac77294
AJ
356442012-05-14 Andreas Jaeger <aj@suse.de>
35645
35646 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35647 variable.
35648
ffb7875d
JM
356492012-05-14 Joseph Myers <joseph@codesourcery.com>
35650
35651 [BZ #13717]
35652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35653 to 2.2.0 where earlier.
35654 * sysdeps/unix/sysv/linux/configure: Regenerated.
35655 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35656 Remove conditional code.
35657 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35658 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35659 Remove conditional code.
35660 [!__NR_lchown]: Likewise.
35661 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35662 [__NR_lchown]: Likewise.
35663 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35664 comment referencing __ASSUME_LCHOWN_SYSCALL.
35665 * sysdeps/unix/sysv/linux/i386/sigaction.c
35666 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35667 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35668 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35669 Remove conditional code.
35670 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35671 (__protocol_available): Remove #if 0 code.
35672 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35673 conditional code.
35674 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35675 * sysdeps/unix/sysv/linux/kernel-features.h
35676 (__ASSUME_GETCWD_SYSCALL): Don't define.
35677 (__ASSUME_REALTIME_SIGNALS): Likewise.
35678 (__ASSUME_PREAD_SYSCALL): Likewise.
35679 (__ASSUME_PWRITE_SYSCALL): Likewise.
35680 (__ASSUME_POLL_SYSCALL): Likewise.
35681 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35682 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35683 non-SPARC.
35684 (__ASSUME_SIOCGIFNAME): Don't define.
35685 (__ASSUME_MSG_NOSIGNAL): Likewise.
35686 (__ASSUME_SENDFILE): Define unconditionally.
35687 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35688 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35689 conditional code.
35690 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35691 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35692 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35693 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35694 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35695 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35696 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35698 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35701 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35707 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35710 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35713 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35716 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35719 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35721 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35722 Remove conditional code.
35723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35724 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35725 Remove conditional code.
35726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35727 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35728 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35729 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35730 Remove conditional code.
35731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35732 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35733 Remove conditional code.
35734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35735 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35736 Remove conditional code.
35737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35738 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35739 Remove conditional code.
35740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35741 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35742 Remove conditional code.
35743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35744 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35745 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35746 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35747 * sysdeps/unix/sysv/linux/sigaction.c
35748 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35749 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35750 * sysdeps/unix/sysv/linux/sigpending.c
35751 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35752 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35753 * sysdeps/unix/sysv/linux/sigprocmask.c
35754 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35755 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35756 * sysdeps/unix/sysv/linux/sigsuspend.c
35757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35759 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35760 (__libc_missing_rt_sigs): Remove.
35761 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35762 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35763 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35764 Remove conditional code.
35765 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35766 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35767 return 1.
35768 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35769 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35770 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35771 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35772
1bfb7291
AJ
357732012-05-14 Andreas Jaeger <aj@suse.de>
35774
caae5a81
AJ
35775 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35776 it's not used in glibc.
35777 (__coshm1): Likewise.
35778 (__acosh1p): Likewise.
35779 (__sgn): Likewise.
35780
1bfb7291
AJ
35781 * manual/string.texi (Copying and Concatenation): Add missing
35782 variable in concat example.
35783 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35784
c044d724
L
357852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35786
144c5467 35787 [BZ #14103]
c044d724
L
35788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35789 __builtin_clzl with __builtin_clzll.
35790
2523c62b
L
357912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35792
35793 [BZ #14104]
35794 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35795 libc_freeres_ptr.
35796
d7bb4c42
LD
357972012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35798
35799 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35800 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35801 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35802 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35803
9dc4e1fb
MF
358042012-05-14 Mike Frysinger <vapier@gentoo.org>
35805
35806 * NEWS: Update ia64 info.
35807
c7df0112
AS
358082012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35809
35810 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35811 used as bcopy.
35812
dc70356c
TS
358132012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35814
35815 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35816 * sysdeps/unix/syscalls.list (dup3): Likewise.
35817 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35818 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35819
9fb1a21f
L
358202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35821
35822 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35823 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35824
4822a2a5
L
358252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35826
35827 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35828 thread pointer.
35829 (TLS_IE): Use mov/add instead of movq/addq to load thread
35830 pointer.
35831 (TLS_GD_PREFIX): New.
35832 (TLS_GD): Use it.
35833
842b81d6
DM
358342012-05-11 David S. Miller <davem@davemloft.net>
35835
35836 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35837 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35838 (_FPU_SETCW): Likewise.
35839
1cf463cd
L
358402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35841
35842 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35843 is 32-byte aligned.
35844
60cc4a18
AS
358452012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35846
35847 [BZ #11837]
35848 * iconvdata/gb18030.c: Update tables.
35849 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35850 characters specially.
35851 (BODY for TO_LOOP): Add encoding of missing ranges.
35852
febb44a4
TS
358532012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35854
35855 [BZ #13673]
35856 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35857 * sysdeps/mach/hurd/dup3.c: Likewise.
35858 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35859 * sysdeps/powerpc/memmove.c:: Likewise.
35860
0a10fb9e
L
358612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35862
35863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35864 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35865
df8a552f
L
358662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35867
35868 * elf/elf.h (R_X86_64_RELATIVE64): New.
35869 (R_X86_64_NUM): Updated.
35870 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35871 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35872 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35873 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35874 tst-quad1pie tst-quad2pie
35875 (modules-names): Add tst-quadmod1 tst-quadmod2.
35876 ($(objpfx)tst-quad1): New dependency.
35877 ($(objpfx)tst-quad2): Likewise.
35878 ($(objpfx)tst-quad1pie): Likewise.
35879 ($(objpfx)tst-quad2pie): Likewise.
35880 * sysdeps/x86_64/tst-quad1.c: New file.
35881 * sysdeps/x86_64/tst-quad1pie.c: New file.
35882 * sysdeps/x86_64/tst-quad2.c: Likewise.
35883 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35884 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35885 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35886 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35887 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35888
f34d6f84
ST
358892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35890
f42d41d1
ST
35891 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35892 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35893 * streams/stropts.h (t_scalar_t): Define type.
35894
3c3571fc
ST
35895 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35896 (_PATH_PRESERVE): Set to "/var/lib".
35897 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35898
61f06bd3
ST
35899 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35900 instead of int.
35901
918d4d71
ST
35902 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35903 if __dir_mkfile succeeded.
35904
f34d6f84
ST
35905 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35906 checking for _hurd_dtablesize. Unlock it right after having
35907 finished _hurd_dtable allocation.
35908
10589b4a
TS
359092012-05-10 Thomas Schwinge <thomas@schwinge.name>
35910
674cdbc7
TS
35911 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35912 * sysdeps/mach/hurd/configure: Regenerated.
35913 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35914 special-casing to...
35915 * sysdeps/gnu/configure.in: ... this new file.
35916 * sysdeps/unix/sysv/linux/configure: Regenerated.
35917 * sysdeps/gnu/configure: New generated file.
35918
8e41b99f
TS
35919 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35920 for Linux: use nsec instead of usec, as well as:
35921 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35922 members of type struct timespec.
35923 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35924 New macros.
35925 (struct stat64): Likewise.
35926 (_STATBUF_ST_NSEC): New macro.
35927 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35928
10589b4a
TS
35929 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35930 __strtoul_internal rather than strtoul.
35931
63643c85
PT
359322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35933
35934 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35935 and reject them.
35936
3faebe6a
ST
359372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35938
35939 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35940 which preserves existing values.
35941 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35942
c6474b07
PT
359432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35944
35945 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35946 TIMEOUT values. Return EINVAL for NFDS values either negative or
35947 greater than FD_SETSIZE.
35948
1043890b
ST
359492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35950
35951 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35952 allocated, call __vm_protect to finish enabling the existing space, and
35953 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35954 allocate the remainder.
35955
37ed8b9b
PT
359562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35957
35958 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35959 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35960
db653660
ST
359612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35962
37ed8b9b
PT
35963 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35964 sysdeps/mach/hurd/readlink.c.
b29d4053 35965
db653660
ST
35966 * posix/tst-sysconf.c (posix_options): Only use
35967 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35968 _POSIX_SYNCHRONIZED_IO when they are defined
35969 * sysdeps/mach/hurd/bits/posix_opt.h:
35970 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35971 (_XOPEN_REALTIME): Undefine macro.
35972 (_XOPEN_REALTIME_THREADS): Undefine macro.
35973 (_XOPEN_SHM): Undefine macro.
35974 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35975 macro to -1.
35976 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35977 macro to -1.
35978 (_POSIX_ASYNC_IO): Undefine macro.
35979 (_POSIX_PRIORITIZED_IO): Undefine macro.
35980 (_POSIX_SPIN_LOCKS): Define macro to -1.
35981
ee16e894
ST
35982 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35983 SA_NODEFER, SA_RESETHAND.
35984 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35985 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35986 F_DUPFD_CLOEXEC.
35987
6103ae3b
TS
359882012-05-10 Thomas Schwinge <thomas@schwinge.name>
35989
35990 * elf/Makefile (pldd-modules): Define unconditionally.
35991
80b4e5f3
TS
359922012-05-10 Thomas Schwinge <thomas@schwinge.name>
35993
35994 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35995
edadcbd6
ST
359962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35997
35998 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35999 Return ENOENT when name is empty.
36000 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36001
80694780
TS
360022012-05-10 Thomas Schwinge <thomas@schwinge.name>
36003
1792c087
TS
36004 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36005
80694780
TS
36006 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36007
6b645f0d
ST
360082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36009
80694780
TS
36010 Fix mlock in all cases except non-readable pages.
36011 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36012 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36013
6b645f0d
ST
36014 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36015 (__mkdir): When path is `/', just fail with EEXIST.
36016 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36017
e468f8a3
TS
360182012-05-10 Thomas Schwinge <thomas@schwinge.name>
36019
36020 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36021 <sys/uio.h> (for writev).
36022 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36023 and <sys/param.h> (for MIN).
36024
a4186cff
PT
360252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36026
36027 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36028 REQUESTED_TIME. Properly set the remaining time and return EINTR
36029 if interrupted.
36030
510bbf14
TS
360312012-05-10 Thomas Schwinge <thomas@schwinge.name>
36032
36033 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36034 Depend on against $(link-rpcuserlibs).
36035
5d5722e8
ST
360362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36037
a4186cff
PT
36038 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36039 (__libc_stack_end): Do not use attribute_relro.
36040 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36041 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36042 to libthread-provided value.
a4186cff
PT
36043 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36044 attribute_relro.
5d5722e8 36045
37233df9
TS
360462012-05-10 Thomas Schwinge <thomas@schwinge.name>
36047
be971a2b
TS
36048 [BZ #3748]
36049 * bits/libc-lock.h (__libc_once_get): New macro.
36050 * sysdeps/mach/bits/libc-lock.h: Likewise.
36051 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36052 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36053 instead of using implementation details.
36054
37233df9
TS
36055 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36056 * libio/freopen.c: Likewise.
36057 * libio/freopen64.c: Likewise.
36058 * misc/syslog.c: Likewise.
36059 * nscd/connections.c: Likewise.
36060 * nscd/netgroupcache.c: Likewise.
36061 * sysdeps/posix/getcwd.c: Likewise.
36062
38de94a5
RM
360632012-05-10 Roland McGrath <roland@hack.frob.com>
36064
36065 * math/w_ilogbf.c: Add #include <limits.h>.
36066
67530489
ST
360672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36068
a4186cff 36069 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36070 path instead of returning without unlocking.
36071
67530489
ST
36072 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36073 immediate-write ioctls.
36074 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36075
5aa3a74a
TS
360762012-05-10 Thomas Schwinge <thomas@schwinge.name>
36077
18bad2ae
TS
36078 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36079 __builtin_frame_address instead of making assumptions about the
36080 location of the return address relative to DATA. Force early load of
36081 the return address.
36082 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36083 __builtin_frame_address.
36084
5aa3a74a
TS
36085 dup3 for GNU Hurd.
36086 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36087 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36088 implement dup3 and do some further code clean-ups.
36089 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36090 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36091
ecd0de9a
ST
360922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36093
cd9fa985
ST
36094 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36095
a4186cff
PT
36096 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36097 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36098 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36099 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36100 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36101 d->port.lock.
802ca5a5 36102
a4186cff
PT
36103 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36104 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36105 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36106
bcf55240
TS
361072012-05-10 Thomas Schwinge <thomas@schwinge.name>
36108
6960eb42
TS
36109 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36110 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36111 definitions.
36112
eb43375f
TS
36113 accept4 for GNU Hurd.
36114 * include/sys/socket.h (__libc_accept4): New prototype.
36115 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36116 to implement __libc_accept4.
36117 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36118 __libc_accept4.
36119 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36120
bcf55240
TS
36121 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36122 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36123 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36124 signal-defines.sym.
36125
6178c55b
ST
361262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36127
a4186cff 36128 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36129
6f080c2f
TS
361302012-05-10 Thomas Schwinge <thomas@schwinge.name>
36131
36132 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36133 assertion on O_CLOEXEC flag.
36134 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36135 * hurd/intern-fd.c: Likewise.
36136 * hurd/port2fd.c: Likewise.
36137
bcfe3a54
ST
361382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36139
36140 [BZ #3906]
36141 * bits/in.h (IPV6_PKTINFO): Define new macro.
36142 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36143
89c9aa49
AZ
361442012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36145
36146 [BZ #13954]
36147 [BZ #13955]
36148 [BZ #13956]
36149 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36150 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36151 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36152 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36154 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36155 * math/libm-test.inc (logb_test) : Additional logb tests.
36156
021db4be
AJ
361572012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36158 Andreas Jaeger <aj@suse.de>
36159
36160 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36161 * configure: Regenerated.
36162 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36163 * config.make.in (link-obsolete-rpc): New substituted variable.
36164 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36165 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36166 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36167 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36168 so that libc.a contains the symbols.
36169 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36170 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36171 * sunrpc/auth_none.c: Likewise.
36172 * sunrpc/auth_unix.c: Likewise.
36173 * sunrpc/authdes_prot.c: Likewise.
36174 * sunrpc/authuxprot.c: Likewise.
36175 * sunrpc/clnt_gen.c: Likewise.
36176 * sunrpc/clnt_perr.c: Likewise.
36177 * sunrpc/clnt_raw.c: Likewise.
36178 * sunrpc/clnt_simp.c: Likewise.
36179 * sunrpc/clnt_tcp.c: Likewise.
36180 * sunrpc/clnt_udp.c: Likewise.
36181 * sunrpc/clnt_unix.c: Likewise.
36182 * sunrpc/des_crypt.c: Likewise.
36183 * sunrpc/des_soft.c: Likewise.
36184 * sunrpc/get_myaddr.c: Likewise.
36185 * sunrpc/key_call.c: Likewise.
36186 * sunrpc/key_prot.c: Likewise.
36187 * sunrpc/netname.c: Likewise.
36188 * sunrpc/pm_getmaps.c: Likewise.
36189 * sunrpc/pm_getport.c: Likewise.
36190 * sunrpc/pmap_clnt.c: Likewise.
36191 * sunrpc/pmap_prot.c: Likewise.
36192 * sunrpc/pmap_prot2.c: Likewise.
36193 * sunrpc/pmap_rmt.c: Likewise.
36194 * sunrpc/publickey.c: Likewise.
36195 * sunrpc/rpc_cmsg.c: Likewise.
36196 * sunrpc/rpc_common.c: Likewise.
36197 * sunrpc/rpc_dtable.c: Likewise.
36198 * sunrpc/rpc_prot.c: Likewise.
36199 * sunrpc/rpc_thread.c: Likewise.
36200 * sunrpc/rtime.c: Likewise.
36201 * sunrpc/svc.c: Likewise.
36202 * sunrpc/svc_auth.c: Likewise.
36203 * sunrpc/svc_raw.c: Likewise.
36204 * sunrpc/svc_run.c: Likewise.
36205 * sunrpc/svc_tcp.c: Likewise.
36206 * sunrpc/svc_udp.c: Likewise.
36207 * sunrpc/svc_unix.c: Likewise.
36208 * sunrpc/svcauth_des.c: Likewise.
36209 * sunrpc/xcrypt.c: Likewise.
36210 * sunrpc/xdr.c: Likewise.
36211 * sunrpc/xdr_array.c: Likewise.
36212 * sunrpc/xdr_float.c: Likewise.
36213 * sunrpc/xdr_intXX_t.c: Likewise.
36214 * sunrpc/xdr_mem.c: Likewise.
36215 * sunrpc/xdr_rec.c: Likewise.
36216 * sunrpc/xdr_ref.c: Likewise.
36217 * sunrpc/xdr_sizeof.c: Likewise.
36218 * sunrpc/xdr_stdio.c: Likewise.
36219
b5c086a2
RM
362202012-05-10 Roland McGrath <roland@hack.frob.com>
36221
36222 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36223 change. Update copyright years.
36224
6d74dd09
JM
362252012-05-10 Joseph Myers <joseph@codesourcery.com>
36226
36227 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36228
28e72501
MK
362292012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36230 Joseph Myers <joseph@codesourcery.com>
36231 Paul Pluzhnikov <ppluzhnikov@google.com>
36232
36233 [BZ #14012]
36234 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36235 requiring rpcgen.
36236 [cross-compiling] (extra-libs): Likewise.
36237 [cross-compiling] (extra-libs-others): Likewise.
36238 [cross-compiling] (librpcsvc-routines): Likewise.
36239 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36240 [cross-compiling] (omit-deps): Likewise.
36241 (sunrpc-CPPFLAGS): New variable.
36242 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36243 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36244 (cross-rpcgen-objs): New variable.
36245 (extra-objs): Append $(cross-rpcgen-objs).
36246 ($(cross-rpcgen-objs)): New rule.
36247 ($(objpfx)cross-rpcgen): Likewise.
36248 (rpcgen-cmd): Define to use $(built-program-file). Expand
36249 comment.
36250 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36251 ($(objpfx)x%.stmp): Likewise.
36252 * sunrpc/proto.h [IS_IN_build] (_): Define.
36253 [IS_IN_build] (_libc_intl_domainname): Likewise.
36254
c8c59454
L
362552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36256
36257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36258 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36259 and R_X86_64_TPOFF64.
36260
6f27cd16
JM
362612012-05-10 Joseph Myers <joseph@codesourcery.com>
36262
36263 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36264 sysdeps/unix/sysv/syscalls.list.
36265 (stime): Likewise.
36266 (utime): Likewise.
36267 * sysdeps/unix/sysv/syscalls.list: Remove file.
36268
02467e1c
PE
362692012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36270
36271 [BZ #3440]
36272 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36273 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36274 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36275 (__LC_IDENTIFICATION): Make these macros useful in #if
36276 expressions, as required by C99.
36277
da392631
AS
362782012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36279
36280 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36281 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36282 after this.
36283
8115f29b
L
362842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36285
36286 * stdlib/longlong.h: Updated from GCC.
36287
bdd74070
AJ
362882012-05-09 Andreas Jaeger <aj@suse.de>
36289
edfe0dbe
AJ
36290 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36291 default is first entry.
36292 (run_mode): Set type.
36293 (main): Remove informal message about syslog.
36294 (options): Fix typo.
36295
bcfe3a54
ST
36296 [BZ #14053]
36297 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36298 to asm.
bcfe3a54
ST
36299 (lrint): Likewise.
36300 (llrintf): Likewise.
36301 (llrint): Likewise.
36302 (rint): Likewise.
36303 (rintf): Likewise.
36304 (nearbyint): Likewise.
36305 (nearbyintf): Likewise.
bdd74070 36306
91d8d69e
AJ
363072012-05-09 Andreas Jaeger <aj@suse.de>
36308 Pedro Alves <palves@redhat.com>
36309
36310 * nscd/nscd.c (run_mode): Use enum.
36311 (main): Cleanup coding style issue.
36312
bb90b80b
AJ
363132012-05-09 Alexandre Oliva <aoliva@redhat.com>
36314 Andreas Jaeger <aj@suse.de>
36315
bcfe3a54
ST
36316 * nscd/nscd.c (go_background): Replaced with...
36317 (run_mode): ... this.
bb90b80b 36318 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36319 (options): Add -F --foreground.
36320 (main): Implement it.
36321 (parse_opt): Parse it.
bb90b80b 36322
1a4b75a1
AJ
363232012-05-09 Andreas Jaeger <aj@suse.de>
36324
36325 [BZ #14083]
36326 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36327 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36328 -Wconversion warning.
36329 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36330 Likewise.
36331
b1cc2472
JM
363322012-05-09 Joseph Myers <joseph@codesourcery.com>
36333
36334 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36335 == 0.
36336 (LC_ALL): Use macro-int-constant.
36337 (LC_COLLATE): Likewise.
36338 (LC_CTYPE): Likewise.
36339 (LC_MESSAGES): Likewise.
36340 (LC_MONETARY): Likewise.
36341 (LC_NUMERIC): Likewise.
36342 (LC_TIME): Likewise.
36343 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36344 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36345 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36346 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36347 Specify type.
36348 [C99-based standards] (float_t): Expect type.
36349 [C99-based standards] (double_t): Expect type.
36350 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36351 type.
36352 [C99-based standards] (HUGE_VALL): Likewise.
36353 [C99-based standards] (INFINITY): Likewise.
36354 [C99-based standards] (NAN): Likewise.
36355 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36356 [C99-based standards] (FP_NAN): Likewise.
36357 [C99-based standards] (FP_NORMAL): Likewise.
36358 [C99-based standards] (FP_SUBNORMAL): Likewise.
36359 [C99-based standards] (FP_ZERO): Likewise.
36360 [C99-based standards] (FP_FAST_FMA): Use
36361 optional-macro-int-constant. Specify type. Require == 1.
36362 [C99-based standards] (FP_FAST_FMAF): Likewise.
36363 [C99-based standards] (FP_FAST_FMAL): Likewise.
36364 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36365 [C99-based standards] (FP_ILOGBNAN): Likewise.
36366 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36367 Specify type.
36368 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36369 [C99-based standards] (math_errhandling): Specify type.
36370 [ISO99 || ISO11] (signgam): Do not allow.
36371 [non-C99-based standards] (copysignf): Do not allow.
36372 [non-C99-based standards] (exp2f): Likewise.
36373 [non-C99-based standards] (log2f): Likewise.
36374 [non-C99-based standards] (modff): Allow.
36375 [non-C99-based standards] (erff): Do not allow.
36376 [non-C99-based standards] (erfcf): Likewise.
36377 [non-C99-based standards] (gammaf): Likewise.
36378 [non-C99-based standards] (hypotf): Likewise.
36379 [non-C99-based standards] (j0f): Likewise.
36380 [non-C99-based standards] (j1f): Likewise.
36381 [non-C99-based standards] (jnf): Likewise.
36382 [non-C99-based standards] (lgammaf): Likewise.
36383 [non-C99-based standards] (tgammaf): Likewise.
36384 [non-C99-based standards] (y0f): Likewise.
36385 [non-C99-based standards] (y1f): Likewise.
36386 [non-C99-based standards] (ynf): Likewise.
36387 [non-C99-based standards] (isnanf): Likewise.
36388 [non-C99-based standards] (acoshf): Likewise.
36389 [non-C99-based standards] (asinhf): Likewise.
36390 [non-C99-based standards] (atanhf): Likewise.
36391 [non-C99-based standards] (cbrtf): Likewise.
36392 [non-C99-based standards] (expm1f): Likewise.
36393 [non-C99-based standards] (ilogbf): Likewise.
36394 [non-C99-based standards] (log1pf): Likewise.
36395 [non-C99-based standards] (logbf): Likewise.
36396 [non-C99-based standards] (nextafterf): Likewise.
36397 [non-C99-based standards] (remainderf): Likewise.
36398 [non-C99-based standards] (rintf): Likewise.
36399 [non-C99-based standards] (scalbf): Likewise.
36400 [non-C99-based standards] (copysignl): Likewise.
36401 [non-C99-based standards] (exp2l): Likewise.
36402 [non-C99-based standards] (log2l): Likewise.
36403 [non-C99-based standards] (modfl): Allow.
36404 [non-C99-based standards] (erfl): Do not allow.
36405 [non-C99-based standards] (erfcl): Likewise.
36406 [non-C99-based standards] (gammal): Likewise.
36407 [non-C99-based standards] (hypotl): Likewise.
36408 [non-C99-based standards] (j0l): Likewise.
36409 [non-C99-based standards] (j1l): Likewise.
36410 [non-C99-based standards] (jnl): Likewise.
36411 [non-C99-based standards] (lgammal): Likewise.
36412 [non-C99-based standards] (tgammal): Likewise.
36413 [non-C99-based standards] (y0l): Likewise.
36414 [non-C99-based standards] (y1l): Likewise.
36415 [non-C99-based standards] (ynl): Likewise.
36416 [non-C99-based standards] (isnanl): Likewise.
36417 [non-C99-based standards] (acoshl): Likewise.
36418 [non-C99-based standards] (asinhl): Likewise.
36419 [non-C99-based standards] (atanhl): Likewise.
36420 [non-C99-based standards] (cbrtl): Likewise.
36421 [non-C99-based standards] (expm1l): Likewise.
36422 [non-C99-based standards] (ilogbl): Likewise.
36423 [non-C99-based standards] (log1pl): Likewise.
36424 [non-C99-based standards] (logbl): Likewise.
36425 [non-C99-based standards] (nextafterl): Likewise.
36426 [non-C99-based standards] (remainderl): Likewise.
36427 [non-C99-based standards] (rintl): Likewise.
36428 [non-C99-based standards] (scalbl): Likewise.
36429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36430 [non-C99-based standards] (FP_*): Do not allow.
36431 [C99-based standards] (FP_*): Change to
36432 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36433 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36434 allow.
36435 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36436 (SIG_ERR): Likewise.
36437 [X/Open-based standards] (SIG_HOLD): Likewise.
36438 (SIG_IGN): Likewise.
36439 (SIGABRT): Use macro-int-constant. Specify type. Require
36440 positive value.
36441 (SIGFPE): Likewise.
36442 (SIGILL): Likewise.
36443 (SIGINT): Likewise.
36444 (SIGSEGV): Likewise.
36445 (SIGTER): Likewise.
36446 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36447 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36448 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36449 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36450 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36451 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36452 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36453 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36454 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36455 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36456 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36457 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36458 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36459 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36460 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36461 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36462 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36463 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36464 [X/Open-based standards] (SIGTRAP): Likewise.
36465 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36466 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36467 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36468 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36469 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36470 allow.
36471
b9f1922d
IW
364722012-05-08 Ian Wienand <ianw@vmware.com>
36473
36474 [BZ #14080]
36475 * time/tzset.c (__tzset_parse_tz): Update default rules for
36476 daylight time changes in the Energy Policy Act of 2005.
36477
1db86e88
AJ
364782012-05-09 Andreas Jaeger <aj@suse.de>
36479
36480 [BZ #13983]
36481 * elf/ldconfig.c (parse_conf): Change string to make clear that
36482 ldconfig only issued a warning if ld.so.conf does not exist.
36483
dee4a4e3
DM
364842012-05-08 David S. Miller <davem@davemloft.net>
36485
ee0db190
DM
36486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36487 movxtod instead of popping the value on the stack.
36488
dee4a4e3
DM
36489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36490
6a43ec98
CD
364912012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36492
36493 * config.h.in: Add HAVE_ARM_PCS_VFP.
36494
05c2c961
RMG
364952012-05-08 Roland Mc Grath <roland@hack.frob.com>
36496
bcfe3a54
ST
36497 [BZ #13979]
36498 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36499 checking but the checks are disabled for any reason.
05c2c961 36500
4b30f61a
L
365012012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36502
36503 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36504 and ELF64_R_TYPE with ELFW(R_TYPE).
36505
eee2bc67
JM
365062012-05-08 Joseph Myers <joseph@codesourcery.com>
36507
7ea5391a
JM
36508 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36509 (ulimit): Likewise.
36510
eee2bc67
JM
36511 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36512 (settimeofday): Likewise.
36513
abb66a67
MF
365142012-05-08 Mike Frysinger <vapier@gentoo.org>
36515
36516 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36517 a struct th_u2 inside the union, and move tu_block/tu_code into
36518 a new th_u3 union of tu_block/tu_code inside of that. Move
36519 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36520 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36521 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36522 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36523 (th_stuff): Change to th_u1.tu_stuff.
36524 (th_data): Define.
36525 (th_msg): Change to th_u1.th_u2.tu_data.
36526
7f18b530
DM
365272012-05-07 David S. Miller <davem@davemloft.net>
36528
05760585
DM
36529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36530
7f18b530
DM
36531 [BZ #14074]
36532 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36533 (SETUP_PIC_REG): Use it.
36534 (SETUP_PIC_REG_LEAF): Use it.
36535
495fd99f
JM
365362012-05-07 Joseph Myers <joseph@codesourcery.com>
36537
36538 [BZ #13885]
36539 [BZ #13923]
36540 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36541 USE_AS_EXPM1L.
36542 (EXPL_FINITE): Likewise.
36543 (FLDLOG): Likewise.
36544 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36545 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36546 e_expl.S.
36547 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36548 USE_AS_EXPM1L.
36549 (EXPL_FINITE): Likewise.
36550 (FLDLOG): Likewise.
36551 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36552 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36553 e_expl.S.
36554 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36555 test of -max_value argument for long double.
36556 * sysdeps/i386/fpu/libm-test-ulps: Update.
36557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36558
6693d694
DM
365592012-05-06 David S. Miller <davem@davemloft.net>
36560
36561 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36562 quad soft-float symbols whose references which are compiler
36563 generated.
36564 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36565
6c23e11c
JM
365662012-05-06 Joseph Myers <joseph@codesourcery.com>
36567
d8b82cad
JM
36568 [BZ #13884]
36569 [BZ #13914]
36570 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36571 USE_AS_EXP10L.
36572 (EXPL_FINITE): Likewise.
36573 (FLDLOG): Likewise.
36574 (c0): Likewise.
36575 (c1): Likewise.
36576 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36577 Adjust comments for base varying.
36578 (__expl_finite): Change alias to EXPL_FINITE.
36579 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36580 e_expl.S.
36581 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36582 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36583 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36584 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36585 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36586 USE_AS_EXP10L.
36587 (EXPL_FINITE): Likewise.
36588 (FLDLOG): Likewise.
36589 (c0): Likewise.
36590 (c1): Likewise.
36591 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36592 Adjust comments for base varying.
36593 (__expl_finite): Change alias to EXPL_FINITE.
36594 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36595 tests for bugs.
36596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36597
6c23e11c
JM
36598 [BZ #14064]
36599 * math/libm-test.inc (check_float_internal): Correct ulp
36600 calculation for subnormal expected results.
36601
29ba805c
AJ
366022012-05-06 Andreas Jaeger <aj@suse.de>
36603
36604 * Makeconfig (+math-flags): New, set to -frounding-math.
36605 (+cflags): Add +math-flags so that all of glibc gets compiled with
36606 it.
36607
36608 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36609
7b17aeda
JM
366102012-05-05 Joseph Myers <joseph@codesourcery.com>
36611
5779f134
JM
36612 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36613 Disable one test.
36614
41498f4d
JM
36615 [BZ #13787]
36616 [BZ #13922]
36617 [BZ #14036]
36618 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36619 (__ieee754_expl): Allow for and saturate large arguments.
36620 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36621 (u_threshold): Likewise.
36622 (__exp): Call __ieee754_exp before checking for overflow and
36623 underflow.
36624 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36625 (u_threshold): Likewise.
36626 (__expf): Call __ieee754_expf before checking for overflow and
36627 underflow.
36628 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36629 (u_threshold): Likewise.
36630 (__expl): Call __ieee754_expl before checking for overflow and
36631 underflow.
36632 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36633 (__ieee754_expl): Allow for and saturate large arguments.
36634 * math/libm-test.inc (exp_test): Add another test. Do not allow
36635 missing overflow exception on overflow.
36636 (expm1_test): Do not allow missing overflow exception on overflow.
36637
6698b8bf
JM
36638 * sysdeps/i386/fpu/e_expl.c: Move to ...
36639 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36640 rather than using inline asm.
36641 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36642 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36643 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36644
7b17aeda
JM
36645 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36646 (nice): Likewise.
36647 (poll): Likewise.
36648 (signal): Likewise.
36649 (time): Likewise.
36650 (times): Likewise.
36651
f7c85819
JM
366522012-05-04 Joseph Myers <joseph@codesourcery.com>
36653
36654 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36655 sysdeps/unix/common/syscalls.list.
36656 (fchmod): Likewise.
36657 (fchown): Likewise.
36658 (ftruncate): Likewise.
36659 (getrusage): Likewise.
36660 (gettimeofday): Likewise.
36661 (setpgid): Likewise.
36662 (setregid): Likewise.
36663 (setreuid): Likewise.
36664 (sigaction): Likewise.
36665 (truncate): Likewise.
36666 (vhangup): Likewise.
36667 * sysdeps/unix/common/syscalls.list: Remove file.
36668 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36669 * sysdeps/unix/sysv/linux/Implies: Likewise.
36670
336270d0
L
366712012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36672
36673 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36675 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36676 Moved to ...
36677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36678 Here.
36679 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36680 to ...
36681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36682 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36683 to ...
36684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36685 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36686 to ...
36687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36688 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36689 to ...
36690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36691 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36692 to ...
36693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36694 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36695 to ...
36696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36697 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36698 to ...
36699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36700 Here.
36701 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36702 to ...
36703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36704 Here.
36705 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36706 to ...
36707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36708 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36709 Moved to ...
36710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36711 Here.
36712 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36713 to ...
36714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36715
d128e450
JM
367162012-05-04 Joseph Myers <joseph@codesourcery.com>
36717
fa8ee516
JM
36718 * sysdeps/unix/common/bits/dirent.h: Remove file.
36719 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36720
d128e450
JM
36721 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36722 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36723 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36724 * sysdeps/unix/bsd/isatty.c: Likewise.
36725 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36726 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36727 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36728
ff8faaf0 367292012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36730
62881be4 36731 [BZ #13563]
31dc8730
AZ
36732 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36733 long double comparison inaccuracies.
36734 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36736
6fef930c
AS
367372012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36738
36739 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36740 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36741
8f203e6c
JM
367422012-05-04 Joseph Myers <joseph@codesourcery.com>
36743
36744 [BZ #14049]
36745 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36746 nonzero digits before rounding a hex value.
36747 * stdlib/tst-strtod.c (tests): Add another test.
36748
5197d9c2
AK
367492012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36750
36751 * sysdeps/s390/fpu/libm-test-ulps: Update.
36752
f0c1dedf
AJ
367532012-05-03 Andreas Jaeger <aj@suse.de>
36754
36755 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36756 does not get optimized out.
36757 (malloc_opt_barrier): New.
36758
a65ef2ae 367592012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36760 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36761
2b942cb7 36762 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36763 intermediate file deletion.
2b942cb7 36764 (generated): Add .symlist files.
a65ef2ae 36765
54b71e02
JM
367662012-05-03 Joseph Myers <joseph@codesourcery.com>
36767
36768 [BZ #13775]
36769 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36770 Redirect under this condition.
36771 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36772 [__USE_GNU] (__dprintf_chk): Not under this condition.
36773 [__USE_GNU] (__vdprintf_chk): Likewise.
36774 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36775 under this condition.
36776 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36777 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36778 [__USE_XOPEN2K8] (vdprintf): Likewise.
36779 [__USE_GNU] (__dprintf_chk): Not under this condition.
36780 [__USE_GNU] (__vdprintf_chk): Likewise.
36781 [__USE_GNU] (dprintf): Likewise.
36782 [__USE_GNU] (vdprintf): Likewise.
36783
d3dfcc41
RM
367842012-05-03 Roland McGrath <roland@hack.frob.com>
36785
36786 * elf/Makefile (common-generated): Set this instead of generated for
36787 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36788 $(all-built-dso)-derived lists.
36789
7ac30cc5
AJ
367902012-05-03 Andreas Jaeger <aj@suse.de>
36791
0c51e550
AJ
36792 * sysdeps/i386/fpu/libm-test-ulps: Update.
36793
7ac30cc5
AJ
36794 * FAQ: Removed.
36795 * FAQ.in: Likewise.
36796 * scripts/gen-FAQ.pl: Likewise.
36797 * manual/install.texi (Installation): Point to online location of
36798 FAQ.
36799 * Makefile (files-for-dist): Remove FAQ.
36800 (FAQ): Remove.
36801
d4c2917f
AM
368022012-05-02 Allan McRae <allan@archlinux.org>
36803
36804 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36805 (LDFLAGS-reldepmod5.so): Likewise.
36806 (LDFLAGS-reldep6mod1.so): Likewise.
36807 (LDFLAGS-reldep6mod4.so): Likewise.
36808 (LDFLAGS-reldep8mod3.so): Likewise.
36809 (LDFLAGS-unload4mod1.so): Likewise.
36810 (LDFLAGS-unload4mod2.so): Likewise.
36811 (LDFLAGS-tst-initorder): Likewise.
36812 (LDFLAGS-tst-initordera2.so): Likewise.
36813 (LDFLAGS-tst-initordera3.so): Likewise.
36814 (LDFLAGS-tst-initordera4.so): Likewise.
36815 (LDFLAGS-tst-initorderb2.so): Likewise.
36816 (LDFLAGS-noload): Likewise.
36817 (LDFLAGS-next): Likewise.
36818 (LDFLAGS-order2mod1.so): Likewise.
36819 (LDFLAGS-order2mod2.so): Likewise.
36820 (LDFLAGS-tst-initorder2): Likewise.
36821 (LDFLAGS-tst-initorder2a.so): Likewise.
36822 (LDFLAGS-tst-initorder2b.so): Likewise.
36823 (LDFLAGS-tst-initorder2c.so): Likewise.
36824 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36825
d77f993f
DM
368262012-05-02 David S. Miller <davem@davemloft.net>
36827
36828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36829
171a70b4
PP
368302012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36831
36832 [BZ #14055]
36833 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36834
0be196ad
AJ
368352012-05-02 Andreas Jaeger <aj@suse.de>
36836
36837 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36838 since we manipulate rounding mode.
36839 (CPPFLAGS-test-idouble.c): Likewise.
36840 (CPPFLAGS-test-ifloat.c): Likewise.
36841 (CFLAGS-test-ldouble.c): Likewise.
36842 (CFLAGS-test-double.c): Likewise.
36843 (CFLAGS-test-float.c): Likewise.
36844 (CFLAGS-test-misc.c): Likewise.
36845 (CFLAGS-test-test-fenv.c): Likewise.
36846
4f9d04aa
AZ
368472012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36848
2b942cb7
RM
36849 [BZ #2550]
36850 [BZ #2570]
36851 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36852 comparisons to determine direction to adjust input.
4f9d04aa 36853
82a79e7d
RM
368542012-05-01 Roland McGrath <roland@hack.frob.com>
36855
f5a01ca9
RM
36856 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36857 output to the target.
36858
90fe4186
RM
36859 * scripts/localplt.awk: New file.
36860 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36861 (check-localplt-CFLAGS): Variable removed.
36862 ($(all-built-dso:=.jmprel)): New static pattern rule.
36863 (generated): Add those targets.
36864 (localplt-built-dso): New variable.
36865 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36866
36867 * elf/check-localplt.c: File removed.
36868
82397ed6
RM
36869 * scripts/check-execstack.awk: New file.
36870 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36871 (check-execstack-CFLAGS): Variable removed.
36872 ($(objpfx)check-execstack.h): Target removed.
36873 ($(objpfx)execstack-default): New target.
36874 (generated): Add that instead of check-execstack.h.
36875 ($(all-built-dso:=.phdr)): New static pattern rule.
36876 (generated): Add those targets.
36877 * elf/check-execstack.c: File removed.
36878
82a79e7d
RM
36879 * scripts/check-textrel.awk: New file.
36880 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36881 (check-textrel-CFLAGS): Variable removed.
36882 (all-built-dso): Use := to define.o
36883 ($(all-built-dso:=.dyn)): New static pattern rule.
36884 (generated): Add those targets.
36885 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36886 * config.make.in (READELF): New substituted variable.
36887 * elf/check-textrel.c: File removed.
36888
62fde54f 368892012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36890
615605c9
JM
36891 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36892 allow.
36893 * conform/data/ctype.h-data [C99-based standards] (isblank):
36894 Expect function.
36895 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36896 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36897 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36898 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36899 Specify type. Require positive value.
36900 (EILSEQ): Likewise.
36901 (ERANGE): Likewise.
36902 [ISO || POSIX] (EILSEQ): Do not expect.
36903 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36904 Specify type. Require positive value.
36905 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36906 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36907 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36908 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36909 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36910 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36911 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36912 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36913 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36914 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36915 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36916 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36917 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36918 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36919 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36920 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36921 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36922 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36923 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36924 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36925 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36926 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36927 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36928 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36929 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36930 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36931 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36932 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36933 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36934 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36935 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36936 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36937 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36938 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36939 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36940 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36941 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36942 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36943 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36944 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36945 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36946 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36947 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36948 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36949 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36950 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36951 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36952 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36953 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36954 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36955 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36956 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36957 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36958 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36959 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36960 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36961 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36962 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36963 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36964 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36965 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36966 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36967 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36968 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36969 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36970 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36971 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36972 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36973 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36974 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36975 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36976 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36977 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36978 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36979 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36980 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36981 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36982 Require >= 2.
36983 (FLT_ROUNDS): Expect as macro, not constant.
36984 (FLT_MANT_DIG): Use macro-int-constant.
36985 (DBL_MANT_DIG): Likewise.
36986 (LDBL_MANT_DIG): Likewise.
36987 (FLT_DIG): Likewise.
36988 (DBL_DIG): Likewise.
36989 (LDBL_DIG): Likewise.
36990 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36991 (DBL_MIN_EXP): Likewise.
36992 (LDBL_MIN_EXP): Likewise.
36993 (FLT_MAX_EXP): Use macro-int-constant.
36994 (DBL_MAX_EXP): Likewise.
36995 (LDBL_MAX_EXP): Likewise.
36996 (FLT_MAX_10_EXP): Likewise.
36997 (DBL_MAX_10_EXP): Likewise.
36998 (LDBL_MAX_10_EXP): Likewise.
36999 (FLT_MAX): Use macro-constant.
37000 (DBL_MAX): Likewise.
37001 (LDBL_MAX): Likewise.
37002 (FLT_EPSILON): Use macro-constant. Give upper bound.
37003 (DBL_EPSILON): Likewise.
37004 (LDBL_EPSILON): Likewise.
37005 (FLT_MIN): Likewise.
37006 (DBL_MIN): Likewise.
37007 (LDBL_MIN): Likewise.
37008 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37009 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37010 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37011 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37012 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37013 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37014 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37015 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37016 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37017 [ISO11] (FLT_TRUE_MIN): Likewise.
37018 [ISO11] (LDBL_TRUE_MIN): Likewise.
37019 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37020 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37021 (SCHAR_MIN): Use macro-int-constant. Specify type.
37022 (SCHAR_MAX): Likewise.
37023 (UCHAR_MAX): Likewise.
37024 (CHAR_MIN): Likewise.
37025 (CHAR_MAX): Likewise.
37026 (MB_LEN_MAX): Use macro-int-constant.
37027 (SHRT_MIN): Use macro-int-constant. Specify type.
37028 (SHRT_MAX): Likewise.
37029 (USHRT_MAX): Likewise.
37030 (INT_MAX): Likewise.
37031 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37032 bound negative.
37033 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37034 bound with "U".
37035 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37036 bound with "L".
37037 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37038 bound negative. Suffix upper bound with "L".
37039 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37040 bound with "UL".
37041 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37042 Specify type.
37043 [C99-based standards] (LLONG_MAX): Likewise.
37044 [C99-based standards] (ULLONG_MAX): Likewise.
37045 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37046 == 0.
37047 [ISO11] (max_align_t): Require type.
37048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37049
c9140a62
JM
37050 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37051 from $CFLAGS, without defining away __attribute__ calls.
37052 (checknamespace): Use $CFLAGS_namespace.
37053
9af0bf29
JM
37054 * conform/conformtest.pl (@keywords): Only include C99 keywords
37055 for standards based on C99 or C11.
37056
343222a2
JM
37057 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37058 Disable tests.
37059 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37060 UNIX98]: Likewise.
37061
661f8cf0
JM
37062 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37063 usability of symbols in #if.
37064
ee74b9cb
JM
37065 * conform/conformtest.pl: If macro or constant types start
37066 "promoted:", expect the symbol to be of the following type
37067 promoted by the integer promotions.
62fde54f 37068
aafc49b3
JM
37069 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37070 in one place. Also handle "macro-constant".
37071
fefdf574
JM
37072 * conform/conformtest.pl: Only accept expected macro values with
37073 "==". Parse all "macro" lines in one place.
37074 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37075
f2d922fe
JM
37076 * conform/conformtest.pl: Handle braced types on "constant" lines
37077 instead of handling "typed-constant".
37078 * conform/data/signal.h-data: Use "constant" instead of
37079 "typed-constant".
37080
d22956c9
JM
37081 * conform/conformtest.pl: Handle "optional-" at start of lines in
37082 one place rather than duplicating several cases. Handle each
37083 format of "macro" line with initial "optional-".
37084
028e2e38
JM
37085 * conform/conformtest.pl: Only accept expected constant or
37086 optional-constant values with "==". Parse all "constant" lines in
37087 one place. Parse all "optional-constant" lines in one place.
37088 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37089 * conform/data/fmtmsg.h-data: Likewise.
37090 * conform/data/netinet/in.h-data: Likewise.
37091 * conform/data/tar.h-data: Likewise.
37092 * conform/data/limits.h-data: Use "==" form on "constant" and
37093 "optional-constant" lines.
37094
1b8f2850
JM
37095 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37096 Use -std=c99 for XOPEN2K.
37097 (@knownproblems): Remove.
37098 (newtoken): Don't check %isknown.
37099
a05a144b
JM
37100 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37101 Do not expect macro.
37102 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37103 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37106 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37107 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37111 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37112 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37114 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37115 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37120 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37121 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37122 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37123 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37124 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37125 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37126 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37127 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37128 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37129 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37130 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37131 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37132 [XPG3] (acosh): Likewise.
37133 [XPG3] (asinh): Likewise.
37134 [XPG3] (atanh): Likewise.
37135 [XPG3] (cbrt): Likewise.
37136 [XPG3] (expm1): Likewise.
37137 [XPG3] (ilogb): Likewise.
37138 [XPG3] (log1p): Likewise.
37139 [XPG3] (logb): Likewise.
37140 [XPG3] (nextafter): Likewise.
37141 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37142 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37143 [XPG3] (remainder): Likewise.
37144 [XPG3] (rint): Likewise.
37145 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37146 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37147 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37148 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37149 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37150 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37151 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37152 [UNIX98 || XOPEN2K] (scalb): Expect.
37153 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37154 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37155 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37156 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37157 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37158 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37159 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37160 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37161 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37162 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37163 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37164 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37165 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37166 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37167 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37168 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37169 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37170 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37171 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37172 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37173 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37174 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37175 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37176 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37177 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37178 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37179 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37180 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37181 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37182 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37183 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37184 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37185 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37186 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37187 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37188 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37189 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37190 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37195 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37196 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37224 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37225 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37232 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37233 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37234 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37235 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37236 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37239 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37240 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37241 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37242 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37243 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37244 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37245 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37246 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37247 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37248 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37249 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37250 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37260 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37261 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37262 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37278 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37279 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37280 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37281 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37282 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37283 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37284 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37285 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37286 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37289 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37290
73c5ebe3
JM
37291 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37292 _XOPEN_SOURCE_EXTENDED for XPG4.
37293
39c33b6c
JM
37294 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37295
62fde54f
JM
37296 * Makeconfig (localtime): Remove variable.
37297 (inst_localtime-file): Likewise.
37298
0741d64c
AS
372992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37300
37301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37302 Update.
37303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37304 Update.
37305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37306 Update.
37307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37308 Update.
37309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37310 Update.
37311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37312 Update.
37313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37314 Update.
37315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37316 Update.
37317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37318 Update.
37319
7cb029ee
JM
373202012-05-01 Joseph Myers <joseph@codesourcery.com>
37321
37322 [BZ #2550]
37323 [BZ #2570]
37324 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37325 comparisons to determine direction to adjust input.
37326 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37327 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37328 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37329 Likewise.
37330 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37331 Likewise.
37332 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37333 Likewise.
37334 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37335 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37336 Likewise.
37337 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37338 Likewise.
37339 * math/libm-test.inc (nexttoward_test): Add more tests.
37340
412bd966
AS
373412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37342
37343 [BZ #14040]
37344 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37345 in version GLIBC_2.1, not GLIBC_2.0.
37346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37347 Likewise.
37348
9568c0c2
JM
373492012-04-30 Joseph Myers <joseph@codesourcery.com>
37350
adfbc8ac
JM
37351 [BZ #13942]
37352 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37353 (1 - x) * (1 + x).
37354 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37355 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37356 * math/libm-test.inc (acos_test): Add more tests.
37357 (asin_test): Likewise.
37358 * sysdeps/i386/fpu/libm-test-ulps: Update.
37359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37360
5ba3cc69
JM
37361 [BZ #14034]
37362 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37363 of square root.
37364 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37365 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37366 * math/libm-test.inc (acos_test_tonearest): New function.
37367 (acos_test_towardzero): Likewise.
37368 (acos_test_downward): Likewise.
37369 (acos_test_upward): Likewise.
37370 (asin_test_tonearest): Likewise.
37371 (asin_test_towardzero): Likewise.
37372 (asin_test_downward): Likewise.
37373 (asin_test_upward): Likewise.
37374 (main): Call the new functions.
37375 * sysdeps/i386/fpu/libm-test-ulps: Update.
37376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37377
9568c0c2
JM
37378 [BZ #13884]
37379 [BZ #13924]
37380 * math/e_exp10.c: Include <float.h>.
37381 (__ieee754_exp10): Handle underflow here rather than multiplying
37382 large negative argument by M_LN10.
37383 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37384 of __ieee754_expf.
37385 * math/e_exp10l.c: Include <float.h>.
37386 (__ieee754_exp10l): Handle underflow here rather than multiplying
37387 large negative argument by M_LN10l.
37388 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37389 spurious overflow exception on underflow.
37390
5ac3ea17
MP
373912012-04-29 Marek Polacek <polacek@redhat.com>
37392
37393 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37394 (__fortify_function): New macro.
37395 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37396 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37397 __extern_always_inline.
37398 * libio/bits/stdio2.h: Likewise.
37399 * libio/bits/stdio.h: Likewise.
37400 * string/string.h: Likewise.
37401 * string/bits/string3.h: Likewise.
37402 * include/stdio.h: Likewise.
37403 * stdlib/bits/stdlib.h: Likewise.
37404 * stdlib/stdlib.h: Likewise.
37405 * rt/bits/mqueue2.h: Likewise.
37406 * rt/mqueue.h: Likewise.
37407 * posix/bits/unistd.h: Likewise.
37408 * posix/unistd.h: Likewise.
37409 * io/bits/poll2.h: Likewise.
37410 * io/bits/fcntl2.h: Likewise.
37411 * io/fcntl.h: Likewise.
37412 * io/sys/poll.h: Likewise.
37413 * misc/bits/syslog.h: Likewise.
37414 * misc/bits/syslog-ldbl.h: Likewise.
37415 * misc/sys/syslog.h: Likewise.
37416 * socket/bits/socket2.h: Likewise.
37417 * socket/sys/socket.h: Likewise.
37418 * debug/tst-chk1.c: Likewise.
37419 * wcsmbs/bits/wchar2.h: Likewise.
37420 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37421 * wcsmbs/wchar.h: Likewise.
37422
ecf0ebfb
AJ
374232012-04-29 Andreas Jaeger <aj@suse.de>
37424
37425 * Makerules (tests): Remove enable-check-abi protection.
37426 (check-abi-warn): Remove.
37427 (check-abi-%): Remove check-abi-warn usage.
37428
37429 * configure.in: Remove check-abi configure option.
37430 * configure: Regenerated.
37431 * config.make.in (enable-check-abi): Remove.
37432
6d5c57fa
AS
374332012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37434
24c5d07e 37435 [BZ #14033]
ded5180a
AS
37436 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37437 double functions to double *_finite functions.
37438
7e0d315d
AS
37439 [BZ #13941]
37440 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37441 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37442 LDBL_MIN_EXP.
37443 * stdio-common/Makefile (tests): Add tst-sprintf3.
37444 * stdio-common/tst-sprintf3.c: New file.
37445
6d5c57fa
AS
37446 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37447 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37448
0749ff8b
JM
374492012-04-28 Joseph Myers <joseph@codesourcery.com>
37450
37451 * conform/conformtest.pl: Remove duplicate typed-constant
37452 handling.
37453
8dbd5d7b
DM
374542012-04-28 David S. Miller <davem@davemloft.net>
37455
37456 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37457 (check-abi-%): Remove AWK script prerequisite and explicit
37458 abilist directory.
37459 (check-abi): Rewrite to just diff the symlist with the abilist.
37460 (config-tls, config-abi-config): Delete, no longer used.
37461 (update-abi-%): Remove AWK script and explicit abilist directory.
37462 (update-abi): Rewrite to simply compare and conditionally copy the
37463 symlist and the sysdep abilist file. Remove update-abi-config
37464 checks.
37465 * abilist/ld.abilist: Remove.
37466 * abilist/libBrokenLocale.abilist: Remove.
37467 * abilist/libanl.abilist: Remove.
37468 * abilist/libcrypt.abilist: Remove.
37469 * abilist/libdl.abilist: Remove.
37470 * abilist/librt.abilist: Remove.
37471 * abilist/libthread_db.abilist: Remove.
37472 * abilist/libutil.abilist: Remove.
37473 * scripts/extract-abilist.awk: Remove.
37474 * scripts/merge-abilist.awk: Remove.
37475 * sysdeps/generic/libcidn.abilist: New file.
37476 * sysdeps/generic/libnss_compat.abilist: New file.
37477 * sysdeps/generic/libnss_db.abilist: New file.
37478 * sysdeps/generic/libnss_dns.abilist: New file.
37479 * sysdeps/generic/libnss_files.abilist: New file.
37480 * sysdeps/generic/libnss_hesiod.abilist: New file.
37481 * sysdeps/generic/libnss_nis.abilist: New file.
37482 * sysdeps/generic/libnss_nisplus.abilist: New file.
37483 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37484 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37485 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37486 file.
37487 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37488 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37489 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37490 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37491 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37492 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37493 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37494 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37495 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37496 file.
37497 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37498 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37499 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37500 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37501 file.
37502 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37503 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37504 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37505 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37506 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37507 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37508 file.
37509 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37510 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37511 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37512 file.
37513 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37515 New file.
37516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37517 New file.
37518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37519 New file.
37520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37521 New file.
37522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37523 New file.
37524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37525 New file.
37526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37527 New file.
37528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37529 New file.
37530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37531 New file.
37532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37533 New file.
37534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37535 New file.
37536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37537 New file.
37538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37539 New file.
37540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37541 file.
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37543 New file.
37544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37545 New file.
37546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37547 file.
37548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37549 New file.
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37551 New file.
37552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37553 file.
37554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37555 New file.
37556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37557 New file.
37558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37559 New file.
37560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37561 New file.
37562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37563 New file.
37564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37565 New file.
37566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37568 file.
37569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37570 New file.
37571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37572 file.
37573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37574 file.
37575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37576 file.
37577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37578 file.
37579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37580 file.
37581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37582 New file.
37583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37584 file.
37585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37586 file.
37587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37588 New file.
37589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37590 file.
37591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37593 file.
37594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37595 New file.
37596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37597 file.
37598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37599 file.
37600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37601 file.
37602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37603 file.
37604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37605 file.
37606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37607 New file.
37608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37609 file.
37610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37611 file.
37612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37613 New file.
37614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37615 file.
37616 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37617 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37618 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37619 file.
37620 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37621 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37622 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37623 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37624 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37625 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37626 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37627 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37628 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37629 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37632 file.
37633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37634 New file.
37635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37636 file.
37637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37638 file.
37639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37640 file.
37641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37642 file.
37643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37644 file.
37645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37646 New file.
37647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37648 New file.
37649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37650 file.
37651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37652 New file.
37653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37654 file.
37655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37657 file.
37658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37659 New file.
37660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37661 file.
37662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37663 file.
37664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37665 file.
37666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37667 file.
37668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37669 file.
37670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37671 New file.
37672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37673 New file.
37674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37675 file.
37676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37677 New file.
37678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37679 file.
37680
41d73a1b
JM
376812012-04-28 Joseph Myers <joseph@codesourcery.com>
37682
37683 * conform/conformtest.pl: Fix typo in handling typed-constant from
37684 allow-header.
37685
28aeeda4
JM
376862012-04-27 Joseph Myers <joseph@codesourcery.com>
37687
adae8f5e
JM
37688 * README: Cut down references to pre-2.6 Linux kernels and
37689 Linuxthreads. Update lists of configurations in libc and ports
37690 and sort alphabetically. Say "or newer" with Linux kernel version
37691 requirements.
37692
28aeeda4
JM
37693 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37694
a462cb63
RA
376952012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37696
37697 [BZ #887]
37698 * math/libm-test.inc (logb_test_downward): New test to expose
37699 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37700 rounding mode.
37701
6ad3493e
JM
377022012-04-27 Joseph Myers <joseph@codesourcery.com>
37703
37704 [BZ #14027]
37705 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37706 to be done.
37707 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37708 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37709
2ce4f015
JM
377102012-04-26 Joseph Myers <joseph@codesourcery.com>
37711
5aeb141a
JM
37712 * sysdeps/unix/i386/brk.S: Remove file.
37713 * sysdeps/unix/i386/dl-brk.S: Likewise.
37714 * sysdeps/unix/i386/pipe.S: Likewise.
37715 * sysdeps/unix/i386/sigreturn.S: Likewise.
37716 * sysdeps/unix/i386/syscall.S: Likewise.
37717 * sysdeps/unix/i386/vfork.S: Likewise.
37718 * sysdeps/unix/i386/wait.S: Likewise.
37719
7143acae
JM
37720 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37721 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37722
2ce4f015
JM
37723 * configure.in (arm*-none*): Do not allow without
37724 --enable-hacker-mode.
37725 (netbsd*): Remove case setting base_os.
37726 (386bsd*): Likewise.
37727 (freebsd*): Likewise.
37728 (bsdi*): Likewise.
37729 (osf*): Likewise.
37730 (sunos*): Likewise.
37731 (ultrix*): Likewise.
37732 (newsos*): Likewise.
37733 (dynix*): Likewise.
37734 (*bsd*): Likewise.
37735 (sysv*): Likewise.
37736 (isc*): Likewise.
37737 (esix*): Likewise.
37738 (sco*): Likewise.
37739 (minix*): Likewise.
37740 (irix4*): Likewise.
37741 (irix6*): Likewise.
37742 (solaris[2-9]*): Likewise.
37743 (none): Likewise.
37744 * configure: Regenerated.
37745
0ac229c8
AZ
377462012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37747
37748 [BZ #11521]
37749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37750 overflow or cancellation in calculating denominator.
37751 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37752 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37753 down expression to avoid unexpected rounding in newer GCCs.
37754 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37755
33f244f4
DM
377562012-04-26 David S. Miller <davem@davemloft.net>
37757
37758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37759 long-double compat symbols.
37760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37773
cfa1f3e8
DM
377742012-04-25 David S. Miller <davem@davemloft.net>
37775
37776 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37777 HWCAP_* values only after the memory barriers have been defined.
37778 (atomic_full_barrier): Define.
37779 (atomic_read_barrier): Define.
37780 (atomic_write_barrier): Define.
37781
6e236b92
SP
377822012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37783
37784 * shlib-versions: Add libgcc_s version information.
37785 * sysdeps/generic/libgcc_s.h: Remove.
37786 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37787 libgcc_s.h.
37788 * sysdeps/gnu/unwind-resume.c: Likewise.
37789 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37790
aab39a09
DM
377912012-04-25 David S. Miller <davem@davemloft.net>
37792
37793 * sysdeps/unix/sparc/brk.S: Delete.
37794 * sysdeps/unix/sparc/dl-brk.S: Delete.
37795 * sysdeps/unix/sparc/pipe.S: Delete.
37796 * sysdeps/unix/sparc/sysdep.S: Delete.
37797 * sysdeps/unix/sparc/sysdep.h: Delete.
37798 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37799 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37800 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37802 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37803 (JUMPTARGET): Remove.
37804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37805 sysdeps/unix/sparc/sysdep.h
37806 (ENTRY, END): Remove.
37807 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37808
a3cc4f48
JM
378092012-04-25 Joseph Myers <joseph@codesourcery.com>
37810
2ed8cda2
JM
37811 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37812 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37813 -DIS_IN_build.
37814
35d76d59
JM
37815 * timezone/README: Update upstream location and email address for
37816 tzcode and tzdata.
37817 * timezone/zdump.c: Update from tzcode 2012b.
37818 * timezone/zic.c: Likewise.
37819
a3cc4f48
JM
37820 * configure.in (libc_cv_as_needed): Remove test.
37821 * configure: Regenerated.
37822 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37823 conditional definition.
37824 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37825 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37826 * config.make.in (have-as-needed): Remove variable.
37827
ceab42c3
SP
378282012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37829 Paul Pluzhnikov <ppluzhnikov@google.com>
37830
37831 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37832 strings correctly.
37833
3ce2865f
CLT
378342012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37835
37836 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37837 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37838 * sysdeps/sh/strlen.S: Likewise.
37839
f37e0d68
JM
378402012-04-24 Joseph Myers <joseph@codesourcery.com>
37841
ae186e9a
JM
37842 * sysdeps/unix/fork.S: Remove file.
37843 * sysdeps/unix/i386/fork.S: Likewise.
37844 * sysdeps/unix/sparc/fork.S: Likewise.
37845
b96914af
JM
37846 * sysdeps/unix/system.c: Remove file.
37847 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37848
f37e0d68
JM
37849 * sysdeps/unix/getegid.S: Remove file.
37850 * sysdeps/unix/geteuid.S: Likewise.
37851
87ef29ca
RM
378522012-04-24 Roland McGrath <roland@hack.frob.com>
37853
83bcd236
RM
37854 * scripts/check-localplt.awk: New file.
37855 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37856 of diff.
37857 * scripts/data/localplt-generic.data: Add a comment.
37858
87ef29ca
RM
37859 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37860 NODE when __dir_mkfile failed.
37861 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37862 Reported by Ludovic Courtès <ludo@gnu.org>.
37863
e5a6e567
AJ
378642012-04-24 Andreas Jaeger <aj@suse.de>
37865
37866 * Makerules (common-clean): Also remove gen-as-const-headers
37867 files.
37868
c1820385
JM
378692012-04-24 Joseph Myers <joseph@codesourcery.com>
37870
37871 * Makerules (native-compile): Do not change working directory for
37872 build. Use $(OUTPUT_OPTION) in command.
37873 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37874
94e02fc4
AZ
378752012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37876
37877 [BZ #13886]
37878 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37879 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37880 * math/libm-test.inc (floor_test): Add more tests.
37881 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37882
3a533ca3
JM
378832012-04-24 Joseph Myers <joseph@codesourcery.com>
37884
940ab4b3
JM
37885 * sysdeps/unix/getdents.c: Remove file.
37886 * sysdeps/unix/sysv/getdents.c: Likewise.
37887 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37888
90e037bd
JM
37889 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37890 sysdeps/unix/mman/syscalls.list.
37891 (mmap): Likewise.
37892 (mprotect): Likewise.
37893 (msync): Likewise.
37894 (munmap): Likewise.
37895 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37896 * sysdeps/unix/mman/syscalls.list: Remove.
37897 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37898
3a533ca3
JM
37899 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37900 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37901 * configure: Regenerated.
37902 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37903 $(libgcc_s_suffix).
37904 * config.make.in (libgcc_s_suffix): Remove variable.
37905
1ad743de
JM
379062012-04-23 Joseph Myers <joseph@codesourcery.com>
37907
4ad451e2
JM
37908 * sysdeps/unix/sysv/gethostname.c: Move to ...
37909 * sysdeps/posix/gethostname.c: ... here.
37910
5e37ce39
JM
37911 * sysdeps/unix/execve.S: Remove file.
37912
1ad743de
JM
37913 * sysdeps/unix/_exit.S: Remove file.
37914
4e681b5b
AJ
379152012-04-23 Andreas Jaeger <aj@suse.de>
37916
37917 [BZ #13739]
37918 * manual/Makefile: Remove make dist support, there's no
37919 need for a stand-alone documentation tar ball.
37920 (TEXI2DVI): Define always, it's not in Makeconfig.
37921 (dist): Removed.
37922 (tar-it): Removed.
37923 (edition): Removed.
37924 (glibc-doc-$(edition).tar): Removed
37925 (%.Z): Removed.
37926 (%.gz): Removed.
37927 (%.uu): Removed.
37928 (ETAGS): Remove, it's in Makeconfig.
37929 (move-if-change): Remove, it's in Makeconfig.
37930
38686a03 379312012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37932
37933 [BZ #13970]
37934 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37935 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37936 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37937 (strtod_l, strtof_l, strtold_l): Remove __wur.
37938 It is not necessarily an error to ignore strtol's return value.
37939 One can reliably look at the stored endptr to decide whether
37940 the number had valid syntax.
37941
7c0616fa
AJ
379422012-04-21 Andreas Jaeger <aj@suse.de>
37943
803cb6b7 37944 [BZ #13739]
7c0616fa
AJ
37945 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37946
b0fe253f
JM
379472012-04-21 Joseph Myers <joseph@codesourcery.com>
37948
37949 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37950 * sysdeps/unix/sysv/Versions: Remove file.
37951
8280f22d
MT
379522012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37953
37954 [BZ #13927]
37955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37956
75ce411f 379572012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37958
37959 [BZ #7064]
37960 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37961 version from __vm86.
37962
097d59fa
JM
379632012-04-20 Joseph Myers <joseph@codesourcery.com>
37964
a90f3bcb
JM
37965 * sysdeps/unix/common/lxstat.c: Remove file.
37966 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37967
edc7ea78
JM
37968 * sysdeps/unix/sysv/Makefile: Remove file.
37969
cb78c221
JM
37970 * sysdeps/unix/sysv/direct.h: Remove file.
37971
efa6a45f
JM
37972 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37973 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37974 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37975 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37976 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37977 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37978 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37979
9c9f2d0c
JM
37980 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37981
4541c83b
JM
37982 * sysdeps/unix/xmknod.c: Remove file.
37983 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37984
f5d153a0
JM
37985 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37986
aa746595
JM
37987 * sysdeps/unix/sysv/i386/time.S: Remove file.
37988
cce5905e
JM
37989 * sysdeps/unix/fxstat.c: Remove file.
37990 * sysdeps/unix/xstat.c: Likewise.
37991 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37992
37fa3841
JM
37993 * sysdeps/unix/sysv/sigaction.c: Remove file.
37994
ff1962a3
JM
37995 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37996 (sysdep_headers): Remove variable.
37997 [termio.h not in sysdep_headers] (generated): Likewise.
37998 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37999 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38000 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38001 * sysdeps/unix/sysv/tcflow.c: Likewise.
38002 * sysdeps/unix/sysv/tcflush.c: Likewise.
38003 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38004 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38005 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38006 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38007 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38008
e7740d31
JM
38009 * sysdeps/unix/siglist.c: Remove file.
38010
ee06f18b
JM
38011 * sysdeps/unix/getppid.S: Remove file.
38012
097d59fa
JM
38013 * sysdeps/unix/mkdir.c: Remove file.
38014 * sysdeps/unix/rmdir.c: Likewise.
38015
ff3d51ec
AS
380162012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38017
38018 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38019 ERR_MAX value.
38020 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38021 errlist-compat value.
38022
50f81fd7
DM
380232012-04-18 David S. Miller <davem@davemloft.net>
38024
38025 * sysdeps/generic/memcopy.h (reg_char): Delete.
38026 * debug/strcat_chk.c: Use char, not reg_char.
38027 * debug/strcpy_chk.c: Likewise.
38028 * debug/strncat_chk.c: Likewise.
38029 * debug/strncpy_chk.c: Likewise.
38030 * string/memchr.c: Likewise.
38031 * string/memrchr.c: Likewise.
38032 * string/rawmemchr.c: Likewise.
38033 * string/strcat.c: Likewise.
38034 * string/strchr.c: Likewise.
38035 * string/strchrnul.c: Likewise.
38036 * string/strcmp.c: Likewise.
38037 * string/strcpy.c: Likewise.
38038 * string/strncat.c: Likewise.
38039 * string/strncmp.c: Likewise.
38040 * string/strncpy.c: Likewise.
38041
8ff41c46
WS
380422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38043
38044 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38045 __builtin_memcopy is called when src and dest ranges are known to not
38046 overlap.
38047
6b652f46
WS
380482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38049
38050 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38051 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38052 fwd_align_merge macro call.
38053 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38054 bwd_align_merge macro call.
38055 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38056
b282631e
WS
380572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38058
38059 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38060 bwd_align_merge macros.
38061 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38062 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38063 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38064
95aa737c
DM
380652012-04-18 David S. Miller <davem@davemloft.net>
38066
38067 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38068
7a99a614
AJ
380692012-04-18 Andreas Jaeger <aj@suse.de>
38070
38071 [BZ# 6794]
38072 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38073 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38074 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38075
38076 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38077 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38078 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38079
38080 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38081 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38082 Adjust for changed ldbl-128 files.
38083
38084 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38085 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38086 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38087
e5270c23
DM
380882012-04-17 David S. Miller <davem@davemloft.net>
38089
38090 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38091
fb5e92c9
AS
380922012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38093
38094 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38095 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38096 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38097 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38098 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38099 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38100
76da7265
AZ
381012012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38102
38103 [BZ #6794]
38104 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38105 * math/libm-test.inc: Add ilogb errno and exception tests.
38106 * math/w_ilogb.c: New file: ilogb wrapper.
38107 * math/w_ilogbf.c: New file: ilogbf wrapper.
38108 * math/w_ilogbl.c: New file: ilogbl wrapper.
38109 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38110 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38111 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38112 exception being thrown with 0.0 as argument.
38113 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38114 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38115 exception being thrown with 0.0 as argument.
38116 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38117 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38118 exception being thrown with 0.0 as argument.
38119 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38120 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38121 exception being thrown with 0.0 as argument.
38122 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38123 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38124 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38125 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38126 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38127 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38128 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38129 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38130 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38131
0396e69d
PB
381322012-04-17 Petr Baudis <pasky@ucw.cz>
38133
38134 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38135 with altivec.
38136
750b5926
MP
381372012-04-16 Marek Polacek <polacek@redhat.com>
38138
38139 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38140
751728a1
MP
381412012-04-16 Marek Polacek <polacek@redhat.com>
38142
38143 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38144 operands of fdivp instruction.
38145
34a27407
L
381462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38147
38148 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38149 * elf/tst-auditmod3b.c: Likewise.
38150 * elf/tst-auditmod4b.c: Likewise.
38151 * elf/tst-auditmod5b.c: Likewise.
38152 * elf/tst-auditmod6b.c: Likewise.
38153 * elf/tst-auditmod6c.c: Likewise.
38154 * elf/tst-auditmod7b.c: Likewise.
38155 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38156 * sysdeps/x86_64/preconfigure.in: Likewise.
38157 * sysdeps/x86_64/preconfigure: Regenerated.
38158
7e73e17d
L
381592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38160
38161 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38162 __ILP32__.
38163
c7a6ab72
AB
381642012-04-13 Antoine Balestrat <merkil33@gmail.com>
38165
38166 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38167 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38168
a9e8e0e0
CL
381692012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38170
38171 [BZ #13973]
38172 * locale/iso-639.def: Fix gl language name. Spotted by
38173 Yaron Shahrabani.
38174
ec98af7d
RM
381752012-04-12 Roland McGrath <roland@hack.frob.com>
38176
38177 [BZ #2074]
38178 * libio/libio.h (__io_write_fn): Update comment.
38179
247c3ede
PB
381802012-04-12 Petr Baudis <pasky@ucw.cz>
38181
38182 [BZ #2074]
38183 * stdio.texi (Hook Functions): The user provided writer function
38184 is not allowed to return -1.
38185
55939d6d
DM
381862012-04-11 David S. Miller <davem@davemloft.net>
38187
38188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38189
90020f5a
MF
381902012-04-11 Mike Frysinger <vapier@gentoo.org>
38191
38192 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38193 Add a leading slash to rtkaio.
38194
288f9098
JM
381952012-04-11 Jim Meyering <meyering@redhat.com>
38196
90020f5a
MF
38197 [BZ #11959]
38198 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38199 It is not necessarily an error to ignore fwrite's return
38200 value. One can reliably use ferror to test for errors after
38201 the fact.
288f9098 38202
4be2b570
L
382032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38204
38205 * bits/types.h (__snseconds_t): New type.
38206 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38207
38208 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38209 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38210 (__SNSECONDS_T_TYPE): Likewise.
38211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38212 (__SNSECONDS_T_TYPE): Likewise.
38213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38214 (__SNSECONDS_T_TYPE): Likewise.
38215
288f9098 382162012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38217
38218 [BZ #2636]
38219 * manual/time.texi (Processor Time): Return type of times is
38220 elapsed real time since an arbitrary point in the past.
38221 (CPU Time): Move CLK_TCK from here...
38222 (Processor Time): ...to here. Correct description.
38223 * manual/conf.texi (Constants for Sysconf): Correct description of
38224 _SC_CLK_TCK.
38225
d7dd4413
DM
382262012-04-10 David S. Miller <davem@davemloft.net>
38227
38228 [BZ #13967]
38229 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38230 where the is a gap between DT_REL(A) and DT_JMPREL.
38231
b46068fc
L
382322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38233
38234 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38235 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38236 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38237
73d65cc3
SP
382382012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38239
38240 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38241 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38242 (dl_main): Handle --inhibit-cache.
38243 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38244 _dl_inhibit_cache.
38245 * elf/dl-load.c (_dl_map_object): Use it.
38246 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38247
bcc8d661
JM
382482012-04-09 Joseph Myers <joseph@codesourcery.com>
38249
8f9a2fae
JM
38250 [BZ #13872]
38251 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38252 (__ieee754_powl): Saturate large exponents rather than testing for
38253 overflow of y*log2(x).
38254 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38255 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38256 exceptions.
38257
bcc8d661
JM
38258 [BZ #11521]
38259 * math/s_ctan.c: Include <float.h>.
38260 (__ctan): Avoid internal overflow or cancellation in calculating
38261 denominator.
38262 * math/s_ctanf.c: Likewise.
38263 * math/s_ctanl.c: Likewise.
38264 * math/s_ctanh.c: Likewise.
38265 * math/s_ctanhf.c: Likewise.
38266 * math/s_ctanhl.c: Likewise.
38267 * math/libm-test.inc (ctan_test): Add more tests.
38268 (ctanh_test): Likewise.
38269 * sysdeps/i386/fpu/libm-test-ulps: Update.
38270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38271
823fbbb4
AJ
382722012-04-09 Andreas Jaeger <aj@suse.de>
38273
03879793
AJ
38274 [BZ #6894]
38275 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38276 is an optional BSD extension.
38277
823fbbb4
AJ
38278 [BZ #10254]
38279 * manual/stdio.texi (Opening Streams): Document additional fopen
38280 parameters.
38281
8de131cb
RM
382822012-04-09 Roland McGrath <roland@hack.frob.com>
38283
38284 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38285 %eax without telling the compiler.
38286
c0ed9d7d
CD
382872012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38288
38289 [BZ # 13963]
38290 * manual/install.texi: Use sourceware.org.
38291
c483f6b4
JM
382922012-04-09 Joseph Myers <joseph@codesourcery.com>
38293
d7dd9453
JM
38294 [BZ #13873]
38295 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38296 (__ieee754_pow): Generate overflow and underflow using huge*huge
38297 and tiny*tiny rather than just returning constant infinity or zero
38298 for large exponents.
38299 * math/libm-test.inc (pow_test): Require overflow exceptions for
38300 applicable cases of large exponents.
38301
c483f6b4
JM
38302 [BZ #706]
38303 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38304 (__ieee754_pow): Use iterative multiplication algorithm only for
38305 integer exponents with absolute value below 1024. Check for odd
38306 integer exponents when using algorithm for real exponents.
38307 * math/libm-test.inc (pow_test): Add more tests.
38308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38309
d2de7579
JM
383102012-04-08 Joseph Myers <joseph@codesourcery.com>
38311
38312 [BZ #13705]
38313 * math/libm-test.inc (exp_test): Do not allow overflow exception
38314 on underflow test.
38315
f77f1232
AJ
383162012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38317
38318 [BZ #13705]
38319 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38320 instead of __kernel_standard_f.
38321
3884932b
MF
383222012-04-08 Mike Frysinger <vapier@gentoo.org>
38323
38324 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38325 * sysdeps/x86_64/memset_chk.S: Likewise.
38326
54472e9c
AJ
383272012-04-08 Andreas Jaeger <aj@suse.de>
38328
6ab0fbfc
AJ
38329 [BZ #10153]
38330 * manual/startup.texi (Environment Access): Describe return value
38331 for putenv and setenv.
38332
61efba8c
AJ
38333 [BZ #6895]
38334 * manual/filesys.texi (Directory Entries): Add description for
38335 DT_LNK.
38336
95c3f29a
AJ
38337 [BZ #6890]
38338 * manual/filesys.texi (Directory Entries): Clarify that it's file
38339 system not operating system in the description of DT_UNKNOWN.
38340
54472e9c
AJ
38341 [BZ #6578]
38342 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38343
624254b1
SC
383442012-04-08 Stephen Compall <s11@member.fsf.org>
38345
38346 [BZ #6649]
38347 * manual/llio.texi (Opening and Closing Files): Add cross
38348 reference to explain mode argument.
38349
1e4920e0
MF
383502012-04-07 Mike Frysinger <vapier@gentoo.org>
38351
38352 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38353 * sysdeps/x86_64/memset_chk.S: Likewise.
38354
5ed848f3
DM
383552012-04-07 David S. Miller <davem@davemloft.net>
38356
38357 * elf/elf.h (R_SPARC_WDISP10): Define.
38358 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38359 R_SPARC_SIZE32.
38360 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38361 R_SPARC_SIZE64 and R_SPARC_H34.
38362
96154cd8
CD
383632012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38364
38365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38366 conditions and remove no longer applicable assertion.
38367
9904dc47
L
383682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38369
38370 * bits/byteswap.h: Include <features.h>.
38371 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38372 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38373
f8887d0a
L
383742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38375
38376 * bits/byteswap.h (__bswap_16): Removed.
38377 Include <bits/byteswap-16.h> to get __bswap_16.
38378 * sysdeps/i386/bits/byteswap.h: Likewise.
38379 * sysdeps/s390/bits/byteswap.h: Likewise.
38380 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38381 * bits/byteswap-16.h: New file.
38382 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38383 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38384 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38385 * string/Makefile (headers): Add bits/byteswap-16.h.
38386
62470f60
PP
383872012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38388
38389 [BZ #13895]
38390 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38391 extra indirection.
38392 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38393 * nss/tst-nss-static.c: New.
38394
4dad7bab
RM
383952012-04-06 Robert Millan <rmh@gnu.org>
38396
38397 [BZ #6486]
38398 * manual/llio.texi (File Position Primitive): lseek
38399 refers to WHENCE when it really means OFFSET.
38400
e9142a17
AJ
384012012-04-06 Andreas Jaeger <aj@suse.de>
38402
2c040eff
AJ
38403 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38404 strncmp declarations.
38405
e9142a17
AJ
38406 * abilist/libc.abilist: Add __poll and __ppoll.
38407
ff9f1c5f
DM
384082012-04-05 David S. Miller <davem@davemloft.net>
38409
dcd2ae90
DM
38410 * scripts/check-local-headers.sh: Accept a host triplet in the
38411 path matched by the exclude regexp.
38412
993eb054
DM
38413 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38414 definition.
38415 * sysdeps/powerpc/powerpc32/dl-machine.h
38416 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38417 * sysdeps/s390/s390-32/dl-machine.h
38418 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38419 * sysdeps/sparc/sparc32/dl-machine.h
38420 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38421 * sysdeps/sparc/sparc64/dl-machine.h
38422 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38423
ff9f1c5f
DM
38424 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38425 lazy binding.
48e2e132 38426 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38427 undefined symbol errors.
38428
48e2e132 38429 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38430 DT_NEEDED entries.
38431
e80d6f94
MM
384322012-04-05 Michael Matz <matz@suse.de>
38433
38434 [BZ #13592]
38435 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38436
349fa79f
AJ
384372012-04-05 Andreas Jaeger <aj@suse.de>
38438
38439 [BZ #13908]
38440 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38441 comment.
38442
f402708f
KK
384432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38444
38445 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38446 which ROUND is no valid rounding mode.
38447
2ecccfc9
KK
384482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38449
38450 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38451 read again.
38452 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38453
8a53f50f
KK
384542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38455
38456 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38457 an exception using FPU order intentionally.
38458
384592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38460
38461 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38462 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38463 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38464 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38465
d653abb7
SJ
384662012-04-05 Simon Josefsson <simon@josefsson.org>
38467
38468 [BZ #12340]
38469 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38470 EINVAL when BUFLEN is too smal.
38471
c3b1bf7d
TS
384722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38473
38474 [BZ #13553]
38475 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38476 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38477
b1aa60f3
AJ
384782012-04-03 Andreas Jaeger <aj@suse.de>
38479
c3b1bf7d 38480 [BZ #13938]
67f60a26
AJ
38481 * manual/setjmp.texi (System V contexts): Fix sentence.
38482
b1aa60f3
AJ
38483 [BZ #13926]
38484 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38485 New macro for this case.
38486 [!__GNUC__] (__bswap_64): New inline function for this case.
38487 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38488 * bits/byteswap.h: Likewise.
38489 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38490 ull, guard with __GLIBC_HAVE_LONG_LONG.
38491
38492 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38493 __GLIBC_HAVE_LONG_LONG.
38494
38495 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38496 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38497
39c59c35
TMQMF
384982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38499
38500 [BZ #13691]
38501 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38502 inptr and inend, rather than using last_ch.
38503
135ffda8
DM
385042012-04-02 David S. Miller <davem@davemloft.net>
38505
38506 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38507 * stdio-common/printf-parse.h (read_int): Change return type to
38508 'int', return -1 on INT_MAX overflow.
38509 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38510 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38511 overflows INT_MAX. Check for overflow of in-format-string precision
38512 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38513 SIZE_MAX not INT_MAX for integer overflow test.
38514 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38515 skip the construct in the format string but do not record anything.
38516 * stdio-common/bug22.c: Adjust to test both width/prevision
38517 INT_MAX overflow as well as total length INT_MAX overflow. Check
38518 explicitly for proper errno values.
38519
228c019e
TS
385202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38521
302cadd3
TS
38522 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38523 CHAR_MAX.
38524 * string/test-strcmp.c [! WIDE]: Likewise.
38525 * time/tst-mktime2.c: Likewise for INT_MAX.
38526 * string/test-string.h: #include <sys/param.h> for MIN.
38527
228c019e
TS
38528 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38529 * sysdeps/i386/init-first.c (init): Likewise.
38530 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38531 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38532 * sysdeps/sh/init-first.c (init): Likewise.
38533
cfa633f5
UD
385342012-04-01 Ulrich Drepper <drepper@gmail.com>
38535
38536 * po/ru.po: Update from translation team.
d1635ef8 38537 * po/vi.po: Likewise.
cfa633f5 38538
6cd0a5ea
SP
385392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38540
38541 * resolv/nss_dns/dns-host.c: Merge copyright years.
38542
4b43400f
LD
385432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38544
38545 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38546 Optimize memcpy with prefetch if
38547 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38548 src, dst pointers have unequal 16 byte alignments.
38549
48c41d04
SP
385502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38551
38552 [BZ #13928]
38553 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38554 from a CNAME entry and return the minimum ttl for the query.
38555 (gaih_getanswer_slice): Likewise.
38556
b8dc394d
JL
385572012-03-30 Jeff Law <law@redhat.com>
38558
38559 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38560 due to long keys.
38561 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38562 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38563
2f5a5ed0
JL
38564 * resolv/nss_dns/dns-host.c: Update copyright year.
38565
1d39e359
UD
385662012-03-30 Ulrich Drepper <drepper@gmail.com>
38567
c030f70c 38568 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38569 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38570
1d39e359
UD
38571 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38572 comments for sendmmsg.
38573
385742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38575
38576 [BZ #13691]
38577 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38578 with only 1 character between 0x0041 and 0x01b0.
38579 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38580 * wcsmbs/tst-mbsnrtowcs.c: New file.
38581
20fde227
DM
385822012-03-29 David S. Miller <davem@davemloft.net>
38583
38584 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38585 small copies by hand.
38586
984a4237
JL
385872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38588
38589 [BZ #13761]
57f41c40
AS
38590 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38591 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38592 group memberships.
984a4237 38593
18c9d62b
DM
385942012-03-28 David S. Miller <davem@davemloft.net>
38595
88d85d4f
DM
38596 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38597 that branches into memcpy.
38598 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38599 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38600 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38601 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38603 bits.
38604 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38605 implementation too.
38606 * sysdeps/sparc/mempcpy.S: New file.
38607
e5aa83e1
DM
38608 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38609 the IFUNC routine in the libc case.
38610 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38611
88570753
DM
38612 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38613 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38614 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38615 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38616 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38617 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38618 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38619 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38620
249d7567
DM
38621 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38622 loop to 256 bytes instead of 64 bytes and fix test signedness.
38623
18c9d62b
DM
38624 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38625 * sysdeps/sparc/sparc32/Makefile: rather than here...
38626 * sysdeps/sparc/sparc64/Makefile: and here.
38627
05f3d1f6
UD
386282012-03-28 Ulrich Drepper <drepper@gmail.com>
38629
38630 * malloc/mallocbug.c: Avoid warnings about unused variables.
38631
86ae07a8
JL
386322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38633
38634 [BZ #13760]
38635 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38636 in the right place. Discard and retry query if response is
38637 larger than input buffer size.
38638
41bf21a1
JM
386392012-03-28 Joseph Myers <joseph@codesourcery.com>
38640
d6270972
JM
38641 [BZ #369]
38642 [BZ #2678]
38643 [BZ #3866]
38644 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38645 x for large integer exponent.
38646 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38647 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38648 sign of result as needed afterwards.
38649 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38650 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38651 result for underflowing pow the same as for overflow.
38652 (__kernel_standard_l): Handle powl overflow and underflow here
38653 rather than calling __kernel_standard.
38654 * math/libm-test.inc (pow_test): Add more tests.
38655
414fca03 38656 [BZ #3868]
41bf21a1
JM
38657 [BZ #13879]
38658 [BZ #13910]
38659 [BZ #13911]
38660 [BZ #13912]
38661 [BZ #13913]
38662 [BZ #13915]
38663 [BZ #13916]
38664 [BZ #13917]
38665 [BZ #13918]
38666 [BZ #13919]
38667 [BZ #13920]
38668 [BZ #13921]
38669 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38670 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38671 (__kernel_standard_l): New function.
38672 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38673 __kernel_standard.
38674 * math/w_acosl.c (__acosl): Likewise.
38675 * math/w_asinl.c (__asinl): Likewise.
38676 * math/w_atan2l.c (__atan2l): Likewise.
38677 * math/w_atanhl.c (__atanhl): Likewise.
38678 * math/w_coshl.c (__coshl): Likewise.
38679 * math/w_exp10l.c (__exp10l): Likewise.
38680 * math/w_exp2l.c (__exp2l): Likewise.
38681 * math/w_fmodl.c (__fmodl): Likewise.
38682 * math/w_hypotl.c (__hypotl): Likewise.
38683 * math/w_j0l.c (__j0l, __y0l): Likewise.
38684 * math/w_j1l.c (__j1l, __y1l): Likewise.
38685 * math/w_jnl.c (__jnl, __ynl): Likewise.
38686 * math/w_lgammal.c (__lgammal): Likewise.
38687 * math/w_log10l.c (__log10l): Likewise.
38688 * math/w_log2l.c (__log2l): Likewise.
38689 * math/w_logl.c (__logl): Likewise.
38690 * math/w_powl.c (__powl): Likewise.
38691 * math/w_remainderl.c (__remainderl): Likewise.
38692 * math/w_scalbl.c (sysv_scalbl): Likewise.
38693 * math/w_sinhl.c (__sinhl): Likewise.
38694 * math/w_sqrtl.c (__sqrtl): Likewise.
38695 * math/w_tgammal.c (__tgammal): Likewise.
38696 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38697 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38698 * math/libm-test.inc (acos_test): Add more tests.
38699 (acosh_test): Likewise.
38700 (asin_test): Likewise.
38701 (atanh_test): Likewise.
38702 (exp_test): Likewise.
38703 (exp10_test): Likewise.
38704 (exp2_test): Likewise.
38705 (expm1_test): Likewise.
38706 (lgamma_test): Likewise.
38707 (log_test): Likewise.
38708 (log10_test): Likewise.
38709 (log1p_test): Likewise.
38710 (log2_test): Likewise.
38711 (pow_test): Do not allow some spurious overflow exceptions.
38712 (sqrt_test): Add more tests.
38713 (tgamma_test): Likewise.
38714 (y0_test): Likewise.
38715 (y1_test): Likewise.
38716 (yn_test): Likewise.
38717
dd62fda6
AB
387182012-03-27 Anton Blanchard <anton@samba.org>
38719
38720 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38721 MAP_HUGETLB.
38722 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38723 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38724 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38725
1e3cdfda
AJ
387262012-03-27 David S. Miller <davem@davemloft.net>
38727
b855ab85
DM
38728 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38729
1e3cdfda
AJ
38730 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38731 have-as-vis3 check.
38732
387332012-03-27 Andreas Jaeger <aj@suse.de>
38734
38735 * sysdeps/x86_64/elf/configure.in: Moved to ...
38736 * sysdeps/x86_64/configure.in: ... here.
38737 * sysdeps/x86_64/elf/start.S: Moved to ...
38738 * sysdeps/x86_64/start.S: ... here.
38739 * sysdeps/x86_64/elf/configure: Delete.
38740
38741 * sysdeps/x86_64/configure.in: Merge contents from
38742 sysdeps/i386/configure.in (without i686 check).
38743
38744 * sysdeps/i386/elf/Versions: Merge into ...
38745 * sysdeps/i386/Versions: ... this.
38746 * sysdeps/i386/elf/Versions: Delete file.
38747 * sysdeps/i386/elf/start.S: Moved to ...
38748 * sysdeps/i386/start.S: ...here.
38749 * sysdeps/i386/elf/configure.in: Merge into...
38750 * sysdeps/i386/configure.in: ...here.
38751 * sysdeps/i386/elf/configure.in: Delete file.
38752 * sysdeps/i386/elf/configure: Delete file.
38753
38754 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38755 * debug/backtracesyms.c: ... here.
38756 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38757 * debug/backtracesymsfd.c: ... here.
38758 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38759 * sysdeps/generic/ifunc-sel.h: ... here.
38760
38761 * sysdeps/unix/i386/start.c: Delete file.
38762 * sysdeps/unix/sparc/start.c: Delete file.
38763 * sysdeps/unix/start.c: Delete file.
38764
38765 * sysdeps/sh/elf/configure.in: Moved to ...
38766 * sysdeps/sh/configure.in: ... here.
38767 * sysdeps/sh/elf/start.S: Moved to ...
38768 * sysdeps/sh/start.S: ... here.
38769 * sysdeps/sh/elf/configure: Delete file.
38770
38771 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38772 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38773 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38774 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38775 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38776 * sysdeps/powerpc/powerpc64/start.S: here.
38777 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38778 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38779 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38780 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38781 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38782
38783 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38784 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38785 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38786 * sysdeps/powerpc/powerpc32/start.S: ... here.
38787 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38788 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38789 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38790
38791 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38792 * sysdeps/powerpc/ifunc-sel.h: ... here.
38793 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38794 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38795
38796 * sysdeps/sparc/elf/configure.in: Moved to ...
38797 * sysdeps/sparc/configure.in: ... here.
38798 * sysdeps/sparc/elf/configure: Delete file.
38799 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38800 * sysdeps/sparc/sparc32/start.S: ... here.
38801 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38802 * sysdeps/sparc/sparc64/start.S: ... here.
38803 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38804 * sysdeps/sparc/sparc32/Makefile: ... this.
38805 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38806 * sysdeps/sparc/sparc64/Makefile: ... this.
38807
38808 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38809 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38810 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38811 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38812 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38813 * sysdeps/s390/s390-32/setjmp.S: ... here.
38814 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38815 * sysdeps/s390/s390-32/configure.in: ... here.
38816 * sysdeps/s390/s390-32/elf/configure: Delete file.
38817 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38818 * sysdeps/s390/s390-32/start.S: ... here.
38819
38820 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38821 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38822 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38823 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38824 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38825 * sysdeps/s390/s390-64/setjmp.S: ... here.
38826 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38827 * sysdeps/s390/s390-64/configure.in: ... here
38828 * sysdeps/s390/s390-64/elf/configure: Delete file.
38829 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38830 * sysdeps/s390/s390-64/start.S: ... here.
38831 * sysdeps/s390/s390-64/elf/configure: Delete.
38832
38833 * configure.in: Remove support for elf directories in sysdeps.
38834
38835 * configure: Regenerated.
38836 * sysdeps/i386/configure: Regenerated.
38837 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38838 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38839 * sysdeps/s390/s390-32/configure: Regenerated.
38840 * sysdeps/s390/s390-64/configure: Regenerated.
38841 * sysdeps/sh/configure: Regenerated.
38842 * sysdeps/sparc/configure: Regenerated.
38843 * sysdeps/x86_64/configure: Regenerated.
38844
a3f61311
AS
388452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38846
c876e002
AS
38847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38848
a3f61311
AS
38849 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38850 denormal result into account.
38851
ac4c54f0
RM
388522012-03-25 Roland McGrath <roland@hack.frob.com>
38853
38854 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38855 Reported by Allan McRae <allan@archlinux.org>.
38856
6a9b9c02
JL
388572012-03-23 Jeff Law <law@redhat.com>
38858
38859 * nss/getnssent.c (__nss_getent): Fix typo.
38860
4c42a0c1
DM
388612012-03-23 David S. Miller <davem@davemloft.net>
38862
38863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38864
1532c7ac
L
388652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38866
38867 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38868 to pad to uint64_t for each field.
38869 (dl_tls_index): Replace unsigned long with uint64_t.
38870
3ff42526
PP
388712012-03-23 Daniel Jacobowitz <dmj@google.com>
38872 Paul Pluzhnikov <ppluzhnikov@google.com>
38873
38874 [BZ #6528]
38875 * grp/Makefile (otherlibs): Don't set it.
38876 * inet/Makefile (otherlibs): Likewise.
38877 * login/Makefile (otherlibs): Likewise.
38878 * nscd/Makefile (otherlibs): Likewise.
38879 * posix/Makefile (otherlibs): Likewise.
38880 * pwd/Makefile (otherlibs): Likewise.
38881 * rt/Makefile (otherlibs): Likewise.
38882 * sunrpc/Makefile (otherlibs): Likewise.
38883 * nss/Makefile (otherlibs): Likewise.
38884 Add libnss_files to routines and static-only-routines.
38885 ($(objpfx)getent): Remove rule.
38886 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38887 static-only-routines.
38888
7c69cd14
JM
388892012-03-22 Joseph Myers <joseph@codesourcery.com>
38890
38891 [BZ #13892]
38892 * math/s_cexp.c: Include <float.h>.
38893 (__cexp): Handle exp result overflowing not necessarily
38894 overflowing both real and imaginary parts of result.
38895 * math/s_cexpf.c: Likewise.
38896 * math/s_cexpl.c: Likewise.
38897 * math/libm-test.inc (cexp_test): Add more tests.
38898 * sysdeps/i386/fpu/libm-test-ulps: Update.
38899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38900
81b035fe
L
389012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38902
38903 * include/link.h (ELFW): New macro.
38904 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38905 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38906
1da7940c
L
389072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38908
38909 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38910 with uint64_t.
38911
b749dbb9
L
389122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38913
38914 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38915 declaration.
38916 (struct La_x32_retval): Likewise.
38917
2ff87f3f
L
389182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38919
38920 * sysdeps/x86_64/preconfigure.in: New file.
38921 * sysdeps/x86_64/preconfigure: New generated file.
38922
c0df8e69
JM
389232012-03-22 Joseph Myers <joseph@codesourcery.com>
38924
48e44791
JM
38925 [BZ #13824]
38926 * math/e_exp2l.c: Include <float.h>.
38927 (__ieee754_exp2l): Handle overflow and underflow cases
38928 separately. Only pass fractional part of argument to
38929 __ieee754_expl.
38930 * math/libm-test.inc (exp2_test): Add more tests.
38931
c0df8e69
JM
38932 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38933 negating x to take absolute value.
38934 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38935 Likewise.
38936 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38937 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38938 Likewise.
38939 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38940 computing low part if x was negated.
38941 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38942
c8e43ba7
L
389432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38944
38945 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38946 la_x32_gnu_pltexit.
38947 (pltexit): Cast int_retval to ptrdiff_t.
38948 * elf/tst-auditmod3b.c: Likewise.
38949 * elf/tst-auditmod4b.c: Likewise.
38950 * elf/tst-auditmod5b.c: Likewise.
38951 * elf/tst-auditmod6b.c: Likewise.
38952 * elf/tst-auditmod6c.c: Likewise.
38953 * elf/tst-auditmod7b.c: Likewise.
38954
38955 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38956 and x32_gnu_pltexit.
38957
38958 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38959 __ELF_NATIVE_CLASS.
38960 (La_x32_regs): New macro.
38961 (La_x32_retval): Likewise.
38962 (la_x32_gnu_pltenter): New function prototype.
38963 (la_x32_gnu_pltexit): Likewise.
38964
7998fa78
AS
389652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38966
dcb33988
AS
38967 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38968 exponent.
38969
233fc563
AS
38970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38971
7998fa78
AS
38972 * configure.in (libc_cv_cc_nofma): Check for option to disable
38973 generation of FMA instructions.
38974 * configure: Regenerate.
38975 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38976 * sysdeps/ieee754/dbl-64/Makefile: New file.
38977 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38978 Remove brandred-fma4.
38979 (CFLAGS-brandred-fma4.c): Remove.
38980 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38981 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38982 define.
38983 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38984 define.
38985
8e95c99a
L
389862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38987
38988 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38989 LLONG_MAX != LONG_MAX.
38990 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38991 (_fitoa_word): Likewise.
38992 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38993 LLONG_MAX != LONG_MAX.
38994 * stdio-common/_itowa.h: Include <_itoa.h>.
38995 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38996 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38997 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38998 only if not defined.
38999 (_ITOA_WORD_TYPE): Likewise.
39000 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39001 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39002
6f4db457
DM
390032012-03-21 David S. Miller <davem@davemloft.net>
39004
39005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39006
7785fe5a
L
390072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39008
39009 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39010 of x86_64 when setting libc_cv_slibdir, libdir and
39011 libc_cv_localedir.
39012 * sysdeps/unix/sysv/linux/configure: Regenerated.
39013
4535cd55
JM
390142012-03-21 Joseph Myers <joseph@codesourcery.com>
39015
39016 * manual/lang.texi (Old Varargs): Remove section.
39017 (How Variadic): Update menu.
39018 (va_start): Do not mention varargs.h.
39019
17228132
TS
390202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39021 Joseph Myers <joseph@codesourcery.com>
39022
39023 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39024 link test.
39025 * configure: Regenerated.
39026
8149f976
TS
390272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39028
05f3d1f6
UD
39029 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39030 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39031 conformtest.pl
8149f976 39032
1a4ac776
JM
390332012-03-21 Joseph Myers <joseph@codesourcery.com>
39034
be22ce65
JM
39035 * NOTES: Remove.
39036 * Makefile (files-for-dist): Remove NOTES.
39037 (NOTES): Remove rule.
39038 * README: Don't refer to NOTES.
39039 * manual/creature.texi: Don't include macros.texi.
39040 * manual/intro.texi (creature.texi): Remove comment referring to
39041 NOTES.
39042
40b601fb
JM
39043 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39044 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39045 * configure: Regenerated.
39046 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39047 LIBC_TRY_CC_OPTION.
39048 (libc_cv_as_i686): Likewise.
39049 (libc_cv_cc_avx): Likewise.
39050 (libc_cv_cc_sse2avx): Likewise.
39051 (libc_cv_cc_fma4): Likewise.
39052 (libc_cv_cc_novzeroupper): Likewise.
39053 * sysdeps/i386/configure: Regenerated.
39054
1a4ac776
JM
39055 [BZ #13883]
39056 * sysdeps/i386/fpu/s_cexp.S: Remove.
39057 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39058 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39059 * math/libm-test.inc (cexp_test): Add more tests.
39060 * sysdeps/i386/fpu/libm-test-ulps: Update.
39061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39062
a458e7fe
AM
390632012-03-21 Allan McRae <allan@archlinux.org>
39064
39065 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39066
0cb7efc5
JM
390672012-03-21 Joseph Myers <joseph@codesourcery.com>
39068
39069 [BZ #13871]
39070 * math/w_exp2.c: Do not include <float.h>.
39071 (o_threshold, u_threshold): Remove.
39072 (__exp2): Calculate result before checking finiteness and calling
39073 __kernel_standard.
39074 * math/w_exp2f.c: Likewise.
39075 * math/w_exp2l.c: Likewise.
39076 * math/libm-test.inc (exp2_test): Require overflow exception for
39077 1e6 input.
2460d3aa
JM
39078
39079 [BZ #3866]
39080 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39081 range of signed 64-bit integers before using fistpll. Remove
39082 checks for whether integers fit in mantissa bits.
39083 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39084 the range of signed 32-bit integers before using fistpl. Remove
39085 checks for whether integers fit in mantissa bits.
39086 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39087 (__ieee754_powl): Test for y outside the range of signed 64-bit
39088 integers before using fistpll. Reduce 64-bit values to 63-bit
39089 ones as needed.
39090 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39091 divide-by-zero is raised for zero to large negative powers.
39092 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39093 (__ieee754_powl): Test for y outside the range of signed 64-bit
39094 integers before using fistpll. Reduce 64-bit values to 63-bit
39095 ones as needed.
39096 * math/libm-test.inc (pow_test): Add more tests.
39097
eb96ffb0
L
390982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39099
39100 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39101 <stdio-common/_itoa.h>.
39102 * debug/segfault.c: Likewise.
39103 * elf/dl-cache.c: Likewise.
39104 * elf/dl-minimal.c: Likewise.
39105 * elf/dl-misc.c: Likewise.
39106 * elf/dl-sysdep.c: Likewise.
39107 * elf/dl-version.c: Likewise.
39108 * elf/rtld.c: Likewise.
39109 * hurd/hurdsock.c: Likewise.
39110 * hurd/lookup-retry.c: Likewise.
39111 * malloc/malloc.c: Likewise.
39112 * malloc/mtrace.c: Likewise.
39113 * nscd/nscd_getgr_r.c: Likewise.
39114 * nscd/nscd_getpw_r.c: Likewise.
39115 * nscd/nscd_getserv_r.c: Likewise.
39116 * posix/getopt_init.c: Likewise.
39117 * posix/wordexp.c: Likewise.
39118 * stdio-common/_itoa.c: Likewise.
39119 * stdio-common/printf_fphex.c: Likewise.
39120 * stdio-common/vfprintf.c: Likewise.
39121 * string/_strerror.c: Likewise.
39122 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39123 * sysdeps/i386/i686/hp-timing.h: Likewise.
39124 * sysdeps/mach/_strerror.c: Likewise.
39125 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39126 * sysdeps/mach/hurd/sethostid.c: Likewise.
39127 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39128 * sysdeps/mach/xpg-strerror.c: Likewise.
39129 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39130 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39131 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39132 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39133 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39134 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39135 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39136 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39137 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39138 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39139 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39140 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39141 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39142 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39143 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39144 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39145 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39146 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39147 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39148 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39149 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39150
39151 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39152
39153 * stdio-common/_itoa.h: Moved to ...
39154 * sysdeps/generic/_itoa.h: Here.
39155
39156 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39157
39158 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39159 instead of "_itoa.h" and "_itowa.h".
39160 * stdio-common/vfprintf.: Likewise.
39161
d1af992d
L
391622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39163
39164 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39165 <bits/wordsize.h>.
39166 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39167 (__signbit): Likwise.
39168 (llrintf): Likwise.
39169 (llrint): Likwise.
39170
114883e0
L
391712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39172
39173 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39174 __WORDSIZE != 64.
39175
c135cc1b
JM
391762012-03-20 Joseph Myers <joseph@codesourcery.com>
39177
39178 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39179 OVERFLOW_EXCEPTION_OK.
39180 * math/libm-test.inc ("Philosophy"): Update comment about
39181 exception testing.
39182 (OVERFLOW_EXCEPTION): Define.
39183 (OVERFLOW_EXCEPTION_OK): Likewise.
39184 (INVALID_EXCEPTION_OK): Renumber.
39185 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39186 (IGNORE_ZERO_INF_SIGN): Likewise.
39187 (test_exceptions): Handle FE_OVERFLOW.
39188 (exp10_test): Expect overflow exceptions.
39189 (exp2_test): Likewise.
39190 (expm1_test): Likewise.
39191 (nextafter_test): Likewise.
39192 (pow_test): Likewise.
39193 (scalbn_test): Likewise.
39194 (scalbln_test): Likewise.
39195
95443d88
L
391962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39197
39198 * sysdeps/x86_64/bits/atomic.h
39199 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39200 64bit integer.
39201 (atomic_exchange_acq): Likewise.
39202 (__arch_exchange_and_add_body): Likewise.
39203 (__arch_add_body): Likewise.
39204 (atomic_add_negative): Likewise.
39205 (atomic_add_zero): Likewise.
39206
490df6c4
L
392072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39208
c2722551 39209 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39210 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39211
5e52b189
L
392122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39213
39214 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39215 Check __x86_64__ instead of __WORDSIZE.
39216
a9879d4c
L
392172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39218
39219 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39220
5df98260
DM
392212012-03-19 David S. Miller <davem@davemloft.net>
39222
e1497744
DM
39223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39224
5df98260
DM
39225 * sysdeps/sparc/fpu/fenv_private.h: New file.
39226 * sysdeps/sparc/fpu/math_private.h: Use it.
39227 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39228 Remove.
57f41c40 39229 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39230 (libc_feholdexcept_setroundl): Remove.
39231 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39232 Remove.
39233 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39234 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39235
b4c35121
L
392362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39237
39238 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39239 int64_t instead of long int.
39240 (INSERT_WORDS64): Likwise.
39241
56965fd7
L
392422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39243
39244 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39245 _Unwind_GetCFA return to _Unwind_Ptr first.
39246
83d1aec8
JM
392472012-03-19 Joseph Myers <joseph@codesourcery.com>
39248
1897ad44
JM
39249 [BZ #13629]
39250 * math/s_clog.c: Include <float.h>.
39251 (__clog): Scale large or subnormal inputs.
39252 * math/s_clogf.c: Likewise.
39253 * math/s_clogl.c: Likewise.
39254 * math/s_clog10.c: Include <float.h>.
39255 (M_LOG10_2): Define.
39256 (__clog10): Scale large or subnormal inputs.
39257 * math/s_clog10f.c: Likewise.
39258 * math/s_clog10l.c: Likewise.
39259 * math/libm-test.inc (clog_test): Add more tests.
39260 (clog10_test): Likewise.
39261 * sysdeps/i386/fpu/libm-test-ulps: Update.
39262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39263
7726d6a9
JM
39264 [BZ #11451]
39265 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39266 x and y.
39267 * math/libm-test.inc (atan2_test): Add another test.
39268
83d1aec8
JM
39269 * Makerules (common-objdir-compile): Remove.
39270 * sysdeps/unix/Makefile (config-generated): Do not add
39271 $(unix-generated) to variable.
39272 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39273 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39274 Remove rule.
39275 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39276 Likewise.
39277 [generic bits/local_lim.h] (before-compile): Do not append to
39278 variable.
39279 [generic bits/local_lim.h] (common-generated): Likewise.
39280 [generic sys/param.h] (before-compile): Do not append to variable.
39281 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39282 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39283 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39284 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39285 include.
39286 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39287 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39288 [generic sys/param.h] ($(addprefix
39289 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39290 [generic sys/param.h] (common-generated): Do not append to
39291 variable.
39292 [generic sys/param.h] (sysdep_headers): Likewise.
39293 [generic bits/errno.h] (before-compile): Do not append to
39294 variable.
39295 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39296 rule.
39297 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39298 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39299 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39300 [generic bits/errno.h] (common-generated): Do not append to
39301 variable.
39302 [generic bits/ioctls.h] (before-compile): Do not append to
39303 variable.
39304 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39305 rule.
39306 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39307 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39308 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39309 rule.
39310 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39311 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39312 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39313 [generic bits/ioctls.h] (common-generated): Do not append to
39314 variable.
39315 [generic sys/syscall.h] (syscall.h): Remove variable.
39316 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39317 rule.
39318 [generic sys/syscall.h] (before-compile): Do not append to
39319 variable.
39320 [generic sys/syscall.h] (common-generated): Likewise.
39321 * sysdeps/unix/errnos-tmpl.c: Remove file.
39322 * sysdeps/unix/errnos.awk: Likewise.
39323 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39324 * sysdeps/unix/ioctls.awk: Likewise.
39325 * sysdeps/unix/mk-local_lim.c: Likewise.
39326 * sysdeps/unix/snarf-ioctls: Likewise.
39327
4851a949
RH
393282012-03-19 Richard Henderson <rth@twiddle.net>
39329
bd37f2ee
RH
39330 * sysdeps/i386/fpu/fenv_private.h: New file.
39331 * sysdeps/i386/fpu/math_private.h: Use it.
39332 (math_opt_barrier, math_force_eval): Remove.
39333 (libc_feholdexcept_setround_53bit): Remove.
39334 (libc_feupdateenv_53bit): Remove.
39335 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39336 (math_opt_barrier, math_force_eval): Remove.
39337 (libc_feholdexcept): Remove.
39338 (libc_feholdexcept_setround): Remove.
39339 (libc_fetestexcept, libc_fesetenv): Remove.
39340 (libc_feupdateenv_test): Remove.
39341 (libc_feupdateenv, libc_feholdsetround): Remove.
39342 (libc_feresetround): Remove.
39343
d0adc922
RH
39344 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39345 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39346
0fe0f1f8
RH
39347 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39348 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39349 (libc_feupdateenv_testl): New.
39350 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39351 (libc_feupdateenv_testf): New.
39352 (libc_feupdateenv): Use libc_feupdateenv_test.
39353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39354 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39355
eb92c487
RH
39356 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39357 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39358 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39359 (libc_feresetround_noex): New.
39360 (libc_feresetround_noexf): New.
39361 (libc_feresetround_noexl): New.
39362 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39363 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39364 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39365 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39366 SET_RESTORE_ROUND.
39367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39368 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39369 (__cos): Likewise.
39370 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39371 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39372 SET_RESTORE_ROUND_NOEX.
39373 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39374 SET_RESTORE_ROUND_NOEXF.
39375 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39376 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39377 (libc_feholdsetroundf): New.
39378 (libc_feresetround, libc_feresetroundf): New.
39379
7d2e8012
RH
39380 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39381 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39382 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39383
b4dabbb4
RH
39384 * sysdeps/generic/math_private.h: Include <fenv.h>.
39385 (default_libc_feholdexcept): New.
39386 (default_libc_feholdexcept_setround): New.
39387 (default_libc_fesetenv, default_libc_feupdateenv): New.
39388 (libc_feholdexcept): Only define if undefined.
39389 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39390 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39391 (libc_feholdexcept_setroundl): Likewise.
39392 (libc_feholdexcept_setround_53bit): Likewise.
39393 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39394 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39395 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39396 (libc_feupdateenv_53bit): Likewise.
39397 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39398 (libc_feholdexcept): Convert from macro to inline function.
39399 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39400 (libc_fesetenv, libc_feupdateenv): Likewise.
39401
4851a949
RH
39402 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39403 not previously defined.
39404 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39405 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39406 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39407 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39408 * sysdeps/ieee754/flt-32/math_private.h: New file.
39409 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39410 math_private.h below SET_FLOAT_WORD.
39411 (__isnan, __isinf_ns, __finite): Remove.
39412 (__isnanf, __isinf_nsf, __finitef): Remove.
39413
e79d442e
AS
394142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39415
39416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39417
90b80344
DM
394182012-03-17 David S. Miller <davem@davemloft.net>
39419
39420 [BZ #6471]
39421 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39422 for 2.16.
39423
edc21804
DM
394242012-03-16 David S. Miller <davem@davemloft.net>
39425
77e927af
DM
39426 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39427 warnings.
39428
374976dd
DM
39429 [BZ #6471]
39430 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39431 properly.
39432 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39433 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39434 sysdep_routines when subdir is sysvipc.
39435 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39436 __getshmlba helper.
39437
edc21804
DM
39438 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39439
473c3ef3
L
394402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39441
39442 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39443 [__LP64__].
39444
eb0f39b6
L
394452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39446
39447 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39448 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39449 (__lround): Renamed to ...
39450 (__llround): This. Replace long int with long long int.
39451 Define lround functions as aliases of llround functions.
39452 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39453
6b6cd74b
L
394542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39455
39456 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39457 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39458 adresses to uintptr_t. Replace "long int" and "unsigned long
39459 int" with "greg_t" on va_arg.
39460
f1a77b01
L
394612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39462
39463 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39464 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39465
39466 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39467 Move e_machine check before EI_CLASS check. Handle x32
39468 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39469 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39470 SKIP_EM_IA_64 and include
39471 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39472
39473 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39474 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39475 (add_system_dir): New macro.
39476
39477 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39478 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39479
11b90b9f
JM
394802012-03-16 Joseph Myers <joseph@codesourcery.com>
39481
c36e1d23
JM
39482 [BZ #2551]
39483 [BZ #2552]
39484 [BZ #2553]
39485 [BZ #2554]
39486 [BZ #2562]
39487 [BZ #2563]
39488 [BZ #2565]
39489 [BZ #2566]
39490 [BZ #2576]
39491 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39492 (y0): Likewise.
39493 * math/w_j0f.c (j0f): Likewise.
39494 (y0f): Likewise.
39495 * math/w_j0l.c (__j0l): Likewise.
39496 (__y0l): Likewise.
39497 * math/w_j1.c (j1): Likewise.
39498 (y1): Likewise.
39499 * math/w_j1f.c (j1f): Likewise.
39500 (y1f): Likewise.
39501 * math/w_j1l.c (__j1l): Likewise.
39502 (__y1l): Likewise.
39503 * math/w_jn.c (jn): Likewise.
39504 (yn): Likewise.
39505 * math/w_jnf.c (jnf): Likewise.
39506 (ynf): Likewise.
39507 * math/w_jnl.c (__jnl): Likewise.
39508 (__ynl): Likewise.
39509 * math/libm-test.inc (j0_test): Add more tests.
39510 (j1_test): Likewise.
39511 (jn_test): Likewise. Add trailing semicolon to existing test.
39512 (y0_test): Likewise.
39513 (y1_test): Likewise.
39514 * sysdeps/i386/fpu/libm-test-ulps: Update.
39515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39516
11b90b9f
JM
39517 [BZ #13851]
39518 [BZ #13854]
39519 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39520 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39521 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39522 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39523 (__tanl): Set errno for infinite argument.
39524 * sysdeps/i386/fpu/mptan.c: Remove.
39525 * sysdeps/i386/fpu/s_tan.S: Likewise.
39526 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39527 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39528 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39529 * math/libm-test.inc (tan_test): Add more tests and enable more
39530 tests for double and long double.
39531 * sysdeps/i386/fpu/libm-test-ulps: Update.
39532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39533
6a1bd2a1
JK
395342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39535
39536 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39537 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39538
10a803e0
RM
395392012-03-16 Roland McGrath <roland@hack.frob.com>
39540
39541 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39542 * configure.in: Use it for both main tree and add-ons.
39543 * configure: Regenerated.
39544
f196c7f7
L
395452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39546
39547 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39548
8848d99d
JM
395492012-03-16 Joseph Myers <joseph@codesourcery.com>
39550
96cbe7f4
JM
39551 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39552 in comment.
39553
8848d99d
JM
39554 [BZ #13851]
39555 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39556 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39560 infinite argument.
39561 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39563 != 0 for prec == 2.
39564 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39565 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39566 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39567 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39568 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39569 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39570 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39571 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39572 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39573 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39574 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39575 * math/libm-test.inc (cos_test): Add more tests and enable more
39576 tests for long double.
39577 (sin_test): Likewise.
39578 (sincos_test): Likewise.
39579 * sysdeps/i386/fpu/libm-test-ulps: Update.
39580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39581
dd7f4703
DM
395822012-03-16 David S. Miller <davem@davemloft.net>
39583
39584 * sysdeps/sparc/fpu/math_private.h: New file.
39585
006f1daa
DM
395862012-03-15 David S. Miller <davem@davemloft.net>
39587
c0c83bc8
DM
39588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39589 file.
e6a62e18 39590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39592 file.
e6a62e18
DM
39593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39599 sysdep routines.
39600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39601
88cb87d9
DM
39602 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39603 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39604
006f1daa 39605 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39607 sparc-ifunc.h
006f1daa 39608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39610 Likewise.
39611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39612 Likewise.
006f1daa
DM
39613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39617 Likewise.
006f1daa
DM
39618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39623 Likewise.
39624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39625 Likewise.
006f1daa
DM
39626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39632 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39633 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39645 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39648 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39649 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39650
11e0098e
AS
396512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39652
39653 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39654 scaling.
39655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39656
e85b09d0
AJ
396572012-03-15 Andreas Jaeger <aj@suse.de>
39658
39659 [BZ #13852]
39660 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39661 ieee754/flt-32 implementation for sin, cos and sincos.
39662 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39663 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39664 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39665 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39666 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39667 ieee754/flt-32 implementation for tan.
39668
39669 * math/libm-test.inc (cos_test): Enable some large input tests for
39670 float as well
39671 (sin_test): Likewise.
39672 (sincos_test): Likewise.
39673 (tan_test): Add tests for large input.
39674
39675 * sysdeps/i386/fpu/libm-test-ulps: Update.
39676
81c64153
AJ
396772012-03-15 Andreas Jaeger <aj@suse.de>
39678
39679 [BZ #13658]
39680 * math/libm-test.inc (cos_test): Add more test cases.
39681 (sin_test): Likewise.
39682 (sincos_test): Likewise.
39683
7bbfa5c6
AJ
396842012-03-15 Andreas Jaeger <aj@suse.de>
39685
39686 [BZ #13837]
39687 * math/libm-test.inc (cos_test): Add a test case for large input
39688 value.
39689 (sin_test): Likewise.
39690 (sincos_test): Likewise.
39691
57f41c40
AS
396922012-03-15 Andreas Jaeger <aj@suse.de>
39693 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39694
39695 [BZ #13658]
0671f479 39696 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39697 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39698 * sysdeps/i386/fpu/branred.c: Likewise.
39699 * sysdeps/i386/fpu/dosincos.c: Likewise.
39700 * sysdeps/i386/fpu/mpa.c: Likewise.
39701 * sysdeps/i386/fpu/s_cos.S: Likewise.
39702 * sysdeps/i386/fpu/s_sin.S: Likewise.
39703 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39704 * sysdeps/i386/fpu/sincos32.c: Likewise.
39705
39706 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39707 Define.
39708 (libc_feupdateenv_53bit): Define.
39709 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39710 Define.
39711 (libc_feupdateenv_53bit): Define.
39712
39713 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39714 53 bit (without extend i386 double precision).
39715
39716 * math/libm-test.inc (sincos_test): Add tests for large input.
39717 (sin): Likewise.
39718 (cos): Likewise.
39719
39720 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39721
9cad04ea
AS
397222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39723
39724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39725
f7062b9a
DM
397262012-03-15 David S. Miller <davem@davemloft.net>
39727
39728 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39729 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39730 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39731 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39744 file.
f7062b9a 39745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39747 file.
f7062b9a 39748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39750 file.
f7062b9a 39751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39753 file.
f7062b9a
DM
39754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39756 fmin/fmax sysdep routines.
39757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39758
7bd951ff
DM
397592012-03-14 David S. Miller <davem@davemloft.net>
39760
559398ab
DM
39761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39781 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39782 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39783 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39784 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39786 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39788 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39789 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39790 routines.
39791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39792 file.
559398ab 39793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39795 file.
559398ab 39796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39798 file.
559398ab 39799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39801 file.
559398ab 39802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39804 file.
559398ab 39805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39807 file.
39808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39809 file.
39810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39811 file.
39812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39813 file.
39814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39815 New file.
39816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39817 file.
39818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39819 file.
559398ab 39820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39822 file.
559398ab 39823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39825 file.
559398ab 39826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39828 file.
559398ab 39829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39831 VIS3 routines.
559398ab
DM
39832
39833 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39834 New file.
39835
5a1c1e32
DM
39836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39837
eae47a36
DM
39838 * sysdeps/sparc/configure.in: New file.
39839 * sysdeps/sparc/configure: Generate.
39840 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39841 * configure: Regenerate.
39842 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39843 * config.make.in (have-as-vis3): New.
39844 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39845 available use -Av9d instead of -Av9a.
39846 * sysdeps/sparc/sparc64/Makefile: Likewise.
39847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39849 New file.
39850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39851 file.
39852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39853 New file.
39854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39855 file.
eae47a36
DM
39856 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39858 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39859 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39860 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39861
c0c83bc8
DM
39862 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39863 fzeros/fnegs to load 0x80000000 into a float register instead of
39864 using the stack.
7bd951ff
DM
39865 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39866
bd951ccb
JM
398672012-03-14 Joseph Myers <joseph@codesourcery.com>
39868
39869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39870 bits/syscall.h.
39871 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39872 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39873 ($(inst_includedir)/bits/syscall.h): Remove rule.
39874 ($(objpfx)bits/syscall.d): Include instead of
39875 $(objpfx)syscall-list.d.
39876 (generated): Change syscall-list.h and syscall-list.d to
39877 bits/syscall.h and bits/syscall.d.
39878
bb4e6db2
RM
398792012-03-14 Roland McGrath <roland@hack.frob.com>
39880
39881 [BZ #13846]
39882 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39883
aa4a2ae1
JM
398842012-03-14 Joseph Myers <joseph@codesourcery.com>
39885
e456826d
JM
39886 [BZ #13841]
39887 * math/s_csqrt.c: Include <float.h>.
39888 (__csqrt): Scale large or subnormal inputs.
39889 * math/s_csqrtf.c: Likewise.
39890 * math/s_csqrtl.c: Likewise.
39891 * math/libm-test.inc (csqrt_test): Add more tests.
39892 * sysdeps/i386/fpu/libm-test-ulps: Update.
39893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39894
aa4a2ae1
JM
39895 [BZ #13840]
39896 * math/libm-test.inc (hypot_test): Add more tests.
39897
7c10fd35
DM
398982012-03-13 David S. Miller <davem@davemloft.net>
39899
39900 [BZ #13840]
39901 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39902 double-precision for the calculation instead of scaling.
39903
f453b98b
JM
399042012-03-13 Joseph Myers <joseph@codesourcery.com>
39905
39906 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39907 manipulate bits before adding and subtracting TWO52[sx].
39908 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39910 Likewise.
39911 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39912
09a3453f
DM
399132012-03-13 David S. Miller <davem@davemloft.net>
39914
8e59da90
DM
39915 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39916 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39918 rtld-global-offsets.h
39919 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39920
2a8ab7f2
DM
39921 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39922 large parameters.
39923
10f62770
DM
39924 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39925
5f0bdb18
DM
39926 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39927 'err' in the ifdef scope in which it is actually used.
39928
09a3453f
DM
39929 * nss/nss_db/db-init.c: Include string.h
39930
b4b2eb5e
DM
399312012-03-12 David S. Miller <davem@davemloft.net>
39932
98bb2f1c
DM
39933 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39934 masking out of the most significant byte of random value used.
39935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39936 Fix coding style in previous change.
39937
b4b2eb5e
DM
39938 * sysdeps/unix/sysv/linux/kernel-features.h
39939 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39940 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39941 expression.
39942 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39943 later.
39944
6e226b09
DM
399452012-03-11 David S. Miller <davem@davemloft.net>
39946
a1bcbd40
DM
39947 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39948 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39949 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39950 for 'resultvar' otherwise things get truncated on 64-bit.
39951
cb9d6174
DM
39952 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39953 Fix masking out of the most significant byte of random value used.
39954
6e226b09
DM
39955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39956
058c132d
AS
399572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39958
39959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39960
2d2cd515
DM
399612012-03-09 David S. Miller <davem@davemloft.net>
39962
39963 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39964 variables with appropriate CPP guards.
57f41c40
AS
39965 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39966 from the frame pointer, not the stack pointer. Correct layout
39967 comments. Fix test on resulting framesize and the management of
39968 the outregs buffer for pltexit. Preserve floating point return
39969 values across _dl_call_pltexit call.
2d2cd515
DM
39970 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39971 framesize and the management of the outregs buffer for pltexit.
39972 Preserve floating point return values across _dl_call_pltexit
39973 call.
57f41c40
AS
39974 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39975 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39976 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39977 (print_exit): Fix format string for return register value.
39978
9a07f9d0
JM
399792012-03-10 Joseph Myers <joseph@codesourcery.com>
39980
39981 * sunrpc/Makefile (others): Add rpcgen.
39982 ($(objpfx)rpcgen): Remove special build rule and dependency on
39983 libc.
39984 * sunrpc/rpcgen.c: New file.
39985
547b5e30
PE
399862012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39987
c524201a
PE
39988 [BZ #13673]
39989 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39990 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39991 * sysdeps/i386/crti.S: Likewise.
39992 * sysdeps/i386/crtn.S: Likewise.
39993 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39994 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39995 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39996 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39997 * sysdeps/sh/crti.S: Likewise.
39998 * sysdeps/sh/crtn.S: Likewise.
39999 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40000
7b6235f2
PE
40001 [BZ #13673]
40002 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40003 with URL.
40004 * locale/programs/locfile-kw.gperf: Likewise.
40005 * locale/programs/charmap-kw.h: Regenerated.
40006 * locale/programs/locfile-kw.h: Likewise.
40007
547b5e30
PE
40008 [BZ #13673]
40009 * intl/plural.y: Replace FSF snail mail address with URL.
40010 * intl/plural.c: Regenerated.
40011
5f0a5dae
RH
400122012-03-09 Richard Henderson <rth@twiddle.net>
40013
40014 * include/math_private.h: Remove file.
40015 * math/math_private.h: Move file ...
40016 * sysdeps/generic/math_private.h: ... here.
40017
b8c03620
RH
40018 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40019 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40020 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40021
4e234f5d 40022 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40023 and <math_private.h>.
40024 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40025 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40026 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40027 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40028 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40057 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40058 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40059 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40060 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40061 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40062 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40063 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40064 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40065 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40066 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40067 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40068 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40069 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40070 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40071 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40072 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40073 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40074 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40075 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40076 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40077 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40078 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40079 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40080 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40081 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40082 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40083 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40084 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40085 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40086 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40087 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40088 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40089 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40090 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40091 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40092 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40093 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40094 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40095 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40096 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40097 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40098 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40099 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40101 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40103 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40104 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40105 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40106 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40107 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40108 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40109 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40111 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40112 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40113 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40114 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40115 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40116 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40117 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40118 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40119 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40120 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40121 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40122 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40123 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40124 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40125 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40126 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40127 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40128 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40129 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40130 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40131 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40132 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40133 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40134 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40135 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40136 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40137 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40138 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40139 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40140 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40141 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40142 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40143 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40144 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40145 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40146 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40147 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40148 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40149 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40150 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40151 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40152 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40153 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40154 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40155 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40156 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40157 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40158 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40159 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40160 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40161 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40162 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40163 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40164 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40165 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40166 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40167 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40168 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40169 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40170 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40171 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40172 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40173 * sysdeps/ieee754/k_standard.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40178 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40179 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40180 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40181 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40182 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40183 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40184 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40185 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40186 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40187 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40188 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40189 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40190 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40193 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40194 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40195 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40235 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40236 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40237 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40240 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40241 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40247 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40248 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40251 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40253 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40255 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40259 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40265 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40266 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40267 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40268 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40269 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40270 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40277 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40278 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40280 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40281 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40282 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40286 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40287 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40288 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40289 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40292 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40293 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40294 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40295 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40296 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40297 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40298 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40299 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40301 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40302 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40303 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40306 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40307 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40311 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40312 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40313 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40314 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40315 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40322 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40323 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40324 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40329 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40332 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40334 * sysdeps/ieee754/s_lib_version.c: Likewise.
40335 * sysdeps/ieee754/s_matherr.c: Likewise.
40336 * sysdeps/ieee754/s_signgam.c: Likewise.
40337 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40338 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40339 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40340 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40341 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40342 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40343 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40344 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40345 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40346 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40347 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40348 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40349 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40350 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40351 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40352 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40353 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40354 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40355 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40358
1991fa03
JM
403592012-03-09 Joseph Myers <joseph@codesourcery.com>
40360
40361 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40362 * sunrpc/rpc_main.c: Likewise.
40363 * sunrpc/rpc_svcout.c: Likewise.
40364
60d6f5a6
DM
403652012-03-09 David S. Miller <davem@davemloft.net>
40366
40367 * include/math_private.h: New file.
40368
4962050e
JM
403692012-03-09 Joseph Myers <joseph@codesourcery.com>
40370
02a6f887
JM
40371 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40372 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40373 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40374 from <bits/socket_type.h>.
40375 (enum __socket_type): Don't define here.
40376 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40378 bits/socket_type.h.
40379
c6e013c1
JM
40380 [BZ #13566]
40381 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40382 checking __USE_GNU.
40383
4962050e
JM
40384 * Makerules ($(inst_includedir)/%.h): New rule.
40385 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40386 (install-others): Remove variable setting.
40387 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40388
38842f45
RH
403892012-03-08 Richard Henderson <rth@twiddle.net>
40390
67bb6da6
RH
40391 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40392 from macro to inline function; merge with the
40393 !__LIBC_INTERNAL_MATH_INLINES version.
40394 (__ieee754_sqrtf): Likewise.
40395
15194b4b
RH
40396 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40397 to inline function.
40398 (__rintf, __floor, __floorf): Likewise.
40399
64e21ede
RH
40400 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40401 macro to inline function.
40402 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40403
38842f45
RH
40404 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40405 not <math/math_private.h>.
40406
c64bf5fe
DM
404072012-03-08 David S. Miller <davem@davemloft.net>
40408
40409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40410 copyright year.
40411 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40412
82d86f28
TS
404132012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40414
40415 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40416 normalization.
40417 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40418 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40419
aea5d727
UD
404202012-03-08 Ulrich Drepper <drepper@gmail.com>
40421
40422 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40423 be defined individually, they must be defined as a block. Define
40424 S for printing a string instead of hidint the different by using a
40425 macro for adding the 'l'.
40426 * stdio-common/tst-fphex-wide.c: Adjust.
40427
70bca0a3
MP
404282012-03-07 Marek Polacek <polacek@redhat.com>
40429
40430 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40431
65b81130
MP
404322012-03-08 Marek Polacek <polacek@redhat.com>
40433
40434 [BZ #13806]
40435 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40436 * stdio-common/tst-fphex.c: Define a few macros to make the
40437 test reusable. Use them.
40438 * stdio-common/tst-fphex-wide.c: New file.
40439
07037eeb
JM
404402012-03-08 Joseph Myers <joseph@codesourcery.com>
40441
a7a93d50
JM
40442 [BZ #6911]
40443 * manual/macros.texi (gnusystems): New macro.
40444 (nongnusystems): Likewise.
40445 (gnulinuxhurdsystems): Likewise.
40446 (gnuhurdsystems): Likewise..
40447 (gnulinuxsystems): Likewise.
40448 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40449 variants of the GNU system, not "GNU system".
40450 * manual/conf.texi: Likewise.
40451 * manual/errno.texi: Likewise. Update example of errno macro
40452 expansion.
40453 * manual/filesys.texi: Likewise.
40454 (getumask): Document as specific to GNU/Hurd.
40455 * manual/install.texi: Likewise. Reword some references to
40456 GNU/Linux.
40457 * manual/intro.texi: Likewise.
40458 * manual/io.texi: Likewise.
40459 (File Name Portability): Detail which constraints are inapplicable
40460 to all GNU systems and which are only inapplicable to GNU/Hurd.
40461 * manual/job.texi: Likewise.
40462 * manual/llio.texi: Likewise.
40463 (O_NOCTTY): Document as present on GNU/Linux.
40464 * manual/maint.texi: Likewise.
40465 * manual/memory.texi: Likewise.
40466 * manual/pattern.texi: Likewise.
40467 * manual/pipe.texi: Likewise.
40468 * manual/process.texi: Likewise.
40469 * manual/resource.texi: Likewise.
40470 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40471 child on GNU/Hurd.
40472 * manual/setjmp.texi: Likewise.
40473 * manual/signal.texi: Likewise.
40474 * manual/startup.texi: Likewise.
40475 * manual/stdio.texi: Likewise.
40476 * manual/terminal.texi: Likewise.
40477 (ONLCR): Document as POSIX.
40478 (OXTABS): Document availability on GNU/Linux as XTABS.
40479 (ONOEOT): Document availability separately from other bits.
40480 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40481 * manual/time.texi: Likewise.
40482 * manual/users.texi: Likewise.
40483 * INSTALL: Regenerated.
40484 * sysdeps/gnu/errlist.c: Regenerated.
40485
07037eeb
JM
40486 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40487 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40488 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40489 puts.
40490 * configure: Regenerated.
40491
d1d3431a
JM
404922012-03-07 Joseph Myers <joseph@codesourcery.com>
40493
af6a1e37
JM
40494 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40495 default includes instead of AC_HEADER_CHECK.
40496 * sysdeps/i386/configure: Regenerated.
40497
d1d3431a
JM
40498 [BZ #10716]
40499 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40500 * math/s_cacoshf.c (__cacoshf): Likewise.
40501 * math/s_cacoshl.c (__cacoshl): Likewise.
40502 * math/s_casinh.c (__casinh): Set signs of result from argument.
40503 * math/s_casinhf.c (__casinhf): Likewise.
40504 * math/s_casinhl.c (__casinhl): Likewise.
40505 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40506 (casinh_test): Add more tests.
40507 * sysdeps/i386/fpu/libm-test-ulps: Update.
40508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40509
482ff4da
UD
405102012-03-07 Ulrich Drepper <drepper@gmail.com>
40511
872fda05
UD
40512 * po/zh_TW.po: Update from translation team.
40513
a4300c7a
UD
40514 * login/Makefile (distribute): Remove variable.
40515 * catgets/Makefile: Likewise.
40516 * mach/Makefile: Likewise.
40517 * malloc/Makefile: Likewise.
40518 * misc/Makefile: Likewise.
40519 * iconv/Makefile: Likewise.
40520 * nscd/Makefile: Likewise.
40521 * hurd/Makefile: Likewise.
40522 * manual/Makefile: Likewise.
40523 * locale/Makefile: Likewise.
40524 * intl/Makefile: Likewise.
40525 * conform/Makefile: Likewise.
40526 * nss/Makefile: Likewise.
40527 * time/Makefile: Likewise.
40528 * soft-fp/Makefile: Likewise.
40529 * dirent/Makefile: Likewise.
40530 * gmon/Makefile: Likewise.
40531 * po/Makefile: Likewise.
40532 * rt/Makefile: Likewise.
40533 * socket/Makefile: Likewise.
40534 * math/Makefile: Likewise.
40535 * signal/Makefile: Likewise.
40536 * debug/Makefile: Likewise.
40537 * elf/Makefile: Likewise.
40538 * timezone/Makefile: Likewise.
40539 * stdlib/Makefile: Likewise.
40540 * iconvdata/Makefile: Likewise.
40541 * sunrpc/Makefile: Likewise.
40542 * io/Makefile: Likewise.
40543 * argp/Makefile: Likewise.
40544 * inet/Makefile: Likewise.
40545 * hesiod/Makefile: Likewise.
40546 * grp/Makefile: Likewise.
40547 * csu/Makefile: Likewise.
40548 * wctype/Makefile: Likewise.
40549 * crypt/Makefile: Likewise.
40550 * libio/Makefile: Likewise.
40551 * string/Makefile: Likewise.
40552 * nis/Makefile: Likewise.
40553 * resolv/Makefile: Likewise.
40554 * stdio-common/Makefile: Likewise.
40555 * wcsmbs/Makefile: Likewise.
40556 * dlfcn/Makefile: Likewise.
40557 * posix/Makefile: Likewise.
40558
3b7c4e74 40559 [BZ #6959]
482ff4da
UD
40560 * timezone/Makefile: Don't install timezone files, just the programs
40561 and scripts.
40562
f72ed77d
UD
405632012-03-06 Ulrich Drepper <drepper@gmail.com>
40564
a000466f
UD
40565 * nss/databases.def: Add missing gshadow entry.
40566
f72ed77d
UD
40567 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40568
a53b7a4e
MP
405692012-03-06 Marek Polacek <polacek@redhat.com>
40570
40571 [BZ #13726]
40572 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40573 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40574 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40575 * stdio-common/tst-long-dbl-fphex.c: New file.
40576
e9258400
DM
405772012-03-06 David S. Miller <davem@davemloft.net>
40578
40579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40580 (set_obp_int): New function.
40581 (get_obp_int): New function.
40582 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40583 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40584 Avoid unused variable warnings on 'val' and use builtin_expect.
40585 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40586 __builtin_expect.
e9258400
DM
40587 (INLINE_CLONE_SYSCALL): Likewise.
40588
3bd2c723
DM
405892012-03-05 David S. Miller <davem@davemloft.net>
40590
40591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40592
bbb78d03
AS
405932012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40594
884c5db4
AS
40595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40596
bbb78d03
AS
40597 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40598 only for |x| >= 40.
40599 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40600
1c9f702a 406012012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40602
40603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40604 Replace gettimeofday with __vdso_gettimeofday.
40605
7be16f82
RM
40606 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40607 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40608 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40609
40610 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40611 time with __vdso_time.
40612
ed58a00f
JM
406132012-03-05 Joseph Myers <joseph@codesourcery.com>
40614
40615 * manual/lang.texi (size_t): Note types to which size_t may be
40616 equivalent with the GNU C Library, but do not describe when
40617 differences between them are significant.
40618
30ee4ced
AJ
406192012-03-05 Andreas Jaeger <aj@suse.de>
40620
40621 * sysdeps/i386/fpu/libm-test-ulps: Update.
40622
b7cd39e8
JM
406232012-03-05 Joseph Myers <joseph@codesourcery.com>
40624
40625 [BZ #3976]
40626 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40627 (__ieee754_pow): Save and restore rounding mode and use
40628 round-to-nearest for main computations.
40629 * math/libm-test.inc (pow_test_tonearest): New function.
40630 (pow_test_towardzero): Likewise.
40631 (pow_test_downward): Likewise.
40632 (pow_test_upward): Likewise.
40633 (main): Call the new functions.
40634 * sysdeps/i386/fpu/libm-test-ulps: Update.
40635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40636
40637 [BZ #3976]
40638 * math/libm-test.inc (cosh_test_tonearest): New function.
40639 (cosh_test_towardzero): Likewise.
40640 (cosh_test_downward): Likewise.
40641 (cosh_test_upward): Likewise.
40642 (sinh_test_tonearest): Likewise.
40643 (sinh_test_towardzero): Likewise.
40644 (sinh_test_downward): Likewise.
40645 (sinh_test_upward): Likewise.
40646 (main): Call the new functions.
40647 * sysdeps/i386/fpu/libm-test-ulps: Update.
40648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40649
6c6a98c9
TV
406502012-03-05 Tom de Vries <tom@codesourcery.com>
40651
40652 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40653 default stack guard is set in last bytes.
40654 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40655
21bb2d2e 406562012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40657
21bb2d2e 40658 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40659
21bb2d2e
AJ
40660 [BZ #13656]
40661 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40662 possibly allocate from heap instead of stack.
40663 * stdio-common/bug-vfprintf-nargs.c: New file.
40664 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40665
c6922934
AS
406662012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40667
40668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40669
bc957d53
MP
406702012-03-03 Marek Polacek <polacek@redhat.com>
40671
40672 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40673 * math/math_private.h: Likewise.
40674 * stdlib/tst-strtod.c: Likewise.
40675 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40676 * sysdeps/x86_64/bits/atomic.h: Likewise.
40677
6358490d
DM
406782012-03-02 David S. Miller <davem@davemloft.net>
40679
40680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40684 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40685 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40686 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40687 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40688
01ae168d
RM
406892012-03-02 Roland McGrath <roland@hack.frob.com>
40690
d9a17c07
RM
40691 [BZ #13792]
40692 * manual/examples/README: New file, says the example source files
40693 can be used under GPL>=2.
40694 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40695 line containing just "*/".
40696 * manual/examples/add.c: Add copyright header (GPL>=2).
40697 * manual/examples/argp-ex1.c: Likewise.
40698 * manual/examples/argp-ex2.c: Likewise.
40699 * manual/examples/argp-ex3.c: Likewise.
40700 * manual/examples/argp-ex4.c: Likewise.
40701 * manual/examples/atexit.c: Likewise.
40702 * manual/examples/db.c: Likewise.
40703 * manual/examples/dir.c: Likewise.
40704 * manual/examples/dir2.c: Likewise.
40705 * manual/examples/execinfo.c: Likewise.
40706 * manual/examples/filecli.c: Likewise.
40707 * manual/examples/filesrv.c: Likewise.
40708 * manual/examples/fmtmsgexpl.c: Likewise.
40709 * manual/examples/genpass.c: Likewise.
40710 * manual/examples/inetcli.c: Likewise.
40711 * manual/examples/inetsrv.c: Likewise.
40712 * manual/examples/isockad.c: Likewise.
40713 * manual/examples/longopt.c: Likewise.
40714 * manual/examples/memopen.c: Likewise.
40715 * manual/examples/memstrm.c: Likewise.
40716 * manual/examples/mkfsock.c: Likewise.
40717 * manual/examples/mkisock.c: Likewise.
40718 * manual/examples/mygetpass.c: Likewise.
40719 * manual/examples/pipe.c: Likewise.
40720 * manual/examples/popen.c: Likewise.
40721 * manual/examples/rprintf.c: Likewise.
40722 * manual/examples/search.c: Likewise.
40723 * manual/examples/select.c: Likewise.
40724 * manual/examples/setjmp.c: Likewise.
40725 * manual/examples/sigh1.c: Likewise.
40726 * manual/examples/sigusr.c: Likewise.
40727 * manual/examples/stpcpy.c: Likewise.
40728 * manual/examples/strdupa.c: Likewise.
40729 * manual/examples/strftim.c: Likewise.
40730 * manual/examples/strncat.c: Likewise.
40731 * manual/examples/subopt.c: Likewise.
40732 * manual/examples/swapcontext.c: Likewise.
40733 * manual/examples/termios.c: Likewise.
40734 * manual/examples/testopt.c: Likewise.
40735 * manual/examples/testpass.c: Likewise.
40736 * manual/examples/timeval_subtract.c: Likewise.
40737
01ae168d
RM
40738 [BZ #13792]
40739 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40740 function to ...
40741 * manual/timeval_subtract.c.texi: ... here, new file.
40742
49efa33d
DM
407432012-03-02 David S. Miller <davem@davemloft.net>
40744
40745 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40746
28afd92d
JM
407472012-03-02 Joseph Myers <joseph@codesourcery.com>
40748
804360ed
JM
40749 [BZ #3976]
40750 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40751 (__sin): Save and restore rounding mode and use round-to-nearest
40752 for all computations.
40753 (__cos): Save and restore rounding mode and use round-to-nearest
40754 for all computations.
40755 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40756 <fenv.h>.
40757 (tan): Save and restore rounding mode and use round-to-nearest for
40758 all computations.
40759 * math/libm-test.inc (cos_test_tonearest): New function.
40760 (cos_test_towardzero): Likewise.
40761 (cos_test_downward): Likewise.
40762 (cos_test_upward): Likewise.
40763 (sin_test_tonearest): Likewise.
40764 (sin_test_towardzero): Likewise.
40765 (sin_test_downward): Likewise.
40766 (sin_test_upward): Likewise.
40767 (tan_test_tonearest): Likewise.
40768 (tan_test_towardzero): Likewise.
40769 (tan_test_downward): Likewise.
40770 (tan_test_upward): Likewise.
40771 (main): Call the new functions.
40772 * sysdeps/i386/fpu/libm-test-ulps: Update.
40773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40774
a6d06d7b
JM
40775 [BZ #10135]
40776 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40777 small n, then large n, before computing and testing k+n.
40778 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40779 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40780 Likewise.
40781 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40782 Likewise.
40783 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40784 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40785 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40786 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40789 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40790 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40791 * math/libm-test.inc (scalbn_test): Add more tests.
40792 (scalbln_test): Likewise.
40793
07e12bb3
JM
40794 * manual/filesys.texi (mode_t): Describe constraints on size and
40795 signedness, not exact equivalence to a particular type.
40796 (ino_t): Likewise.
40797 (ino64_t): Likewise.
40798 (dev_t): Likewise.
40799 (nlink_t): Likewise.
40800 (blkcnt_t): Likewise.
40801 (blkcnt64_t): Likewise.
40802 * manual/llio.texi (off_t): Likewise.
40803
28afd92d
JM
40804 [BZ #3976]
40805 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40806 (__ieee754_exp): Save and restore rounding mode and use
40807 round-to-nearest for all computations.
40808 * math/libm-test.inc (exp_test_tonearest): New function.
40809 (exp_test_towardzero): Likewise.
40810 (exp_test_downward): Likewise.
40811 (exp_test_upward): Likewise.
40812 (main): Call the new functions.
40813 * sysdeps/i386/fpu/libm-test-ulps: Update.
40814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40815
b1eeb65d
CD
408162012-03-01 Chris Demetriou <cgd@google.com>
40817
40818 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40819 have predictable order.
40820
53362a4b
DM
408212012-03-01 David S. Miller <davem@davemloft.net>
40822
3c969083
DM
40823 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40824
759707de
DM
40825 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40826 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40827 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40828 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40829
dfdb8ff2
DM
40830 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40831 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40832 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40834 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40835 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40836 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40837 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40838 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40839
ead89f96
DM
40840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40841
7f66bd07
DM
40842 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40843 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40844 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40845
53362a4b
DM
40846 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40847 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40848 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40849 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40850 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40851 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40852 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40853 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40854 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40855 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40856 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40857 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40859 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40860 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40862 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40863 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40864 * sysdeps/sparc/elf/configure: Regenerated.
40865
7b1902cb
JM
408662012-03-01 Joseph Myers <joseph@codesourcery.com>
40867
bec039bc
JM
40868 * configure.in (AS, LD): Require binutils 2.20 or later.
40869 * configure: Regenerated.
40870 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40871 as required minimum version.
40872 * INSTALL: Regenerated.
40873
7b1902cb
JM
40874 [BZ #2541]
40875 [BZ #4108]
40876 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40877 before squaring exponent.
40878 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40879 bottom long double and 27 bits of top long double before squaring
40880 exponent.
40881 * math/libm-test.inc (erfc_test): Add more tests.
40882 * sysdeps/i386/fpu/libm-test-ulps: Update.
40883 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40885
f775c276
KT
408862012-03-01 Kai Tietz <ktietz@redhat.com>
40887
40888 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40889 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40890 containing bit-fields.
40891 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40892 * soft-fp/single.h (_FP_UNION_S): Likewise.
40893 * soft-fp/double.h (_FP_UNION_D): Likewise.
40894
5b8a4d4a
JM
408952012-02-29 Joseph Myers <joseph@codesourcery.com>
40896
0bab47b6
JM
40897 [BZ #13786]
40898 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40899 not include ../strcmp.S.
40900 [USE_AS_STRNCASECMP_L]: Likewise.
40901 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40902 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40903 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40904 (__strncasecmp_l_ia32): Define as alias to
40905 __strncasecmp_l_nonascii.
40906
0fcad3e2
JM
40907 [BZ #5794]
40908 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40909 * sysdeps/i386/fpu/libm-test-ulps: Update.
40910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40911
5b8a4d4a
JM
40912 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40914
8fdceb2e
JL
409152012-02-29 Jeff Law <law@redhat.com>
40916
40917 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40918 out of bounds read.
40919
1f393a11
MP
409202012-02-29 Marek Polacek <polacek@redhat.com>
40921
40922 [BZ #13706]
40923 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40924 * elf/Makefile: Add rules to run tst-unused-dep.out.
40925
8847f037
DM
409262012-02-28 David S. Miller <davem@davemloft.net>
40927
40928 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40929 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40930 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40932 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40933 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40934
169d7f11
JM
409352012-02-29 Joseph Myers <joseph@codesourcery.com>
40936
40937 * math/libm-test.inc (llround_test): Move one test from
40938 lround_test. Use TEST_f_L in moved test.
40939 (lround_test): Move misplaced test to llround_test. Add testcase
40940 from bug 2561.
40941
39adf059
UD
409422012-02-28 Ulrich Drepper <drepper@gmail.com>
40943
40944 * sysdeps/x86_64/fpu/e_expf.S: New file.
40945 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40946
71b5d1c5
SB
409472012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40948
40949 [BZ #13637]
40950 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40951 of remain_len that may cause incomplete multi-byte character and
40952 false match.
40953 * posix/bug-regex33.c: New file.
40954 * posix/Makefile (tests): Add bug-regex33.
40955
1f77f049
JM
409562012-02-28 Joseph Myers <joseph@codesourcery.com>
40957
40958 * manual/macros.texi: New file.
40959 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40960 * manual/libc.texinfo: Include macros.texi.
40961 * manual/creatute.texi: Likewise.
40962 * manual/install.texi: Likewise.
40963 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40964 @glibcadj{} in references to the GNU C Library.
40965 * manual/charset.texi: Likewise.
40966 * manual/conf.texi: Likewise.
40967 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40968 when not using those macros.
40969 * manual/creature.texi: Likewise.
40970 * manual/crypt.texi: Likewise.
40971 * manual/errno.texi: Likewise.
40972 * manual/filesys.texi: Likewise.
40973 * manual/header.texi: Likewise.
40974 * manual/install.texi: Likewise.
40975 * manual/intro.texi: Likewise.
40976 * manual/io.texi: Likewise.
40977 * manual/job.texi: Likewise.
40978 * manual/lang.texi: Likewise.
40979 * manual/libc.texiinfo: Likewise.
40980 * manual/llio.texi: Likewise.
40981 * manual/locale.texi: Likewise.
40982 * manual/maint.texi: Likewise.
40983 * manual/math.texi: Likewise.
40984 * manual/memory.texi: Likewise.
40985 * manual/message.texi: Likewise.
40986 * manual/nss.texi: Likewise.
40987 * manual/pattern.texi: Likewise.
40988 * manual/process.texi: Likewise.
40989 * manual/resource.texi: Likewise.
40990 * manual/search.texi: Likewise.
40991 * manual/setjmp.texi: Likewise.
40992 * manual/signal.texi: Likewise.
40993 * manual/socket.texi: Likewise.
40994 * manual/startup.texi: Likewise.
40995 * manual/stdio.texi: Likewise.
40996 * manual/string.texi: Likewise.
40997 * manual/sysinfo.texi: Likewise.
40998 * manual/syslog.texi: Likewise.
40999 * manual/terminal.texi: Likewise.
41000 * manual/time.texi: Likewise.
41001 * manual/users.texi: Likewise.
41002 * INSTALL: Regenerated.
41003 * NOTES: Regenerated.
d40c5d54 41004 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41005
450bf206
AS
410062012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41007
41008 * include/dirent.h: Include <dirstream.h> before
41009 <dirent/dirent.h>.
41010
741a235b
DM
410112012-02-28 David S. Miller <davem@davemloft.net>
41012
41013 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41014 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41015 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41016 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41017
d6b5aa58
DM
410182012-02-27 David S. Miller <davem@davemloft.net>
41019
1aff59a3
DM
41020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41022 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41023 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41024
d6b5aa58
DM
41025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41026 frame pointer instead of stack pointer relative arg slot.
41027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41028 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41029 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41030
433f48bf
CD
410312012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41032
41033 [BZ #3992]
41034 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41035
d674b76d
DM
410362012-02-27 David S. Miller <davem@davemloft.net>
41037
41038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41042 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41043 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41044 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41045 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41046
0e7727f7
JM
410472012-02-27 Joseph Myers <joseph@codesourcery.com>
41048
41049 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41050 later. Allow versions 5-9.
43be4ca2 41051 * configure: Regenerated.
0e7727f7
JM
41052 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41053 required minimum version and 4.6 as recommended version. Do not
41054 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41055 * INSTALL: Regenerated.
0e7727f7 41056
a78bc654
DM
410572012-02-27 David S. Miller <davem@davemloft.net>
41058
428d5830
DM
41059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41063 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41064 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41065 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41066 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41067
a78bc654
DM
41068 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41069 manipulate bits before adding and subtracting TWO112[sx].
41070 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41071
4579f81c
RM
410722012-02-27 Roland McGrath <roland@hack.frob.com>
41073
36c8acb4
RM
41074 [BZ #13775]
41075 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41076 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41077 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41078 being in POSIX, because they are in 1003.1-2008.
41079
84ad622b
RM
41080 * rt/tst-aio.c: Include <fcntl.h>.
41081 * rt/tst-aio7.c: Likewise.
41082 * rt/tst-aio64.c: Likewise.
41083
4579f81c
RM
41084 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41085
abd923db
JM
410862012-02-27 Joseph Myers <joseph@codesourcery.com>
41087
41088 * manual/install.texi (--with-headers): Describe headers as
41089 interface headers, not private headers.
41090 (Specific advice for GNU/Linux systems): Describe use of headers
41091 from "make headers_install", not private headers from older
41092 kernels.
43be4ca2 41093 * INSTALL: Regenerated.
abd923db
JM
41094 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41095 Change to 2.6.19.
41096 * sysdeps/unix/sysv/linux/configure: Regenerated.
41097
6664049b
JM
41098 * manual/llio.texi (fclean): Remove documentation.
41099
bb8b6697
JM
41100 * manual/Makefile (libc-texi-generated): New variable. Include
41101 version.texi.
41102 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41103 $(libc-texi-generated), not duplicated list of files.
41104 (version.texi, stamp-version): New rules.
41105 (realclean): Remove $(libc-texi-generated), not individual files
41106 from that list. Do not remove dir-add.texinfo.
41107 * manual/libc.texinfo: Comment out uses of edition numbers and
41108 references to printed manual. Remove last-updated dates.
41109 (EDITION): Comment out.
41110 (ISBN): Likewise.
41111 (VERSION, UPDATED): Remove.
41112 (version.texi): Include.
41113
12e5c3b9
AS
411142012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41115
41116 * sysdeps/posix/spawni.c: Include <signal.h>.
41117 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41118 * sysdeps/pthread/aio_fsync.c: Likewise.
41119
4efeffc1 411202012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41121
ba63ba08
UD
41122 * conform/Makefile (tests): Run only when not cross-compiling and
41123 when fast-check is not defined.
41124
d94a4670
UD
41125 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41126 * conform/data/limits.h-data: Fixes for POSIX2008.
41127 * conform/run-conformtest.sh: Run all tests.
41128 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41129 headers.
41130 * include/bits/dlfcn.h: Likewise.
41131 * include/langinfo.h: Likewise.
41132 * include/monetary.h: Likewise.
41133 * include/sys/poll.h: Likewise.
41134
41135 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41136 for __USE_GNU.
41137 * posix/spawn.h: Define __need_sigset_t.
41138 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41139 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41140 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41141 to get sigevent_t only.
41142 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41143 only for __USE_GNU.
41144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41145 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41146 process_vm_writev only for __USE_GNU.
41147 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41148
41149 * conform/Makefile: For now ignore errors from run-conformtest.
41150 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41151 POSIX to avoid namespace pollution. Don't prepend headers.
41152 * conform/data/aio.h-data: Fixes for POSIX testing.
41153 * conform/data/fcntl.h-data: Likewise.
41154 * conform/data/glob.h-data: Likewise.
41155 * conform/data/grp.h-data: Likewise.
41156 * conform/data/pthread.h-data: Likewise.
41157 * conform/data/pwd.h-data: Likewise.
41158 * conform/data/signal.h-data: Likewise.
41159 * conform/data/spawn.h-data: Likewise.
41160 * conform/data/stdio.h-data: Likewise.
41161 * conform/data/stdlib.h-data: Likewise.
41162 * conform/data/stropts.h-data: Likewise.
41163 * conform/data/sys/mman.h-data: Likewise.
41164 * conform/data/sys/stat.h-data: Likewise.
41165 * conform/data/sys/types.h-data: Likewise.
41166 * conform/data/sys/wait.h-data: Likewise.
41167 * conform/data/time.h-data: Likewise.
41168 * conform/data/unistd.h-data: Likewise.
41169 * conform/data/utime.h-data: Likewise.
41170
41171 * io/sys/stat.h: fchmod was always in POSIX.
41172 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41173 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41174 * rt/aio.h: Define __need_timespec before including <time.h>.
41175 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41176 struct. Add forward declaration of pthread_attr_t and use it in
41177 sigevent.
41178 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41180 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41181 always remove CLK_TCK definition.
41182
c20105c3
AS
411832012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41184
41185 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41186
7a270350
UD
411872012-02-25 Ulrich Drepper <drepper@gmail.com>
41188
31341567
UD
41189 * conform/run-conformtest.sh: New file.
41190 * conform/Makefile: Run run-conformtest for tests.
41191 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41192 support.
41193
41194 * conform/data/uchar.h-data: New file.
41195 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41196 * conform/data/arpa/inet.h-data: Likewise.
41197 * conform/data/assert.h-data: Likewise.
41198 * conform/data/complex.h-data: Likewise.
41199 * conform/data/cpio.h-data: Likewise.
41200 * conform/data/ctype.h-data: Likewise.
41201 * conform/data/dirent.h-data: Likewise.
41202 * conform/data/dlfcn.h-data: Likewise.
41203 * conform/data/errno.h-data: Likewise.
41204 * conform/data/fcntl.h-data: Likewise.
41205 * conform/data/float.h-data: Likewise.
41206 * conform/data/fmtmsg.h-data: Likewise.
41207 * conform/data/fnmatch.h-data: Likewise.
41208 * conform/data/ftw.h-data: Likewise.
41209 * conform/data/glob.h-data: Likewise.
41210 * conform/data/grp.h-data: Likewise.
41211 * conform/data/iconv.h-data: Likewise.
41212 * conform/data/inttypes.h-data: Likewise.
41213 * conform/data/langinfo.h-data: Likewise.
41214 * conform/data/libgen.h-data: Likewise.
41215 * conform/data/limits.h-data: Likewise.
41216 * conform/data/locale.h-data: Likewise.
41217 * conform/data/math.h-data: Likewise.
41218 * conform/data/monetary.h-data: Likewise.
41219 * conform/data/mqueue.h-data: Likewise.
41220 * conform/data/ndbm.h-data: Likewise.
41221 * conform/data/net/if.h-data: Likewise.
41222 * conform/data/netdb.h-data: Likewise.
41223 * conform/data/netinet/in.h-data: Likewise.
41224 * conform/data/nl_types.h-data: Likewise.
41225 * conform/data/poll.h-data: Likewise.
41226 * conform/data/pthread.h-data: Likewise.
41227 * conform/data/pwd.h-data: Likewise.
41228 * conform/data/regex.h-data: Likewise.
41229 * conform/data/sched.h-data: Likewise.
41230 * conform/data/search.h-data: Likewise.
41231 * conform/data/semaphore.h-data: Likewise.
41232 * conform/data/setjmp.h-data: Likewise.
41233 * conform/data/signal.h-data: Likewise.
41234 * conform/data/spawn.h-data: Likewise.
41235 * conform/data/stdarg.h-data: Likewise.
41236 * conform/data/stdio.h-data: Likewise.
41237 * conform/data/stdlib.h-data: Likewise.
41238 * conform/data/string.h-data: Likewise.
41239 * conform/data/strings.h-data: Likewise.
41240 * conform/data/stropts.h-data: Likewise.
41241 * conform/data/sys/ipc.h-data: Likewise.
41242 * conform/data/sys/mman.h-data: Likewise.
41243 * conform/data/sys/msg.h-data: Likewise.
41244 * conform/data/sys/resource.h-data: Likewise.
41245 * conform/data/sys/select.h-data: Likewise.
41246 * conform/data/sys/sem.h-data: Likewise.
41247 * conform/data/sys/shm.h-data: Likewise.
41248 * conform/data/sys/socket.h-data: Likewise.
41249 * conform/data/sys/stat.h-data: Likewise.
41250 * conform/data/sys/statvfs.h-data: Likewise.
41251 * conform/data/sys/time.h-data: Likewise.
41252 * conform/data/sys/timeb.h-data: Likewise.
41253 * conform/data/sys/times.h-data: Likewise.
41254 * conform/data/sys/types.h-data: Likewise.
41255 * conform/data/sys/uio.h-data: Likewise.
41256 * conform/data/sys/un.h-data: Likewise.
41257 * conform/data/sys/utsname.h-data: Likewise.
41258 * conform/data/sys/wait.h-data: Likewise.
41259 * conform/data/syslog.h-data: Likewise.
41260 * conform/data/tar.h-data: Likewise.
41261 * conform/data/termios.h-data: Likewise.
41262 * conform/data/utime.h-data: Likewise.
41263 * conform/data/utmpx.h-data: Likewise.
41264 * conform/data/varargs.h-data: Likewise.
41265 * conform/data/wchar.h-data: Likewise.
41266 * conform/data/wctype.h-data: Likewise.
41267 * conform/data/wordexp.h-data: Likewise.
41268
41269 * include/stropts.h: New file.
41270 * include/uchar.h: New file.
41271 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41272 * include/assert.h: Likewise.
41273 * include/ctype.h: Likewise.
41274 * include/dirent.h: Likewise.
41275 * include/dlfcn.h: Likewise.
41276 * include/fcntl.h: Likewise.
41277 * include/fnmatch.h: Likewise.
41278 * include/glob.h: Likewise.
41279 * include/grp.h: Likewise.
41280 * include/libio.h: Likewise.
41281 * include/locale.h: Likewise.
41282 * include/math.h: Likewise.
41283 * include/net/if.h: Likewise.
41284 * include/netdb.h: Likewise.
41285 * include/netinet/in.h: Likewise.
41286 * include/pthread.h: Likewise.
41287 * include/pwd.h: Likewise.
41288 * include/regex.h: Likewise.
41289 * include/sched.h: Likewise.
41290 * include/search.h: Likewise.
41291 * include/setjmp.h: Likewise.
41292 * include/signal.h: Likewise.
41293 * include/stdio.h: Likewise.
41294 * include/stdlib.h: Likewise.
41295 * include/string.h: Likewise.
41296 * include/sys/cdefs.h: Likewise.
41297 * include/sys/mman.h: Likewise.
41298 * include/sys/msg.h: Likewise.
41299 * include/sys/resource.h: Likewise.
41300 * include/sys/select.h: Likewise.
41301 * include/sys/socket.h: Likewise.
41302 * include/sys/stat.h: Likewise.
41303 * include/sys/statvfs.h: Likewise.
41304 * include/sys/time.h: Likewise.
41305 * include/sys/times.h: Likewise.
41306 * include/sys/uio.h: Likewise.
41307 * include/sys/utsname.h: Likewise.
41308 * include/sys/wait.h: Likewise.
41309 * include/termios.h: Likewise.
41310 * include/time.h: Likewise.
41311 * include/ulimit.h: Likewise.
41312 * include/unistd.h: Likewise.
41313 * include/utime.h: Likewise.
41314 * include/wchar.h: Likewise.
41315 * include/wctype.h: Likewise.
41316 * include/wordexp.h: Likewise.
41317
41318 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41319
7a270350
UD
41320 * time/time.h: TIME_UTC must be a macro.
41321 Make timespec_get available for ISO C11 only as well.
41322
7724defc
UD
413232012-02-24 Ulrich Drepper <drepper@gmail.com>
41324
41325 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41326 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41327
6b1d1d46
JM
413282012-02-24 Joseph Myers <joseph@codesourcery.com>
41329
41330 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41331
0f8bbd69
JM
413322012-02-24 Joseph Myers <joseph@codesourcery.com>
41333
41334 * manual/texinfo.tex: Update to version 2012-01-19.16.
41335
66ab80bc
JM
413362012-02-24 Joseph Myers <joseph@codesourcery.com>
41337
41338 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41339
74981cc5
RM
413402012-02-24 Roland McGrath <roland@hack.frob.com>
41341
ee968201
RM
41342 [BZ #13738]
41343 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41344 * manual/fdl-1.3.texi: New file.
41345 * manual/fdl-1.1.texi: File removed.
41346
74981cc5
RM
41347 [BZ #13738]
41348 * manual/libc.texinfo (FDL_VERSION): New @set.
41349 Use it for mention of FDL in cover text.
41350 (Documentation License): Use it in @include file name.
41351
7bb764bc
JM
413522012-02-22 Joseph Myers <joseph@codesourcery.com>
41353 Roland McGrath <roland@hack.frob.com>
41354
41355 [BZ #5461]
57f41c40
AS
41356 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41357 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41358 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41359 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41360 name.
41361 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41362
6cbeae47
JM
413632012-02-22 Joseph Myers <joseph@codesourcery.com>
41364
41365 [BZ #2547]
41366 [BZ #11365]
41367 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41368 manipulate bits before adding and subtracting TWO23[sx].
41369 * math/libm-test.inc (nearbyint_test): Add more tests.
41370
fe45ce09
JM
413712012-02-22 Joseph Myers <joseph@codesourcery.com>
41372
41373 [BZ #2548]
41374 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41375 bits before adding and subtracting TWO23[sx].
41376 * math/libm-test.inc (rint_test): Add more tests.
41377 (rint_test_tonearest): Likewise.
41378 (rint_test_towardzero): Likewise.
41379 (rint_test_downward): Likewise.
41380 (rint_test_upward: Likewise.
41381
ff3b3d82
JM
413822012-02-22 Joseph Myers <joseph@codesourcery.com>
41383
41384 [BZ #10110]
41385 * include/stdc-predef.h: New file. Extracted from features.h.
41386 * include/features.h: Include stdc-predef.h.
41387 * Makefile (headers): Add stdc-predef.h.
41388 * CONFORMANCE (Compiler limitations): Update.
41389
ef0aab35
JM
413902012-02-22 Joseph Myers <joseph@codesourcery.com>
41391
41392 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41393
58639409
DM
413942012-02-21 David S. Miller <davem@davemloft.net>
41395
41396 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41397 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41398
c0e70b25
DM
413992012-02-20 David S. Miller <davem@davemloft.net>
41400
41401 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41402 using a normal save/restore sequence, rather than allocating a
41403 dummy stack frame just to store a frame pointer and restore.
41404 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41405
fb06851d
JM
414062012-02-21 Joseph Myers <joseph@codesourcery.com>
41407
41408 * manual/install.texi: Fix stray word in line-wrapped comment.
41409
7a8b71c3
DM
414102012-02-20 David S. Miller <davem@davemloft.net>
41411
d510c123
DM
41412 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41413 both binutils and gcc support GOTDATA.
41414
0722d7c2
DM
41415 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41416 "rd %pc" in the PIC register setup sequences.
41417
3d2b3019
DM
41418 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41419 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41420 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41421 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41422 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41423 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41424 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41425 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41426 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41427 (SYSCALL_ERROR_HANDLER): Likewise.
41428 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41429 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41430 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41431 (SYSCALL_ERROR_HANDLER): Likewise.
41432
c80098a9
DM
41433 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41434 (HAVE_GCC_GOTDATA): New.
41435 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41436 relocation support in both binutils and gcc.
41437 * sysdeps/sparc/elf/configure: Regenerate.
41438
3a2545a0
DM
41439 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41440 * sysdeps/sparc/sparc32/elf/configure: Delete.
41441 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41442 * sysdeps/sparc/sparc64/elf/configure: Delete.
41443 * sysdeps/sparc/elf/configure.in: New file.
41444 * sysdeps/sparc/elf/configure: Generate.
41445
7a8b71c3
DM
41446 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41447 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41448 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41449 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41450 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41451
f1e86fca
JM
414522012-02-21 Joseph Myers <joseph@codesourcery.com>
41453
41454 * manual/install.texi: Do not mention specific glibc version
41455 numbers.
41456 * manual/libc.texinfo (VERSION, UPDATED): Update.
41457 (@copying): Use @copyright{} and range of years.
41458
0e7dfaef
JM
414592012-02-21 Joseph Myers <joseph@codesourcery.com>
41460
41461 [BZ #13695]
41462 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41463 [crti.S not in sysdirs] (generated): Do not append.
41464 [crti.S not in sysdirs] (omit-deps): Likewise.
41465 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41466 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41467 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41468 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41469 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41470 Likewise.
41471 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41472 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41473 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41474 * csu/defs.awk: Remove file.
41475 * sysdeps/generic/initfini.c: Likewise.
41476 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41477 variable.
41478 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41479 Likewise.
41480
599af3ca
JM
414812012-02-20 Joseph Myers <joseph@codesourcery.com>
41482
41483 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41484 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41485 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41486 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41487 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41488 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41489 <bits/epoll.h>.
41490 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41491 (__EPOLL_PACKED): Define to empty if not defined by
41492 <bits/epoll.h>.
41493 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41495 bits/epoll.h.
41496
0e499750
JM
414972012-02-20 Joseph Myers <joseph@codesourcery.com>
41498
41499 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41500 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41501 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41502 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41503 <bits/timerfd.h>.
41504 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41506 bits/timerfd.h.
41507
5ad91f6e
JM
415082012-02-20 Joseph Myers <joseph@codesourcery.com>
41509
41510 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41511 in C locale.
41512 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41513 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41514 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41516
06b99b02
AJ
415172012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41518
41519 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41520 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41521
7638c0fd
AS
415222012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41523
41524 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41525 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41526 defined.
41527 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41528 Likewise.
41529 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41530 entry for 2.16.
41531
92221550
AJ
415322012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41533
41534 * math/w_acos.c: Use non-signaling floating-point comparisons.
41535 * math/w_acosf.c: Likewise.
41536 * math/w_acosh.c: Likewise.
41537 * math/w_acoshf.c: Likewise.
41538 * math/w_acoshl.c: Likewise.
41539 * math/w_acosl.c: Likewise.
41540 * math/w_asin.c: Likewise.
41541 * math/w_asinf.c: Likewise.
41542 * math/w_asinl.c: Likewise.
41543 * math/w_atanh.c: Likewise.
41544 * math/w_atanhf.c: Likewise.
41545 * math/w_atanhl.c: Likewise.
41546 * math/w_exp2.c: Likewise.
41547 * math/w_exp2f.c: Likewise.
41548 * math/w_exp2l.c: Likewise.
41549 * math/w_j0.c: Likewise.
41550 * math/w_j0f.c: Likewise.
41551 * math/w_j0l.c: Likewise.
41552 * math/w_j1.c: Likewise.
41553 * math/w_j1f.c: Likewise.
41554 * math/w_j1l.c: Likewise.
41555 * math/w_jn.c: Likewise.
41556 * math/w_jnf.c: Likewise.
41557 * math/w_log.c: Likewise.
41558 * math/w_log10.c: Likewise.
41559 * math/w_log10f.c: Likewise.
41560 * math/w_log10l.c: Likewise.
41561 * math/w_log2.c: Likewise.
41562 * math/w_log2f.c: Likewise.
41563 * math/w_log2l.c: Likewise.
41564 * math/w_logf.c: Likewise.
41565 * math/w_logl.c: Likewise.
41566 * math/w_sqrt.c: Likewise.
41567 * math/w_sqrtf.c: Likewise.
41568 * math/w_sqrtl.c: Likewise.
41569 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41570 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41571 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41572 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41573 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41574
ebaf36eb
JM
415752012-02-19 Joseph Myers <joseph@codesourcery.com>
41576
41577 [BZ #9739]
41578 * manual/string.texi (strnlen): Use correct parameter name in
41579 equivalent expression.
41580
71c254a6
JM
415812012-02-19 Joseph Myers <joseph@codesourcery.com>
41582
41583 [BZ #11174]
41584 * manual/users.texi (seteuid): Consistently use neweuid for
41585 argument name.
41586
16d2c631
JM
415872012-02-19 Joseph Myers <joseph@codesourcery.com>
41588
41589 [BZ #13704]
41590 * manual/nss.texi (Services in the NSS configuration): Correct
41591 list of services in example configuration file.
41592
cd837b09
NB
415932012-02-19 Nick Bowler <nbowler@draconx.ca>
41594
41595 [BZ #11322]
41596 * manual/arith.texi: Remove statements about negative zero
41597 behaving identically to zero.
41598
02c4bbad
JM
415992012-02-18 Joseph Myers <joseph@codesourcery.com>
41600
41601 [BZ #5993]
41602 * manual/install.texi: Do not document upgrading from libc5.
41603
366842e7
JM
416042012-02-18 Joseph Myers <joseph@codesourcery.com>
41605
41606 [BZ #4596]
41607 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41608
dd54084d
DM
416092012-02-18 David S. Miller <davem@davemloft.net>
41610
41611 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41612 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41613 %o7 across the call.
41614 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41615 instead.
41616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41617 SETUP_PIC_REG_LEAF.
41618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41619 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41620 * sysdeps/sparc/crtn.S: Likewise.
41621
2bcc53a3
UD
416222012-02-17 Ulrich Drepper <drepper@gmail.com>
41623
41624 * aout/Makefile: Remove.
41625
09c093b5
RK
416262012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41627
41628 [BZ #13058]
41629 * manual/examples/argp-ex1.c (main): Format definition in GNU
41630 style.
41631 * manual/examples/argp-ex2.c (main): Likewise.
41632 * manual/examples/argp-ex3.c (main): Likewise.
41633 * manual/examples/argp-ex4.c (main): Likewise.
41634 * manual/examples/longopt.c (main): Use new-style prototype
41635 definition.
41636 * manual/examples/strncat.c (main): Specify return type and use
41637 (void) for arguments.
41638 * manual/examples/subopt.c (main): Use char **argv argument.
41639
2ee633a2
JM
416402012-02-17 Joseph Myers <joseph@codesourcery.com>
41641
41642 [BZ #5077]
41643 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41644 rounding modes.
41645
0520adde
FB
416462012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41647
41648 [BZ #6907]
41649 * manual/string.texi (strchr): Change when strchrnul is
41650 recommended.
41651
3f4081cd
DGM
416522012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41653
41654 [BZ #174]
41655 * manual/locale.texi (setlocale): Document LOCPATH.
41656
d1b10e78
JM
416572012-02-17 Joseph Myers <joseph@codesourcery.com>
41658
41659 [BZ #10210]
41660 * manual/process.texi (execle): Move @dots{} before last argument.
41661
79c6869c
PB
416622012-02-17 Paul Bolle <pebolle@tiscali.nl>
41663
41664 [BZ #12047]
41665 * manual/charset.texi (Generic Charset Conversion): Fix typo
41666 (LC_TYPE -> LC_CTYPE).
41667
cc6e48bc
NB
416682012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41669
41670 [BZ #5805]
41671 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41672 (scalbnf): Likewise.
41673 (scalbnl): Likewise.
41674 (scalbln): Likewise.
41675 (scalblnf): Likewise.
41676 (scalblnl): Likewise.
41677 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41678 (vwarnx): Likewise.
41679 (verr): Likewise.
41680 (verrx): Likewise.
41681 * manual/filesys.texi (telldir): Use braces around return type.
41682 * manual/llio.texi (mmap): Add space after comma.
41683 (mmap64): Likewise.
41684 * manual/math.texi (jn): Use @var{} on parameter names.
41685 (jnf): Likewise.
41686 (jnl): Likewise.
41687 (yn): Likewise.
41688 (ynf): Likewise.
41689 (ynl): Likewise.
41690 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41691 line.
41692 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41693 "...".
41694 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41695 (sched_get_priority_max): Likewise.
41696 * manual/signal.texi (sigvec): Add space after comma.
41697 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41698 names.
41699 (if_indextoname): Likewise.
41700 (if_freenameindex): Likewise.
41701 (sendto): Use ',' instead of '.' in prototype.
41702 * manual/startup.texi (syscall): Use @dots{} instead of literal
41703 "...".
41704 * manual/stdio.texi (__fpending): Separate initial words of
41705 paragraph from @deftypefun line.
41706 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41707 "...".
41708 (vsyslog): Use @var{} on parameter names.
41709 * manual/terminal.texi (stty): Use @var{} on parameter names.
41710 * manual/users.texi (getutmp): Use @var{} on parameter names.
41711 (getutmpx): Likewise.
41712
5b23062f
JM
417132012-02-17 Joseph Myers <joseph@codesourcery.com>
41714
41715 [BZ #6884]
41716 * manual/stdio.texi (fopen): Fix typos in description of
41717 ",ccs=STRING".
41718
8dee4833
AJ
417192012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41720
41721 [BZ #4026]
41722 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41723 get clock_id definition.
41724
9078ce93
TS
417252012-02-17 Thomas Schwinge <thomas@schwinge.name>
41726
41727 [BZ #4822]
41728 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41729 (madvise): Cast every argument to void on its own.
41730
3835c55f
JM
417312012-02-17 Joseph Myers <joseph@codesourcery.com>
41732
41733 [BZ #9902]
41734 * manual/startup.texi (Exit Status): Fix typo.
41735
35c47e37
JM
417362012-02-17 Joseph Myers <joseph@codesourcery.com>
41737
41738 [BZ #10140]
41739 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41740 * manual/examples/argp-ex2.c: Likewise.
41741 * manual/examples/argp-ex3.c: Likewise.
41742
e3b69ca7
RH
417432012-02-16 Richard Henderson <rth@redhat.com>
41744
41745 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41746 * sysdeps/s390/s390-32/initfini.c: Remove.
41747 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41748 * sysdeps/s390/s390-64/initfini.c: Remove.
41749
df83af67
KK
417502012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41751
41752 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41753 compiler output for sysdeps/generic/initfini.c.
41754 * sysdeps/sh/elf/initfini.c: Remove file.
41755
f63f3380
DM
417562012-02-16 David S. Miller <davem@davemloft.net>
41757
fb59b3a4
DM
41758 [BZ #11494]
41759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41760
f63f3380
DM
41761 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41762 * sysdeps/sparc/crti.S: New file.
41763 * sysdeps/sparc/crtn.S: New file.
41764 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41765 * sysdeps/sparc/sparc64/Makefile: Likewise.
41766
df6a4a4a
MF
417672012-02-15 Mike Frysinger <vapier@gentoo.org>
41768
6dd8f3dc 41769 [BZ #3335]
df6a4a4a
MF
41770 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41771
1cac7236
RM
417722012-02-15 Roland McGrath <roland@hack.frob.com>
41773
d2c736f8
RM
41774 [BZ #4822]
41775 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41776
1cac7236
RM
41777 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41778 (write, read, close): Likewise.
41779 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41780
8e475601
JM
417812012-02-15 Joseph Myers <joseph@codesourcery.com>
41782
41783 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41784 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41785 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41786 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41787 <bits/signalfd.h>.
41788 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41790 bits/signalfd.h.
41791
ed656b40
MP
417922012-02-14 Marek Polacek <polacek@redhat.com>
41793
41794 * sysdeps/x86_64/crti.S: New file.
41795 * sysdeps/x86_64/crtn.S: New file.
41796 * sysdeps/x86_64/elf/initfini.c: Remove file.
41797
2a979d3a
JM
417982012-02-13 Joseph Myers <joseph@codesourcery.com>
41799
41800 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41801 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41802 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41803 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41804 <bits/inotify.h>.
41805 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41807 bits/inotify.h.
41808
2a418ac3
JM
418092012-02-13 Joseph Myers <joseph@codesourcery.com>
41810
41811 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41812 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41813 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41814 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41815 <bits/eventfd.h>.
41816 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41818 bits/eventfd.h.
41819
fb779be7
TS
418202012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41821
e19e83c5
RM
41822 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41823 __feraiseexcept instead of feraiseexcept.
7c35ffed 41824
fb779be7
TS
41825 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41826 nanosleep invocations.
41827 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41828 strings, and add error checking for a nanosleep invocations.
41829
59ba27a6
PE
418302012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41831
41832 Replace FSF snail mail address with URLs, as per GNU coding standards.
41833 Most of the snail mail addresses were wrong anyway, and omitting
41834 them makes the source code easier to maintain. Almost all of the
41835 changes are to license notices and to locale LC_IDENTIFICATION
41836 addresses, except for this one:
41837 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41838 not its snail mail address.
41839
57b957eb
RH
418402012-02-09 Richard Henderson <rth@twiddle.net>
41841
af850b1c
RH
41842 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41843 of kernel-features.h.
41844
57b957eb
RH
41845 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41846
6b73181a
MP
418472012-02-08 Marek Polacek <polacek@redhat.com>
41848
41849 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41850 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41851 * sysdeps/gnu/_G_config.h: Likewise.
41852 * sysdeps/generic/_G_config.h: Likewise.
41853
26ecc33a
AS
418542012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41855
6c6dbc63
AS
41856 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41857 tests.
41858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41859
e216c012
AS
41860 * sysdeps/powerpc/powerpc32/crti.S: New file.
41861 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41862 * sysdeps/powerpc/powerpc64/crti.S: New file.
41863 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41864
26ecc33a
AS
41865 * Makeconfig (have-initfini): Don't set.
41866 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41867 * configure.in (nopic_initfini): Don't substitute.
41868 * config.h.in (HAVE_INITFINI): Don't #undef.
41869 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41870 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41871
3add8e13
JM
418722012-02-08 Joseph Myers <joseph@codesourcery.com>
41873
41874 Support crti.S and crtn.S provided directly by architectures.
41875 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41876 [crti.S in sysdirs] (omit-deps): Likewise.
41877 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41878 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41879 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41880 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41881 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41882 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41883 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41884 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41885 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41886 compiler output for sysdeps/generic/initfini.c.
41887 * sysdeps/i386/elf/Makefile: Remove file.
41888 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41889
a22f12b4
MP
418902012-02-07 Marek Polacek <polacek@redhat.com>
41891
41892 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41893 * sysdeps/gnu/_G_config.h: Likewise.
41894 * sysdeps/mach/hurd/_G_config.h: Likewise.
41895
148cf100
MP
418962012-02-07 Marek Polacek <polacek@redhat.com>
41897
41898 * math/Makefile (tests): Add tst-CMPLX2.
41899 * math/tst-CMPLX2.c: New file.
41900
cfdc0dd7
AS
419012012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41902
84ba42c4
AS
41903 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41904
cfdc0dd7
AS
41905 * math/libm-test.inc (jn_test): Add missing L suffix.
41906
622c86f4
MP
419072012-02-06 Marek Polacek <polacek@redhat.com>
41908
41909 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41910 * sysdeps/i386/fpu/e_powf.S: Likewise.
41911 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41912 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41913 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41914 * sysdeps/i386/fpu/e_pow.S: Likewise.
41915 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41916 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41917 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41918 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41919 * sysdeps/i386/fpu/e_log2.S: Likewise.
41920 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41921 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41922 * sysdeps/i386/fpu/e_powl.S: Likewise.
41923 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41924 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41925 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41926 * sysdeps/i386/fpu/e_logl.S: Likewise.
41927 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41928 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41929 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41930 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41931 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41932 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41933 * sysdeps/i386/fpu/e_log.S: Likewise.
41934 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41935 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41936 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41937 * sysdeps/i386/fpu/e_logf.S: Likewise.
41938 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41939 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41940 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41941 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41942 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41943 * sysdeps/i386/fpu/e_log10.S: Likewise.
41944 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41945 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41946 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41947 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41948 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41949 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41950 * sysdeps/i386/asm-syntax.h: Likewise.
41951 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41952 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41953 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41954 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41955 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41956 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41957 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41958 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41959 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41960 * sysdeps/powerpc/sysdep.h: Likewise.
41961 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41962 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41963
d4a54ac6
JM
419642012-02-06 Joseph Myers <joseph@codesourcery.com>
41965
41966 [BZ #411]
41967 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41968
314054ea
JM
419692012-02-06 Joseph Myers <joseph@codesourcery.com>
41970
41971 * sysdeps/i386/sysdep.h: Include <features.h>.
41972 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41973 version.
41974
d8e0ca50
JM
419752012-02-05 Joseph Myers <joseph@codesourcery.com>
41976
41977 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41978 Define.
41979 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41980 LOAD_PIC_REG_STR.
41981
b1da7dd9
JM
419822012-02-03 Joseph Myers <joseph@codesourcery.com>
41983
41984 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41985 (SETUP_PIC_REG): Use GET_PC_THUNK.
41986 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41987 macro.
41988
9a1d9254
JM
419892012-02-03 Joseph Myers <joseph@codesourcery.com>
41990
41991 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41992 for non-PIC compilation.
41993 (SETUP_PIC_REG): Add .p2align directive.
41994 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41995 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41996 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41997 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41998 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41999 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42000 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42001 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42002 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42003 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42004 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42005 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42006 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42007 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42008 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42009 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42010 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42011 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42012 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42013 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42014 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42015 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42016 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42017 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42018 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42020 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42022 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42023 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42024 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42025 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42026 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42027 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42028 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42029 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42030 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42031 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42032 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42033 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42034 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42035
65dc3b75
JM
420362012-02-03 Joseph Myers <joseph@codesourcery.com>
42037
42038 * math/tst-CMPLX.c: Include <stdio.h>.
42039
d55bf177
JM
420402012-01-31 Joseph Myers <joseph@codesourcery.com>
42041
42042 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42043 float.
42044 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42045 * sysdeps/sparc/bits/mathdef.h: Likewise.
42046
69db4f8f
MP
420472012-01-31 Marek Polacek <polacek@redhat.com>
42048
42049 * libio/libio.h: Don't define _PARAMS.
42050 * locale/programs/config.h: Don't define PARAMS.
42051 * stdlib/strtol_l.c: Likewise.
42052 (__strtol_l): Remove PARAMS from the prototype.
42053
41b81892
UD
420542012-01-31 Ulrich Drepper <drepper@gmail.com>
42055
3b49edc0
UD
42056 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42057 names. Just use the correct names. Remove unnecessary wrapper
42058 functions.
42059 * malloc/arena.c: Likewise.
42060 * malloc/hooks.c: Likewise.
42061
41b81892
UD
42062 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42063 ARENA_TEST says not to. Simplify test for creation of a new arena.
42064 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42065
27a25b6e
UD
420662012-01-30 Ulrich Drepper <drepper@gmail.com>
42067
42068 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42069 into tail calls.
42070 (update_get_addr): New function.
42071 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42072 GET_ADDR_MODULE parameter.
42073
c8a89e7d
JM
420742012-01-30 Joseph Myers <joseph@codesourcery.com>
42075
42076 * crypt/cert.c: Remove __STDC__ conditionals.
42077 * crypt/crypt-entry.c: Likewise.
42078 * crypt/crypt_util.c: Likewise.
42079 * libio/filedoalloc.c: Likewise.
42080 * libio/fileops.c: Likewise.
42081 * libio/genops.c: Likewise.
42082 * libio/iofclose.c: Likewise.
42083 * libio/iofdopen.c: Likewise.
42084 * libio/iofopen.c: Likewise.
42085 * libio/iofopen64.c: Likewise.
42086 * libio/iogetdelim.c: Likewise.
42087 * libio/iopopen.c: Likewise.
42088 * libio/obprintf.c: Likewise.
42089 * libio/oldfileops.c: Likewise.
42090 * libio/oldiofclose.c: Likewise.
42091 * libio/oldiofdopen.c: Likewise.
42092 * libio/oldiofopen.c: Likewise.
42093 * libio/oldiopopen.c: Likewise.
42094 * libio/wfiledoalloc.c: Likewise.
42095 * libio/wgenops.c: Likewise.
42096 * locale/programs/xmalloc.c: Likewise.
42097 * misc/syslog.c: Likewise.
42098 * stdio-common/xbug.c: Likewise.
42099 * string/memchr.c: Likewise.
42100 * string/memcmp.c: Likewise.
42101 * string/memrchr.c: Likewise.
42102 * string/rawmemchr.c: Likewise.
42103 * sysdeps/posix/getcwd.c: Likewise.
42104 * time/strftime_l.c: Likewise.
42105
3b100462
JM
421062012-01-30 Joseph Myers <joseph@codesourcery.com>
42107
42108 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42109 * config.make.in (config-cflags-sse2avx): Define.
42110 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42111 Fix typo.
42112
607998af
CM
421132012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42114
42115 * scripts/config.guess: Update from upstream config git repository.
42116 * scripts/config.sub: Likewise.
42117
3601428f
CM
421182012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42119
3ac8b282
CM
42120 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42121 (EM_NUM): Update.
42122 (R_TILEPRO_*, R_TILEGX_*): New macros.
42123
e034841e
CM
42124 * scripts/firstversions.awk: Fix bug in version range handling.
42125
540d7568
CM
42126 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42127
3601428f
CM
42128 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42129
463de862
CM
42130 * include/sys/epoll.h: New file.
42131 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42132 libc_hidden_def.
42133
73139a76
UD
421342012-01-28 Ulrich Drepper <drepper@gmail.com>
42135
96bc5b45
UD
42136 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42137 Avoid unnecessary __WORDSIZE == 64 test.
42138 (fmaxf): Use VEX format if possible.
42139 (fmax): Likewise.
42140 (fminf): Likewise.
42141 (fmin): Likewise.
42142
56f6f6a2
UD
42143 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42144 * math/math_private.h: Remove libc_fegetround* and
42145 libc_fesetround*.
42146 * sysdeps/i386/configure.in: Check for -msse2avx.
42147 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42148 also if SSE2AVX is defined.
42149 Remove libc_fegetround* and libc_fesetround*.
42150 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42151 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42153 of HAS_YMM_USABLE.
42154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42159
73139a76
UD
42160 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42161
d73f93a4
AZ
421622012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42163
42164 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42165 size is not set.
42166 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42167
6ee65ed6
UD
421682012-01-27 Ulrich Drepper <drepper@gmail.com>
42169
42170 [BZ #13618]
42171 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42172 relocation.
42173 * Makeconfig (libm): Define.
42174 * elf/Makefile: Add rules to build and run tst-relsort1.
42175 * elf/tst-relsort1.c: New file.
42176 * elf/tst-relsort1mod1.c: New file.
42177 * elf/tst-relsort1mod2.c: New file.
42178
8db21882
JM
421792012-01-27 Joseph Myers <joseph@codesourcery.com>
42180
42181 * math/s_ldexp.c: Remove __STDC__ conditionals.
42182 * math/s_ldexpf.c: Likewise.
42183 * math/s_ldexpl.c: Likewise.
42184 * math/s_nextafter.c: Likewise.
42185 * math/s_nexttowardf.c: Likewise.
42186 * math/s_significand.c: Likewise.
42187 * math/s_significandf.c: Likewise.
42188 * math/s_significandl.c: Likewise.
42189 * math/w_jnl.c: Likewise.
42190 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42191 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42192 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42193 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42194 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42197 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42198 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42199 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42200 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42201 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42202 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42203 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42204 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42205 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42206 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42207 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42208 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42209 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42210 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42211 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42212 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42213 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42214 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42215 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42216 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42217 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42218 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42219 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42220 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42221 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42222 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42223 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42224 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42225 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42226 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42227 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42228 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42229 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42230 * sysdeps/ieee754/k_standard.c: Likewise.
42231 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42235 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42237 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42238 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42240 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42241 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42242 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42247 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42248 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42249 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42250 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42251 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42252 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42253 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42254 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42255 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42256 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42257 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42258 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42260 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42261 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42262 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42263 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42264 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42265 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42266 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42267 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42268 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42269 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42270 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42271 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42272 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42273 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42274 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42275 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42276 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42277 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42278 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42279 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42280 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42281 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42282 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42283 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42284 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42285 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42286 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42287 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42288 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42289 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42290 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42291 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42292 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42293 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42294 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42295 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42296 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42297 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42298 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42299 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42300 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42301 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42302 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42303 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42304 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42305 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42306 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42307 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42308 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42309 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42310 * sysdeps/ieee754/s_matherr.c: Likewise.
42311 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42312 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42313 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42314 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42315
965a54a4
JM
423162012-01-26 Joseph Myers <joseph@codesourcery.com>
42317
42318 * crypt/md5.h: Remove __STDC__ conditionals.
42319 * libio/libioP.h: Likewise.
42320 * locale/programs/config.h: Likewise.
42321 * sysdeps/generic/sysdep.h: Likewise.
42322 * sysdeps/i386/asm-syntax.h: Likewise.
42323 * sysdeps/s390/asm-syntax.h: Likewise.
42324 * sysdeps/unix/sysdep.h: Likewise.
42325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42327
7071ad79
JM
423282012-01-26 Joseph Myers <joseph@codesourcery.com>
42329
42330 * libio/libio.h: Remove __STDC__ conditionals.
42331 * malloc/obstack.h: Likewise.
42332 * math/complex.h: Likewise.
42333 * math/math.h: Likewise.
42334 * sysdeps/generic/_G_config.h: Likewise.
42335 * sysdeps/gnu/_G_config.h: Likewise.
42336 * sysdeps/mach/hurd/_G_config.h: Likewise.
42337 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42338 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42339 * sysdeps/sparc/bits/mathdef.h: Likewise.
42340
afc5ed09
UD
423412012-01-26 Ulrich Drepper <drepper@gmail.com>
42342
42343 [BZ #13583]
42344 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42345 Clean up HAS_* macros.
afc5ed09 42346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42347 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42348 possible.
42349 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42350 HAS_AVX.
42351 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42352 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42353 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42354 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42356
bdb6de1d
JM
423572012-01-25 Joseph Myers <joseph@codesourcery.com>
42358
42359 * elf/tst-unique3.cc (gets): Remove declaration.
42360 * elf/tst-unique3lib.cc (gets): Likewise.
42361 * elf/tst-unique3lib2.cc (gets): Likewise.
42362 * elf/tst-unique4.cc (gets): Likewise.
42363
b15549e6
UD
423642012-01-24 Ulrich Drepper <drepper@gmail.com>
42365
42366 * include/stdio.h: Add C++ protection. Add gets declarations and
42367 definitions.
42368 * debug/tst-chk1.c: Don't declare gets here.
42369 * stdio-common/tst-gets.c: Likewise.
42370
a037381f
JM
423712012-01-24 Joseph Myers <joseph@codesourcery.com>
42372
42373 * posix/glob: Remove directory.
42374
f1d4aa75
JM
423752012-01-24 Joseph Myers <joseph@codesourcery.com>
42376
42377 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42378
81c0c964
PT
423792012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42380
42381 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42382 of the non-standard EPFNOSUPPORT.
42383
0ea698ae
ST
423842011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42385
42386 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42387 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42388 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42389
d220b117
UD
423902012-01-21 Ulrich Drepper <drepper@gmail.com>
42391
42392 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42393
3e1aa84e
UD
423942012-01-20 Ulrich Drepper <drepper@gmail.com>
42395
42396 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42397 transient errors.
42398 * nscd/grpcache.c (cache_addgr): Likewise.
42399 * nscd/hstcache.c (cache_addhst): Likewise.
42400 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42401 * nscd/pwdcache.c (cache_addpw): Likewise.
42402 * nscd/servicescache.c (cache_addserv): Likewise.
42403
400aa020
UD
424042012-01-16 Ulrich Drepper <drepper@gmail.com>
42405
d77e7869
UD
42406 * malloc/malloc.c: Various cleanups.
42407 * malloc/hooks.c: Likewise.
42408
400aa020
UD
42409 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42410 * stdlib/bug-fmtmsg1.c: New file.
42411
42412 * stdlib/fmtmsg.c (init): Add missing unlock.
42413 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42414
e0a309cf
MP
424152012-01-12 Marek Polacek <polacek@redhat.com>
42416
42417 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42418 and _GNU_SOURCE.
42419
929d11c7
WS
424202012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42421
42422 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42423 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42424 macro to ensure uniqueness of label name.
42425 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42426 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42427
41d0e869
UD
424282012-01-11 Ulrich Drepper <drepper@gmail.com>
42429
0cc5ed3b
UD
42430 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42431
41d0e869
UD
42432 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42433 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42434 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42436
a47a831a
UD
424372012-01-10 Ulrich Drepper <drepper@gmail.com>
42438
daa891c0
UD
42439 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42440
42441 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42442 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42443 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42444
e58ef0f2
UD
42445 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42446
a47a831a 42447 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42448 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42449 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42450 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42451
42452 * math/bits/math-finite.h: Add ldexp support.
42453
a0bfc9c7
MP
424542012-01-10 Marek Polacek <polacek@redhat.com>
42455
42456 * locale/programs/localedef.h (show_archive_content): Add noreturn
42457 attribute.
42458
d6e97a1d
UD
424592012-01-09 Ulrich Drepper <drepper@gmail.com>
42460
42461 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42462
d5835c26
UD
424632012-01-08 Ulrich Drepper <drepper@gmail.com>
42464
e5f484c6
UD
42465 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42466
d5835c26
UD
42467 * io/Makefile (headers): Add bits/poll2.h.
42468
d1f741e9
WS
424692011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42470
42471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42472 typo #include statement.
42473
ec09c1c4
UD
424742012-01-08 Ulrich Drepper <drepper@gmail.com>
42475
42476 * include/sys/cdefs.h: Define __attribute_alloc_size.
42477 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42478 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42479 * elf/pldd.c: Likewise.
42480 * iconv/iconv_charmap.c: Likewise.
42481 * iconv/iconvconfig.c: Likewise.
42482 * iconv/strtab.c: Likewise.
42483 * locale/programs/locale.c: Likewise.
42484 * locale/programs/localedef.h: Likewise.
42485 * locale/programs/simple-hash.c: Likewise.
42486 * nscd/nscd.h: Likewise.
42487 * nss/makedb.c: Likewise.
42488 * sysdeps/generic/ldconfig.h: Likewise.
42489 * locale/programs/localedef.c: Remove xmalloc prototype.
42490 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42491
20b38e03
PP
424922012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42493
42494 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42495 appropriate.
42496
a0da5fe1
UD
424972012-01-08 Ulrich Drepper <drepper@gmail.com>
42498
1d5a644a 42499 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42500 * math/tst-CMPLX.c: New file.
1d5a644a 42501
8784a6db
UD
42502 * math/complex.h (CMPLXL): Fix typo.
42503
d9a216c0
UD
42504 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42505 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42506 GLIBC_2.16.
42507 * debug/tst-chk1.c: Add poll and ppoll tests.
42508 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42509 * include/sys/poll.h: Add hidden proto for ppoll.
42510 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42511 * sysdeps/mach/hurd/ppoll.c: Likewise.
42512 * io/ppoll.c: Likewise.
42513 * debug/poll_chk.c: New file.
42514 * debug/ppoll_chk.c: New file.
42515 * include/bits/poll2.h: New file.
42516 * io/bits/poll2.h: New file.
42517
ac097f5c
UD
42518 [BZ #1350]
42519 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42520
2119dcfa
UD
42521 * configure.in: static is always set to yes. Remove.
42522 * config.make.in: Don't set build-static.
42523 * Makeconfig: Remove use of build-static.
42524 * dlfcn/Makefile: Likewise.
42525 * elf/Makefile: Likewise.
42526 * math/Makefile: Likewise.
42527 * misc/Makefile: Likewise.
42528 * nptl/Makefile: Likewise.
42529 * sysdeps/mach/hurd/Makefile: Likewise.
42530
121766a9
UD
42531 * configure.in: PWD_P is not used anymore.
42532 * config.make.in: Remove PWD_P entry.
42533
51a1d39c 42534 * configure.in: Remove last remnants of RANLIB.
8720d066 42535 No need to check for signed size_t anymore.
215f4bdc
UD
42536 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42537 and IA-64.
3857022a 42538 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42539 * aclocal.m4: Likewise.
42540
d3ed7225
UD
42541 * wcsmbs/mbrtoc16.c: Implement using towc function.
42542 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42543 * wcsmbs/wcsmbsload.c: Likewise.
42544 * iconv/gconv_simple.c: Likewise.
42545 * iconv/gconv_int.h: Likewise.
42546 * iconv/gconv_builtin.h: Likewise.
42547 * iconv/iconv_prog.c: Remove CHAR16 handling.
42548
42549 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42550
42551 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42552
a0da5fe1
UD
42553 * configure.in: Remove --with-elf and --enable-bounded options.
42554 Dont set base_machine for ia64. More non-ELF conditions removed.
42555 Remove testing and setting of leading underscore information.
42556 * config.make.in (build-bounded): Set to no.
42557 * config.h.in: Remove NO_UNDERSCORES entry.
42558 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42559 them.
42560 * csu/start.c: Remove !NO_UNDERSCORE code.
42561 * locale/localeinfo.h: Likewise.
42562 * sysdeps/generic/machine-gmon.h: Likewise.
42563 * sysdeps/generic/sysdep.h: Likewise.
42564 * sysdeps/i386/sysdep.h: Likewise.
42565 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42566 * sysdeps/mach/sysdep.h: Likewise.
42567 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42568 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42569 * sysdeps/sh/sysdep.h: Likewise.
42570 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42571 * sysdeps/unix/i386/sysdep.S: Likewise.
42572 * sysdeps/unix/sparc/start.c: Likewise.
42573 * sysdeps/unix/sparc/sysdep.S: Likewise.
42574 * sysdeps/unix/sparc/sysdep.h: Likewise.
42575 * sysdeps/unix/start.c: Likewise.
42576 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42577 * sysdeps/x86_64/sysdep.h: Likewise.
42578
df78418a
UD
425792012-01-07 Ulrich Drepper <drepper@gmail.com>
42580
a784e502
UD
42581 [BZ #13553]
42582 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42583 for non-gcc.
42584 * argp/argp-fmtstream.h: Use const instead __const.
42585 * argp/argp.h: Likewise.
42586 * assert/assert.h: Likewise.
42587 * bits/fenv.h: Likewise.
42588 * bits/sched.h: Likewise.
42589 * bits/sigset.h: Likewise.
42590 * bits/sigthread.h: Likewise.
42591 * catgets/nl_types.h: Likewise.
42592 * conform/data/pthread.h-data: Likewise.
42593 * crypt/crypt-private.h: Likewise.
42594 * crypt/crypt.h: Likewise.
42595 * crypt/crypt_util.c: Likewise.
42596 * ctype/ctype.h: Likewise.
42597 * debug/execinfo.h: Likewise.
42598 * debug/mbsnrtowcs_chk.c: Likewise.
42599 * debug/mbsrtowcs_chk.c: Likewise.
42600 * debug/wcsnrtombs_chk.c: Likewise.
42601 * debug/wcsrtombs_chk.c: Likewise.
42602 * debug/wcstombs_chk.c: Likewise.
42603 * dirent/dirent.h: Likewise.
42604 * dlfcn/dlfcn.h: Likewise.
42605 * elf/neededtest4.c: Likewise.
42606 * grp/grp.h: Likewise.
42607 * gshadow/gshadow.h: Likewise.
42608 * iconv/gconv.h: Likewise.
42609 * iconv/gconv_int.h: Likewise.
42610 * iconv/gconv_simple.c: Likewise.
42611 * iconv/iconv.h: Likewise.
42612 * iconv/loop.c: Likewise.
42613 * iconv/skeleton.c: Likewise.
42614 * include/aio.h: Likewise.
42615 * include/aliases.h: Likewise.
42616 * include/argz.h: Likewise.
42617 * include/arpa/inet.h: Likewise.
42618 * include/assert.h: Likewise.
42619 * include/dirent.h: Likewise.
42620 * include/dlfcn.h: Likewise.
42621 * include/execinfo.h: Likewise.
42622 * include/fcntl.h: Likewise.
42623 * include/fenv.h: Likewise.
42624 * include/glob.h: Likewise.
42625 * include/grp.h: Likewise.
42626 * include/libintl.h: Likewise.
42627 * include/mntent.h: Likewise.
42628 * include/netdb.h: Likewise.
42629 * include/pwd.h: Likewise.
42630 * include/rpc/netdb.h: Likewise.
42631 * include/sched.h: Likewise.
42632 * include/search.h: Likewise.
42633 * include/shadow.h: Likewise.
42634 * include/signal.h: Likewise.
42635 * include/stdio.h: Likewise.
42636 * include/stdlib.h: Likewise.
42637 * include/string.h: Likewise.
42638 * include/sys/socket.h: Likewise.
42639 * include/sys/stat.h: Likewise.
42640 * include/sys/statfs.h: Likewise.
42641 * include/sys/statvfs.h: Likewise.
42642 * include/sys/syslog.h: Likewise.
42643 * include/sys/time.h: Likewise.
42644 * include/sys/uio.h: Likewise.
42645 * include/time.h: Likewise.
42646 * include/unistd.h: Likewise.
42647 * include/utmp.h: Likewise.
42648 * include/wchar.h: Likewise.
42649 * include/wctype.h: Likewise.
42650 * inet/aliases.h: Likewise.
42651 * inet/arpa/inet.h: Likewise.
42652 * inet/netinet/ether.h: Likewise.
42653 * inet/netinet/in.h: Likewise.
42654 * intl/libintl.h: Likewise.
42655 * io/bits/fcntl2.h: Likewise.
42656 * io/fcntl.h: Likewise.
42657 * io/ftw.h: Likewise.
42658 * io/sys/poll.h: Likewise.
42659 * io/sys/stat.h: Likewise.
42660 * io/sys/statfs.h: Likewise.
42661 * io/sys/statvfs.h: Likewise.
42662 * io/utime.h: Likewise.
42663 * libio/bits/stdio.h: Likewise.
42664 * libio/bits/stdio2.h: Likewise.
42665 * libio/libio.h: Likewise.
42666 * libio/libioP.h: Likewise.
42667 * libio/stdio.h: Likewise.
42668 * locale/lc-ctype.c: Likewise.
42669 * locale/locale.h: Likewise.
42670 * login/utmp.h: Likewise.
42671 * malloc/arena.c: Likewise.
42672 * malloc/malloc.c: Likewise.
42673 * malloc/malloc.h: Likewise.
42674 * malloc/mcheck.c: Likewise.
42675 * malloc/mtrace.c: Likewise.
42676 * math/bits/mathcalls.h: Likewise.
42677 * math/fenv.h: Likewise.
42678 * math/math_private.h: Likewise.
42679 * misc/bits/error.h: Likewise.
42680 * misc/bits/syslog.h: Likewise.
42681 * misc/err.h: Likewise.
42682 * misc/error.h: Likewise.
42683 * misc/fstab.h: Likewise.
42684 * misc/mntent.h: Likewise.
42685 * misc/regexp.h: Likewise.
42686 * misc/search.h: Likewise.
42687 * misc/sgtty.h: Likewise.
42688 * misc/sys/mman.h: Likewise.
42689 * misc/sys/syslog.h: Likewise.
42690 * misc/sys/uio.h: Likewise.
42691 * misc/sys/xattr.h: Likewise.
42692 * misc/ttyent.h: Likewise.
42693 * nis/rpcsvc/ypclnt.h: Likewise.
42694 * nss/nss.h: Likewise.
42695 * posix/bits/unistd.h: Likewise.
42696 * posix/fnmatch.h: Likewise.
42697 * posix/glob.h: Likewise.
42698 * posix/sched.h: Likewise.
42699 * posix/spawn.h: Likewise.
42700 * posix/sys/wait.h: Likewise.
42701 * posix/unistd.h: Likewise.
42702 * posix/wordexp.h: Likewise.
42703 * pwd/pwd.h: Likewise.
42704 * resolv/netdb.h: Likewise.
42705 * resource/sys/resource.h: Likewise.
42706 * rt/aio.h: Likewise.
42707 * rt/bits/mqueue2.h: Likewise.
42708 * rt/mqueue.h: Likewise.
42709 * shadow/shadow.h: Likewise.
42710 * signal/signal.h: Likewise.
42711 * socket/send.c: Likewise.
42712 * socket/sendto.c: Likewise.
42713 * socket/sys/socket.h: Likewise.
42714 * stdio-common/printf.h: Likewise.
42715 * stdlib/bits/stdlib.h: Likewise.
42716 * stdlib/fmtmsg.h: Likewise.
42717 * stdlib/monetary.h: Likewise.
42718 * stdlib/stdlib.h: Likewise.
42719 * stdlib/ucontext.h: Likewise.
42720 * streams/stropts.h: Likewise.
42721 * string/argz.h: Likewise.
42722 * string/bits/string2.h: Likewise.
42723 * string/string.h: Likewise.
42724 * string/strings.h: Likewise.
42725 * sunrpc/rpc/auth.h: Likewise.
42726 * sunrpc/rpc/auth_des.h: Likewise.
42727 * sunrpc/rpc/clnt.h: Likewise.
42728 * sunrpc/rpc/netdb.h: Likewise.
42729 * sunrpc/rpc/pmap_clnt.h: Likewise.
42730 * sunrpc/rpc/xdr.h: Likewise.
42731 * sysdeps/generic/inttypes.h: Likewise.
42732 * sysdeps/generic/net/if.h: Likewise.
42733 * sysdeps/generic/sys/swap.h: Likewise.
42734 * sysdeps/gnu/net/if.h: Likewise.
42735 * sysdeps/gnu/utmpx.h: Likewise.
42736 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42737 * sysdeps/i386/i486/bits/string.h: Likewise.
42738 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42739 * sysdeps/s390/bits/string.h: Likewise.
42740 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42741 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42742 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42743 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42744 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42745 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42746 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42747 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42748 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42749 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42750 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42751 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42752 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42753 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42754 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42755 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42756 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42757 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42758 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42759 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42760 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42761 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42762 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42763 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42764 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42765 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42766 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42767 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42768 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42769 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42770 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42771 * sysvipc/sys/ipc.h: Likewise.
42772 * sysvipc/sys/msg.h: Likewise.
42773 * sysvipc/sys/sem.h: Likewise.
42774 * sysvipc/sys/shm.h: Likewise.
42775 * termios/termios.h: Likewise.
42776 * time/sys/time.h: Likewise.
42777 * time/time.h: Likewise.
42778 * wcsmbs/bits/wchar2.h: Likewise.
42779 * wcsmbs/uchar.h: Likewise.
42780 * wcsmbs/wchar.h: Likewise.
42781 * wctype/wctype.h: Likewise.
42782
0269750c
UD
42783 [BZ #13551]
42784 * Makeconfig: Remove all but ELF support including AIX support.
42785 * Makerules: Likewise.
42786 * config.h.in: Likewise.
42787 * config.make.in: Likewise.
42788 * configure: Likewise.
42789 * configure.in: Likewise.
42790 * csu/Makefile: Likewise.
42791 * csu/version.c: Likewise.
42792 * debug/Makefile: Likewise.
42793 * dlfcn/Makefile: Likewise.
42794 * elf/Makefile: Likewise.
42795 * extra-lib.mk: Likewise.
42796 * iconv/Makefile: Likewise.
42797 * include/libc-symbols.h: Likewise.
42798 * include/shlib-compat.h: Likewise.
42799 * resolv/Makefile: Likewise.
42800 * resolv/res_libc.c: Likewise.
42801 * rt/Makefile: Likewise.
42802 * sysdeps/i386/asm-syntax.h: Likewise.
42803 * sysdeps/i386/sysdep.h: Likewise.
42804 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42805 * sysdeps/mach/sysdep.h: Likewise.
42806 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42807 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42808 * sysdeps/s390/asm-syntax.h: Likewise.
42809 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42811 * sysdeps/sh/sysdep.h: Likewise.
42812 * sysdeps/unix/sparc/sysdep.h: Likewise.
42813 * sysdeps/wordsize-32/divdi3.c: Likewise.
42814 * sysdeps/x86_64/sysdep.h: Likewise.
42815
00bbd29b
UD
42816 * argp/Versions: Remove _argp_unlock_xxx.
42817
42818 [BZ #13559]
42819 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42820 * abilist/libBrokenLocale.abilist: Likewise.
42821 * abilist/libanl.abilist: Likewise.
42822 * abilist/libc.abilist: Likewise.
42823 * abilist/libcrypt.abilist: Likewise.
42824 * abilist/libdl.abilist: Likewise.
42825 * abilist/libm.abilist: Likewise.
42826 * abilist/libnsl.abilist: Likewise.
42827 * abilist/libpthread.abilist: Likewise.
42828 * abilist/libresolv.abilist: Likewise.
42829 * abilist/librt.abilist: Likewise.
42830 * abilist/libthread_db.abilist: Likewise.
42831 * abilist/libutil.abilist: Likewise.
42832 * abilist/libnss_db.abilist: New file.
42833
42834 * scripts/abilist.awk: Add support for indirect functions.
42835
a2693a0e
UD
42836 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42837
3f05895f
UD
42838 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42839
ecb6fb48
UD
42840 * shlib-versions: Remove entries for ports architectures.
42841
664f8cb9
UD
42842 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42843 files in ports.
42844 * elf/stackguard-macros.h: Remove support for IA-64.
42845 * elf/tst-auditmod1.c: Likewise.
42846 * sysdeps/generic/ldsodefs.h: Likewise.
42847
7ae81d88
UD
42848 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42849 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42850 configure files.
42851
bdeba135
UD
42852 [BZ #13552]
42853 * configure.in: Remove --enable-omitfp support.
42854 * FAQ.in: Adjust.
42855 * config.make.in: Likewise.
42856 * Makeconfig: Likewise.
42857 * manual/install.texi: Likewise.
42858
d75a0a62
UD
42859 In case anyone cares, the IA-64 architecture could move to ports.
42860 * sysdeps/ia64/*: Removed.
42861 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42862 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42863
dcc9756b
UD
42864 [BZ #13555]
42865 * configure.in: Remove entries for unsupported architectures.
42866
d3761ebc 42867 [BZ #13533]
9954432e
UD
42868 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42869 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42870 routines.
42871 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42872 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42873 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42874 fall back to using wcrtomb.
42875 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42876 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42877 renaming.
42878 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42879 * wcsmbs/tst-c16c32-1.c: New file.
42880
42881 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42882 local variable.
42883
c3a87236
UD
42884 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42885
28926a1b
UD
42886 * elf/tst-unique3.cc: Add explicit declaration of gets.
42887 * elf/tst-unique3lib.cc: Likewise.
42888 * elf/tst-unique3lib2.cc: Likewise.
42889 * elf/tst-unique4.cc: Likewise.
42890
df78418a
UD
42891 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42892
8ecd6b2a
JM
428932012-01-06 Joseph Myers <joseph@codesourcery.com>
42894
42895 [BZ #13566]
42896 * assert/assert.h (static_assert): Don't define for C++.
42897 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42898 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42899
9f115170
UD
429002012-01-03 Ulrich Drepper <drepper@gmail.com>
42901
5e0d0300
UD
42902 * iconv/loop.c (single loop): Fix assertion in storing of
42903 remaining bytes.
42904
9f115170
UD
42905 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42906
81fb02b0
UD
429072012-01-01 Ulrich Drepper <drepper@gmail.com>
42908
42909 * posix/getconf.c: Update copyright year.
42910 * nss/getent.c: Likewise.
a316c1f6 42911 * nss/makedb.c: Likewise.
81fb02b0
UD
42912 * iconv/iconvconfig.c: Likewise.
42913 * iconv/iconv_prog.c: Likewise.
42914 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42915 * elf/pldd.c: Likewise.
42916 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42917 * catgets/gencat.c: Likewise.
42918 * csu/version.c: Likewise.
42919 * elf/ldd.bash.in: Likewise.
42920 * elf/sprof.c (print_version): Likewise.
42921 * locale/programs/locale.c: Likewise.
42922 * locale/programs/localedef.c: Likewise.
a316c1f6 42923 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42924 * nscd/nscd.c (print_version): Likewise.
42925 * debug/xtrace.sh: Likewise.
42926 * malloc/memusage.sh: Likewise.
42927 * malloc/mtrace.pl: Likewise.
42928 * debug/catchsegv.sh: Likewise.
42929
2ba92745
JJ
429302011-12-30 Jakub Jelinek <jakub@redhat.com>
42931
42932 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42933 pure attribute.
42934
dadebdae
UD
429352011-12-24 Ulrich Drepper <drepper@gmail.com>
42936
d3761ebc 42937 [BZ #13533]
db6af3eb
UD
42938 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42939 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42940 transformations.
42941 * iconv/gconv_int.h: Likewise.
42942 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42943 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42944 from libc for GLIBC_2.16.
42945 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42946 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42947 * wcsmbs/uchar.h: Really define mbstate_t.
42948 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42949 * wcsmbs/c16rtomb.c: New file.
42950 * wcsmbs/mbrtoc16.c: New file.
42951 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42952 for C/POSIX locale.
42953 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42954 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42955
dadebdae
UD
42956 * wcsmbs/wchar.h: Add missing __restrict.
42957
67371b56
UD
429582011-12-23 Ulrich Drepper <drepper@gmail.com>
42959
74033a25
UD
42960 [BZ #13532]
42961 * time/Makefile (routines): Add timespec_get.
42962 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42963 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42964 timespec for ISO C11.
42965 * time/timespec_get.c: New file.
42966 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42967 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42968
380d7e87
UD
42969 [BZ #13531]
42970 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42971 * stdlib/stdlib.h: Declare aligned_alloc.
42972 * Versions.def: Add GLIBC_2.16 for libc.
42973 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42974
4e9e7a35
UD
42975 [BZ 13527]
42976 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42977 ISO C11.
42978
380d7e87 42979 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42980 code.
42981
03a71829
UD
42982 [BZ #13528]
42983 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42984
839e283e
UD
42985 [BZ #13529]
42986 * assert/assert.h (static_assert): Define.
42987
ce5294e2 42988 * version.h: Update for 2.16 development version.
90fa7312 42989
8d44e150 42990 [BZ #13526]
d7809905
UD
42991 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42992 _ISOC11_SOURCE.
42993
c0da14cd
UD
42994 * version.h (RELEASE): Bump for 2.15 release.
42995 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42996
530a3249
MP
42997 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42998 Patch by Marek Polacek <mpolacek@redhat.com>.
42999
67371b56
UD
43000 * bits/byteswap.h: Protect long long constants with __extension__.
43001 * sysdeps/i386/bits/byteswap.h: Likewise.
43002 * sysdeps/ia64/bits/byteswap.h: Likewise.
43003 * sysdeps/s390/bits/byteswap.h: Likewise.
43004 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43005
15db4de1
LD
430062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43007
43008 [BZ #13540]
bbe315ea
LD
43009 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43010 destination buffer.
15db4de1
LD
43011 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43012
2b2596b1
MP
430132011-12-23 Marek Polacek <polacek@redhat.com>
43014
43015 * elf/dl-addr.c (determine_info): Add inline keyword.
43016 * elf/tst-auditmod4b.c (check_avx): Likewise.
43017 * elf/tst-auditmod6b.c (check_avx): Likewise.
43018 * elf/tst-auditmod6c.c (check_avx): Likewise.
43019 * elf/tst-auditmod7b.c (check_avx): Likewise.
43020
70c6c246
UD
430212011-12-23 Ulrich Drepper <drepper@gmail.com>
43022
43023 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43024 !__SSE_MATH__.
43025
c044cf14
LD
430262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43027
15db4de1 43028 [BZ #13540]
c044cf14
LD
43029 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43030 processing for last bytes.
43031
6b13d9d9
BH
430322011-08-06 Bruno Haible <bruno@clisp.org>
43033
d455f537
BH
43034 [BZ #13061]
43035 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43036 U+0385, not to U+1FEE.
43037
6b13d9d9
BH
43038 [BZ #13062]
43039 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43040 entry for U+00A5 U+0301.
43041
db910efd
UD
430422011-12-22 Ulrich Drepper <drepper@gmail.com>
43043
27deeafc
UD
43044 [BZ #13166]
43045 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43046 buffer for the output is too small.
43047
aed9d171
UD
43048 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43049 optimization.
43050
db910efd
UD
43051 [BZ #13185]
43052 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43053 SSE flags if possible.
43054
2bd779ae
LD
430552011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43056
e7f9dac3 43057 [BZ #13540]
2bd779ae
LD
43058 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43059 processing for last bytes.
43060
154bfc16
JM
430612011-12-22 Joseph Myers <joseph@codesourcery.com>
43062
43063 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43064 (syscall-list-default-options, syscall-list-default-condition)
43065 (syscall-list-includes): Define.
43066 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43067 list of ABIs and options and #if conditions for each ABI. Do not
43068 handle common syscalls between ABIs specially.
43069 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43070 Remove.
43071 (syscall-list-variants, syscall-list-32bit-options)
43072 (syscall-list-32bit-condition, syscall-list-64bit-options)
43073 (syscall-list-64bit-condition): Define.
43074 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43075 (syscall-list-variants, syscall-list-32bit-options)
43076 (syscall-list-32bit-condition, syscall-list-64bit-options)
43077 (syscall-list-64bit-condition): Define.
43078 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43079 Remove.
43080 (syscall-list-variants, syscall-list-32bit-options)
43081 (syscall-list-32bit-condition, syscall-list-64bit-options)
43082 (syscall-list-64bit-condition): Define.
43083 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43084 Remove.
43085 (syscall-list-variants, syscall-list-32bit-options)
43086 (syscall-list-32bit-condition, syscall-list-64bit-options)
43087 (syscall-list-64bit-condition): Define.
43088
21eaf3a5
UD
430892011-12-22 Ulrich Drepper <drepper@gmail.com>
43090
16c6f992
UD
43091 * locale/iso-639.def: Add brx entry.
43092
41043168
UD
43093 [BZ #13328]
43094 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43095 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43096
21eaf3a5
UD
43097 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43098 __feraiseexcept_renamed.
43099
e3a851a2
UD
431002011-12-21 Ulrich Drepper <drepper@gmail.com>
43101
4920765e
UD
43102 [BZ #13538]
43103 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43104 EPOLLET with unsigned values.
43105 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43106 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43107
e3a851a2
UD
43108 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43109 to large cancellation.
43110 * math/s_cacoshf.c: Likewise.
43111 * math/s_cacoshl.c: Likewise.
43112
b27e24b8
RK
431132011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43114
43115 [BZ #13305]
aebefeee 43116 [BZ #12786]
b27e24b8
RK
43117 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43118 * math/s_cacoshf.c: Likewise.
43119 * math/s_cacoshl.c: Likewise.
43120
ee190f67
UD
431212011-12-21 Ulrich Drepper <drepper@gmail.com>
43122
43123 [BZ #13439]
43124 * iconv/gconv.h: Define __GCONV_SWAP.
43125 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43126 * iconvdata/utf-16.c: Likewise.
43127 * iconvdata/utf-32.c: Likewise.
43128
707f25df
AS
431292011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43130
43131 [BZ #13524]
43132 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43133 numerator after shifting it by one limb.
43134
d2daaa1e
RÁE
431352011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43136
43137 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43138 under [__USE_EXTERN_INLINES].
43139
a4647e72
UD
431402011-12-17 Ulrich Drepper <drepper@gmail.com>
43141
43142 [BZ #13446]
43143 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43144
f0b264f1
AZ
431452011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43146
43147 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43148 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43149 optimized code.
43150 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43151 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43152 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43153 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43154 for strncasecmp/strncasecmp_l compilation.
43155 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43156 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43157
8ef4f244
MP
431582011-12-08 Marek Polacek <mpolacek@redhat.com>
43159
43160 [BZ #13484]
43161 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43162 of __asm__.
43163
97ac2654
UD
431642011-12-17 Ulrich Drepper <drepper@gmail.com>
43165
43166 [BZ #13506]
43167 * time/tzfile.c (__tzfile_read): Check values from file header.
43168
91d2a845
WS
431692011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43170
43171 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43172 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43173 * powerpc/powerpc32/dl-start.S: Likewise.
43174 * powerpc/powerpc32/elf/start.S: Likewise.
43175 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43176 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43177 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43178 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43179 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43180 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43181 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43182 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43183 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43184 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43185 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43186 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43187 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43188 * powerpc/powerpc32/memset.S: Likewise.
43189 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43190 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43191 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43192 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43193 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43194 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43195 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43196 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43197 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43198 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43199 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43200 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43201 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43202
a1267ba1
AZ
432032011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43204
43205 * math/libm-test.inc: Added more nearbyint tests.
43206 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43207 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43208 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43210
ad8ac1bd
RL
432112011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43212
43213 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43214 FD_CLOEXEC.
43215
1d3e4b61
UD
432162011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43217
43218 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43219 Add wcscpy-ssse3 wcscpy-c.
43220 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43221 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43222 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43223 * sysdeps/x86_64/wcschr.S: New file.
43224 * sysdeps/x86_64/wcsrchr.S: New file.
43225 * string/test-strcmp.c: Remove checking of wcscmp function for
43226 wrong alignments.
43227 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43228 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43229 wcsrchr-sse2 wcsrchr-c.
43230 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43231 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43232 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43233 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43234 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43235 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43236 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43237 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43238 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43239 * wcsmbc/wcschr.c (WCSCHR): New macro.
43240
5b330a2d
UD
432412011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43242
43243 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43244 * wcsmbs/test-wcsrchr.c: New file.
43245 * string/test-strrchr.c: Add wcsrchr support.
43246 (WIDE): New macro.
43247 * wcsmbs/test-wcscpy.c: New file.
43248 * string/test-strcpy.c: Add wcscpy support.
43249 (WIDE): New macro.
26428b7c 43250
f039c043
UD
432512011-12-10 Ulrich Drepper <drepper@gmail.com>
43252
43253 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43254 the inner loop.
43255
850fb039
AS
432562011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43257
43258 [BZ #13472]
43259 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43260
4efbd5cb
UD
432612011-12-04 Ulrich Drepper <drepper@gmail.com>
43262
52ff5dd0 43263 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43264 Minor optimizations.
52ff5dd0 43265
4efbd5cb
UD
43266 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43267 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43268 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43269
8a426e12
UD
432702011-12-03 Ulrich Drepper <drepper@gmail.com>
43271
aff2453d
UD
43272 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43273 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43274 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43275 for gcc to avoid warnings.
43276 * inet/Makefile (tests): Add tst-checks.
43277 * inet/tst-checks.c: New file.
43278
43279 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43280 warning.
43281
43282 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43283 __wmemcmp_sse2.
43284
43285 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43286 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43287
8a426e12
UD
43288 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43289
9bea3473
UD
432902011-12-02 Ulrich Drepper <drepper@gmail.com>
43291
3a965496
UD
43292 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43293 problem.
43294
9bea3473
UD
43295 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43296
f101631b
UD
432972011-11-29 Joseph Myers <joseph@codesourcery.com>
43298
43299 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43300 conditional on GCC version.
43301 (__arch_compare_and_exchange_val_8_acq)
43302 (__arch_compare_and_exchange_val_16_acq)
43303 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43304 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43305 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43306
a98275aa
UD
433072011-12-02 Joseph Myers <joseph@codesourcery.com>
43308
43309 * sysdeps/sh/backtrace.c: New file.
43310
d4cc29a2
AS
433112011-12-02 Andreas Schwab <schwab@redhat.com>
43312
43313 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43314 parenthesis.
43315
6257af2d
AS
433162011-12-01 Andreas Schwab <schwab@redhat.com>
43317
43318 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43319 falling back to utime.
43320
b5f44c1a
AS
433212011-11-30 Andreas Schwab <schwab@redhat.com>
43322
43323 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43324 expectations for float.
43325
f3a6cc0a
AS
433262011-11-29 Andreas Schwab <schwab@redhat.com>
43327
43328 * locale/weight.h (findidx): Add parameter len.
43329 * locale/weightwc.h (findidx): Likewise.
43330 * posix/fnmatch_loop.c (FCT): Adjust caller.
43331 * posix/regcomp.c (build_equiv_class): Likewise.
43332 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43333 * posix/regexec.c (check_node_accept_bytes): Likewise.
43334 * string/strcoll_l.c (STRCOLL): Likewise.
43335 * string/strxfrm_l.c (STRXFRM): Likewise.
43336
9d65ea3a
UD
433372011-11-17 Ulrich Drepper <drepper@gmail.com>
43338
43339 * Makefile.in: Remove CVSOPT handling.
43340 * configure.in: Remove use of AC_REVISION.
43341 * iconvdata/Makefile (distribute): No need to filter out CVS.
43342 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43343 handling.
43344
5583a086
AS
433452011-11-16 Andreas Schwab <schwab@redhat.com>
43346
43347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43348 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43349 [USE_AS_STRNCASECMP_L]: Likewise.
43350 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43351 NO_TLS_DIRECT_SEG_REFS.
43352 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43353 Fix argument offsets for non-PIC.
43354 [USE_AS_STRNCASECMP_L]: Likewise.
43355 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43356 NO_TLS_DIRECT_SEG_REFS.
43357
d62a8200
UD
433582011-11-15 Ulrich Drepper <drepper@gmail.com>
43359
9d65ea3a 43360 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43361 O_CLOEXEC.
43362 * locale/loadlocale.c (_nl_load_locale): Likewise.
43363
09f93bd3
AS
433642011-11-15 Andreas Schwab <schwab@redhat.com>
43365
446514f9
AS
43366 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43367 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43368 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43369 (SYSCALL_GETTIME): Set errno on error.
43370
09f93bd3
AS
43371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43372 count references to noai6ai_cached.
43373
312be3f9
UD
433742011-11-15 Ulrich Drepper <drepper@gmail.com>
43375
43376 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43377
43378 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43379 FD_CLOEXEC for /proc/self/maps.
43380
43381 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43382 FD_CLOEXEC for /proc/meminfo.
43383
43384 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43385 gai.conf.
43386
43387 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43388 FD_CLOEXEC for given file.
43389
43390 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43391
43392 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43393 FD_CLOEXEC for /etc/hosts.
43394 (_gethtent): Likewise.
43395
43396 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43397
43398 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43399 cancellation and set FD_CLOEXEC for /etc/netgroup.
43400
43401 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43402 reading /etc/publickey.
43403
43404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43405 allow cancellation when reading /etc/group.
43406
43407 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43408 cancellation.
43409 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43410
43411 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43412 when using data file.
43413
43414 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43415
43416 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43417 (write_nis_obj): Use "c" and "e" in fopen.
43418
43419 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43420
43421 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43422
43423 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43424
43425 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43426
43427 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43428 locale.alias.
43429
43430 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43431
43432 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43433
43434 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43435
43436 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43437 file parsing and set FD_CLOEXEC.
43438
82af0fa8
UD
434392011-11-14 Ulrich Drepper <drepper@gmail.com>
43440
43441 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43442
a5fb313c
AS
434432011-11-14 Andreas Schwab <schwab@redhat.com>
43444
43445 * malloc/arena.c (arena_get2): Don't call reused_arena when
43446 _int_new_arena failed.
43447
6abf3465
UD
434482011-11-14 Ulrich Drepper <drepper@gmail.com>
43449
43450 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43451 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43452 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43453 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43454 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43455 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43456 to compile strcasecmp and strncasecmp.
43457 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43458 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43459
43460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43461
76e3966e
UD
434622011-11-13 Ulrich Drepper <drepper@gmail.com>
43463
43464 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43465 locale-defines.sym to gen-as-const-headers.
43466 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43467 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43468 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43469 to compile strcasecmp and strncasecmp.
43470 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43471 strcasecmp_l and strncasecmp_l.
43472 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43473 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43474 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43475 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43476 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43477 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43478 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43479 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43480 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43481 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43482 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43483
ab26144e
UD
434842011-11-12 Ulrich Drepper <drepper@gmail.com>
43485
7edb22ef
UD
43486 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43487 result of SYSDEP_GETTIME_CPU to retval.
43488 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43489 parameter list to macro. Remove trailing semicolon. Adjust users.
43490
9694fc44
UD
43491 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43492 variable.
43493
8ad89ef8
UD
43494 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43495 mantissa words.
43496 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43497
0c822ef9
UD
43498 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43499 from unused variable.
43500
874e0564
UD
43501 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43502 DWARF definitions.
43503 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43504 for assembling.
43505
3a2edc79
UD
43506 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43507 over namespaces.
43508
f3c2577f
UD
43509 * sunrpc/rpc_prot.c (rejected): Fix case value.
43510
294ce126
UD
43511 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43512 unsigned long long int to avoid warnings in shift.
43513
5e2b63c6
UD
43514 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43515 of use of trans.
43516 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43517 variable tmp.
43518
e7f4b08e
UD
43519 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43520 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43521 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43522
ab26144e
UD
43523 * nis/nis_table.c (nis_list): Use variable of correct type for
43524 result of __follow_path call.
43525
8a6d5255
AZ
435262011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43527
43528 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43529 of math functions ceil, trunc, floor, round, and sqrt, when
43530 avaliable on the platform.
43531 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43532 name clash.
43533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43534 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43535 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43536
aaddc98c
MP
435372011-10-30 Marek Polacek <mpolacek@redhat.com>
43538
43539 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43540 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43541
95b7042b
RM
435422011-11-11 Roland McGrath <roland@hack.frob.com>
43543
43544 * include/unistd.h: Fix __readlink return type.
43545 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43546
57769839
UD
435472011-11-11 Ulrich Drepper <drepper@gmail.com>
43548
43549 * stdlib/ucontext.h: Undo last change for makecontext.
43550
edc5984d
AS
435512011-11-11 Andreas Schwab <schwab@redhat.com>
43552
98591e58
AS
43553 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43554
edc5984d
AS
43555 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43556 * setjmp/setjmp.h: Mark functions as non-leaf.
43557 * setjmp/bits/setjmp2.h: Likewise.
43558 * stdlib/ucontext.h: Likewise.
43559
77cdc054
AS
435602011-11-10 Andreas Schwab <schwab@redhat.com>
43561
43562 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43563 (reused_arena): Don't check arena limit.
43564 (arena_get2): Atomically check arena limit.
43565
fe72eebd
UD
435662011-11-08 Ulrich Drepper <drepper@gmail.com>
43567
5f078c32
UD
43568 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43569 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43570
fe72eebd
UD
43571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43572 instructions.
43573
ae1bc2fa
AS
435742011-11-07 Andreas Schwab <schwab@redhat.com>
43575
7583a88d
AS
43576 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43577 handler when locking.
43578
ae1bc2fa
AS
43579 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43580 Fix size of allocated buffer.
43581
10fb0bfa
AS
435822011-11-04 Andreas Schwab <schwab@redhat.com>
43583
998832a4
AS
43584 [BZ #10103]
43585 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43586 declarations for long double functions.
43587 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43588
10fb0bfa
AS
43589 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43590
3d7ba52b
AS
435912011-11-03 Andreas Schwab <schwab@redhat.com>
43592
a9ae54a1
AS
43593 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43594 installed.
43595
3d7ba52b
AS
43596 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43597 is disabled.
43598
bc8db248
ST
435992011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43600
43601 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43602
45b96dd6
AS
436032011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43604
647776f6
AS
43605 * include/alloca.h (stackinfo_alloca_round): Define.
43606 (extend_alloca): Use it.
43607 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43608 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43609 here.
43610
d91a8b93
AS
43611 * scripts/check-local-headers.sh: Ignore libaudit.h.
43612
45b96dd6
AS
43613 * nscd/Makefile (extra-objs): Make recursively expanded.
43614
432d41ce
UD
436152011-11-01 Ulrich Drepper <drepper@gmail.com>
43616
34372fc6
UD
43617 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43618 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43619
fadb59f8
UD
43620 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43621 * posix/tst-rfc3484-2.c: Likewise.
43622 * posix/tst-rfc3484-3.c: Likewise.
43623
78239589
UD
43624 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43625 process_vm_writev.
43626 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43627 process_vm_writev.
43628 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43629 process_vm_writev from libc using GLIBC_2.15 version.
43630
432d41ce
UD
43631 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43632
02f9c6cf
PP
436332011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43634
43635 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43636 stack usage.
43637
3a2c0242
UD
436382011-10-31 Ulrich Drepper <drepper@gmail.com>
43639
f4ec4833
UD
43640 [BZ #13367]
43641 * nss/getent.c (initgroups_keys): Show error message in case no group
43642 names are given.
43643
3a2c0242
UD
43644 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43645 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43646 __bump_nl_timestamp.
43647 * nscd/connections (nscd_init): When host database is served open
43648 netlink socket and request notification about configuration changes.
43649 (main_loop_poll): Track netlink file descriptor and bump timestamp
43650 in case data becomes available.
43651 (main_loop_epoll): Likewise.
43652 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43653 (database_pers_head): Add extra_data fileds.
43654 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43655 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43656 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43657 Adjust caller.
43658 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43659 in6ai data, call __free_in6ai.
43660 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43661 Add -DHAVE_NETLINK.
43662 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43663 interface information. Reuse previous data if netlink timestamp
43664 is not changed.
43665 (__bump_nl_timestamp): New function.
43666 (__free_in6ai): New function.
43667
636064eb
UD
436682011-10-30 Ulrich Drepper <drepper@gmail.com>
43669
43670 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43671 close_not_cancel_no_status here.
43672 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43673
9beb2334
UD
436742011-10-29 Ulrich Drepper <drepper@gmail.com>
43675
6ef76f3b
UD
43676 [BZ #13276]
43677 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43678 return value.
43679
0ffc4f3e 43680 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43681 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43682 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43683
cb95113e
UD
436842011-07-03 Andreas Jaeger <aj@suse.de>
43685
43686 [BZ #10709]
43687 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43688 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43689 * math/libm-test.inc (sin_test): Add test case.
43690
a1b560ff
UD
436912011-10-29 Ulrich Drepper <drepper@gmail.com>
43692
c9aaface
UD
43693 [BZ #13337]
43694 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43695 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43696
d272e7f1
UD
43697 * elf/chroot_canon.c (chroot_canon): Cleanups.
43698
1bc33071
UD
43699 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43700
1760874d
TJ
43701 [BZ #13335]
43702 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43703 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43704
51d91b18
UD
43705 * string/test-strchr.c: Make usable for strchrnul testing.
43706 * string/test-strchrnul.c: New file.
43707 * string/Makefile (strop-tests): Add strchrnul.
43708
a1b560ff 43709 * po/it.po: Update from translation team.
b611fb81 43710 * po/es.po: Likewise.
a1b560ff 43711
a5b81e1f
UD
437122011-10-28 Ulrich Drepper <drepper@gmail.com>
43713
fd52bc6d
UD
43714 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43715 the three constants needed as parameters. Drop the others.
43716 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43717 __m128i_strloadu_tolower.
52e4b9eb
UD
43718 Create and initialize variable zero and use it in all the places
43719 where _mm_setzero_si128 was used.
fd52bc6d 43720
a5b81e1f
UD
43721 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43722 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43723 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43724 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43725 anymore.
43726 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43727 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43728 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43729 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43730 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43731 __mpranred, __mptan.
43732 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43733 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43734 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43735 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43736 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43737 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43738 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43739 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43740 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43741
b4343346
AS
437422011-10-28 Andreas Schwab <schwab@redhat.com>
43743
0c92d8a8
AS
43744 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43745 redefine if SHARED.
43746 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43747
b4343346
AS
43748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43749 wide char related routines to wcsmbs subdir.
43750
3871f58f
AS
437512011-10-27 Andreas Schwab <schwab@redhat.com>
43752
43753 [BZ #13344]
43754 * misc/sys/cdefs.h (__THROWNL): Define.
43755 * posix/unistd.h: Use __THREADNL instead of __THREAD
43756 for memory synchronization functions.
43757
94d44d9f
RM
437582011-10-26 Roland McGrath <roland@hack.frob.com>
43759
21b64b15 43760 [BZ #13349]
94d44d9f
RM
43761 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43762 doesn't exist.
43763 * manual/stdio.texi (Obstack Streams): Node removed.
43764
f6ce9294
AS
437652011-10-26 Andreas Schwab <schwab@redhat.com>
43766
80479147
AS
43767 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43768 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43769 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43770
f6ce9294
AS
43771 * math/math_private.h (math_force_eval): Allow non-addressable
43772 arguments.
43773 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43774
618280a1
UD
437752011-10-25 Ulrich Drepper <drepper@gmail.com>
43776
e0016b11
UD
43777 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43778 file is not needed.
43779
43780 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43781 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43782 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43783 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43784 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43785 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43786 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43787 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43788 Add AVX variants.
43789 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43790 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43791 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43792 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43793 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43794 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43795 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43796 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43797 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43798 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43799 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43800 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43801 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43802 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43803 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43804 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43805 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43806 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43807 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43808
43809 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43810 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43811
618280a1
UD
43812 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43813 place. Use VEX encoding when compiling for AVX.
43814
37822576
AS
438152011-10-25 Andreas Schwab <schwab@redhat.com>
43816
1f1e1947
AS
43817 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43818 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43819
37822576
AS
43820 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43821
31ea014d
UD
438222011-10-25 Ulrich Drepper <drepper@gmail.com>
43823
d7826aa1 43824 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43825 useless if() expression.
d7826aa1
UD
43826 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43827 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43828 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43829 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43830 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43831 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43832 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43833 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43834 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43835 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43836 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43837 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43838 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43839 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43840 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43841 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43842 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43843 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43844 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43845
31ea014d
UD
43846 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43847
16437fec
AS
438482011-10-25 Andreas Schwab <schwab@redhat.com>
43849
43850 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43851 condition.
43852 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43853
31d3cc00
UD
438542011-10-25 Ulrich Drepper <drepper@gmail.com>
43855
43856 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43857 .text section. Avoid duplicate constants.
43858 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43860 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43861 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43862 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43867 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43868 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43869 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43870 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43871 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43872 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43873 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43874 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43875 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43876 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43878 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43879 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43880 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43881 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43882 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43883 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43884 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43885 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43886 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43887 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43888 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43889 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43890 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43891 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43892 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43893 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43894 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43895 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43896 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43897 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43898 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43899 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43900 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43901 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43902 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43903
58985aa9
UD
439042011-10-24 Ulrich Drepper <drepper@gmail.com>
43905
202c9deb
UD
43906 * sysdeps/x86_64/dla.h: Move to ...
43907 * sysdeps/x86_64/fpu/dla.h: ...here.
43908 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43909 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43910
af968f62
UD
43911 * config.make.in: Add have-mfma4 entry.
43912 * configure.in: Substitute libc_cv_cc_fma4.
43913 * math/Makefile (dbl-only-routines): Add sincostab.
43914 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43915 Use __sincostab not sincos.
43916 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43917 name is a macro.
43918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43922 using __copysign.
43923 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43924 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43925 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43926 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43927 and __inv.
43928 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43929 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43930 __copysign.
43931 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43932 define aliases when function name is a macro.
43933 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43934 sysdeps/ieee754/dbl-64/sincos.tbl.
43935 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43936 fma4-enabled routines.
43937 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43938 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43939 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43940 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43941 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43942 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43943 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43944 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43945 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43946 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43947 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43948 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43949 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43950 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43951 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43952 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43953 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43954 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43955 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43956 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43957 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43958 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43960 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43961 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43962 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43963 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43964 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43965 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43966 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43967
58985aa9
UD
43968 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43969 rename.
43970 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43971 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43972 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43976 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43978
a201fbcf
AS
439792011-10-24 Andreas Schwab <schwab@redhat.com>
43980
43981 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43982
fc2ee42a
LD
439832011-10-23 Ulrich Drepper <drepper@gmail.com>
43984
bb3129bd
UD
43985 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43986
0275fff8
UD
43987 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43988 prediction.
43989 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43990
2fa2ae85
UD
43991 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43992 Remove unused variable magic_bits.
43993 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43994
fc2ee42a
LD
43995 * string/strnlen.c: Define and use STRNLEN macro.
43996 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43997 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43999 * wcsmbs/wcslen.c: Define and use WCSLEN.
44000 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44001 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44002 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44003 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44004 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44005 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44006 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44007
ce7dd29f
LD
440082011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44009
44010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44011 strnlen-sse2-no-bsf.
44012 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44013 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44014 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44015 Add strnlen support.
44016 (USE_AS_STRNLEN): New macro.
44017 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44018 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44019 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44020 * sysdeps/x86_64/wcslen.S: New file.
44021
979c70a3
MZ
440222011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44023
44024 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44025 XMM-moves are used for copying on small sizes.
44026
2d09f82f
LD
440272011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44028
44029 * wcsmbs/Makefile (strop-tests): Add wcschr.
44030 * wcsmbs/test-wcschr.c: New file.
44031 * string/test-strchr.c: Update.
44032 Add wcschr support.
44033 (WIDE): New macro.
44034
619fccca
LD
440352011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44036
2d09f82f 44037 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44038 * wcsmbs/test-wcslen.c: New file.
44039 * string/test-strlen.c: Update.
44040 Add wcslen support.
44041 (WIDE): New macro.
44042
09f699ea
UD
440432011-10-23 Ulrich Drepper <drepper@gmail.com>
44044
44045 * po/it.po: Update from translation team.
44046
95584d3b
LD
440472011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44048
44049 * sysdeps/x86_64/wcscmp.S: Update.
44050 Fix wrong comparison semantics.
44051 wcscmp shall use signed comparison not unsigned.
44052 Don't use substraction to avoid overflow bug.
44053 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44054 * wcsmbc/wcscmp.c: Likewise.
44055 * string/test-strcmp.c: Likewise.
44056 Add new tests to check cases with negative values.
44057
c8b3296b
UD
440582011-10-23 Ulrich Drepper <drepper@gmail.com>
44059
44060 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44061 * sysdeps/x86_64/dla.h: ...here. New file.
44062 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44063 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44067 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44068 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44069 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44071
246ad57a
AS
440722011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44073
44074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44075 __ynl_finite aliases.
44076
a1a87169
UD
440772011-10-22 Ulrich Drepper <drepper@gmail.com>
44078
0d355eb7
UD
44079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44080
a1a87169
UD
44081 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44082 define DLA_FMA.
44083 [DLA_FMA] (EMULV): Use DLA_FMA.
44084 [DLA_FMA] (MUL12): Use EMULV.
44085 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44086 that are not needed.
44087 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44091 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44092 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44093 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44094
ee2aafe0
AS
440952011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44096
44097 * math/s_nan.c: Undef __nan.
44098 * math/s_nanf.c: Undef __nanf.
44099 * math/s_nanl.c: Undef __nanl.
44100 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44101 "math_private.h".
44102
bc62c2fb
UD
441032011-10-22 Ulrich Drepper <drepper@gmail.com>
44104
77425c63
UD
44105 * math/s_catan.c: Add branch predictions.
44106 * math/s_catanf.c: Likewise.
44107 * math/s_catanh.c: Likewise.
44108 * math/s_catanhf.c: Likewise.
44109 * math/s_catanhl.c: Likewise.
44110 * math/s_catanl.c: Likewise.
44111 * math/s_cexp.c: Likewise.
44112 * math/s_cexpf.c: Likewise.
44113 * math/s_cexpl.c: Likewise.
44114 * math/s_clog.c: Likewise.
44115 * math/s_clog10.c: Likewise.
44116 * math/s_clog10f.c: Likewise.
44117 * math/s_clog10l.c: Likewise.
44118 * math/s_clogf.c: Likewise.
44119 * math/s_clogl.c: Likewise.
44120 * math/s_csqrt.c: Likewise.
44121 * math/s_csqrtf.c: Likewise.
44122 * math/s_csqrtl.c: Likewise.
44123 * math/s_ctanf.c: Likewise.
44124 * math/s_ctanh.c: Likewise.
44125 * math/s_ctanhf.c: Likewise.
44126 * math/s_ctanhl.c: Likewise.
44127 * math/s_ctanl.c: Likewise.
44128
bc62c2fb
UD
44129 * math/math_private.h: Define __nan, __nanf, __nanl.
44130 * math/s_cacosh.c: Include <math_private.h>.
44131 * math/s_cacoshl.c: Likewise.
44132 * math/s_casinh.c: Likewise.
44133 * math/s_casinhf.c: Likewise.
44134 * math/s_casinhl.c: Likewise.
44135 * math/s_ccos.c: Rely entire on ccosh.
44136 * math/s_ccosf.c: Rely entire on ccoshf.
44137 * math/s_ccosl.c: Rely entirely on ccoshl.
44138 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44139 Remove tests for FE_INVALID.
44140 * math/s_ccoshf.c: Likewise.
44141 * math/s_ccoshl.c: Likewise.
44142 * math/s_csin.c: Likewise.
44143 * math/s_csinf.c: Likewise.
44144 * math/s_csinh.c Likewise.
44145 * math/s_csinhf.c: Likewise.
44146 * math/s_csinhl.c: Likewise.
44147 * math/s_csinl.c: Likewise.
44148 * math/s_ctan.c: Likewise.
44149 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44150 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44151 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44152
8ec250a4
UD
441532011-10-21 Ulrich Drepper <drepper@gmail.com>
44154
c196fed8
UD
44155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44156 compilation problems.
44157
8ec250a4
UD
44158 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44159 __builtin_expect.
44160
8d4f46c6
UD
441612011-10-20 Ulrich Drepper <drepper@gmail.com>
44162
ed72b654
UD
44163 * sysdeps/i386/configure.in: Test for -mfma4 option.
44164 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44165 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44166 COMMON_CPUID_INDEX_80000001.
44167 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44168 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44169 use it if FMA3 is not supported.
44170 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44171
8d4f46c6
UD
44172 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44173 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44174
d45c60c2
AS
441752011-10-20 Andreas Schwab <schwab@redhat.com>
44176
44177 [BZ #12892]
44178 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44179 it would create a cycle with a link time dependency.
44180
d9a4d2ab
UD
441812011-10-19 Ulrich Drepper <drepper@gmail.com>
44182
855d1560
UD
44183 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44184 instruction.
44185 * string/Makefile (strop-tests): Add rawmemchr.
44186 * string/test-rawmemchr.c: New file.
44187
d9a4d2ab
UD
44188 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44189 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44190 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44191 when compiling str{,n}casecmp and when AVX is available. Hook up
44192 new optimized code in initializers.
44193
8f3b1ffe
AS
441942011-10-19 Andreas Schwab <schwab@redhat.com>
44195
44196 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44197 __feraiseexcept instead of feraiseexcept.
44198
d38f1dba
UD
441992011-10-18 Ulrich Drepper <drepper@gmail.com>
44200
d9a8d0ab
UD
44201 * math/math_private.h: Define defaults for libc_fetestexcept and
44202 libc_feupdateenv.
44203 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44204 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44205 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44206 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44207 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44208 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44209 libc_fetestexcept and libc_feupdateenv.
44210
4855e3dd
UD
44211 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44212 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44213 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44214 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44215 libc_feholdexcept_setround.
44216
581d30e3
UD
44217 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44218 Add s_nearbyint-c and s_nearbyintf-c.
44219 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44220 nearbyintf inlines.
44221 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44222 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44223 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44224 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44225
d38f1dba
UD
44226 * math/math_private.h: Define defaults for libc_fegetround,
44227 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44228 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44229 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44230 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44231 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44232 standard functions.
44233 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44234 Remove comments and hacks for old compiler versions.
44235 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44236 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44237 libc_feholdexceptl.
44238
caa6c9d8
AS
442392011-10-18 Andreas Schwab <schwab@redhat.com>
44240
44241 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44242 (__feraiseexcept_renamed): Add __NTH.
44243 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44244 namespace violations.
44245
97c066e6
UD
442462011-10-17 Ulrich Drepper <drepper@gmail.com>
44247
99ce7b04
UD
44248 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44249
1004d182
UD
44250 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44251
228a984d
UD
44252 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44253 recently added interfaces.
44254 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44255
c8553a6a
UD
44256 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44257 about macro parameter expansion.
44258
ed22dcf6
UD
44259 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44260 __NO_MATH_INLINES is defined. Cleanups.
44261
44262 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44263 and __floorf is target has SSE4.1.
44264 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44265 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44266 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44267 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44268
b171c137
UD
44269 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44270 name.
44271 (floorf): Likewise.
44272
97c066e6
UD
44273 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44274
629f62ef
AS
442752011-10-17 Andreas Schwab <schwab@redhat.com>
44276
49a43d80
AS
44277 * misc/sys/cdefs.h: Fix last change.
44278
629f62ef
AS
44279 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44280 database lookup.
44281
e453f6cd
UD
442822011-10-16 Ulrich Drepper <drepper@gmail.com>
44283
aa78043a
UD
44284 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44285
ad0f5cad
UD
44286 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44287 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44288 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44289 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44290 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44291 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44292 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44293 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44294 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44295 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44296 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44297 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44298 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44299 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44300 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44301 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44302 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44303 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44304 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44305 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44306 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44307 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44308
44309 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44310 ceil, ceilf, floor, floorf.
44311
44312 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44313 Perform IRELATIVE relocations last.
44314
e453f6cd
UD
44315 * elf/do-rel.h: Add another parameter nrelative, replacing the
44316 local variable with the same name. Change name of the function
44317 to end in Rel or Rela (uppercase).
44318 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44319 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44320 elf_dynamic_do_##reloc function.
44321
fd5bdc09
UD
443222011-10-15 Ulrich Drepper <drepper@gmail.com>
44323
79b195b5
UD
44324 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44325 is sufficient, at least on modern CPUs.
44326
d4a28569
UD
44327 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44328
b61099b5
UD
44329 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44330 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44331
bcf01e6d
UD
44332 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44333 __expl_finite.
44334 * math/bits/math-finite.h: Add entries for exp.
44335 * math/e_expl.c: Add __*_finite alias.
44336 * sysdeps/i386/fpu/e_exp.S: Likewise.
44337 * sysdeps/i386/fpu/e_expf.S: Likewise.
44338 * sysdeps/i386/fpu/e_expl.c: Likewise.
44339 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44340 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44341 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44342 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44343 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44344 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44345 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44346
ba1a0d59
UD
44347 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44348 is sufficient, at least on modern CPUs.
44349
fd5bdc09
UD
44350 * ctype/ctype-info.c (__ctype_init): Define.
44351 * include/ctype.h (__ctype_init): Declare.
44352 (__ctype_b_loc): The variable is always initialized.
44353 (__ctype_toupper_loc): Likewise.
44354 (__ctype_tolower_loc): Likewise.
44355 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44356 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44357
7872cfb0
AS
443582011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44359
b468825a
AS
44360 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44361
7872cfb0
AS
44362 * configure.in: Also look in $cxxmachine/include for C++ system
44363 headers.
44364
be13f7bf
LD
443652011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44366
44367 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44368 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44369 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44370 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44371 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44372 (USE_AS_WMEMCMP): New macro.
44373 Fixing indents.
44374 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44375 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44376 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44377 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44379 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44380 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44381 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44382 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44383 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44384 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44385 (USE_AS_WMEMCMP): New macro.
44386 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44387 * sysdeps/string/test-memcmp.c: Update.
44388 Fix simple_wmemcmp.
44389 Add new tests.
44390 * wcsmbs/wmemcmp.c: Update.
44391 (WMEMCMP): New macro.
44392 Fix overflow bug.
44393
556a2007
AJ
443942011-10-12 Andreas Jaeger <aj@suse.de>
44395
44396 [BZ #13268]
44397 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44398
538faaa7
UD
443992011-10-15 Ulrich Drepper <drepper@gmail.com>
44400
ab6737ff
UD
44401 * libio/iofwide.c (do_length): Avoid warning.
44402
538faaa7
UD
44403 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44404
396a21b1
UD
444052011-10-14 Ulrich Drepper <drepper@gmail.com>
44406
cdf2901f
UD
44407 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44408
38ad40ce
UD
44409 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44410 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44411 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44412 * sysdeps/i386/i686/fpu/e_log.S: New file.
44413 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44414 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44415
396a21b1
UD
44416 * ctype/ctype.h: Add support for inlined isXXX functions when
44417 compiling C++ code.
44418
6b1f68c9
AS
444192011-10-14 Andreas Schwab <schwab@redhat.com>
44420
349290c0
AS
44421 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44422
6b1f68c9
AS
44423 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44424
f2282d42
RM
444252011-10-13 Roland McGrath <roland@hack.frob.com>
44426
44427 [BZ #13291]
44428 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44429
5298ffa8
AS
444302011-10-13 Andreas Schwab <schwab@redhat.com>
44431
714fad23
AS
44432 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44433 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44434 feraiseexcept.
44435
81dcc7fb
AS
44436 * sysdeps/x86_64/memrchr.S: Check for zero size.
44437
5298ffa8
AS
44438 * string/stratcliff.c: Add memrchr tests.
44439
951fbcec
LD
444402011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44441
44442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44443 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44444 rawmemchr-sse2 rawmemchr-sse2-bsf.
44445 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44446 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44447 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44448 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44449 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44450 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44451 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44452 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44453 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44454 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44455 * string/memrchr.c (MEMRCHR): New macro.
44456
0ac5ae23
UD
444572011-10-12 Ulrich Drepper <drepper@gmail.com>
44458
44459 Add integration with gcc's -ffinite-math-only and optimize wrapper
44460 functions in libm.
44461 * Versions.def: Define GLIBC_2.15 version for libm.
44462 * math/Makefile (headers): Add bits/math-finite.h.
44463 * math/bits/math-finite.h: New file.
44464 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44465 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44466 * math/e_acoshl.c: Add __*_finite alias.
44467 * math/e_acosl.c: Likewise.
44468 * math/e_asinl.c: Likewise.
44469 * math/e_atan2l.c: Likewise.
44470 * math/e_atanhl.c: Likewise.
44471 * math/e_coshl.c: Likewise.
44472 * math/e_exp10.c: Likewise.
44473 * math/e_exp10f.c: Likewise.
44474 * math/e_exp10l.c: Likewise.
44475 * math/e_exp2l.c: Likewise.
44476 * math/e_fmodl.c: Likewise.
44477 * math/e_gammal_r.c: Likewise.
44478 * math/e_hypotl.c: Likewise.
44479 * math/e_j0l.c: Likewise.
44480 * math/e_j1l.c: Likewise.
44481 * math/e_jnl.c: Likewise.
44482 * math/e_lgammal_r.c: Likewise.
44483 * math/e_log10l.c: Likewise.
44484 * math/e_log2l.c: Likewise.
44485 * math/e_logl.c: Likewise.
44486 * math/e_powl.c: Likewise.
44487 * math/e_sinhl.c: Likewise.
44488 * math/e_sqrtl.c: Likewise.
44489 * math/e_scalb.c: Completely rewritten and optimized.
44490 * math/e_scalbf.c: Likewise.
44491 * math/e_scalbl.c: Likewise.
44492 * math/w_acos.c: Likewise.
44493 * math/w_acosf.c: Likewise.
44494 * math/w_acosl.c: Likewise.
44495 * math/w_acosh.c: Likewise.
44496 * math/w_acoshf.c: Likewise.
44497 * math/w_acoshl.c: Likewise.
44498 * math/w_asin.c: Likewise.
44499 * math/w_asinf.c: Likewise.
44500 * math/w_asinl.c: Likewise.
44501 * math/w_atan2.c: Likewise.
44502 * math/w_atan2f.c: Likewise.
44503 * math/w_atan2l.c: Likewise.
44504 * math/w_atanh.c: Likewise.
44505 * math/w_atanhf.c: Likewise.
44506 * math/w_atanhl.c: Likewise.
44507 * math/w_exp10.c: Likewise.
44508 * math/w_exp10f.c: Likewise.
44509 * math/w_exp10l.c: Likewise.
44510 * math/w_fmod.c: Likewise.
44511 * math/w_fmodf.c: Likewise.
44512 * math/w_fmodl.c: Likewise.
44513 * math/w_j0.c: Likewise.
44514 * math/w_j0f.c: Likewise.
44515 * math/w_j0l.c: Likewise.
44516 * math/w_j1.c: Likewise.
44517 * math/w_j1f.c: Likewise.
44518 * math/w_j1l.c: Likewise.
44519 * math/w_jn.c: Likewise.
44520 * math/w_jnf.c: Likewise.
44521 * math/w_log.c: Likewise.
44522 * math/w_logf.c: Likewise.
44523 * math/w_logl.c: Likewise.
44524 * math/w_log10.c: Likewise.
44525 * math/w_log10f.c: Likewise.
44526 * math/w_log10l.c: Likewise.
44527 * math/w_log2.c: Likewise.
44528 * math/w_log2f.c: Likewise.
44529 * math/w_log2l.c: Likewise.
44530 * math/w_pow.c: Likewise.
44531 * math/w_powf.c: Likewise.
44532 * math/w_powl.c: Likewise.
44533 * math/w_remainder.c: Likewise.
44534 * math/w_remainderf.c: Likewise.
44535 * math/w_remainderl.c: Likewise.
44536 * math/w_scalb.c: Likewise.
44537 * math/w_scalbf.c: Likewise.
44538 * math/w_scalbl.c: Likewise.
44539 * math/w_sqrt.c: Likewise.
44540 * math/w_sqrtf.c: Likewise.
44541 * math/w_sqrtl.c: Likewise.
44542 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44543 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44544 used.
44545 * math/math_private.h: Declare __kernel_standard_f.
44546 * math/w_cosh.c: Remove cruft and optimize a bit.
44547 * math/w_coshf.c: Likewise.
44548 * math/w_coshl.c: Likewise.
44549 * math/w_exp2.c: Likewise.
44550 * math/w_exp2f.c: Likewise.
44551 * math/w_exp2l.c: Likewise.
44552 * math/w_hypot.c: Likewise.
44553 * math/w_hypotf.c: Likewise.
44554 * math/w_hypotl.c: Likewise.
44555 * math/w_lgamma.c: Likewise.
44556 * math/w_lgamma_r.c: Likewise.
44557 * math/w_lgammaf.c: Likewise.
44558 * math/w_lgammaf_r.c: Likewise.
44559 * math/w_lgammal.c: Likewise.
44560 * math/w_lgammal_r.c: Likewise.
44561 * math/w_sinh.c: Likewise.
44562 * math/w_sinhf.c: Likewise.
44563 * math/w_sinhl.c: Likewise.
44564 * math/w_tgamma.c: Likewise.
44565 * math/w_tgammaf.c: Likewise.
44566 * math/w_tgammal.c: Likewise.
44567 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44568 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44569 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44570 Minor optimizations. Pretty printing. Remove cruft.
44571 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44572 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44573 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44574 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44575 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44576 * sysdeps/i386/fpu/e_asin.S: Likewise.
44577 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44578 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44579 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44580 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44581 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44582 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44583 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44584 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44585 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44586 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44587 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44588 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44589 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44590 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44591 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44592 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44593 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44594 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44595 * sysdeps/i386/fpu/e_log.S: Likewise.
44596 * sysdeps/i386/fpu/e_log10.S: Likewise.
44597 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44598 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44599 * sysdeps/i386/fpu/e_log2.S: Likewise.
44600 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44601 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44602 * sysdeps/i386/fpu/e_logf.S: Likewise.
44603 * sysdeps/i386/fpu/e_logl.S: Likewise.
44604 * sysdeps/i386/fpu/e_pow.S: Likewise.
44605 * sysdeps/i386/fpu/e_powf.S: Likewise.
44606 * sysdeps/i386/fpu/e_powl.S: Likewise.
44607 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44608 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44609 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44610 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44611 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44612 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44613 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44614 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44615 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44616 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44617 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44619 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44620 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44621 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44622 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44623 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44624 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44625 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44626 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44627 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44629 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44630 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44632 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44633 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44634 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44636 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44637 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44638 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44639 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44640 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44641 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44642 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44643 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44644 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44645 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44646 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44647 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44648 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44649 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44650 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44651 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44652 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44653 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44654 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44655 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44656 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44657 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44658 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44659 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44660 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44661 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44662 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44663 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44664 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44665 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44666 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44667 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44668 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44669 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44670 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44671 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44672 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44673 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44674 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44675 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44676 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44677 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44678 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44679 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44680 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44681 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44682 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44683 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44684 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44685 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44686 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44687 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44688 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44689 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44690 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44691 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44692 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44693 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44694 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44695 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44696 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44697 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44698 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44699 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44700 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44701 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44702 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44703 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44704 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44705 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44706 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44707 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44708 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44709 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44710 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44711 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44712 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44713 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44714 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44715 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44716 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44717 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44718 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44719 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44720 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44721 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44722 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44723 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44724 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44725 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44726 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44727 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44728 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44729 (__isnanf): Likewise.
44730 (__isinf_ns): Likewise.
44731 (__isinf_nsf): Likewise.
44732 (__finite): Likewise.
44733 (__finitef): Likewise.
44734 (__ieee754_sqrt): Define as macro.
44735 (__ieee754_sqrtf): Define as macro.
44736 (__ieee754_sqrtl): Define as macro.
44737 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44738 inlined copy.
44739 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44740 __FINITE_MATH_ONLY__ consistent.
44741 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44742
12cc2fcd
AS
447432011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44744
a843a204
AS
44745 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44746 of rawmemchr.
44747
12cc2fcd
AS
44748 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44749
c853acd5
UD
447502011-10-09 Ulrich Drepper <drepper@gmail.com>
44751
44752 * po/ja.po: Update from translation team.
44753
c658d255
RM
447542011-10-08 Roland McGrath <roland@hack.frob.com>
44755
110946e4
RM
44756 * locale/programs/locarchive.c (prepare_address_space): New function.
44757 (create_archive, enlarge_archive, open_archive): Use it.
44758
50604220
RM
44759 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44760 inside [SHARED], where it is used.
44761
c658d255
RM
44762 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44763
44764 * nss/getent.c (netgroup_keys): Remove unused variable.
44765 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44766
6a621eb7
UD
447672011-10-08 Ulrich Drepper <drepper@gmail.com>
44768
7edb55ce
UD
44769 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44770 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44771 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44772 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44773 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44774 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44775 * math/Makefile (libm-calls): Add s_isinf_ns.
44776 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44777 * math/multc3.c: Likewise.
44778 * math/s_casin.c: Likewise.
44779 * math/s_casinf.c: Likewise.
44780 * math/s_casinl.c: Likewise.
44781 * math/s_ccos.c: Likewise.
44782 * math/s_ccosf.c: Likewise.
44783 * math/s_ccosl.c: Likewise.
44784 * math/s_ctan.c: Likewise.
44785 * math/s_ctanf.c: Likewise.
44786 * math/s_ctanh.c: Likewise.
44787 * math/s_ctanhf.c: Likewise.
44788 * math/s_ctanhl.c: Likewise.
44789 * math/s_ctanl.c: Likewise.
44790 * math/w_fmod.c: Likewise.
44791 * math/w_fmodf.c: Likewise.
44792 * math/w_fmodl.c: Likewise.
44793 * math/w_remainder.c: Likewise.
44794 * math/w_remainderf.c: Likewise.
44795 * math/w_remainderl.c: Likewise.
44796 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44797 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44798 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44799 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44800 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44801 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44802 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44803 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44804
187da0ae
UD
44805 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44806 of the number.
44807 * stdio-common/printf_fphex.c: Likewise.
44808 * stdio-common/printf_size.c: Likewise.
44809
9277c064
UD
44810 * math/e_exp10.c: Include math_private.h using <...> not "...".
44811 * math/e_exp10f.c: Likewise.
44812 * math/e_exp10l.c: Likewise.
44813 * math/e_exp2l.c: Likewise.
44814 * math/e_j0l.c: Likewise.
44815 * math/e_j1l.c: Likewise.
44816 * math/e_jnl.c: Likewise.
44817 * math/e_lgammal_r.c: Likewise.
44818 * math/e_rem_pio2l.c: Likewise.
44819 * math/e_scalb.c: Likewise.
44820 * math/e_scalbf.c: Likewise.
44821 * math/e_scalbl.c: Likewise.
44822 * math/k_cosl.c: Likewise.
44823 * math/k_sinl.c: Likewise.
44824 * math/k_tanl.c: Likewise.
44825 * math/s_cacoshf.c: Likewise.
44826 * math/s_catan.c: Likewise.
44827 * math/s_catanf.c: Likewise.
44828 * math/s_catanh.c: Likewise.
44829 * math/s_catanhf.c: Likewise.
44830 * math/s_catanhl.c: Likewise.
44831 * math/s_catanl.c: Likewise.
44832 * math/s_ccosh.c: Likewise.
44833 * math/s_ccoshf.c: Likewise.
44834 * math/s_ccoshl.c: Likewise.
44835 * math/s_cexp.c: Likewise.
44836 * math/s_cexpf.c: Likewise.
44837 * math/s_cexpl.c: Likewise.
44838 * math/s_clog.c: Likewise.
44839 * math/s_clog10.c: Likewise.
44840 * math/s_clog10f.c: Likewise.
44841 * math/s_clog10l.c: Likewise.
44842 * math/s_clogf.c: Likewise.
44843 * math/s_clogl.c: Likewise.
44844 * math/s_csin.c: Likewise.
44845 * math/s_csinf.c: Likewise.
44846 * math/s_csinh.c: Likewise.
44847 * math/s_csinhf.c: Likewise.
44848 * math/s_csinhl.c: Likewise.
44849 * math/s_csinl.c: Likewise.
44850 * math/s_csqrt.c: Likewise.
44851 * math/s_csqrtf.c: Likewise.
44852 * math/s_csqrtl.c: Likewise.
44853 * math/s_ctan.c: Likewise.
44854 * math/s_ctanf.c: Likewise.
44855 * math/s_ctanh.c: Likewise.
44856 * math/s_ctanhf.c: Likewise.
44857 * math/s_ctanhl.c: Likewise.
44858 * math/s_ctanl.c: Likewise.
44859 * math/s_ldexp.c: Likewise.
44860 * math/s_ldexpf.c: Likewise.
44861 * math/s_ldexpl.c: Likewise.
44862 * math/s_significand.c: Likewise.
44863 * math/s_significandf.c: Likewise.
44864 * math/s_significandl.c: Likewise.
44865 * math/w_acos.c: Likewise.
44866 * math/w_acosf.c: Likewise.
44867 * math/w_acosh.c: Likewise.
44868 * math/w_acoshf.c: Likewise.
44869 * math/w_acoshl.c: Likewise.
44870 * math/w_acosl.c: Likewise.
44871 * math/w_asin.c: Likewise.
44872 * math/w_asinf.c: Likewise.
44873 * math/w_asinl.c: Likewise.
44874 * math/w_atan2.c: Likewise.
44875 * math/w_atan2f.c: Likewise.
44876 * math/w_atan2l.c: Likewise.
44877 * math/w_atanh.c: Likewise.
44878 * math/w_atanhf.c: Likewise.
44879 * math/w_atanhl.c: Likewise.
44880 * math/w_cosh.c: Likewise.
44881 * math/w_coshf.c: Likewise.
44882 * math/w_coshl.c: Likewise.
44883 * math/w_dremf.c: Likewise.
44884 * math/w_exp10.c: Likewise.
44885 * math/w_exp10f.c: Likewise.
44886 * math/w_exp10l.c: Likewise.
44887 * math/w_exp2.c: Likewise.
44888 * math/w_exp2f.c: Likewise.
44889 * math/w_fmod.c: Likewise.
44890 * math/w_fmodf.c: Likewise.
44891 * math/w_fmodl.c: Likewise.
44892 * math/w_hypot.c: Likewise.
44893 * math/w_hypotf.c: Likewise.
44894 * math/w_hypotl.c: Likewise.
44895 * math/w_j0.c: Likewise.
44896 * math/w_j0f.c: Likewise.
44897 * math/w_j0l.c: Likewise.
44898 * math/w_j1.c: Likewise.
44899 * math/w_j1f.c: Likewise.
44900 * math/w_j1l.c: Likewise.
44901 * math/w_jn.c: Likewise.
44902 * math/w_jnf.c: Likewise.
44903 * math/w_jnl.c: Likewise.
44904 * math/w_lgamma.c: Likewise.
44905 * math/w_lgamma_r.c: Likewise.
44906 * math/w_lgammaf.c: Likewise.
44907 * math/w_lgammaf_r.c: Likewise.
44908 * math/w_lgammal.c: Likewise.
44909 * math/w_lgammal_r.c: Likewise.
44910 * math/w_log.c: Likewise.
44911 * math/w_log10.c: Likewise.
44912 * math/w_log10f.c: Likewise.
44913 * math/w_log10l.c: Likewise.
44914 * math/w_log2.c: Likewise.
44915 * math/w_log2f.c: Likewise.
44916 * math/w_log2l.c: Likewise.
44917 * math/w_logf.c: Likewise.
44918 * math/w_logl.c: Likewise.
44919 * math/w_pow.c: Likewise.
44920 * math/w_powf.c: Likewise.
44921 * math/w_powl.c: Likewise.
44922 * math/w_remainder.c: Likewise.
44923 * math/w_remainderf.c: Likewise.
44924 * math/w_remainderl.c: Likewise.
44925 * math/w_scalb.c: Likewise.
44926 * math/w_scalbf.c: Likewise.
44927 * math/w_scalbl.c: Likewise.
44928 * math/w_sinh.c: Likewise.
44929 * math/w_sinhf.c: Likewise.
44930 * math/w_sinhl.c: Likewise.
44931 * math/w_sqrt.c: Likewise.
44932 * math/w_sqrtf.c: Likewise.
44933 * math/w_sqrtl.c: Likewise.
44934 * math/w_tgamma.c: Likewise.
44935 * math/w_tgammaf.c: Likewise.
44936 * math/w_tgammal.c: Likewise.
44937
6a621eb7
UD
44938 * po/ja.po: Update from translation team.
44939
bf582445
AJ
449402011-09-29 Andreas Jaeger <aj@suse.de>
44941
f9efbf3a
AJ
44942 [BZ #13179]
44943 * sunrpc/netname.c (netname2host): Fix logic.
44944
bf582445
AJ
44945 [BZ #6779]
44946 [BZ #6783]
44947 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44948 correctly.
44949 * math/w_remainder.c (__remainder): Likewise.
44950 * math/w_remainderf.c (__remainderf): Likewise.
44951 * math/libm-test.inc (remainder_test): Add test cases.
44952
48693bea
AK
449532011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44954
44955 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44956 sdiv_qrnnd.
44957
42622229
LD
449582011-10-07 Ulrich Drepper <drepper@gmail.com>
44959
44960 * string/test-memcmp.c: Avoid unncessary #defines.
44961 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44962
093ecf92
LD
449632011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44964
44965 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44966 Use new sse2 version for core i3 - i7 as it's faster
44967 than sse42 version.
44968 (bit_Prefer_PMINUB_for_stringop): New.
44969 * sysdeps/x86_64/rawmemchr.S: Update.
44970 Replace with faster SSE2 version.
44971 * sysdeps/x86_64/memrchr.S: New file.
44972 * sysdeps/x86_64/memchr.S: Update.
44973 Replace with faster SSE2 version.
44974
fde56e5c
MP
449752011-09-12 Marek Polacek <mpolacek@redhat.com>
44976
44977 * elf/dl-load.c (lose): Add cast to avoid warning.
44978
21fd49a9
UD
449792011-10-07 Ulrich Drepper <drepper@gmail.com>
44980
5a06e643
UD
44981 * po/ca.po: Update from translation team.
44982
684ae515
UD
44983 * inet/getnetgrent_r.c: Hook up nscd.
44984 * nscd/Makefile (routines): Add nscd_netgroup.
44985 (nscd-modules): Add netgroupcache.
44986 (CFLAGS-netgroupcache.c): Define.
44987 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44988 (cache_search): Add const to second parameter.
44989 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44990 INNETGR.
44991 (dbs): Add netgrdb entry.
44992 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44993 (verify_persistent_db): Handle netgrdb.
44994 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44995 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44996 GETFDNETGR.
44997 (netgroup_response_header): Define.
44998 (innetgroup_response_header): Define.
44999 (datahead): Add netgroup_response_header and innetgroup_response_header
45000 elements.
45001 * nscd/nscd.conf: Add entries for netgroup cache.
45002 * nscd/nscd.h (dbtype): Add netgrdb.
45003 (_PATH_NSCD_NETGROUP_DB): Define.
45004 (netgroup_iov_disabled): Declare.
45005 (xmalloc, xcalloc, xrealloc): Move declarations here.
45006 (cache_search): Adjust prototype.
45007 Add netgroup-related prototypes.
45008 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45009 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45010 (__nscd_innetgr): Declare.
45011 * nscd/selinux.c (perms): Use access_vector_t as element type and
45012 add netgroup-related initializers.
45013 * nscd/netgroupcache.c: New file.
45014 * nscd/nscd_netgroup.c: New file.
45015 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45016 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45017 For four parameters use innetgr.
45018 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45019 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45020 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45021 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45022
21fd49a9
UD
45023 * nscd/connections.c (register_traced_file): Don't register file
45024 for disabled databases.
45025
054c0457
UD
450262011-10-06 Ulrich Drepper <drepper@gmail.com>
45027
32b63198
UD
45028 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45029
054c0457
UD
45030 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45031 from tree and freeing node.
45032
64031225
JO
450332011-09-25 Jiri Olsa <jolsa@redhat.com>
45034
45035 * nss/nsswitch.c (__nss_database_lookup): Handle
45036 nss_parse_service_list out of memory case.
45037
0490345c
JO
450382011-09-15 Jiri Olsa <jolsa@redhat.com>
45039
45040 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45041 out of memory case.
45042
3a62d00d
AS
450432011-10-04 Andreas Schwab <schwab@redhat.com>
45044
45045 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45046 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45047 pass it down.
45048 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45049 elf_machine_rela, elf_machine_lazy_rel.
45050 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45051 (ELF_DYNAMIC_DO_REL): Likewise.
45052 (ELF_DYNAMIC_DO_RELA): Likewise.
45053 (ELF_DYNAMIC_RELOCATE): Likewise.
45054 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45055 to ELF_DYNAMIC_DO_REL.
45056 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45057 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45058 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45059 elf_machine_rela.
45060 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45061 skip_ifunc, don't call ifunc function if non-zero.
45062 (elf_machine_rela): Likewise.
45063 (elf_machine_lazy_rel): Likewise.
45064 (elf_machine_lazy_rela): Likewise.
45065 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45066 (elf_machine_lazy_rel): Likewise.
45067 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45068 Likewise.
45069 (elf_machine_lazy_rel): Likewise.
45070 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45071 Likewise.
45072 (elf_machine_lazy_rel): Likewise.
45073 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45074 (elf_machine_lazy_rel): Likewise.
45075 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45076 (elf_machine_lazy_rel): Likewise.
45077 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45078 (elf_machine_lazy_rel): Likewise.
45079 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45080 (elf_machine_lazy_rel): Likewise.
45081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45082 (elf_machine_lazy_rel): Likewise.
45083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45084 (elf_machine_lazy_rel): Likewise.
45085
68577918
UD
450862011-09-28 Ulrich Drepper <drepper@gmail.com>
45087
45088 * nss/nss_files/files-init.c (_nss_files_init): Use static
45089 initialization for all the *_traced_file variables.
45090
68822d74
AS
450912011-09-28 Andreas Schwab <schwab@redhat.com>
45092
45093 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45094
2056100b
RM
450952011-09-27 Roland McGrath <roland@hack.frob.com>
45096
45097 [BZ #13226]
45098 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45099
32c76b63
AS
451002011-09-27 Andreas Schwab <schwab@redhat.com>
45101
45102 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45103 Reread the line before reparsing it.
45104
bf972c9d
AS
451052011-09-26 Andreas Schwab <schwab@redhat.com>
45106
45107 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45108
e057a1b5
JM
451092011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45110 Maxim Kuvyrkov <maxim@codesourcery.com>
45111 Joseph Myers <joseph@codesourcery.com>
45112
45113 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45114 if needed for __stack_chk_guard.
45115
bc7e1c36
RM
451162011-09-19 Roland McGrath <roland@hack.frob.com>
45117
ecb1482f
RM
45118 * sysdeps/posix/spawni.c (script_execute): Always define it.
45119 It will be optimized away if unused.
45120 (maybe_script_execute): New function.
45121 (__spawni): Call it.
45122
bc7e1c36
RM
45123 * Makerules: Don't include tls.make.
45124 (config-tls): Always set to thread.
45125 * tls.make.c: File removed.
45126
1c3b002b
MF
451272011-09-19 Mike Frysinger <vapier@gentoo.org>
45128
45129 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45130 * config.make.in (CPPFLAGS-config): New substituted variable.
45131
2840865d
UD
451322011-09-15 Ulrich Drepper <drepper@gmail.com>
45133
88738eb6
UD
45134 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45135
cbf645a6 45136 [BZ #13192]
2840865d
UD
45137 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45138 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45139
b402e91a
RM
451402011-09-15 Roland McGrath <roland@hack.frob.com>
45141
45142 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45143 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45144 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45145 (CALL_FAIL): Likewise.
45146 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45147 (CALL_FAIL): Macro removed.
45148 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45149
4c1a1f71
UD
451502011-09-15 Ulrich Drepper <drepper@gmail.com>
45151
45152 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45153 for __FINITE_MATH_ONLY__ == 1.
45154
edc121be
AS
451552011-09-15 Andreas Schwab <schwab@redhat.com>
45156
45157 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45158 __ieee754_sqrt instead of sqrt.
45159 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45160 __ieee754_sqrtf instead of sqrtf.
45161 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45162 __floorf instead of floorf.
45163 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45164 __floorf, __truncf instead of floorf, truncf.
45165
cd205654
UD
451662011-09-14 Ulrich Drepper <drepper@gmail.com>
45167
ee4d0315
UD
45168 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45169
cd205654
UD
45170 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45171 __extern_always_inline.
45172 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45173 32-bit.
45174
48b67d71
AS
451752011-09-14 Andreas Schwab <schwab@redhat.com>
45176
45177 * elf/rtld.c (dl_main): Also relocate in dependency order when
45178 doing symbol dependency testing.
45179
1ae12c75
AS
451802011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45181
45182 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45183 Always define `refsym'.
45184
995a80df
AS
451852011-09-13 Andreas Schwab <schwab@redhat.com>
45186
e529793b
AS
45187 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45188 (__FD_ELT): Renamed from __FDELT.
45189 * misc/bits/select2.h (__FD_ELT): Likewise.
45190 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45191 __FD_MASK instead of __FDELT, __FDMASK.
45192 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45193 Likewise.
45194 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45195 Likewise.
45196
52d4fef8
AS
45197 * elf/Makefile (gen-ldd): Fix pattern.
45198
995a80df
AS
45199 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45200 (init_tls): Likewise.
45201
8682f8b0
UD
452022011-09-12 Ulrich Drepper <drepper@gmail.com>
45203
45204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45205
de82006d
AS
452062011-09-12 Andreas Schwab <schwab@redhat.com>
45207
a7c8e6a1
AS
45208 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45209 `struct cmsghdr *' instead of `void *'.
45210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45211 Likewise.
45212
0f31fe77
AS
452132011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45214
45215 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45216 if non-absolute.
45217 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45218 ldd_rewrite_script.
0f31fe77 45219
32b4c839
UD
452202011-09-11 Ulrich Drepper <drepper@gmail.com>
45221
83cd1420
UD
45222 * configure.in: Remove --with-tls option.
45223 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45224 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45225 out in case it is missing.
45226 * sysdeps/ia64/elf/configure.in: Likewise.
45227 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45228 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45229 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45230 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45231 * sysdeps/sh/elf/configure.in: Likewise.
45232 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45233 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45234 * sysdeps/x86_64/elf/configure.in: Likewise.
45235 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45236 * sysdeps/mach/hurd/tls.h: Likewise.
45237
633f745d
UD
45238 [BZ #13067]
45239 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45240
f318beb8
UD
45241 [BZ #13090]
45242 * configure.in: Fix use of AC_INIT.
45243
32b4c839
UD
45244 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45245
3ce1f295
UD
452462011-09-10 Ulrich Drepper <drepper@gmail.com>
45247
bb016596
UD
45248 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45249 __set_errno.
8e58439c
UD
45250 * malloc/hooks.c: Likewise.
45251
aebae053 45252 [BZ #11929]
02d46fc4
UD
45253 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45254 variables statically.
45255 (narenas): Initialize.
45256 (list_lock): Initialize.
bb016596
UD
45257 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45258 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45259 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45260 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45261 Add initializers to main_arena and mp_.
45262 (malloc_state): Remove pagesize member. Change all users to use
45263 GLRO(dl_pagesize).
45264
45265 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45266 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45267 is always initialized.
45268
22a89187
UD
45269 * malloc/malloc.c: Removed unused configurations and dead code.
45270 * malloc/arena.c: Likewise.
45271 * malloc/hooks.c: Likewise.
02d46fc4 45272 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45273
d063d164
UD
45274 * include/tls.h: Removed. USE___THREAD must always be defined.
45275 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45276 * elf/dl-libc.c: Likewise.
45277 * elf/dl-tsd.c: Likewise.
45278 * include/errno.h: Likewise.
45279 * include/netdb.h: Likewise.
45280 * include/resolv.h: Likewise.
45281 * inet/herrno-loc.c: Likewise.
45282 * inet/herrno.c: Likewise.
45283 * malloc/arena.c: Likewise.
45284 * malloc/hooks.c: Likewise.
45285 * malloc/malloc.c: Likewise.
45286 * resolv/res-state.c: Likewise.
45287 * resolv/res_libc.c: Likewise.
45288 * sysdeps/i386/dl-machine.h: Likewise.
45289 * sysdeps/ia64/dl-machine.h: Likewise.
45290 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45291 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45292 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45293 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45294 * sysdeps/sh/dl-machine.h: Likewise.
45295 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45296 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45297 * sysdeps/unix/i386/sysdep.S: Likewise.
45298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45299 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45300 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45304 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45305 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45306 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45308 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45309 * sysdeps/x86_64/dl-machine.h: Likewise.
45310 * tls.make.c: Likewise.
45311
3ce1f295
UD
45312 * configure.in: Remove --with-__thread option. Make tests for
45313 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45314 tls_model attribute fail if no support is available. Remove
45315 USE_IN_LIBIO.
45316 * Makeconfig: Adjust for dropped configure option. All features are
45317 now mandatory.
45318 * Makerules: Likewise.
45319 * Versions.def: Likewise.
45320 * argp/argp-fmtstream.c: Likewise.
45321 * argp/argp-fmtstream.h: Likewise.
45322 * argp/argp-help.c: Likewise.
45323 * assert/assert.c: Likewise.
45324 * config.h.in: Likewise.
45325 * config.make.in: Likewise.
45326 * configure: Likewise.
45327 * configure.in: Likewise.
45328 * csu/Versions: Likewise.
45329 * csu/init.c: Likewise.
45330 * elf/tst-audit2.c: Likewise.
45331 * elf/tst-tls10.c: Likewise.
45332 * elf/tst-tls10.h: Likewise.
45333 * elf/tst-tls11.c: Likewise.
45334 * elf/tst-tls12.c: Likewise.
45335 * elf/tst-tls14.c: Likewise.
45336 * elf/tst-tlsmod11.c: Likewise.
45337 * elf/tst-tlsmod12.c: Likewise.
45338 * elf/tst-tlsmod13.c: Likewise.
45339 * elf/tst-tlsmod13a.c: Likewise.
45340 * elf/tst-tlsmod14a.c: Likewise.
45341 * elf/tst-tlsmod15b.c: Likewise.
45342 * elf/tst-tlsmod16a.c: Likewise.
45343 * elf/tst-tlsmod16b.c: Likewise.
45344 * elf/tst-tlsmod7.c: Likewise.
45345 * elf/tst-tlsmod8.c: Likewise.
45346 * elf/tst-tlsmod9.c: Likewise.
45347 * gmon/gmon.c: Likewise.
45348 * grp/fgetgrent_r.c: Likewise.
45349 * grp/putgrent.c: Likewise.
45350 * hurd/fopenport.c: Likewise.
45351 * include/libc-symbols.h: Likewise.
45352 * include/tls.h: Likewise.
45353 * intl/gettextP.h: Likewise.
45354 * intl/loadinfo.h: Likewise.
45355 * locale/global-locale.c: Likewise.
45356 * locale/localeinfo.h: Likewise.
45357 * mach/devstream.c: Likewise.
45358 * malloc/arena.c: Likewise.
45359 * malloc/set-freeres.c: Likewise.
45360 * misc/err.c: Likewise.
45361 * misc/getttyent.c: Likewise.
45362 * misc/mntent_r.c: Likewise.
45363 * posix/getopt.c: Likewise.
45364 * posix/wordexp.c: Likewise.
45365 * pwd/fgetpwent_r.c: Likewise.
45366 * resolv/Versions: Likewise.
45367 * resolv/res_hconf.c: Likewise.
45368 * shadow/fgetspent_r.c: Likewise.
45369 * shadow/putspent.c: Likewise.
45370 * stdio-common/printf_fphex.c: Likewise.
45371 * stdio-common/tmpfile.c: Likewise.
45372 * stdlib/abort.c: Likewise.
45373 * stdlib/fmtmsg.c: Likewise.
45374 * sunrpc/auth_unix.c: Likewise.
45375 * sunrpc/clnt_perr.c: Likewise.
45376 * sunrpc/clnt_tcp.c: Likewise.
45377 * sunrpc/clnt_udp.c: Likewise.
45378 * sunrpc/clnt_unix.c: Likewise.
45379 * sunrpc/openchild.c: Likewise.
45380 * sunrpc/svc_simple.c: Likewise.
45381 * sunrpc/svc_tcp.c: Likewise.
45382 * sunrpc/svc_udp.c: Likewise.
45383 * sunrpc/svc_unix.c: Likewise.
45384 * sunrpc/xdr.c: Likewise.
45385 * sunrpc/xdr_array.c: Likewise.
45386 * sunrpc/xdr_rec.c: Likewise.
45387 * sunrpc/xdr_ref.c: Likewise.
45388 * sunrpc/xdr_stdio.c: Likewise.
45389
1248c1c4
PB
453902011-09-09 Ulrich Drepper <drepper@gmail.com>
45391
45392 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45393
453942011-07-03 Andreas Jaeger <aj@suse.de>
45395
45396 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45397 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45398 regenerate with gen-libm-tests.pl.
45399
454002010-05-12 Petr Baudis <pasky@suse.cz>
45401
45402 [BZ #11589]
45403 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45404 around j0() zero points by switching to j1().
45405 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45406 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45408 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45409
f22e1074
UD
454102011-09-09 Ulrich Drepper <drepper@gmail.com>
45411
f19009c1
UD
45412 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45413 instead of 0.
45414 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45415 instead of 0.
f19009c1
UD
45416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45417 Patch in part by Pavel Roskin <proski@gnu.org>.
45418
3f8cc204
UD
45419 [BZ #13138]
45420 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45421 realloc.
45422 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45423 Free memory block if necessary.
45424
f22e1074
UD
45425 [BZ #12847]
45426 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45427 be NULL. Don't lock in this case.
45428
0a2349f9
RM
454292011-09-09 Roland McGrath <roland@hack.frob.com>
45430
45431 * elf/elf.h (ELFOSABI_GNU): New macro.
45432 (ELFOSABI_LINUX): Define to that.
45433
f3cdd467
DZ
454342011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45435
45436 * string/strncat.c (strncat): Undef the symbol in case it has been
45437 defined in bits/string.h.
45438
74718d13
UD
454392011-09-09 Ulrich Drepper <drepper@gmail.com>
45440
633e9e0f
UD
45441 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45442
0a2349f9 45443 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45444 link map.
45445
f9924780
AJ
454462011-08-17 Andreas Jaeger <aj@suse.de>
45447
45448 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45449
7f5517aa
PP
454502011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45451 Ian Lance Taylor <iant@google.com>
45452
45453 * math/libm-test.inc (lround_test): New testcase.
45454 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45455
762011fe
UD
454562011-09-08 Ulrich Drepper <drepper@gmail.com>
45457
92963737
UD
45458 * Makefile: Remove support for automatic cvs check-ins.
45459 * Makerules: Likewise.
45460 * config.make.in: Likewise.
45461 * configure.in: Likewise.
45462 * intl/Makefile: Likewise.
45463 * locale/Makefile: Likewise.
45464 * po/Makefile: Likewise.
45465 * posix/Makefile: Likewise.
45466 * sysdeps/gnu/Makefile: Likewise.
45467 * sysdeps/mach/hurd/Makefile: Likewise.
45468 * sysdeps/sparc/sparc32/Makefile: Likewise.
45469
b0727fd8
JS
45470 [BZ #13118]
45471 * posix/Makefile (bug-regex32-ENV): Define.
45472 Patch by John Stanley <jpsinthemix@verizon.net>.
45473
a0f33f99
UD
45474 * misc/Makefile (headers): Add bits/select2.h.
45475 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45476 * misc/bits/select2.h: New file.
45477 * include/bits/select2.h: New file.
45478 * debug/Makefile (routines): Add fdelt_chk.
45479 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45480 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45481 FD_ISSET.
45482 * debug/fdelt_chk.c: New file.
45483
762011fe
UD
45484 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45485 * wcsmbs/test-wmemcmp.c: Likewise.
45486 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45487 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45488
454892011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45490
45491 * string/Makefile (strop-tests): Add memcmp.
45492 * string/test-wmemcmp.c: New file.
45493 * string/test-memcmp.c: Add wmemcmp support.
45494
7f513ec8
RM
454952011-09-08 Roland McGrath <roland@hack.frob.com>
45496
0442afb4
RM
45497 [BZ #13153]
45498 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45499 2011-07-19 change.
45500
7f513ec8
RM
45501 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45502 garbage value in a __mach_port_mod_refs call in the cases of the
45503 task-self and thread-self ports.
45504
a12b2239
ST
455052011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45506
45507 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45508
610f9ab4
AS
455092011-09-08 Andreas Schwab <schwab@redhat.com>
45510
7f513ec8 45511 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45512
48882a1a
LD
455132011-09-07 Ulrich Drepper <drepper@gmail.com>
45514
b49865be
UD
45515 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45516
fdc86bc9
UD
45517 * elf/dl-libc.c (dlerror_run): Pass back error code from
45518 dl_catch_error.
45519
c966526a
UD
45520 [BZ #13123]
45521 * elf/dl-load.c (lose): Free l_origin if it is valid.
45522
48882a1a
LD
45523 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45524 names.
45525 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45526 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45528 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45529 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45530 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45531
77a2a8b4
AZ
455322011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45533
45534 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45535 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45536 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45537 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45538 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45539 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45540 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45541 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45542 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45543 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45544
24f579d8
AM
455452011-08-15 Alan Modra <amodra@gmail.com>
45546
45547 [BZ #13092]
45548 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45549 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45550 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45551 ppc_mcount to static-only-routines.
45552 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45553 __mcount_internal.
45554 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45555 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45556
3d4837df
UD
455572011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45558
45559 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45560 for finite and infinity parameters.
45561
22700377
WS
455622011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45563
45564 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45565 and add nop instructions for throughput optimization.
45566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45567
5025581e
WS
455682011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45569
45570 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45571 aligned copy for power7 with vector-scalar instructions.
45572 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45573
08a300c9
L
455742011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45575
45576 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45577 AVX check.
45578
59178ef9
AS
455792011-09-07 Andreas Schwab <schwab@redhat.com>
45580
45581 [BZ #13144]
45582 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45583 last change.
45584
e38ba7ab
UD
455852011-09-07 Ulrich Drepper <drepper@gmail.com>
45586
45587 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45588 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45589 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45590 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45591 clock_gettime.
45592
d53a73ac
UD
455932011-09-06 Ulrich Drepper <drepper@gmail.com>
45594
fc8bffcc
UD
45595 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45596 Forgot to demangle the pointer.
45597
ceaa0c5d
UD
45598 * sysdeps/i386/sysdep.h: Define atom_text_section.
45599 * sysdeps/x86_64/sysdep.h: Likewise.
45600 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45601 section with atom_text_section.
45602 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45603 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45604 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45606 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45607
a77d3c17
UD
45608 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45609 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45610 already be defined. Change to take two parameters and don't assign
45611 result to variable. Adjust all users.
45612 Define INTERNAL_GETTIME if not already defined.
45613 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45614 call.
45615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45616 HAVE_CLOCK_GETTIME_VSYSCALL.
45617 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45618
d53a73ac
UD
45619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45620 gettimeofday vsyscall, just use time.
45621
a8f84144
AS
456222011-09-06 Andreas Schwab <schwab@redhat.com>
45623
45624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45625 <errno.h>.
45626
ef606249
UD
456272011-09-06 Ulrich Drepper <drepper@gmail.com>
45628
45629 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45630 syscall on x86-64.
45631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45632 syscall.
45633 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45634 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45635 syscall if possible.
45636
6585cb60
UD
456372011-09-05 Ulrich Drepper <drepper@gmail.com>
45638
45639 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45640 e_ident. Don't pass to find_mapsXX.
45641 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45642
a5f524e4
LD
456432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45644
45645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45646 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45647 * sysdeps/x86_64/multiarch/strchr.S: Update.
45648 Check bit_slow_BSF bit.
45649 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45650 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45651 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45652
554881ef
UD
456532011-09-05 Ulrich Drepper <drepper@gmail.com>
45654
d96de963
UD
45655 [BZ #13134]
45656 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45657 before glibc 2.15.
45658 (tryshell): Define.
45659 (__spawni): Change last parameter to be flag. Test
45660 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45661 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45662 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45663 * posix/spawni.c: Likewise.
45664 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45665 * posix/spawnp.c: Likewise. Change normal version to use
45666 SPAWN_XFLAGS_USE_PATH.
45667 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45668 SPAWN_XFLAGS_TRY_SHELL.
45669
d48e5868
UD
45670 [BZ #13150]
45671 * posix/glob.h: Remove gcc 1.x support.
45672
554881ef
UD
45673 [BZ #13068]
45674 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45675
693fb948
LD
456762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45677
45678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45679 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45680 strrchr-sse2-bsf
45681 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45682 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45683 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45684 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45685 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45686 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45687
1b48c537
UD
456882011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45689
49d42c37
UD
45690 * sysdeps/x86_64/wcscmp.S: New file.
45691
1b48c537
UD
45692 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45693 wcscmp-c wcscmp-sse2
45694 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45695 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45696 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45697 * wcsmbs/wcscmp.c: Allow renaming.
45698
15c95c5d
DM
456992011-09-05 David S. Miller <davem@davemloft.net>
45700
45701 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45702 stack slot, rather than the struct return pointer slot.
45703 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45704 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45706 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45707
2f0ad8f3
UD
457082011-09-05 Ulrich Drepper <drepper@gmail.com>
45709
d88ae418
UD
45710 * po/ja.po: Update from translation team.
45711
2f0ad8f3
UD
45712 [BZ #13144]
45713 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45714 kernel in 64-bit binaries.
45715
5f4318d1
DM
457162011-09-01 David S. Miller <davem@davemloft.net>
45717
45718 * elf/elf.h (HWCAP_SPARC_*): Move to..
45719 * sysdeps/sparc/sysdep.h: this new file and add new values.
45720 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45721 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45722 _DL_HWCAP_COUNT to 24.
45723 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45724 entries.
45725 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45726 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45727 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45728 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45729 instead of magic constants.
45730 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45731
3ba57516
DM
457322011-08-31 David S. Miller <davem@davemloft.net>
45733
45734 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45736 Reimplement to do errno handling inline.
45737 (SYSCALL_ERROR_HANDLER): New macro.
45738 (__SYSCALL_STRING): Do not do errno handling in asm.
45739 (__CLONE_SYSCALL_STRING): Delete.
45740 (__INTERNAL_SYSCALL_STRING): Delete.
45741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45742 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45743 (PSEUDO): Reimplement to do errno handling inline.
45744 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45745 (SYSCALL_ERROR_HANDLER): New macro.
45746 (__SYSCALL_STRING): Do not do errno handling in asm.
45747 (__CLONE_SYSCALL_STRING): Delete.
45748 (__INTERNAL_SYSCALL_STRING): Delete.
45749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45750 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45751 i386.
45752 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45753 (inline_syscall*): Add 'err' argument.
45754 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45755 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45756 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45757 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45758
45759 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45760 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45761
2bc17433
AS
457622011-08-30 Andreas Schwab <schwab@redhat.com>
45763
45764 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45765
fbeb5f4d
JO
457662011-08-29 Jiri Olsa <jolsa@redhat.com>
45767
45768 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45769 directive.
45770
ad69cc26
DM
457712011-08-24 David S. Miller <davem@davemloft.net>
45772
45773 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45774
39dd69df
AS
457752011-08-24 Andreas Schwab <schwab@redhat.com>
45776
45777 * elf/Makefile: Add rules to build and run unload8 test.
45778 * elf/unload8.c: New file.
45779 * elf/unload8mod1.c: New file.
45780 * elf/unload8mod1x.c: New file.
45781 * elf/unload8mod2.c: New file.
45782 * elf/unload8mod3.c: New file.
45783
45784 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45785 it wasn't used.
45786
2c0b250a
DM
457872011-08-23 David S. Miller <davem@davemloft.net>
45788
45789 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45790 subtract stack bias.
45791 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45792 %sp not %fp in calculations.
45793 (_JMPBUF_UNWINDS_ADJ): Likewise.
45794
22044b48
DM
45795 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45796 (aio_suspend): Call it to force an exception region around the
45797 AIO_MISC_WAIT() invocation.
45798
2cae4995
AS
457992011-08-23 Andreas Schwab <schwab@redhat.com>
45800
45801 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45802 backslash.
45803
873a772e
AJ
458042011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45805
45806 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45807 protection macro.
45808 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45809 and <dl-machine.h>.
45810 (Elf64_FuncDesc): Remove.
45811
25ad0df1
DM
458122011-08-22 David S. Miller <davem@davemloft.net>
45813
45814 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45815 sigaltstack check, add missing cfi directives.
45816 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45817 missing cfi directives, and sigaltstack handling.
45818
e888bcbe
AS
458192011-08-16 Andreas Schwab <schwab@redhat.com>
45820
45821 [BZ #11724]
45822 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45823 object is seen twice.
45824 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45825
45826 * elf/Makefile (distribute): Add tst-initorder2.c.
45827 (tests): Add tst-initorder2.
45828 (modules-names): Add tst-initorder2a tst-initorder2b
45829 tst-initorder2c tst-initorder2d. Add rules to build them.
45830 ($(objpfx)tst-initorder2.out): New rule.
45831 * elf/tst-initorder2.c: New file.
45832 * elf/tst-initorder2.exp: New file.
45833
87162f46
AS
458342011-08-22 Andreas Schwab <schwab@redhat.com>
45835
70538b7f
AS
45836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45837
f55ffe58
AS
45838 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45839 dependencies back to end of function.
45840
87162f46
AS
45841 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45842 $(elfobjdir)/ld.so.
45843
91b392a4
UD
458442011-08-21 Ulrich Drepper <drepper@gmail.com>
45845
45846 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45847 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45848 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45849 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45850 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45851 of __vdso_gettimeofday.
45852 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45853 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45854 attribute_hidden.
45855 (_libc_vdso_platform_setup): Remove initialization of
45856 __vdso_gettimeofday and __vdso_time.
45857
5c43483f
UD
458582011-08-20 Ulrich Drepper <drepper@gmail.com>
45859
775a77e7
UD
45860 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45861 and fgetc_unlocked.
45862 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45863 getc_unlocked.
89f447ed 45864
49c74ba9
UD
45865 * elf/dl-open.c (add_to_global): Report additions to the global scope
45866 for LD_DEBUG=scopes.
45867 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45868 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45869
5c43483f
UD
45870 [BZ #13114]
45871 * stdio-common/Makefile (tests): Add bug24.
45872 * stdio-common/bug24.c: New file.
45873
a101b025
AJ
458742011-08-19 Andreas Jaeger <aj@suse.de>
45875
45876 [BZ #13114]
45877 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45878 non-existant file when using close-on-exec mode.
45879
c88f1766
UD
458802011-08-20 Ulrich Drepper <drepper@gmail.com>
45881
0276a718
UD
45882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45883 the very first instruction.
45884
c88f1766
UD
45885 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45886 the CFI state in the end.
45887 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45888 inclusion of dl-trampoline.h.
45889 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45890
51ccffa0
AS
458912011-08-19 Andreas Schwab <schwab@redhat.com>
45892
94d7165f
AS
45893 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45894 expectations for long double.
45895
51ccffa0
AS
45896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45897 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45898
fd708658 458992011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45900
45901 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45902 artificual limit depends upon the system page size.
45903
44f0a71e
UD
459042011-08-17 Ulrich Drepper <drepper@gmail.com>
45905
45906 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45907 * resolv/Makefile: Define CFLAGS-libresolv.
45908
8de79a24
AS
459092011-08-17 Andreas Schwab <schwab@redhat.com>
45910
45911 * nss/makedb.c (compute_tables): Make variables used in nested
45912 function static.
45913
27724598
UD
459142011-08-17 Ulrich Drepper <drepper@gmail.com>
45915
c5305d88
UD
45916 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45917 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45918 if buffer was too small.
45919
27724598
UD
45920 * elf/pldd.c (main): Attach to all threads in the process.
45921 Rewrite /proc handling to use *at functions.
45922
076fe015
UD
459232011-08-16 Ulrich Drepper <drepper@gmail.com>
45924
174baab3
UD
45925 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45926 specifies first scope to show.
45927 (dl_open_worker): Update callers. Move printing scope of new
45928 object to before the relocation.
44f0a71e 45929 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45930 * sysdeps/generic/ldsodefs.h: Update declaration.
45931
076fe015
UD
45932 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45933 string for the scope number.
45934
a60df2c3
UD
459352011-08-14 Ulrich Drepper <drepper@gmail.com>
45936
45937 * nscd/servicescache.c (cache_addserv): Make sure written is always
45938 initialized.
45939
5e4287d1
RM
459402011-08-14 Roland McGrath <roland@hack.frob.com>
45941
85ae0589
RM
45942 * sysdeps/i386/i486/bits/atomic.h
45943 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45944 statement expression, so as to suppress "set but not used" warning.
45945 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45946
69f63097
RM
45947 * string/strncat.c (STRNCAT): Use prototype definition.
45948
675456ef
RM
45949 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45950 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45951 -Iprograms here.
45952 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45953 (localedef-modules): Add localedef.
45954 (locale-modules): Add locale.
45955
5e4287d1
RM
45956 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45957 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45958 to avoid a warning.
45959
9c96ff23
DM
459602011-08-14 David S. Miller <davem@davemloft.net>
45961
45962 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45963 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45964
f9ddf089
UD
459652011-08-13 Ulrich Drepper <drepper@gmail.com>
45966
44f0a71e 45967 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45968 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45969 * elf/rtld.c (dl_main): Set l_name of vDSO.
45970 Call _dl_show_scope when DL_DEBUG_SCOPES.
45971 (process_dl_debug): Recognize scopes flag and also set it for all.
45972 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45973 Declare _dl_show_scope.
45974
1dc27704
UD
45975 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45976 (do_dlopen): Pass caller_dlopen to dl_open.
45977 (__libc_dlopen_mode): Initialize caller_dlopen.
45978
f9ddf089
UD
45979 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45980 of libc. Make tolower call locale-independent. Optimize a bit by
45981 using isdigit instead of isalnum.
45982 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45983
9ac533d3
UD
459842011-08-12 Ulrich Drepper <drepper@gmail.com>
45985
45986 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45987 was a dependency or dynamically loaded.
45988
89edf2e9
UD
459892011-08-11 Ulrich Drepper <drepper@gmail.com>
45990
8e999d29
UD
45991 * intl/l10nflist.c: Allow architecture-specific pop function.
45992 * sysdeps/x86_64/l10nflist.c: New file.
45993
89edf2e9
UD
45994 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45995 classification.
45996
14d96785
AS
459972011-08-10 Andreas Schwab <schwab@redhat.com>
45998
45999 * include/dirent.h: Add libc_hidden_proto for scandirat and
46000 scandirat64. Don't declare __scandirat64.
46001 * dirent/scandirat.c: Add libc_hidden_def.
46002 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46003 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46004
6761ac04
DM
460052011-08-10 David S. Miller <davem@davemloft.net>
46006
46007 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46008 enum.
46009 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46010 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46011 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46012
c55fbd1e
UD
460132011-08-09 Ulrich Drepper <drepper@gmail.com>
46014
46015 * Versions.def [libc]: Add GLIBC_2.15.
46016 * dirent/Makefile (routines): Add scandirat and scandirat64.
46017 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46018 GLIBC_2.15.
46019 * dirent/dirent.h: Declare scandirat and scandirat64.
46020 * dirent/scandirat.c: New file.
46021 * dirent/scandirat64.c: New file.
46022 * sysdeps/wordsize-64/scandirat.c: New file.
46023 * sysdeps/wordsize-64/scandirat64.c: New file.
46024 * dirent/opendir.c: Define opendirat.
46025 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46026 using scandirat.
46027 * dirent/scandir64.c: Adjust for scandir.c change.
46028 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46029 __scandirat64, and __scandir_cancel_handler.
46030 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46031 additional parameter and use openat instead of open (outside of ld.so).
46032 Add new __opendir as wrapper around __opendirat.
46033 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46034 here without requiring old scandirat implementation.
46035
879165f2
UD
460362011-08-08 Ulrich Drepper <drepper@gmail.com>
46037
46038 * dirent/scandir.c (cancel_handler): Renamed to
46039 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46040 defined. Adjust users.
46041 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46042 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46043
cb7e923b
UD
460442011-08-04 Ulrich Drepper <drepper@gmail.com>
46045
16292edd
UD
46046 * string/test-string.h (IMPL): Use __STRING to expand name and then
46047 stringify it.
46048
cb7e923b
UD
46049 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46050 of cleanups.
46051
cff82933
LD
460522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46053
46054 * string/Makefile: Update.
46055 (strop-tests): Append strncat.
46056 * string/test-wcscmp.c: New file.
46057 New comprehensive test for wcscmp.
46058 * string/test-strcmp.c: Update.
46059 (WIDE): New define.
46060
9be9bfcc
AS
460612011-07-22 Andreas Schwab <schwab@redhat.com>
46062
46063 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46064 line.
46065
2e96f1c7
AS
460662011-07-26 Andreas Schwab <schwab@redhat.com>
46067
46068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46069 encoding to ACE if AI_IDN.
46070
85188888
JJ
460712011-08-01 Jakub Jelinek <jakub@redhat.com>
46072
46073 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46074 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46075
5fa16e9b
LD
460762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46077
46078 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46079 Fix overflow bug in strncat.
46080 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46081
46082 * string/test-strncat.c: Update.
46083 Add new tests for checking overflow bugs.
46084
460852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46086
46087 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46088 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46089 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46090 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46092 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46093 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46094 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46095 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46096
46097 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46098 (USE_AS_STRCAT): Define.
46099 Add strcat and strncat support.
46100 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46101
8c1a459f
AS
461022011-07-25 Andreas Schwab <schwab@redhat.com>
46103
46104 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46105 __n bigger than INT_MAX+1.
46106 (__strncmp_g): Likewise.
46107
bba33c28
UD
461082011-07-23 Ulrich Drepper <drepper@gmail.com>
46109
798be72d
UD
46110 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46111 * libio/stido.h: Likewise.
46112
8accd4dc
UD
46113 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46114 (AF_NFC): Define.
46115 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46116 (AF_NFC): Define.
46117
cbff0d96
UD
46118 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46119 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46120 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46121 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46122 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46123
9191c04a
UD
46124 [BZ #13021]
46125 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46126 installed.
46127
bba33c28
UD
46128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46129 typo.
46130 (_dl_x86_64_save_sse): Likewise.
46131
90f139dd
UD
461322011-07-22 Ulrich Drepper <drepper@gmail.com>
46133
1aae088a
UD
46134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46135 OSXSAVE.
46136 (_dl_x86_64_save_sse): Likewise.
46137
8e2045f5
UD
46138 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46139
90f139dd
UD
46140 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46141
1d002f25
AS
461422011-07-21 Andreas Schwab <schwab@redhat.com>
46143
46144 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46145 change.
46146 (_dl_x86_64_save_sse): Use correct AVX check.
46147
21137f89
UD
461482011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46149
46150 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46151 bug in strncpy/strncat.
46152 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46153
a65c0b7a
UD
461542011-07-21 Ulrich Drepper <drepper@gmail.com>
46155
46156 * string/tester.c (test_strcat): Add tests for different alignments
46157 of source and destination.
46158 (test_strncat): Likewise.
46159
6986b98a
UD
461602011-07-20 Ulrich Drepper <drepper@gmail.com>
46161
90bb2039
UD
46162 [BZ #12852]
46163 * posix/glob.c (glob): Check passed in values before using them in
46164 expressions to avoid some overflows.
46165 (glob_in_dir): Likewise.
46166
5644ef54
UD
46167 [BZ #13007]
46168 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46169 check for AVX enablement so that we don't crash with old kernels and
46170 new hardware.
46171 * elf/tst-audit4.c: Add same checks here.
46172 * elf/tst-audit6.c: Likewise.
46173
46174 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46175
bfc9dc9b
AS
461762011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46177
46178 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46179
702e64bb
UD
461802011-07-20 Ulrich Drepper <drepper@gmail.com>
46181
46182 * po/cs.po: Update from translation team.
46183 * po/bg.po: Likewise.
46184
295e904f
MP
461852011-07-12 Marek Polacek <mpolacek@redhat.com>
46186
46187 * misc/sys/cdefs.h: Add support for const attribute.
46188 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46189 to gnu_dev_{major,minor,makedev} functions.
46190
3ff94596
MP
461912011-07-20 Marek Polacek <mpolacek@redhat.com>
46192
46193 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46194
28b59fca
AS
461952011-07-20 Andreas Schwab <schwab@redhat.com>
46196
46197 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46198 strlen results.
46199
19df733e
AK
462002011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46201
46202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46203 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46204 register in order to avoid conflicts with the soft frame pointer
46205 being held in r11 when necessary.
46206 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46207 (INTERNAL_VSYSCALL_NCS): Likewise.
46208
c8835729
MP
462092011-07-14 Marek Polacek <mpolacek@redhat.com>
46210
46211 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46212 * elf/dl-fini.c (_dl_fini): Adjust caller.
46213 * elf/dl-close.c (_dl_close_worker): Likewise.
46214 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46215
b902330c
MP
462162011-07-15 Marek Polacek <mpolacek@redhat.com>
46217
8991e135
MP
46218 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46219 "aux_cache->nlibs < 0".
46220
b902330c
MP
46221 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46222 in the reload-count case.
46223
99710781
LD
462242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46225
46226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46227 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46228 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46229 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46230 * sysdeps/x86_64/multiarch/strcat.S: New file.
46231 * sysdeps/x86_64/multiarch/strncat.S: New file.
46232 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46233 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46234 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46235 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46236 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46237 (USE_AS_STRCAT): Define.
46238 Add strcat and strncat support.
46239 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46240 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46241 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46242 * string/strncat.c: Update.
46243 (USE_AS_STRNCAT): Define.
46244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46245 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46246 and i7.
46247 * sysdeps/x86_64/multiarch/init-arch.h
46248 (bit_Prefer_PMINUB_for_stringop): New.
46249 (index_Prefer_PMINUB_for_stringop): Likewise.
46250 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46251 bit_Prefer_PMINUB_for_stringop.
46252
7dc6bd90
UD
462532011-07-19 Ulrich Drepper <drepper@gmail.com>
46254
46255 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46256 buffer64.
46257 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46258 of casting of buffer.
46259 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46260 buffer32 and buffer64.
46261 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46262 writes instead of casting of buffer.
46263 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46264 buffer32.
46265 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46266 casting of buffer.
46267
e0e72284
AS
462682011-07-19 Andreas Schwab <schwab@redhat.com>
46269
46270 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46271
feb1eb0b
UD
462722011-07-19 Ulrich Drepper <drepper@gmail.com>
46273
46274 * nscd/nscd.c (termination_handler): Don't do anything for a database
46275 if it has not yet been initialized.
46276
298711ff
UD
462772011-07-18 Ulrich Drepper <drepper@gmail.com>
46278
46279 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46280
462812011-07-15 Marek Polacek <mpolacek@redhat.com>
46282
46283 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46284
f9d68389
UD
462852011-07-18 Ulrich Drepper <drepper@gmail.com>
46286
46287 * po/nl.po: Update from translation team.
46288 * po/sv.po: Likewise.
46289
db290cf5
RM
462902011-07-16 Roland McGrath <roland@hack.frob.com>
46291
46292 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46293 now disallowed by GCC.
5c550700 46294
fd5e21c7
RM
46295 * configure.in (use-default-link): Default to yes if a test -shared
46296 link meets our qualifications.
46297 * configure: Regenerated.
46298
5c550700
RM
46299 * config.make.in (output-format): New variable.
46300 * configure.in: Check for ld --print-output-format support.
46301 * configure: Regenerated.
46302 * Makerules ($(common-objpfx)format.lds)
46303 [$(output-format) != unknown]: Just use $(output-format),
46304 instead of the linker-script munging.
46305
9fa2c032
RM
463062011-07-14 Roland McGrath <roland@hack.frob.com>
46307
a6928d51
RM
46308 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46309 of $(common-objpfx)shlib.lds.
46310 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46311
661607b3
RM
46312 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46313 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46314
9fa2c032
RM
46315 * configure.in (-z relro check): Adjust test code to add a large
46316 writable data section after it.
46317 * configure: Regenerated.
46318
defe9061
RM
463192011-07-11 Roland McGrath <roland@hack.frob.com>
46320
46321 * configure.in (-z relro check): Fix test code to make the variable
46322 truly const.
46323 * configure: Regenerated.
46324
319b9ad4
UD
463252011-07-11 Ulrich Drepper <drepper@gmail.com>
46326
46327 * nscd/nscd.h (struct traced_file): Define.
46328 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46329 elements. Add traced_files.
46330 (inotify_fd): Declare.
46331 (register_traced_file): Declare.
46332 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46333 (inotify_fd): Export.
46334 (resolv_conf_descr): Remove.
46335 (nscd_init): Move inotify descriptor creation to main.
46336 Don't register files for notification here.
46337 (register_traced_file): New function.
46338 (invalidate_cache): Don't use reset_res to determine whether to call
46339 res_init, go through the list of registered files.
46340 (main_loop_poll): The inotify descriptors are now stored in the
46341 structures for the traced files.
46342 (main_loop_epoll): Likewise
46343 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46344 to __nss_disable_nscd.
46345 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46346 for a database anymore. Check the records for all the registered
46347 files instead.
46348 * nss/Makefile (libnss_files-routines): Add files-init.
46349 (libnss_db-routines): Add db-init.
46350 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46351 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46352 * nss/nss_db/db-init.c: New file.
46353 * nss/nss_files/files-init.c: New file.
46354 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46355 __nss_lookup_function.
46356 (__nss_lookup_function): Call nss_load_library.
46357 (nss_load_all_libraries): New function.
46358 (__nss_disable_nscd): Take parameter with callback function for files
46359 to register. Set is_nscd. Load all the DSOs for the NSS modules
46360 used for the cached services.
46361 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46362 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46363 options for features to all the files in nscd.
46364
46365 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46366
23bee3e8
RM
463672011-07-10 Roland McGrath <roland@hack.frob.com>
46368
46369 * csu/elf-init.c (__libc_csu_init): Comment typo.
46370
46a5b7f0
UD
463712011-07-09 Ulrich Drepper <drepper@gmail.com>
46372
46373 * po/pl.po: Update from translation team.
46374 * po/ja.po: Likewise.
46375 * po/ru.po: Likewise.
46376 * po/ko.po: Likewise.
46377 * po/fr.po: Likewise.
46378
d30cf5bb
RM
463792011-07-09 Roland McGrath <roland@hack.frob.com>
46380
113ddea4
RM
46381 * configure.in (.ctors/.dtors header and trailer check):
46382 Use an empirical test on a built program.
46383 * configure: Regenerated.
46384
574920b4
RM
46385 * configure.in (-z relro check): Use an empirical test on a built DSO.
46386 Detect, but do not require, on ia64.
46387 * configure: Regenerated.
46388
d30cf5bb
RM
46389 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46390 Update tests that use readelf to use $READELF instead.
46391 * configure: Regenerated.
46392
8538fdb3
UD
463932011-07-08 Ulrich Drepper <drepper@gmail.com>
46394
46395 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46396 if the result is not used.
46397
04d08991
AJ
463982011-07-05 Andreas Jaeger <aj@suse.de>
46399
46400 [BZ#9696]
46401 * stdlib/tst-strtod.c: Add testcase.
46402
de283087
AD
464032011-07-07 Ulrich Drepper <drepper@gmail.com>
46404
4e5f31c8 46405 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46406 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46407 The latter has a higher limit. Take additional parameter to pass to
46408 the new function.
46409 (__pathconf): Pass file to __statfs_link_max.
46410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46411 __statfs_link_max.
46412 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46413 __statfs_link_max.
46414
de283087
AD
46415 [BZ #12868]
46416 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46417 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46418 Handle Lustre.
46419 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46420 (__statfs_filesize_max): Likewise.
46421 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46422
c75fa153
AJ
464232011-07-05 Andreas Jaeger <aj@suse.de>
46424
46425 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46426
1a544854
UD
464272011-07-06 Marek Polacek <mpolacek@redhat.com>
46428
46429 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46430 `status' variable.
46431 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46432 Likewise.
46433
6f0eec67
UD
464342011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46435
46436 * Makefile (strop-tests): Add strncat.
46437 * string/test-strncat.c: New file.
46438
aae30307
UD
464392011-06-30 Marek Polacek <mpolacek@redhat.com>
46440
46441 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46442
c0cfb5eb
UD
464432011-06-21 Andreas Jaeger <aj@suse.de>
46444
46445 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46446 Copy rule from iconvdata/Makefile.
46447
01636b21
UD
464482011-07-06 Ulrich Drepper <drepper@gmail.com>
46449
46450 [BZ #12922]
46451 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46452 but no long options are defined, just return 'W'.
46453
9895c8bc
UD
464542011-06-22 Marek Polacek <mpolacek@redhat.com>
46455
46456 [BZ #9696]
46457 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46458
5d4cf042
UD
464592011-07-06 Ulrich Drepper <drepper@gmail.com>
46460
46461 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46462 netgroups to read.
960e5535 46463 (innetgr): Likewise.
5d4cf042 46464
751eb97e
RM
464652011-07-05 Roland McGrath <roland@hack.frob.com>
46466
46467 * config.make.in (install_root): Default to $(DESTDIR).
46468
f15f1e45
UD
464692011-07-05 Ulrich Drepper <drepper@gmail.com>
46470
46471 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46472
4e34ac6a
RM
464732011-07-02 Roland McGrath <roland@hack.frob.com>
46474
5e9b6af4
RM
46475 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46476
84f9ea0f
RM
46477 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46478 containing directory rather than embedding absolute directory names.
46479
ea5ee9f7
RM
46480 * scripts/check-local-headers.sh: Rewritten using awk.
46481 Match by word, not by line. Print error messages for matches.
46482 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46483
1b74661a
RM
46484 * Makerules [shlib-lds-flags empty]:
46485 ($(common-objpfx)libc_pic.opts): New target.
46486 ($(common-objpfx)libc_pic.os.clean): New target.
46487 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46488
46489 * config.make.in (OBJCOPY): New variable.
46490 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46491 * configure: Regenerated.
46492
f781ef40
RM
46493 * config.make.in (use-default-link): New variable.
46494 * configure.in (use_default_link): Grok --with-default-link to set it.
46495 * configure: Regenerated.
46496 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46497 (shlib-lds, shlib-lds-flags): Define to empty.
46498
2d4fa81e
RM
46499 * Makerules (shlib-lds): New variable.
46500 (shlib-lds-flags): New variable.
46501 (build-shlib, build-moduile, build-module-asneeded): Use it.
46502 ($(common-objpfx)libc.so): Use $(shlib-lds).
46503 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46504 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46505
31fffa6b
RM
46506 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46507 DT_FLAGS/DT_FLAGS_1 with zero flags.
46508
4e34ac6a
RM
46509 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46510 linker script munging.
46511
fcfc776b
UD
465122011-07-02 Ulrich Drepper <drepper@gmail.com>
46513
46514 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46515 as 128-bit value.
46516 * crypt/sha512.c (sha512_process_block): Perform total addition using
46517 128-bit if possible.
46518 (__sha512_finish_ctx): Likewise.
46519 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46520 as 64-bit value.
46521 * crypt/sha256.c (SWAP64): Define.
46522 (sha256_process_block): Perform total addition using 64-bit if
46523 possible.
46524 (__sha256_finish_ctx): Likewise.
46525
99231d9a
UD
465262011-07-01 Ulrich Drepper <drepper@gmail.com>
46527
46528 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46529 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46530 * nscd/hstcache.c (cache_addhst): Likewise.
46531 * nscd/grpcache.c (cache_addgr): Likewise.
46532 * nscd/aicache.c (addhstaiX): Likewise
46533 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46534
445b4a53
TK
465352011-07-01 Thorsten Kukuk <kukuk@suse.de>
46536
46537 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46539 * nscd/hstcache.c (cache_addhst): Likewise.
46540 * nscd/grpcache.c (cache_addgr): Likewise.
46541 * nscd/aicache.c (addhstaiX): Likewise
46542
6d4d8e8e
AS
465432011-07-01 Andreas Schwab <schwab@redhat.com>
46544
46545 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46546 domain only when needed.
46547
89f654c5
AS
465482011-06-30 Andreas Schwab <schwab@redhat.com>
46549
46550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46551 is always restored.
46552
cf3b23ff
UD
465532011-06-29 Ulrich Drepper <drepper@gmail.com>
46554
46555 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46556 are re-adding the entry.
46557 * nscd/servicescache.c (cache_addserv): Likewise.
46558
751626f9
AJ
465592011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46560
46561 * sysdeps/generic/dl-irel.h: fix protection against multiple
46562 inclusions.
46563 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46564
9113ea1f
UD
465652011-06-28 Ulrich Drepper <drepper@gmail.com>
46566
5c0b8d90
UD
46567 [BZ #12935]
46568 * malloc/memusage.sh: Fix quoting in message.
46569 * debug/xtrace.sh: Likewise.
46570
9113ea1f
UD
46571 * configure.in: Remove support for --experimental-malloc option, make
46572 it the default.
46573 * config.make.in: Likewise.
46574 * malloc/Makefile: Likewise.
46575
a4172181
AS
465762011-06-27 Andreas Schwab <schwab@redhat.com>
46577
46578 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46579 two-byte characters.
46580
78a7eee7
RM
465812011-06-27 Roland McGrath <roland@hack.frob.com>
46582
62bede13
RM
46583 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46584 AC_CACHE_CHECK invocation.
46585 * configure: Regenerated.
46586
78a7eee7
RM
46587 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46588
5ce33a62
UD
465892011-06-27 Ulrich Drepper <drepper@gmail.com>
46590
034807a9
UD
46591 [BZ #12350]
46592 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46593 bit from old_res_options.
46594
4902da17
UD
46595 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46596
5ce33a62
UD
46597 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46598 value type for setfct.
46599
c2344f56
L
466002011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46601
46602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46603 __gettimeofday instead of gettimeofday.
46604
68468076
UD
466052011-06-26 Ulrich Drepper <drepper@gmail.com>
46606
46607 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46608
acb0d739
L
466092011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46610
46611 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46612
46613 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46614 info.
46615
8912479f
L
466162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46617
46618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46619 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46620 strcpy-sse2-unaligned strncpy-sse2-unaligned
46621 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46622 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46623 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46624 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46625 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46626 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46627 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46628 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46629 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46630 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46631 (STRCPY): Support SSE2 and SSSE3 versions.
46632
d5495a11
UD
466332011-06-24 Ulrich Drepper <drepper@gmail.com>
46634
46635 [BZ #12874]
46636 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46637 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46638 kernels which artificially limit size of requests.
46639
0b1cbaae
L
466402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46641
46642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46643 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46644 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46645 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46646 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46647 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46648 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46649 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46650 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46652 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46653 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46654 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46655 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46656 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46658 Enable unaligned load optimization for Intel Core i3, i5 and i7
46659 processors.
46660 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46661 Define.
46662 (index_Fast_Unaligned_Load): Define.
46663 (HAS_FAST_UNALIGNED_LOAD): Define.
46664
07f494a0
MP
466652011-06-23 Marek Polacek <mpolacek@redhat.com>
46666
46667 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46668
fa3fc0fe
UD
466692011-06-22 Ulrich Drepper <drepper@gmail.com>
46670
46671 [BZ #12907]
46672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46673 until it is clear that the information is realy needed.
46674 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46675
e12df166
AS
466762011-06-22 Andreas Schwab <schwab@redhat.com>
46677
46678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46679
852eb34d
UD
466802011-06-22 Ulrich Drepper <drepper@gmail.com>
46681
84e2a551
UD
46682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46683 /sys/devices/system/cpu/online if it is usable.
46684
852eb34d
UD
46685 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46686 reading the information from the /proc filesystem to once a second.
46687
6e502e19
UD
466882011-06-21 Andreas Jaeger <aj@suse.de>
46689
46690 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46691 NULL after inclusion of kernel headers.
46692
75d39ff2
UD
466932011-06-21 Ulrich Drepper <drepper@gmail.com>
46694
51f9aa6a
UD
46695 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46696 calls to internal_setent.
46697
c0244a9d
UD
46698 [BZ #12885]
46699 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46700 addresses using gethostbyname4_r ignore IPv4 addresses.
46701
c5e3c2ae
UD
46702 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46703 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46704
75d39ff2
UD
46705 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46706
42675c6f
DM
467072011-06-20 David S. Miller <davem@davemloft.net>
46708
46709 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46710 inclusions.
46711 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46712
46713 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46714 (elf_irel): Use it.
46715 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46716 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46717 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46718 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46719 * sysdeps/x86_64/dl-irel.h: Likewise.
46720
46721 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46722 * elf/dl-sym.c: Likewise.
46723
57912a71
UD
467242011-06-15 Ulrich Drepper <drepper@gmail.com>
46725
46726 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46727 need to dereference resplen2.
46728
ee22793d
AS
467292011-06-14 Andreas Schwab <schwab@redhat.com>
46730
46731 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46732
a9e836b0
UD
467332011-06-15 Ulrich Drepper <drepper@gmail.com>
46734
77fb9117
UD
46735 * Makeconfig: Define vardbdir and inst_vardbdir.
46736 * nss/Makefile: Add rules to install db-Makefile.
46737
40c1b22c
UD
46738 * nss/nss_db/db-XXX.c: Cleanup.
46739
9f2da732
UD
46740 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46741 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46742 GLIBC_PRIVATE.
46743 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46744 * nss/makedb.c: Implement -g option to specify that value strings
46745 are generated and should not be added to table iterated over for
46746 get*ent calls.
46747 * nss/nss_db/db-initgroups.c: New file.
46748
82e9a1f7
UD
46749 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46750 interface.
46751
c41af17e
UD
46752 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46753 (internal_getgrouplist): Adjust to name change.
46754 Update use_initgroups_entry if this is not the first call.
46755 * nss/databases.def: Add initgroups entry.
46756
a9e836b0
UD
46757 * nss/makedb.c (compute_tables): Check result of multiple hash table
46758 sizes to minimize maximum chain length.
46759
2666d441
UD
467602011-06-14 Ulrich Drepper <drepper@gmail.com>
46761
46762 * Versions.def: Add entry for libnss_db.
46763 * shlib-versions: Likewise.
46764 * nss/Makefile: Add rules to build libnss_db.
46765 * nss/Versions: Add libnss_db information. Organize libnss_files
46766 entries better.
46767 * nss/db-Makefile: Add gshadow support. Change rules for the new
46768 makedb progra. Some minor improvements to generate smaller files.
46769 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46770 here from...
46771 * nss/makedb.c: ...here.
46772 Improve database format to be smaller and require less memory at
46773 runtime.
46774 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46775 db anymore.
46776 * nss/nss_db/db-netgrp.c: Likewise.
46777 * nss/nss_db/db-open.c: Likewise.
46778 * nss/nss_files/flies-XXX.x: Adjust comments.
46779 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46780 * nss/nss_files/files-grp.c: Likewise.
46781 * nss/nss_files/files-hosts.c: Likewise.
46782 * nss/nss_files/files-network.c: Likewise.
46783 * nss/nss_files/files-proto.c: Likewise.
46784 * nss/nss_files/files-pwd.c: Likewise.
46785 * nss/nss_files/files-rpc.c: Likewise.
46786 * nss/nss_files/files-service.c: Likewise.
46787 * nss/nss_files/files-sgrp.c: Likewise.
46788 * nss/nss_files/files-spwd.c: Likewise.
46789 * nss/nss_db/db-alias.c: Removed.
46790 * nss/nss_db/dummy-db.h: Removed.
46791
9ee76b5a
UD
467922011-06-02 Ulrich Drepper <drepper@gmail.com>
46793
46794 * nss/makedb.c: Rewritten to not use database library.
46795 * nss/Makefile: Update to build new makedb program.
46796
c71ca1f8
AJ
467972011-06-14 Andreas Jaeger <aj@suse.de>
46798
46799 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46800 memset declaration.
46801
3154bfb8
UD
468022011-06-10 Andreas Schwab <schwab@redhat.com>
46803
46804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46805 tmpbuf.
46806
b350afab
RM
468072011-06-10 Roland McGrath <roland@hack.frob.com>
46808
decd4e50
RM
46809 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46810 * elf/Makefile ($(objpfx)ld.so): Likewise.
46811
5615eaf2
RM
46812 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46813 Don't list ld.so twice in dependencies.
46814
46815 * posix/bug-regex31.c: Include <stdlib.h>.
46816
46817 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46818
46819 * nis/nss_compat/compat-spwd.c
46820 (getspent_next_nss_netgr): Remove unused variable.
46821 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46822
46823 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46824 nonmembers" output to use the right array.
46825
46826 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46827
46828 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46829
46830 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46831 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46832 * catgets/gencat.c (read_input_file): Likewise.
46833 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46834
46835 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46836 variable definition inside #if's controlling its use.
46837
46838 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46839
46840 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46841
46842 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46843
46844 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46845 unreachable code.
46846
46847 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46848
b68e08db
RM
46849 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46850 * configure: Regenerated.
46851
b350afab
RM
46852 * Makerules: Revert last change.
46853 * elf/Makefile: Likewise.
46854
28368601
RM
468552011-06-09 Roland McGrath <roland@hack.frob.com>
46856
46857 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46858 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46859 (reloc-link): Likewise.
46860
11988f8f
UD
468612011-06-09 Ulrich Drepper <drepper@gmail.com>
46862
46863 * elf/Makefile: Add rules to build pldd.
46864 * elf/pldd.c: New file.
46865 * elf/pldd-xx.c: New file.
46866
e80fab37
UD
468672011-06-07 Ulrich Drepper <drepper@gmail.com>
46868
46869 * version.h: Update for 2.15 development version.
46870
9b849836
DM
468712011-06-07 David S. Miller <davem@davemloft.net>
46872
46873 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46874 ifuncs.
46875 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46876 elf_machine_lazy_rel): Likewise.
46877 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46879 elf_machine_lazy_rel): Likewise.
46880 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46881 dl_hwcap via passed in argument.
46882 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46883 Likewise.
46884
5a31b283
AK
468852011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46886
46887 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46888
069e52f8
RM
468892011-06-06 Roland McGrath <roland@hack.frob.com>
46890
46891 [BZ #12849]
46892 * manual/fdl-1.1.texi: New file, verbatim from:
46893 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46894 * manual/lgpl-2.1.texi: New file, verbatim from:
46895 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46896 * manual/Makefile (licenses): New variable, list those new file names.
46897 (texis): Use it.
46898 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46899
46900 * manual/fdl.texi: File removed.
46901 * manual/lesser.texi: File removed.
46902 * manual/libc.texinfo (Copying, Documentation License):
46903 Use new @include file names, put @appendix directive before @include.
46904
f16846a5
JJ
469052011-06-04 Jakub Jelinek <jakub@redhat.com>
46906
46907 [BZ #12841]
46908 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46909 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46910 (mq_open): Add __NTH.
46911
3d29045b
L
469122011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46913
46914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46915 Assume Intel Core i3/i5/i7 processor if AVX is available.
46916
8c297311
UD
469172011-05-31 Ulrich Drepper <drepper@gmail.com>
46918
46919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46920 typo.
46921
c8fc0c91
UD
469222011-05-31 Andreas Schwab <schwab@redhat.com>
46923
46924 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46925 memory. Use alloca_account. Fix memory leak when retrying.
46926
5b27a807
UD
469272011-05-31 Ulrich Drepper <drepper@gmail.com>
46928
356f8bc6
UD
46929 * version.h (RELEASE): Bump for 2.14 release.
46930 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46931
5b27a807
UD
46932 * config.make.in (RANLIB): Remove entry.
46933
01f16ab0
UD
469342011-05-30 Ulrich Drepper <drepper@gmail.com>
46935
41fce8bd
UD
46936 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46937 (libc.pot): Work around missing support for .ksh extension in xgettext.
46938
4769ae77
UD
46939 [BZ #12684]
46940 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46941 if both request failed.
46942 (send_dg): In case of server errors clear resplen or *resplen2.
46943
6b1e7d19
UD
46944 [BZ #12454]
46945 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46946 when there are multiple maps.
46947 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46948 (_dl_fini): Remove test here.
46949
01f16ab0
UD
46950 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46951
b1ebd700
UD
469522011-05-29 Ulrich Drepper <drepper@gmail.com>
46953
7ae22829
UD
46954 [BZ #12350]
46955 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46956 bit from old_res_options.
46957 (gaih_inet): Likewise.
46958
553149f6 46959 [BZ #11099]
18a84741 46960 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46961 as signed.
46962
652ffab1
UD
46963 * resolv/res_init.c (res_setoptions): Make the code more compact.
46964
16985fd0
UD
46965 [BZ #11558]
46966 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46967 set RES_USEVC.
46968
0464f746
UD
46969 [BZ #11634]
46970 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46971
7d17596c
UD
46972 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46973
cf6bbbd7
UD
46974 [BZ #11781]
46975 * malloc/malloc.h: Declare malloc hook variables as volatile.
46976
13f1ab36
UD
46977 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46978 in last patch.
46979
b1ebd700
UD
46980 [BZ #11799]
46981 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46982 raise in the comment.
80e2212d
UD
46983 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46984 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46985 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46986
ce67228d
UD
469872011-05-28 Ulrich Drepper <drepper@gmail.com>
46988
8887a920
UD
46989 [BZ #12811]
46990 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46991 grow the buffers more if it already has to be sufficient.
46992 (build_wcs_upper_buffer): Likewise.
46993 * posix/regexec.c (check_matching): Likewise.
46994 (clean_state_log_if_needed): Likewise.
46995 (extend_buffers): Don't enlarge buffers beyond size of the input
46996 buffer.
46997 Patches mostly by Emil Wojak <emil@wojak.eu>.
46998 * posix/bug-regex32.c: New file.
46999 * posix/Makefile (tests): Add bug-regex32.
47000
4f031072
UD
47001 * locale/findlocale.c (_nl_find_locale): Return right away if
47002 _nl_explode_name failed.
47003 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47004
d0478f0c
UD
47005 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47006
de81b246
UD
47007 * debug/xtrace.sh: Unify messages.
47008 * malloc/memusage.sh: Likewise.
47009
c738465a
UD
47010 [BZ #12813]
47011 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47012 time symbol from vDSO. Substitute with vsyscall if not available.
47013 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47014 __vdso_time.
47015
f1f929d7
UD
47016 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47017 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47018 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47019 Add sendmmsg and internal_sendmmsg.
47020 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47021 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47023
ce67228d
UD
47024 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47025 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47026 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47027
e57420c6
UD
470282011-05-27 Ulrich Drepper <drepper@gmail.com>
47029
a8509ca5
UD
47030 [BZ #12813]
47031 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47032 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47033 available.
47034 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47035 __vdso_getcpu.
47036
e57420c6
UD
47037 [BZ #12814]
47038 * iconvdata/Makefile (tests): Add bug-iconv9.
47039 * iconvdata/bug-iconv9.c: New file.
47040
4d07db15
AS
470412011-05-27 Andreas Schwab <schwab@redhat.com>
47042
47043 [BZ #12814]
47044 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47045
ea486f69
JJ
470462011-05-25 Jakub Jelinek <jakub@redhat.com>
47047
47048 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47049 (struct user_regs_struct): Change intcs field back to cs.
47050
6f038433
UD
470512011-05-25 Ulrich Drepper <drepper@gmail.com>
47052
47053 * po/ja.po: Update from translation team.
47054
67f86a25
UD
470552011-05-23 Ulrich Drepper <drepper@gmail.com>
47056
47057 [BZ #12795]
47058 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47059 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47060
def7fbd6
AS
470612011-05-20 Andreas Schwab <schwab@redhat.com>
47062
47063 * stdlib/longlong.h: Update from GCC.
47064
f50ef8f1
AS
470652011-05-23 Andreas Schwab <schwab@redhat.com>
47066
47067 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47068 parameter name.
47069 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47070 Add parameter name.
47071 (__sysconf): Pass it down.
47072
de7ce8f1
UD
470732011-05-22 Ulrich Drepper <drepper@gmail.com>
47074
f2962a71
UD
47075 [BZ #12671]
47076 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47077 some situations.
47078 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47079 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47080 add in in __libc_use_alloca calls. Adjust callers.
47081 (glob): Use malloc in some situations.
47082
de7ce8f1
UD
47083 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47084 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47085 pltexit.
47086
aec84f53
UD
470872011-05-21 Ulrich Drepper <drepper@gmail.com>
47088
05bb4a68
UD
47089 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47090 and CLOCK_BOOTTIME_ALARM.
47091
7ea72f99
UD
47092 [BZ #12782]
47093 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47094 is returned.
47095
7e4afad5
UD
47096 * string/_strerror.c (__strerror_r): Print negative errors as signed
47097 numbers.
47098
8e211fec
UD
47099 [BZ #12777]
47100 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47101 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47102 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47103
f7d82dc9
UD
47104 * configure.in: Fix typo in redirection and correct removal of test
47105 files in two cases.
47106
cc9e536d
UD
47107 [BZ #12788]
47108 * locale/setlocale.c (new_composite_name): Fix test to check for
47109 identical name of all categories.
47110
aec84f53
UD
47111 [BZ #12792]
47112 * libio/filedoalloc.c (local_isatty): New function.
47113 (_IO_file_doallocate): Use local_isatty.
47114 * stdio-common/perror.c (perror): In case a new stream is used
47115 forward the stream error.
47116 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47117 error flag.
47118
78e64fdc
RT
471192011-05-20 Ulrich Drepper <drepper@gmail.com>
47120
34a9094f
UD
47121 [BZ #11869]
47122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47123 alloca.
47124 * include/alloca.h (extend_alloca_account): Define.
47125
78e64fdc
RT
47126 [BZ #11857]
47127 * posix/regex.h: Fix comments with documentation of user-accessible
47128 fields after compilation and describe correct free'ing of pattern
47129 after re_compile_pattern.
47130 Patch by Reuben Thomas <rrt@sc3d.org>.
47131
457bddfc
RA
471322011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47133
47134 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47135 and -mno-altivec to prevent the compiler from using Altivec and/or
47136 VSX instructions when the corresponding registers are not available.
47137
a4527b51
AS
471382011-05-19 Andreas Schwab <schwab@redhat.com>
47139
47140 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47141
ed690b2f
UD
471422011-05-19 Ulrich Drepper <drepper@gmail.com>
47143
47144 * libio/freopen.c (freopen): Use __dup2, not dup2.
47145 * libio/freopen64.c (freopen64): Likewise.
47146
8db73634
L
471472011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47148
47149 [BZ #12775]
47150 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47151 * math/Makefile (tests): Add test-powl.
47152 (CFLAGS-test-powl.c): Define.
47153 * math/test-powl.c: New file.
47154
0a197a9d
L
471552011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47156
47157 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47158
ee30c380
UD
471592011-05-17 Ulrich Drepper <drepper@gmail.com>
47160
47161 [BZ #11837]
47162 * iconvdata/gb18030.c: Update to GB18020-2005.
47163
6ce75379
UD
471642011-05-16 Ulrich Drepper <drepper@gmail.com>
47165
a4b89fd8
AR
47166 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47167 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47168 Patch by Aharon Robbins <arnold@skeeve.com>.
47169
ea389b12
UD
47170 [BZ #11892]
47171 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47172 on the stack.
47173
68a3f91f
UD
47174 [BZ #11895]
47175 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47176 through underflows.
47177
15cc7dd1
UD
47178 [BZ #12766]
47179 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47180 point to strings before performing equality test for error_one_per_line
47181 mode.
47182
f3799213
UD
47183 [BZ #11697]
47184 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47185
d79a9c94
UD
47186 [BZ #11820]
47187 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47188 (struct user_fpregs_struct): Avoid __uint*_t types.
47189
56e5eb46
UD
47190 [BZ #6420]
47191 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47192 symbol info. Use it instead of calling _dl_addr locally.
47193 (lock_and_info): New function.
47194 (tr_freehook): Call lock_and_info and pass symbol info as additional
47195 parameter to tr_where.
47196 (tr_mallochook): Likewise.
47197 (tr_reallochook): Likewise.
47198 (tr_memalignhook): Likewise.
47199
6ce75379
UD
47200 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47201 used and couldn't be at all thread-safe.
47202
f8a3b5bf
UD
472032011-05-15 Ulrich Drepper <drepper@gmail.com>
47204
94b7cc37
UD
47205 * libio/freopen.c (freopen): Don't close old file descriptor
47206 before the new one is opened. Instead dup the new file descriptor
47207 to the old one after the new stream is created.
47208 * libio/freopen64.c (freopen64): Likewise.
47209 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47210 * libio/fileops.c (_IO_new_file_close_it): Handle new
47211 _IO_FLAGS2_NOCLOSE flag.
47212 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47213 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47214 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47215 _IO_FLAGS2_NOCLOSE flag.
47216 * include/unistd.h: Add hidden_proto for dup3.
47217 Define __have_dup3.
47218 * io/dup3.c: Define hidden symbol.
47219 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47220
bd25564e
UD
47221 [BZ #7101]
47222 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47223 when an incomplete long option is used.
47224 * posix/tst-getopt_long1.c: New file.
47225 * posix/Makefile (tests): Add tst-getopt_long1.
47226
c84cfef4
UD
47227 [BZ #10138]
47228 * scripts/config.guess: Update from autoconf-2.68.
47229 * scripts/config.sub: Likewise.
47230
3b85df27
UD
47231 [BZ #10157]
47232 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47233 tests into ...
47234 (has_cpuclock): ...this. New function.
47235 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47236 macro here based on has_cpuclock code.
47237
15a856b1
UD
47238 [BZ #10149]
47239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47240 First byte (not low byte) is now always NUL.
47241 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47242
05f399e6
UD
47243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47244 Use non-cancelable interfaces.
47245
10a52685 47246 [BZ #9809]
94ecc67d
UD
47247 * locale/iso-639.def: Add entry for Sorani.
47248
f8a3b5bf
UD
47249 [BZ #11901]
47250 * include/stdlib.h: Move include protection to the right place.
47251 Define abort_msg_s. Declare __abort_msg with it.
47252 * stdlib/abort.c (__abort_msg): Adjust type.
47253 * assert/assert.c (__assert_fail_base): New function. Majority
47254 of code from __assert_fail. Allocate memory for __abort_msg with
47255 mmap.
47256 (__assert_fail): Now call __assert_fail_base.
47257 * assert/assert-perr.c: Remove bulk of implementation. Use
47258 __assert_fail_base.
47259 * include/assert.hL Declare __assert_fail_base.
47260 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47261 mmap.
47262 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47263
1af4e298
UD
472642011-05-14 Ulrich Drepper <drepper@gmail.com>
47265
f8a3b5bf 47266 [BZ #11952]
d26dfc60
MG
47267 [BZ #12453]
47268 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47269 until all modules are registered in the DTV.
47270 * elf/Makefile: Add rules to build and run tst-tls19.
47271 * elf/tst-tls19.c: New file.
47272 * elf/tst-tls19mod1.c: New file.
47273 * elf/tst-tls19mod2.c: New file.
47274 * elf/tst-tls19mod3.c: New file.
47275 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47276
2fc54d6f
UD
47277 [BZ #12083]
47278 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47279 correctly.
47280
98d76b46
UD
47281 [BZ #12601]
47282 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47283 two-byte sequence errors.
47284 * iconvdata/Makefile (tests): Add bug-iconv8.
47285 * iconvdata/bug-iconv8.c: New file.
47286
da3c19ef
UD
47287 [BZ #12626]
47288 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47289 buf2 definition.
47290
ca408c15
UD
47291 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47292
d6f67f7d
UD
47293 [BZ #12432]
47294 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47295 (dummy_getcfa): New function.
47296 (init): Get _Unwind_GetCFA address, use dummy if not found.
47297 (backtrace_helper): In recursion check, also check whether CFA changes.
47298 (__backtrace): Completely initialize arg.
47299
1af4e298 47300 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47301 storing incomplete byte sequence in state object. Avoid testing for
47302 guaranteed too small input if we know there is enough data available.
1af4e298 47303
da62f81b
AS
473042011-05-11 Andreas Schwab <schwab@redhat.com>
47305
47306 * Makeconfig (+link-pie): Indent.
47307 * Rules (binaries-pie): Define if $(have-fpie) and
47308 $(build-shared).
47309 (binaries-shared): Also filter out $(binaries-pie).
47310 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47311 * nscd/Makefile (others-pie): Add nscd.
47312 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47313 ($(objpfx)nscd): Remove command override.
47314 * login/Makefile (others-pie): Add pt_chown.
47315 ($(objpfx)pt_chown): Remove command override.
47316 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47317 remove command overrides.
47318
fcabc0f8
UD
473192011-05-13 Ulrich Drepper <drepper@gmail.com>
47320
20030ae6
UD
47321 * libio/tst_putwc.c: Fix error messages.
47322
fcabc0f8
UD
47323 [BZ #12724]
47324 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47325 currently writing and seek to current position when not.
47326 * libio/Makefile (tests): Add bug-fclose1.
47327 * libio/bug-fclose1.c: New file.
47328
320a5dc0
PB
473292011-05-12 Ulrich Drepper <drepper@gmail.com>
47330
47331 [BZ #12511]
47332 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47333 don't set DF_1_NODELETE here.
47334 (do_lookup_x): When entering new entry test for copy relocation
47335 and if necessary set DF_1_NODELETE flag.
47336 * elf/tst-unique4.cc: New file.
47337 * elf/tst-unique4.h: New file.
47338 * elf/tst-unique4lib.cc: New file.
47339 * elf/Makefile: Add rules to build and run tst-unique4.
47340 Patch by Piotr Bury <pbury@goahead.com>.
47341
22836f52
UD
473422011-05-11 Ulrich Drepper <drepper@gmail.com>
47343
f574184a
UD
47344 [BZ #12052]
47345 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47346
e1fb097f
UD
47347 [BZ #12625]
47348 * misc/mntent_r.c (addmntent): Flush the stream after the output
47349
22836f52
UD
47350 [BZ #12393]
47351 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47352 (is_trusted_path_normalize): Skip initial colon. Append slash
47353 to empty buffer. Duplicate is_trusted_path code but allow
47354 constructed patch to be prefix.
47355 (is_dst): Allow $ORIGIN followed by /.
47356 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47357 Correct testing of result of is_trusted_path_normalize
47358 (decompose_rpath): Fix warning.
47359
7b3b0b2a
UD
473602011-05-10 Ulrich Drepper <drepper@gmail.com>
47361
47362 [BZ #11257]
47363 * grp/initgroups.c (internal_getgrouplist): When we found the service
47364 list through the initgroups entry in nsswitch.conf do not always
47365 continue on a successful lookup. Don't always use the
eac80ce2 47366 __nss_group_database value if it is set.
7b3b0b2a
UD
47367 * nss/nsswitch.conf (initgroups): Change action for successful db
47368 lookup to continue for compatibility.
47369
2a81eaa5
UD
473702011-05-09 Ulrich Drepper <drepper@gmail.com>
47371
be97a69e
UD
47372 [BZ #11532]
47373 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47374 and CP774 modules.
47375 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47376 and CP774 modules.
47377 * iconvdata/tst-tables.sh: Likewise.
47378 * iconvdata/cp770.c: New file.
47379 * iconvdata/cp771.c: New file.
47380 * iconvdata/cp772.c: New file.
47381 * iconvdata/cp773.c: New file.
47382 * iconvdata/cp774.c: New file.
47383 * iconvdata/testdata/CP770: New file.
47384 * iconvdata/testdata/CP770..UTF8: New file.
47385 * iconvdata/testdata/CP771: New file.
47386 * iconvdata/testdata/CP771..UTF8: New file.
47387 * iconvdata/testdata/CP772: New file.
47388 * iconvdata/testdata/CP772..UTF8: New file.
47389 * iconvdata/testdata/CP773: New file.
47390 * iconvdata/testdata/CP773..UTF8: New file.
47391 * iconvdata/testdata/CP774: New file.
47392 * iconvdata/testdata/CP774..UTF8: New file.
47393
47394 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47395 END CHARMAP line.
47396 * iconvdata/gen-8bit-gap.sh: Likewise.
47397 * iconvdata/gen-8bit.sh: Likewise.
47398
c1e9e399
UD
47399 * locale/iso-639.def: Add ary entry.
47400
24c55fb3 47401 [BZ #11258]
96b4b1b0
UD
47402 * locale/C-translit.h.in: Add U20A1 transliteration.
47403
bdc2f971
KB
47404 [BZ #12178]
47405 * locale/iso-639.def: Add wae entry.
47406 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47407
2952b117
UD
47408 [BZ #12545]
47409 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47410 for n.
47411
2a81eaa5
UD
47412 [BZ #12711]
47413 * locale/C-translit.h.in: Add entry for U20B9.
47414 Patch by pravin.d.s@gmail.com.
47415
28377d1b
UD
474162011-05-08 Ulrich Drepper <drepper@gmail.com>
47417
7fb90fb8
UD
47418 [BZ #12713]
47419 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47420 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47421 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47422 in rtld. Use *stat64.
7fb90fb8 47423 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47424 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47425 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47426 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47427 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47428 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47429 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47430 __fstatat64 macros.
7fb90fb8
UD
47431 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47432 * dirent/rewinddir.c: Add libc_hidden_def.
47433 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47434 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47435
28377d1b
UD
47436 * include/dirent.h (__alloc_dir): Add flags parameter.
47437 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47438 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47439 __alloc_dir.
47440 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47441 from fdopendir if O_CLOEXEC is already set.
47442
66bdbaa4
AM
474432011-03-15 Alan Modra <amodra@gmail.com>
47444
47445 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47446 l_tls_firstbyte_offset non-zero. Save padding offset in
47447 l_tls_firstbyte_offset for later use.
47448 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47449 freeing static tls block.
47450
95721191
JN
474512011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47452
47453 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47454 where #ifdef was intended. The intent is to prevent ARG_MAX from
47455 being defined by the kernel headers.
47456
f87dfb1f
UD
474572011-05-07 Ulrich Drepper <drepper@gmail.com>
47458
47459 [BZ #12734]
47460 * resolv/resolv.h: Define RES_NOTLDQUERY.
47461 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47462 no-tld-query and set RES_NOTLDQUERY.
47463 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47464 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47465 modern BIND to search name as TLD unless forbidden.
47466
47c3cd7a
UD
474672011-05-07 Petr Baudis <pasky@suse.cz>
47468 Ulrich Drepper <drepper@gmail.com>
47469
47470 [BZ #12393]
47471 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47472 (is_trusted_path): ...to here.
c1e9ea35 47473 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47474 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47475 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47476
8a35c912
PP
474772011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47478
47479 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47480 __BEGIN/__END_DECLS.
47481
acd41f47
UD
474822011-05-06 Ulrich Drepper <drepper@gmail.com>
47483
47484 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47485 NSS_STATUS_NOTFOUND if no record was found.
47486
597df647
AS
474872011-05-05 Andreas Schwab <schwab@redhat.com>
47488
47489 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47490 (headers-not-in-tirpc): Remove rpc/netdb.h
47491 * resolv/netdb.h: Revert last change.
47492
b9af1301
PP
474932011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47494
47495 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47496 circular dependency between libgcc.a and libc.a.
47497
4e34d5f5
AS
474982011-05-05 Andreas Schwab <schwab@redhat.com>
47499
47500 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47501 * nis/Makefile: Don't install rpcsvc/*.
47502 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47503 instead of <rpc/types.h>.
47504 (MAXHOSTNAMELEN): Define.
47505
00ee369c
AS
475062011-05-03 Andreas Schwab <schwab@redhat.com>
47507
47508 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47509
0b592a30
MB
475102011-04-28 Maciej Babinski <mbabinski@google.com>
47511
47512 [BZ #12714]
47513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47514 gethostbyname4_r when IPv6 results are possible.
47515
6e04cbbe
UD
475162011-05-02 Ulrich Drepper <drepper@gmail.com>
47517
47518 [BZ #12723]
47519 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47520 _PC_PIPE_BUF handling.
47521
e4ecafe0
BH
475222011-04-30 Bruno Haible <bruno@clisp.org>
47523
47524 [BZ #12717]
47525 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47526 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47527 to 'int'.
47528 * inet/getnameinfo.c (getnameinfo): Likewise.
47529
125ee683
UD
475302011-04-29 Ulrich Drepper <drepper@gmail.com>
47531
47532 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47533 to groups setting in database lookup.
47534 * nss/nsswitch.conf: Add initgroups entry.
47535
b722481a
EB
475362011-04-22 Ulrich Drepper <drepper@gmail.com>
47537
47538 [BZ #12685]
47539 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47540 mode string.
47541 Patch by Eric Blake <eblake@redhat.com>.
47542
4df46dbd
L
475432011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47544
47545 * sunrpc/Makefile (need-export-routines): Add svc_run.
47546 (routines): Remove svc_run.
47547 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47548 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47549 * sunrpc/svc_run.c (svc_run): Likewise.
47550 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47551
e84142d2
UD
475522011-04-21 Ulrich Drepper <drepper@gmail.com>
47553
47554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47555 problem in reallocation in last patch.
47556
877175d8
UD
475572011-04-20 Ulrich Drepper <drepper@gmail.com>
47558
47559 * sunrpc/Makefile: Move inclusion of Rules.
47560
ab8eed78
UD
475612011-04-19 Ulrich Drepper <drepper@gmail.com>
47562
47563 * nss/nss_files/files-initgroups.c: New file.
47564 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47565 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47566 _nss_files_initgroups_dyn.
47567
e3d8f584
RS
475682011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47569
47570 * elf/elf.h (R_ARM_IRELATIVE): Define.
47571
af190f45
UD
475722011-04-19 Ulrich Drepper <drepper@gmail.com>
47573
47574 * po/ru.po: Update from translation team.
47575
53cf59ef
UD
475762011-04-17 Ulrich Drepper <drepper@gmail.com>
47577
47578 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47579 dependencies.
47580
4c559bcd
MF
475812011-02-06 Mike Frysinger <vapier@gentoo.org>
47582
47583 [BZ #12653]
47584 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47585 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47586 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47587 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47588 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47589
4420675c
AS
475902011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47591
47592 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47593 differing bytes.
47594 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47595 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47596 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47597
75ea32ab
UD
475982011-04-17 Ulrich Drepper <drepper@gmail.com>
47599
47600 [BZ #12420]
47601 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47602 storing it.
47603 * stdlib/bug-getcontext.c: New file.
47604 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47605
27390476
AK
476062011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47607
47608 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47609 instructions into .machine "z9-109".
47610 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47611 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47612
10442705
AK
476132011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47614
47615 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47616 between environment variables and auxiliary vector.
47617
7b57bfe5
UD
476182011-04-16 Ulrich Drepper <drepper@gmail.com>
47619
47620 * Makefile: Add rules to build linkobj/libc.so.
47621 * include/libc-symbols.h: Define libc_hidden_nolink.
47622 * include/rpc/auth.h: Mark functions which are to be hidden.
47623 * include/rpc/auth_des.h: Likewise.
47624 * include/rpc/auth_unix.h: Likewise.
47625 * include/rpc/clnt.h: Likewise.
47626 * include/rpc/des_crypt.h: Likewise.
47627 * include/rpc/key_prot.h: Likewise.
47628 * include/rpc/pmap_clnt.h: Likewise.
47629 * include/rpc/pmap_prot.h: Likewise.
47630 * include/rpc/pmap_rmt.h: Likewise.
47631 * include/rpc/rpc_msg.h: Likewise.
47632 * include/rpc/svc.h: Likewise.
47633 * include/rpc/svc_auth.h: Likewise.
47634 * include/rpc/xdr.h: Likewise.
47635 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47636 * nss/Makefile: Likewise.
47637 * sunrpc/Makefile: Don't install headers. Build library with normal
47638 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47639 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47640 for the compat linking library. Remove use of INTDEF/INTUSE.
47641 * sunrpc/auth_none.c: Likewise.
47642 * sunrpc/auth_unix.c: Likewise.
47643 * sunrpc/authdes_prot.c: Likewise.
47644 * sunrpc/authuxprot.c: Likewise.
47645 * sunrpc/clnt_gen.c: Likewise.
47646 * sunrpc/clnt_perr.c: Likewise.
47647 * sunrpc/clnt_raw.c: Likewise.
47648 * sunrpc/clnt_simp.c: Likewise.
47649 * sunrpc/clnt_tcp.c: Likewise.
47650 * sunrpc/clnt_udp.c: Likewise.
47651 * sunrpc/clnt_unix.c: Likewise.
47652 * sunrpc/des_crypt.c: Likewise.
47653 * sunrpc/des_soft.c: Likewise.
47654 * sunrpc/get_myaddr.c: Likewise.
47655 * sunrpc/key_call.c: Likewise.
47656 * sunrpc/key_prot.c: Likewise.
47657 * sunrpc/netname.c: Likewise.
47658 * sunrpc/pm_getmaps.c: Likewise.
47659 * sunrpc/pm_getport.c: Likewise.
47660 * sunrpc/pmap_clnt.c: Likewise.
47661 * sunrpc/pmap_prot.c: Likewise.
47662 * sunrpc/pmap_prot2.c: Likewise.
47663 * sunrpc/pmap_rmt.c: Likewise.
47664 * sunrpc/publickey.c: Likewise.
47665 * sunrpc/rpc_cmsg.c: Likewise.
47666 * sunrpc/rpc_common.c: Likewise.
47667 * sunrpc/rpc_dtable.c: Likewise.
47668 * sunrpc/rpc_prot.c: Likewise.
47669 * sunrpc/rpc_thread.c: Likewise.
47670 * sunrpc/rtime.c: Likewise.
47671 * sunrpc/svc.c: Likewise.
47672 * sunrpc/svc_auth.c: Likewise.
47673 * sunrpc/svc_authux.c: Likewise.
47674 * sunrpc/svc_raw.c: Likewise.
47675 * sunrpc/svc_run.c: Likewise.
47676 * sunrpc/svc_simple.c: Likewise.
47677 * sunrpc/svc_tcp.c: Likewise.
47678 * sunrpc/svc_udp.c: Likewise.
47679 * sunrpc/svc_unix.c: Likewise.
47680 * sunrpc/svcauth_des.c: Likewise.
47681 * sunrpc/xcrypt.c: Likewise.
47682 * sunrpc/xdr.c: Likewise.
47683 * sunrpc/xdr_array.c: Likewise.
47684 * sunrpc/xdr_float.c: Likewise.
47685 * sunrpc/xdr_intXX_t.c: Likewise.
47686 * sunrpc/xdr_mem.c: Likewise.
47687 * sunrpc/xdr_rec.c: Likewise.
47688 * sunrpc/xdr_ref.c: Likewise.
47689 * sunrpc/xdr_sizeof.c: Likewise.
47690 * sunrpc/xdr_stdio.c: Likewise.
47691
e6c61494
UD
476922011-04-10 Ulrich Drepper <drepper@gmail.com>
47693
47694 [BZ #12650]
47695 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47696 * sysdeps/ia64/dl-tls.h: Likewise.
47697 * sysdeps/powerpc/dl-tls.h: Likewise.
47698 * sysdeps/s390/dl-tls.h: Likewise.
47699 * sysdeps/sh/dl-tls.h: Likewise.
47700 * sysdeps/sparc/dl-tls.h: Likewise.
47701 * sysdeps/x86_64/dl-tls.h: Likewise.
47702 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47703
34fe483e
AS
477042011-03-14 Andreas Schwab <schwab@redhat.com>
47705
47706 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47707 rpath element also skip the following colon.
47708 (expand_dynamic_string_token): Add is_path parameter and pass
47709 down to DL_DST_REQUIRED and _dl_dst_substitute.
47710 (decompose_rpath): Call expand_dynamic_string_token with
47711 non-zero is_path. Ignore empty rpaths.
47712 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47713 with zero is_path.
47714
f12a32e6
AS
477152011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47716
47717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47718 Make cancelable.
47719
38a7d692
UD
477202011-04-09 Ulrich Drepper <drepper@gmail.com>
47721
47722 [BZ #12655]
47723 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47724 Patch by Filipe David Manana <fdmanana@apache.org>.
47725
e451d22b
AS
477262011-04-07 Andreas Schwab <schwab@redhat.com>
47727
47728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47729 Maintain aligned stack.
47730 (CHECK_RSP): Remove unused macro.
47731
dedc7c7b
UD
477322011-04-03 Ulrich Drepper <drepper@gmail.com>
47733
47734 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47735 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47736
94521213
UD
477372011-04-02 Ulrich Drepper <drepper@gmail.com>
47738
47739 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47740
8cb700c0 47741 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47742
0354e355
L
477432011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47744
47745 [BZ #12518]
47746 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47747 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47748 * sysdeps/x86_64/memmove.c: New file.
47749 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47750 (memcpy): Renamed to ...
47751 (__new_memcpy): This.
47752 (memcpy): Provide GLIBC_2_14 memcpy.
47753 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47754 (memcpy): Provide GLIBC_2_2_5 memcpy.
47755
8593482f
UD
477562011-04-01 Ulrich Drepper <drepper@gmail.com>
47757
47758 [BZ #12631]
47759 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47760
81a5726b
AS
477612011-03-30 Andreas Schwab <schwab@redhat.com>
47762
47763 * misc/syncfs.c: New file.
47764 * misc/Makefile (routines): Add syncfs.
47765 * posix/unistd.h: Declare syncfs.
47766 * sysdeps/unix/syscalls.list: Add syncfs.
47767
00e5419f
AS
477682011-04-01 Andreas Schwab <schwab@redhat.com>
47769
47770 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47771 open_by_handle_at.
47772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47773 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47775 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47777 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47778 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47779
748876bf
UD
477802011-04-01 Ulrich Drepper <drepper@gmail.com>
47781
658e451d
UD
47782 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47783 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47784 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47786 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47788 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47789
748876bf
UD
47790 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47791 sync_file_range.c with -fexceptions.
47792 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47793 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47794 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47795 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47796 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47797 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47798 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47799 sync_file_range as cancellation point
47800 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47801 now a wrapper around __call_sync_file_range with cancellation handling.
47802 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47803 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47804 function name to __call_sync_file_range.
47805 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47806 Add call_sync_file_range.
748876bf 47807
6e63d5e1
AS
478082011-04-01 Andreas Schwab <schwab@redhat.com>
47809
47810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47811 bits/timex.h.
6e63d5e1 47812
46998f74
UD
478132011-04-01 Ulrich Drepper <drepper@gmail.com>
47814
4c1423ed
UD
47815 * iconv/iconv.h: Fix typo in comment.
47816 * io/fcntl.h: Likewise.
47817 * libio/stdio.h: Likewise.
47818 * posix/spawn.h: Likewise.
47819 * posix/unistd.h: Likewise.
47820 * stdlib/stdlib.h: Likewise.
47821 * time/time.h: Likewise.
47822 * wcsmbs/wchar.h: Likewise.
47823
158648c0
UD
47824 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47825 open_by_handle): Add.
47826 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47827 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47828 Augment a few comments.
47829 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47831 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47833 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47834 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47835 open_by_handle.
47836
46998f74
UD
47837 * io/fcntl.h (AT_EMPTY_PATH): Define.
47838
83fe108b
UD
478392011-03-30 Ulrich Drepper <drepper@gmail.com>
47840
47841 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47842 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47843 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47844 to...
47845 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47846 * Versions.def: Add GLIBC_2.14.
47847 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47848 Export.
83fe108b 47849
bb242059
UD
478502011-03-22 Ulrich Drepper <drepper@gmail.com>
47851
47852 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47853 round counter.
47854 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47855
c97a1282
L
478562011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47857
47858 [BZ #12597]
47859 * string/test-strncmp.c (do_page_test): New function.
47860 (check2): Likewise.
47861 (test_main): Call check2.
47862 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47863
2a115601
UD
478642011-03-20 Ulrich Drepper <drepper@gmail.com>
47865
47866 [BZ #12587]
47867 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47868 Handle cache information in CPU leaf 4.
47869 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47870
8126d904
UD
478712011-03-18 Ulrich Drepper <drepper@gmail.com>
47872
042c49c6 47873 [BZ #12583]
8126d904
UD
47874 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47875 character representation.
47876 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47877
ccfe366e
RA
478782011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47879
47880 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47881 END(__isnan) to END(__isnanf) to match function entry point/label
47882 EALIGN(__isnanf,...).
47883
c6e13027
JJ
478842011-03-10 Jakub Jelinek <jakub@redhat.com>
47885
47886 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47887
33f85a3f
UD
478882011-03-10 Ulrich Drepper <drepper@gmail.com>
47889
028478fa
UD
47890 [BZ #12510]
47891 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47892 copy from the symbol referenced in the relocation to initialize the
47893 used variable.
47894 Patch by Piotr Bury <pbury@goahead.com>.
47895 * elf/Makefile: Add rules to build and tst-unique3.
47896 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47897 * elf/tst-unique3.cc: New file.
47898 * elf/tst-unique3.h: New file.
47899 * elf/tst-unique3lib.cc: New file.
47900 * elf/tst-unique3lib2.cc: New file.
47901
33f85a3f
UD
47902 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47903
03592fc7
MF
479042011-03-10 Mike Frysinger <vapier@gentoo.org>
47905
47906 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47907 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47908 to _start.
03592fc7 47909
6a5ee102
UD
479102011-03-06 Ulrich Drepper <drepper@gmail.com>
47911
47912 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47913 to-be-loaded object along a path to loader is ld.so.
47914
7e4ba49c
HJ
479152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47916 Ulrich Drepper <drepper@gmail.com>
47917
47918 * sysdeps/x86_64/memset.S: After aligning destination, code
47919 branches to different locations depending on the value of
47920 misalignment, when multiarch is enabled. Fix this.
47921
479222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47923
47924 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47925 Set _x86_64_preferred_memory_instruction for AMD processsors.
47926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47927 Set bit_Prefer_SSE_for_memop for AMD processors.
47928
13a804de
UD
479292011-03-04 Ulrich Drepper <drepper@gmail.com>
47930
47931 * libio/fmemopen.c (fmemopen): Optimize a bit.
47932
9d25c392
AS
479332011-03-03 Andreas Schwab <schwab@redhat.com>
47934
47935 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47936
a5543c6a
RM
479372011-03-03 Roland McGrath <roland@redhat.com>
47938
47939 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47940
012d35f7
DM
479412011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47942
7e4ba49c 47943 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47944 __bzero_ultra1 instead of __memset_ultra1.
47945
4bff6e01
AS
479462011-02-23 Andreas Schwab <schwab@redhat.com>
47947 Ulrich Drepper <drepper@gmail.com>
47948
47949 [BZ #12509]
47950 * include/link.h (struct link_map): Add l_orig_initfini.
47951 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47952 returning unsuccessfully.
47953 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47954 close of a file loaded at startup, restore the original l_initfini
47955 list.
47956 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47957 list, store the pointer.
47958 * elf/Makefile ($(objpfx)noload-mem): New rule.
47959 (noload-ENV): Define.
47960 (tests): Add $(objpfx)noload-mem.
47961 * elf/noload.c: Include <memcheck.h>.
47962 (main): Call mtrace. Close all opened handles.
47963
f2092faf
AS
479642011-02-17 Andreas Schwab <schwab@redhat.com>
47965
47966 [BZ #12454]
47967 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47968 dependencies are missing.
47969
6c8a2e88
ST
479702011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47971
f2092faf 47972 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47973 Hurd needs munmap.
47974 * sysdeps/mach/hurd/ifreq.h: New file.
47975
84a42118
PB
479762011-01-27 Petr Baudis <pasky@suse.cz>
47977 Ulrich Drepper <drepper@gmail.com>
47978
071f805e 47979 [BZ 12445]#
84a42118
PB
47980 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47981 to extend_alloca().
47982 * stdio-common/bug23.c: New file.
47983 * stdio-common/Makefile (tests): Add bug23.
47984
e23fe25b
AS
479852010-09-28 Andreas Schwab <schwab@redhat.com>
47986 Ulrich Drepper <drepper@gmail.com>
47987
47988 [BZ #12489]
47989 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47990 before performing relro protection. At old place add assertion
47991 to make sure nothing changed.
47992
d3f02e10
NS
479932011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47994 Glauber de Oliveira Costa <glommer@gmail.com>
47995
47996 * elf/elf.h: Add new ARM TLS relocs.
47997
d55fd7a5
RA
479982011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47999
48000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48001 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48002 cast from r3.
48003 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48004 'tests' variable.
48005 * sysdeps/wordsize-64/tst-writev.c: New file.
48006
2206397e
RA
480072011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48008
48009 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48010 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48011 insns in _dl_start to prevent a TOC reference before relocs are
48012 resolved.
48013
e9433893
UD
480142011-02-15 Ulrich Drepper <drepper@gmail.com>
48015
48016 [BZ #12469]
48017 * Makeconfig: Remove RANLIB definition.
48018 * Makerules: Don't use RANLIB.
48019 * aclocal.m4: Remove ranlib test.
48020 * configure.in: No need to check for ranlib.
48021 * elf/rtld-Rules: Don't use RANLIB.
48022
f75286c6
ST
480232011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48024
8e31c82d
ST
48025 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48026 protection macro.
48027 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48028 inclusion protection macro.
48029
f75286c6
ST
48030 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48031 SIGRTMIN and SIGRTMAX and print information in that case only when
48032 SIGRTMIN is defined.
48033
c1d0e639
JJ
480342011-02-11 Jakub Jelinek <jakub@redhat.com>
48035
48036 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48037 arginfo fn returning -1.
48038
48039 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48040 and thousands string is zero terminated.
48041
edf9294e
AS
480422011-02-03 Andreas Schwab <schwab@redhat.com>
48043
48044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48045 sysdeps/unix/sysv/linux/bits/socket.h.
48046
2b7e92df
ST
480472011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48048
edf9294e
AS
48049 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48050 (__CPU_COUNT): Remove old macros.
48051 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48052 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48053 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48054 (__sched_cpualloc, __sched_cpufree): Add declarations.
48055
a4c7ea7b
UD
480562011-02-05 Ulrich Drepper <drepper@gmail.com>
48057
48058 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48059 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48060 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48061 (readdhstai): Return value of addhstaiX call.
48062 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48063 (addgrbyX): Return value returned by cache_addgr.
48064 (readdgrbyname): Return value returned by addgrbyX.
48065 (readdgrbygid): Likewise.
48066 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48067 (addpwbyX): Return value returned by cache_addpw.
48068 (readdpwbyname): Return value returned by addhstbyX.
48069 (readdpwbyuid): Likewise.
48070 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48071 (addservbyX): Return value returned by cache_addserv.
48072 (readdservbyname): Return value returned by addservbyX:
48073 (readdservbyport): Likewise.
48074 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48075 (addhstbyX): Return value returned by cache_addhst.
48076 (readdhstbyname): Return value returned by addhstbyX.
48077 (readdhstbyaddr): Likewise.
48078 (readdhstbynamev6): Likewise.
48079 (readdhstbyaddrv6): Likewise.
48080 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48081 (readdinitgroups): Return value returned by addinitgroupsX.
48082 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48083 (prune_cache): Keep track of timeout value of re-added entries.
48084 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48085 * nscd/nscd.h: Adjust prototypes of readd* functions.
48086
a0bf67cc
RM
480872011-02-04 Roland McGrath <roland@redhat.com>
48088
48089 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48090 (nis_stats): Likewise.
48091 * nis/nis_modify.c (nis_modify): Likewise.
48092 * nis/nis_remove.c (nis_remove): Likewise.
48093 * nis/nis_add.c (nis_add): Likewise.
48094
48095 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48096
48097 * posix/fnmatch_loop.c: Add some consts.
48098
48099 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48100
435b95eb
L
481012011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48102
48103 [BZ #12460]
48104 * config.make.in (config-cflags-novzeroupper): Define.
48105 * configure.in: Substitute libc_cv_cc_novzeroupper.
48106 * elf/Makefile (AVX-CFLAGS): Define.
48107 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48108 (CFLAGS-tst-auditmod4a.c): Likewise.
48109 (CFLAGS-tst-auditmod4b.c): Likewise.
48110 (CFLAGS-tst-auditmod6b.c): Likewise.
48111 (CFLAGS-tst-auditmod6c.c): Likewise.
48112 (CFLAGS-tst-auditmod7b.c): Likewise.
48113 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48114
8517b15e
UD
481152011-02-02 Ulrich Drepper <drepper@gmail.com>
48116
48117 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48118 function to the callback.
48119 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48120
10a656fe
AS
481212011-02-02 Andreas Schwab <schwab@redhat.com>
48122
48123 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48124 of errno.
48125
968dad0a
UD
481262011-01-19 Ulrich Drepper <drepper@gmail.com>
48127
9f94d2ea 48128 [BZ #11724]
968dad0a
UD
48129 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48130 of constructors.
48131 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48132 of destructors.
48133 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48134
48135 [BZ #11724]
48136 * elf/Makefile: Add rules to build and run new test.
48137 * elf/tst-initorder.c: New file.
48138 * elf/tst-initorder.exp: New file.
48139 * elf/tst-initordera1.c: New file.
48140 * elf/tst-initordera2.c: New file.
48141 * elf/tst-initordera3.c: New file.
48142 * elf/tst-initordera4.c: New file.
48143 * elf/tst-initorderb1.c: New file.
48144 * elf/tst-initorderb2.c: New file.
48145 * elf/tst-order-a1.c: New file.
48146 * elf/tst-order-a2.c: New file.
48147 * elf/tst-order-a3.c: New file.
48148 * elf/tst-order-a4.c: New file.
48149 * elf/tst-order-b1.c: New file.
48150 * elf/tst-order-b2.c: New file.
48151 * elf/tst-order-main.c: New file.
48152 New test case by George Gensure <werkt0@gmail.com>.
48153
86e92359
UD
481542010-10-01 Andreas Schwab <schwab@redhat.com>
48155
48156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48157 decoding ACE if AI_CANONIDN.
48158
5d5732b0
UD
481592011-01-18 Ulrich Drepper <drepper@gmail.com>
48160
48161 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48162
a77e8cbc
UD
481632011-01-17 Ulrich Drepper <drepper@gmail.com>
48164
6392473f
UD
48165 * version.h (RELEASE): Bump for 2.13 release.
48166 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48167
620a0529
UD
48168 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48169
18ba70a5
UD
48170 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48171 MADV_NOHUGEPAGE.
32465c3e
UD
48172 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48174 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48175 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48176 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48177 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48178
c0dafcf1
UD
48179 * posix/getconf.c: Update copyright year.
48180 * catgets/gencat.c: Likewise.
48181 * csu/version.c: Likewise.
48182 * debug/catchsegv.sh: Likewise.
48183 * debug/xtrace.sh: Likewise.
48184 * elf/ldconfig.c: Likewise.
48185 * elf/ldd.bash.in: Likewise.
48186 * elf/sprof.c (print_version): Likewise.
48187 * iconv/iconv_prog.c: Likewise.
48188 * iconv/iconvconfig.c: Likewise.
48189 * locale/programs/locale.c: Likewise.
48190 * locale/programs/localedef.c: Likewise.
48191 * malloc/memusage.sh: Likewise.
48192 * malloc/mtrace.pl: Likewise.
48193 * nscd/nscd.c (print_version): Likewise.
48194 * nss/getent.c: Likewise.
48195
a77e8cbc
UD
48196 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48197 PF_CAIF, and PF_ALG.
48198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48199
77e8bddf
AS
482002011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48201
1f20b93a
AS
48202 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48203 (modules-names): Use them.
48204 (ifunc-test-modules, ifunc-pie-tests): Define.
48205 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48206 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48207 (test-extras): Likewise.
48208 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48209 $(compile-command.c).
48210 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48211 (all-built-dso): Define.
48212 (check-textrel.out, check-execstack.out): Depend on it.
48213
77e8bddf
AS
48214 * configure.in: Don't override --enable-multi-arch.
48215
bc425b33
UD
482162011-01-15 Ulrich Drepper <drepper@gmail.com>
48217
48218 [BZ #6812]
48219 * nscd/hstcache.c (tryagain): Define.
48220 (cache_addhst): Return tryagain not notfound for temporary errors.
48221 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48222 failed.
48223
794c3ad3
UD
482242011-01-14 Ulrich Drepper <drepper@gmail.com>
48225
70181fdd
UD
48226 [BZ #10563]
48227 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48228 to make the syscall.
48229 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48230
794c3ad3
UD
48231 [BZ #12378]
48232 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48233 and fall back to matching as normal character if the string ends before
48234 the matching ']' is found. This is what POSIX requires.
48235 * posix/testfnm.c: Adjust test result.
48236 * posix/globtest.sh: Adjust test result. Add new test.
48237 * posix/tst-fnmatch.input: Likewise.
48238 * posix/tst-fnmatch2.c: Add new test.
48239
68dc9497
AS
482402010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48241
48242 * elf/Makefile (check-execstack): Revert last change. Depend on
48243 check-execstack.h.
48244 (check-execstack.h): New target.
48245 (generated): Add check-execstack.h.
48246 * elf/check-execstack.c: Include "check-execstack.h".
48247 (main): Revert last change.
48248 (handle_file): Return zero if GNU_STACK is absent and
48249 DEFAULT_STACK_PERMS doesn't include PF_X.
48250
451f001b
UD
482512011-01-13 Ulrich Drepper <drepper@gmail.com>
48252
cfa28e56
UD
48253 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48254 in child fails because the descriptor is already closed.
8cf8ce17
UD
48255 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48256 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48257 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48258
1086d70d
UD
48259 [BZ #12397]
48260 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48261 syscall.
48262
451f001b
UD
48263 [BZ #10484]
48264 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48265 temporary buffer used to handle multi lookups locally.
a85b5cb4 48266 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48267
08769175
UD
482682011-01-12 Ulrich Drepper <drepper@gmail.com>
48269
48270 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48271 loader is ld.so.
48272
5e49c52e
UD
482732011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48274
48275 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48276 alignment for SSE2.
48277
60522a5f
UD
482782011-01-12 Ulrich Drepper <drepper@gmail.com>
48279
48280 [BZ #12394]
48281 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48282 characters. When rounding increased number of integer digits recompute
48283 number of groups.
48284 * stdio-common/tst-grouping.c: New file.
48285 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48286
f257bbd7
UD
482872011-01-09 Ulrich Drepper <drepper@gmail.com>
48288
48289 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48290 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48291
48292 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48293 void.
48294 * bits/select.h: Likewise.
48295
fa9c15cb
UD
482962011-01-08 Ulrich Drepper <drepper@gmail.com>
48297
48298 * po/ja.po: Update from translation team.
48299
16c2895f
DM
483002011-01-04 David S. Miller <davem@sunset.davemloft.net>
48301
48302 [BZ #11155]
48303 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48304 implementation just like for lxstat, fxstatat, et al.
48305
2543fef2
JM
483062010-12-27 Jim Meyering <meyering@redhat.com>
48307
48308 [BZ #12348]
48309 * posix/regexec.c (build_trtable): Return failure indication upon
48310 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48311
98727dbe
UD
483122010-12-25 Ulrich Drepper <drepper@gmail.com>
48313
5bd6dc5c
UD
48314 [BZ #12201]
48315 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48316 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48317 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48318 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48319
97983464
UD
48320 [BZ #12207]
48321 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48322
98727dbe
UD
48323 [BZ #12204]
48324 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48325 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48326
4a531bb0
L
483272010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48328
48329 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48330 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48331 script has SORT_BY_INIT_PRIORITY.
48332 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48333 NO_CTORS_DTORS_SECTIONS is defined.
48334 * elf/soinit.c: Likewise.
48335 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48336 NO_CTORS_DTORS_SECTIONS is defined.
48337 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48338 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48339 * sysdeps/sh/init-first.c: Likewise.
48340 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48341
07eb4b71
UD
483422010-12-24 Ulrich Drepper <drepper@gmail.com>
48343
48344 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48345 always use the slow path.
48346
30950a5f
RA
483472010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48348
48349 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48350 similar rule which adds the sysdep directories to the header search in
48351 order to pick up the correct platform stackinfo.h.
48352 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48353 perform test if it is, otherwise return successfully without testing.
48354 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48355 DEFAULT_STACK_PERMS define in stackinfo.h.
48356 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48357 defined in stackinfo.h.
48358 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48359 DEFAULT_STACK_PERMS defined in stackinfo.h.
48360 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48361 * sysdeps/ia64/stackinfo.h: Likewise.
48362 * sysdeps/s390/stackinfo.h: Likewise.
48363 * sysdeps/sh/stackinfo.h: Likewise.
48364 * sysdeps/sparc/stackinfo.h: Likewise.
48365 * sysdeps/x86_64/stackinfo.h: Likewise.
48366 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48367 PF_X for powerpc64. Retain PF_X for powerpc32.
48368
db753e2c
UD
483692010-12-19 Ulrich Drepper <drepper@gmail.com>
48370
14b697f7
UD
48371 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48372 accurately.
db753e2c
UD
48373 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48374 GETDENTS_64BIT_ALIGNED.
48375
28300719
UD
483762010-12-14 Ulrich Drepper <dreper@gmail.com>
48377
14b697f7 48378 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48379
4f197237
AS
483802010-12-10 Andreas Schwab <schwab@redhat.com>
48381
dbb0472f
AS
48382 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48383 _GNU_SOURCE.
48384
4f197237
AS
48385 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48386 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48387 Remove __restrict.
48388 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48389 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48390
fb88ac72
UD
483912010-12-09 Ulrich Drepper <drepper@gmail.com>
48392
48393 [BZ #11655]
48394 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48395 are initialized.
48396
42acbb92
JJ
483972010-12-09 Jakub Jelinek <jakub@redhat.com>
48398
48399 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48400
c038d98d
UD
484012010-12-03 Ulrich Drepper <drepper@gmail.com>
48402
48403 * po/it.po: Update from translation team.
48404
3a4a2499
L
484052010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48406
48407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48408 unused codes.
48409
1e24cf6e
UD
484102010-11-30 Ulrich Drepper <drepper@gmail.com>
48411
48412 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48413
a7690819
AS
484142010-11-24 Andreas Schwab <schwab@redhat.com>
48415
48416 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48417 specially.
48418 (gaih_getanswer_slice): Likewise.
48419
3bf8d1b1
JJ
484202010-10-20 Jakub Jelinek <jakub@redhat.com>
48421
48422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48423
6db52fbb
PB
484242010-05-31 Petr Baudis <pasky@suse.cz>
48425
48426 [BZ #11149]
48427 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48428 silently even in the chroot mode.
48429
eaca7569
UD
484302010-11-22 Ulrich Drepper <drepper@gmail.com>
48431
48432 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48433 last patch a bit. Pretty printing
48434
3056dcdb
UD
484352010-05-31 Petr Baudis <pasky@suse.cz>
48436
48437 [BZ #10085]
48438 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48439 initialization of skip_initgroups_dyn.
48440
cf7c9078
UD
484412010-11-19 Ulrich Drepper <drepper@gmail.com>
48442
48443 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48444 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48445
a1fb5e3e
UD
484462010-11-16 Ulrich Drepper <drepper@gmail.com>
48447
48448 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48449
3540d66b
AS
484502010-11-11 Andreas Schwab <schwab@redhat.com>
48451
48452 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48453 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48454 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48455 ($(objpfx)tst-fnmatch-mem): New rule.
48456 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48457 * posix/tst-fnmatch.c (main): Call mtrace.
48458
13b69574
L
484592010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48460
48461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48462 Support Intel processor model 6 and model 0x2c.
48463
da93d214
LM
484642010-11-10 Luis Machado <luisgpm@br.ibm.com>
48465
48466 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48467 signed comparison.
48468
8ca52c6e
L
484692010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48470
48471 [BZ #12205]
48472 * string/test-strncasecmp.c (check_result): New function.
48473 (do_one_test): Use it.
48474 (check1): New function.
48475 (test_main): Use it.
48476 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48477 Support strcasecmp and strncasecmp.
48478
69da074d
UD
484792010-11-08 Ulrich Drepper <drepper@gmail.com>
48480
48481 [BZ #12194]
48482 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48483 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48484
ff02d528
L
484852010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48486
48487 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48488 IFUNC support.
48489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48490 memset-x86-64.
48491 * sysdeps/x86_64/multiarch/bzero.S: New file.
48492 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48493 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48494 * sysdeps/x86_64/multiarch/memset.S: New file.
48495 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48497 Set bit_Prefer_SSE_for_memop for Intel processors.
48498 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48499 Define.
48500 (index_Prefer_SSE_for_memop): Define.
48501 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48502
344d0b54
LM
485032010-11-04 Luis Machado <luisgpm@br.ibm.com>
48504
48505 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48506 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48507
c0dde15b
UD
485082010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48509
48510 [BZ #12191]
48511 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48512 (__x86_64_raw_data_cache_size_half): Likewise.
48513 (__x86_64_raw_shared_cache_size): Likewise.
48514 (__x86_64_raw_shared_cache_size_half): Likewise.
48515
48516 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48517 (__x86_64_raw_data_cache_size_half): Likewise.
48518 (__x86_64_raw_shared_cache_size): Likewise.
48519 (__x86_64_raw_shared_cache_size_half): Likewise.
48520 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48521 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48522 and __x86_64_raw_shared_cache_size_half. Round
48523 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48524 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48525 to multiple of 256 bytes.
48526
0e516e0e
MS
485272010-11-03 Ulrich Drepper <drepper@gmail.com>
48528
48529 [BZ #12167]
48530 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48531 of inacessible symlinks. Verify result of symlink before returning it.
48532 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48533 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48534
0e012e87
ER
485352010-10-28 Erich Ritz <erichritz@gmail.com>
48536
48537 * math/math.h (isinf): Fix typo in comment.
48538
de0ff7bc
UD
485392010-11-01 Ulrich Drepper <drepper@gmail.com>
48540
48541 * po/da.po: Update from translation team.
48542
fa41c84d
UD
485432010-10-26 Ulrich Drepper <drepper@gmail.com>
48544
48545 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48546 is added to the list.
48547
f0967738
AK
485482010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48549 Ulrich Drepper <drepper@gmail.com>
48550
48551 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48552 the global list here. Move code to...
48553 (_dl_add_to_namespace_list): ...here. New function.
48554 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48555 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48556 * elf/dl-load.c (lose): Don't remove the element from the list.
48557 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48558 (_dl_map_object): Likewise.
48559
485602010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48561
48562 [BZ #12159]
48563 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48564 into all bytes of SSE register.
48565 Patch by Richard Li <richardpku@gmail.com>.
48566
f0967738 485672010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48568
48569 [BZ #12140]
48570 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48571 perturbing.
48572
d0b9e94f
MB
485732010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48574
48575 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48576 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48577 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48578 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48580 submachine.
48581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48582
8e9f92e9
AS
485832010-10-22 Andreas Schwab <schwab@redhat.com>
48584
48585 * include/dlfcn.h (__RTLD_SECURE): Define.
48586 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48587 mode & __RTLD_SECURE instead.
48588 (open_path): Rename preloaded parameter to secure.
48589 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48590 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48591 * elf/dl-deps.c (openaux): Likewise.
48592 * elf/rtld.c (struct map_args): Remove is_preloaded.
48593 (map_doit): Don't use it.
48594 (dl_main): Likewise.
48595 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48596 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48597
bc96fbda
AS
485982010-09-09 Andreas Schwab <schwab@redhat.com>
48599
48600 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48601 (sysd-rules-targets): Remove duplicates.
48602 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48603 rtld-%.$o dependency.
48604
22cd1c9b
AS
486052010-10-18 Andreas Schwab <schwab@redhat.com>
48606
48607 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48608 _dl_map_object do it.
48609
18edac48
UD
486102010-10-19 Ulrich Drepper <drepper@gmail.com>
48611
48612 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48613 fast fma builtins, define the macros in the C99 standard.
48614 (FP_FAST_FMAF): Likewise.
48615 (FP_FAST_FMAL): Likewise.
48616 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48617
48618 * bits/mathdef.h: Update copyright year.
48619 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48620
d2050124
MM
486212010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48622
48623 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48624 builtins, define the macros in the C99 standard.
48625 (FP_FAST_FMAF): Likewise.
48626 (FP_FAST_FMAL): Likewise.
48627 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48628 multiply/add.
48629 (FP_FAST_FMAF): Likewise.
48630
475facd1
JJ
486312010-10-15 Jakub Jelinek <jakub@redhat.com>
48632
48633 [BZ #3268]
48634 * math/libm-test.inc (fma_test): Some new testcases.
48635 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48636 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48637 y and infinite z. Do multiplication by C already in long double.
48638 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48640 y and infinite z. Do bitwise or of inexact bit into u.d.
48641 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48642 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48643 * sysdeps/i386/fpu/s_fma.S: Removed.
48644 * sysdeps/i386/fpu/s_fmal.S: Removed.
48645
7c08a05c
JJ
486462010-10-16 Jakub Jelinek <jakub@redhat.com>
48647
48648 [BZ #3268]
48649 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48651 computation is not scheduled after fetestexcept. Fix value
48652 of minimum denormal long double.
48653
f3f7372d
JJ
486542010-10-14 Jakub Jelinek <jakub@redhat.com>
48655
48656 [BZ #3268]
48657 * math/libm-test.inc (fma_test): Add some more tests.
48658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48659 correctly.
48660
14d43591
AS
486612010-10-15 Andreas Schwab <schwab@redhat.com>
48662
48663 * scripts/data/localplt-s390-linux-gnu.data: New file.
48664 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48665
5e908464
JJ
486662010-10-13 Jakub Jelinek <jakub@redhat.com>
48667
48668 [BZ #3268]
48669 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48670 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48671 instead of dbl-64.
48672 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48673 inlines.
48674 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48676 if one of x and y is very large and the other is subnormal.
48677 * sysdeps/s390/fpu/s_fmaf.c: New file.
48678 * sysdeps/s390/fpu/s_fma.c: New file.
48679 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48680 * sysdeps/powerpc/fpu/s_fma.S: New file.
48681 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48682 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48683 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48684
486852010-10-12 Jakub Jelinek <jakub@redhat.com>
48686
48687 [BZ #3268]
48688 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48689 fma tests.
48690 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48691 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48692 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48693 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48694 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48695 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48696 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48697
b833d51f
UD
486982010-10-12 Ulrich Drepper <drepper@redhat.com>
48699
48700 [BZ #12078]
48701 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48702 * posix/bug-regex31.input: Add test case.
48703
1751705d
UD
487042010-10-11 Ulrich Drepper <drepper@gmail.com>
48705
e9b9cbf5
UD
48706 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48707 * posix/bug-regex31.input: New file.
48708
48709 [BZ #12078]
48710 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48711 (parse_sub_exp): Fix last change, use postorder.
48712
ef06edbe
UD
48713 * posix/bug-regex31.c: New file.
48714 * posix/Makefile: Add rules to build and run bug-regex31.
48715
a129c80d
UD
48716 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48717
48718 [BZ #12078]
48719 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48720
b76b818e
UD
48721 [BZ #12108]
48722 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48723 to have entries in sys_siglist.
48724
1751705d
UD
48725 [BZ #12093]
48726 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48727 be NULL.
48728
9ff8d36f
JJ
487292010-10-07 Jakub Jelinek <jakub@redhat.com>
48730
48731 [BZ #3268]
48732 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48733 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48734 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48735 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48736 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48737 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48738 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48739 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48740 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48741 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48742 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48743 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48744 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48745 * math/ftestexcept.c (fetestexcept): Likewise.
48746 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48747 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48748 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48749 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48750 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48751 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48752 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48753
af325969
UD
487542010-10-11 Ulrich Drepper <drepper@gmail.com>
48755
c579b202 48756 [BZ #12107]
af325969
UD
48757 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48758 newline.
48759
67a67b95
UD
487602010-10-06 Ulrich Drepper <drepper@gmail.com>
48761
48762 * string/bug-strstr1.c: New file.
48763 * string/Makefile: Add rules to build and run bug-strstr1.
48764
5fb308bc
EB
487652010-10-05 Eric Blake <eblake@redhat.com>
48766
48767 [BZ #12092]
48768 * string/str-two-way.h (two_way_long_needle): Always clear memory
48769 when skipping input due to the shift table.
48770
45db99c7
UD
487712010-10-03 Ulrich Drepper <drepper@gmail.com>
48772
3b111893
UD
48773 [BZ #12005]
48774 * malloc/mcheck.c: Handle large requests.
48775
45db99c7
UD
48776 [BZ #12077]
48777 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48778 for strncmp and strncasecmp.
48779 * string/stratcliff.c: Add tests for strcmp and strncmp.
48780 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48781
cf7a1eb8
NI
487822010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48783
48784 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48785 __set_fpscr.
48786
6484ba5e
AJ
487872010-09-30 Andreas Jaeger <aj@suse.de>
48788
48789 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48790 (CGROUP_SUPER_MAGIC): Define.
48791 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48792 Handle btrfs and cgroup file systems.
48793 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48794 Likewise.
48795
91c42559
LM
487962010-09-27 Luis Machado <luisgpm@br.ibm.com>
48797
48798 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48799 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48800
87a97932
AK
488012010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48802
48803 [BZ #12067]
48804 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48805 trying to locate the ELF header.
48806
c21cc9bc
AS
488072010-09-27 Andreas Schwab <schwab@redhat.com>
48808
48809 [BZ #11611]
48810 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48811 Mask out sign-bit copies when constructing f_fsid.
48812
315970f6
PB
488132010-09-24 Petr Baudis <pasky@suse.cz>
48814
48815 * debug/stack_chk_fail_local.c: Add missing licence exception.
48816 * debug/warning-nop.c: Likewise.
48817
1ac7a2c7
JM
488182010-09-15 Joseph Myers <joseph@codesourcery.com>
48819
48820 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48821 implementing getdents64 using getdents syscall, set d_type if
48822 __ASSUME_GETDENTS32_D_TYPE.
48823
56801c50
AS
488242010-09-16 Andreas Schwab <schwab@redhat.com>
48825
48826 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48827 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48828
dda51327
UD
488292010-09-21 Ulrich Drepper <drepper@redhat.com>
48830
48831 [BZ #12037]
48832 * posix/unistd.h: Undo change of feature selection for ftruncate from
48833 2010-01-11.
48834
8ffcee4a
UD
488352010-09-20 Ulrich Drepper <drepper@redhat.com>
48836
a545ecd9 48837 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48838 detection.
48839
e24f0a8b
AS
488402010-09-20 Andreas Schwab <schwab@redhat.com>
48841
48842 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48843 fanotify_mark.
48844 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48845
7291c56f
AS
488462010-09-14 Andreas Schwab <schwab@redhat.com>
48847
48848 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48849 variables after CHECK_SP call.
48850 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48851
bc5fb037
AS
488522010-09-13 Andreas Schwab <schwab@redhat.com>
48853 Ulrich Drepper <drepper@redhat.com>
48854
48855 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48856 re-relocationg ld.so.
48857 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48858 _dl_init_paths call.
48859 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48860 here anymore.
48861
e66e7419
UD
488622010-09-14 Ulrich Drepper <drepper@redhat.com>
48863
48864 * resolv/res_init.c (__res_vinit): Count the default server we added.
48865
c044aa75
CLT
488662010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48867 Ulrich Drepper <drepper@redhat.com>
48868
48869 [BZ #11968]
48870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48871 (____longjmp_chk): Use %ebx for saving value across system call.
48872 Add unwind info.
48873
32cf4069
AS
488742010-09-06 Andreas Schwab <schwab@redhat.com>
48875
48876 * manual/Makefile: Don't mix pattern rules with normal rules.
48877
817328ee
AS
488782010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48879
48880 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48881 operation.
48882 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48883 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48884 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48885 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48887 Likewise.
48888
29fddf61
UD
488892010-09-04 Ulrich Drepper <drepper@redhat.com>
48890
48891 [BZ #11979]
48892 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48893 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48894
0959ffc9
UD
488952010-09-02 Ulrich Drepper <drepper@redhat.com>
48896
48897 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48898 * sysdeps/x86_64/addmul_1.S: Likewise.
48899 * sysdeps/x86_64/lshift.S: Likewise.
48900 * sysdeps/x86_64/mul_1.S: Likewise.
48901 * sysdeps/x86_64/rshift.S: Likewise.
48902 * sysdeps/x86_64/sub_n.S: Likewise.
48903 * sysdeps/x86_64/submul_1.S: Likewise.
48904
ece29840
ST
489052010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48906
0959ffc9
UD
48907 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48908 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48909 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48910 * bits/sched.h [__need_schedparam]
ece29840 48911 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48912 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48913 (__defined_schedparam): Define to 1.
ece29840
ST
48914 (__sched_param): New structure, identical to sched_param.
48915 (__need_schedparam): Undefine.
48916
e53a31fe
MF
489172010-08-31 Mike Frysinger <vapier@gentoo.org>
48918
fdc0c10d
MF
48919 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48920 (epoll_create1): Declare.
48921
e53a31fe
MF
48922 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48923
a726d796
AS
489242010-08-31 Andreas Schwab <schwab@redhat.com>
48925
48926 [BZ #7066]
48927 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48928 shifting retval into place.
48929
2f3e3dc7
UD
489302010-09-01 Ulrich Drepper <drepper@redhat.com>
48931
f2933da9
UD
48932 * nis/rpcsvc/nis.h: Update copyright notice.
48933 * nis/rpcsvc/nis.x: Likewise.
48934 * nis/rpcsvc/nis_callback.h: Likewise.
48935 * nis/rpcsvc/nis_callback.x: Likewise.
48936 * nis/rpcsvc/nis_object.x: Likewise.
48937 * nis/rpcsvc/nis_tags.h: Likewise.
48938 * nis/rpcsvc/yp.h: Likewise.
48939 * nis/rpcsvc/yp.x: Likewise.
48940 * nis/rpcsvc/ypupd.h: Likewise.
48941 * nis/yp_xdr.c: Likewise.
48942 * nis/ypupdate_xdr.c: Likewise.
48943
2f3e3dc7
UD
48944 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48945 mainly the body of pmap_getport. Add parameters to specify timeouts.
48946 (pmap_getport): Use __libc_rpc_getport.
48947 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48948 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48949 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48950
f3dcc2f9
AS
489512010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48952
48953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48954 fanotify_mark.
48955
6d34eb5b
RM
489562010-08-27 Roland McGrath <roland@redhat.com>
48957
48958 * sysdeps/i386/i686/multiarch/Makefile
48959 (CFLAGS-varshift.c): New variable.
48960
9ea3de11
UD
489612010-08-27 Ulrich Drepper <drepper@redhat.com>
48962
c96d23fc
UD
48963 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48964 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48965
9ea3de11
UD
48966 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48967
48968 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48969
623aac7f
L
489702010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48971
48972 * sysdeps/x86_64/strlen.S: Unroll the loop.
48973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48974 strlen-sse2 strlen-sse2-bsf.
48975 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48976 __strlen_no_bsf if bit_Slow_BSF is set.
48977 (__strlen_sse42): Removed.
48978 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48979 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48980
8b2b7715
RM
489812010-08-25 Roland McGrath <roland@redhat.com>
48982
48983 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48984 * sysdeps/x86_64/multiarch/varshift.c: New file.
48985 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48986 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48987 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48988 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48989
e73015f2
L
489902010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48991
48992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48993 strlen-sse2 strlen-sse2-bsf.
48994 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48995 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48996 (__strlen_sse2): Removed.
48997 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49000 bit_Slow_BSF for Atom.
49001 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49002 (index_Slow_BSF): Define.
49003 (HAS_SLOW_BSF): Define.
49004
df24a73e
UD
490052010-08-25 Ulrich Drepper <drepper@redhat.com>
49006
49007 [BZ #10851]
49008 * resolv/res_init.c (__res_vinit): When no server address at all
49009 is given default to loopback.
49010
f2ac4868
RM
490112010-08-24 Roland McGrath <roland@redhat.com>
49012
09055553
RM
49013 * configure.in: Remove config-name.h generation.
49014 * configure: Regenerated.
49015 * config-name.in: File removed.
49016 * scripts/config-uname.sh: New file.
49017 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49018 ($(objdir)config-name.h): New target.
49019
f2ac4868
RM
49020 * sunrpc/rpc_parse.h: Avoid nested comment.
49021
73f27d5e
RH
490222010-08-24 Richard Henderson <rth@redhat.com>
49023 Ulrich Drepper <drepper@redhat.com>
49024 H.J. Lu <hongjiu.lu@intel.com>
49025
49026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49028 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49029 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49030 _mm_alignr_epi8 with _mm_loadu_si128.
49031 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49032 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49033 (__m128i_shift_right): Removed.
49034 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49035 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49036 * sysdeps/x86_64/multiarch/varshift.h: New file.
49037 * sysdeps/x86_64/multiarch/varshift.S: New file.
49038
84b9230c
MF
490392010-08-21 Mike Frysinger <vapier@gentoo.org>
49040
49041 * configure.in: Move assembler checks to before sysdep dir checking.
49042
9bbd0ddc
PB
490432010-08-20 Petr Baudis <pasky@suse.cz>
49044
49045 * LICENSES: Sync the sunrpc license.
49046
9da4bb31
UD
490472010-08-19 Ulrich Drepper <drepper@redhat.com>
49048
a7ab6ec8
UD
49049 * sunrpc/auth_des.c: Update copyright notice once again.
49050 * sunrpc/auth_none.c: Likewise.
49051 * sunrpc/auth_unix.c: Likewise.
49052 * sunrpc/authdes_prot.c: Likewise.
49053 * sunrpc/authuxprot.c: Likewise.
49054 * sunrpc/bindrsvprt.c: Likewise.
49055 * sunrpc/clnt_gen.c: Likewise.
49056 * sunrpc/clnt_perr.c: Likewise.
49057 * sunrpc/clnt_raw.c: Likewise.
49058 * sunrpc/clnt_simp.c: Likewise.
49059 * sunrpc/clnt_tcp.c: Likewise.
49060 * sunrpc/clnt_udp.c: Likewise.
49061 * sunrpc/clnt_unix.c: Likewise.
49062 * sunrpc/des_crypt.c: Likewise.
49063 * sunrpc/des_soft.c: Likewise.
49064 * sunrpc/get_myaddr.c: Likewise.
49065 * sunrpc/getrpcport.c: Likewise.
49066 * sunrpc/key_call.c: Likewise.
49067 * sunrpc/key_prot.c: Likewise.
49068 * sunrpc/openchild.c: Likewise.
49069 * sunrpc/pm_getmaps.c: Likewise.
49070 * sunrpc/pm_getport.c: Likewise.
49071 * sunrpc/pmap_clnt.c: Likewise.
49072 * sunrpc/pmap_prot.c: Likewise.
49073 * sunrpc/pmap_prot2.c: Likewise.
49074 * sunrpc/pmap_rmt.c: Likewise.
49075 * sunrpc/rpc/auth.h: Likewise.
49076 * sunrpc/rpc/auth_unix.h: Likewise.
49077 * sunrpc/rpc/clnt.h: Likewise.
49078 * sunrpc/rpc/des_crypt.h: Likewise.
49079 * sunrpc/rpc/key_prot.h: Likewise.
49080 * sunrpc/rpc/netdb.h: Likewise.
49081 * sunrpc/rpc/pmap_clnt.h: Likewise.
49082 * sunrpc/rpc/pmap_prot.h: Likewise.
49083 * sunrpc/rpc/pmap_rmt.h: Likewise.
49084 * sunrpc/rpc/rpc.h: Likewise.
49085 * sunrpc/rpc/rpc_des.h: Likewise.
49086 * sunrpc/rpc/rpc_msg.h: Likewise.
49087 * sunrpc/rpc/svc.h: Likewise.
49088 * sunrpc/rpc/svc_auth.h: Likewise.
49089 * sunrpc/rpc/types.h: Likewise.
49090 * sunrpc/rpc/xdr.h: Likewise.
49091 * sunrpc/rpc_clntout.c: Likewise.
49092 * sunrpc/rpc_cmsg.c: Likewise.
49093 * sunrpc/rpc_common.c: Likewise.
49094 * sunrpc/rpc_cout.c: Likewise.
49095 * sunrpc/rpc_dtable.c: Likewise.
49096 * sunrpc/rpc_hout.c: Likewise.
49097 * sunrpc/rpc_main.c: Likewise.
49098 * sunrpc/rpc_parse.c: Likewise.
49099 * sunrpc/rpc_parse.h: Likewise.
49100 * sunrpc/rpc_prot.c: Likewise.
49101 * sunrpc/rpc_sample.c: Likewise.
49102 * sunrpc/rpc_scan.c: Likewise.
49103 * sunrpc/rpc_scan.h: Likewise.
49104 * sunrpc/rpc_svcout.c: Likewise.
49105 * sunrpc/rpc_tblout.c: Likewise.
49106 * sunrpc/rpc_util.c: Likewise.
49107 * sunrpc/rpc_util.h: Likewise.
49108 * sunrpc/rpcinfo.c: Likewise.
49109 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49110 * sunrpc/rpcsvc/key_prot.x: Likewise.
49111 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49112 * sunrpc/rpcsvc/mount.x: Likewise.
49113 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49114 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49115 * sunrpc/rpcsvc/rex.x: Likewise.
49116 * sunrpc/rpcsvc/rstat.x: Likewise.
49117 * sunrpc/rpcsvc/rusers.x: Likewise.
49118 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49119 * sunrpc/rpcsvc/spray.x: Likewise.
49120 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49121 * sunrpc/rtime.c: Likewise.
49122 * sunrpc/svc.c: Likewise.
49123 * sunrpc/svc_auth.c: Likewise.
49124 * sunrpc/svc_authux.c: Likewise.
49125 * sunrpc/svc_raw.c: Likewise.
49126 * sunrpc/svc_run.c: Likewise.
49127 * sunrpc/svc_simple.c: Likewise.
49128 * sunrpc/svc_tcp.c: Likewise.
49129 * sunrpc/svc_udp.c: Likewise.
49130 * sunrpc/svc_unix.c: Likewise.
49131 * sunrpc/svcauth_des.c: Likewise.
49132 * sunrpc/xcrypt.c: Likewise.
49133 * sunrpc/xdr.c: Likewise.
49134 * sunrpc/xdr_array.c: Likewise.
49135 * sunrpc/xdr_float.c: Likewise.
49136 * sunrpc/xdr_mem.c: Likewise.
49137 * sunrpc/xdr_rec.c: Likewise.
49138 * sunrpc/xdr_ref.c: Likewise.
49139 * sunrpc/xdr_sizeof.c: Likewise.
49140 * sunrpc/xdr_stdio.c: Likewise.
49141
9da4bb31
UD
49142 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49143 handling.
49144
bdaa77bc
AS
491452010-08-19 Andreas Schwab <schwab@redhat.com>
49146
49147 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49148
fe2f79db
LM
491492010-08-19 Luis Machado <luisgpm@br.ibm.com>
49150
49151 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49152 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49153 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49154 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49155 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49156 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49157 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49158 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49159 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49160 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49161 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49162 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49163 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49164 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49165
b9b42ee0
AB
491662010-07-26 Anton Blanchard <anton@samba.org>
49167
49168 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49169 * malloc/arena.c (heap_trim): Likewise.
49170
1c06ba31
UD
491712010-08-16 Ulrich Drepper <drepper@redhat.com>
49172
49173 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49174 here. Not...
49175 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49176 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49177
f8392f40
L
491782010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49179
49180 * sysdeps/i386/elf/Makefile: New file.
49181
3162f12e
AS
491822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49183
49184 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49185 from fanotify_init.
49186 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49187 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49188
28c90b2c
UD
491892010-08-15 Ulrich Drepper <drepper@redhat.com>
49190
49191 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49192 of strncasecmp_l.
1feccb6c 49193 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49194
ca6bb004
UD
491952010-08-14 Ulrich Drepper <drepper@redhat.com>
49196
e9f82e0d
UD
49197 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49198 strncase_l-nonascii.
49199 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49200 Add strncase_l-ssse3.
49201 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49202 * sysdeps/x86_64/strcmp.S: Likewise.
49203 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49204 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49205 * sysdeps/x86_64/strncase.S: New file.
49206 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49207 * sysdeps/x86_64/strncase_l.S: New file.
49208 * string/Makefile (strop-tests): Add strncasecmp.
49209 * string/test-strncasecmp.c: New file.
49210
49211 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49212 warning.
49213
ca6bb004
UD
49214 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49215 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49216
052fa7b3
AS
492172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49218
49219 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49220
962dba78
UD
492212010-08-12 Ulrich Drepper <drepper@redhat.com>
49222
49223 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49224 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49225 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49226
bebff237
AM
492272010-05-01 Alan Modra <amodra@gmail.com>
49228
49229 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49230 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49231 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49232 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49233 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49234 tidying. Don't tail-call __sigjmp_save for static lib.
49235 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49236 save location.
49237 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49238 (CALL_MCOUNT): Add eh info, and nop after bl.
49239 (TAIL_CALL_SYSCALL_ERROR): New macro.
49240 (PSEUDO_RET): Use it.
49241 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49242 Correct save location of integer regs and cr.
49243 (_dl_profile_resolve): Correct cr save location. Delete nops
49244 after bl when SHARED. Reduce cfi size a little by better
49245 placement of cfi directives.
49246 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49247 make a stack frame. Instead use parm save area as a temp.
49248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49249 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49251 Don't make a stack frame for parent, use parm save area.
49252 Increase child stack frame to 112 bytes. Don't save unused reg,
49253 and adjust reg usage. Set up cfi on error recovery and
49254 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49256 (__makecontext): Add dummy nop after jump to exit.
49257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49258 Use correct parm save area and cr save, reduce stack frame.
49259 Correct cfi for possible PSEUDO_RET frame setup.
49260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49261 Branch to local label emitted by PSEUDO_RET rather than
49262 __syscall_error.
49263
02637374
AS
492642010-08-12 Andreas Schwab <schwab@redhat.com>
49265
49266 [BZ #11904]
49267 * locale/programs/locale.c (print_assignment): New function.
49268 (show_locale_vars): Use it.
49269
c3e2f19b
UD
492702010-08-11 Ulrich Drepper <drepper@redhat.com>
49271
3cdaa6ad
UD
49272 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49273 field.
49274 (struct statfs64): Likewise.
49275 (_STATFS_F_FLAGS): Define.
49276 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49277 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49278 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49279 (ST_VALID): Define locally.
49280 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49281 __statvfs_getflags, use the provided value.
49282 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49283 __ASSUME_STATFS_F_FLAGS.
49284
754f7da3
UD
49285 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49286
10b3bedc
UD
49287 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49288 Add sys/fanotify.h.
49289 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49290 fanotify_mask for GLIBC_2.13.
49291 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49292 fanotify_init and fanotify_mark.
49293 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49294 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49295
c08fb0d7
UD
49296 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49297 Add prlimit.
49298 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49299 prlimit64 for GLIBC_2.13.
49300 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49301 prlimit64.
49302 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49303 syscall.
49304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49306 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49307 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49308 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49309 add prlimit alias.
49310 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49311
15bac72b
UD
49312 [BZ #11903]
49313 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49314 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49315
c3e2f19b
UD
49316 * nss/Makefile: Add rules to build and run tst-nss-test1.
49317 * shlib-versions: Add entry for libnss_test1.
49318 * nss/nss_test1.c: New file.
49319 * nss/tst-nss-test1.c: New file.
49320
49321 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49322 (__nss_configure_lookup): Set appropriate entry in
49323 __nss_configure_lookup to true.
49324 * nss/nsswitch.h: Define enum with indeces of databases in
49325 databases and __nss_database_custom arrays. Declare
49326 __nss_database_custom.
49327 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49328 to avoid using nscd when custom rules are installed.
49329 * nss/getXXbyYY_r.c: Likewise.
49330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49331
49332 * nss/nss_files/files-parse.c: Whitespace fixes.
49333
f15ce4d8
UD
493342010-08-09 Ulrich Drepper <drepper@redhat.com>
49335
49336 [BZ #11883]
49337 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49338 * posix/fnmatch_loop.c: Likewise.
49339
d22e4cc9
AK
493402010-07-17 Andi Kleen <ak@linux.intel.com>
49341
49342 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49343 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49344 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49345 * Versions.def [GLIBC_2.13]: Add.
49346
805bc17d
UD
493472010-08-06 Ulrich Drepper <drepper@redhat.com>
49348
49349 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49350 Also fail if tpwd after pwuid call is NULL.
49351
5a42321d
ST
493522010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49353
49354 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49355 when converting to ms.
49356
fd3ebeda
ST
493572010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49358
49359 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49360 EOPNOTSUPP errors with ENOTTY.
49361 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49362 EOPNOTSUPP errors with ENOTTY.
49363
73507d3a
UD
493642010-07-31 Ulrich Drepper <drepper@redhat.com>
49365
49366 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49367 Add strcasecmp_l-ssse3.
49368 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49369 strcasecmp.
49370 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49371 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49372 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49373
fe36dd02
UD
493742010-07-30 Ulrich Drepper <drepper@redhat.com>
49375
66f6765a
UD
49376 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49377
42e08a54
UD
49378 * string/Makefile (strop-tests): Add strcasecmp.
49379 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49380 strcasecmp_l-nonascii.
49381 (gen-as-const-headers): Add locale-defines.sym.
49382 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49383 * sysdeps/x86_64/strcasecmp.S: New file.
49384 * sysdeps/x86_64/strcasecmp_l.S: New file.
49385 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49386 * sysdeps/x86_64/locale-defines.sym: New file.
49387 * string/test-strcasecmp.c: New file.
49388
fe36dd02
UD
49389 * string/test-strcasestr.c: Test both ends of the range of characters.
49390 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49391
48cbc0d6
RM
493922010-07-29 Roland McGrath <roland@redhat.com>
49393
76e6d6bc 49394 [BZ #11856]
48cbc0d6
RM
49395 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49396
880113d9
UD
493972010-07-27 Ulrich Drepper <drepper@redhat.com>
49398
49399 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49400 for ld.so.
49401
deb9cabb
AS
494022010-07-27 Andreas Schwab <schwab@redhat.com>
49403
49404 * manual/memory.texi (Malloc Tunable Parameters): Document
49405 M_PERTURB.
49406
1c7570ff
RM
494072010-07-26 Roland McGrath <roland@redhat.com>
49408
49409 [BZ #11840]
49410 * configure.in (-fgnu89-inline check): Set and substitute
49411 gnu89_inline, not libc_cv_gnu89_inline.
49412 * configure: Regenerated.
49413 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49414
24fb0f88
UD
494152010-07-26 Ulrich Drepper <drepper@redhat.com>
49416
49417 * string/test-strnlen.c: New file.
49418 * string/Makefile (strop-tests): Add strnlen.
49419 * string/tester.c (test_strnlen): Add a few more test cases.
49420 * string/tst-strlen.c: Better error reporting.
49421
49422 * sysdeps/x86_64/strnlen.S: New file.
49423
8e96b93a
UD
494242010-07-24 Ulrich Drepper <drepper@redhat.com>
49425
49426 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49427 lower-latency instructions.
49428
dbc676d4
UD
494292010-07-23 Ulrich Drepper <drepper@redhat.com>
49430
49431 * string/test-strcasestr.c: New file.
49432 * string/test-strstr.c: New file.
49433 * string/Makefile (strop-tests): Add strstr and strcasestr.
49434 * string/str-two-way.h: Don't undefine MAX.
49435 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49436
f6a31e0e
AS
494372010-07-21 Andreas Schwab <schwab@redhat.com>
49438
49439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49440 strcasestr-nonascii.
49441 (CFLAGS-strcasestr-nonascii.c): Define.
49442 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49443 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49444 Remove unused attribute.
49445
5dbc3b6c
RM
494462010-07-20 Roland McGrath <roland@redhat.com>
49447
49448 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49449 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49450 ld.so.cache was broken. With it, there is no way to disable dsocaps
49451 like LD_HWCAP_MASK can disable hwcaps.
49452
23d101d8
EPM
494532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49454
49455 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49456
cc9f2e47
UD
494572010-07-16 Ulrich Drepper <drepper@redhat.com>
49458
49459 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49460 call in strcasestr.
49461 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49462 __strcasestr_sse42_nonascii.
49463 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49464 strcasestr-nonascii.c.
49465 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49466
77c1b069
LM
494672010-06-15 Luis Machado <luisgpm@br.ibm.com>
49468
49469 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49470 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49471 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49472 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49473
440566c3
UD
494742010-07-09 Ulrich Drepper <drepper@redhat.com>
49475
49476 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49477 fcntl.
49478
5be9d05d
AS
494792010-07-06 Andreas Schwab <schwab@redhat.com>
49480
c30b7ee2 49481 [BZ #11577]
5be9d05d
AS
49482 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49483 dl_signal_cerror.
49484
8a492a67
UD
494852010-07-06 Ulrich Drepper <drepper@redhat.com>
49486
49487 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49488 _PC_PIPE_BUF using F_GETPIPE_SZ.
49489
713df3d5
RM
494902010-07-05 Roland McGrath <roland@redhat.com>
49491
49492 * manual/arith.texi (Rounding Functions): Fix rint description
49493 implicit in round description.
49494
702e8f14
UD
494952010-07-02 Ulrich Drepper <drepper@redhat.com>
49496
49497 * elf/Makefile: Fix linking for a few tests to make recent linker
49498 happy.
49499
52ed8be9
AS
495002010-06-30 Andreas Schwab <schwab@redhat.com>
49501
49502 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49503 $(common-objpfx)libc_nonshared.a.
49504
f47c9a11
LM
495052010-06-21 Luis Machado <luisgpm@br.ibm.com>
49506
49507 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49508 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49509 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49510 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49511 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49512 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49513 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49514 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49529 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49530 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49531 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49532 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49533 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49534 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49535 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49536 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49537 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49538 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49539 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49540 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49555
6fb8cbcb
L
495562010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49557
49558 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49559 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49560 * string/memmove.c (memmove): Renamed to ...
49561 (MEMMOVE): ...this. Default to memmove.
49562 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49563 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49564 (END_CHK): Define.
49565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49566 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49567 mempcpy-ssse3-back memmove-ssse3-back.
49568 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49569 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49571 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49572 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49573 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49574 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49575 * sysdeps/x86_64/multiarch/memmove.c: New file.
49576 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49577 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49578 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49579 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49580 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49581 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49582 Define.
49583 (index_Fast_Copy_Backward): Define.
49584 (HAS_ARCH_FEATURE): Define.
49585 (HAS_FAST_REP_STRING): Define.
49586 (HAS_FAST_COPY_BACKWARD): Define.
49587
4e733bac 495882010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49589
49590 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49591 Restore proper fallback handling.
49592
63c4ed22
UD
495932010-06-19 Ulrich Drepper <drepper@redhat.com>
49594
ac2b484c
UD
49595 [BZ #11701]
49596 * posix/group_member.c (__group_member): Correct checking loop.
49597
63c4ed22
UD
49598 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49599 OOM in getpwuid_r correctly. Return error number when the caller
49600 should return, otherwise -1.
49601 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49602 call returning > 0 value.
49603 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49604
765ade4b
AS
496052010-06-07 Andreas Schwab <schwab@redhat.com>
49606
49607 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49608 libc_nonshared.a from targets in modules-names.
49609
80da2e09
KS
496102010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49611
49612 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49613 requires it.
49614
158db122
LM
496152010-06-10 Luis Machado <luisgpm@br.ibm.com>
49616
49617 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49618 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49619 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49620 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49621
caa78cf8
AS
496222010-06-02 Andreas Schwab <schwab@redhat.com>
49623
49624 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49625
b2ef2c01
UD
496262010-06-14 Ulrich Drepper <drepper@redhat.com>
49627
49628 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49629 and F_GETPIPE_SZ.
49630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49632 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49635 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49636
fbd643b6
RM
496372010-06-14 Roland McGrath <roland@redhat.com>
49638
49639 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49640
f32f2869
JJ
496412010-06-07 Jakub Jelinek <jakub@redhat.com>
49642
49643 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49644 __REDIRECT followed by __THROW.
49645 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49646 * posix/getopt.h (getopt): Likewise.
49647
2a50c078
EPM
496482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49649
49650 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49651 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49652 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49653 in AT_FLAGS.
49654 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49655 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49656
eb5ad2eb
LM
496572010-05-28 Luis Machado <luisgpm@br.ibm.com>
49658
49659 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49660
3c88fe1e
L
496612010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49662
49663 [BZ #11640]
49664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49665 Properly check family and model.
49666
d2f73151
TY
496672010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49668
49669 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49670
ebd2e13d
LM
496712010-05-24 Luis Machado <luisgpm@br.ibm.com>
49672
49673 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49674
b32b8b45
UD
496752010-05-21 Ulrich Drepper <drepper@redhat.com>
49676
49677 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49678 symbol reference.
49679
9acbe24d
AS
496802010-05-19 Andreas Schwab <schwab@redhat.com>
49681
49682 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49683 symbol reference.
49684
f0ccf6ea
AS
496852010-05-21 Andreas Schwab <schwab@redhat.com>
49686
3d04ff3a
AS
49687 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49688 and internal_recvmmsg.
49689 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49690 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49691 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49692 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49693
f0ccf6ea
AS
49694 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49695 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49696 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49697
5b08ac57
AS
496982010-05-20 Andreas Schwab <schwab@redhat.com>
49699
49700 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49701
4828935d
LM
497022010-05-17 Luis Machado <luisgpm@br.ibm.com>
49703
49704 POWER7 optimizations.
49705 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49706 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49707
373d545e
UD
497082010-05-19 Ulrich Drepper <drepper@redhat.com>
49709
49710 * version.h: Update for 2.13 development version.
49711
21a2b1ae
AS
497122010-05-12 Andrew Stubbs <ams@codesourcery.com>
49713
49714 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49715 exceptions. Return 0.
49716
3f7dcb2b
RM
497172010-05-07 Roland McGrath <roland@redhat.com>
49718
49719 * elf/ldconfig.c (main): Add a const.
49720
5f24d53a 497212010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49722
a160f8d8
UD
49723 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49724 (args_options): Add no-idn option.
49725 (ahosts_keys_int): Add idn_flags to ai_flags.
49726 (parse_option): Handle 'i' option to clear idn_flags.
49727
5f24d53a
UD
49728 * malloc/malloc.c (_int_free): Possible race in the most recently
49729 added check. Only act on the data if no current modification
49730 happened.
265bb1ce
UD
49731
49732See ChangeLog.17 for earlier changes.