]> sourceware.org Git - glibc.git/blame - ChangeLog
Update Sweedish translation
[glibc.git] / ChangeLog
CommitLineData
686ab290
AM
12014-08-26 Allan McRae <allan@archlinux.org>
2
e7548bd8
AM
3 * po/sv.po: Update Sweedish translation from translation project.
4
c526bf4d
AM
5 * po/nl.po: Update Dutch translation from translation project.
6
686ab290
AM
7 * po/es.po: Update Spanish translation from translation project.
8
eb72478a
SP
92014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10
dd763fdb
SP
11 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12
318c7a58
SP
13 * catgets/Makefile (CPPFLAGS-gencat): Remove.
14 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15 (CPPFLAGS-iconvconfig): Likewise.
16 * timezone/Makefile (CPPFLAGS-zic): Likewise.
17
eb72478a
SP
18 * include/libc-symbols.h: Remove unnecessary check for
19 NOT_IN_libc.
20 * nptl/pthreadP.h: Likewise.
21 * sysdeps/aarch64/setjmp.S: Likewise.
22 * sysdeps/alpha/setjmp.S: Likewise.
23 * sysdeps/arm/sysdep.h: Likewise.
24 * sysdeps/i386/setjmp.S: Likewise.
25 * sysdeps/m68k/setjmp.c: Likewise.
26 * sysdeps/posix/getcwd.c: Likewise.
27 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29 * sysdeps/s390/s390-32/setjmp.S: Likewise.
30 * sysdeps/s390/s390-64/setjmp.S: Likewise.
31 * sysdeps/sh/sh3/setjmp.S: Likewise.
32 * sysdeps/sh/sh4/setjmp.S: Likewise.
33 * sysdeps/unix/alpha/sysdep.h: Likewise.
34 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47 * sysdeps/x86_64/setjmp.S: Likewise.
48
d44a052c
JM
492014-08-13 Joseph Myers <joseph@codesourcery.com>
50
51 [BZ #17263]
52 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
53 <stdint.h>.
54 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
55 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
56
508ce3ac
SP
572014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
58
e44c8b0e
SP
59 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
60
508ce3ac
SP
61 [BZ #17262]
62 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
63 and __x86_64__ when disabling x87 inline functions.
64
b4acef1f
L
652014-08-12 H.J. Lu <hongjiu.lu@intel.com>
66
67 [BZ #17259]
68 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
69 asm statement with __cpuid_count.
70
61b1ef6e
MF
712014-08-12 Mike Frysinger <vapier@gentoo.org>
72
73 * configure.ac: Change __ehdr_start code to dereference the struct.
74 Run readelf on the output to look for relocations.
75 * configure: Regenerated.
76
898c62f4
JM
772014-08-12 Joseph Myers <joseph@codesourcery.com>
78
79 [BZ #17261]
80 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
81 value to 0.
82 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
83
9a8a5720
RM
842014-08-12 Roland McGrath <roland@hack.frob.com>
85
86 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
87
4e75751c
BO
882014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
89
90 [BZ #16892]
91 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
92 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
93
bb2ce416
SA
942014-08-12 Sean Anderson <seanga2@gmail.com>
95
96 * malloc/malloc.c: Fix typo in comment.
97
7950a4ee
AM
982014-08-09 Allan McRae <allan@archlinux.org>
99
100 * Regenerate libc.po.
101
f469c49f
MF
1022014-08-08 Mike Frysinger <vapier@gentoo.org>
103
104 * intl/tst-gettext2.sh: Check every lang file for creation.
105
656b84c2
WD
1062014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
107
108 * sysdeps/aarch64/fpu/math_private.h
109 (libc_feholdsetround_noex_aarch64_ctx): New function.
110
538e9e45
W
1112014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
112
113 * sysdeps/arm/armv6/strcpy.S (strcpy):
114 Fix performance issue in misaligned cases.
115
d4795e4a
AZ
1162014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
117
118 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
119 Move definition from termios.h.
120 (struct termio): Likewise.
121 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
122 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
123 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
124 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
125 Likewise.
126 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
127 Move definition to ioctl-types.h
128 (struct termio): Likewise.
129 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
130 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
131 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
132 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
133 Likewise.
134
64accb62
RH
1352014-08-05 Richard Henderson <rth@redhat.com>
136
27bb6dc0
RH
137 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
138 exceptions.
139 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
140 Add fraiseexcpt.
141 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
142 Use __feraiseexcept.
143 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
144 Protect libm symbols with IS_IN_libm.
145
64accb62
RH
146 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
147
e5292691
BO
1482014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
149
150 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
151
5b4bd2d4
WN
1522014-08-04 Will Newton <will.newton@linaro.org>
153
154 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
155 file.
156
fcadaeef
MF
1572014-08-04 Mike Frysinger <vapier@gentoo.org>
158
159 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
160 variants for each function.
161
43a94c64
RM
1622014-08-04 Roland McGrath <roland@hack.frob.com>
163
164 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
165 appended ...
166 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
167 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
168 appended ...
169 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
170 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
171 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
172 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
173 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
174 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
175 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
176 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
177 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
178 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
179 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
180 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
181 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
182 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
184 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
185 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
186 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
187 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
188 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
189 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
190 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
192 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
194 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
196 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
198 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
200 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
202 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
204 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
205 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
206 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
207 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
208 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
209 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
210 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
211 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
212 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
213 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
214 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
215 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
216 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
217 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
218 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
219 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
220 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
221 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
222 Update #include.
223 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
224 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
225
8f3c1fa4
RM
2262014-08-04 Roland McGrath <roland@hack.frob.com>
227
228 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
229 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
230 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
231 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
232 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
233 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
234
ca08746f
RM
2352014-08-04 Roland McGrath <roland@hack.frob.com>
236
237 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
238 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
239 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
240 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
241
9c925ff9
RM
2422014-08-04 Roland McGrath <roland@hack.frob.com>
243
244 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
245 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
246 (__libc_vfork): Define function under this name.
247 (__vfork): Define as an alias.
248 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
249 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
250
e641054c
RM
2512014-08-04 Roland McGrath <roland@hack.frob.com>
252
253 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
254 that was previously under [RESET_PID].
255 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
256
dacdc867
AS
2572014-08-04 Andreas Schwab <schwab@suse.de>
258
259 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
260
41f725ff
MF
2612014-08-03 Mike Frysinger <vapier@gentoo.org>
262
263 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
264 (main): Likewise.
265
277cfb31
RM
2662014-08-01 Roland McGrath <roland@hack.frob.com>
267
268 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
269
4896f049
RH
2702014-08-01 Richard Henderon <rth@redhat.com>
271
272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
273 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
274 typo in exact zero test.
275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
276 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
278
6f64e7d7
RM
2792014-08-01 Roland McGrath <roland@hack.frob.com>
280
281 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
282 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
283 * sysdeps/arm/sysdep.h: ... here.
284 [!__ASSEMBLER__]: Include <stdint.h>.
285
3f3dd810
SP
2862014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
287
a476ac4b
SP
288 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
289 (HAVE_WCTYPE_H): Likewise.
290 (HAVE_ISWCTYPE): Likewise.
291 (ENABLE_NLS): Likewise.
292 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
293 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
294
78dd658a
SP
295 * posix/regex_internal.c: Check if DEBUG is defined and is
296 set.
297
3f3dd810
SP
298 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
299 (HAVE_MBSRTOWCS): Likewise.
300 * posix/fnmatch.c: Include string.h unconditionally.
301
95ee7fb1
SL
3022014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
303
304 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
305 reversal.
306
23fe486b
RM
3072014-07-31 Roland McGrath <roland@hack.frob.com>
308
f61a113f
RM
309 * sysdeps/generic/safe-fatal.h: New file.
310 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
311 * nptl/forward.c: Include it.
312 (__pthread_unwind): Use __safe_fatal as default action, rather
313 than a bogus use of INTERNAL_SYSCALL that could never work.
314
9fe7e787
RM
315 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
316 * configure.ac (libc_cv_builtin_trap): New test.
317 * configure: Regenerated.
318 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
319 (ABORT_INSTRUCTION): Define using __builtin_trap.
320
23fe486b
RM
321 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
322 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
323 * sysdeps/nptl/nptl-signals.h: New file.
324 * nptl/pthreadP.h: Include <nptl-signals.h>.
325
f349489e
SL
3262014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
327
328 * sysdeps/s390/s390-64/utf16-utf32-z9.c
329 (ONE_DIRECTION): Define.
330 * sysdeps/s390/s390-64/utf8-utf16-z9.c
331 (ONE_DIRECTION): Define.
332 * sysdeps/s390/s390-64/utf8-utf32-z9.c
333 (ONE_DIRECTION): Define.
334
2f438e20
SL
3352014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
336
337 * sysdeps/s390/Makefile: Delete file.
338 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
339 * sysdeps/s390/__longjmp.c: Delete file.
340 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
341 Remove fields __flags and __reserved.
342 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
343 and add versioning.
344 * sysdeps/s390/rtld-__longjmp.c: Delete file.
345 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
346 * sysdeps/s390/rtld-setjmp.S: Likewise.
347 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
348 * sysdeps/s390/s390-32/__longjmp.c: ... here.
349 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
350 * sysdeps/s390/s390-32/setjmp.S: ... here.
351 Add versioning.
352 (__sigsetjmp): Remove setting __flags field.
353 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
354 * sysdeps/s390/s390-64/__longjmp.c: ... here.
355 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
356 * sysdeps/s390/s390-64/setjmp.S: ... here.
357 Add versioning.
358 (__sigsetjmp): Remove setting __flags field.
359 * sysdeps/s390/setjmp.S: Delete file.
360 * sysdeps/s390/sigjmp.c: Likewise.
361 * sysdeps/s390/v1-longjmp.c: Likewise.
362 * sysdeps/s390/v1-setjmp.h: Likewise.
363 * sysdeps/s390/v1-sigjmp.c: Likewise.
364 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
365 Remove v1-longjmp_chk.
366 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
367 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
368 Include debug/longjmp_chk.c and add versioning.
369 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
370 Include nptl/pt-longjmp.c and add versioning.
371 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
372 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
373 Include __longjmp.c.
374 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
375 Move to ...
376 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
377 (__getcontext): Remove setting __flags field.
378 Add versioning.
379 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
380 Don't restore upper high grps.
381 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
382 Likewise.
383 (__swapcontext): Remove setting uc_flags field.
384 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
385 Delete file.
386 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
387 Include __longjmp.c.
388 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
389 Move to ...
390 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
391 (__getcontext): Remove setting __flags field.
392 Add versioning.
393 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
394 (__swapcontext): Remove setting uc_flags field.
395 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
396 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
397 Remove fields uc_high_gprs and __reserved.
398 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
399 New file with reverted content.
400 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
401 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
402 Regenerated.
403 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
404 Regenerated.
405
6c9578a2
AS
4062014-07-31 Andreas Schwab <schwab@suse.de>
407
408 * config.h.in (HAVE_IFUNC): Define to 0.
409 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
410 definedness.
411
05f3633d
LM
4122014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
413
414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
415 memmove-avx-unaligned, memcpy-avx-unaligned and
416 mempcpy-avx-unaligned.
417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
418 Add tests for AVX memcpy functions.
419 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
420 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
421 memcpy_chk.
422 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
423 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
424 memmove_chk.
425 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
426 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
427 mempcpy_chk.
428 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
429 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
430 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
431
a53fbd8e
AZ
4322013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
433
434 [BZ #17213]
435 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
436 powerpc64le.
437
0961f7e1
JL
4382014-07-29 Jeff Layton <jlayton@poochiereds.net>
439
440 [BZ #16839]
441 * manual/llio.texi: Add section about open file description locks.
442 * manual/examples/ofdlocks.c: Example of open file description
443 lock usage.
444 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
445 F_OFD_SETLK, and F_OFD_SETLKW.
446
cc5fb300
AM
4472014-07-23 Allan McRae <allan@archlinux.org>
448
449 * po/es.po: Update Spanish translation from translation project.
450
23329dca
AS
4512014-07-18 Andreas Schwab <schwab@linux-m68k.org>
452
453 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
454
9c82da17
MR
4552014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
456
457 [BZ #17078]
458 * sysdeps/arm/dl-machine.h (elf_machine_rela)
459 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
460 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
461
29c4f53e
JM
4622014-07-17 Joseph Myers <joseph@codesourcery.com>
463
831b9896
JM
464 [BZ #17088]
465 * math/fesetenv.c (__fesetenv)
466 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
467 * math/feupdateenv.c (__feupdateenv)
468 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
469
b21c2d50
JM
470 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
471 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
472 (__ASSUME_SOCKETCALL): Do not define.
473
067764ef
JM
474 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
475 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
476 (__ASSUME_SOCKETCALL): Do not define.
477 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
478 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
479 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
480 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
481 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
482 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
483 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
484 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
485
642530c1
JM
486 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
487 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
488 (__ASSUME_SOCKETCALL): Do not define.
489 (__ASSUME_IPC64): Define unconditionally.
490 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
491 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
492 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
493 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
494 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
495 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
496 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
497 Likewise.
498
03f77315
JM
499 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
500 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
501 (__ASSUME_SOCKETCALL): Do not define.
502 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
503 (__ASSUME_FUTEX_LOCK_PI): Likewise.
504 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
505 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
506 (__ASSUME_REQUEUE_PI): Define unconditionally.
507 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
508 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
509 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
510 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
511 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
512 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
513
083b1f7c
JM
514 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
515 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
516 (__ASSUME_SOCKETCALL): Do not define.
517 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
518 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
519 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
520 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
521 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
522 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
523
5be44ea6
JM
524 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
525 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
526 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
527 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
528 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
529 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
530 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
531 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
532 (__ASSUME_GETCPU_SYSCALL): Likewise.
533
d95ffd4c
JM
534 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
535 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
536 cases for individual architectures.
537 * sysdeps/gnu/configure: Regenerated.
538 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
539 LIBC_SLIBDIR_RTLDDIR.
540 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
541 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
542 LIBC_SLIBDIR_RTLDDIR.
543 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
545 LIBC_SLIBDIR_RTLDDIR.
546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
547 Regenerated.
548 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
549 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
550 file.
551 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
552 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
553 file.
554 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
555 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
556 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
557 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
558
29c4f53e
JM
559 * sysdeps/aarch64/shlib-versions: Move to ...
560 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
561 * sysdeps/alpha/shlib-versions: Move to ...
562 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
563 * sysdeps/arm/shlib-versions: Move to ...
564 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
565 * sysdeps/hppa/shlib-versions: Move all contents except for
566 libgcc_s entry to ...
567 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
568 entry from ...
569 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
570 * sysdeps/ia64/shlib-versions: Move to ...
571 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
572 entry from ...
573 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
574 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
575 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
576 * sysdeps/microblaze/shlib-versions: Move to ...
577 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
578 * sysdeps/mips/shlib-versions: Move to ...
579 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
580 entry from ...
581 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
582 * sysdeps/tile/shlib-versions: Move to ...
583 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
584 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
585 from ...
586 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
587 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
588 entry from ...
589 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
590
32bead5b
WN
5912014-07-17 Will Newton <will.newton@linaro.org>
592
57977c4b
WN
593 * sysdeps/arm/bits/atomic.h
594 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
595 (__arch_compare_and_exchange_bool_16_int): Likewise.
596 (__arch_compare_and_exchange_bool_64_int): Likewise.
597
32bead5b
WN
598 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
599 into an #else block.
600
37fccd41
RM
6012014-07-16 Roland McGrath <roland@hack.frob.com>
602
603 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
604 just Linux configurations. Test empirically that the compiler sets
605 __ARM_EABI__, rather than using the tuple to decide.
606 * sysdeps/arm/preconfigure: Regenerated.
607 * sysdeps/unix/sysv/linux/arm/configure: File removed.
608 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
609 contents appended ...
610 * sysdeps/arm/configure.ac: ... here.
611 * sysdeps/arm/configure: Regenerated.
612
b365f3ec
RM
6132014-07-15 Roland McGrath <roland@hack.frob.com>
614
8badf496
RM
615 * nptl/pthread_kill.c: New file.
616 * nptl/pthread_sigmask.c: New file.
617 * nptl/pthread_sigqueue.c: New file.
618
3df6f22e
RM
619 * sysdeps/nptl/lowlevellock.h: New file.
620 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
621 * sysdeps/nptl/lowlevellock-futex.h: New file.
622
b365f3ec
RM
623 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
624 Remove dead declarations.
625
f2fef657
L
6262014-07-14 H.J. Lu <hongjiu.lu@intel.com>
627
628 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
629 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
630 config-cflags-avx2.
631 * sysdeps/x86_64/configure.ac: Likewise.
632 * sysdeps/i386/configure: Regenerated.
633 * sysdeps/x86_64/configure: Likewise.
634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
635 memset-avx2 only if config-cflags-avx2 is yes.
636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
637 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
638 defined.
639 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
640 only if HAVE_AVX2_SUPPORT is defined.
641 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
642
f6c44d47
AM
6432014-07-14 Alan Modra <amodra@gmail.com>
644
645 [BZ #17153]
646 * elf/elf.h (DT_PPC64_NUM): Correct value.
647 * NEWS: Add to fixed bug list.
648
7ee03f00
JM
6492014-07-13 Jim Meyering <meyering@fb.com>
650
651 [BZ 17150]
652 regex: don't deref NULL upon heap allocation failure
653 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
654 failure in one more place.
655 To trigger the segfault, configure grep -with-included-regex,
656 build it, and run these commands:
657 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
658
9d39d517
AS
6592014-07-13 Andreas Schwab <schwab@linux-m68k.org>
660
661 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
662
a75b89b7
RH
6632014-07-11 Richard Henderson <rth@redhat.com>
664
665 * sysdeps/aarch64/libm-test-ulps: Update.
666
771eb141
FW
6672014-07-10 Florian Weimer <fweimer@redhat.com>
668
669 [BZ #17135]
670 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
671 * nptl/allocatestack.c (__nptl_setxid_error): New function.
672 (__nptl_setxid): Initialize error member. Call
673 __nptl_setxid_error.
674 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
675 * nptl/descr.h (struct xid_command): Add error member.
676 * nptl/tst-setuid3.c: New file.
677 * nptl/Makefile (tests): Add it.
678
bc1da176
AZ
6792014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
680
681 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
682 New define.
683 (__lll_trylock): Use __lll_base_trylock.
684 (__lll_cond_trylock): Likewise.
685
887865fc
RM
6862014-07-10 Roland McGrath <roland@hack.frob.com>
687
c0c6bac9
RM
688 * nptl/pthread_create.c (start_thread): Use atomic_or and
689 lll_futex_wake directly rather than lll_robust_dead.
690 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
691 (lll_robust_dead): Macro removed.
6a42be57 692 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
693 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
694 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
695 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
696 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
697 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
698 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
699 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
700 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
702 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
703 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
704 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
705 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
706 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
707
887865fc
RM
708 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
709 Use atomic_compare_and_exchange_val_acq directly rather than
710 lll_robust_trylock.
711 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
712 (__lll_robust_trylock, lll_robust_trylock): Removed.
713 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
714 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
715 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
716 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
717 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
718 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
719 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
720 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
721 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
722 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
723 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
724 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
725 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
726 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
727
58536726
FW
7282014-07-02 Florian Weimer <fweimer@redhat.com>
729
730 * manual/locale.texi (Locale Names): New section documenting
731 locale name syntax. Adjust menu and node chaining accordingly.
732 (Choosing Locale): Reference Locale Names, Locale Categories.
733 Mention setting LC_ALL=C. Reflect that name syntax is now
734 documented.
735 (Locale Categories): New section title. Reference Locale Names.
736 LC_ALL is an environment variable, but not a category.
737 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
738 description, now in Locale Name. Reference that section. Locale
739 name syntax is now documented.
740
4e8f95a0
FW
7412014-07-02 Florian Weimer <fweimer@redhat.com>
742
743 [BZ #17137]
744 * locale/findlocale.c (name_present, valid_locale_name): New
745 functions.
746 (_nl_find_locale): Use the loc_name variable to store name
747 candidates. Call name_present and valid_locale_name to check and
748 validate locale names. Return an error if the locale is invalid.
749
d1836456
FW
7502014-07-02 Florian Weimer <fweimer@redhat.com>
751
752 * locale/setlocale.c (setlocale): Use strdup for allocating
753 composite name copy.
754
d69b7f5a
SP
7552014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
756
888c679b
SP
757 Sync up with gnulib.
758 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
759 [!_LIBC && ENABLE_NLS]: Include gettext.h.
760 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
761 and _GL_ARG_NONNULL.
762 [USE_UNLOCKED_IO]: Include unlocked-io.h.
763 [!_LIBC]: Include code for Windows and Cygwin.
764 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
765 Include prototype for int strerror_r.
766 [!_LIBC] (is_open): New function.
767 (flush_stdout): New function.
768 (print_errno_message): Use it.
769 (error): Likewise.
770 (error_at_line): Likewise.
771 (error_tail) Add function attribute macros. Use
772 __builtin_expect.
773
180e0e4b
SP
774 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
775
d22f1fe2
SP
776 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
777
12f2254b
SP
778 * io/ftw.c: Include sys/param.h unconditionally.
779
c3c7c360
SP
780 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
781
d62aa75a
SP
782 [BZ #17125]
783 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
784 libc_freeres_ptr.
785 (freecache): New function to free CACHE on exit.
786
d69b7f5a
SP
787 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
788 initialization.
789
5efe06a1
DM
7902014-07-09 David S. Miller <davem@davemloft.net>
791
792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
793
7000d82e
DM
794 * sysdeps/sparc/nptl/internaltypes.h: Delete.
795 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
796 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
797 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
798 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
799 * sysdeps/sparc/nptl/sem_init.c: Likewise.
800 * sysdeps/sparc/nptl/sem_post.c: Likewise.
801 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
802 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
803 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
804 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
805 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
806 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
807
c213442d
AS
8082014-07-09 Andreas Schwab <schwab@suse.de>
809
4a2552c3
AS
810 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
811 output.
812 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
813 (do_test): Likewise.
814
c213442d
AS
815 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
816
82374e65
WN
8172014-07-09 Will Newton <will.newton@linaro.org>
818
819 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
820 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
821 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
822 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
823 * sysdeps/hppa/start.S (_start): Likewise.
824
6680738a
SP
8252014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
826
6ee3eab4
SP
827 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
828
6680738a
SP
829 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
830 defined.
831
80b5c505
SP
8322014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
833
e35c53e3
SP
834 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
835 after checking that it is non-NULL.
836
80b5c505
SP
837 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
838
91f4b564
AZ
8392014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
840
27b75f56
AZ
841 * sysdeps/powerpc/memmove.c: Remove file.
842 * sysdeps/powerpc/powerpc32/power4/memcopy.h
843 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
844 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
845 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
846 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
847 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
848 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
849 string memmove instead of removed powerpc one.
850
e7f95bb5
AZ
851 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
852 [weak_alias]: Fix compiler warning due trailing data.
853 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
854 [weak_alias]: Likewise.
855 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
856 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
857
91f4b564
AZ
858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
859 (__libc_ifunc_impl_list): Add memmove functions.
860
7c33f1e5
SP
8612014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
862
863 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
864 Remove code.
865 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
866 Likewise
867 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
868 Likewise
869 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
870 Likewise
871 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
872 Likewise
873 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
874 Likewise
875 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
876 Likewise
877 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
878 Likewise
879 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
880 Likewise
881 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
882 Likewise
883 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
884 Likewise
885 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
886 Likewise
887 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
888 Likewise
889 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
890 Likewise
891 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
892 Likewise
893 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
894 Likewise
895 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
896 Likewise
897
3f17b03b
AZ
8982014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
899
87868c24
AZ
900 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
901 to avoid alignment traps in non-cacheable memory.
902 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
903
07aedd78
AZ
904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
905 multiarch objects.
906 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
907 file: multiarch power7 memmove.
908 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
909 multiarch default memmove.
910 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
911 multiarch memove for powerpc32/power4.
912
17762f66
AZ
913 * string/bcopy.c: Use full path to include memmove.c.
914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
915 multiarch objects.
916 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
917 bcopy for powerpc64.
918 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
919 bcopy for powerpc64.
920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
921 and memmove implementations.
922 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
923 optimized multiarch memmove for POWER7/powerpc64.
924 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
925 default multiarch memmove for powerpc64.
926 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
927 multiarch for powerpc64.
928 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
929 for POWER7/powerpc64.
930 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
931 memmove for POWER7/powerpc64.
932
d6f68bbe
AZ
933 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
934 glibc default one.
935
3f17b03b
AZ
936 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
937 __ELF_NATIVE_CLASS equal to 64.
938
08192659
RM
9392014-07-07 Roland McGrath <roland@hack.frob.com>
940
f4c4021b
RM
941 * sysdeps/nptl/lowlevellock.h: File removed.
942
f083450f
RM
943 * NEWS: NPTL is no longer an add-on!
944 * nptl/internaltypes.h: Moved ...
945 * sysdeps/nptl/internaltypes.h: ... here.
946 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
947 * sysdeps/nptl/fork.c: Likewise.
948 * sysdeps/nptl/gai_misc.h: Likewise.
949 * sysdeps/nptl/librt-cancellation.c: Likewise.
950 * sysdeps/nptl/jmp-unwind.c: Likewise.
951 * sysdeps/nptl/setxid.h: Likewise.
952 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
953 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
954 * sysdeps/unix/sysv/linux/arm/Implies: New file.
955 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
956 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
957 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
958 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
959 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
960 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
961 * sysdeps/unix/sysv/linux/mips/Implies: New file.
962 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
963 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
964 * sysdeps/unix/sysv/linux/sh/Implies: New file.
965 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
966 * sysdeps/unix/sysv/linux/tile/Implies: New file.
967 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
968 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
969 * nptl/Makeconfig: Moved ...
970 * sysdeps/nptl/Makeconfig: ... here.
971 * nptl/configure: File removed.
972 * nptl/ANNOUNCE: File removed.
973 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
974 * sysdeps/unix/sysv/linux/configure: Regenerated.
975
08192659
RM
976 * nptl/Makefile (routines): Add libc_pthread_init,
977 libc_multiple_threads, register-atfork and unregister-atfork.
978 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
979 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
980 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
981 pthread-pi-defines.sym, structsem.sym.
982 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
983 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
984 [$(subdir) = nptl] (tests): Add tst-setgetname.
985 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
986 * sysdeps/unix/sysv/linux/sigaction.c: Just include
987 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
988 [!LIBC_SIGACTION]: Remove aliases.
989 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
990 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
991 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
992 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
993 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
994 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
995 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
996 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
997 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
998 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
999 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1000 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1001 __libc_allocate_rtsig_private.
1002 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1003 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1004 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1005 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1006 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1007 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1008 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1009 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1010 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1011 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1012 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1013 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1014 * nptl/internaltypes.h: ... here.
1015 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1016 * sysdeps/nptl/jmp-unwind.c: ... here.
1017 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1018 * nptl/libc-lowlevellock.c: ... here.
1019 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1020 * nptl/libc_multiple_threads.c: ... here.
1021 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1022 * nptl/libc_pthread_init.c: ... here.
1023 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1024 * nptl/lowlevelbarrier.sym: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1026 * nptl/lowlevelcond.sym: ... here.
1027 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1028 * nptl/lowlevellock.c: ... here.
1029 * nptl/lowlevellock.h: Moved ...
1030 * sysdeps/nptl/lowlevellock.h: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1032 * nptl/lowlevelrobustlock.c: ... here.
1033 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1034 * nptl/lowlevelrobustlock.sym: ... here.
1035 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1036 * nptl/lowlevelrwlock.sym: ... here.
1037 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1038 * nptl/pt-fork.c: ... here.
1039 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1040 * nptl/pthread-pi-defines.sym: ... here.
1041 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1042 * nptl/pthread_attr_getaffinity.c: ... here.
1043 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1044 * nptl/pthread_attr_setaffinity.c: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1046 * nptl/pthread_mutex_cond_lock.c: ... here.
1047 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1048 Update #include.
1049 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1050 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1051 * nptl/pthread_once.c: ... here, replacing old file.
1052 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1053 * nptl/pthread_yield.c: ... here.
1054 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1055 * nptl/register-atfork.c: ... here.
1056 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1057 * nptl/sem_post.c: ... here.
1058 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1059 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1060 * nptl/sem_timedwait.c: ... here.
1061 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1062 * nptl/sem_trywait.c: ... here.
1063 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1064 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1065 * nptl/sem_wait.c: ... here.
1066 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1067 * nptl/structsem.sym: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1069 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1070 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1071 * nptl/unregister-atfork.c: ... here.
1072 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1073 * nptl/unwindbuf.sym: ... here.
1074 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1075 * sysdeps/nptl/fork.c: ... here.
1076 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1077 * sysdeps/nptl/fork.h: ... here.
1078 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1079 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1080 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1081 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1082 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1083 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1084 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1086 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1088 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1090 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1092 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1094 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1095 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1096 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1097 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1098 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1100 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1102 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1104 * sysdeps/unix/sysv/linux/raise.c: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1106 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1108 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1110 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1112 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1114 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1115 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1116 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1117 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1118 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1119 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1120
96baf6ff
SP
11212014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1122
1123 * sysdeps/generic/memcopy.h: Add comment for
1124 MEMCPY_OK_FOR_FWD_MEMMOVE.
1125
6b7b14b2
WN
11262014-07-04 Will Newton <will.newton@linaro.org>
1127
1570a72b
WN
1128 * string/memchr.c: Merge from gnulib.
1129 [_LIBC]: Remove conditionals.
1130 (__ptr_t): Remove define.
1131 (LONG_MAX_32_BITS): Likewise.
1132 (LONG_MAX): Likewise.
1133 (MEMCHR): Use ANSI prototype and optimize algorithm.
1134
6b7b14b2
WN
1135 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1136
38851324
SP
11372014-07-03 Roland McGrath <roland@hack.frob.com>
1138
3d9eb57c
RM
1139 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1140 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1141
78b984ae
RM
1142 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1143 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1144 in a bare environment with no <stdlib.h> installed.
1145 * sysdeps/nptl/configure: Regenerated.
1146
2d5976a5
RM
1147 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1148
c1f5acd4
RM
1149 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1150 AC_EGREP_CPP for kernel header checks, so they only succeed if
1151 including <linux/version.h> actually works right.
1152 * sysdeps/unix/sysv/linux/configure: Regenerated.
1153
4d614fe5
RM
1154 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1155 value so it's not diagnosed as unused.
1156
38851324
SP
1157 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1158 thing) with "ifeq ($(subdir),rt)".
1159
b3ec00e5
RH
11602014-07-03 Richard Henderson <rth@redhat.com>
1161
69862e25
RH
1162 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1163 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1164 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1165
d5e16ade
RH
1166 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1167 (math_force_eval): New.
1168
ca7b945c
RH
1169 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1170 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1171
cd1175a3
RH
1172 * sysdeps/alpha/fpu/s_round.c: Remove file.
1173 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1174
b3ec00e5
RH
1175 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1176 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1177 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1178 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1179 (_dl_start, print_statistics): Likewise.
1180 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1181 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1182
1183 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1184 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1185 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1186 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1187 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1188 (HP_SMALL_TIMING_AVAIL): Define.
1189 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1190 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1191 (HP_SMALL_TIMING_AVAIL): Define.
1192 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1193 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1194
1195 * sysdeps/aarch64/hp-timing.h: New file.
1196
1197 * sysdeps/generic/hp-timing.h: Remove dead comment.
1198 * sysdeps/generic/hp-timing-common.h: New file.
1199 * sysdeps/alpha/hp-timing.h: Include it.
1200 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1201 * sysdeps/i386/i686/hp-timing.h: Likewise.
1202 * sysdeps/ia64/hp-timing.h: Likewise.
1203 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1204 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1205 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1206 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1207 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1208 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1209 (hp_timing_t): New.
1210
1211 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1212 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1213 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1214 * elf/rtld.c (_dl_start_final): Likewise.
1215 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1216 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1217 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1218 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1219 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1220 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1221 (HP_TIMING_DIFF_INIT): Remove.
1222 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1223 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1224 (HP_TIMING_DIFF_INIT): Remove.
1225 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1226 * sysdeps/i386/i686/hp-timing.c: Remove file.
1227 * sysdeps/x86_64/hp-timing.c: Remove file.
1228 * sysdeps/ia64/hp-timing.c: Remove file.
1229 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1230 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1231 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1232 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1233
1234 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1235 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1236 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1237 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1238 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1239 (HP_TIMING_ACCUM): Remove.
1240 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1241 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1242 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1243
1244 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1245 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1246 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1247 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1248 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1249 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1250 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1251 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1252
1253 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1254
225f410f
MR
12552014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1256
1257 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1258
3247f285
SP
12592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1260
1261 Sync up with gettext.
1262 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1263 [_MSC_VER]: Include malloc.h
1264 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1265 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1266 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1267 TEMP_FAILURE_RETRY. Cast return of alloca.
1268 [!_LIBC] Call gl_rwlock_init.
1269 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1270
d12704c7
SP
12712014-07-02 Roland McGrath <roland@hack.frob.com>
1272
1273 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1274 before checking its value.
1275
99f8dc92
SP
12762014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1277
05fdac77
SP
1278 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1279
99f8dc92
SP
1280 * debug/memcpy_chk.c: Don't include pagecopy.h.
1281 * debug/mempcpy_chk.c: Likewise.
1282 * string/memcpy.c: Likewise.
1283 * string/memmove.c: Likewise.
1284 * sysdeps/powerpc/memmove.c: Likewise.
1285 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1286 definition of PAGE_COPY_FWD_MAYBE here...
1287 * sysdeps/generic/pagecopy.h: ... from here.
1288 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1289
bc8ea385
VR
12902014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1291 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1292
1293 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1295 optimizations.
1296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1297 (__libc_ifunc_impl_list): Likewise.
1298 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1299 multiarch strcat for PPC64.
1300 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1301 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1302
fe5f34e4
RM
13032014-07-02 Roland McGrath <roland@hack.frob.com>
1304
1305 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1306
256aa665
SP
13072014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1308
d4eb8195
SP
1309 * intl/loadmsgcat.c: Remove declaration of
1310 get_sysdep_segment_value.
1311 (get_sysdep_segment_value): Use ISO C style.
1312 (_nl_load_domain): Use ISO C style. Get rid of redundant
1313 semicolon. Fix typo and formatting in comment.
1314 (_nl_unload_domain): Use ISO C style.
1315
256aa665
SP
1316 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1317
b100f9aa
WN
13182014-07-02 Will Newton <will.newton@linaro.org>
1319
1320 * malloc/obstack.c: Merge from gnulib master.
1321 [HAVE_CONFIG_H]: Remove conditional code.
1322 [!_LIBC]: Include config.h.
1323 [!ELIDE_CODE]: Don't include inttypes.h, include
1324 stdint.h unconditionally.
1325 (print_and_abort): Mark as _Noreturn.
1326 (_obstack_allocated_p): Mark as __attribute_pure__.
1327 (obstack_free): Rename to __obstack_free.
1328 [!__attribute__]: Remove conditional code.
1329 * malloc/obstack.h: Merge from gnulib master.
1330 [__cplusplus]: Move conditional down.
1331 [!__attribute_pure__]: Define __attribute_pure__ here
1332 if it is not already defined.
1333 (_obstack_memory_used): Mark as __attribute_pure__.
1334 [!__obstack_free]: Define as obstack_free.
1335 [__GNUC__]: Remove check for ancient NeXT gcc.
1336
c4c41244
PE
13372014-07-02 Will Newton <will.newton@linaro.org>
1338 Paul Eggert <eggert@cs.ucla.edu>
1339
1340 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1341
e1e041c4
SP
13422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1343
1344 * resolv/gethnamaddr.c: Add comment warning that the file is
1345 not maintained.
1346
ccf431ff
CD
13472014-07-01 Carlos O'Donell <carlos@redhat.com>
1348
d34570a6
CD
1349 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1350 entries.
1351
ccf431ff
CD
1352 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1353 entry for aio_cancel and aio_cancel64.
1354 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1355 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1356 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1357 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1358 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1359 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1360 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1361 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1362 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1363 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1364 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1365 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1366 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1367
ca06321d
RM
13682014-07-01 Roland McGrath <roland@hack.frob.com>
1369
1370 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1371 * nptl/pthread_mutex_lock.c: Likewise.
1372 * nptl/pthread_mutex_timedlock.c: Likewise.
1373 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1374
a1ac3184
RH
13752014-07-01 Richard henderson <rth@redhat.com>
1376
631021e0
RH
1377 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1378 (__isnan, __isnanl): Remove.
1379 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1380
a1ac3184
RH
1381 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1382
0c1d731f
SL
13832014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1384
1385 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1386
76985d3e
SP
13872014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1388
1389 * resolv/nss_dns/dns-host.c (getanswer_r)
1390 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1391
b0cb3096
JM
13922014-07-01 Joseph Myers <joseph@codesourcery.com>
1393
1394 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1395 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1396 undefine.
1397 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1398 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1399
4d76cb39
RM
14002014-07-01 Roland McGrath <roland@hack.frob.com>
1401
1402 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1403 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1404
1405 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1406 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1407
1408 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1409 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1410 ... here.
1411 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1412 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1413
1414 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1415 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1416 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1417 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1418
1419 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1420 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1421 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1422 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1423 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1424 Moved ...
1425 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1426 ... here.
1427 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1428 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1429 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1430 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1432 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1435 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1436 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1447 ... here.
1448 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1451 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1452 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1453 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1454 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1455 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1456
0cdcad17
DH
14572014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1458
1459 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1460 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1461 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1462 Add sysdep.
1463
9b71d0e3
AZ
14642014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465
1466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1467
665390c2
JM
14682014-06-30 Joseph Myers <joseph@codesourcery.com>
1469
ae05a9d7
JM
1470 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1471 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1472
a7672a2f
JM
1473 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1474
665390c2
JM
1475 * sysdeps/arm/libm-test-ulps: Regenerated.
1476
d7a05d07
MR
14772014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1478 Roland McGrath <roland@hack.frob.com>
1479
1480 * test-skeleton.c (signal_handler): Kill the whole process group
1481 before killing the child individually.
1482 (main): Report any failure on `setpgid'.
1483
46f1d8a6
RM
14842014-06-30 Roland McGrath <roland@hack.frob.com>
1485
1486 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1487 from _TLS_H to _ARM_NPTL_TLS_H.
1488 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1489 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1490
9c37ec0b
JM
14912014-06-30 Joseph Myers <joseph@codesourcery.com>
1492
ce9c5b3e
JM
1493 [BZ #16539]
1494 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1495 (__expm1l): Return argument unchanged when small but not
1496 subnormal.
1497
3a6e9887
JM
1498 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1499 include macro name.
1500 (_FP_UNPACK_RAW_1_P): Likewise.
1501 (_FP_PACK_RAW_1): Likewise.
1502 (_FP_PACK_RAW_1_P): Likewise.
1503 (_FP_MUL_MEAT_1_wide): Likewise.
1504 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1505 (_FP_MUL_MEAT_1_hard): Likewise.
1506 (_FP_DIV_MEAT_1_imm): Likewise.
1507 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1508 (_FP_DIV_MEAT_1_udiv): Likewise.
1509 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1510 (_FP_UNPACK_RAW_2): Likewise.
1511 (_FP_UNPACK_RAW_2_P): Likewise.
1512 (_FP_PACK_RAW_2): Likewise.
1513 (_FP_PACK_RAW_2_P): Likewise.
1514 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1515 (_FP_MUL_MEAT_2_wide): Likewise.
1516 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1517 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1518 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1519 (_FP_MUL_MEAT_2_gmp): Likewise.
1520 (_FP_DIV_MEAT_2_udiv): Likewise.
1521 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1522 (_FP_FRAC_SRL_4): Likewise.
1523 (_FP_FRAC_SRST_4): Likewise.
1524 (_FP_FRAC_SRS_4): Likewise.
1525 (_FP_UNPACK_RAW_4): Likewise.
1526 (_FP_UNPACK_RAW_4_P): Likewise.
1527 (_FP_PACK_RAW_4): Likewise.
1528 (_FP_PACK_RAW_4_P): Likewise.
1529 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1530 (_FP_MUL_MEAT_4_wide): Likewise.
1531 (_FP_MUL_MEAT_4_gmp): Likewise.
1532 (umul_ppppmnnn): Likewise.
1533 (_FP_DIV_MEAT_4_udiv): Likewise.
1534 (__FP_FRAC_ADD_4): Likewise.
1535 (__FP_FRAC_SUB_3): Likewise.
1536 (__FP_FRAC_SUB_4): Likewise.
1537 (__FP_FRAC_DEC_3): Likewise.
1538 (__FP_FRAC_DEC_4): Likewise.
1539 (__FP_FRAC_ADDI_4): Likewise.
1540 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1541 (_FP_FRAC_SRL_8): Likewise.
1542 (_FP_FRAC_SRS_8): Likewise.
1543
9c37ec0b
JM
1544 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1545 include macro name.
1546 (FP_UNPACK_RAW_EP): Likewise.
1547 (FP_PACK_RAW_E): Likewise.
1548 (FP_PACK_RAW_EP): Likewise.
1549 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1550 (_FP_ISSIGNAN): Likewise.
1551 (_FP_ADD_INTERNAL): Likewise.
1552 (_FP_FMA): Likewise.
1553 (_FP_CMP): Likewise.
1554 (_FP_SQRT): Likewise.
1555 (_FP_TO_INT): Likewise.
1556 (_FP_FROM_INT): Likewise.
1557 (FP_EXTEND): Likewise.
1558 (_FP_DIV_MEAT_N_loop): Likewise.
1559
2125f674
MR
15602014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1561
1562 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1563 throughout.
1564
edea4028
JM
15652014-06-29 Joseph Myers <joseph@codesourcery.com>
1566
1567 [BZ #17097]
1568 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1569 result with correct sign in case of exponents that produce
1570 overflow except for X very close to 1.
1571
dd0ba018
PE
15722014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1573
1574 mktime: merge #if/#ifdef usage from glibc
1575 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1576 as that works with both Glibc's and Gnulib's style.
1577 See thread starting at Siddhesh Poyarekar's bug report at:
1578 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1579
64df73c2
SP
15802014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1581
1582 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1583 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1584 * sysdeps/tile/tilegx/memmove.c: Remove file.
1585
f1eafb41
JM
15862014-06-27 Joseph Myers <joseph@codesourcery.com>
1587
1588 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1589 abi-name definition.
1590 * scripts/soversions.awk: Do not handle or generate ABI lines.
1591 * shlib-versions: Remove ABI entries.
1592 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1593 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1594
58eb0862
RM
15952014-06-27 Roland McGrath <roland@hack.frob.com>
1596
37caf178
RM
1597 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1598 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1599 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1600 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1602 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1604 Moved ...
1605 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1606 ... here.
1607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1608 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1610 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1614 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1616 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1618 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1620 Moved ...
1621 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1623 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1627 Moved ...
1628 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1630 Moved ...
1631 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1632 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1633 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1634 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1635 Moved ...
1636 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1638 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1639 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1640 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1642 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1644 Moved ...
1645 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1649 Moved ...
1650 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1652 Moved ...
1653 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1654 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1655 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1657 Moved ...
1658 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1659 ... here.
1660 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1661 Identical file removed.
1662 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1663 Moved ...
1664 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1666 Identical file removed.
1667 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1668 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1670 Moved ...
1671 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1673 Identical file removed.
1674 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1677 Identical file removed.
1678 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1679 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1681 Identical file removed.
1682 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1685 Identical file removed.
1686 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1687 Moved ...
1688 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1690 Identical file removed.
1691 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1692 Moved ...
1693 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1694 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1695 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1697 Identical file removed.
1698 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1699 Moved ...
1700 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1701 ... here.
1702 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1703 Identical file removed.
1704 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1705 Moved ...
1706 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1707 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1708 Identical file removed.
1709 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1710 Moved ...
1711 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1712 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1713 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1714 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1715 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1717 Moved ...
1718 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1719 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1720 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1721
58eb0862
RM
1722 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1723 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1724 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1725 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1726 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1727
6f12d062
AS
17282014-06-27 Arjun Shankar <arjun.is@lostca.se>
1729
1730 [BZ #17092]
1731 * nscd/nscd.c (monitor_child): Return exit status of child
1732 instead of return value from wait syscall.
1733
be254932
JM
17342014-06-27 Joseph Myers <joseph@codesourcery.com>
1735
cb403c34
JM
1736 * configure.ac (libc_commonpagesize): Remove variable.
1737 (libc_relro_required): Likewise.
1738 (libc_cv_z_relro): Remove configure test.
1739 * configure: Regenerated.
1740 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1741 variable.
1742 (libc_relro_required): Likewise.
1743 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1744 (libc_relro_required): Likewise.
1745 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1746 (libc_relro_required): Likewise.
1747 * sysdeps/arm/preconfigure: Regenerated.
1748 * sysdeps/ia64/preconfigure: Remove file.
1749 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1750 variable.
1751 (libc_relro_required): Likewise.
1752
be254932
JM
1753 [BZ #16561]
1754 [BZ #16562]
1755 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1756 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1757 recompute overflowing results in original rounding mode.
1758 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1759 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1760 recompute overflowing results in original rounding mode.
1761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1762 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1763 recompute overflowing results in original rounding mode.
1764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1765 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1766 recompute overflowing results in original rounding mode.
1767 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1768 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1769 recompute overflowing results in original rounding mode.
1770 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1771 (libc_feholdsetround_ctx): New macro.
1772 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1773 * sysdeps/i386/fpu/libm-test-ulps: Update.
1774 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1775
b351d85a
JM
17762014-06-26 Joseph Myers <joseph@codesourcery.com>
1777
1778 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1779 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1780 corresponding .cpsetup call.
1781
3cb4de47
RM
17822014-06-26 Roland McGrath <roland@hack.frob.com>
1783
1784 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1785 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1786 * sysdeps/arm/Makefile [$(subdir) = csu]
1787 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1788 (static-only-routines): Add aeabi_read_tp here.
1789 (shared-only-routines): Add libc-aeabi_read_tp here.
1790 (CFLAGS-libc-start.c): Add -fexceptions here.
1791 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1792 (sysdep_routines, static-only-routines, shared-only-routines):
1793 Don't add to these here.
1794 (CFLAGS-libc-start.c): Likewise.
1795
1796 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1797 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1798 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1799 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1800 * sysdeps/arm/Makefile [$(subdir) = rt]
1801 (librt-sysdep_routines, librt-shared-only-routines):
1802 Append rt-aeabi_unwind_cpp_pr1 here.
1803 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1804 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1805 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1806 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1807 Append nptl-aeabi_unwind_cpp_pr1 here.
1808 (tests): Filter out tst-cleanupx4 here.
1809 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1810 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1811 Don't do those here.
1812
354426bb
JM
18132014-06-26 Joseph Myers <joseph@codesourcery.com>
1814
1815 * scripts/list-sources.sh: Do not handle ports specially.
1816
28b0a8c9
RM
18172014-06-26 Roland McGrath <roland@hack.frob.com>
1818
a3dd035d
RM
1819 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1820 * sysdeps/arm/feupdateenv.c: Likewise.
1821
28b0a8c9
RM
1822 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1823
e66a8203
JM
18242014-06-26 Joseph Myers <joseph@codesourcery.com>
1825
1826 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1827 trailing whitespace removed.
1828 * scripts/config.guess: Update to version 2014-03-23.
1829 * scripts/config.sub: Update to version 2014-05-01
1830 * scripts/install-sh: Update to version 2013-12-25.23.
1831 * scripts/move-if-change: Update from gnulib.
1832
74171115
SP
18332014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1834
b97c9ce5
SP
1835 * debug/memmove_chk.c: Remove pagecopy.h include.
1836
4000f892
SP
18372014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1838
74171115
SP
1839 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1840 identical to gnulib mktime.
1841
a8779c28
JM
18422014-06-26 Joseph Myers <joseph@codesourcery.com>
1843
e64708de
JM
1844 * configure.ac: Do not test for machine being rs6000. Do not test
1845 for powerpc*-*soft.
1846 * configure: Regenerated.
1847
a8779c28
JM
1848 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1849 test.
1850 * configure: Regenerated.
1851 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1852 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1853 Remove configure test.
1854 * sysdeps/arm/configure: Regenerated.
1855 * sysdeps/nptl/configure.ac: Do not check
1856 libc_cv_asm_cfi_directives.
1857 * sysdeps/nptl/configure: Regenerated.
1858 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1859 * sysdeps/x86_64/nptl/configure: Remove generated file.
1860 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1861 unconditional.
1862 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1863
2aac0a86
SP
18642014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1865
059bf913
SP
1866 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1867 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1868 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1869 it is defined.
1870
4cf5b6d0
SP
1871 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1872 instead of whether it is defined.
1873 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1874 * sysdeps/hppa/dl-machine.h: Likewise.
1875 * sysdeps/ia64/dl-machine.h: Likewise.
1876 * sysdeps/m68k/dl-machine.h: Likewise.
1877 * sysdeps/microblaze/dl-machine.h: Likewise.
1878 * sysdeps/mips/dl-machine.: Likewise.
1879 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1880 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1881 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1882 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1883 * sysdeps/sh/dl-machine.h: Likewise.
1884 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1885 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1886 * sysdeps/tile/dl-machine.h: Likewise.
1887 * sysdeps/x86_64/dl-machine.h: Likewise.
1888
2aac0a86
SP
1889 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1890 code.
1891 (verify_persistent_db): Likewise.
1892
6ad2df0b
RM
18932014-06-26 Roland McGrath <roland@hack.frob.com>
1894
d8a483f3
RM
1895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1896 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1898 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1900 Moved ...
1901 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1902 ... here.
1903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1904 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1906 Identical file removed.
1907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1908 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1910 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1912 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1914 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1918 Moved ...
1919 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1925 Moved ...
1926 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1928 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1930 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1932 Identical file removed.
1933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1934 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1936 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1938 Moved ...
1939 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1940 ... here.
1941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1944 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1946 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1948 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1950 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1952 Moved ...
1953 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1955 Moved ...
1956 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1960 Moved ...
1961 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1963 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1964
52ae23b4
RM
1965 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1966 folded into ...
1967 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1968 * sysdeps/unix/sysv/linux/s390/Versions
1969 (libpthread: GLIBC_2.19): New version set.
1970 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1971 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1972 (librt: GLIBC_2.3.3): New version set.
1973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1974 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1975 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1977 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1978 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1979 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1980 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1981 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1982 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1983 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1985 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1986 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1987 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1988 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1989 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1990 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1991 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1993 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1994 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1995 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1997 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1999 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2000 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2001 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2002 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2003 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2009 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2011 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2013 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2015 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2017 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2018
39507e4a
RM
2019 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2020 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2021 (__libc_vfork): Define the function under this name.
2022 [!NOT_IN_libc] (__vfork): Make this an alias.
2023 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2025 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2026 (__libc_vfork): Define the function under this name.
2027 [!NOT_IN_libc] (__vfork): Make this an alias.
2028 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2029 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2030 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2031 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2032 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2033 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2034
e549ee56
RM
2035 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2036 code that was previously under [RESET_PID].
2037 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2038 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2039 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2040
6ad2df0b
RM
2041 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2042 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2043 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2044 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2045 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2046 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2047 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2048 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2049 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2050 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2051 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2052 Moved ...
2053 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2057 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2058 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2059 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2063 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2064 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2065 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2066 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2067 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2069 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2071 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2072 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2073 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2074 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2075 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2076 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2077 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2078 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2079 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2080 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2081 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2082
7c1c1d8e
RM
20832014-06-25 Roland McGrath <roland@hack.frob.com>
2084
2085 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2086 that was previously under [RESET_PID].
2087 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2088
3e239be6
JM
20892014-06-25 Joseph Myers <joseph@codesourcery.com>
2090
74385da5
JM
2091 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2092 not undefine and redefine.
2093 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2094 [O_CLOEXEC]: Make code unconditional.
2095 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2096 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2097 <kernel-features.h>.
2098 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2099 conditional variable definition.
2100 (shm_open) [O_CLOEXEC]: Make code unconditional.
2101 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2102 code.
2103
c2570a0b
JM
2104 * configure.ac (USE_REGPARMS): Don't define here.
2105 * configure: Regenerated.
2106 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2107 * sysdeps/i386/configure: Regenerated.
2108
11b076bb
JM
2109 * nptl/createthread.c: Don't include kernel-features.h.
2110 * nptl/pthread_cancel.c: Likewise.
2111 * nptl/pthread_condattr_setclock.c: Likewise.
2112 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2113 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2114 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2115 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2116 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2117 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2118 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2120 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2121 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2122 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2123 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2124 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2125 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2126 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2127 * nscd/gai.c: Likewise.
2128 * nss/nss_db/db-open.c: Likewise.
2129 * sysdeps/generic/ldsodefs.h: Likewise.
2130 * sysdeps/sh/nptl/tls.h: Likewise.
2131 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2132 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2133 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2134 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2135 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2136 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2137 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2138 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2139 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2140 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2141 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2142 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2143 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2144 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2145 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2146 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2147 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2148 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2149 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2150 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2151 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2152 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2153 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2154 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2155 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2156 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2157 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2158 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2159 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2160 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2161 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2162 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2163 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2164 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2165 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2166 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2167 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2168 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2169 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2170 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2171 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2172 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2173 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2174 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2175 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2176 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2177 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2178 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2179 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2180 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2181 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2182 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2183 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2184 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2185 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2186 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2187 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2188 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2211 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2212 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2213 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2214 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2215 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2216 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2217 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2218 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2219 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2220 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2221 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2222 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2223 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2224 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2225 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2226 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2228 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2229 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2230 * sysdeps/unix/sysv/linux/system.c: Likewise.
2231 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2232 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2233 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2234 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2235 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2236 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2237 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2238
92072d57
JM
2239 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2240 * configure: Regenerated.
2241 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2242
3e239be6
JM
2243 * configure.ac (base_machine): Do not set specially for particular
2244 machines here.
2245 * configure: Regenerated.
2246 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2247 settings from configure.ac.
2248 * sysdeps/i386/preconfigure: New file.
2249 * sysdeps/s390/preconfigure: Likewise.
2250 * sysdeps/sh/preconfigure: Likewise.
2251 * sysdeps/sparc/preconfigure: Likewise.
2252
06d50baa
RM
22532014-06-25 Roland McGrath <roland@hack.frob.com>
2254
74836003
RM
2255 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2256 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2257 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2258 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2259 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2260 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2261 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2262 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2263 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2264 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2265 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2266 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2267 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2268 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2269 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2270 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2271 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2272 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2273 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2274
2275 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2276 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2277 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2278 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2279 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2280 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2281 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2282 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2283 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2284 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2285 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2286 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2287 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2288 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2289 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2290 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2291 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2292 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2293 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2294 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2295 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2296 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2297 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2298 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2299 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2300 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2301 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2302 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2303 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2304 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2305 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2306 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2307 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2308 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2309 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2310 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2311 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2312 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2313
06d50baa
RM
2314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2315 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2319 Moved ...
2320 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2321 ... here.
2322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2327 Moved ...
2328 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2330 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2332 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2334 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2336 Moved ...
2337 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2339 Moved ...
2340 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2344 Moved ...
2345 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2347 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2349 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2355 Moved ...
2356 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2357 ... here.
2358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2359 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2361 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2363 Moved ...
2364 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2372 Moved ...
2373 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2375 Moved ...
2376 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2380 Moved ...
2381 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2385 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2386
a4ccbc9b
JM
23872014-06-25 Joseph Myers <joseph@codesourcery.com>
2388
0828edbf
JM
2389 * timezone/checktab.awk: Update from tzcode 2014e.
2390 * timezone/private.h: Likewise.
2391 * timezone/tzfile.h: Likewise.
2392 * timezone/zdump.c: Likewise.
2393 * timezone/zic.c: Likewise.
2394
a4ccbc9b
JM
2395 * sysdeps/unix/sysv/linux/kernel-features.h
2396 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2397 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2398 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2399 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2400 Remove conditional code.
2401
9aea0cb8
WN
24022014-06-25 Will Newton <will.newton@linaro.org>
2403
2404 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2405 (_dl_arm_cap_flags): Add HWCAP2 values.
2406 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2407 (_DL_HWCAP_COUNT): Increase to 37.
2408 (_DL_HWCAP_LAST): New define.
2409 (_DL_HWCAP2_LAST): New define.
2410 (_dl_procinfo): Add support for printing
2411 AT_HWCAP2 entries.
2412 (_dl_string_hwcap): Use _dl_hwcap_string.
2413
6eaa65ce
AZ
24142014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2415
2416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2417
0f5b7185
JM
24182014-06-25 Joseph Myers <joseph@codesourcery.com>
2419
cfd2ea50
JM
2420 * README: Do not mention ports directory.
2421
cecf2ed4
JM
2422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2423 Remove macro.
2424 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2425 <kernel-features.h>.
2426 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2427 conditional variable definition.
2428 (__futimes): Update comment.
2429 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2430 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2431
a638de82
JM
2432 [BZ #16560]
2433 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2434 arguments close to 0.
2435 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2436 Likewise.
2437 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2438 Likewise.
2439 * math/auto-libm-test-in: Add more tests of exp10.
2440 * math/auto-libm-test-out: Regenerated.
2441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2442
0f5b7185
JM
2443 * sysdeps/unix/sysv/linux/kernel-features.h
2444 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2445 * sysdeps/unix/sysv/linux/readv.c: Do not include
2446 <kernel-features.h>.
2447 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2448 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2449 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2450 unconditional.
2451 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2452 conditional code.
2453 * sysdeps/unix/sysv/linux/writev.c: Do not include
2454 <kernel-features.h>.
2455 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2456 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2457 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2458 unconditional.
2459 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2460 conditional code.
2461
c7aec4be
WN
24622014-06-25 Will Newton <will.newton@linaro.org>
2463
2464 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2465 comment changes throughout the file. Remove checks
2466 for HAVE_*_H definitions that are not required.
2467 (__gen_tempname): Call abort if an unknown kind value is
2468 passed.
2469
c5241f95
AS
24702014-06-25 Andreas Schwab <schwab@suse.de>
2471
2472 [BZ #17086]
2473 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2474 scalbln, scalblnf, scalblnl in libc.
2475
911422da
SP
24762014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2477
2478 [BZ #17086]
2479 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2480 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2481 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2482
0d749bbe
RM
24832014-06-24 Roland McGrath <roland@hack.frob.com>
2484
2485 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2486 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2487 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2488 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2489 Update #include.
2490 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2491 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2492 Update #include.
2493 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2494 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2495 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2496 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2497 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2498 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2499 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2500 * sysdeps/x86/bits/semaphore.h: ... here.
2501 * sysdeps/x86/nptl/elide.h: Moved ...
2502 * sysdeps/x86/elide.h: ... here.
2503 * sysdeps/x86_64/nptl/Implies: File removed.
2504 * sysdeps/i386/nptl/Implies: File removed.
2505
0ea5d373
JM
25062014-06-24 Joseph Myers <joseph@codesourcery.com>
2507
4060283d
JM
2508 [BZ #16539]
2509 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2510 return the argument for normal arguments with exponent below -64.
2511 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2512 Likewise.
2513 * math/auto-libm-test-in: Add another test of expm1.
2514 * math/auto-libm-test-out: Regenerated.
2515
e7dd3c8c
JM
2516 [BZ #16287]
2517 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2518 calling __erfcl for arguments at least 16.
2519 * math/auto-libm-test-in: Add more tests of erf.
2520 * math/auto-libm-test-out: Regenerated.
2521
0ea5d373
JM
2522 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2523 individual architectures.
2524 * sysdeps/unix/sysv/linux/configure: Regenerated.
2525 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2526 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2527 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2528 (ldd_rewrite_script): Define variable.
2529 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2531 file.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2533 generated file.
2534 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2535 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2536 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2537 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2538 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2539 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2540 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2541 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2542
2307e126
SP
25432014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2544
2545 [BZ #17084]
2546 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2547 Rename member __data.d to __data.__elision_data.
2548
c0a4ed77
W
25492014-06-24 Wilco <wdijkstr@arm.com>
2550
2551 * NEWS: Add 16918 to fixed bug list.
2552
b8c00573
W
25532014-06-24 Wilco <wdijkstr@arm.com>
2554
2555 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2556
b5570d92
W
25572014-06-24 Wilco <wdijkstr@arm.com>
2558
2559 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2560 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2561 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2562 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2563 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2564 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2565 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2566 Use _FPU_MASK_RM.
2567
947bdca2
W
25682014-06-24 Wilco <wdijkstr@arm.com>
2569
2570 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2571
00f669ed
W
25722014-06-24 Wilco <wdijkstr@arm.com>
2573
2574 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2575 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2576 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2577 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2578
db59bad3
W
25792014-06-24 Wilco <wdijkstr@arm.com>
2580
2581 [BZ #16918]
2582 * sysdeps/arm/feupdateenv.c (feupdateenv):
2583 Rewrite to reduce FPSCR accesses and fix return value.
2584
001f7b77
W
25852014-06-24 Wilco <wdijkstr@arm.com>
2586
2587 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2588 Optimize to avoid unnecessary FPSCR writes.
2589 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2590 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2591 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2592 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2593
4841e6a6
W
25942014-06-24 Wilco <wdijkstr@arm.com>
2595
2596 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2597 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2598 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2599 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2600 Call libc_fetestexcept_vfp.
2601 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2602 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2603 __SOFTFP__ ifdef so that they can be built for softfp.
2604
0813022c
SP
26052014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2606
08e5862f
SP
2607 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2608 argument type signed char.
2609
0813022c
SP
2610 * Makerules (check-abi): Dump diff of symlist if the test
2611 fails.
2612
3fc7236a
RM
26132014-06-23 Roland McGrath <roland@hack.frob.com>
2614
aba8ef95
RM
2615 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2616 using abort.
2617
3fc7236a
RM
2618 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2619 Remove unused variable ST.
2620
4da6db51
JM
26212014-06-23 Joseph Myers <joseph@codesourcery.com>
2622
4648909d
JM
2623 [BZ #16354]
2624 [BZ #17061]
2625 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2626 small arguments before calling __expm1.
2627 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2628 small arguments before calling __expm1f.
2629 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2630 small arguments before calling __expm1l.
2631 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2632 Likewise.
2633 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2634 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2635 spurious underflow for some cosh tests.
2636 * math/auto-libm-test-out: Regenerated.
2637 * sysdeps/i386/fpu/libm-test-ulps: Update.
2638
46a3d3c7
JM
2639 [BZ #17050]
2640 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2641 (__ieee754_y1): Set errno if return value overflows.
2642 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2643 (__ieee754_y1f): Set errno if return value overflows.
2644 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2645 (__ieee754_y1l): Set errno if return value overflows.
2646 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2647 (__ieee754_y1l): Set errno if return value overflows.
2648 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2649 * math/auto-libm-test-out: Regenerated.
2650
863893ec
JM
2651 * math/gen-auto-libm-tests.c: Document use of
2652 ignore-zero-inf-sign.
2653 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2654 (input_flags): Add ignore-zero-inf-sign.
2655 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2656 * math/gen-libm-test.pl (generate_testfile): Handle
2657 ignore-zero-inf-sign.
2658 * math/auto-libm-test-in: Mark some cpow tests with
2659 ignore-zero-inf-sign and some with xfail-rounding.
2660 * math/auto-libm-test-out: Regenerated.
2661 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2662 * sysdeps/i386/fpu/libm-test-ulps: Update.
2663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2664
4da6db51
JM
2665 [BZ #16315]
2666 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2667 overflowing or underflowing operations take place with sign of
2668 result.
2669 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2670 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2671 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2672 (__ieee754_pow): Recompute overflowing and underflowing results in
2673 original rounding mode.
2674 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2675 (__powl_helper): Allow negative argument X and scale negated value
2676 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2677 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2678 overflowing or underflowing operations take place with sign of
2679 result.
2680 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2681 Include <math.h>.
2682 * math/auto-libm-test-in: Add more tests of pow.
2683 * math/auto-libm-test-out: Regenerated.
2684 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2685 (pow_tonearest_test_data): Remove.
2686 (pow_test_tonearest): Likewise.
2687 (pow_towardzero_test_data): Likewise.
2688 (pow_test_towardzero): Likewise.
2689 (pow_downward_test_data): Likewise.
2690 (pow_test_downward): Likewise.
2691 (pow_upward_test_data): Likewise.
2692 (pow_test_upward): Likewise.
2693 (main): Don't call removed functions.
2694 * sysdeps/i386/fpu/libm-test-ulps: Update.
2695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2696
5686b236
RM
26972014-06-23 Roland McGrath <roland@hack.frob.com>
2698
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2700 Moved ...
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2703 Moved ...
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2706 Moved ...
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2709 Moved ...
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2712 File removed.
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2714 File removed.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2716 File removed.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2718 File removed.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2720 File removed.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2722 File removed.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2724 File removed.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2726 File removed.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2728 File removed.
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2730 File removed.
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2732 File removed.
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2734 File removed.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2736 Moved ...
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2739 Moved ...
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2741 ... here.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2743 Moved ...
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2746 Moved ...
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2749 Moved ...
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2752 Moved ...
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2755 Moved ...
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2758 Moved ...
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2761 Moved ...
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2765 ... here.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2767 Moved ...
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2770 Moved ...
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2772 ... here.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2774 Moved ...
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2776 ... here.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2778 Moved ...
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2780 ... here.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2782 Moved ...
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2785 Moved ...
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2790 Moved ...
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2792 ... here.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2794 Moved ...
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2796 ... here.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2798 Moved ...
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2801 Moved ...
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2804 Moved ...
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2807 Moved ...
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2810 Moved ...
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2812 ... here.
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2814 Moved ...
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2817 Moved ...
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2820 Moved ...
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2823 Moved ...
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2828 Moved ...
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2831 Moved ...
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2834 Moved ...
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2836 ... here.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2838 Moved ...
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2840 ... here.
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2842 Moved ...
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2844 ... here.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2846 Moved ...
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2849 Moved ...
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2852 Moved ...
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2855 Moved ...
2856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2857 ... here.
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2859 Moved ...
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2861 ... here.
2862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2863 Moved ...
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2865 ... here.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2867 Moved ...
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2870 Moved ...
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2872
e6d90d67
WD
28732014-06-23 Will Newton <will.newton@linaro.org>
2874 Wilco <wdijkstr@arm.com>
2875
2876 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2877 implementation. Include get-rounding-mode.h.
2878 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2879 [!libc_feholdsetround_noex_ctx]: Define
2880 libc_feholdsetround_noex_ctx.
2881 [!libc_feholdsetround_noexf_ctx]: Define
2882 libc_feholdsetround_noexf_ctx.
2883 [!libc_feholdsetround_noexl_ctx]: Define
2884 libc_feholdsetround_noexl_ctx.
2885 (libc_feholdsetround_ctx): New function.
2886 (libc_feresetround_ctx): New function.
2887 (libc_feholdsetround_noex_ctx): New function.
2888 (libc_feresetround_noex_ctx): New function.
2889
d42df555
RM
28902014-06-23 Roland McGrath <roland@hack.frob.com>
2891
88a46474
RM
2892 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2893 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2894 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2895 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2896 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2897 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2898
15bed472
RM
2899 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2900 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2901 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2902 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2903 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2904 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2905 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2906 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2907 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2910 Moved ...
2911 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2912 ... here.
2913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2914 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2915 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2916 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2917 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2918 Moved ...
2919 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2920 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2921 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2927 Moved ...
2928 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2930 Moved ...
2931 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2933 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2935 Moved ...
2936 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2938 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2940 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2941 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2942 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2943 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2944 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2946 Moved ...
2947 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2948 ... here.
2949 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2954 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2960 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2962 Moved ...
2963 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2965 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2969 Moved ...
2970 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2972 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2973 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2974 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2975
d42df555
RM
2976 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2977 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2978 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2985 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2986 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2987 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2988 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2999 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3001 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3002 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3003 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3004
76e5216e
JM
30052014-06-23 Joseph Myers <joseph@codesourcery.com>
3006
3007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3008 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3009 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3010 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3011 (IPV6_PMTUDISC_INTERFACE): Likewise.
3012 (IPV6_PMTUDISC_OMIT): Likewise.
3013
7a81cbcc
AS
30142014-06-23 Andreas Schwab <schwab@suse.de>
3015
3016 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3017 Remove unused errout label.
3018
db224009
AZ
30192014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020
3021 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3022 macro: hardware supports Vector Crypto instructions.
3023
f393b4aa
WN
30242014-06-23 Will Newton <will.newton@linaro.org>
3025
cc7d0447
WN
3026 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3027 rather than __builtin_expect.
3028
d6d06225
WN
3029 * elf/dl-lookup.c (undefined_msg): Remove variable.
3030 (_dl_lookup_symbol_x): Replace undefined_msg with string
3031 literal.
3032
f393b4aa
WN
3033 * elf/dl-lookup.c (do_lookup_unique): New function.
3034 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3035 to a separate function.
3036
ac60763e
AS
30372014-06-23 Andreas Schwab <schwab@suse.de>
3038
3039 [BZ #17079]
3040 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3041 before reading the next line.
3042
c5c13355
WN
30432014-06-23 Will Newton <will.newton@linaro.org>
3044
3045 * test-skeleton.c (signal_handler): Use printf and %m
3046 rather than perror. Use printf rather than fprintf to
3047 stderr. Use puts rather than fputs to stderr.
3048 (main): Likewise.
3049
bd3675f9
LC
30502014-06-22 Ludovic Courtès <ludo@gnu.org>
3051
3052 * nscd/nscd.c (thread_info_t): Remove typedef.
3053 (thread_info): Remove variable.
3054
d03efb2f
AM
30552014-06-21 Allan McRae <allan@archlinux.org>
3056
3057 * NEWS: Mention CVE-2014-4043.
3058
bc4a86fa
RM
30592014-06-20 Roland McGrath <roland@hack.frob.com>
3060
dc9a54f8
RM
3061 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3062 * nptl/smp.h: ... here.
3063
bd7022c4
RM
3064 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3065
26ffd5e6
RM
3066 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3067 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3068 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3069 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3070
93a6d082
RM
3071 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3072 * nptl/stack-aliasing.h: New file.
3073 * sysdeps/i386/i686/stack-aliasing.h: New file.
3074 * sysdeps/i386/i686/nptl/Makefile: File removed.
3075 * sysdeps/x86_64/stack-aliasing.h: New file.
3076 * sysdeps/x86_64/nptl/Makefile
3077 (CFLAGS-pthread_create.c): Variable removed.
3078
bc4a86fa
RM
3079 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3080 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3081 old file.
3082 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3083 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3084 old file.
3085
2272ffc1
JM
30862014-06-21 Joseph Myers <joseph@codesourcery.com>
3087
3088 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3089 (__ASSUME_SIGFRAME_V2): Remove macro.
3090 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3091 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3092 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3093 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3094 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3095 Declare as function. Remove conditional macro definitions.
3096 (__default_rt_sa_restorer): Likewise.
3097 (__default_sa_restorer_v1): Remove declaration.
3098 (__default_sa_restorer_v2): Likewise.
3099 (__default_rt_sa_restorer_v1): Likewise.
3100 (__default_rt_sa_restorer_v2): Likewise.
3101 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3102 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3103 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3104
4b88139b
RM
31052014-06-20 Roland McGrath <roland@hack.frob.com>
3106
3107 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3108 (libpthread-routines): Add sysdep.
3109 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3110 * sysdeps/unix/sysv/linux/sparc/Versions
3111 (libpthread: GLIBC_2.3.3): New version set.
3112 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3113 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3114 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3116 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3117 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3118 Moved ...
3119 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3120 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3121 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3122 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3123 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3125 * sysdeps/sparc/nptl/sem_init.c: ... here.
3126 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3127 * sysdeps/sparc/nptl/sem_post.c: ... here.
3128 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3129 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3130 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3131 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3133 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3134 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3135 (libpthread-routines): Add cpu_relax.
3136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3137 File removed.
3138 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3139 (librt: GLIBC_2.3.3): New version set.
3140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3141 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3142 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3143 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3146 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3148 Moved ...
3149 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3151 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3153 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3155 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3157 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3159 Moved ...
3160 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3161 Update #include.
3162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3163 Moved ...
3164 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3165 Update #include.
3166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3167 Moved ...
3168 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3169 Update #include.
3170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3171 Moved ...
3172 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3173 Update #include.
3174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3175 Moved ...
3176 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3177 Update #include.
3178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3179 Moved ...
3180 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3181 Update #include.
3182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3183 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3189 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3191 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3193 Moved ...
3194 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3196 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3198 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3199
d7109027
JM
32002014-06-20 Joseph Myers <joseph@codesourcery.com>
3201
9bc6103d
JM
3202 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3203 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3204 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3205 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3206 * nscd/nscd.c: Likewise.
3207 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3208 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3209 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3210 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3211
d7109027
JM
3212 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3213 <kernel-features.h>.
3214 (init_mq_netlink): Remove conditional have_sock_cloexec
3215 definitions. Remove code conditional on have_sock_cloexec < 0.
3216 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3217 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3218 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3219 <kernel-features.h>.
3220 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3221 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3222
d92d8f8a
L
32232014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3224
3225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3226 Add tests for memset_chk and memset.
3227
3228 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3229 with AVX2_Usable.
3230
4e6d2347
MR
32312014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3232
257ce712
MR
3233 [BZ #16046]
3234 * elf/tst-dl-iter-static.c: New file.
3235 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3236
4e6d2347
MR
3237 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3238 error.
3239
a2a76afe
JM
32402014-06-20 Joseph Myers <joseph@codesourcery.com>
3241
7fd00f99
JM
3242 * sysdeps/unix/sysv/linux/kernel-features.h
3243 (__ASSUME_F_GETOWN_EX): Remove macro.
3244 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3245 <kernel-features.h>.
3246 (miss_F_GETOWN_EX): Remove variable or macro.
3247 (do_fcntl): Do not check miss_F_GETOWN_EX.
3248 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3249
4a103975
JM
3250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3251 Remove macro.
3252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3253 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3254 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3255
a2a76afe
JM
3256 * sysdeps/unix/sysv/linux/kernel-features.h
3257 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3258 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3259 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3260 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3261
90e5dd48
MR
32622014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3263
3264 [BZ #17075]
3265 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3266 Fix calculation of the symbol's value.
3267 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3268 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3269 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3270 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3271 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3272 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3273 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3274 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3275 (modules-names): Add `tst-armtlsdescmod',
3276 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3277 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3278 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3279 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3280 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3281 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3282 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3283 ($(objpfx)tst-armtlsdescloc): New dependency.
3284 ($(objpfx)tst-armtlsdescextnow): Likewise.
3285 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3286 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3287 TLS scheme support.
3288 * sysdeps/arm/configure: Regenerate.
3289
809fdf0d
JM
32902014-06-20 Joseph Myers <joseph@codesourcery.com>
3291
3292 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3293 (__atfct_seterrno_2): Likewise.
3294 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3295 <kernel-features.h>.
3296 (__ASSUME_ATFCTS): Do not undefine and redefine.
3297 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3298 (__have_atfcts): Remove conditional definition.
3299 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3300 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3301 unreachable if [__ASSUME_ATFCTS].
3302 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3303 not undefine and redefine.
3304 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3305 <kernel-features.h>.
3306 (faccessat) [__NR_faccessat]: Make code unconditional.
3307 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3308 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3309 <kernel-features.h>.
3310 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3311 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3312 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3313 <kernel-features.h>.
3314 (fchownat) [__NR_fchownat]: Make code unconditional.
3315 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3316 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3317 <kernel-features.h>.
3318 (futimesat) [__NR_futimesat]: Make code unconditional.
3319 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3320 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3321 <kernel-features.h>.
3322 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3323 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3324 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3325 <kernel-features.h>.
3326 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3327 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3328 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3329 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3330 <kernel-features.h>.
3331 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3332 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3333 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3334 <kernel-features.h>.
3335 (linkat) [__NR_linkat]: Make code unconditional.
3336 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3337 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3338 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3339 <kernel-features.h>.
3340 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3341 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3342 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3343 <kernel-features.h>.
3344 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3345 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3346 * sysdeps/unix/sysv/linux/openat.c: Do not include
3347 <kernel-features.h>.
3348 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3349 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3350 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3351 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3352 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3353 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3354 <kernel-features.h>.
3355 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3356 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3357 result of INLINE_SYSCALL directly, not via int variable.
3358 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3359 <kernel-features.h>.
3360 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3361 (renameat) [__NR_renameat]: Make code unconditional.
3362 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3363 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3364 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3365 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3366 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3367 (__ASSUME_ATFCTS): Do not undefine and redefine.
3368 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3369 <kernel-features.h>.
3370 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3371 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3372 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3373 <kernel-features.h>.
3374 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3375 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3376 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3377 (__ASSUME_ATFCTS): Do not undefine and redefine.
3378 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3379 <kernel-features.h>.
3380 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3381 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3382 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3383 <kernel-features.h>.
3384 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3385 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3386
224c6c51
L
33872014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3390
aa6ec754
AS
33912014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3392
3393 [BZ #17069]
3394 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3395 constructed tree before returning error.
3396 * posix/bug-regexp36.c: Expand test case.
3397
d8c2869d
SL
33982014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3399
3ef6b850
SL
3400 [BZ #6803]
3401 * math/libm-test.inc (scalbln_test_date):
3402 Add errno expectations.
3403 * math/w_scalblnf.c: New File.
3404 Add wrapper which checks for setting errno to ERANGE.
3405 Add weak_alias for corresponding scalbln function.
3406 * math/w_scalbln.c: Likewise.
3407 * math/w_scalblnl.c: Likewise.
3408 * math/Makefile (libm-calls): Add w_scalbln.
3409 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3410 Remove weak_alias for corresponding scalbln function.
3411 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3412 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3415 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3416 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3417 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3418 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3419 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3420 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3421 Remove long_double_symbol for scalblnl function in libm, libc.
3422 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3423 Add wrapper which checks for setting errno to ERANGE.
3424 Add long_double_symbol for scalblnl function in libm, libc.
3425 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3426 Remove long_double_symbol for scalblnl in libm.
3427 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3428 Add wrapper which checks for setting errno to ERANGE.
3429 Add long_double_symbol for scalblnl function in libm.
3430 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3431 Do not use wrapper because of own implementation.
3432
c8daec5c
L
34332014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3436 3 bytes for __pad1 for x32.
3437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3438
5c74e47c
LM
34392014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3440 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3443 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3444 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3445 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3446 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3447
4d43ef1e
AS
34482014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3449
3450 [BZ #17069]
3451 * posix/regcomp.c (parse_expression): Deallocate partially
3452 constructed tree before returning error.
3453 * posix/Makefile.c (tests): Add bug-regex36.
3454 (generated): Add bug-regex36.mtrace.
3455 (tests-special): Add $(objpfx)bug-regex36-mem.out
3456 (bug-regex36-ENV): New variable.
3457 ($(objpfx)bug-regex36-mem.out): New rule.
3458 * posix/bug-regex36.c: New file.
3459
51a7380b
WN
34602014-06-19 Will Newton <will.newton@linaro.org>
3461
3462 * malloc/malloc.c (systrim): If extra is zero then return
3463 early.
3464
91b84fe5
SP
34652014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3466
3467 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3468
f940b965
RE
34692014-06-19 Richard Earnshaw <rearnsha@arm.com>
3470
3471 * sysdeps/aarch64/strchr.S: New file.
3472
4ba7a00f
JM
34732014-06-18 Joseph Myers <joseph@codesourcery.com>
3474
3475 [BZ #17022]
3476 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3477 from arguments -2 or below.
3478 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3479 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3480
b3a9f56b
AS
34812014-06-18 Andreas Schwab <schwab@suse.de>
3482
3483 [BZ #17062]
3484 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3485 of a bracket expr not to run off the end of the string.
3486 * posix/Makefile (tests): Add tst-fnmatch3.
3487 * posix/tst-fnmatch3.c: New file.
3488
85d89278
JM
34892014-06-18 Joseph Myers <joseph@codesourcery.com>
3490
3491 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3492 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3493 [$(cross-compiling) = no]: Likewise.
3494 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3495 [$(cross-compiling) = no]: Likewise.
3496
754c5a08
RS
34972014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3498
3499 [BZ #17031]
3500 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3501 double, adjusted for any remainder from the high double.
3502 * math/libm-test.inc (nearbyint): Add tests.
3503 (rint): Likewise.
3504
556f529d
AZ
35052014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3506
3507 * nptl/sysdeps/powerpc/Makefile: Moved ...
3508 * sysdeps/powerpc/nptl/Makefile: ... here.
3509 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3510 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3511 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3512 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3513 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3514 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3515 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3516 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3517 * nptl/sysdeps/powerpc/tls.h: Moved ...
3518 * sysdeps/powerpc/nptl/tls.h: ... here.
3519
91c03c53
JM
35202014-06-16 Joseph Myers <joseph@codesourcery.com>
3521
3522 [BZ #16681]
3523 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3524 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3525 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3526 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3527 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3528 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3529 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3530 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3531 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3532
a76e63c5
AS
35332014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3534
3535 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3536
f2f6d82f
AS
35372014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3538
ea8a15f6
AS
3539 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3540 defined operator.
3541
f2f6d82f
AS
3542 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3543 $TIMEOUTFACTOR.
3544
a7291117
FW
35452014-06-16 Florian Weimer <fweimer@redhat.com>
3546
3547 [BZ #17058]
3548 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3549 non-executed part of the test.
3550
3d7c00e3
AS
35512014-06-16 Andreas Schwab <schwab@suse.de>
3552
3553 * string/bits/string2.h (strdup, strndup): Update feature guard.
3554
6957fb31
DM
35552014-06-14 David S. Miller <davem@davemloft.net>
3556
3557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3558
11b9e55b
AS
35592014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3560
1d2a0492
AS
3561 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3562 that was previously under [RESET_PID].
3563 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3564
11b9e55b
AS
3565 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3566 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3567 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3568 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3569 (__libc_vfork): New strong alias.
3570 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3571
0f6901d0
AK
35722014-06-14 Andi Kleen <ak@linux.intel.com>
3573
3574 * sysdeps/generic/elide.h: New file.
3575
38bbbb9f
SL
35762014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3577
3578 * Makefile (installed-headers): Adjust path of pthread.h header.
3579
45193bb8
RM
35802014-06-13 Roland McGrath <roland@hack.frob.com>
3581
9a25fd1e
RM
3582 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3583 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3584 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3585 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3586
4004f7e4
RM
3587 * nptl/sysdeps/s390/Makefile: Moved ...
3588 * sysdeps/s390/nptl/Makefile: ... here.
3589 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3590 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3591 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3592 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3593 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3594 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3595 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3596 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3597 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3598 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3599 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3600 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3601 * nptl/sysdeps/s390/tls.h: Moved ...
3602 * sysdeps/s390/nptl/tls.h: ... here.
3603
45193bb8
RM
3604 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3605 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3606
f6fdf533
DM
36072014-06-13 David S. Miller <davem@davemloft.net>
3608
3609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3612 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3616 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3617 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3618 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3619 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3620 Remove RESET_PID cpp guards.
3621 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3622 Remove RESET_PID cpp guards.
3623 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3624
f5d71e14
AS
36252014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3626
3627 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3628 __sp to uintptr_t.
3629
b7aa8caa
AK
36302014-06-13 Andi Kleen <ak@linux.intel.com>
3631
4b266200
AZ
3632 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3633 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3634 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3635 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3636 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3637 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3638 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3639 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3640 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3641 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3642 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3643 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3644 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3645 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3646 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3647 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3648 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3650 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3651 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3652
3653 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3654 (pthread_rwlock_rdlock): Add elision.
3655 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3656 (pthread_rwlock_wrlock): Add elision.
3657 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3658 (pthread_rwlock_trywrlock): Add elision.
3659 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3660 (pthread_rwlock_tryrdlock): Add elision.
3661 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3662 (pthread_rwlock_tryrdlock): Add elision unlock.
3663 * nptl/sysdeps/pthread/pthread.h:
3664 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3665 (PTHREAD_RWLOCK_INITIALIZER,
3666 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3667 Handle new elision field.
3668 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3669 * sysdeps/arm/nptl/bits/pthreadtypes.h
3670 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3671 * sysdeps/sh/nptl/bits/pthreadtypes.h
3672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3673 * sysdeps/tile/nptl/bits/pthreadtypes.h
3674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3675 * sysdeps/a/nptl/bits/pthreadtypes.h
3676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3677 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3679 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3680 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3681 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3682 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3683 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3685 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3687 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3689 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3690 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3691 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3693 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3694 (elision_init): Set try_xbegin to zero when no RTM.
3695 * sysdeps/x86/nptl/bits/pthreadtypes.h
3696 (pthread_rwlock_t): Change __pad1 to __rwelision.
3697 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3698
a832bdd3
AK
36992014-06-13 Andi Kleen <ak@linux.intel.com>
3700
3701 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3702 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3703 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3704 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3705
995a46bb
MI
37062014-06-13 Meador Inge <meadori@codesourcery.com>
3707
3708 [BZ #16996]
03ed7738 3709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3710 that the cached result has been set before returning it.
3711
45262aee
RM
37122014-06-12 Roland McGrath <roland@hack.frob.com>
3713
febf6cc5
RM
3714 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3715 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3717 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3718 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3719 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3720
e2682246
RM
3721 * nptl/sysdeps/sparc/Makefile: Moved ...
3722 * sysdeps/sparc/nptl/Makefile: ... here.
3723 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3724 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3725 * nptl/sysdeps/sparc/tls.h: Moved ...
3726 * sysdeps/sparc/nptl/tls.h: ... here.
3727 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3728 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3729 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3730 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3731 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3732 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3733 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3734 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3735 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3736 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3737 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3738 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3739 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3740 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3741 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3742 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3743 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3744 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3745 Update #include.
3746 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3747 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3748 Update #include.
3749 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3750 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3751 Update #include.
3752 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3753 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3754 Update #include.
3755
b0725f43
RM
3756 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3757
b14368b8
RM
3758 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3759 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3760
c5620eb3
RM
3761 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3762 (struct list_links): Type removed.
3763 (struct thread_node, struct timer_node): Replace struct list_links
3764 with struct list_head.
3765 (list_unlink_ip): Likewise.
3766 * sysdeps/pthread/timer_routines.c
3767 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3768 (list_append, list_insbefore): Likewise.
3769 (list_init): Function removed.
3770 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3771 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3772 * sysdeps/pthread/Makefile: ... here, new file.
3773
3774 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3775 * sysdeps/nptl/Implies: ... here.
3776 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3777 * nptl/sysdeps/pthread/list.h: Moved ...
3778 * include/list.h: ... here.
3779 * nptl/sysdeps/pthread/createthread.c: Moved ...
3780 * nptl/createthread.c: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3782 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3783 * nptl/pt-longjmp.c: ... here.
3784 * nptl/sysdeps/pthread/Makefile: Moved ...
3785 * sysdeps/nptl/Makefile: ... here.
3786 * nptl/sysdeps/pthread/Subdirs: Moved ...
3787 * sysdeps/nptl/Subdirs: ... here.
3788 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3789 * sysdeps/nptl/aio_misc.h: ... here.
3790 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3791 * sysdeps/nptl/bits/libc-lock.h: ... here.
3792 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3793 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3794 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3795 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3796 * nptl/sysdeps/pthread/configure: Moved ...
3797 * sysdeps/nptl/configure: ... here.
3798 * nptl/sysdeps/pthread/configure.ac: Moved ...
3799 * sysdeps/nptl/configure.ac: ... here.
3800 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3801 * sysdeps/nptl/gai_misc.h: ... here.
3802 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3803 * sysdeps/nptl/librt-cancellation.c: ... here.
3804 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3805 * sysdeps/nptl/malloc-machine.h: ... here.
3806 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3807 * sysdeps/nptl/pthread-functions.h: ... here.
3808 * nptl/sysdeps/pthread/pthread.h: Moved ...
3809 * sysdeps/nptl/pthread.h: ... here.
3810 * nptl/sysdeps/pthread/setxid.h: Moved ...
3811 * sysdeps/nptl/setxid.h: ... here.
3812 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3813 * sysdeps/nptl/sigfillset.c: ... here.
3814 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3815 * sysdeps/nptl/tcb-offsets.h: ... here.
3816 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3817 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3818 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3819 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3820 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3821 * sysdeps/pthread/allocalim.h: ... here.
3822 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3823 * sysdeps/pthread/bits/sigthread.h: ... here.
3824 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3825 * sysdeps/pthread/flockfile.c: ... here.
3826 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3827 * sysdeps/pthread/ftrylockfile.c: ... here.
3828 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3829 * sysdeps/pthread/funlockfile.c: ... here.
3830 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3831 * sysdeps/pthread/posix-timer.h: ... here.
3832 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3833 * sysdeps/pthread/timer_create.c: ... here.
3834 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3835 * sysdeps/pthread/timer_delete.c: ... here.
3836 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3837 * sysdeps/pthread/timer_getoverr.c: ... here.
3838 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3839 * sysdeps/pthread/timer_gettime.c: ... here.
3840 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3841 * sysdeps/pthread/timer_routines.c: ... here.
3842 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3843 * sysdeps/pthread/timer_settime.c: ... here.
3844 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3845 * sysdeps/pthread/tst-timer.c: ... here.
3846 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3847 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3848
e876b090
RM
3849 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3850 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3851
f6b07b3d
RM
3852 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3853 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3854 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3855 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3856 Update #include target.
3857 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3858 * sysdeps/i386/i686/nptl/Makefile: ... here.
3859 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3860 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3861 Update #include target.
3862 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3863 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3864 * nptl/sysdeps/i386/Makefile: Moved ...
3865 * sysdeps/i386/nptl/Makefile: ... here.
3866 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3867 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3868 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3869 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3870 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3871 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3872 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3873 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3874 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3875 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3876 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3877 * nptl/sysdeps/i386/tls.h: Moved ...
3878 * sysdeps/i386/nptl/tls.h: ... here.
3879
45262aee
RM
3880 * sysdeps/sh/Makefile [$(subdir) = csu]
3881 (gen-as-const-headers): Add tcb-offsets.sym.
3882 * nptl/sysdeps/sh/Makefile: File removed.
3883 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3884 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3885 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3886 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3887 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3888 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3889 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3890 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3891 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3892 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3893 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3894 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3895 * nptl/sysdeps/sh/tls.h: Moved ...
3896 * sysdeps/sh/nptl/tls.h: ... here.
3897 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3898 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3899 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3900 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3901 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3902 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3903 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3904 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3905 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3906 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3907 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3908 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3909 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3910 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3912 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3913 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3914 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3915 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3916 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3918 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3920 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3922 Moved ...
3923 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3924 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3925 Moved ...
3926 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3927 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3928 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3929 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3930 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3931 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3932 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3933 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3934 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3935 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3936 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3937 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3938 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3939 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3940 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3941 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3942 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3943 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3944 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3945
35a5e3e3
SL
39462014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3947
3948 * posix/spawn_faction_addopen.c: Include string.h.
3949
14642b85
RM
39502014-06-11 Roland McGrath <roland@hack.frob.com>
3951
3952 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3953 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3954 * nptl/sysdeps/x86_64/Makefile: Moved ...
3955 * sysdeps/x86_64/nptl/Makefile: ... here.
3956 * nptl/sysdeps/x86_64/configure: Moved ...
3957 * sysdeps/x86_64/nptl/configure: ... here.
3958 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3959 * sysdeps/x86_64/nptl/configure.ac: ... here.
3960 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3961 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3962 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3963 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3964 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3965 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3966 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3967 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3968 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3969 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3970 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3971 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3972 * nptl/sysdeps/x86_64/tls.h: Moved ...
3973 * sysdeps/x86_64/nptl/tls.h: ... here.
3974 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3975 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3976 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3977 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3978
3979 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3980
31c44fea
AZ
39812014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3982
3983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3984
e81a4f9a
JM
39852014-06-11 Joseph Myers <joseph@codesourcery.com>
3986
3987 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3988 type.
3989 [POSIX] (off_t): Likewise.
3990 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3991 [POSIX] (S_ISBLK): Require macro.
3992 [POSIX] (S_ISCHR): Likewise.
3993 [POSIX] (S_ISDIR): Likewise.
3994 [POSIX] (S_ISFIFO): Likewise.
3995 [POSIX] (S_ISREG): Likewise.
3996 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3997 optional-macro.
3998 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3999 type.
4000 [POSIX] (time_t): Likewise.
4001 [POSIX] (timer_t): Likewise.
4002
89e435f3
FW
40032014-06-11 Florian Weimer <fweimer@redhat.com>
4004
4005 [BZ #17048]
4006 * posix/spawn_int.h (struct __spawn_action): Make the path string
4007 non-const to support deallocation.
4008 * posix/spawn_faction_addopen.c
4009 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4010 * posix/spawn_faction_destroy.c
4011 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4012 path in all spawn_do_open actions.
4013 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4014 posix_spawn_file_actions_addopen.
4015
c3a2ebe1
CM
40162014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4017
4018 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4019 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4020 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4021 conditional code always true.
4022 (__libc_vfork): New alias.
4023
9503784a
RM
40242014-06-11 Roland McGrath <roland@hack.frob.com>
4025
c9cab3d2
RM
4026 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4027 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4028
d3996c79
RM
4029 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4030
ba5ec611
RM
4031 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4032 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4033
f12b4814
RM
4034 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4035 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4036
9503784a
RM
4037 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4038 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4039
e23d3d26
VR
40402014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4041
4042 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4043 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4044 multiarch strcmp for PPC64.
4045 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4046 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4048 multiarch optimizations.
4049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4050 (__libc_ifunc_impl_list): Likewise.
4051
42b1161e
SP
40522014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4053
4054 * benchtests/scripts/validate_benchout.py: New script.
4055 * benchtests/Makefile (bench-func): Call it.
4056 * benchtests/scripts/benchout.schema.json: New file.
4057
2d0fc4dc
CM
40582014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4059
4a594c34
AZ
4060 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4061 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4062 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4063 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4064 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4065 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4066 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4067 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4068 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4069 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4070 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4071 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4072 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4073 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4074 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4075 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 4077 Moved ...
4a594c34 4078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 4079 ... here.
4a594c34 4080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 4081 Moved ...
4a594c34
AZ
4082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 4084 Moved ...
4a594c34 4085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 4086 ... here.
4a594c34 4087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 4088 Moved ...
4a594c34 4089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 4090 ... here.
4a594c34 4091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 4092 Moved ...
4a594c34
AZ
4093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4095 Moved ...
4a594c34 4096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4097 ... here.
4a594c34 4098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4099 Moved ...
4a594c34 4100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4101 ... here.
4a594c34 4102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4103 Moved ...
4a594c34
AZ
4104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4106 Moved ...
4a594c34 4107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4108 ... here.
4a594c34 4109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4110 Moved ...
4a594c34 4111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4112 ... here.
4a594c34 4113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4114 Moved ...
4a594c34 4115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4116 ... here.
4a594c34 4117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4118 Moved ...
4a594c34
AZ
4119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4121 Moved ...
4a594c34 4122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4123 ... here.
4a594c34 4124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4125 Moved ...
4a594c34 4126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4127 ... here.
4a594c34 4128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4129 Moved ...
4a594c34 4130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4131 ... here.
4a594c34 4132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4133 Moved ...
4a594c34
AZ
4134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4136 Moved ...
4a594c34 4137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4138 ... here.
4a594c34 4139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4140 Moved ...
4a594c34 4141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4142 ... here.
4a594c34 4143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4144 Moved ...
4a594c34
AZ
4145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4147 Moved ...
4a594c34 4148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4149 ... here.
4a594c34 4150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4151 Moved ...
4a594c34
AZ
4152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4154 Moved ...
4a594c34
AZ
4155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4157 Moved ...
4a594c34 4158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4159 ... here.
4a594c34 4160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4161 Moved ...
4a594c34 4162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4163 ... here.
4a594c34 4164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4165 Moved ...
4a594c34 4166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4167 ... here.
4a594c34 4168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4169 Moved ...
4a594c34
AZ
4170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4172 Moved ...
4a594c34 4173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4174 ... here.
4a594c34 4175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4176 Moved ...
4a594c34 4177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4178 ... here.
4a594c34
AZ
4179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4180 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4182 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4184 Moved ...
4a594c34 4185 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4186 ... here.
4a594c34
AZ
4187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4188 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4190 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4192 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4194 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4196 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4198 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4199 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4200 Moved ...
4a594c34
AZ
4201 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4202 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4203 Moved ...
4a594c34
AZ
4204 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4206 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4208 Moved ...
4a594c34
AZ
4209 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4210 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4211 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4212 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4213 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4214 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4215 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4216
0570cfed
W
42172014-06-10 Wilco <wdijkstr@arm.com>
4218
4219 * math/test-fenv-return.c: New file.
4220 * math/Makefile: Add new test test-fenv-return.
4221
f8ba1b56
JM
42222014-06-10 Joseph Myers <joseph@codesourcery.com>
4223
4224 [BZ #17042]
4225 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4226 when x - 1 is zero.
4227 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4228 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4229 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4230 0.0L for an argument of 1.0L.
4231 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4232 Likewise.
4233 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4234 value when x - 1 is zero.
4235 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4236 * sysdeps/i386/fpu/libm-test-ulps: Update.
4237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4238
2c3520d9
BO
42392014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4240
4241 [BZ #15119]
4242 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4243
acaa4d24
RM
42442014-06-09 Roland McGrath <roland@hack.frob.com>
4245
4246 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4247 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4248
962b744d
RM
42492014-06-09 Roland McGrath <roland@hack.frob.com>
4250
d752f0cc
RM
4251 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4252 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4253
34eda6d1
RM
4254 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4255 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4256
50f0a637
RM
4257 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4258 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4259
08f41f04
RM
4260 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4261 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4262
962b744d
RM
4263 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4264 if not already defined.
4265 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4266 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4267 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4268 (TLS_INIT_TP): Use it.
4269 (TLS_DEFINE_INIT_TP): New macro.
4270 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4271
09f19b05
JM
42722014-06-09 Joseph Myers <joseph@codesourcery.com>
4273
4274 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4275 constant.
4276 [POSIX] (IXANY): Likewise.
4277 [POSIX] (OLCUC): Likewise.
4278 [POSIX || POSIX2008] (CBAUD): Do not allow.
4279 [POSIX || POSIX2008] (DEFECHO): Likewise.
4280 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4281 [POSIX || POSIX2008] (ECHOKE): Likewise.
4282 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4283 [POSIX || POSIX2008] (EXTA): Likewise.
4284 [POSIX || POSIX2008] (EXTB): Likewise.
4285 [POSIX || POSIX2008] (FLUSHO): Likewise.
4286 [POSIX || POSIX2008] (LOBLK): Likewise.
4287 [POSIX || POSIX2008] (PENDIN): Likewise.
4288 [POSIX || POSIX2008] (SWTCH): Likewise.
4289 [POSIX || POSIX2008] (VDISCARD): Likewise.
4290 [POSIX || POSIX2008] (VDSUSP): Likewise.
4291 [POSIX || POSIX2008] (VLNEXT): Likewise.
4292 [POSIX || POSIX2008] (VREPRINT): Likewise.
4293 [POSIX || POSIX2008] (VSTATUS): Likewise.
4294 [POSIX || POSIX2008] (VWERASE): Likewise.
4295 (B*): Change to B[0123456789]*.
4296 * conform/data/time.h-data [POSIX || UNIX98]
4297 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4298 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4299 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4300 [POSIX] (tm_*): Do not allow.
4301
686554bf
JM
43022014-06-07 Joseph Myers <joseph@codesourcery.com>
4303
4304 * Makefile (install): Don't set LANGUAGE.
4305 * Makefile.in (install): Likewise.
4306 * assert/Makefile (test-assert-ENV): Remove variable.
4307 (test-assert-perr-ENV): Likewise.
4308 * elf/Makefile (neededtest4-ENV): Likewise.
4309 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4310 [$(cross-compiling) = no]: Don't set LANGUAGE.
4311 * io/ftwtest-sh (LANG): Remove variable.
4312 * libio/Makefile (tst-widetext-ENV): Likewise.
4313 * manual/install.texi (Running make install): Don't refer to
4314 environment settings for make install.
4315 * INSTALL: Regenerated.
4316 * nptl/tst-tls6.sh: Don't set LANG.
4317 * posix/globtest.sh (LANG): Remove variable.
4318 * string/Makefile (tester-ENV): Likewise.
4319 (inl-tester-ENV): Likewise.
4320 (noinl-tester-ENV): Likewise.
4321 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4322 [$(cross-compiling) = no]: Don't set LANGUAGE.
4323 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4324 without explicit environment settings.
4325
68e6b6b1
RM
43262014-06-06 Roland McGrath <roland@hack.frob.com>
4327
4328 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4329 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4331 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4332
4d3ae034
CM
43332014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4334
4335 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4336 other files in the crypt directory.
4337 * crypt/crypt.c: Remove duplicate includes.
4338 * crypt/crypt-entry.c: Likewise.
4339 * crypt/crypt_util.c: Likewise.
4340
8540f6d2
JM
43412014-06-06 Joseph Myers <joseph@codesourcery.com>
4342
4343 * Makeconfig (run-program-env): New variable.
4344 (run-program-prefix-before-env): Likewise.
4345 (run-program-prefix-after-env): Likewise.
4346 (run-program-prefix): Define in terms of new variables.
4347 (built-program-cmd-before-env): New variable.
4348 (built-program-cmd-after-env): Likewise.
4349 (built-program-cmd): Define in terms of new variables.
4350 (test-program-prefix-before-env): New variable.
4351 (test-program-prefix-after-env): Likewise.
4352 (test-program-prefix): Define in terms of new variables.
4353 (test-program-cmd-before-env): New variable.
4354 (test-program-cmd-after-env): Likewise.
4355 (test-program-cmd): Define in terms of new variables.
4356 * Rules (make-test-out): Use $(run-program-env).
4357 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4358 (help): Do not mention environment variables. Mention
4359 --timeoutfactor option.
4360 (timeoutfactor): New variable.
4361 (blacklist_exports): Remove function.
4362 (exports): Remove variable.
4363 (command): Do not include ${exports}.
4364 * manual/install.texi (Configuring and compiling): Do not mention
4365 test wrappers preserving environment variables. Mention that last
4366 assignment to a variable must take precedence.
4367 * INSTALL: Regenerated.
4368 * benchtests/Makefile (run-bench): Use $(run-program-env).
4369 * catgets/Makefile ($(objpfx)test1.cat): Use
4370 $(built-program-cmd-before-env), $(run-program-env) and
4371 $(built-program-cmd-after-env).
4372 ($(objpfx)test2.cat): Do not specify environment variables
4373 explicitly.
4374 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4375 $(run-program-env) and $(built-program-cmd-after-env).
4376 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4377 $(run-program-env) and $(test-program-cmd-after-env).
4378 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4379 explicitly.
4380 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4381 run_program_env and test_program_cmd_after_env arguments.
4382 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4383 * elf/tst-pathopt.sh: Use run_program_env argument.
4384 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4385 $(test-wrapper-env) and $(run-program-env).
4386 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4387 run_program_env arguments.
4388 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4389 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4390 $(test-program-prefix-before-env), $(run-program-env) and
4391 $(test-program-prefix-after-env).
4392 ($(objpfx)tst-gettext2.out): Likewise.
4393 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4394 run_program_env and test_program_prefix_after_env arguments.
4395 * intl/tst-gettext2.sh: Likewise.
4396 * intl/tst-gettext4.sh: Do not set environment variables
4397 explicitly.
4398 * intl/tst-gettext6.sh: Likewise.
4399 * intl/tst-translit.sh: Likewise.
4400 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4401 $(test-program-prefix-before-env), $(run-program-env) and
4402 $(test-program-prefix-after-env).
4403 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4404 run_program_env and test_program_prefix_after_env arguments.
4405 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4406 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4407 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4408 explicitly with each use of ${test_wrapper_env}.
4409 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4410 $(test-program-prefix-before-env), $(run-program-env) and
4411 $(test-program-prefix-after-env).
4412 * posix/tst-getconf.sh: Do not set environment variables
4413 explicitly.
4414 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4415 run_program_env and test_program_prefix_after_env arguments.
4416 * stdio-common/tst-printf.sh: Do not set environment variables
4417 explicitly.
4418 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4419 $(test-program-prefix-before-env), $(run-program-env) and
4420 $(test-program-prefix-after-env).
4421 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4422 run_program_env and test_program_prefix_after_env arguments.
4423 Split $test calls into $test_pre and $test.
4424 * timezone/Makefile (build-testdata): Use
4425 $(built-program-cmd-before-env), $(run-program-env) and
4426 $(built-program-cmd-after-env).
4427
ed36bfa1
AZ
44282014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4429
4430 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4431 strlen for non SHARED builds.
4432
fc75bf46
SP
44332014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4434
4435 * nptl/allocatestack.c (check_list): Inlined function...
4436 (__reclaim_stacks): ... here.
4437
d89b3d80
OB
44382014-06-05 Ondřej Bílka <neleai@seznam.cz>
4439
4440 [BZ #15698]
4441 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4442 memory overrun.
4443
2bf18041
JM
44442014-06-05 Joseph Myers <joseph@codesourcery.com>
4445
4446 * Rules (make-test-out): Include
4447 LOCPATH=$(common-objpfx)localedata in default environment.
4448 * debug/Makefile (tst-chk1-ENV): Remove variable.
4449 (tst-chk2-ENV): Likewise.
4450 (tst-chk3-ENV): Likewise.
4451 (tst-chk4-ENV): Likewise.
4452 (tst-chk5-ENV): Likewise.
4453 (tst-chk6-ENV): Likewise.
4454 (tst-lfschk1-ENV): Likewise.
4455 (tst-lfschk2-ENV): Likewise.
4456 (tst-lfschk3-ENV): Likewise.
4457 (tst-lfschk4-ENV): Likewise.
4458 (tst-lfschk5-ENV): Likewise.
4459 (tst-lfschk6-ENV): Likewise.
4460 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4461 (tst-iconv7-ENV): Likewise.
4462 * intl/Makefile (LOCPATH-ENV): Likewise.
4463 (tst-codeset-ENV): Likewise.
4464 (tst-gettext3-ENV): Likewise.
4465 (tst-gettext5-ENV): Likewise.
4466 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4467 (tst-fopenloc-ENV): Likewise.
4468 (tst-fgetws-ENV): Remove variable.
4469 (tst-ungetwc1-ENV): Likewise.
4470 (tst-ungetwc2-ENV): Likewise.
4471 (bug-ungetwc2-ENV): Likewise.
4472 (tst-swscanf-ENV): Likewise.
4473 (bug-ftell-ENV): Likewise.
4474 (tst-fgetwc-ENV): Likewise.
4475 (tst-fseek-ENV): Likewise.
4476 (tst-ftell-partial-wide-ENV): Likewise.
4477 (tst-ftell-active-handler-ENV): Likewise.
4478 (tst-ftell-append-ENV): Likewise.
4479 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4480 (tst-regexloc-ENV): Likewise.
4481 (bug-regex1-ENV): Likewise.
4482 (tst-regex-ENV): Likewise.
4483 (tst-regex2-ENV): Likewise.
4484 (bug-regex5-ENV): Likewise.
4485 (bug-regex6-ENV): Likewise.
4486 (bug-regex17-ENV): Likewise.
4487 (bug-regex18-ENV): Likewise.
4488 (bug-regex19-ENV): Likewise.
4489 (bug-regex20-ENV): Likewise.
4490 (bug-regex22-ENV): Likewise.
4491 (bug-regex23-ENV): Likewise.
4492 (bug-regex25-ENV): Likewise.
4493 (bug-regex26-ENV): Likewise.
4494 (bug-regex30-ENV): Likewise.
4495 (bug-regex32-ENV): Likewise.
4496 (bug-regex33-ENV): Likewise.
4497 (bug-regex34-ENV): Likewise.
4498 (bug-regex35-ENV): Likewise.
4499 (tst-rxspencer-ENV): Likewise.
4500 (tst-rxspencer-no-utf8-ENV): Likewise.
4501 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4502 (tst-sscanf-ENV): Likewise.
4503 (tst-swprintf-ENV): Likewise.
4504 (tst-swscanf-ENV): Likewise.
4505 (test-vfprintf-ENV): Likewise.
4506 (scanf13-ENV): Likewise.
4507 (bug14-ENV): Likewise.
4508 (tst-grouping-ENV): Likewise.
4509 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4510 (tst-strtod3-ENV): Likewise.
4511 (tst-strtod4-ENV): Likewise.
4512 (tst-strtod5-ENV): Likewise.
4513 (testmb2-ENV): Likewise./
4514 * string/Makefile (tst-strxfrm-ENV): Likewise.
4515 (tst-strxfrm2-ENV): Likewise.
4516 (bug-strcoll1-ENV): Likewise.
4517 (test-strcasecmp-ENV): Likewise.
4518 (test-strncasecmp-ENV): Likewise.
4519 * time/Makefile (tst-strptime-ENV): Likewise.
4520 (tst-ftime_l-ENV): Likewise.
4521 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4522 (tst-mbrtowc-ENV): Likewise.
4523 (tst-wcrtomb-ENV): Likewise.
4524 (tst-mbrtowc2-ENV): Likewise.
4525 (tst-c16c32-1-ENV): Likewise.
4526 (tst-mbsnrtowcs-ENV): Likewise.
4527
cd1fb604
OB
45282014-06-05 Ondřej Bílka <neleai@seznam.cz>
4529
4530 * manual/resource.texi (How to get information about the memory
4531 subsystem?): Fix typo.
4532 Reported by Peon de la Parra Ivan <peon@keba.com>
4533
b42eca7d
GY
45342014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4535
4536 [BZ #16882]
4537 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4538 (pthread_spin_lock): Branch out of spin loop to proper location.
4539 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4540 (pthread_spin_lock): Likewise.
4541
902b71f9
DM
4542 * nptl/tst-spin4.c: New test.
4543 * nptl/Makefile (tests): Add tst-spin4.
4544
f9d2d032
AS
45452014-06-03 Andreas Schwab <schwab@suse.de>
4546
4547 [BZ #15946]
4548 * resolv/res_send.c (send_dg): Reload file descriptor after
4549 calling reopen.
4550
cf7bfd28
SL
45512014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4552
4553 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4554
111cc714
RH
45552014-06-03 Richard Henderson <rth@redhat.com>
4556
89b4bd6b
RH
4557 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4558 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4559 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4560 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4561 in the SAVE_PID block.
4562 (__libc_vfork): New alias.
71840409 4563 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4564
111cc714
RH
4565 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4566 child in registers, not on the stack. Remove RESET_PID conditionals.
4567 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4568
ccc39911
MS
45692014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4570
4571 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4572
693096cc
W
45732014-06-03 Wilco <wdijkstr@arm.com>
4574
4575 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4576 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4577 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4578 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4579 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4580 Likewise.
4581
0b4366bc
W
45822014-06-03 Wilco <wdijkstr@arm.com>
4583
4584 * sysdeps/aarch64/fpu/math_private.h
4585 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4586 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4587 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4588 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4589 Fix declarations.
4590
8747cd03
KS
45912014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4592
4593 * crypt/crypt-private.h: Include ufc-crypt.h.
4594 (__b64_from_24bit): Declare extern.
4595 * crypt/crypt_util.c(__b64_from_24bit): New function.
4596 (b64t): New static const variable.
4597 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4598 (b64t): Remove variable.
4599 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4600 * crypt/sha256-crypt.c: Include crypt-private.h.
4601 (b64t): Remove variable.
4602 (__sha256_crypt_r): Remove b64_from_24bit and replace
4603 with __b64_from_24bit.
4604 * crypt/sha512-crypt.c: Likewise.
4605
d936d379
RM
46062014-06-02 Roland McGrath <roland@hack.frob.com>
4607
4608 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4609 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4610 Label the code __libc_vfork rather than __vfork.
4611 [!NOT_IN_libc] (vfork): Define as weak alias.
4612 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4613 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4614 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4615
9fa76613
SP
46162014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4617
4618 * malloc/malloc.c (malloc_info): Fix format specifier for
4619 n_mmaps.
4620
a88dadbe
W
46212014-06-02 Wilco <wdijkstr@arm.com>
4622
4623 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4624 FPCR write.
4625
c95b3011
W
46262014-06-02 Wilco <wdijkstr@arm.com>
4627
4628 [BZ #17009]
4629 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4630 Rewrite to reduce FPCR/FPSR accesses.
4631
6b4d7a90
DM
46322014-06-01 David S. Miller <davem@davemloft.net>
4633
4634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4635
30f3d07c
DM
46362014-05-31 David S. Miller <davem@davemloft.net>
4637
4638 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4639 to occur in round to nearest mode when |x| >= 2.0
4640
74f31c18
RH
46412014-05-30 Richard Henderson <rth@twiddle.net>
4642
f0712b54
RH
4643 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4644 (PSEUDO_RET_NOERRNO): Remove.
4645 (ret): Don't redefine.
4646 (ret_NOERRNO): Define in terms of ret.
4647 (ret_ERRVAL): Likewise.
4648
74f31c18
RH
4649 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4650 use of PSEUDO_RET; perform the error check directly.
4651
30477995
MM
46522014-05-30 Marko Myllynen <myllynen@redhat.com>
4653
4654 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4655 with __int128_t.
4656
62a58816
SP
46572014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4658
4659 * malloc/malloc (malloc_info): Fix formatting.
4660
4d653a59
SP
46612014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4662 Roland McGrath <roland@hack.frob.com>
4663
4664 * malloc/malloc (malloc_info): Also print mmapped statistics.
4665
5190c17f
RM
46662014-05-30 Roland McGrath <roland@hack.frob.com>
4667
4668 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4669 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4670
987c0269
OB
46712014-05-30 Ondřej Bílka <neleai@seznam.cz>
4672
4673 * malloc/malloc.c (malloc_info): Inline mi_arena.
4674
af4e8ef9
RH
46752014-05-29 Richard Henderson <rth@twiddle.net>
4676
1670e207
RH
4677 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4678 Remove comma before expanding ASM_ARGS_##nr.
4679 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4680 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4681 of ASM_ARGS_##nr.
4682 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4683 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4684 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4685 (ASM_ARGS_1): Add leading comma.
4686
11a28aee
RH
4687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4688 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4689 to __errno_location.
4690 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4691 Remove the expected plt for __errno_location.
4692
a17e5ffb 4693 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4694 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4695 call to __read_tp.
4696
b5be4597
RH
4697 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4698 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4699 it and break it down.
4700 (DOCARGS_0, DOCARGS_1): Do nothing.
4701 (DOCARGS_2): Update to store into the new stack frame.
4702 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4703 (UNDOCARGS_1): Update to restore from the new stack frame.
4704 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4705 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4706
645d44ab
RH
4707 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4708 (SINGLE_THREAD_P): New parameter for result regno.
4709 (PSEUDO): Update to match; use cbz instead of beq.
4710
a8b4f04a
RH
4711 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4712 Use ENTRY to define the _nocancel entry point. Share the syscall
4713 and syscall error check paths with the cancel path.
4714 (PSEUDO_END): New.
4715
af4e8ef9
RH
4716 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4717 whitespace; tabs before and after asm mnemonics.
4718
26b0d2e1
EW
47192014-05-29 Eric Wong <normalperson@yhbt.net>
4720
4721 [BZ #15132]
4722 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4723 Call fstat64 or stat64 internally, depending on arguments passed.
4724 Replace stat buffer argument with file descriptor argument.
4725 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4726 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4727 Pass fd to __internal_statvfs instead of calling fstat64.
4728 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4729 Pass fd to __internal_statvfs64 instead of calling fstat64.
4730 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4731 Pass -1 to __internal_statvfs instead of calling stat64.
4732 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4733 Pass -1 to __internal_statvfs64 instead of calling stat64.
4734
1efe2bd9
RM
47352014-05-28 Roland McGrath <roland@hack.frob.com>
4736
0d3b7a19
RM
4737 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4738 that was previously under [RESET_PID].
4739 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4740
1efe2bd9
RM
4741 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4742 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4743
a6bea3ca
RM
47442014-05-27 Roland McGrath <roland@hack.frob.com>
4745
30b6629e
RM
4746 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4747
a6bea3ca
RM
4748 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4749 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4750
3dfb9a5c
OB
47512014-05-27 Ondřej Bílka <neleai@seznam.cz>
4752
4753 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4754
774f9285
AS
47552014-05-27 Andreas Schwab <schwab@suse.de>
4756
4757 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4758 TLS_INIT_TP macro.
4759 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4760 * elf/rtld.c (init_tls, dl_main): Likewise.
4761 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4762 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4763 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4764 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4765 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4766 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4767 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4768 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4769 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4770 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4771 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4772 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4773 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4774 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4775 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4776 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4777 * sysdeps/generic/tls.h: Update description.
4778
36ffe739
WN
47792014-05-27 Will Newton <will.newton@linaro.org>
4780
4781 [BZ #16990]
4782 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4783 and restore r2 rather than just restoring.
4784
2482ae43
SP
47852014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4786
4787 [BZ #16724]
4788 * libio/tst-ftell-append.c: New test case.
4789 * libio/Makefile (tests): Add test case.
4790 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4791 append mode.
4792 * libio/wfileops.c (do_ftell_wide): Likewise.
4793
3d1024e8
AZ
47942014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4795
bab90016
AZ
4796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4797
c7a8d667
AZ
4798 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4799 ...
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4802 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4803 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4805 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4807 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4808 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4809 Moved ...
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4811 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4812 Moved ...
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4814 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4815 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4817 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4819 ...
4820 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4821 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4822 Moved ...
4823 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4824 here.
4825 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4826 ...
4827 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4829 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4830
daee7851
AZ
4831 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4832 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4833 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4834 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4835
50a40819
AZ
4836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4837 merge into ...
4838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4840 ...
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4842 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4843 ...
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4846 Moved ...
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4848 here.
4849 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4850 Moved ...
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4853 Moved ...
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4855
8464c2a1
AZ
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4857 conditional [RESET_PID].
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4859 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4860 removed.
4861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4862 removed.
4863
3d1024e8
AZ
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4865 <tcb-offsets.h>.
4866 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4867 (__libc_vfork): New strong alias.
4868 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4869 removed.
4870 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4871 Removed.
4872
4873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4874 <tcb-offsets.h>.
4875 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4876 (__libc_vfork): New strong alias.
4877 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4878 removed.
4879 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4880 removed.
4881
fdfd175d
CD
48822014-05-26 Carlos O'Donell <carlos@redhat.com>
4883
4884 * malloc/malloc.c (mi_arena): New function.
4885 (malloc_info): Remove nested function mi_arena. Call non-nosted
4886 function mi_arena.
4887
d298c416
AZ
48882014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4889
4890 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4891 by insrwi.
4892 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4893 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4894 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4895 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4896 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4897 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4898 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4899
b60ea6ff
AS
49002014-05-26 Andreas Schwab <schwab@suse.de>
4901
4902 [BZ #16984]
4903 * locale/programs/repertoire.c (repertoire_read): Add slash
4904 between I18NPATH element and file name.
4905 * locale/programs/locfile.c (locfile_read): Likewise.
4906
67365926
SL
49072014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4908
4909 * nptl/pthread_mutexattr_settype.c
4910 (__pthread_mutexattr_settype):
4911 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4912
f8bdf1f0
SL
49132014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4914
4915 * nptl/tst-mutex5 (do_test):
4916 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4917
15eaf6ff
SP
49182014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4919
4920 * benchtests/README: Document 'init' directive.
4921 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4922 BENCH_INIT.
4923 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4924 (parse_file): Recognize 'init' directive.
4925
75f11331
KM
49262014-05-26 Kyle McMartin <kyle@redhat.com>
4927
4928 [BZ #16796]
4929 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4930 alignment of struct pthread.
4931
c3ec475c
SP
49322014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4933
4934 [BZ #16878]
4935 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4936 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4937 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4938 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4939
82aab97c
RH
49402014-05-25 Richard Henderson <rth@twiddle.net>
4941
aa2f176d
RH
4942 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4943 (SINGLE_THREAD_P_PIC): Remove.
4944 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4945 (SINGLE_THREAD_P_PIC): Remove.
4946
ca3cfa40
RH
4947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4948 branch to syscall error ...
4949 (PSEUDO): ... here.
4950 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4951 from __local_syscall_error to .Lsyscall_error.
4952 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4953 (SYSCALL_ERROR): Update label name.
4954
6e6c2d01
RH
4955 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4956 Do not use DOARGS/UNDOARGS.
4957 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4958 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4959 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4960 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4961 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4962
c69abcee
RH
4963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4964 block comment.
4965
82aab97c
RH
4966 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4967 define if !NOT_IN_libc.
4968 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4969 define with non-default symbol versions.
4970
8820e3ac
RH
49712014-05-23 Richard Henderson <rth@twiddle.net>
4972
900e445f
RH
4973 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4974 (vfork, __vfork): Define via compat_symbol.
4975
8820e3ac
RH
4976 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4977 [!HAVE_IFUNC] (vfork_compat): Remove.
4978 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4979
e59252a5
JM
49802014-05-23 Joseph Myers <joseph@codesourcery.com>
4981
4982 [BZ #16978]
4983 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4984 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4985 variable.
4986
132c7f5f
RH
49872014-05-23 Richard Henderson <rth@twiddle.net>
4988
bc89e962
RH
4989 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4990 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4991 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4992 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4993
4994 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4995 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4996 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4997 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4998 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4999 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5000 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5001 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5002 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5003 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5004 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5005 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5006 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5007 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5008 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5009 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5010 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5011 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5012 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5013 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5014 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5015 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5016 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5017 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5018 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5019 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5020 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5021 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5022 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5023 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5024 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5025 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5026 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5027 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5028 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5029 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5030 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5031 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5032 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5033 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5034 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5035 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5036 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5037 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5038 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5039 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5040 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5041 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5042 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5043 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5044 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5045 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5046 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5047 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5048 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5049 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5050
e2fa4bc2
RH
5051 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5052 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5053 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5054 before exiting on error.
5055 (__libc_vfork): New strong alias.
5056 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5057 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5058
279b24e2
RH
5059 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5060 that was previously under [RESET_PID].
5061 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5062
132c7f5f
RH
5063 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5064
b72592e7
JM
50652014-05-23 Joseph Myers <joseph@codesourcery.com>
5066
5067 [BZ #16977]
5068 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5069 value when x - 1 is zero.
5070 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5071 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5072 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5073 0.0L for an argument of 1.0L.
5074 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5075 Likewise.
5076 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5077 value when x - 1 is zero.
5078 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5079 * sysdeps/i386/fpu/libm-test-ulps: Update.
5080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5081
2302d679
RV
50822014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5083
5084 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5085 alphasort and versionsort.
5086
32999d63
AZ
50872014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5088
5089 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5090 macro.
5091 [copysignf]: Likewise.
5092
019324d0
SP
50932014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5094
5095 * crypt/md5-crypt.c: Fix formatting.
5096
34fff5c2
KS
50972014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5098
5099 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5100 (b64_from_24bit): New function.
5101
3d2badac
AZ
51022014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5103
5104 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5105 libc_hidden_builtin_def to ifunc.
5106 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5107 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5108
f7bb179f 51092014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5110
5111 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5112 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5113
4134b50d
JM
51142014-05-21 Joseph Myers <joseph@codesourcery.com>
5115
bb7d0337
JM
5116 * nscd/Depend (linuxthreads): Remove.
5117 (nptl): Add.
5118 * resolv/Depend (linuxthreads): Remove.
5119 * rt/Depend (linuxthreads): Remove.
5120
4134b50d
JM
5121 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5122 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5123 $(common-objpfx)elf/.
5124 (link-libc-before-gnulib): Likewise.
5125 (elfobjdir): Remove variable.
5126 * Makefile (install): Use $(elf-objpfx) instead of
5127 $(common-objpfx)elf/.
5128 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5129 $(elfobjdir)/.
5130 (link-libc-deps): Likewise.
5131 ($(common-objpfx)libc.so): Likewise.
5132 ($(common-objpfx)linkobj/libc.so): Likewise.
5133 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5134 instead of $(common-objpfx)elf/.
5135 (symbolic-link-list): Likewise.
5136 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5137 [$(cross-compiling) = no]: Likewise.
5138 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5139 $(elfobjdir)/.
5140 (static-gnulib-arch): Likewise.
5141 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5142 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5143 $(common-objpfx)elf/.
5144
3612eb8f
RH
51452014-05-21 Richard Henderson <rth@redhat.com>
5146
a6b3657b
RH
5147 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5148 (SINGLE_THREAD_P): Use the correct width load. Fold
5149 into the ldr offset.
5150
3612eb8f
RH
5151 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5152 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5153
175cef41
JM
51542014-05-20 Joseph Myers <joseph@codesourcery.com>
5155
5156 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5157 (libgcc_s_resume): Use __attribute_used__.
5158 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5159 Likewise.
5160
e13bccd3
AZ
51612014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5162
5163 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5164 optimization when used with float constants.
5165
7c112a38
AZ
5166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5167
ae75a883
AJ
51682014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5169
5170 [BZ #16915]
5171 * locale/nl_langinfo_l.c: Make direct reference to every
5172 _nl_current_CATEGORY symbol.
5173 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5174 (tests-static): Add tst-langinfo-static.
5175 (tests-special): Add tst-langinfo-static.out.
5176 ($(objpfx)tst-langinfo.out): Redirect output.
5177 ($(objpfx)tst-langinfo-static.out): New.
5178 * localedata/tst-langinfo.sh: Send output to stdout.
5179 * localedata/tst-langinfo-static.c: New file.
5180
4406c41c
AJ
5181 [BZ #16965]
5182 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5183 when the shift amount is modulo the limb size.
5184
4c0a1e63
RH
51852014-05-20 Richard Henderson <rth@redhat.com>
5186
de9d8f20
RH
5187 [BZ #16967]
5188 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5189 Change type of sa_flags from unsigned int to int.
5190
4c0a1e63
RH
5191 [BZ #16966]
5192 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5193
5194 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5195
a60339aa
WN
51962014-05-20 Will Newton <will.newton@linaro.org>
5197
5198 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5199 Test the return value of the system call in the nocancel case.
5200
7d05a816
YR
52012014-05-20 Will Newton <will.newton@linaro.org>
5202 Yvan Roux <yvan.roux@linaro.org>
5203
5204 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5205 #include of asm/ptrace.h.
5206 (PTRACE_GET_THREAD_AREA): Remove #undef.
5207 (PTRACE_GETHBPREGS): Likewise.
5208 (PTRACE_SETHBPREGS): Likewise.
5209 (struct user_regs_struct): New structure.
5210 (struct user_fpsimd_struct): New structure.
5211 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5212 #include of asm/ptrace.h and second #include of sys/user.h.
5213 (PTRACE_GET_THREAD_AREA): Remove #undef.
5214 (PTRACE_GETHBPREGS): Likewise.
5215 (PTRACE_SETHBPREGS): Likewise.
5216 (ELF_NGREG): Use new struct user_regs_struct.
5217 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5218
af121e37
AZ
52192014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5220
5221 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5222 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5223
834caf06
JM
52242014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5225
5226 [BZ #16958]
5227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5228 membar to avoid block loads/stores to overlap previous stores.
5229
e184a918
RH
52302014-05-17 Richard Henderson <rth@redhat.com>
5231
5232 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5233 Create the __##syscall_name##_nocancel entry point.
5234 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5235 Remove; let the sysdep-cancel.h code create it.
5236
f56c7a6a
DM
52372014-05-17 David S. Miller <davem@davemloft.net>
5238
5239 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5240 Protect with __USE_GNU.
5241 (TIOCSET_TEMPT): Likewise.
5242 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5243 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5244 these are already provided in bits/ioctl-types.h
5245
f75616b2
RM
52462014-05-16 Roland McGrath <roland@hack.frob.com>
5247
3edeca86
RM
5248 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5249 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5250
f75616b2
RM
5251 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5252 Use wait4 regardless of [__NR_waitpid].
5253
deb0f7f6
MR
52542014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5255
5256 PR libgcc/60166
5257 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5258 (_FP_NANSIGN_Q): Set the quiet bit.
5259
79520f4b
JM
52602014-05-16 Joseph Myers <joseph@codesourcery.com>
5261
5262 * benchtests/Makefile
5263 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5264 not $(common-objpfx)math/libm.so.
5265 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5266 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5267 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5268 $(common-objpfx)dlfcn/libdl.so.
5269 ($(objpfx)tst-audit8): Depend on $(libm), not
5270 $(common-objpfx)math/libm.so.
5271 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5272 not $(common-objpfx)dlfcn/libdl.so.
5273 * math/Makefile
5274 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5275 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5276 [$(build-shared) = yes].
5277 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5278 $(common-objpfx)nptl/libpthread.so.
5279 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5280 $(common-objpfx)math/libm.so$(libm.so-version) or
5281 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5282 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5283 $(common-objpfx)dlfcn/libdl.so.
5284 * setjmp/Makefile (link-libm): Remove variable.
5285 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5286 * stdio-common/Makefile (link-libm): Remove variable.
5287 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5288 * stdlib/Makefile (link-libm): Remove variable.
5289 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5290 ($(objpfx)tst-strtod-round): Likewise.
5291 ($(objpfx)tst-tininess): Likewise.
5292 ($(objpfx)tst-strtod-underflow): Likewise.
5293 ($(objpfx)tst-strtod6): Likewise.
5294 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5295 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5296 $(common-objpfx)dlfcn/libdl.so.
5297
026b0fe4
AZ
52982014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5299
5300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5301 BSD terminal modes definitions.
5302
def4bcb2
RM
53032014-05-16 Roland McGrath <roland@hack.frob.com>
5304
fe39b021
RM
5305 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5306 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5307
1d1fc46e 5308 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5309 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5310 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5311 Don't do #include_next.
5312 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5313 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5314 Don't do #include_next.
5315 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5316 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5317 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5318 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5319
c72399fb
AM
53202014-05-16 Allan McRae <allan@archlinux.org>
5321
d51d659d
AM
5322 * po/sv.po: Update Swedish translation from translation project.
5323
c72399fb
AM
5324 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5325 in sed expression.
5326
d0583c40
AJ
53272014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5328
5329 [BZ #16917]
5330 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5331 errno if the TIOCGPTN ioctl fails with an error different than
5332 EINVAL.
5333 * login/tst-ptsname.c: New file.
5334 * login/Makefile (tests): Add tst-ptsname.
5335
d16e6ec7
AJ
5336 [BZ #16943]
5337 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5338 and prlimit64.
5339
cf26a0cb
SP
53402014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5341
5342 [BZ #16849]
5343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5344 herrno to return EAI_AGAIN.
5345
5675da1e
RM
53462014-05-14 Roland McGrath <roland@hack.frob.com>
5347
a5d87b3d
RM
5348 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5349 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5350 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5351 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5352 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5353 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5354 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5355 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5356 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5357 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5358 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5359 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5360 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5361 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5362 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5363 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5364 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5365 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5366 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5367 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5368 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5369 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5370 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5371 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5372 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5373 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5375 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5376 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5377 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5379 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5381 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5383 Moved ...
5384 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5386 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5388 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5390 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5392 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5394 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5396 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5398 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5400 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5404 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5406 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5408 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5410 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5412 Moved ...
5413 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5415 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5417 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5419 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5421 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5423 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5425 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5427 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5429 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5431 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5433 Moved ...
5434 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5436 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5437
039890a6
RM
5438 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5439 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5440 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5441 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5442 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5443 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5444 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5445 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5446 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5447 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5448 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5449 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5450 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5451 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5452 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5453 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5454 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5455 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5456 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5457 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5458 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5460 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5462 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5464 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5465 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5466 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5467 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5468 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5469
65c89320
RM
5470 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5471 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5472
348f8e8c
RM
5473 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5474 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5475 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5476 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5477 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5478 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5479 Moved ...
5480 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5481 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5482 Moved ...
5483 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5484 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5485 Moved ...
5486 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5487 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5488 Moved ...
5489 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5491 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5493 Moved ...
5494 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5495 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5496 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5497 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5498 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5499 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5500 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5501 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5502 Moved ...
5503 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5504 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5505 Moved ...
5506 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5507 ... here.
5508 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5509 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5511 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5512 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5513 Moved ...
5514 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5515 ... here.
5516 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5517 Moved ...
5518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5519 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5520 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5522 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5523 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5524 Moved ...
5525 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5527 Moved ...
5528 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5530 Moved ...
5531 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5533 Moved ...
5534 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5536 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5538 Moved ...
5539 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5541 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5542 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5543 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5545 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5546 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5547 Moved ...
5548 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5550 Moved ...
5551 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5552 ... here.
5553 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5554 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5555 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5556 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5557 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5558 Moved ...
5559 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5560 ... here.
5561 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5562 Moved ...
5563 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5565 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5566 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5567 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5568 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5569 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5570 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5571 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5573 Moved ...
5574 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5575 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5576 Moved ...
5577 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5579 Moved ...
5580 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5581 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5582 Moved ...
5583 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5584 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5585 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5586 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5587 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5588 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5589 Moved ...
5590 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5591 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5592 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5593 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5594 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5595 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5596 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5597 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5598 Moved ...
5599 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5600 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5601 Moved ...
5602 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5603 ... here.
5604 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5605 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5606 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5607 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5608 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5609 Moved ...
5610 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5611 ... here.
5612 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5613 Moved ...
5614 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5615 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5616 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5617 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5618 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5619 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5620 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5621 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5622 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5623 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5624 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5625
5085af05
RM
5626 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5627 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5628
708f0813
RM
5629 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5630 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5631
c96067bc
RM
5632 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5633 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5634 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5635 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5636 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5637 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5638 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5639 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5640 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5642 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5643 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5644 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5645 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5646 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5647 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5648 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5649 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5650 Moved ...
5651 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5652 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5653 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5654 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5655 Moved ...
5656 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5657 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5658 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5660 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5662 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5664 Moved ...
5665 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5666 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5667 Moved ...
5668 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5669 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5670 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5672 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5674 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5675 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5676 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5677 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5678 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5679 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5680 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5681 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5682 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5683 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5684 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5685
ec136444
RM
5686 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5687 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5688 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5689 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5690 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5691
2fbdf533
RM
5692 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5693 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5694 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5695 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5696 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5697 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5698 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5699 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5700 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5701 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5702
4c68138b
RM
5703 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5704 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5705
4eaae765
RM
5706 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5707 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5708 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5709 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5710 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5711 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5712 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5713 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5714 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5715 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5716 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5717 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5718 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5719 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5721 Update #include.
5722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5723 Likewise.
5724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5725 Likewise.
5726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5727 Likewise.
5728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5729 Likewise.
5730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5731 Likewise.
5732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5733 Likewise.
5734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5735 Likewise.
5736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5737 Likewise.
5738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5739 Likewise.
4ef6befa
RM
5740 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5742 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5743 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5744 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5745 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5746 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5747 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5748 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5749 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5750 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5751 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5752 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5753 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5754 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5755
941d7dfd
RM
5756 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5757 that was previously under [RESET_PID].
5758 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5759 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5760 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5761
1b731c35
RM
5762 * sysdeps/i386/nptl/Implies: New file.
5763 * sysdeps/x86_64/nptl/Implies: New file.
5764 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5765 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5766 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5767 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5768
e2787137
RM
5769 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5770 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5771 (__libc_vfork): New strong alias.
5772 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5773 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5774
5775 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5776 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5777 (__libc_vfork): New strong alias.
5778 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5779 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5780
5675da1e
RM
5781 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5782 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5783 (__libc_vfork): New strong alias.
5784 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5785 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5786 * nptl/pt-vfork.c: New file.
5787 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5788 (libpthread: GLIBC_2.20): New version set (empty).
5789
4f02e2b8
WN
57902014-05-14 Will Newton <will.newton@linaro.org>
5791
5792 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5793 rather than #if.
5794
0bf061d3
JM
57952014-05-14 Joseph Myers <joseph@codesourcery.com>
5796
1a84c3d6
JM
5797 [BZ #16564]
5798 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5799 arguments with exponent 65 or above.
5800 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5801 arguments 0x1p113L or above.
5802 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5803 to arguments 0x1p107L or above.
5804 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5805 positive arguments with exponent 65 or above.
5806 * math/auto-libm-test-in: Add more tests of log1p.
5807 * math/auto-libm-test-out: Regenerated.
5808
01dbacd2
JM
5809 [BZ #16928]
5810 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5811 non-finite arguments is +0.
5812 * math/s_cacosf.c (__cacosf): Likewise.
5813 * math/s_cacosl.c (__cacosl): Likewise.
5814 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5815 * sysdeps/i386/fpu/libm-test-ulps: Update.
5816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5817
913d03c8
JM
5818 [BZ #16927]
5819 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5820 value.
5821 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5822 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5823 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5824 for explicit high bit of mantissa when testing for argument equal
5825 to 1.
5826 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5827 * sysdeps/i386/fpu/libm-test-ulps: Update.
5828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5829
0bf061d3
JM
5830 [BZ #16516]
5831 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5832 (__erf): Scale by 16 instead of 8 in potentially underflowing
5833 case. Ensure exception if result actually underflows.
5834 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5835 (__erff): Scale by 16 instead of 8 in potentially underflowing
5836 case. Ensure exception if result actually underflows.
5837 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5838 (efx8): Remove variable.
5839 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5840 case. Ensure exception if result actually underflows.
5841 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5842 (efx8): Remove variable.
5843 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5844 case. Ensure exception if result actually underflows.
5845 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5846 (efx8): Remove variable.
5847 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5848 case. Ensure exception if result actually underflows.
5849 * math/auto-libm-test-in: Add more tests of erf.
5850 * math/auto-libm-test-out: Regenerated.
5851
73ba67cb
AS
58522014-05-14 Andreas Schwab <schwab@suse.de>
5853
3d8c8bff
AS
5854 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5855 Remove code conditionalized on USE___THREAD.
5856
73ba67cb
AS
5857 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5858 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5859 not definedness.
5860
5c521ecd
JM
58612014-05-14 Joseph Myers <joseph@codesourcery.com>
5862
5e7698c6
JM
5863 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5864 Define unconditionally.
5865 (__ASSUME_O_CLOEXEC): Likewise.
5866 (__ASSUME_SOCK_CLOEXEC): Likewise.
5867 (__ASSUME_IN_NONBLOCK): Likewise.
5868 (__ASSUME_PIPE2): Likewise.
5869 (__ASSUME_EVENTFD2): Likewise.
5870 (__ASSUME_SIGNALFD4): Likewise.
5871 (__ASSUME_DUP3): Likewise.
5872 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5873 (__ASSUME_DUP3): Do not define.
5874 (__ASSUME_EVENTFD2): Likewise.
5875 (__ASSUME_IN_NONBLOCK): Likewise.
5876 (__ASSUME_O_CLOEXEC): Likewise.
5877 (__ASSUME_PIPE2): Likewise.
5878 (__ASSUME_SIGNALFD4): Likewise.
5879 (__ASSUME_SOCK_CLOEXEC): Likewise.
5880 (__ASSUME_UTIMES): Undefine.
5881 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5882 (__ASSUME_UTIMES): Do not define.
5883 (__ASSUME_O_CLOEXEC): Likewise.
5884 (__ASSUME_SOCK_CLOEXEC): Likewise.
5885 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5886 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5887 0x020621].
5888 (__ASSUME_PIPE2): Likewise.
5889 (__ASSUME_EVENTFD2): Likewise.
5890 (__ASSUME_SIGNALFD4): Likewise.
5891 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5892 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5893 Do not define.
5894 (__ASSUME_EVENTFD2): Likewise.
5895 (__ASSUME_SIGNALFD4): Likewise.
5896 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5897 (__ASSUME_32BITUIDS): Likewise.
5898 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5899 (__ASSUME_IPC64): Likewise.
5900 (__ASSUME_ST_INO_64_BIT): Likewise.
5901 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5902 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5903 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5904 (__ASSUME_UTIMES): Do not define.
5905 (__ASSUME_PSELECT): Likewise.
5906 (__ASSUME_PPOLL): Likewise.
5907 (__ASSUME_O_CLOEXEC): Likewise.
5908 (__ASSUME_SOCK_CLOEXEC): Likewise.
5909 (__ASSUME_IN_NONBLOCK): Likewise.
5910 (__ASSUME_PIPE2): Likewise.
5911 (__ASSUME_EVENTFD2): Likewise.
5912 (__ASSUME_SIGNALFD4): Likewise.
5913 (__ASSUME_DUP3): Likewise.
5914 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5915 (__ASSUME_UTIMES): Likewise.
5916 (__ASSUME_O_CLOEXEC): Likewise.
5917 (__ASSUME_SOCK_CLOEXEC): Likewise.
5918 (__ASSUME_IN_NONBLOCK): Likewise.
5919 (__ASSUME_PIPE2): Likewise.
5920 (__ASSUME_EVENTFD2): Likewise.
5921 (__ASSUME_SIGNALFD4): Likewise.
5922 (__ASSUME_DUP3): Likewise.
5923 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5924 (__ASSUME_UTIMES): Likewise.
5925 (__ASSUME_O_CLOEXEC): Likewise.
5926 (__ASSUME_SOCK_CLOEXEC): Likewise.
5927 (__ASSUME_IN_NONBLOCK): Likewise.
5928 (__ASSUME_PIPE2): Likewise.
5929 (__ASSUME_EVENTFD2): Likewise.
5930 (__ASSUME_SIGNALFD4): Likewise.
5931 (__ASSUME_DUP3): Likewise.
5932 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5933 Likewise.
5934 (__ASSUME_UTIMES): Likewise.
5935 (__ASSUME_EVENTFD2): Likewise.
5936 (__ASSUME_SIGNALFD4): Likewise.
5937 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5938 (__ASSUME_O_CLOEXEC): Likewise.
5939 (__ASSUME_SOCK_CLOEXEC): Likewise.
5940 (__ASSUME_IN_NONBLOCK): Likewise.
5941 (__ASSUME_PIPE2): Likewise.
5942 (__ASSUME_EVENTFD2): Likewise.
5943 (__ASSUME_SIGNALFD4): Likewise.
5944 (__ASSUME_DUP3): Likewise.
5945 (__ASSUME_UTIMES): Undefine.
5946
5c521ecd
JM
5947 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5948 feclearexcept. Remove symbol versioning code.
5949 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5950 symbol versioning code.
5951 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5952 symbol versioning code.
5953 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5954 feupdateenv. Remove symbol versioning code.
5955 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5956 fegetexceptflag. Remove symbol versioning code.
5957 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5958 fesetexceptflag. Remove symbol versioning code.
5959 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5960 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5961 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5962 (__posix_fadvise64_l32): Remove prototype.
5963 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5964 code.
5965
5da9dfad
RM
59662014-05-13 Roland McGrath <roland@hack.frob.com>
5967
5968 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5969 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5970 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5971 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5972
893b4f37
SK
59732014-05-13 Sami Kerola <kerolasa@iki.fi>
5974
5975 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5976 current working directory
5977
e0db6517
RM
59782014-05-13 Roland McGrath <roland@hack.frob.com>
5979
58aa195d
RM
5980 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5981 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5982 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5983 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5984 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5985 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5986 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5987 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5988 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5989 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5990 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5991 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5992 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5993 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5994 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5995 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5996 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5997 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5998 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5999 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6000 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6001 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6002 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6003 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6004 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6005 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6007 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6008 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6009 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6010 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6011 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6012 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6013 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6014 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6015 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6016 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6017 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6018 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6019 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6020 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6021 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6022
8c6d01f0
RM
6023 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6024 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6025
6026 * sysdeps/unix/sysv/linux/arm/Makefile
6027 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6028 Add rt-aeabi_unwind_cpp_pr1.
6029 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6030 Add nptl-aeabi_unwind_cpp_pr1.
6031 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6032 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6033 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6034 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6035 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6036 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6037
6038 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6039 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6040 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6041 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6042
bba6da4e
RM
6043 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6044 Deconditionalize the code that was previously under [RESET_PID].
6045 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6046
e0db6517
RM
6047 * sysdeps/generic/exit-thread.h: New file.
6048 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6049 * include/unistd.h (__exit_thread): Remove declaration.
6050 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6051 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6052 * csu/libc-start.c: Include <exit-thread.h>.
6053 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6054 * nptl/pthread_create.c: Include <exit-thread.h>.
6055 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6056 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6057 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6058 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6059 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6060 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6061 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6062 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6063 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6064 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6065 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6066 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6067 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6068 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6069 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6070 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6071 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6072
01eb16fd
AS
60732014-05-13 Andreas Schwab <schwab@suse.de>
6074
6075 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6076
637461d9
JM
60772014-05-12 Joseph Myers <joseph@codesourcery.com>
6078
6079 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6080 (__ASSUME_UTIMES): Do not condition on kernel version.
6081 (__ASSUME_PSELECT): Define unconditionally.
6082 (__ASSUME_PPOLL): Likewise.
6083 (__ASSUME_ATFCTS): Likewise.
6084 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6085 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6086 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6087 (__ASSUME_UTIMENSAT): Define unconditionally.
6088 (__ASSUME_PRIVATE_FUTEX): Likewise.
6089 (__ASSUME_FALLOCATE): Likewise.
6090 (__ASSUME_O_CLOEXEC): Likewise.
6091 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6092 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6093 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6094 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6095 (__ASSUME_IN_NONBLOCK): Likewise.
6096 (__ASSUME_PIPE2): Likewise.
6097 (__ASSUME_EVENTFD2): Likewise.
6098 (__ASSUME_SIGNALFD4): Likewise.
6099 (__ASSUME_DUP3): Likewise.
6100 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6101 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6102 (__ASSUME_AT_RANDOM): Likewise.
6103 (__ASSUME_PREADV): Likewise.
6104 (__ASSUME_PWRITEV): Likewise.
6105 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6106 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6107 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6108 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6109 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6110 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6111 (__ASSUME_O_CLOEXEC): Define unconditionally.
6112 (__ASSUME_PSELECT): Do not undefine conditionally.
6113 (__ASSUME_PPOLL): Likewise.
6114 (__ASSUME_ATFCTS): Likewise.
6115 (__ASSUME_SET_ROBUST_LIST): Likewise.
6116 (__ASSUME_UTIMENSAT): Likewise.
6117 (__ASSUME_FDATASYNC): Define unconditionally.
6118 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6119 (__ASSUME_SIGFRAME_V2): Likewise.
6120 )__ASSUME_EVENTFD2): Likewise.
6121 (__ASSUME_SIGNALFD4): Likewise.
6122 (__ASSUME_PSELECT): Do not undefine conditionally.
6123 (__ASSUME_PPOLL): Likewise.
6124 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6125 (__ASSUME_PSELECT): Define unconditionally.
6126 (__ASSUME_PPOLL): Likewise.
6127 (__ASSUME_O_CLOEXEC): Likewise.
6128 (__ASSUME_SOCK_CLOEXEC): Likewise.
6129 (__ASSUME_IN_NONBLOCK): Likewise.
6130 (__ASSUME_PIPE2): Likewise.
6131 (__ASSUME_EVENTFD2): Likewise.
6132 (__ASSUME_SIGNALFD4): Likewise.
6133 (__ASSUME_DUP3): Likewise.
6134 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6135 (__ASSUME_O_CLOEXEC): Likewise.
6136 (__ASSUME_SOCK_CLOEXEC): Likewise.
6137 (__ASSUME_IN_NONBLOCK): Likewise.
6138 (__ASSUME_PIPE2): Likewise.
6139 (__ASSUME_EVENTFD2): Likewise.
6140 (__ASSUME_SIGNALFD4): Likewise.
6141 (__ASSUME_DUP3): Likewise.
6142 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6143 (__ASSUME_EVENTFD2): Likewise.
6144 (__ASSUME_SIGNALFD4): Likewise.
6145 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6146
315eb1d8
AS
61472014-05-12 Andreas Schwab <schwab@suse.de>
6148
6149 [BZ #16932]
6150 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6151 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6152 than maximum RPC packet size.
6153 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6154 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6155 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6156 (_nss_nis_getservbyport_r): Likewise.
6157
91df99f7
WN
61582014-05-12 Will Newton <will.newton@linaro.org>
6159
6160 * malloc/Makefile (tests): Add tst-mallopt.
6161 * malloc/tst-mallopt.c: New file.
6162
0a982a29
RM
61632014-05-09 Roland McGrath <roland@hack.frob.com>
6164
6165 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6166 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6167
0ded08a5
AZ
61682014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169
6170 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6171 (tst-tlsmod6.so): Likewise.
6172
55d4d550
RM
61732014-05-09 Roland McGrath <roland@hack.frob.com>
6174
6175 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6176
77d08aca
JM
61772014-05-09 Joseph Myers <joseph@codesourcery.com>
6178
6179 [BZ #16064]
6180 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6181 and <dl-procinfo.h>.
6182 (__fegetenv): Save SSE state in envp->__eip if supported.
6183 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6184 envp->__eip if supported.
6185 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6186 and <dl-procinfo.h>.
6187 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6188 __data_offset and __data_selector in environment to 0. Set SSE
6189 state if supported.
6190 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6191 test-fenv-sse.
6192 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6193 -mfpmath=sse.
6194 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6195
28162f4d
WN
61962014-05-09 Will Newton <will.newton@linaro.org>
6197
6198 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6199 and libc_relro_required for ARM.
6200 * sysdeps/arm/preconfigure: Regenerate.
6201
5a414ff7
DV
62022014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6203 Stefan Liebler <stli@linux.vnet.ibm.com>
6204
6205 * config.make.in (enable-lock-elision): New Makefile variable.
6206 * configure.ac: Likewise.
6207 * configure: Regenerate.
6208 * sysdeps/s390/configure.ac:
6209 Add check for gcc transactions support.
6210 * sysdeps/s390/configure: Regenerate.
6211 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6212 Build elision files if enabled.
6213 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6214 Add lock elision support for s390.
6215 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6216 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6217 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6218 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6219 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6220 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6221 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6222 Likewise.
6223 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6224 Likewise.
6225 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6226 Likewise.
6227 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6228 Likewise.
6229 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6230 (__lll_timedlock_elision, __lll_lock_elision)
6231 (__lll_unlock_elision, __lll_trylock_elision)
6232 (lll_timedlock_elision, lll_lock_elision)
6233 (lll_unlock_elision, lll_trylock_elision): Add.
6234 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6235 (pthread_mutex_t): Add lock elision support for s390.
6236
1a2f40e5
W
62372014-05-14 Wilco <wdijkstr@arm.com>
6238
6239 * sysdeps/arm/fclrexcpt.c: Cleanup.
6240 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6241 * sysdeps/arm/feenablxcpt.c: Cleanup.
6242 * sysdeps/arm/fegetenv.c: Cleanup.
6243 * sysdeps/arm/fegetexcept.c: Cleanup.
6244 * sysdeps/arm/fegetround.c: Cleanup.
6245 * sysdeps/arm/feholdexcpt.c: Cleanup.
6246 * sysdeps/arm/fesetenv.c: Cleanup.
6247 * sysdeps/arm/fesetround.c: Cleanup.
6248 * sysdeps/arm/feupdateenv.c: Cleanup.
6249 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6250 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6251 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6252 * sysdeps/arm/ftestexcept.c: Cleanup.
6253 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6254 * sysdeps/arm/setfpucw.c: Cleanup.
6255
f63c86fe
WN
62562014-05-09 Will Newton <will.newton@linaro.org>
6257
6258 * sysdeps/arm/armv7/strcmp.S: New file.
6259 * NEWS: Mention addition of ARMv7 optimized strcmp.
6260
7a1a51b5
RM
62612014-05-08 Roland McGrath <roland@hack.frob.com>
6262
95afbbe5
RM
6263 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6264 look for %.ac rather than %.in.
6265
6266 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6267 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6268 * sysdeps/mach/hurd/configure: Regenerated.
6269 * sysdeps/unix/sysv/linux/configure: Regenerated.
6270
7a1a51b5
RM
6271 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6272
5057ad3b
SE
62732014-05-07 Steve Ellcey <sellcey@mips.com>
6274
6275 [BZ# 16922]
6276 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6277 (LONG_SUB): Ditto.
6278 (PTR_SUB): Ditto.
6279
8dc97517
AS
62802014-05-07 Andreas Schwab <schwab@suse.de>
6281
6282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6283 when skipping over non-matching result from nscd.
6284
ce0c5b8f
OB
62852014-05-07 Ondřej Bílka <neleai@seznam.cz>
6286
6287 [BZ #16876]
6288 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6289
a1189263
OB
6290 [BZ #16877]
6291 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6292 nscd security class.
ce0c5b8f 6293
0f58d252
RM
62942014-05-06 Roland McGrath <roland@hack.frob.com>
6295
6296 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6297 * sysdeps/arm/unwind.h: ... here.
6298
83df9ad0
AJ
62992014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6300
ce0c5b8f
OB
6301 [BZ# 16916]
6302 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6303 Define.
83df9ad0 6304
f360f94a
VR
63052014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6306
6307 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6308 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6309 multiarch strncpy for PPC64.
6310 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6311 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6313 multiarch optimizations.
6314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6315 (__libc_ifunc_impl_list): Likewise.
6316 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6317 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6318 multiarch stpncpy for PPC64.
6319 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6320 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6321
978a41c3
AS
63222014-05-06 Andreas Schwab <schwab@suse.de>
6323
6324 [BZ #16912]
6325 * gmon/mcount.c (_MCOUNT_DECL): Use
6326 atomic_compare_and_exchange_bool_acq instead of
6327 catomic_compare_and_exchange_bool_acq.
6328
eb1ed03d
RM
63292014-05-05 Roland McGrath <roland@hack.frob.com>
6330
fe658845
RM
6331 * elf/Makefile (others, install-bin): Remove pldd.
6332 (pldd-modules): Variable removed.
6333 ($(objpfx)pldd): Target removed.
6334 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6335 (others, install-bin): Append pldd here.
6336 ($(objpfx)pldd): New target.
6337
eb1ed03d
RM
6338 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6339 to 0, so the first #if test emitted later doesn't see it undefined.
6340 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6341 * sysdeps/gnu/errlist.c: Regenerated.
6342
19c4bec0
AZ
63432014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6346 [libc_hidden_builtin_def]: Define to empty value.
6347 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6348 [libc_hidden_builtin_def]: Likewise.
6349 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6350 [libc_hidden_builtin_def]: Likewise.
6351 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6352 [libc_hidden_builtin_def]: Likewise.
6353 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6354 __redirect_memcpy and define ifunc as default hidden symbol.
6355 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6356 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6357
7776e669
AC
63582014-05-04 Adam Conrad <adconrad@0c3.net>
6359
6360 * locale/iso-4217.def: Reintroduce XDR currency.
6361
d69aeb12
AM
63622014-05-04 Allan McRae <allan@archlinux.org>
6363
6364 * po/eo.po: Update Esperanto translation from translation project.
6365
8f1df5cf
CD
63662014-05-02 Carlos O'Donell <carlos@redhat.com>
6367
6368 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6369 and FEATURE_INDEX_MAX to 1.
6370 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6371
13e402e7
SE
63722014-05-01 Steve Ellcey <sellcey@mips.com>
6373
6374 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6375 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6376 * iconvdata/big5.c (ONE_DIRECTION): Define.
6377 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6378 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6379 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6380 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6381 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6382 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6383 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6384 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6385 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6386 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6387 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6388 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6389 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6390 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6391 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6392 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6393 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6394 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6395 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6396 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6397 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6398 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6399 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6400 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6401 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6402 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6403 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6404 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6405 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6406 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6407 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6408 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6409 * iconvdata/johab.c (ONE_DIRECTION): Define.
6410 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6411 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6412 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6413 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6414 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6415 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6416 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6417 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6418 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6419 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6420
c727f032
RM
64212014-05-01 Roland McGrath <roland@hack.frob.com>
6422
8f2f08d0
RM
6423 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6424 (_IO_JUMPS_OFFSET): Define to 0.
6425
c727f032
RM
6426 * nptl/sysdeps/pthread/bits/libc-lock.h
6427 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6428 (__libc_lock_define_initialized_recursive): Always define using
6429 initializer. Modern compilers treat uninitialized (implicit zero) and
6430 explicit zero initializers the same (i.e. put the datum in bss).
6431
a849e800
AS
64322014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6433
6434 * nscd/nscd-client.h: Include <string.h>.
6435
5331255b
DM
64362014-05-01 David S. Miller <davem@davemloft.net>
6437
6438 [BZ #16885]
6439 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6440 multiple zero bytes exist at the end of a string.
6441 Reported by Aurelien Jarno <aurelien@aurel32.net>
6442
6443 * string/test-strcmp.c (check): Add explicit test for situations where
6444 there are multiple zero bytes after the first.
6445
4fdfe821
AS
64462014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6447
6448 [BZ #16890]
6449 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6450 when compiling wprintf.
6451 * stdio-common/tstdiomisc.c (t3): New function.
6452 (main): Call it.
6453
0cdddc25
SE
64542014-05-01 Steve Ellcey <sellcey@mips.com>
6455
6456 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6457 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6458 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6459 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6460
6426d77e
SE
64612014-05-01 Steve Ellcey <sellcey@mips.com>
6462
6463 * stdlib/longlong.h: Updated from GCC.
6464
6d96f5e4
WN
64652014-05-01 Will Newton <will.newton@linaro.org>
6466 Bernard Ogden <bernie.ogden@linaro.org>
6467
7470db0c
WN
6468 * NEWS: Update fixed bug list.
6469
6d96f5e4
WN
6470 [BZ #15119]
6471 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6472
211d653c
DM
64732014-04-30 David S. Miller <davem@davemloft.net>
6474
4fa262fa
DM
6475 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6476 (libc_feholdexcept_setround_sparc_ctx): New function.
6477 (libc_fesetenv_sparc_ctx): Likewise.
6478 (libc_feupdateenv_sparc_ctx): Likewise.
6479 (libc_feholdsetround_sparc_ctx): Likewise.
6480 (libc_feholdexcept_setround_ctx): Define.
6481 (libc_feholdexcept_setroundf_ctx): Likewise.
6482 (libc_feholdexcept_setroundl_ctx): Likewise.
6483 (libc_fesetenv_ctx): Likewise.
6484 (libc_fesetenvf_ctx): Likewise.
6485 (libc_fesetenvl_ctx): Likewise.
6486 (libc_feupdateenv_ctx): Likewise.
6487 (libc_feupdateenvf_ctx): Likewise.
6488 (libc_feupdateenvl_ctx): Likewise.
6489 (libc_feresetround_ctx): Likewise.
6490 (libc_feresetroundf_ctx): Likewise.
6491 (libc_feresetroundl_ctx): Likewise.
6492 (libc_feholdsetround_ctx): Likewise.
6493 (libc_feholdsetroundf_ctx): Likewise.
6494 (libc_feholdsetroundl_ctx): Likewise.
6495
1d3d93ef
DM
6496 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6497 with __USE_GNU instead of XOPEN cpp guards.
6498
8aa583c3
DM
6499 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6500 0.
6501
211d653c
DM
6502 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6503 with XOPEN cpp guards.
6504
60c8f1f6
JB
65052014-04-30 Julian Brown <julian@codesourcery.com>
6506
6507 [BZ #16888]
6508 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6509 handling.
6510
9a461d46
JM
65112014-04-30 Joseph Myers <joseph@codesourcery.com>
6512
d0f5b3f8
JM
6513 [BZ #9894]
6514 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6515 Change to 2.6.32.
6516 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6517 * sysdeps/unix/sysv/linux/configure: Regenerated.
6518 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6519 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6520 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6521 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6522 * README: Update reference to required Linux kernel version.
6523 * manual/install.texi (Linux): Update reference to required Linux
6524 kernel headers version.
6525 * INSTALL: Regenerated.
6526
9a461d46
JM
6527 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6528 header inclusion.
6529 [POSIX] (limits.h): Likewise.
6530 [POSIX] (math.h): Likewise.
6531 [POSIX] (sys/wait.h): Likewise.
6532 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6533 function.
6534 [POSIX] (stddef.h): Do not allow header inclusion.
6535
1775babf
AZ
65362014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6537
57f41c40 6538 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6539
8f630cca
YY
65402014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6541
6542 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6543 Return immediately after lll_futex_wake.
6544
1cdeb237
SP
65452014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6546
bc8f194c
SP
6547 [BZ #16791]
6548 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6549 structure.
6550 (datahead_init_pos): Call datahead_init_common early.
6551 (datahead_init_neg): Likewise.
6552
1cdeb237
SP
6553 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6554 datahead_init_neg): New functions.
6555 * nscd/aicache.c (addhstaiX): Use them.
6556 * nscd/grpcache.c (cache_addgr): Likewise.
6557 * nscd/hstcache.c (cache_addhst): Likewise.
6558 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6559 * nscd/netgroupcache.c (do_notfound): Likewise.
6560 (addgetnetgrentX): Likewise.
6561 (addinnetgrX): Likewise.
6562 * nscd/pwdcache.c (cache_addpw): Likewise.
6563 * nscd/servicescache.c (cache_addserv): Likewise.
6564
16b293a7
SP
65652014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6566 Atsushi Onoe <atsushi@onoe.org>
6567
6568 [BZ #14308]
6569 [BZ #12994]
6570 [BZ #13651]
6571 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6572 one response is valid.
6573 * resolv/res_send.c (send_dg): Check for validity of other
6574 response if the current response is a referral.
6575
a28a9b94
SE
65762014-04-29 Steve Ellcey <sellcey@mips.com>
6577
6578 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6579
2ca180e9
SL
65802014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6581
6582 [BZ #16823]
6583 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6584 Always divide by positive zero when computing -Inf result.
6585 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6586 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6587
18f2945a
AZ
65882014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6589
6590 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6591 FPSCR if value do not change.
6592 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6593 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6594 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6595 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6596 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6597 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6598 function.
6599
5abebba4
CD
66002014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6601
6602 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6603 * sysdeps/unix/sysv/linux/hppa: Move directory from
6604 ports/systeps/unix/sysv/linux/hppa.
6605 * README: Update listing for hppa-*-linux-gnu.
6606
f7ed60c2
OB
66072014-04-28 Ondřej Bílka <neleai@seznam.cz>
6608
fff763a5
OB
6609 [BZ #16754]
6610 * manual/stdio.texi (Hook functions): Fix types of stream hook
6611 functions.
f7ed60c2
OB
6612 [BZ #16854]
6613 * socket/sys/socket.h: Fix typo in comment.
6614
df639d73
WD
66152014-04-28 Wilco <wdijkstr@arm.com>
6616
f7ed60c2 6617 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6618 * sysdeps/arm/math_private.h: New file.
6619 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6620
48332d82
L
66212014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6622
6623 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6624 with __int128_t.
6625 (La_x86_64_retval): Likewise.
6626
e5e0d9a4
IB
66272014-04-24 Ian Bolton <ian.bolton@arm.com>
6628
6629 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6630 fpsr if value didn't change.
6631 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6632 to fpcr if value didn't change.
6633 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6634 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6635 fpsr or fpcr if value didn't change.
6636 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6637 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6638 fpcr if value didn't change.
6639 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6640 to fpsr if value didn't change.
6641
bacc75f7
SP
66422014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6643
6644 * nptl/tst-sem3.c: Use test-skeleton.c
6645 (main): Rename to do_test. Use return instead of
6646 exit.
6647 * nptl/tst-sem4.c: Use test-skeleton.c
6648 (main): Rename to do_test.
6649
a059d359
DM
66502014-04-22 David S. Miller <davem@davemloft.net>
6651
6652 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6653 (struct sigaction): New struct member __glibc_reserved0, change
6654 type of sa_flags to int.
6655
ea6c92f3
YZ
66562014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6657
6658 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6659 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6660
766c4a36
SP
66612014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6662
6663 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6664 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6665
140cc7ab
VK
66662014-04-22 Will Newton <will.newton@linaro.org>
6667 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6668
6669 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6670 (__longjmp): Add longjmp and longjmp_target SystemTap
6671 probes.
6672 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6673 (__sigsetjmp): Add setjmp SystemTap probe.
6674
c54e5cf7
CD
66752014-04-17 Carlos O'Donell <carlos@redhat.com>
6676
6677 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6678 match manual order.
6679
75ffb047
AZ
66802014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6681
6682 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6683
2cd925f7
AZ
6684 * sysdeps/powerpc/fpu/fenv_private.h
6685 (libc_feholdexcept_setroundl_ctx): Define to
6686 libc_feholdexcept_setround_ppc_ctx.
6687 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6688 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6689 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6690 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6691
39e6cd8d
IB
66922014-04-17 Ian Bolton <ian.bolton@arm.com>
6693
6694 * sysdeps/aarch64/math-tests.h: New file.
6695
f9281df9
SY
66962014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6697
6698 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6699 New.
6700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6701 Check and set bit_AVX2_Usable.
6702 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6703 macro.
6704 (bit_AVX2): Likewise.
6705 (index_AVX2_Usable): Likewise.
6706 (CPUID_AVX2): Likewise.
6707 (HAS_AVX2): Likewise.
6708
37d35007
WN
67092014-04-17 Will Newton <will.newton@linaro.org>
6710
7c677662
WN
6711 * manual/setjmp.texi (System V contexts): Add note that
6712 calling setcontext on a context created by a call to a
6713 signal handler is undefined. Update text to note that
6714 setcontext from a signal handler is possible but not
6715 recommended.
6716
37d35007 6717 [BZ #16629]
e04a4e9d
WN
6718 * stdlib/tst-setcontext.c: Include signal.h.
6719 (main): Check that the signal stack before and
6720 after swapcontext is the same.
6721
37d35007
WN
6722 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6723 Re-implement to restore registers in user code and avoid
6724 rt_sigreturn system call.
6725
423a7160
W
67262014-04-17 Wilco <wdijkstr@arm.com>
6727
6728 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6729 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6730 * math/test-fenv.c: Skip exception trap tests on targets which only
6731 support non-stop mode.
6732
bc93ab29
IB
67332014-04-17 Ian Bolton <ian.bolton@arm.com>
6734 Wilco Dijkstra <wilco.dijkstra@arm.com>
6735
6736 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6737 (libc_feholdsetround_aarch64_ctx)
6738 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6739 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6740 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6741 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6742 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6743 (libc_feresetround_noexl_ctx): Define.
6744
95fc5fa3
RH
67452014-04-16 Richard Henderson <rth@redhat.com>
6746
ddb04724
RH
6747 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6748
d77c0899
RH
6749 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6750 unwind tables.
6751
a3df56fc
RH
6752 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6753 const from the non-libc, non-ldso copy.
6754
95fc5fa3
RH
6755 * sysdeps/alpha/libm-test-ulps: Regenerate.
6756
7e0b6763
IB
67572014-04-16 Ian Bolton <ian.bolton@arm.com>
6758 Wilco Dijkstra <wilco.dijkstra@arm.com>
6759
6760 * sysdeps/aarch64/fpu/math_private.h: New file.
6761
a9ea2e0c
MS
67622014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6763
6764 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6765
ea8ba7cd
IZ
67662014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6767
7e54fd04 6768 [BZ #16275]
ea8ba7cd
IZ
6769 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6770 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6772 Intel MPX bound registers before _dl_profile_fixup.
6773 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6774 registers after _dl_profile_fixup. Save and restore bound
6775 registers bnd0/bnd1 when calling _dl_call_pltexit.
6776 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6777 (LR_BND_OFFSET): Likewise.
6778 (LRV_BND0_OFFSET): Likewise.
6779 (LRV_BND1_OFFSET): Likewise.
6780
9f2a4fbc
ST
67812014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6782
6783 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6784 to...
6785 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6786 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6787 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6788 fields.
9f2a4fbc 6789
fd15a59b
ST
67902014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6791
6792 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6793
f19dfa0a
SL
67942014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6795
6796 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6797
4fa8bc3b
SL
67982014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6799
6800 [BZ #14770]
6801 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6802 * sysdeps/s390/configure: Regenerate.
6803
8ea587db
SL
6804 [BZ #16824]
6805 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6806 Set round-to-nearest internally to reduce error accumulation.
6807
aa5f0ff1
AM
68082014-04-16 Alan Modra <amodra@gmail.com>
6809
6810 [BZ #16740]
6811 [BZ #16619]
6812 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6813 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6814 * NEWS: Update fixed bug list.
aa5f0ff1 6815
bb9c256f
SP
68162014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6817
6818 * benchtests/Makefile: Depend on libraries in build directory.
6819 (bench-math): Separate out math tests.
6820 (bench-pthread): Separate out pthread tests.
6821 (bench): Include math and pthread tests.
6822
f737dfd0
CD
68232014-04-14 Carlos O'Donell <carlos@redhat.com>
6824
6825 [BZ #16831]
6826 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6827 _dl_debug_initialize.
6828
0699f766
CD
6829 * configure.ac: Remove SELinux header check.
6830 * configure: Regenerate.
6831 * nscd/selinux.c (perms): Array of const char* to permission names.
6832 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6833 default policy. Call string_to_security_class and string_to_av_perm to
6834 translate strings. Enforce default policy and call avs_has_perm with
6835 results of translated strings.
6836
809bd45f
DM
68372014-04-13 David S. Miller <davem@davemloft.net>
6838
6839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6840
89e691f2
AM
68412014-04-12 Allan McRae <allan@archlinux.org>
6842
6843 [BZ #16838]
6844 * manual/string.texi (Collation Functions): Fix qsort argument
6845 order in example.
6846 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6847
9c9daaeb
CM
68482014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6849
6850 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6851 Make the test a no-op if there are no exceptions defined.
6852
95561fb9
PP
68532014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6854
fe8d072c 6855 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6856 enable-hardcoded-path-in-tests
6857
970c602a
WN
68582014-04-11 Will Newton <will.newton@linaro.org>
6859
6860 * benchtests/Makefile (extra-objs): Add json-lib.o.
6861 (bench-func): Tidy up JSON output.
6862 * benchtests/bench-skeleton.c: Include json-lib.h.
6863 (main): Use JSON library functions to do output of
6864 benchmark results.
6865 * benchtests/bench-timing-type.c (main): Output the
6866 timing type simply, leaving formatting to the user.
6867 * benchtests/json-lib.c: New file.
6868 * benchtests/json-lib.h: Likewise.
6869
36875b06
TR
68702014-04-11 Torvald Riegel <triegel@redhat.com>
6871
6872 [BZ #15215]
6873 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6874 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6875 memory barriers. Add comments.
6876 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6877 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6878 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6879 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6880 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6881 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6882
579db35a
SL
68832014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6884
6885 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6886 * sysdeps/s390/s390-64/configure.ac: ... this ...
6887 * sysdeps/s390/configure.ac: ... to here.
6888 * sysdeps/s390/s390-32/configure: Delete file.
6889 * sysdeps/s390/s390-64/configure: Delete file.
6890 * sysdeps/s390/configure: Regenerate.
6891
c12e9f37
JAPH
68922014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6893
6894 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6895
439bda32
WN
68962014-04-11 Will Newton <will.newton@linaro.org>
6897
6898 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6899 to zero if it is not defined elsewhere. (mtrim): Test
6900 the value of MALLOC_DEBUG with #if rather than #ifdef.
6901
6a5d6ea1
TR
69022014-04-10 Torvald Riegel <triegel@redhat.com>
6903
6904 * benchtests/pthread_once-inputs: New file.
6905 * benchtests/pthread_once-source.c: New file.
6906 * benchtests/README: Update documentation.
6907
a4c75cfd
IZ
69082014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6909 H.J. Lu <hongjiu.lu@intel.com>
6910
7e54fd04 6911 [BZ #16275]
a4c75cfd
IZ
6912 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6913 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6914 * sysdeps/x86_64/configure: Regenerated.
6915 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6916 macro.
6917 (REGISTER_SAVE_RAX): Likewise.
6918 (REGISTER_SAVE_RCX): Likewise.
6919 (REGISTER_SAVE_RDX): Likewise.
6920 (REGISTER_SAVE_RSI): Likewise.
6921 (REGISTER_SAVE_RDI): Likewise.
6922 (REGISTER_SAVE_R8): Likewise.
6923 (REGISTER_SAVE_R9): Likewise.
6924 (REGISTER_SAVE_BND0): Likewise.
6925 (REGISTER_SAVE_BND1): Likewise.
6926 (REGISTER_SAVE_BND2): Likewise.
6927 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6928 bound registers when calling _dl_fixup.
6929
27822ce6
AZ
69302014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6931
6932 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6933 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6934 of its definition.
27822ce6
AZ
6935 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6936 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6937 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6938 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6939 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6940 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6941 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6942
a88ddc90
PTB
69432014-04-09 Peter Brett <peter@peter-b.co.uk>
6944
6945 [BZ #15514]
6946 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6947 pathconf(_PC_NAME_MAX).
6948
01f8eac2
AZ
69492014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6950
6951 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6952 Remove macro usage.
6953 (__PTHREAD_SPINS): Move definition to ...
6954 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6955 (__PTHREAD_SPINS): ... here.
6956 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6957 (__PTHREAD_SPIN): Likewise.
6958 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6959 (__PTHREAD_SPIN): Likewise.
6960 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6961 (__PTHREAD_SPIN): Likewise.
6962 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6963 (__PTHREAD_SPIN): Likewise.
6964 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6965 (__PTHREAD_SPIN): Likewise.
6966 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6967 (__PTHREAD_SPIN): Likewise.
6968 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6969 (__PTHREAD_SPIN): Likewise.
6970 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6971 (__PTHREAD_SPIN): Likewise.
6972 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6973 (__PTHREAD_SPIN): Likewise.
6974 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6975 (__PTHREAD_SPIN): Likewise.
6976 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6977 (__PTHREAD_SPIN): Likewise.
6978 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6979 (__PTHREAD_SPIN): Likewise.
6980
de21c33c
AZ
6981 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6982 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6983 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6984 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6985 imply folder.
6986 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6987 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6988 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6989 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6990 correct imply path.
6991 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6992 strlen symbol for non multi-arch builds.
6993 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6994 missing hidden_def and weak_alias.
6995
862c472e
CD
69962014-04-08 Carlos O'Donell <carlos@redhat.com>
6997
6998 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6999
8667f90e
WN
70002014-04-07 Will Newton <will.newton@linaro.org>
7001
7002 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7003 and contents. [!_LIBC] Remove #ifndef and contents.
7004 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7005 * string/memccpy.c (__memccpy): Use ANSI prototype.
7006 * string/memfrob.c (memfrob): Likewise.
7007 * string/strcoll.c (STRCOLL): Likewise.
7008 * string/strlen.c (strlen): Likewise.
7009 * string/strtok.c (STRTOK): Likewise.
7010 * string/strcat.c: Remove unused #include of memcopy.h.
7011 (strcat): Use ANSI prototype.
7012 * string/strchr.c: Remove unused #include of memcopy.h.
7013 (strchr): Use ANSI prototype.
7014 * string/strcmp.c: Remove unused #include of memcopy.h.
7015 (strcmp): Use ANSI prototype.
7016 * string/strcpy.c: Remove unused #include of memcopy.h.
7017 (strcpy): Use ANSI prototype.
7018
7ffa9423
AZ
70192014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7020
7021 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7022 * config.make.in (config-extra-cppflags): Set it from
7023 libc_extra_cppflags.
7024 * configure.ac (libc_extra_cflags): Make it accumulate over
7025 configure fragments.
7026 (libc_extra_cppflags): New flag.
7027 * configure. Regenerate.
7028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
7029 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7030 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7032
8bd70862
AZ
7033 [BZ #16815]
7034 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7035 result for FE_DOWNWARD rounding mode.
7036 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7037 Likewise.
7038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7039
d42f3448
CM
70402014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7041
7042 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7043 in function argument name.
7044
1c21d115
DS
70452014-04-03 David Svoboda <svoboda@cert.org>
7046
7047 [BZ #5666]
7048 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7049 explicitly.
7050
fcccd512
RM
70512014-04-03 Roland McGrath <roland@hack.frob.com>
7052
7053 * elf/dl-unmap-segments.h: New file.
7054 * sysdeps/generic/ldsodefs.h
7055 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7056 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7057 * elf/dl-fptr.c: Likewise.
7058 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7059 * sysdeps/aarch64/tlsdesc.c: Likewise.
7060 * sysdeps/arm/tlsdesc.c: Likewise.
7061 * sysdeps/i386/tlsdesc.c: Likewise.
7062 * sysdeps/tile/dl-runtime.c: Likewise.
7063 * sysdeps/x86_64/tlsdesc.c: Likewise.
7064 * elf/dl-load.h: New file.
7065 * elf/dl-load.c: Include it.
7066 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7067 Macros moved to dl-load.h.
7068 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7069 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7070 Use _dl_unmap_segments in place of __munmap.
7071 Break out segment-mapping loop into ...
7072 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7073
f6488e2b
WN
70742014-04-03 Will Newton <will.newton@linaro.org>
7075
7076 * elf/dl-lookup.c (do_lookup_x): Remove comment
7077 referring to nested function and move variable
7078 declarations down to before first use.
7079
6f05bafe
JM
70802014-04-02 Joseph Myers <joseph@codesourcery.com>
7081
a84e78c8
JM
7082 [BZ #16799]
7083 [BZ #16800]
7084 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7085 with 0 numerator.
7086 * math/s_catanf.c (__catanf): Likewise.
7087 * math/s_catanh.c (__catanh): Likewise.
7088 * math/s_catanhf.c (__catanhf): Likewise.
7089 * math/s_catanhl.c (__catanhl): Likewise.
7090 * math/s_catanl.c (__catanl): Likewise.
7091 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7092 by positive zero when computing -Inf result.
7093 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7094 (catanh_test): Likewise.
7095 * sysdeps/i386/fpu/libm-test-ulps: Update.
7096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7097
6f05bafe
JM
7098 [BZ #16789]
7099 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7100 instead of using underflowing value in computing result.
7101 * math/s_clog10.c (__clog10): Likewise.
7102 * math/s_clog10f.c (__clog10f): Likewise.
7103 * math/s_clog10l.c (__clog10l): Likewise.
7104 * math/s_clogf.c (__clogf): Likewise.
7105 * math/s_clogl.c (__clogl): Likewise.
7106 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7107 (clog10_test): Likewise.
7108 * sysdeps/i386/fpu/libm-test-ulps: Update.
7109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7110
b0abbc21
AM
71112014-04-02 Alan Modra <amodra@gmail.com>
7112
7113 [BZ #16739]
7114 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7115 output when value is near a power of two. Use int64_t for lx and
7116 remove casts. Use decimal rather than hex exponent constants.
7117 Don't use long double multiplication when double will suffice.
7118 * math/libm-test.inc (nextafter_test_data): Add tests.
7119 * NEWS: Add 16739 and 16786 to bug list.
7120
af6b1797
AM
7121 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7122
483818d7
AM
7123 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7124
f6c55796
WN
71252014-04-01 Will Newton <will.newton@linaro.org>
7126
7127 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7128 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7129
13f7fe35
FW
71302014-04-01 Florian Weimer <fweimer@redhat.com>
7131
7132 [BZ #13347]
7133 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7134 * nptl/tst-setuid2.c: New file.
7135 * nptl/Makefile (xtests): Add tst-setuid2.
7136
c859b32e
AM
71372014-04-01 Alan Modra <amodra@gmail.com>
7138
7139 [BZ #16786]
7140 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7141
54fa2475
JM
71422014-03-31 Joseph Myers <joseph@codesourcery.com>
7143
8795b4a4
JM
7144 [BZ #6803]
7145 [BZ #6804]
7146 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7147 set errno as appropriate.
7148 * math/w_scalbf.c (__scalbf): Likewise.
7149 * math/w_scalbl.c (__scalbl): Likewise.
7150 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7151 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7152 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7153 Add more NaN tests.
7154
54fa2475
JM
7155 [BZ #16349]
7156 * math/w_atan2.c: Include <errno.h>.
7157 (__atan2): Set errno for result underflowing to zero.
7158 * math/w_atan2f.c: Include <errno.h>.
7159 (__atan2f): Set errno for result underflowing to zero.
7160 * math/w_atan2l.c: Include <errno.h>.
7161 (__atan2l): Set errno for result underflowing to zero.
7162 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7163 tests.
7164 * math/auto-libm-test-out: Regenerated.
7165
757d9dd5
AZ
71662014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7167
7168 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7169 Encode instruction correctly in little endian.
7170 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7171 Likewise.
7172 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7173 Likewise.
7174 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7175 Likewise.
7176 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7177 Likewise.
7178
d7a68734
JM
71792014-03-31 Joseph Myers <joseph@codesourcery.com>
7180
47c5adeb
JM
7181 [BZ #9894]
7182 * sysdeps/unix/sysv/linux/kernel-features.h
7183 [__sparc__ && !__arch64__ && !__sparc_v9__]
7184 (__ASSUME_SET_ROBUST_LIST): Do not define.
7185 [__sparc__ && !__arch64__ && !__sparc_v9__]
7186 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7187 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7188 Likewise.
7189 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7190 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7191 (__ASSUME_REQUEUE_PI): Likewise.
7192 (__ASSUME_SET_ROBUST_LIST): Likewise.
7193 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7194 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7195 Undefine.
7196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7197 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7198 Likewise.
7199 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7200 Likewise.
7201 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7202 Likewise.
7203 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7204 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7205 Undefine.
7206 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7207 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7208 Likewise.
7209
d7a68734
JM
7210 [BZ #16648]
7211 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7212 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7213 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7214
c760f5c2
WN
72152014-03-31 Will Newton <will.newton@linaro.org>
7216
7217 * benchtests/Makefile (bench): Add ffs and ffsll to list
7218 of tests.
7219 * benchtests/ffs-inputs: New file.
7220 * benchtests/ffsll-inputs: Likewise.
7221
ea6029b1
JM
72222014-03-29 Joseph Myers <joseph@codesourcery.com>
7223
7224 [BZ #16770]
7225 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7226 too large before casting to int.
7227 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7228 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7229 * math/libm-test.inc (scalb_test_data): Add more tests.
7230
cf806aff
SP
72312014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7232
56737508
SP
7233 * benchtests/Makefile (DETAILED_OPT): New make option.
7234 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7235 set.
7236 * benchtests/bench-skeleton.c: Include stdbool.h.
7237 (main): Store and print timings per input.
7238 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7239 member to each argument value.
7240 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7241 (_print_arg_data): Initialize per-input timing to 0.
7242
cb5e4aad
SP
7243 * benchtests/Makefile (timing-type): New binary.
7244 (bench-clean): Also remove bench-timing-type.
7245 (bench): New target for timing-type.
7246 (bench-func): Print output in JSON format.
7247 * benchtests/bench-skeleton.c (main): Print output in JSON
7248 format.
7249 * benchtests/bench-timing-type.c: New file.
7250 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7251 (TIMING_PRINT_STATS): Remove.
7252 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7253 name separately.
7254
cf806aff
SP
7255 * benchtests/bench-modf.c: Remove.
7256 * benchtests/modf-inputs: New inputs file.
7257
289e0779
JM
72582014-03-28 Joseph Myers <joseph@codesourcery.com>
7259
7260 [BZ #16362]
7261 * math/s_clog10.c (M_PI_LOG10E): New macro.
7262 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7263 imaginary parts are 0.
7264 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7265 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7266 imaginary parts are 0.
7267 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7268 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7269 imaginary parts are 0.
7270 * math/libm-test.inc (clog10_test_data): Update expected results
7271 for when real and imaginary parts are 0.
7272
277ae3f1
PP
72732014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7274
7275 * elf/dl-load.c: Finish conversion of __builtin_expect into
7276 __glibc_{un}likely.
7277
03a7091f
JM
72782014-03-27 Joseph Myers <joseph@codesourcery.com>
7279
7280 [BZ #16348]
7281 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7282 1+x for argument with exponent below -67.
7283 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7284 Likewise.
7285 * math/auto-libm-test-in: Add more tests of exp.
7286 * math/auto-libm-test-out: Regenerated.
7287
ea7d8b95
SP
72882014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7289
dd3022d7
SP
7290 [BZ #16759]
7291 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7292 (nscd_getnetgrent): Use it.
7293
ea7d8b95
SP
7294 [BZ #16760]
7295 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7296 of stpcpy.
7297
df5b85da
AK
72982014-03-27 Andi Kleen <ak@linux.intel.com>
7299
57f41c40
AS
7300 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7301 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7302 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7303 (lll_robust_unlock): Remove out of line section. Use cfi
7304 intrinsics.
df5b85da 7305 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7306 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7307 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7308 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7309 (lll_robust_unlock): Remove out of line section. Use cfi
7310 intrinsics.
df5b85da
AK
7311 (LLL_STUB_UNWIND_INFO*): Remove.
7312
fbd6b5a4
SP
73132014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7314
7315 [BZ #16758]
7316 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7317 blank values.
7318
1b26b855
PP
73192014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7320
7321 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7322
9be36fb8
JM
73232014-03-26 Joseph Myers <joseph@codesourcery.com>
7324
7325 [BZ #16198]
7326 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7327 fnstenv.
7328 * math/test-fenv-preserve.c: New file.
7329 * math/Makefile (tests): Add test-fenv-preserve.
7330
60a2f3c1
WN
73312014-03-26 Will Newton <will.newton@linaro.org>
7332
7333 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7334
a5e5f1e2
RM
73352014-03-25 Roland McGrath <roland@hack.frob.com>
7336
7337 * scripts/versionlist.awk: Partition the version sets and emit all
7338 GLIBC_* (sorted) before all others (sorted).
7339
00f4012a
JM
73402014-03-25 Joseph Myers <joseph@codesourcery.com>
7341
7342 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7343 GLIBC_2.2.5 version.
7344
7bc5a741
AZ
73452014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7346
7347 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7348 calls.
7349
7578473b
AZ
7350 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7351 previous change.
7352
f3f1dab3
AZ
7353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7354
6da36183
AS
73552014-03-25 Andreas Schwab <schwab@suse.de>
7356
7357 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7358 label to be used after in6ailist is initialized.
7359
f3f1dab3 73602014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7361
7578473b 7362 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7363 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7364
046651c1
JM
73652014-03-25 Joseph Myers <joseph@codesourcery.com>
7366
7367 [BZ #16357]
7368 [BZ #16599]
7369 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7370 min_plus_half.
7371 (fp_formats): Update initializers.
7372 (init_fp_formats): Initialize new field.
7373 (output_for_one_input_case): Allow underflow for results up to
7374 min_plus_half.
7375 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7376 * math/auto-libm-test-in: Don't mark some underflows from asin and
7377 atanh as spurious.
7378 * math/auto-libm-test-out: Regenerated.
7379 * sysdeps/i386/fpu/libm-test-ulps: Update.
7380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7381
003e49ed
AS
73822014-03-25 Andreas Schwab <schwab@suse.de>
7383
7384 * libio/Makefile (tst-ftell-partial-wide-ENV)
7385 (tst-ftell-active-handler-ENV): Define.
7386
de031874
SL
73872014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7388
7389 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7390
55a81e3b
PP
73912014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7392
7393 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7394
f3426898
JM
73952014-03-24 Joseph Myers <joseph@codesourcery.com>
7396
7397 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7398 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7399 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7400
a42faf59
PP
74012014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7402
7403 [BZ #16634]
a42faf59 7404 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7405 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7406 (open_path): Change from boolean 'secure' to complete flag 'mode'
7407 (_dl_map_object): Adjust.
a42faf59
PP
7408 * elf/Makefile (tests): Add tst-dlopen-aout.
7409 * elf/tst-dlopen-aout.c: New test.
7410
50936127
SL
74112014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7412
7413 [BZ #16714]
7414 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7415 (struct stat): Rename member pad0 to __glibc_reserved0.
7416
26011b5c
SL
7417 [BZ #16712]
7418 * sysdeps/s390/s390-32/bits/wordsize.h
7419 (__WORDSIZE32_SIZE_ULONG): New define.
7420 * sysdeps/s390/s390-64/bits/wordsize.h
7421 (__WORDSIZE32_SIZE_ULONG): Likewise.
7422 * sysdeps/generic/stdint.h (SIZE_MAX):
7423 Define as UL if __WORDSIZE32_SIZE_ULONG.
7424
a2d86bf1
SL
7425 [BZ #16713]
7426 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7427 (__glibc_reserved0): New variable.
7428 (sa_flags): Change type to int.
7429
78b6eebc
SL
7430 * posix/Makefile (before-compile): Use += before-compile instead
7431 of a :=.
7432
f1399b5a
SL
7433 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7434 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7435
a071766e
AS
74362014-03-20 Andreas Schwab <schwab@suse.de>
7437
7438 [BZ #16743]
7439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7440 non-matching result from nscd.
7441
27c673b8
SP
74422014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7443
7444 * scripts/bench.py: Moved to ...
7445 * benchtests/scripts/bench.py: ... here.
7446 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7447
44152e4b
AS
74482014-03-24 Andreas Schwab <schwab@suse.de>
7449
7450 [BZ #16002]
7451 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7452 alloca_account and account alloca use for struct in6ailist.
7453
b376a11a
JM
74542014-03-24 Joseph Myers <joseph@codesourcery.com>
7455
7456 [BZ #16284]
7457 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7458 rounding mode to recompute results that overflow to infinity or
7459 underflow to zero.
7460 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7461 bug 16284.
7462 * math/auto-libm-test-out: Regenerated.
7463 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7464 (ccosh_test): Likewise.
7465 (csin_test_data): Use plus_oflow.
7466 (csin_test): Use ALL_RM_TEST.
7467 (csinh_test_data): Use plus_oflow.
7468 (csinh_test): Use ALL_RM_TEST.
7469 * sysdeps/i386/fpu/libm-test-ulps: Update.
7470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7471
f7be7376
JM
74722014-03-21 Joseph Myers <joseph@codesourcery.com>
7473
1ca2d03e
JM
7474 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7475 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7476 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7477
f7be7376
JM
7478 [BZ #16731]
7479 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7480 when x - 1 is zero.
7481 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7482 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7483 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7484 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7485 argument is 1.
7486 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7487 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7488 zero.
7489 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7490 * sysdeps/i386/fpu/libm-test-ulps: Update.
7491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7492
fdf4534d
SP
74932014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7494
df26ea53
SP
7495 * scripts/bench.pl: Remove file.
7496 * scripts/bench.py: New benchmark script.
7497 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7498 * benchtests/README: Mention python dependency.
7499 * scripts/pylintrc: New file.
7500 * scripts/pylint: New file.
7501
fdf4534d
SP
7502 * bits/mathdef.h: Use #ifdef instead of #if.
7503 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7504 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7505 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7506 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7507 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7508 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7509
6f23d093
AZ
75102014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7511 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7512
7513 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7515 and strpbrk-ppc64 objects.
7516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7517 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7518 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7519 multiarch strpbrk for POWER7.
7520 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7521 multiarch strpbrk for PPC64.
7522 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7523 ifunc selector.
7524 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7525 strpbrk for POWER7.
7526
8c92dfff
JM
75272014-03-20 Joseph Myers <joseph@codesourcery.com>
7528
7529 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7530 (atan_test): Likewise.
7531 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7532 (atanh_test): Use ALL_RM_TEST.
7533 (atan2_test_data): Likewise.
7534 (cabs_test): Likewise.
7535 (cacosh_test): Likewise.
7536 (carg_test): Likewise.
7537 (casin_test): Likewise.
7538 (casinh_test): Likewise.
7539 (cbrt_test): Likewise.
7540 (csqrt_test): Likewise.
7541 (erf_test): Likewise.
7542 (erfc_test): Likewise.
7543 (pow10_test): Likewise.
7544 (exp2_test): Likewise.
7545 (hypot_test): Likewise.
7546 (j0_test): Likewise.
7547 (j1_test): Likewise.
7548 (lgamma_test): Likewise.
7549 (gamma_test): Likewise.
7550 (sincos_test): Likewise.
7551 (tanh_test): Likewise.
7552 (y0_test): Likewise.
7553 (y1_test): Likewise.
7554 * sysdeps/i386/fpu/libm-test-ulps: Update.
7555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7556
6eaf95cb
AZ
75572014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7558
a387428c
SP
7559 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7561 and strcspn-ppc64 objects.
7562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7563 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7564 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7565 multiarch strcspn for POWER7.
7566 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7567 multiarch strcspn for PPC64.
7568 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7569 ifunc selector.
7570 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7571 strcspn for POWER7.
7572
ae3a5dff
JM
75732014-03-20 Joseph Myers <joseph@codesourcery.com>
7574
7575 * math/gen-libm-test.pl (generate_testfile): Expect only function
7576 name as argument to AUTO_TESTS_* and pass results for all rounding
7577 modes to parse_args.
7578 (parse_auto_input): Separate inputs of automatic tests from
7579 outputs before storing in %auto_tests.
7580 * math/libm-test.inc (acos_test_data): Update call to
7581 AUTO_TESTS_f_f.
7582 (acos_test): Use ALL_RM_TEST.
7583 (acos_tonearest_test_data): Remove.
7584 (acos_test_tonearest): Likewise.
7585 (acos_towardzero_test_data): Likewise.
7586 (acos_test_towardzero): Likewise.
7587 (acos_downward_test_data): Likewise.
7588 (acos_test_downward): Likewise.
7589 (acos_upward_test_data): Likewise.
7590 (acos_test_upward): Likewise.
7591 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7592 (asin_test_data): Likewise.
7593 (asin_test): Use ALL_RM_TEST.
7594 (asin_tonearest_test_data): Remove.
7595 (asin_test_tonearest): Likewise.
7596 (asin_towardzero_test_data): Likewise.
7597 (asin_test_towardzero): Likewise.
7598 (asin_downward_test_data): Likewise.
7599 (asin_test_downward): Likewise.
7600 (asin_upward_test_data): Likewise.
7601 (asin_test_upward): Likewise.
7602 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7603 (atan_test_data): Likewise.
7604 (atanh_test_data): Likewise.
7605 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7606 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7607 (carg_test_data): Likewise.
7608 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7609 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7610 (ccosh_test_data): Likewise.
7611 (cexp_test_data): Likewise.
7612 (clog_test_data): Likewise.
7613 (clog10_test_data): Likewise.
7614 (cos_test_data): Update call to AUTO_TESTS_f_f.
7615 (cos_test): Use ALL_RM_TEST.
7616 (cos_tonearest_test_data): Remove.
7617 (cos_test_tonearest): Likewise.
7618 (cos_towardzero_test_data): Likewise.
7619 (cos_test_towardzero): Likewise.
7620 (cos_downward_test_data): Likewise.
7621 (cos_test_downward): Likewise.
7622 (cos_upward_test_data): Likewise.
7623 (cos_test_upward): Likewise.
7624 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7625 (cosh_test): Use ALL_RM_TEST.
7626 (cosh_tonearest_test_data): Remove.
7627 (cosh_test_tonearest): Likewise.
7628 (cosh_towardzero_test_data): Likewise.
7629 (cosh_test_towardzero): Likewise.
7630 (cosh_downward_test_data): Likewise.
7631 (cosh_test_downward): Likewise.
7632 (cosh_upward_test_data): Likewise.
7633 (cosh_test_upward): Likewise.
7634 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7635 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7636 (ctan_test_data): Likewise.
7637 (ctan_test): Use ALL_RM_TEST.
7638 (ctan_tonearest_test_data): Remove.
7639 (ctan_test_tonearest): Likewise.
7640 (ctan_towardzero_test_data): Likewise.
7641 (ctan_test_towardzero): Likewise.
7642 (ctan_downward_test_data): Likewise.
7643 (ctan_test_downward): Likewise.
7644 (ctan_upward_test_data): Likewise.
7645 (ctan_test_upward): Likewise.
7646 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7647 (ctanh_test): Use ALL_RM_TEST.
7648 (ctanh_tonearest_test_data): Remove.
7649 (ctanh_test_tonearest): Likewise.
7650 (ctanh_towardzero_test_data): Likewise.
7651 (ctanh_test_towardzero): Likewise.
7652 (ctanh_downward_test_data): Likewise.
7653 (ctanh_test_downward): Likewise.
7654 (ctanh_upward_test_data): Likewise.
7655 (ctanh_test_upward): Likewise.
7656 (erf_test_data): Update call to AUTO_TESTS_f_f.
7657 (erfc_test_data): Likewise.
7658 (exp_test_data): Likewise.
7659 (exp_test): Use ALL_RM_TEST.
7660 (exp_tonearest_test_data): Remove.
7661 (exp_test_tonearest): Likewise.
7662 (exp_towardzero_test_data): Likewise.
7663 (exp_test_towardzero): Likewise.
7664 (exp_downward_test_data): Likewise.
7665 (exp_test_downward): Likewise.
7666 (exp_upward_test_data): Likewise.
7667 (exp_test_upward): Likewise.
7668 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7669 (exp10_test): Use ALL_RM_TEST.
7670 (exp10_tonearest_test_data): Remove.
7671 (exp10_test_tonearest): Likewise.
7672 (exp10_towardzero_test_data): Likewise.
7673 (exp10_test_towardzero): Likewise.
7674 (exp10_downward_test_data): Likewise.
7675 (exp10_test_downward): Likewise.
7676 (exp10_upward_test_data): Likewise.
7677 (exp10_test_upward): Likewise.
7678 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7679 (expm1_test_data): Likewise.
7680 (expm1_test): Use ALL_RM_TEST.
7681 (expm1_tonearest_test_data): Remove.
7682 (expm1_test_tonearest): Likewise.
7683 (expm1_towardzero_test_data): Likewise.
7684 (expm1_test_towardzero): Likewise.
7685 (expm1_downward_test_data): Likewise.
7686 (expm1_test_downward): Likewise.
7687 (expm1_upward_test_data): Likewise.
7688 (expm1_test_upward): Likewise.
7689 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7690 (fma_test): Use ALL_RM_TEST.
7691 (fma_towardzero_test_data): Remove.
7692 (fma_test_towardzero): Likewise.
7693 (fma_downward_test_data): Likewise.
7694 (fma_test_downward): Likewise.
7695 (fma_upward_test_data): Likewise.
7696 (fma_test_upward): Likewise.
7697 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7698 (j0_test_data): Update call to AUTO_TESTS_f_f.
7699 (j1_test_data): Likewise.
7700 (jn_test_data): Update call to AUTO_TESTS_if_f.
7701 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7702 (log_test_data): Update call to AUTO_TESTS_f_f.
7703 (log10_test_data): Likewise.
7704 (log1p_test_data): Likewise.
7705 (log2_test_data): Likewise.
7706 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7707 (pow_tonearest_test_data): Likewise.
7708 (sin_test_data): Update call to AUTO_TESTS_f_f.
7709 (sin_test): Use ALL_RM_TEST.
7710 (sin_tonearest_test_data): Remove.
7711 (sin_test_tonearest): Likewise.
7712 (sin_towardzero_test_data): Likewise.
7713 (sin_test_towardzero): Likewise.
7714 (sin_downward_test_data): Likewise.
7715 (sin_test_downward): Likewise.
7716 (sin_upward_test_data): Likewise.
7717 (sin_test_upward): Likewise.
7718 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7719 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7720 (sinh_test): Use ALL_RM_TEST.
7721 (sinh_tonearest_test_data): Remove.
7722 (sinh_test_tonearest): Likewise.
7723 (sinh_towardzero_test_data): Likewise.
7724 (sinh_test_towardzero): Likewise.
7725 (sinh_downward_test_data): Likewise.
7726 (sinh_test_downward): Likewise.
7727 (sinh_upward_test_data): Likewise.
7728 (sinh_test_upward): Likewise.
7729 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7730 (sqrt_test): Use ALL_RM_TEST.
7731 (sqrt_tonearest_test_data): Remove.
7732 (sqrt_test_tonearest): Likewise.
7733 (sqrt_towardzero_test_data): Likewise.
7734 (sqrt_test_towardzero): Likewise.
7735 (sqrt_downward_test_data): Likewise.
7736 (sqrt_test_downward): Likewise.
7737 (sqrt_upward_test_data): Likewise.
7738 (sqrt_test_upward): Likewise.
7739 (tan_test_data): Update call to AUTO_TESTS_f_f.
7740 (tan_test): Use ALL_RM_TEST.
7741 (tan_tonearest_test_data): Remove.
7742 (tan_test_tonearest): Likewise.
7743 (tan_towardzero_test_data): Likewise.
7744 (tan_test_towardzero): Likewise.
7745 (tan_downward_test_data): Likewise.
7746 (tan_test_downward): Likewise.
7747 (tan_upward_test_data): Likewise.
7748 (tan_test_upward): Likewise.
7749 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7750 (tgamma_test_data): Likewise.
7751 (y0_test_data): Likewise.
7752 (y1_test_data): Likewise.
7753 (yn_test_data): Update call to AUTO_TESTS_if_f.
7754 (main): Do not call removed functions.
7755
d71aeee8
JM
77562014-03-19 Joseph Myers <joseph@codesourcery.com>
7757
7758 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7759 (ldexp_test_data): Remove.
7760 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7761 scalbn_test_data.
7762 (scalb_test): Use ALL_RM_TEST.
7763
baaf1ded
AS
77642014-03-19 Andreas Schwab <schwab@suse.de>
7765
7766 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7767
b1115e91
JM
77682014-03-19 Joseph Myers <joseph@codesourcery.com>
7769
7770 [BZ #16649]
7771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7772 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7773 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7774 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7775 (__ASSUME_PREADV): Undefine.
7776 (__ASSUME_PWRITEV): Likewise.
7777
0283ecca
RM
77782014-03-18 Roland McGrath <roland@hack.frob.com>
7779
7d375303
RM
7780 * bits/mman-linux.h: Add comment about non-Linux use.
7781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7782 bits/mman-linux.h resting place.
7783
0283ecca
RM
7784 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7785 * bits/mman-linux.h: ... here.
7786
aebe1003
AZ
77872014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7788
7789 * conform/conformtest.pl: Add standard definition when calling C
7790 preprocessor on data files.
7791 (checknamespace): Remove unused variable.
7792
b29b6bb8
JM
77932014-03-18 Joseph Myers <joseph@codesourcery.com>
7794
7795 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7796 minus_oflow, plus_uflow and minus_uflow in expected results.
7797 * math/libm-test.inc (scalbn_test_data): Add more tests of
7798 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7799 minus_uflow.
7800 (scalbn_test): Use ALL_RM_TEST.
7801 (scalbln_test_data): Add more tests of negative arguments. Use
7802 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7803 (scalbln_test): Use ALL_RM_TEST.
7804
c8f8fa15
RM
78052014-03-18 Roland McGrath <roland@hack.frob.com>
7806
7807 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7808
fede7a5f
WN
78092014-03-18 Will Newton <will.newton@linaro.org>
7810
7811 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7812 inaccurate comment.
7813
80cf0a58
JM
78142014-03-18 Joseph Myers <joseph@codesourcery.com>
7815
7816 * Makerules [!subdir] (check-abi): Exit with error status if a
7817 test failed.
7818
b3620862
JM
78192014-03-17 Joseph Myers <joseph@codesourcery.com>
7820
7821 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7822 for rint. Include results for all rounding modes.
7823 (nearbyint_test): Use ALL_RM_TEST.
7824 (rint_test_data): Include all tests used for nearbyint.
7825
788bba36
WN
78262014-03-17 Will Newton <will.newton@linaro.org>
7827
04ec140a
WN
7828 * nptl/sysdeps/pthread/pthread.h: Revert previous
7829 change.
7830
7579d8d5
WN
7831 * sysdeps/generic/ldsodefs.h: Revert previous
7832 change.
7833
c15cf13a
WN
7834 * libio/genops.c: Revert previous change.
7835 * libio/libioP.h: Likewise.
7836 * stdio-common/vfprintf.c: Likewise.
7837
d0ac1324
WN
7838 * sysdeps/generic/math_private.h: Revert previous
7839 change.
7840
9290130a
WN
7841 * sysdeps/generic/math_private.h: Check whether
7842 HAVE_RM_CTX is defined with #ifdef rather
7843 than #if.
7844
afb466fc
WN
7845 * argp/argp-fmtstream.h: Check whether
7846 __STRICT_ANSI__ is defined with #ifdef rather
7847 than #if.
7848 * argp/argp.h: Likewise.
7849
f7efd7c3
WN
7850 * libio/genops.c: Check whether
7851 _IO_JUMPS_OFFSET is defined with #ifdef rather
7852 than #if.
7853 * libio/libioP.h: Likewise.
7854 * stdio-common/vfprintf.c: Likewise.
7855
53f1bed3
WN
7856 * sysdeps/generic/ldsodefs.h: Check whether
7857 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7858 than #if.
7859
788bba36
WN
7860 * nptl/sysdeps/pthread/pthread.h: Check
7861 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7862 its value.
7863
fcd89ebe
SP
78642014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7865
ae42bbc5
SP
7866 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7867 setting O_APPEND.
7868 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7869 test case.
7870
ea33158c
SP
7871 [BZ #16680]
7872 * libio/fileops.c (_IO_file_open): Seek to end of file but
7873 don't cache the offset.
7874 (get_file_offset): Remove function.
7875 (do_ftell): Use cached offset when available.
7876 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7877 don't cache the offset.
7878 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7879 case.
7880 (do_one_test): Call it.
7881 (do_ftell_test): Fix up expected old offset for a+ mode.
7882 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7883 available.
7884
b1dbb426
SP
7885 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7886 up test status with function return status.
7887 (do_write_test): Likewise.
7888 (do_append_test): Likewise.
7889
fcd89ebe
SP
7890 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7891 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7892 Remove.
7893
9962a2d3
JM
78942014-03-17 Joseph Myers <joseph@codesourcery.com>
7895
7896 * math/gen-libm-test.pl (parse_args): Handle results specified for
7897 each rounding mode separately.
7898 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7899 tests and results from lrint_tonearest_test_data,
7900 lrint_towardzero_test_data, lrint_downward_test_data and
7901 lrint_upward_test_data.
7902 (lrint_test): Use ALL_RM_TEST.
7903 (lrint_tonearest_test_data): Remove.
7904 (lrint_test_tonearest): Likewise.
7905 (lrint_towardzero_test_data): Likewise.
7906 (lrint_test_towardzero): Likewise.
7907 (lrint_downward_test_data): Likewise.
7908 (lrint_test_downward): Likewise.
7909 (lrint_upward_test_data): Likewise.
7910 (lrint_test_upward): Likewise.
7911 (llrint_test_data): Merge in per-rounding-mode tests and results
7912 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7913 llrint_downward_test_data and llrint_upward_test_data.
7914 (llrint_test): Use ALL_RM_TEST.
7915 (llrint_tonearest_test_data): Remove.
7916 (llrint_test_tonearest): Likewise.
7917 (llrint_towardzero_test_data): Likewise.
7918 (llrint_test_towardzero): Likewise.
7919 (llrint_downward_test_data): Likewise.
7920 (llrint_test_downward): Likewise.
7921 (llrint_upward_test_data): Likewise.
7922 (llrint_test_upward): Likewise.
7923 (rint_test_data): Merge in per-rounding-mode tests and results
7924 from rint_tonearest_test_data, rint_towardzero_test_data,
7925 rint_downward_test_data and rint_upward_test_data. Add
7926 per-rounding-mode results for tests not in those arrays.
7927 (rint_test): Use ALL_RM_TEST.
7928 (rint_tonearest_test_data): Remove.
7929 (rint_test_tonearest): Likewise.
7930 (rint_towardzero_test_data): Likewise.
7931 (rint_test_towardzero): Likewise.
7932 (rint_downward_test_data): Likewise.
7933 (rint_test_downward): Likewise.
7934 (rint_upward_test_data): Likewise.
7935 (rint_test_upward): Likewise.
7936 (main): Don't call removed functions.
7937
5006148e
RM
79382014-03-14 Roland McGrath <roland@hack.frob.com>
7939
7940 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7941 "Compiled on ..." crapola. It is anti-useful.
7942
d6fe5e58
JM
79432014-03-14 Joseph Myers <joseph@codesourcery.com>
7944
7945 * scripts/evaluate-test.sh: Handle fourth argument to determine
7946 whether test run should stop on failure.
7947 * Makeconfig (stop-on-test-failure): New variable.
7948 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7949 $(stop-on-test-failure).
7950 * Makefile (tests): Give a summary of results from testing and
7951 exit with failure status if they include an ERROR or FAIL.
7952 (xtests): Likewise.
7953 * manual/install.texi (Configuring and compiling): Mention
7954 stop-on-test-failure=y.
7955 * INSTALL: Regenerated.
7956
498a2233
RM
79572014-03-14 Roland McGrath <roland@hack.frob.com>
7958
22dbc19d
RM
7959 * scripts/versionlist.awk: New file.
7960 * Makerules [$(build-shared) = yes]
7961 (postclean-generated): Add Versions.def, not Versions.def.v and
7962 Versions.def.v.i.
7963 ($(common-objpfx)Versions.def.v.i): Target removed.
7964 ($(common-objpfx)Versions.def): New target.
7965 ($(common-objpfx)Versions.all): Depend on that rather that
7966 $(common-objpfx)Versions.def.v.
7967 * Versions.def: File removed.
7968
498a2233
RM
7969 * Makeconfig (+gccwarn): Add -Wundef.
7970 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7971 a dl-sysdep.h breaking its contract.
7972 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7973 * include/stackinfo.h: New file.
7974 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7975 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7976 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7977 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7978 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7979 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7980 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7981 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7982 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7983 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7984 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7985 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7986 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7987 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7988 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7989
c7de5025
AZ
79902014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7991
7992 [BZ #16707]
7993 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7994 implementation.
7995 * math/libm-test.inc (round_test_data): Add more tests.
7996
98fb27a3
AZ
7997 [BZ #16706]
7998 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7999 implementation.
8000 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8001
374f7f61
AZ
8002 [BZ #16701]
8003 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8004 implementation.
8005 * math/libm-test.inc (ceil_test_data): Add more tests.
8006
4655c291
AZ
8007 * math/libm-test.inc (trunc_test_data): Add more tests related to
8008 BZ#16414.
8009
d7329d4b
RM
80102014-03-14 Roland McGrath <roland@hack.frob.com>
8011
8012 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8013 with #if rather than #ifdef.
8014 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8015
aa4de9ce
L
80162014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8017
8018 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8019 first. Disable AVX-512 GCC support if assembler doesn't support
8020 it.
8021 * sysdeps/x86_64/configure: Regenerated.
8022
2e03fae7
CD
80232014-03-13 Carlos O'Donell <carlos@redhat.com>
8024
8025 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8026 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8027 (__old_pthread_attr_setstack): Likewise.
8028 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8029 [!_STACK_GROWS_DOWN]: Likewise.
8030
43ca83ec
MF
80312014-03-13 Mike Frysinger <vapier@gentoo.org>
8032
8033 * config.make.in (have-bash2): Delete.
8034 * configure.ac (libc_cv_have_bash2): Delete.
8035 * configure: Regenerate.
8036 * elf/Makefile (common-ldd-rewrite): Rename to ...
8037 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8038 (sh-ldd-rewrite): Delete.
8039 (bash-ldd-rewrite): Delete.
8040 (have-bash2): Delete checks.
57f41c40
AS
8041 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8042 ldd-rewrite.
c66e48b4
MF
8043
8044 * config.make.in (have-ksh): Delete.
8045 (KSH): Delete.
8046 * configure.ac (libc_cv_have_ksh): Delete.
8047 * configure: Regenerate.
8048
b93834ef
MF
8049 * elf/Makefile: Delete $(have-ksh) check.
8050 ($(objpfx)sotruss): Change KSH to BASH.
8051 * elf/sotruss.ksh: Rename to ...
8052 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8053 function style to match POSIX. Drop ksh vim mode setting.
8054
f3a4632a
MF
8055 * manual/time.texi (Specifying the Time Zone with TZ): Change
8056 Tuesday to Thursday.
8057
5896c8bd
MF
8058 * debug/tst-longjmp_chk2.c: Update header comment.
8059 (stackoverflow_handler): Add comment. Call assert on pass value.
8060
2d63a517
IZ
80612014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8062
7e54fd04 8063 [BZ #16194]
2d63a517
IZ
8064 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8065 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8066 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8067 (La_x86_64_vector): Add zmm.
8068 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8069 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8070 ($(objpfx)tst-audit10): New target.
8071 ($(objpfx)tst-audit10.out): Likewise.
8072 (tst-audit10-ENV): New.
8073 (AVX512-CFLAGS): Likewise.
8074 (CFLAGS-tst-audit10.c): Likewise.
8075 (CFLAGS-tst-auditmod10a.c): Likewise.
8076 (CFLAGS-tst-auditmod10b.c): Likewise.
8077 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8078 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8079 * sysdeps/x86_64/configure: Regenerated.
8080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8081 AVX-512 zmm register support.
8082 (_dl_x86_64_save_sse): Likewise.
8083 (_dl_x86_64_restore_sse): Likewise.
8084 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8085 size vector registers.
8086 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8087 (ZMM_SIZE): Likewise.
8088 * sysdeps/x86_64/tst-audit10.c: New file.
8089 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8090 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8091
44c4e5d5
RM
80922014-03-13 Roland McGrath <roland@hack.frob.com>
8093
8094 * configure.ac (HAVE_EHDR_START): New check.
8095 * configure: Regenerated.
8096 * config.h.in (HAVE_EHDR_START): New #undef.
8097 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8098 assuming the lowest-addressed segment maps the start of the file.
8099
acd6e389
JM
81002014-03-13 Joseph Myers <joseph@codesourcery.com>
8101
8102 * INSTALL: Regenerated.
8103
6f918f36
WN
81042014-03-13 Will Newton <will.newton@linaro.org>
8105
8106 * manual/setjmp.texi (System V contexts): Improve
8107 clarity and grammar of documentation.
8108
798212a0
PP
81092014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8110
8111 [BZ #16381]
798212a0 8112 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8113 (tests-pie): Add tst-pie2.
798212a0
PP
8114 * elf/tst-pie2.c: New file.
8115 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8116 for ET_EXEC.
8117 * elf/rtld.c (map_doit): Load executable as lt_executable.
8118 (dl_main): Likewise.
8119
abe6d90c
JM
81202014-03-12 Joseph Myers <joseph@codesourcery.com>
8121
8122 [BZ #16642]
8123 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8124 (__ASSUME_PSELECT): Undefine.
8125
dd3946c6
AZ
81262014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8127
8128 [BZ #16689]
8129 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8130 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8131 static build.
8132 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8133 selector for static builds.
8134
c44496df
SP
81352014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8136
8137 [BZ #16695]
8138 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8139 key in the buffer.
8140
27c7220a
AZ
81412014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8142
57f41c40
AS
8143 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8144 IFUNC selector for static builds.
27c7220a 8145
600fa361
JM
81462014-03-11 Joseph Myers <joseph@codesourcery.com>
8147
76c96cf7
JM
8148 * sysdeps/mips/math_private.h [__mips_hard_float]
8149 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8150 libc_feresetround_mips_ctx.
8151 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8152 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8153 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8154
600fa361
JM
8155 [BZ #16677]
8156 * math/s_nextafter.c (__nextafter): Do not return value from
8157 overflowing computation.
8158 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8159 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8160 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8161 Likewise.
8162 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8163 Likewise.
8164 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8165 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8166
d7706c32
RM
81672014-03-11 Roland McGrath <roland@hack.frob.com>
8168
8169 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8170 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8171 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8172 the new mov targetting sp.
8173
4facea47
AZ
81742014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8175
8176 [BZ #16683]
8177 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8178 Define it for static builds as well.
8179 (NO_BZERO_IMPL): Likewise.
8180
e65caf1f
VR
81812014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8182
8183 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8184 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8185 multiarch strspn for PPC64.
8186 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8187 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8189 (__libc_ifunc_impl_list): Likewise.
8190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8191 multiarch optimizations
8192 * string/strspn.c (strspn): Using macro to redefine symbol name.
8193
ba9cc071
AZ
81942014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8195 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8196
8197 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8198 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8199 multiarch strncat for PPC64.
8200 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8201 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8203 (__libc_ifunc_impl_list): Likewise.
8204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8205 multiarch optimizations
8206
8b4ff974
SP
82072014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8208
8209 [BZ #16639]
8210 * nscd/nscd.service: Make service type forking.
8211
54b46a4b
AZ
82122014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8213
8214 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8215 sign in non default rounding modes.
8216 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8217
e9996ef7
JM
82182014-03-08 Joseph Myers <joseph@codesourcery.com>
8219
8220 * math/libm-test.inc (ALL_RM_TEST): New macro.
8221 (ceil_test): Use ALL_RM_TEST.
8222 (cimag_test): Likewise.
8223 (conj_test): Likewise.
8224 (copysign_test): Likewise.
8225 (cproj_test): Likewise.
8226 (creal_test): Likewise.
8227 (fabs_test): Likewise.
8228 (floor_test): Likewise.
8229 (fmax_test): Likewise.
8230 (fmin_test): Likewise.
8231 (fmod_test): Likewise.
8232 (fpclassify_test): Likewise.
8233 (frexp_test): Likewise.
8234 (ilogb_test): Likewise.
8235 (isfinite_test): Likewise.
8236 (finite_test): Likewise.
8237 (isgreater_test): Likewise.
8238 (isgreaterequal_test): Likewise.
8239 (isinf_test): Likewise.
8240 (isless_test): Likewise.
8241 (islessequal_test): Likewise.
8242 (islessgreater_test): Likewise.
8243 (isnan_test): Likewise.
8244 (isnormal_test): Likewise.
8245 (issignaling_test): Likewise.
8246 (isunordered_test): Likewise.
8247 (logb_test): Likewise.
8248 (logb_downward_test_data): Remove.
8249 (logb_test_downward): Likewise.
8250 (lround_test): Use ALL_RM_TEST.
8251 (llround_test): Likewise.
8252 (modf_test): Likewise.
8253 (nexttoward_test): Likewise.
8254 (remainder_test): Likewise.
8255 (drem_test): Likewise.
8256 (remainder_tonearest_test_data): Likewise.
8257 (remainder_test_tonearest): Likewise.
8258 (drem_test_tonearest): Likewise.
8259 (remainder_towardzero_test_data): Likewise.
8260 (remainder_test_towardzero): Likewise.
8261 (drem_test_towardzero): Likewise.
8262 (remainder_downward_test_data): Likewise.
8263 (remainder_test_downward): Likewise.
8264 (drem_test_downward): Likewise.
8265 (remainder_upward_test_data): Likewise.
8266 (remainder_test_upward): Likewise.
8267 (drem_test_upward): Likewise.
8268 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8269 (round_test): Use ALL_RM_TEST.
8270 (signbit_test): Likewise.
8271 (trunc_test): Likewise.
8272 (significand_test): Likewise.
8273 (main): Don't call removed functions.
8274
bc61d27c
JM
82752014-03-07 Joseph Myers <joseph@codesourcery.com>
8276
5c780849
JM
8277 [BZ #16674]
8278 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8279 || __USE_XOPEN2K8].
8280 (ILL_ILLOPN): Likewise.
8281 (ILL_ILLADR): Likewise.
8282 (ILL_ILLTRP): Likewise.
8283 (ILL_PRVOPC): Likewise.
8284 (ILL_PRVREG): Likewise.
8285 (ILL_COPROC): Likewise.
8286 (ILL_BADSTK): Likewise.
8287 (FPE_INTDIV): Likewise.
8288 (FPE_INTOVF): Likewise.
8289 (FPE_FLTDIV): Likewise.
8290 (FPE_FLTOVF): Likewise.
8291 (FPE_FLTUND): Likewise.
8292 (FPE_FLTRES): Likewise.
8293 (FPE_FLTINV): Likewise.
8294 (FPE_FLTSUB): Likewise.
8295 (SEGV_MAPERR): Likewise.
8296 (SEGV_ACCERR): Likewise.
8297 (BUS_ADRALN): Likewise.
8298 (BUS_ADRERR): Likewise.
8299 (BUS_OBJERR): Likewise.
8300 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8301 (TRAP_TRACE): Likewise.
8302 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8303 __USE_XOPEN2K8].
8304 (CLD_KILLED): Likewise.
8305 (CLD_DUMPED): Likewise.
8306 (CLD_TRAPPED): Likewise.
8307 (CLD_STOPPED): Likewise.
8308 (CLD_CONTINUED): Likewise.
8309 (POLL_IN): Likewise.
8310 (POLL_OUT): Likewise.
8311 (POLL_MSG): Likewise.
8312 (POLL_ERR): Likewise.
8313 (POLL_PRI): Likewise.
8314 (POLL_HUP): Likewise.
8315 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8316 Likewise.
8317 (ILL_ILLOPN): Likewise.
8318 (ILL_ILLADR): Likewise.
8319 (ILL_ILLTRP): Likewise.
8320 (ILL_PRVOPC): Likewise.
8321 (ILL_PRVREG): Likewise.
8322 (ILL_COPROC): Likewise.
8323 (ILL_BADSTK): Likewise.
8324 (FPE_INTDIV): Likewise.
8325 (FPE_INTOVF): Likewise.
8326 (FPE_FLTDIV): Likewise.
8327 (FPE_FLTOVF): Likewise.
8328 (FPE_FLTUND): Likewise.
8329 (FPE_FLTRES): Likewise.
8330 (FPE_FLTINV): Likewise.
8331 (FPE_FLTSUB): Likewise.
8332 (SEGV_MAPERR): Likewise.
8333 (SEGV_ACCERR): Likewise.
8334 (BUS_ADRALN): Likewise.
8335 (BUS_ADRERR): Likewise.
8336 (BUS_OBJERR): Likewise.
8337 (BUS_MCEERR_AR): Likewise.
8338 (BUS_MCEERR_AO): Likewise.
8339 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8340 (TRAP_TRACE): Likewise.
8341 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8342 __USE_XOPEN2K8].
8343 (CLD_KILLED): Likewise.
8344 (CLD_DUMPED): Likewise.
8345 (CLD_TRAPPED): Likewise.
8346 (CLD_STOPPED): Likewise.
8347 (CLD_CONTINUED): Likewise.
8348 (POLL_IN): Likewise.
8349 (POLL_OUT): Likewise.
8350 (POLL_MSG): Likewise.
8351 (POLL_ERR): Likewise.
8352 (POLL_PRI): Likewise.
8353 (POLL_HUP): Likewise.
8354 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8355 (ILL_ILLOPN): Likewise.
8356 (ILL_ILLADR): Likewise.
8357 (ILL_ILLTRP): Likewise.
8358 (ILL_PRVOPC): Likewise.
8359 (ILL_PRVREG): Likewise.
8360 (ILL_COPROC): Likewise.
8361 (ILL_BADSTK): Likewise.
8362 (FPE_INTDIV): Likewise.
8363 (FPE_INTOVF): Likewise.
8364 (FPE_FLTDIV): Likewise.
8365 (FPE_FLTOVF): Likewise.
8366 (FPE_FLTUND): Likewise.
8367 (FPE_FLTRES): Likewise.
8368 (FPE_FLTINV): Likewise.
8369 (FPE_FLTSUB): Likewise.
8370 (SEGV_MAPERR): Likewise.
8371 (SEGV_ACCERR): Likewise.
8372 (BUS_ADRALN): Likewise.
8373 (BUS_ADRERR): Likewise.
8374 (BUS_OBJERR): Likewise.
8375 (BUS_MCEERR_AR): Likewise.
8376 (BUS_MCEERR_AO): Likewise.
8377 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8378 (TRAP_TRACE): Likewise.
8379 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8380 __USE_XOPEN2K8].
8381 (CLD_KILLED): Likewise.
8382 (CLD_DUMPED): Likewise.
8383 (CLD_TRAPPED): Likewise.
8384 (CLD_STOPPED): Likewise.
8385 (CLD_CONTINUED): Likewise.
8386 (POLL_IN): Likewise.
8387 (POLL_OUT): Likewise.
8388 (POLL_MSG): Likewise.
8389 (POLL_ERR): Likewise.
8390 (POLL_PRI): Likewise.
8391 (POLL_HUP): Likewise.
8392 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8393 Likewise.
8394 (ILL_ILLOPN): Likewise.
8395 (ILL_ILLADR): Likewise.
8396 (ILL_ILLTRP): Likewise.
8397 (ILL_PRVOPC): Likewise.
8398 (ILL_PRVREG): Likewise.
8399 (ILL_COPROC): Likewise.
8400 (ILL_BADSTK): Likewise.
8401 (ILL_BADIADDR): Likewise.
8402 (ILL_BREAK): Likewise.
8403 (FPE_INTDIV): Likewise.
8404 (FPE_INTOVF): Likewise.
8405 (FPE_FLTDIV): Likewise.
8406 (FPE_FLTOVF): Likewise.
8407 (FPE_FLTUND): Likewise.
8408 (FPE_FLTRES): Likewise.
8409 (FPE_FLTINV): Likewise.
8410 (FPE_FLTSUB): Likewise.
8411 (FPE_DECOVF): Likewise.
8412 (FPE_DECDIV): Likewise.
8413 (FPE_DECERR): Likewise.
8414 (FPE_INVASC): Likewise.
8415 (FPE_INVDEC): Likewise.
8416 (SEGV_MAPERR): Likewise.
8417 (SEGV_ACCERR): Likewise.
8418 (SEGV_PSTKOVF): Likewise.
8419 (BUS_ADRALN): Likewise.
8420 (BUS_ADRERR): Likewise.
8421 (BUS_OBJERR): Likewise.
8422 (BUS_MCEERR_AR): Likewise.
8423 (BUS_MCEERR_AO): Likewise.
8424 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8425 (TRAP_TRACE): Likewise.
8426 (TRAP_BRANCH): Likewise.
8427 (TRAP_HWBKPT): Likewise.
8428 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8429 __USE_XOPEN2K8].
8430 (CLD_KILLED): Likewise.
8431 (CLD_DUMPED): Likewise.
8432 (CLD_TRAPPED): Likewise.
8433 (CLD_STOPPED): Likewise.
8434 (CLD_CONTINUED): Likewise.
8435 (POLL_IN): Likewise.
8436 (POLL_OUT): Likewise.
8437 (POLL_MSG): Likewise.
8438 (POLL_ERR): Likewise.
8439 (POLL_PRI): Likewise.
8440 (POLL_HUP): Likewise.
8441 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8442 (ILL_ILLOPN): Likewise.
8443 (ILL_ILLADR): Likewise.
8444 (ILL_ILLTRP): Likewise.
8445 (ILL_PRVOPC): Likewise.
8446 (ILL_PRVREG): Likewise.
8447 (ILL_COPROC): Likewise.
8448 (ILL_BADSTK): Likewise.
8449 (FPE_INTDIV): Likewise.
8450 (FPE_INTOVF): Likewise.
8451 (FPE_FLTDIV): Likewise.
8452 (FPE_FLTOVF): Likewise.
8453 (FPE_FLTUND): Likewise.
8454 (FPE_FLTRES): Likewise.
8455 (FPE_FLTINV): Likewise.
8456 (FPE_FLTSUB): Likewise.
8457 (SEGV_MAPERR): Likewise.
8458 (SEGV_ACCERR): Likewise.
8459 (BUS_ADRALN): Likewise.
8460 (BUS_ADRERR): Likewise.
8461 (BUS_OBJERR): Likewise.
8462 (BUS_MCEERR_AR): Likewise.
8463 (BUS_MCEERR_AO): Likewise.
8464 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8465 (TRAP_TRACE): Likewise.
8466 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8467 __USE_XOPEN2K8].
8468 (CLD_KILLED): Likewise.
8469 (CLD_DUMPED): Likewise.
8470 (CLD_TRAPPED): Likewise.
8471 (CLD_STOPPED): Likewise.
8472 (CLD_CONTINUED): Likewise.
8473 (POLL_IN): Likewise.
8474 (POLL_OUT): Likewise.
8475 (POLL_MSG): Likewise.
8476 (POLL_ERR): Likewise.
8477 (POLL_PRI): Likewise.
8478 (POLL_HUP): Likewise.
8479 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8480 (ILL_ILLOPN): Likewise.
8481 (ILL_ILLADR): Likewise.
8482 (ILL_ILLTRP): Likewise.
8483 (ILL_PRVOPC): Likewise.
8484 (ILL_PRVREG): Likewise.
8485 (ILL_COPROC): Likewise.
8486 (ILL_BADSTK): Likewise.
8487 (FPE_INTDIV): Likewise.
8488 (FPE_INTOVF): Likewise.
8489 (FPE_FLTDIV): Likewise.
8490 (FPE_FLTOVF): Likewise.
8491 (FPE_FLTUND): Likewise.
8492 (FPE_FLTRES): Likewise.
8493 (FPE_FLTINV): Likewise.
8494 (FPE_FLTSUB): Likewise.
8495 (SEGV_MAPERR): Likewise.
8496 (SEGV_ACCERR): Likewise.
8497 (BUS_ADRALN): Likewise.
8498 (BUS_ADRERR): Likewise.
8499 (BUS_OBJERR): Likewise.
8500 (BUS_MCEERR_AR): Likewise.
8501 (BUS_MCEERR_AO): Likewise.
8502 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8503 (TRAP_TRACE): Likewise.
8504 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8505 __USE_XOPEN2K8].
8506 (CLD_KILLED): Likewise.
8507 (CLD_DUMPED): Likewise.
8508 (CLD_TRAPPED): Likewise.
8509 (CLD_STOPPED): Likewise.
8510 (CLD_CONTINUED): Likewise.
8511 (POLL_IN): Likewise.
8512 (POLL_OUT): Likewise.
8513 (POLL_MSG): Likewise.
8514 (POLL_ERR): Likewise.
8515 (POLL_PRI): Likewise.
8516 (POLL_HUP): Likewise.
8517 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8518 (ILL_ILLOPN): Likewise.
8519 (ILL_ILLADR): Likewise.
8520 (ILL_ILLTRP): Likewise.
8521 (ILL_PRVOPC): Likewise.
8522 (ILL_PRVREG): Likewise.
8523 (ILL_COPROC): Likewise.
8524 (ILL_BADSTK): Likewise.
8525 (FPE_INTDIV): Likewise.
8526 (FPE_INTOVF): Likewise.
8527 (FPE_FLTDIV): Likewise.
8528 (FPE_FLTOVF): Likewise.
8529 (FPE_FLTUND): Likewise.
8530 (FPE_FLTRES): Likewise.
8531 (FPE_FLTINV): Likewise.
8532 (FPE_FLTSUB): Likewise.
8533 (SEGV_MAPERR): Likewise.
8534 (SEGV_ACCERR): Likewise.
8535 (BUS_ADRALN): Likewise.
8536 (BUS_ADRERR): Likewise.
8537 (BUS_OBJERR): Likewise.
8538 (BUS_MCEERR_AR): Likewise.
8539 (BUS_MCEERR_AO): Likewise.
8540 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8541 (TRAP_TRACE): Likewise.
8542 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8543 __USE_XOPEN2K8].
8544 (CLD_KILLED): Likewise.
8545 (CLD_DUMPED): Likewise.
8546 (CLD_TRAPPED): Likewise.
8547 (CLD_STOPPED): Likewise.
8548 (CLD_CONTINUED): Likewise.
8549 (POLL_IN): Likewise.
8550 (POLL_OUT): Likewise.
8551 (POLL_MSG): Likewise.
8552 (POLL_ERR): Likewise.
8553 (POLL_PRI): Likewise.
8554 (POLL_HUP): Likewise.
8555 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8556 (ILL_ILLOPN): Likewise.
8557 (ILL_ILLADR): Likewise.
8558 (ILL_ILLTRP): Likewise.
8559 (ILL_PRVOPC): Likewise.
8560 (ILL_PRVREG): Likewise.
8561 (ILL_COPROC): Likewise.
8562 (ILL_BADSTK): Likewise.
8563 (ILL_DBLFLT): Likewise.
8564 (ILL_HARDWALL): Likewise.
8565 (FPE_INTDIV): Likewise.
8566 (FPE_INTOVF): Likewise.
8567 (FPE_FLTDIV): Likewise.
8568 (FPE_FLTOVF): Likewise.
8569 (FPE_FLTUND): Likewise.
8570 (FPE_FLTRES): Likewise.
8571 (FPE_FLTINV): Likewise.
8572 (FPE_FLTSUB): Likewise.
8573 (SEGV_MAPERR): Likewise.
8574 (SEGV_ACCERR): Likewise.
8575 (BUS_ADRALN): Likewise.
8576 (BUS_ADRERR): Likewise.
8577 (BUS_OBJERR): Likewise.
8578 (BUS_MCEERR_AR): Likewise.
8579 (BUS_MCEERR_AO): Likewise.
8580 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8581 (TRAP_TRACE): Likewise.
8582 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8583 __USE_XOPEN2K8].
8584 (CLD_KILLED): Likewise.
8585 (CLD_DUMPED): Likewise.
8586 (CLD_TRAPPED): Likewise.
8587 (CLD_STOPPED): Likewise.
8588 (CLD_CONTINUED): Likewise.
8589 (POLL_IN): Likewise.
8590 (POLL_OUT): Likewise.
8591 (POLL_MSG): Likewise.
8592 (POLL_ERR): Likewise.
8593 (POLL_PRI): Likewise.
8594 (POLL_HUP): Likewise.
8595 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8596 (ILL_ILLOPN): Likewise.
8597 (ILL_ILLADR): Likewise.
8598 (ILL_ILLTRP): Likewise.
8599 (ILL_PRVOPC): Likewise.
8600 (ILL_PRVREG): Likewise.
8601 (ILL_COPROC): Likewise.
8602 (ILL_BADSTK): Likewise.
8603 (FPE_INTDIV): Likewise.
8604 (FPE_INTOVF): Likewise.
8605 (FPE_FLTDIV): Likewise.
8606 (FPE_FLTOVF): Likewise.
8607 (FPE_FLTUND): Likewise.
8608 (FPE_FLTRES): Likewise.
8609 (FPE_FLTINV): Likewise.
8610 (FPE_FLTSUB): Likewise.
8611 (SEGV_MAPERR): Likewise.
8612 (SEGV_ACCERR): Likewise.
8613 (BUS_ADRALN): Likewise.
8614 (BUS_ADRERR): Likewise.
8615 (BUS_OBJERR): Likewise.
8616 (BUS_MCEERR_AR): Likewise.
8617 (BUS_MCEERR_AO): Likewise.
8618 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8619 (TRAP_TRACE): Likewise.
8620 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8621 __USE_XOPEN2K8].
8622 (CLD_KILLED): Likewise.
8623 (CLD_DUMPED): Likewise.
8624 (CLD_TRAPPED): Likewise.
8625 (CLD_STOPPED): Likewise.
8626 (CLD_CONTINUED): Likewise.
8627 (POLL_IN): Likewise.
8628 (POLL_OUT): Likewise.
8629 (POLL_MSG): Likewise.
8630 (POLL_ERR): Likewise.
8631 (POLL_PRI): Likewise.
8632 (POLL_HUP): Likewise.
8633 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8634 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8635
bc61d27c
JM
8636 [BZ #16670]
8637 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8638 before #include of <time.h>.
8639 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8640 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8641 (test-xfail-UNIX98/sched.h/conform): Likewise.
8642
302949e2
MS
86432014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8644
8645 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8646 error absence of trapping exception support.
8647 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8648
a00f522a
JM
86492014-03-07 Joseph Myers <joseph@codesourcery.com>
8650
6f99f280
JM
8651 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8652 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8653 * timezone/Makefile (testdata): Move definition above include of
8654 Rules.
8655 (test-zones): New variable.
8656 (tests-special): Add zone files.
8657 (build-testdata): Use $(evaluate-test).
8658
0b20a9e8
JM
8659 * elf/Makefile (tests-special): Rename tests to end with .out.
8660 ($(objpfx)noload-mem): Likewise.
8661 ($(objpfx)tst-leaks1-mem): Likewise.
8662 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8663 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8664 $(objpfx)test-iconvconfig.out.
8665 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8666 set -e inside subshell and redirect output to file.
8667 * iconvdata/Makefile (generated): Rename tests to end with .out.
8668 Correct type.
8669 (tests-special): Rename tests to end with .out.
8670 ($(objpfx)mtrace-tst-loading): Likewise.
8671 * intl/Makefile (generated): Likewise.
8672 (tests-special): Likewise.
8673 ($(objpfx)mtrace-tst-gettext): Likewise.
8674 * misc/Makefile (generated): Likewise.
8675 (tests-special): Likewise.
8676 ($(objpfx)tst-error1-mem): Likewise.
8677 * nptl/Makefile (tests-special): Likewise.
8678 ($(objpfx)tst-stack3-mem): Likewise.
8679 (generated): Likewise.
8680 * posix/Makefile (generated): Likewise.
8681 (tests-special): Likewise.
8682 (xtests-special): Likewise.
8683 ($(objpfx)tst-fnmatch-mem): Likewise.
8684 ($(objpfx)bug-regex2-mem): Likewise.
8685 ($(objpfx)bug-regex14-mem): Likewise.
8686 ($(objpfx)bug-regex21-mem): Likewise.
8687 ($(objpfx)bug-regex31-mem): Likewise.
8688 ($(objpfx)tst-vfork3-mem): Likewise.
8689 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8690 ($(objpfx)tst-pcre-mem): Likewise.
8691 ($(objpfx)tst-boost-mem): Likewise.
8692 ($(objpfx)bug-ga2-mem): Likewise.
8693 ($(objpfx)bug-glob2-mem): Likewise.
8694 * resolv/Makefile (generate): Likewise.
8695 (tests-special): Likewise.
8696 (xtests-special): Likewise.
8697 (generated): Likewise.
8698 ($(objpfx)mtrace-tst-leaks): Likewise.
8699 ($(objpfx)mtrace-tst-leaks2): Likewise.
8700
265d52ab
JM
8701 * scripts/merge-test-results.sh: New file.
8702 * Makefile (tests-special-notdir): New variable.
8703 (tests): Run merge-test-results.sh.
8704 (xtests): Likewise.
8705 * Rules (tests-special-notdir): New variable.
8706 (xtests-special-notdir): Likewise.
8707 (tests): Run merge-test-results.sh
8708 (xtests): Likewise.
8709
54ee292d
JM
8710 * Makeconfig (test-xfail-name): New variable.
8711 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8712 compute variable name for expected failures.
8713 * conform/Makefile (conformtest-headers-data): New variable.
8714 (conformtest-standards): Likewise.
8715 (conformtest-headers-ISO): Likewise.
8716 (conformtest-headers-ISO99): Likewise.
8717 (conformtest-headers-ISO11): Likewise.
8718 (conformtest-headers-POSIX): Likewise.
8719 (conformtest-headers-XPG3): Likewise.
8720 (conformtest-headers-XPG4): Likewise.
8721 (conformtest-headers-UNIX98): Likewise.
8722 (conformtest-headers-XOPEN2K): Likewise.
8723 (conformtest-headers-POSIX2008): Likewise.
8724 (conformtest-headers-XOPEN2K8): Likewise.
8725 (conformtest-header-list-base): Likewise.
8726 (conformtest-header-list-tests): Likewise.
8727 (conformtest-header-base): Likewise.
8728 (conformtest-header-tests): Likewise.
8729 (tests-special): Add $(conformtest-header-list-tests). If
8730 [$(fast-check) && !$(cross-compiling)], add
8731 $(conformtest-header-tests) instead of
8732 $(objpfx)run-conformtest.out.
8733 (generated): Add $(conformtest-header-list-base). If
8734 [$(fast-check) && !$(cross-compiling)], add
8735 $(conformtest-header-base). Remove previous setting.
8736 ($(conformtest-header-list-tests)): New target.
8737 (test-xfail-run-conformtest): Remove variable.
8738 ($(objpfx)run-conformtest.out): Remove target.
8739 (test-xfail-ISO11/complex.h/conform): New variable.
8740 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8741 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8742 (test-xfail-XPG3/varargs.h/conform): Likewise.
8743 (test-xfail-XPG4/varargs.h/conform): Likewise.
8744 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8745 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8746 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8747 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8748 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8749 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8750 (test-xfail-XPG3/ftw.h/conform): Likewise.
8751 (test-xfail-XPG3/grp.h/conform): Likewise.
8752 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8753 (test-xfail-XPG3/limits.h/conform): Likewise.
8754 (test-xfail-XPG3/pwd.h/conform): Likewise.
8755 (test-xfail-XPG3/search.h/conform): Likewise.
8756 (test-xfail-XPG3/signal.h/conform): Likewise.
8757 (test-xfail-XPG3/stdio.h/conform): Likewise.
8758 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8759 (test-xfail-XPG3/string.h/conform): Likewise.
8760 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8761 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8762 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8763 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8764 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8765 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8766 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8767 (test-xfail-XPG3/termios.h/conform): Likewise.
8768 (test-xfail-XPG3/time.h/conform): Likewise.
8769 (test-xfail-XPG3/unistd.h/conform): Likewise.
8770 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8771 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8772 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8773 (test-xfail-XPG4/netdb.h/conform): Likewise.
8774 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8775 (test-xfail-XPG4/signal.h/conform): Likewise.
8776 (test-xfail-XPG4/stdio.h/conform): Likewise.
8777 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8778 (test-xfail-XPG4/stropts.h/conform): Likewise.
8779 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8780 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8781 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8782 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8783 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8784 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8785 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8786 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8787 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8788 (test-xfail-XPG4/termios.h/conform): Likewise.
8789 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8790 (test-xfail-XPG4/unistd.h/conform): Likewise.
8791 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8792 (test-xfail-POSIX/sched.h/conform): Likewise.
8793 (test-xfail-POSIX/signal.h/conform): Likewise.
8794 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8795 (test-xfail-POSIX/tar.h/conform): Likewise.
8796 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8797 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8798 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8799 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8800 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8801 (test-xfail-UNIX98/sched.h/conform): Likewise.
8802 (test-xfail-UNIX98/signal.h/conform): Likewise.
8803 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8804 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8805 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8806 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8807 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8808 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8809 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8810 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8811 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8812 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8813 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8814 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8815 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8816 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8817 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8818 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8819 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8820 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8821 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8822 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8823 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8824 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8825 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8826 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8827 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8828 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8829 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8830 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8831 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8832 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8833 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8834 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8835 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8836 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8837 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8838 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8839 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8840 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8841 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8842 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8843 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8844 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8845 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8846 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8847 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8848 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8849 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8850 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8851 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8852 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8853 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8854 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8855 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8856 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8857 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8858 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8859 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8860 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8861 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8862 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8863 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8864 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8865 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8866 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8867 (conformtest-cc-flags): Likewise.
8868 ($(conformtest-header-tests): New target.
8869 * conform/check-header-lists.sh: New file.
8870 * conform/run-conformtest.sh: Remove.
8871
a00f522a
JM
8872 * conform/conformtest.pl: Allow ' and \ in values given for
8873 constants.
8874 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8875 inclusion.
8876 [POSIX] (sys/types.h): Likewise.
8877 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8878 inclusion.
8879 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8880 inclusion.
8881 * conform/data/signal.h-data (SIGIO): Remove expectation.
8882 [XPG3] (SIGBUS): Do not expect.
8883 [POSIX || XPG3] (SIGPOLL): Likewise.
8884 [POSIX || XPG3] (SIGPROF): Likewise.
8885 [POSIX || XPG3] (SIGSYS): Likewise.
8886 [XPG3] (SIGTRAP): Likewise.
8887 [POSIX || XPG3] (SIGURG): Likewise.
8888 [POSIX || XPG3] (SIGVTALRM): Likewise.
8889 [POSIX || XPG3] (SIGXCPU): Likewise.
8890 [POSIX || XPG3] (SIGXFSZ): Likewise.
8891 [POSIX] (SA_SIGINFO): Expect.
8892 [XPG3] (siginfo_t): Do not expect type or contents.
8893 [POSIX] (si_pid): Do not expect element.
8894 [POSIX] (si_uid): Likewise.
8895 [POSIX] (si_addr): Likewise.
8896 [POSIX] (si_status): Likewise.
8897 [POSIX] (si_band): Likewise.
8898 [XPG4] (si_value): Likewise.
8899 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8900 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8901 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8902 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8903 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8904 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8905 [POSIX || XPG3] (ILL_COPROC): Likewise.
8906 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8907 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8908 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8909 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8910 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8911 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8912 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8913 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8914 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8915 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8916 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8917 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8918 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8919 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8920 [POSIX || XPG3] (CLD_EXITED): Likewise.
8921 [POSIX || XPG3] (CLD_KILLED): Likewise.
8922 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8923 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8924 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8925 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8926 [POSIX || XPG3] (POLL_IN): Likewise.
8927 [POSIX || XPG3] (POLL_OUT): Likewise.
8928 [POSIX || XPG3] (POLL_MSG): Likewise.
8929 [POSIX || XPG3] (POLL_ERR): Likewise.
8930 [POSIX || XPG3] (POLL_PRI): Likewise.
8931 [POSIX || XPG3] (POLL_HUP): Likewise.
8932 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8933 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8934 (SIG*): Do not allow.
8935 [XPG3] (si_*): Likewise.
8936 [XPG3] (SI_*): Likewise.
8937 [XPG3 || XPG4] (sigev_*): Likewise.
8938 [XPG3 || XPG4] (SIGEV_*): Likewise.
8939 [XPG3 || XPG4] (sival_*): Likewise.
8940 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8941 [POSIX || XPG3] (BUS_*): Likewise.
8942 [POSIX || XPG3] (CLD_*): Likewise.
8943 [POSIX || XPG3] (FPE_*): Likewise.
8944 [POSIX || XPG3] (ILL_*): Likewise.
8945 [POSIX || XPG3] (POLL_*): Likewise.
8946 [POSIX || XPG3] (SEGV_*): Likewise.
8947 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8948 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8949 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8950 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8951 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8952 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8953 Specify type and value.
8954 (TVERSLEN): Likewise.
8955 (REGTYPE): Likewise.
8956 (AREGTYPE): Likewise.
8957 (LNKTYPE): Likewise.
8958 (SYMTYPE): Likewise.
8959 (CHRTYPE): Likewise.
8960 (BLKTYPE): Likewise.
8961 (DIRTYPE): Likewise.
8962 (FIFOTYPE): Likewise.
8963 (CONTTYPE): Likewise.
8964 (TSUID): Likewise.
8965 (TSGID): Likewise.
8966 (TSVTX): Likewise.
8967 (TUREAD): Likewise.
8968 (TUWRITE): Likewise.
8969 (TUEXEC): Likewise.
8970 (TGREAD): Likewise.
8971 (TGWRITE): Likewise.
8972 (TGEXEC): Likewise.
8973 (TOREAD): Likewise.
8974 (TOWRITE): Likewise.
8975 (TOEXEC): Likewise.
8976 [POSIX] (TSVTX): Expect constant.
8977
aa97dee1
JM
89782014-03-06 Joseph Myers <joseph@codesourcery.com>
8979
f214606a
JM
8980 * Makefile (tests): Change dependencies to ....
8981 (tests-special): ... additions to this variable.
8982 (tests): Depend on $(tests-special).
8983 * Makerules (check-abi-list): New variable.
8984 (check-abi): Depend on $(check-abi-list).
8985 [$(subdir) = elf] (tests-special): Add
8986 $(objpfx)check-abi-libc.out.
8987 [$(build-shared) = yes && subdir] (tests-special): Add
8988 $(check-abi-list).
8989 [$(build-shared) = yes && subdir] (tests): Do not depend on
8990 check-abi.
8991 * Rules (tests): Depend on $(tests-special).
8992 (xtests): Depend on $(xtests-special).
8993 * catgets/Makefile (tests): Change dependencies to ....
8994 (tests-special): ... additions to this variable.
8995 * conform/Makefile (tests): Change dependencies to ....
8996 (tests-special): ... additions to this variable.
8997 * elf/Makefile (tests): Change dependencies to ....
8998 (tests-special): ... additions to this variable.
8999 * grp/Makefile (tests): Change dependencies to ....
9000 (tests-special): ... additions to this variable.
9001 * iconv/Makefile (xtests): Change dependencies to ....
9002 (xtests-special): ... additions to this variable.
9003 * iconvdata/Makefile (tests): Change dependencies to ....
9004 (tests-special): ... additions to this variable.
9005 * intl/Makefile (tests): Change dependencies to ....
9006 (tests-special): ... additions to this variable. Also add
9007 $(objpfx)tst-gettext.out.
9008 * io/Makefile (tests): Change dependencies to ....
9009 (tests-special): ... additions to this variable.
9010 * libio/Makefile (tests): Change dependencies to ....
9011 (tests-special): ... additions to this variable.
9012 * malloc/Makefile (tests): Change dependencies to ....
9013 (tests-special): ... additions to this variable.
9014 * misc/Makefile (tests): Change dependencies to ....
9015 (tests-special): ... additions to this variable.
9016 * nptl/Makefile (tests): Change dependencies to ....
9017 (tests-special): ... additions to this variable.
9018 * nptl_db/Makefile (tests): Change dependencies to ....
9019 (tests-special): ... additions to this variable.
9020 * posix/Makefile (tests): Change dependencies to ....
9021 (tests-special): ... additions to this variable.
9022 (xtests): Change dependencies to ....
9023 (xtests-special): ... additions to this variable.
9024 * resolv/Makefile (tests): Change dependencies to ....
9025 (tests-special): ... additions to this variable.
9026 (xtests): Change dependencies to ....
9027 (xtests-special): ... additions to this variable.
9028 * stdio-common/Makefile (tests): Change dependencies to ....
9029 (tests-special): ... additions to this variable.
9030 (do-tst-unbputc): Remove target.
9031 (do-tst-printf): Likewise.
9032 * stdlib/Makefile (tests): Change dependencies to ....
9033 (tests-special): ... additions to this variable.
9034 * string/Makefile (tests): Change dependencies to ....
9035 (tests-special): ... additions to this variable.
9036 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9037 (tests-special): ... additions to this variable.
9038
81700b53
JM
9039 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9040 whole file.
9041 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9042 whole file.
9043 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9044 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9045
2ea18461
JM
9046 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9047 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9048 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9049 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9050 * conform/data/libgen.h-data [XPG3]: Likewise.
9051 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9052 * conform/data/ndbm.h-data [XPG3]: Likewise.
9053 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9054 * conform/data/netdb.h-data [XPG3]: Likewise.
9055 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9056 * conform/data/poll.h-data [XPG3]: Likewise.
9057 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9058 * conform/data/strings.h-data [XPG3]: Likewise.
9059 * conform/data/stropts.h-data [XPG3]: Likewise.
9060 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9061 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9062 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9063 Likewise.
9064 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9065 * conform/data/sys/time.h-data [XPG3]: Likewise.
9066 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9067 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9068 * conform/data/sys/un.h-data [XPG3]: Likewise.
9069 * conform/data/syslog.h-data [XPG3]: Likewise.
9070 * conform/data/ucontext.h-data [XPG3]: Likewise.
9071 * conform/data/utmpx.h-data [XPG3]: Likewise.
9072 * conform/data/varargs.h-data [UNIX98]: Enable file.
9073
355bc986
JM
9074 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9075
215db402
JM
9076 * math/libm-test.inc (struct test_f_f_data): Move expected results
9077 into structure for each rounding mode.
9078 (struct test_ff_f_data): Likewise.
9079 (struct test_ff_f_data_nexttoward): Likewise.
9080 (struct test_fi_f_data): Likewise.
9081 (struct test_fl_f_data): Likewise.
9082 (struct test_if_f_data): Likewise.
9083 (struct test_fff_f_data): Likewise.
9084 (struct test_c_f_data): Likewise.
9085 (struct test_f_f1_data): Likewise.
9086 (struct test_fF_f1_data): Likewise.
9087 (struct test_ffI_f1_data): Likewise.
9088 (struct test_c_c_data): Likewise.
9089 (struct test_cc_c_data): Likewise.
9090 (struct test_f_i_data): Likewise.
9091 (struct test_ff_i_data): Likewise.
9092 (struct test_f_l_data): Likewise.
9093 (struct test_f_L_data): Likewise.
9094 (struct test_fFF_11_data): Likewise.
9095 (RM_): New macro.
9096 (RM_FE_DOWNWARD): Likewise.
9097 (RM_FE_TONEAREST): Likewise.
9098 (RM_FE_TOWARDZERO): Likewise.
9099 (RM_FE_UPWARD): Likewise.
9100 (RUN_TEST_LOOP_f_f): Update references to expected results.
9101 (RUN_TEST_LOOP_2_f): Likewise.
9102 (RUN_TEST_LOOP_fff_f): Likewise.
9103 (RUN_TEST_LOOP_c_f): Likewise.
9104 (RUN_TEST_LOOP_f_f1): Likewise.
9105 (RUN_TEST_LOOP_fF_f1): Likewise.
9106 (RUN_TEST_LOOP_fI_f1): Likewise.
9107 (RUN_TEST_LOOP_ffI_f1): Likewise.
9108 (RUN_TEST_LOOP_c_c): Likewise.
9109 (RUN_TEST_LOOP_cc_c): Likewise.
9110 (RUN_TEST_LOOP_f_i): Likewise.
9111 (RUN_TEST_LOOP_f_i_tg): Likewise.
9112 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9113 (RUN_TEST_LOOP_f_b): Likewise.
9114 (RUN_TEST_LOOP_f_b_tg): Likewise.
9115 (RUN_TEST_LOOP_f_l): Likewise.
9116 (RUN_TEST_LOOP_f_L): Likewise.
9117 (RUN_TEST_LOOP_fFF_11): Likewise.
9118 * math/gen-libm-test.pl (parse_args): Output four copies of
9119 expected results for each test.
9120
67737b8f
JM
9121 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9122 (__ASSUME_UTIMES): Remove.
9123 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9124 (__ASSUME_UTIMES): Likewise.
9125
aa97dee1
JM
9126 * math/gen-auto-libm-tests.c: Update comment on output format.
9127 (output_for_one_input_case): Generate before-rounding and
9128 after-rounding information as conditions on output flags not
9129 floating-point format.
9130 * math/auto-libm-test-out: Regenerated.
9131 * math/gen-libm-test.pl (cond_value): New function.
9132 (or_cond_value): Use cond_value.
9133 (generate_testfile): Handle conditional exceptions.
9134
e6b6a857
JM
91352014-03-05 Joseph Myers <joseph@codesourcery.com>
9136
2f0a0f44
JM
9137 * math/libm-test.inc (max_valid_error): New variable.
9138 (init_max_error): Take new argument specifying whether function
9139 results are exactly determined. Set max_valid_error and bound
9140 other variables for errors based on this argument.
9141 (set_max_error): Do not record results above max_valid_error.
9142 (check_float_internal): Only accept errors of up to 0.5ulps if
9143 also at most max_valid_error.
9144 (START): Take new argument EXACT and pass it to init_max_error.
9145 (acos_test): Update call to START.
9146 (acos_test_tonearest): Likewise.
9147 (acos_test_towardzero): Likewise.
9148 (acos_test_downward): Likewise.
9149 (acos_test_upward): Likewise.
9150 (acosh_test): Likewise.
9151 (asin_test): Likewise.
9152 (asin_test_tonearest): Likewise.
9153 (asin_test_towardzero): Likewise.
9154 (asin_test_downward): Likewise.
9155 (asin_test_upward): Likewise.
9156 (asinh_test): Likewise.
9157 (atan_test): Likewise.
9158 (atanh_test): Likewise.
9159 (atan2_test): Likewise.
9160 (cabs_test): Likewise.
9161 (cacos_test): Likewise.
9162 (cacosh_test): Likewise.
9163 (carg_test): Likewise.
9164 (casin_test): Likewise.
9165 (casinh_test): Likewise.
9166 (catan_test): Likewise.
9167 (catanh_test): Likewise.
9168 (cbrt_test): Likewise.
9169 (ccos_test): Likewise.
9170 (ccosh_test): Likewise.
9171 (ceil_test): Likewise.
9172 (cexp_test): Likewise.
9173 (cimag_test): Likewise.
9174 (clog_test): Likewise.
9175 (clog10_test): Likewise.
9176 (conj_test): Likewise.
9177 (copysign_test): Likewise.
9178 (cos_test): Likewise.
9179 (cos_test_tonearest): Likewise.
9180 (cos_test_towardzero): Likewise.
9181 (cos_test_downward): Likewise.
9182 (cos_test_upward): Likewise.
9183 (cosh_test): Likewise.
9184 (cosh_test_tonearest): Likewise.
9185 (cosh_test_towardzero): Likewise.
9186 (cosh_test_downward): Likewise.
9187 (cosh_test_upward): Likewise.
9188 (cpow_test): Likewise.
9189 (cproj_test): Likewise.
9190 (creal_test): Likewise.
9191 (csin_test): Likewise.
9192 (csinh_test): Likewise.
9193 (csqrt_test): Likewise.
9194 (ctan_test): Likewise.
9195 (ctan_test_tonearest): Likewise.
9196 (ctan_test_towardzero): Likewise.
9197 (ctan_test_downward): Likewise.
9198 (ctan_test_upward): Likewise.
9199 (ctanh_test): Likewise.
9200 (ctanh_test_tonearest): Likewise.
9201 (ctanh_test_towardzero): Likewise.
9202 (ctanh_test_downward): Likewise.
9203 (ctanh_test_upward): Likewise.
9204 (erf_test): Likewise.
9205 (erfc_test): Likewise.
9206 (exp_test): Likewise.
9207 (exp_test_tonearest): Likewise.
9208 (exp_test_towardzero): Likewise.
9209 (exp_test_downward): Likewise.
9210 (exp_test_upward): Likewise.
9211 (exp10_test): Likewise.
9212 (exp10_test_tonearest): Likewise.
9213 (exp10_test_towardzero): Likewise.
9214 (exp10_test_downward): Likewise.
9215 (exp10_test_upward): Likewise.
9216 (pow10_test): Likewise.
9217 (exp2_test): Likewise.
9218 (expm1_test): Likewise.
9219 (expm1_test_tonearest): Likewise.
9220 (expm1_test_towardzero): Likewise.
9221 (expm1_test_downward): Likewise.
9222 (expm1_test_upward): Likewise.
9223 (fabs_test): Likewise.
9224 (fdim_test): Likewise.
9225 (floor_test): Likewise.
9226 (fma_test): Likewise.
9227 (fma_test_towardzero): Likewise.
9228 (fma_test_downward): Likewise.
9229 (fma_test_upward): Likewise.
9230 (fmax_test): Likewise.
9231 (fmin_test): Likewise.
9232 (fmod_test): Likewise.
9233 (fpclassify_test): Likewise.
9234 (frexp_test): Likewise.
9235 (hypot_test): Likewise.
9236 (ilogb_test): Likewise.
9237 (isfinite_test): Likewise.
9238 (finite_test): Likewise.
9239 (isgreater_test): Likewise.
9240 (isgreaterequal_test): Likewise.
9241 (isinf_test): Likewise.
9242 (isless_test): Likewise.
9243 (islessequal_test): Likewise.
9244 (islessgreater_test): Likewise.
9245 (isnan_test): Likewise.
9246 (isnormal_test): Likewise.
9247 (issignaling_test): Likewise.
9248 (isunordered_test): Likewise.
9249 (j0_test): Likewise.
9250 (j1_test): Likewise.
9251 (jn_test): Likewise.
9252 (ldexp_test): Likewise.
9253 (lgamma_test): Likewise.
9254 (gamma_test): Likewise.
9255 (lrint_test): Likewise.
9256 (lrint_test_tonearest): Likewise.
9257 (lrint_test_towardzero): Likewise.
9258 (lrint_test_downward): Likewise.
9259 (lrint_test_upward): Likewise.
9260 (llrint_test): Likewise.
9261 (llrint_test_tonearest): Likewise.
9262 (llrint_test_towardzero): Likewise.
9263 (llrint_test_downward): Likewise.
9264 (llrint_test_upward): Likewise.
9265 (log_test): Likewise.
9266 (log10_test): Likewise.
9267 (log1p_test): Likewise.
9268 (log2_test): Likewise.
9269 (logb_test): Likewise.
9270 (logb_test_downward): Likewise.
9271 (lround_test): Likewise.
9272 (llround_test): Likewise.
9273 (modf_test): Likewise.
9274 (nearbyint_test): Likewise.
9275 (nextafter_test): Likewise.
9276 (nexttoward_test): Likewise.
9277 (pow_test): Likewise.
9278 (pow_test_tonearest): Likewise.
9279 (pow_test_towardzero): Likewise.
9280 (pow_test_downward): Likewise.
9281 (pow_test_upward): Likewise.
9282 (remainder_test): Likewise.
9283 (drem_test): Likewise.
9284 (remainder_test_tonearest): Likewise.
9285 (drem_test_tonearest): Likewise.
9286 (remainder_test_towardzero): Likewise.
9287 (drem_test_towardzero): Likewise.
9288 (remainder_test_downward): Likewise.
9289 (drem_test_downward): Likewise.
9290 (remainder_test_upward): Likewise.
9291 (drem_test_upward): Likewise.
9292 (remquo_test): Likewise.
9293 (rint_test): Likewise.
9294 (rint_test_tonearest): Likewise.
9295 (rint_test_towardzero): Likewise.
9296 (rint_test_downward): Likewise.
9297 (rint_test_upward): Likewise.
9298 (round_test): Likewise.
9299 (scalb_test): Likewise.
9300 (scalbn_test): Likewise.
9301 (scalbln_test): Likewise.
9302 (signbit_test): Likewise.
9303 (sin_test): Likewise.
9304 (sin_test_tonearest): Likewise.
9305 (sin_test_towardzero): Likewise.
9306 (sin_test_downward): Likewise.
9307 (sin_test_upward): Likewise.
9308 (sincos_test): Likewise.
9309 (sinh_test): Likewise.
9310 (sinh_test_tonearest): Likewise.
9311 (sinh_test_towardzero): Likewise.
9312 (sinh_test_downward): Likewise.
9313 (sinh_test_upward): Likewise.
9314 (sqrt_test): Likewise.
9315 (sqrt_test_tonearest): Likewise.
9316 (sqrt_test_towardzero): Likewise.
9317 (sqrt_test_downward): Likewise.
9318 (sqrt_test_upward): Likewise.
9319 (tan_test): Likewise.
9320 (tan_test_tonearest): Likewise.
9321 (tan_test_towardzero): Likewise.
9322 (tan_test_downward): Likewise.
9323 (tan_test_upward): Likewise.
9324 (tanh_test): Likewise.
9325 (tgamma_test): Likewise.
9326 (trunc_test): Likewise.
9327 (y0_test): Likewise.
9328 (y1_test): Likewise.
9329 (yn_test): Likewise.
9330 (significand_test): Likewise.
9331
e6b6a857
JM
9332 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9333 individual tests in comment.
9334 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9335 (prev_max_error): New variable.
9336 (prev_real_max_error): Likewise.
9337 (prev_imag_max_error): Likewise.
9338 (compare_ulp_data): Don't refer to test names in comment.
9339 (find_test_ulps): Remove function.
9340 (find_function_ulps): Likewise.
9341 (find_complex_function_ulps): Likewise.
9342 (init_max_error): Take function name as argument. Look up ulps
9343 for that function.
9344 (print_ulps): Remove function.
9345 (print_max_error): Use prev_max_error instead of calling
9346 find_function_ulps.
9347 (print_complex_max_error): Use prev_real_max_error and
9348 prev_imag_max_error instead of calling find_complex_function_ulps.
9349 (check_float_internal): Take max_ulp parameter instead of calling
9350 find_test_ulps. Don't call print_ulps.
9351 (check_float): Update call to check_float_internal.
9352 (check_complex): Update calls to check_float_internal.
9353 (START): Pass argument to init_max_error.
9354 * math/gen-libm-test.pl (%results): Don't include "kind"
9355 information.
9356 (parse_ulps): Don't handle ulps of individual tests.
9357 (print_ulps_file): Likewise.
9358 (output_ulps): Likewise.
9359 * math/README.libm-test: Update.
9360 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9361 individual tests.
9362 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9363 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9364 * sysdeps/arm/libm-test-ulps: Likewise.
9365 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9366 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9367 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9368 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9369 * sysdeps/microblaze/libm-test-ulps: Likewise.
9370 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9371 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9372 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9373 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9374 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9375 * sysdeps/sh/libm-test-ulps: Likewise.
9376 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9377 * sysdeps/tile/libm-test-ulps: Likewise.
9378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9379
45adef3c
JM
93802014-03-04 Joseph Myers <joseph@codesourcery.com>
9381
9382 * math/libm-test.inc (print_complex_max_error): Check separately
9383 whether real and imaginary errors are within allowed range and
9384 pass 0 to print_complex_function_ulps instead of value within
9385 allowed range.
9386
000232b9
SP
93872014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9388
d4b17258
SP
9389 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9390 formatting.
9391 (get_handles_fopen): Likewise.
9392 (do_write_test): Likewise.
9393
091eff71
SP
9394 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9395
fa3cd248
SP
9396 * libio/fileops.c (do_ftell): Use cached offset when
9397 available.
9398 * libio/iofwide.c (do_ftell_wide): Likewise.
9399 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9400 _IO_file_attach.
9401 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9402
000232b9
SP
9403 [BZ #16532]
9404 * libio/libioP.h (get_file_offset): New function.
9405 * libio/fileops.c (get_file_offset): Likewise.
9406 (do_ftell): Likewise.
9407 (_IO_new_file_seekoff): Split out ftell logic.
9408 * libio/wfileops.c (do_ftell_wide): Likewise.
9409 (_IO_wfile_seekoff): Split out ftell logic.
9410 * libio/tst-ftell-active-handler.c: New test case.
9411 * libio/Makefile (tests): Add it.
9412
116f4d1a
RM
94132014-03-03 Roland McGrath <roland@hack.frob.com>
9414
9415 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9416 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9417
532a6035
SP
94182014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9419
9420 [BZ #16639]
9421 * nscd/connections.c (nscd_init): Call do_exit.
9422 (start_threads): Call do_exit and notify_parent.
9423 (begin_drop_privileges): Call do_exit.
9424 (finish_drop_privileges): Likewise.
9425 * nscd/selinux.c (preserve_capabilities): Likewise.
9426 (install_real_capabilities): Likewise.
9427 (nscd_selinux_enabled): Likewise.
9428 (avc_create_thread): Likewise.
9429 (avc_alloc_lock): Likewise.
9430 (nscd_avc_init): Likewise.
9431 * nscd/nscd.c (parent_fd): New static variable.
9432 (main): Create a pipe between parent and child processes.
9433 Skip closing parent_fd.
9434 (monitor_child): New function.
9435 (do_exit): Likewise.
9436 (notify_parent): Likewise.
9437 * nscd/nscd.h (notify_parent): Likewise.
9438 (do_exit): Likewise.
9439
d6285c9f
CD
94402014-03-03 Carlos O'Donell <carlos@redhat.com>
9441
9442 * malloc/malloc.c (__libc_calloc): Revert last change.
9443
2b85d2a0
AZ
94442014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9445
9446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9447
c7debbdf
RS
94482014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9449
9450 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9452 implementation.
9453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9454 (__libc_ifunc_impl_list): Likewise.
9455 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9456 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9457 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9458 * string/strrchr.c: Define STRRCHR.
9459
235eed86
OB
94602014-02-28 Ondřej Bílka <neleai@seznam.cz>
9461
9462 * benchtest/bench-strtok.c (simple_strtok): Delete.
9463 (strtok_string): Use as benchmark.
9464 * string/strtok (STRTOK): New macro.
9465
8e25d1e7
CD
94662014-02-28 Carlos O'Donell <carlos@redhat.com>
9467
ef563f92
CD
9468 * manual/threads.texi: Add header and standard comments to all
9469 functions.
9470
8e25d1e7
CD
9471 * elf/dl-lookup.c (check_match): New function.
9472 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9473 (do_lookup_x): Remove nested function check_match. Use non-nested
9474 function check_match.
9475
ff71cc37
RM
94762014-02-28 Roland McGrath <roland@hack.frob.com>
9477
f08e9a26
RM
9478 * csu/Makefile (generated, before-compile): Use += rather than =.
9479 * catgets/Makefile (generated, generated-dirs): Likewise.
9480 * debug/Makefile (generated): Likewise.
9481 * dlfcn/Makefile (generated): Likewise.
9482 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9483 * iconvdata/Makefile (before-compile, generated): Likewise.
9484 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9485 * libio/Makefile (generated): Likewise.
9486 * malloc/Makefile (generated): Likewise.
9487 * manual/Makefile (generated, generated-dirs): Likewise.
9488 * misc/Makefile (generated): Likewise.
9489 * posix/Makefile (generated): Likewise.
9490 * resolv/Makefile (generated): Likewise.
9491 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9492 * timezone/Makefile (generated, generated-dirs): Likewise.
9493
ff71cc37
RM
9494 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9495
fe13a20c
AZ
94962014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9497
57f41c40
AS
9498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9499 power8 implementation.
9500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9501 file: POWER8 llround ifunc implementation.
9502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9503 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9504 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9505 POWER8 llround implementation.
9506
57f41c40
AS
9507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9508 power8 implementation.
9509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9510 file: POWER8 llrint ifunc implementation.
9511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9512 Add POWER8 implementation.
1ad8950a
AZ
9513 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9514 POWER8 llrint implementation.
9515
57f41c40
AS
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9517 power8 implementation.
9518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9519 file: POWER8 finite ifunc implementation.
9520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9521 Add POWER8 implementation.
cac626d6
AZ
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9523 Likewise.
9524 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9525 POWER8 finite implementation.
9526 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9527
57f41c40
AS
9528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9529 power8 implementation.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9531 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9533 POWER8 implementation.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9535 Likewise.
57f41c40
AS
9536 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9537 isinf implementation.
4393fc11
AZ
9538 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9539
57f41c40
AS
9540 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9541 (INIT_ARCH): Add hwcap2 initialization.
9542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9543 power8 implementation.
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9545 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9547 POWER8 implementation.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9549 Likewise.
57f41c40
AS
9550 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9551 isnan implementation.
487972ae
AZ
9552 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9553
7d92b787
JY
95542014-02-27 Joey Ye <joey.ye@arm.com>
9555
9556 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9557 (_FP_NANFRAC_Q): Set to zero.
9558
1cadc858
SP
95592014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9560
9561 [BZ #16623]
9562 * math/auto-libm-test-in: New test inputs.
9563 * math/auto-libm-test-out: Regenerate.
9564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9565 and DA.
9566 (__cos): Likewise.
9567 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9568
f8c17e79
JM
95692014-02-27 Joseph Myers <joseph@codesourcery.com>
9570
9571 * scripts/evaluate-test.sh: Take new argument indicating whether
9572 failure is expected.
9573 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9574 indicating whether failure is expected.
9575 * conform/Makefile (test-xfail-run-conformtest): New variable.
9576 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9577 level.
9578 * posix/Makefile (test-xfail-annexc): New variable.
9579 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9580
a5f891ac
JM
95812014-02-26 Joseph Myers <joseph@codesourcery.com>
9582
9583 * argp/Makefile: Include Makeconfig immediately after defining
9584 subdir.
9585 * assert/Makefile: Likewise.
9586 * benchtests/Makefile: Likewise.
9587 * catgets/Makefile: Likewise.
9588 * conform/Makefile: Likewise.
9589 * crypt/Makefile: Likewise.
9590 * csu/Makefile: Likewise.
9591 (all): Remove target.
9592 * ctype/Makefile: Include Makeconfig immediately after defining
9593 subdir.
9594 * debug/Makefile: Likewise.
9595 * dirent/Makefile: Likewise.
9596 * dlfcn/Makefile: Likewise.
9597 * gmon/Makefile: Likewise.
9598 * gnulib/Makefile: Likewise.
9599 * grp/Makefile: Likewise.
9600 * gshadow/Makefile: Likewise.
9601 * hesiod/Makefile: Likewise.
9602 * hurd/Makefile: Likewise.
9603 (all): Remove target.
9604 * iconvdata/Makefile: Include Makeconfig immediately after
9605 defining subdir.
9606 * inet/Makefile: Likewise.
9607 * intl/Makefile: Likewise.
9608 * io/Makefile: Likewise.
9609 * libio/Makefile: Likewise.
9610 (all): Remove target.
9611 * locale/Makefile: Include Makeconfig immediately after defining
9612 subdir.
9613 * login/Makefile: Likewise.
9614 * mach/Makefile: Likewise.
9615 (all): Remove target.
9616 * malloc/Makefile: Include Makeconfig immediately after defining
9617 subdir.
9618 (all): Remove target.
9619 * manual/Makefile: Include Makeconfig immediately after defining
9620 subdir.
9621 * math/Makefile: Likewise.
9622 * misc/Makefile: Likewise.
9623 * nis/Makefile: Likewise.
9624 * nss/Makefile: Likewise.
9625 * po/Makefile: Likewise.
9626 (all): Remove target.
9627 * posix/Makefile: Include Makeconfig immediately after defining
9628 subdir.
9629 * pwd/Makefile: Likewise.
9630 * resolv/Makefile: Likewise.
9631 * resource/Makefile: Likewise.
9632 * rt/Makefile: Likewise.
9633 * setjmp/Makefile: Likewise.
9634 * shadow/Makefile: Likewise.
9635 * signal/Makefile: Likewise.
9636 * socket/Makefile: Likewise.
9637 * soft-fp/Makefile: Likewise.
9638 * stdio-common/Makefile: Likewise.
9639 * stdlib/Makefile: Likewise.
9640 * streams/Makefile: Likewise.
9641 * string/Makefile: Likewise.
9642 * sunrpc/Makefile: Likewise.
9643 (all): Remove target.
9644 * sysvipc/Makefile: Include Makeconfig immediately after defining
9645 subdir.
9646 * termios/Makefile: Likewise.
9647 * time/Makefile: Likewise.
9648 * timezone/Makefile: Likewise.
9649 (all): Remove target.
9650 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9651 subdir.
9652 * wctype/Makefile: Likewise.
9653
5b456e9d
SE
96542014-02-26 Steve Ellcey <sellcey@mips.com>
9655
9656 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9657 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9658 (libc_feholdexcept_setround_mips): Ditto.
9659 (libc_feholdsetround): New.
9660 (libc_feholdsetroundf): New.
9661 (libc_feholdsetroundl): New.
9662 (libc_feupdateenv_test_mips): New.
9663 (libc_feupdateenv_test): New.
9664 (libc_feupdateenv_testf): New.
9665 (libc_feupdateenv_testl): New.
9666 (libc_feresetround): New.
9667 (libc_feresetroundf): New.
9668 (libc_feresetroundl): New.
9669 (libc_fetestexcept_mips): New.
9670 (libc_fetestexcept): New.
9671 (libc_fetestexceptf): New.
9672 (libc_fetestexceptl): New.
9673 (HAVE_RM_CTX): New.
9674 (libc_feholdexcept_setround_mips_ctx): New.
9675 (libc_feholdexcept_setround_ctx): New.
9676 (libc_feholdexcept_setroundf_ctx): New.
9677 (libc_feholdexcept_setroundl_ctx): New.
9678 (libc_fesetenv_mips_ctx): New.
9679 (libc_fesetenv_ctx): New.
9680 (libc_fesetenv_ctxf): New.
9681 (libc_fesetenv_ctxl): New.
9682 (libc_feupdateenv_mips_ctx): New.
9683 (libc_feupdateenv_ctx): New.
9684 (libc_feupdateenvf_ctx): New.
9685 (libc_feupdateenvl_ctx): New.
9686 (libc_feholdsetround_mips_ctx): New.
9687 (libc_feholdsetround_ctx): New.
9688 (libc_feholdsetroundf_ctx): New.
9689 (libc_feholdsetroundl_ctx): New.
9690 (libc_feresetround_mips_ctx): New.
9691 (libc_feresetround_ctx): New.
9692 (libc_feresetroundf_ctx): New.
9693 (libc_feresetroundl_ctx): New.
9694
085d0e35
CD
96952014-02-26 Carlos O'Donell <carlos@redhat.com>
9696
f067bf1f
CD
9697 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9698
085d0e35
CD
9699 * manual/ipc.texi: New file.
9700 * manual/Makefile (chapters): Add ipc.
9701 * manual/job.texi: Add "Inter-Process Communication" to next.
9702 * manual/process.texi: Add "Inter-Process Communication" to prev.
9703
86e58c08
AZ
97042014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9705
9706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9707
4248f0da
OB
97082014-02-26 Ondřej Bílka <neleai@seznam.cz>
9709
9710 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9711
cf822e3c
OB
9712 * manual/arith.texi: Fix spaces after sentences.
9713 * manual/charset.texi: Likewise.
9714 * manual/errno.texi: Likewise.
9715 * manual/install.texi: Likewise.
9716 * manual/llio.texi: Likewise.
9717 * manual/locale.texi: Likewise.
9718 * manual/maint.texi: Likewise.
9719 * manual/math.texi: Likewise.
9720 * manual/memory.texi: Likewise.
9721 * manual/message.texi: Likewise.
9722 * manual/probes.texi: Likewise.
9723 * manual/resource.texi: Likewise.
9724 * manual/signal.texi: Likewise.
9725 * manual/socket.texi: Likewise.
9726 * manual/stdio.texi: Likewise.
9727 * manual/string.texi: Likewise.
9728 * manual/time.texi: Likewise.
9729 * manual/users.texi: Likewise.
9730
ade40b10
CD
97312014-02-25 Carlos O'Donell <carlos@redhat.com>
9732
9733 [BZ #16632]
9734 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9735 _DEFAULT_SOURCE is defined.
9736
d0503676
CD
97372014-02-25 Ulrich Drepper <drepper@gmail.com>
9738 Carlos O'Donell <carlos@redhat.com>
9739
9740 [BZ #16613]
9741 * elf/dl-tls.c (_dl_count_modids): New function.
9742 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9743 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9744 audit library and increment generation counter.
9745 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9746 * elf/tst-audit9.c: New file.
9747 * elf/tst-auditmod9a.c: New file.
9748 * elf/tst-auditmod9b.c: New file.
9749 * elf/Makefile: Add rules to build and run tst-audit9.
9750
4cbf380c
FW
97512014-02-25 Florian Weimer <fweimer@redhat.com>
9752
9753 [BZ #15347]
9754 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9755
80a56cc3
WN
97562014-02-25 Will Newton <will.newton@linaro.org>
9757
9758 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9759 (__longjmp): Restore sp and lr before restoring callee
9760 saved registers. Add longjmp and longjmp_target
9761 SystemTap probe point.
9762 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9763 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9764 Define to zero to match jmpbuf layout.
9765 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9766 (__sigsetjmp): Save sp and lr before saving callee
9767 saved registers. Add setjmp SystemTap probe point.
9768
3ea0f74e
SL
97692014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9770
9771 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9772
b04acb26
AS
97732014-02-24 Andreas Schwab <schwab@suse.de>
9774
9775 [BZ #15804]
9776 * elf/pldd.c (wait_for_ptrace_stop): New function.
9777 (main): Call it after attaching.
9778
098ad55c
RM
97792014-02-22 Roland McGrath <roland@hack.frob.com>
9780
d4ec6ae1
RM
9781 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9782 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9783 Versions files is now verboten.
9784 * hurd/Versions (libc: GLIBC_2.0):
9785 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9786 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9787 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9788 * mach/Versions: Likewise.
9789
098ad55c
RM
9790 * csu/Versions: Remove unused %include.
9791 * resolv/Versions: Likewise.
9792
acd7f096
JM
97932014-02-21 Joseph Myers <joseph@codesourcery.com>
9794
f0881698
JM
9795 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9796 ($(objpfx)check-local-headers.out): Likewise.
9797 ($(objpfx)begin-end-check.out): Likewise.
9798 * Makerules (check-abi-%.out): Likewise.
9799 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9800 ($(objpfx)test2.cat): Likewise.
9801 ($(objpfx)de/libc.cat): Likewise.
9802 ($(objpfx)test-gencat.out): Likewise.
9803 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9804 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9805 ($(objpfx)noload-mem): Likewise.
9806 ($(objpfx)tst-pathopt.out): Likewise.
9807 ($(objpfx)tst-rtld-load-self.out): Likewise.
9808 ($(objpfx)tst-array1-cmp.out): Likewise.
9809 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9810 ($(objpfx)tst-array2-cmp.out): Likewise.
9811 ($(objpfx)tst-array3-cmp.out): Likewise.
9812 ($(objpfx)tst-array4-cmp.out): Likewise.
9813 ($(objpfx)tst-array5-cmp.out): Likewise.
9814 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9815 ($(objpfx)check-textrel.out): Likewise.
9816 ($(objpfx)check-execstack.out): Likewise.
9817 ($(objpfx)check-localplt.out): Likewise.
9818 ($(objpfx)order2-cmp.out): Likewise.
9819 ($(objpfx)tst-leaks1-mem): Likewise.
9820 ($(objpfx)tst-leaks1-static-mem): Likewise.
9821 ($(objpfx)tst-initorder-cmp.out): Likewise.
9822 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9823 ($(objpfx)tst-unused-dep.out): Likewise.
9824 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9825 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9826 * iconv/Makefile (test-iconvconfig): Likewise.
9827 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9828 ($(objpfx)iconv-test.out): Likewise.
9829 ($(objpfx)tst-tables.out): Likewise.
9830 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9831 ($(objpfx)tst-gettext.out): Likewise.
9832 ($(objpfx)tst-translit.out): Likewise.
9833 ($(objpfx)tst-gettext2.out): Likewise.
9834 ($(objpfx)tst-gettext4.out): Likewise.
9835 ($(objpfx)tst-gettext6.out): Likewise.
9836 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9837 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9838 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9839 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9840 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9841 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9842 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9843 ($(objpfx)wordexp-tst.out): Likewise.
9844 ($(objpfx)annexc.out): Likewise.
9845 ($(objpfx)tst-fnmatch-mem): Likewise.
9846 ($(objpfx)bug-regex2-mem): Likewise.
9847 ($(objpfx)bug-regex14-mem): Likewise.
9848 ($(objpfx)bug-regex21-mem): Likewise.
9849 ($(objpfx)bug-regex31-mem): Likewise.
9850 ($(objpfx)tst-vfork3-mem): Likewise.
9851 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9852 ($(objpfx)tst-pcre-mem): Likewise.
9853 ($(objpfx)tst-boost-mem): Likewise.
9854 ($(objpfx)tst-getconf.out): Likewise.
9855 ($(objpfx)bug-ga2-mem): Likewise.
9856 ($(objpfx)bug-glob2-mem): Likewise.
9857 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9858 ($(objpfx)mtrace-tst-leaks2): Likewise.
9859 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9860 ($(objpfx)tst-printf.out): Likewise.
9861 ($(objpfx)tst-setvbuf1.out): Likewise.
9862 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9863 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9864 ($(objpfx)tst-fmtmsg.out): Likewise.
9865 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9866 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9867
acd7f096
JM
9868 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9869 * bits/sigaction.h [__USE_MISC]: Likewise.
9870 * bits/waitstatus.h: Update #endif comments.
9871 * ctype/ctype.h: Likewise.
9872 * dirent/dirent.h: Likewise.
9873 [__USE_MISC]: Remove redundant conditionals.
9874 * grp/grp.h: Update #endif comments.
9875 [__USE_GNU]: Remove redundant conditionals.
9876 [__USE_MISC]: Likewise.
9877 * inet/netinet/in.h [__USE_GNU]: Likewise.
9878 * io/sys/stat.h [__USE_MISC]: Likewise.
9879 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9880 * libio/bits/stdio.h: Update #endif comments.
9881 [__USE_MISC]: Remove redundant conditionals.
9882 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9883 * libio/stdio.h: Update #endif comments.
9884 [__USE_MISC]: Remove redundant conditionals.
9885 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9886 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9887 * math/math.h: Update #else and #endif comments.
9888 [__USE_MISC]: Remove redundant conditionals.
9889 * misc/sys/uio.h: Update #endif comments.
9890 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9891 * posix/glob.h [__USE_MISC]: Likewise.
9892 * posix/sys/types.h: Update #endif comments.
9893 [__USE_MISC]: Remove redundant conditionals.
9894 * posix/sys/wait.h: Update #endif comments.
9895 [__USE_MISC]: Remove redundant conditionals.
9896 * posix/unistd.h: Update #endif comments.
9897 [__USE_MISC]: Remove redundant conditionals.
9898 * pwd/pwd.h [__USE_GNU]: Likewise.
9899 [__USE_MISC]: Likewise.
9900 * resolv/netdb.h [__USE_GNU]: Likewise.
9901 * signal/signal.h: Update #endif comments.
9902 [__USE_MISC]: Remove redundant conditionals.
9903 * stdlib/stdlib.h: Update #else and #endif comments.
9904 [__USE_MISC]: Remove redundant conditionals.
9905 [__USE_GNU]: Likewise.
9906 * string/bits/string2.h [__USE_MISC]: Likewise.
9907 * string/string.h: Update #endif comments.
9908 [__USE_MISC]: Remove redundant conditionals.
9909 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9910 Likewise.
9911 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9912 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9913 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9914 Likewise.
9915 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9916 Likewise.
9917 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9918 comments.
9919 [__USE_MISC]: Remove redundant conditionals.
9920 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9921 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9922 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9923 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9924 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9925 Likewise.
9926 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9927 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9928 Likewise.
9929 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9930 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9931 Likewise.
9932 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9933 Likewise.
9934 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9935 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9936 Likewise.
9937 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9938 Likewise.
9939 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9940 * sysdeps/x86/bits/string.h: Update #endif comments.
9941 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9942 conditionals.
9943 * time/sys/time.h: Update #endif comments.
9944 * time/time.h: Likewise.
9945 [__USE_MISC]: Remove redundant conditionals.
9946
a5d82e4e
YG
99472014-02-21 Yury Gribov <y.gribov@samsung.com>
9948
9949 [BZ #16600]
9950 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9951
9a80491d
AS
99522014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9953
9954 * Versions.def (librt): Add GLIBC_2.17.
9955
105fa381
AC
99562014-02-21 Adam Conrad <adconrad@0c3.net>
9957
9958 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9959 synonym for _SYS_AUXV_H to allow direct inclusion.
9960 * sysdeps/sparc/bits/hwcap.h: Likewise.
9961 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9962 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9963 * sysdeps/sparc/sysdep.h: Likewise.
9964
b8cd1c4e
SP
99652014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9966
9967 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9968
bd939d23
RS
99692014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9970
9971 * benchtests/bench-strrchr.c: Print length instead of position.
9972
5d7b57ca
JM
99732014-02-20 Joseph Myers <joseph@codesourcery.com>
9974
bc688c10
JM
9975 [BZ #16611]
9976 * sysdeps/unix/sysv/linux/kernel-features.h
9977 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9978 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9979 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9980 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9981 Likewise.
9982 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9983 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9984 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9985 (__ASSUME_SENDMMSG): Define instead of using previous
9986 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9987 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9988 (__ASSUME_SENDMMSG_SYSCALL): Define.
9989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9990 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9991 Likewise.
9992 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9993 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9994 Likewise.
9995 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9996 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9997 Likewise.
9998 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9999 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10000 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10001 [__ASSUME_SENDMMSG]: Change conditionals to
10002 [__ASSUME_SENDMMSG_SOCKETCALL].
10003 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10004 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10005 Define.
10006 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10007 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10008 Likewise.
10009 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10010 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10011 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10012 [!__ASSUME_SENDMMSG]: Change conditional to
10013 [!__ASSUME_SENDMMSG_SOCKETCALL].
10014 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10015 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10016 Define.
10017
0e31b18c
JM
10018 [BZ #16610]
10019 * sysdeps/unix/sysv/linux/kernel-features.h
10020 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10021 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10022 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10023 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10024 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10025 [__i386__ || __sparc__]
10026 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10027 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10028 (__ASSUME_RECVMMSG): Define instead of using previous
10029 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10030 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10031 (__ASSUME_RECVMMSG_SYSCALL): Define.
10032 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10033 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10034 Likewise.
10035 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10036 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10037 Likewise.
10038 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10039 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10040 Likewise.
10041 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10042 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10043 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10044 [__ASSUME_RECVMMSG]: Change condition to
10045 [__ASSUME_RECVMMSG_SOCKETCALL].
10046 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10047 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10048 Define.
10049 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10050 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10051 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10052 Likewise.
10053 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10054 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10055 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10056 [!__ASSUME_RECVMMSG]: Change condition to
10057 [!__ASSUME_RECVMMSG_SOCKETCALL].
10058 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10059 (__ASSUME_RECVMMSG_SYSCALL): Define.
10060
dd481ccf
JM
10061 [BZ #16609]
10062 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10063 __powerpc__ || __s390__ || __sh__ || __sparc__]
10064 (__ASSUME_SOCKETCALL): Define.
10065 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10066 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10067 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10068 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10069 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10070 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10071 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10072 (__ASSUME_ACCEPT4): Define instead of using previous
10073 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10074 __powerpc__ || __sparc__ || __s390__)] condition.
10075 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10076 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10077 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10078 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10079 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10080 [!__ASSUME_ACCEPT4]: Change condition to
10081 [!__ASSUME_ACCEPT4_SOCKETCALL].
10082 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10083 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10084 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10085 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10086 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10087 __ASSUME_ACCEPT4_SYSCALL.
10088 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10089 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10090 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10091 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10092 __ASSUME_ACCEPT4_SYSCALL.
10093 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10094 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10095 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10096 [__ASSUME_ACCEPT4]: Change condition to
10097 [__ASSUME_ACCEPT4_SOCKETCALL].
10098 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10099 (__ASSUME_SOCKETCALL): Define.
10100 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10102 (__ASSUME_SOCKETCALL): Define.
10103 (__ASSUME_ACCEPT4): Remove.
10104 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10105 Define.
10106 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10107 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10108 Likewise.
10109 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10110 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10111
5d7b57ca
JM
10112 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10113 macro.
10114 (HWCAP_ARM_LPAE): Likewise.
10115 (HWCAP_ARM_EVTSTRM): Likewise.
10116 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10117 Add vpfd32, lpae and evtstrm.
10118 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10119 Increase to 22.
10120
63689d61
JM
101212014-02-19 Joseph Myers <joseph@codesourcery.com>
10122
10123 * math/auto-libm-test-in: Add tests of clog10.
10124 * math/auto-libm-test-out: Regenerated.
10125 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10126 * sysdeps/i386/fpu/libm-test-ulps: Update.
10127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10128
ab09bf61
AS
101292014-02-18 Andreas Schwab <schwab@suse.de>
10130
10131 [BZ #16574]
10132 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10133 Store non-zero if the second buffer was newly allocated.
10134 (send_dg): Likewise.
10135 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10136 to send_vc and send_dg.
10137 (res_nsend): Pass NULL for ansp2_malloced.
10138 * resolv/res_query.c (__libc_res_nquery): Add parameter
10139 answerp2_malloced and pass it down to __libc_res_nsend.
10140 (res_nquery): Pass additional NULL to __libc_res_nquery.
10141 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10142 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10143 second answer buffer if answerp2_malloced was set.
10144 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10145 (__libc_res_nquerydomain): Add parameter
10146 answerp2_malloced and pass it down to __libc_res_nquery.
10147 (res_nquerydomain): Pass additional NULL to
10148 __libc_res_nquerydomain.
10149 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10150 additional NULL to __libc_res_nsend and __libc_res_nquery.
10151 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10152 additional NULL to __libc_res_nsearch.
10153 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10154 parameter of __libc_res_nsearch to check for separately allocated
10155 second buffer.
10156 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10157 __libc_res_nquery.
10158 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10159 additional NULL to __libc_res_nquery.
10160 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10161 __libc_res_nsearch.
10162 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10163 * include/resolv.h: Update prototypes of __libc_res_nquery,
10164 __libc_res_nsearch, __libc_res_nsend.
10165
a4fb7861
JM
101662014-02-18 Joseph Myers <joseph@codesourcery.com>
10167
c6af2d89
JM
10168 * math/auto-libm-test-in: Add tests of fma.
10169 * math/auto-libm-test-out: Regenerated.
10170 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10171 (fma_towardzero_test_data): Likewise.
10172 (fma_downward_test_data): Likewise.
10173 (fma_upward_test_data): Likewise.
10174 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10175 mpc_mode.
10176 (rounding_modes): Add values for new field.
10177 (func_calc_method): Add value mpfr_fff_f.
10178 (func_calc_desc): Add mpfr_fff_f union field.
10179 (test_function): Add field exact_args.
10180 (FUNC): Add macro argument EXACT_ARGS.
10181 (FUNC_mpfr_f_f): Update call to FUNC.
10182 (FUNC_mpfr_f_f): Likewise.
10183 (FUNC_mpfr_ff_f): Likewise.
10184 (FUNC_mpfr_if_f): Likewise.
10185 (FUNC_mpc_c_f): Likewise.
10186 (FUNC_mpc_c_c): Likewise.
10187 (test_functions): Add fma. Update calls to FUNC.
10188 (handle_input_arg): Add argument exact_args.
10189 (add_test): Update call to handle_input_arg.
10190 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10191 (output_for_one_input_case): Update call to calc_generic_results.
10192 Recalculate exact zero results in each rounding mode.
10193
a4fb7861
JM
10194 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10195 non-negative before setting low bit.
10196 * math/auto-libm-test-in: Mark one asin test possibly having
10197 spurious underflow.
10198 * math/auto-libm-test-out: Regenerated.
10199 * sysdeps/i386/fpu/libm-test-ulps: Update.
10200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10201
ef114eaf
DH
102022014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10203
2b7f4f2c
SP
10204 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10205 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10206 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10207 * README: Add missing listing for microblaze*-*-linux-gnu.
10208
8125aedc
AM
102092014-02-16 Ondřej Bílka <neleai@seznam.cz>
10210
10211 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10212 duplicate code
10213
c70a4b1d
MF
102142014-02-16 Mike Frysinger <vapier@gentoo.org>
10215
10216 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10217 * sysdeps/unix/sysv/linux/ia64: Move directory from
10218 ports/sysdeps/unix/sysv/linux/ia64.
10219 * README: Update listing for ia64-*-linux-gnu.
10220
591aeaf7
TD
102212014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10222 Joseph Myers <joseph@codesourcery.com>
10223
10224 * Makeconfig (test-name): New variable.
10225 (evaluate-test): Likewise.
10226 * Makerules (do-test-clean): Remove .test-result files.
10227 (common-mostlyclean): Likewise.
10228 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10229 * scripts/evaluate-test.sh: New file.
10230
6e89caf1
JM
102312014-02-14 Joseph Myers <joseph@codesourcery.com>
10232
7f98f180
JM
10233 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10234 separate $(objpfx)tst-fopenloc-cmp.out and
10235 $(objpfx)tst-fopenloc-mem.out targets.
10236 (tests): Update dependencies.
10237 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10238 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10239 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10240 (tst-rxspencer-no-utf8-ARGS): New variable.
10241 (tst-rxspencer-no-utf8-ENV): Likewise.
10242 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10243 instead of $(objpfx)tst-rxspencer-mem.
10244 ($(objpfx)tst-rxspencer-mem): Change target to
10245 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10246 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10247 * posix/tst-rxspencer-no-utf8.c: New file.
10248
6e89caf1
JM
10249 * elf/Makefile ($(objpfx)order.out): Remove rule.
10250 [$(run-built-tests) = yes] (tests): Depend on
10251 $(objpfx)order-cmp.out.
10252 ($(objpfx)order-cmp.out): New rule.
10253 [$(run-built-tests) = yes] (tests): Depend on
10254 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10255 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10256 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10257 $(objpfx)tst-array5-static-cmp.out.
10258 ($(objpfx)tst-array1.out): Remove rule.
10259 ($(objpfx)tst-array1-cmp.out): New rule.
10260 ($(objpfx)tst-array1-static.out): Remove rule.
10261 ($(objpfx)tst-array1-static-cmp.out): New rule.
10262 ($(objpfx)tst-array2.out): Remove rule.
10263 ($(objpfx)tst-array2-cmp.out): New rule.
10264 ($(objpfx)tst-array3.out): Remove rule.
10265 ($(objpfx)tst-array3-cmp.out): New rule.
10266 ($(objpfx)tst-array4.out): Remove rule.
10267 ($(objpfx)tst-array4-cmp.out): New rule.
10268 ($(objpfx)tst-array5.out): Remove rule.
10269 ($(objpfx)tst-array5-cmp.out): New rule.
10270 ($(objpfx)tst-array5-static.out): Remove rule.
10271 ($(objpfx)tst-array5-static-cmp.out): New rule.
10272 [$(run-built-tests) = yes] (tests): Depend on
10273 $(objpfx)order2-cmp.out.
10274 ($(objpfx)order2.out): Remove rule.
10275 ($(objpfx)order2-cmp.out): New rule.
10276 ($(objpfx)tst-initorder.out): Remove rule.
10277 [$(run-built-tests) = yes] (tests): Depend on
10278 $(objpfx)tst-initorder-cmp.out.
10279 ($(objpfx)tst-initorder-cmp.out): New rule.
10280 ($(objpfx)tst-initorder2.out): Remove rule.
10281 [$(run-built-tests) = yes] (tests): Depend on
10282 $(objpfx)tst-initorder2-cmp.out.
10283 ($(objpfx)tst-initorder2-cmp.out): New rule.
10284 [$(run-built-tests) = yes] (tests): Depend on
10285 $(objpfx)tst-unused-dep-cmp.out.
10286 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10287 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10288 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10289 on $(objpfx)tst-setvbuf1-cmp.out.
10290 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10291 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10292 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10293 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10294 ($(objpfx)tst-svc.out): Remove rule.
10295 ($(objpfx)tst-svc-cmp.out): New rule.
10296
ed9a38e2
JM
102972014-02-13 Joseph Myers <joseph@codesourcery.com>
10298
10299 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10300 * ctype/ctype.h [__USE_MISC]: Likewise.
10301 * dirent/dirent.h [__USE_MISC]: Likewise.
10302 * grp/grp.h [__USE_MISC]: Likewise.
10303 * io/fcntl.h [__USE_MISC]: Likewise.
10304 * io/sys/stat.h [__USE_MISC]: Likewise.
10305 * libio/stdio.h [__USE_MISC]: Likewise.
10306 * posix/unistd.h [__USE_MISC]: Likewise.
10307 * pwd/pwd.h [__USE_MISC]: Likewise.
10308 * stdlib.h [__USE_MISC]: Likewise.
10309 * string/bits/string2.h [__USE_MISC]: Likewise.
10310 * string/string.h [__USE_MISC]: Likewise.
10311 * time/time.h [__USE_MISC]: Likewise.
10312
d6680619
AS
103132014-02-13 Andreas Schwab <schwab@suse.de>
10314
10315 [BZ #16574]
10316 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10317 second answer buffer if it was separately allocated.
10318
ace614b8
JM
103192014-02-12 Joseph Myers <joseph@codesourcery.com>
10320
743151ae
JM
10321 * sysdeps/mips/math-tests.h: Include <features.h>.
10322 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10323 (ROUNDING_TESTS_long_double): Do not define.
10324 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10325 (EXCEPTION_TESTS_long_double): Likewise.
10326 * sysdeps/mips/mips64/libm-test-ulps: Update.
10327
498afc54
JM
10328 * include/features.h (__USE_BSD): Remove macro definitions.
10329 (__USE_SVID): Likewise.
10330 (_BSD_SOURCE): Likewise.
10331 (_SVID_SOURCE): Likewise.
10332 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10333 from definition of _DEFAULT_SOURCE.
10334 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10335 [_DEFAULT_SOURCE].
10336 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10337 * bits/mman.h [__USE_BSD]: Likewise.
10338 * bits/termios.h [__USE_BSD]: Likewise.
10339 * bits/waitstatus.h [__USE_BSD]: Likewise.
10340 * ctype/ctype.h [__USE_SVID]: Likewise.
10341 * dirent/dirent.h [__USE_BSD]: Likewise.
10342 * grp/grp.h [__USE_SVID]: Likewise.
10343 [__USE_BSD]: Likewise.
10344 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10345 * io/fcntl.h [__USE_BSD]: Likewise.
10346 * io/ftw.h [__USE_BSD]: Likewise.
10347 * io/sys/stat.h [__USE_BSD]: Likewise.
10348 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10349 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10350 * libio/stdio.h [__USE_SVID]: Likewise.
10351 [__USE_BSD]: Likewise.
10352 * math/math.h [__USE_SVID]: Likewise.
10353 [__USE_BSD]: Likewise.
10354 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10355 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10356 * misc/search.h [__USE_SVID]: Likewise.
10357 * misc/sys/mman.h [__USE_BSD]: Likewise.
10358 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10359 * misc/sys/uio.h [__USE_BSD]: Likewise.
10360 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10361 * posix/glob.h [__USE_BSD]: Likewise.
10362 * posix/regex.h [__USE_BSD]: Likewise.
10363 * posix/sys/types.h [__USE_BSD]: Likewise.
10364 [__USE_SVID]: Likewise.
10365 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10366 * posix/sys/wait.h [__USE_BSD]: Likewise.
10367 [__USE_SVID]: Likewise.
10368 * posix/unistd.h [__USE_BSD]: Likewise.
10369 [__USE_SVID]: Likewise.
10370 * pwd/pwd.h [__USE_SVID]: Likewise.
10371 * resolv/netdb.h [__USE_BSD]: Likewise.
10372 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10373 * signal/signal.h [__USE_BSD]: Likewise.
10374 [__USE_SVID]: Likewise.
10375 * socket/sys/socket.h [__USE_BSD]: Likewise.
10376 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10377 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10378 [__USE_SVID]: Likewise.
10379 * string/bits/string2.h [__USE_BSD]: Likewise.
10380 [__USE_SVID]: Likewise.
10381 * string/bits/string3.h [__USE_BSD]: Likewise.
10382 * string/endian.h [__USE_BSD]: Likewise.
10383 * string/string.h [__USE_SVID]: Likewise.
10384 [__USE_BSD]: Likewise.
10385 * string/strings.h [__USE_BSD]: Likewise.
10386 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10387 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10388 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10389 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10390 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10391 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10392 Likewise.
10393 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10394 Likewise.
10395 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10396 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10397 Likewise.
10398 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10399 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10400 Likewise.
10401 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10402 Likewise.
10403 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10404 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10405 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10406 Likewise.
10407 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10408 Likewise.
10409 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10410 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10411 * termios/termios.h [__USE_BSD]: Likewise.
10412 * time/sys/time.h [__USE_BSD]: Likewise.
10413 * time/time.h [__USE_BSD]: Likewise.
10414 [__USE_SVID]: Likewise.
10415
dd7b064c
JM
10416 * Makefile (subdir_targets): Remove subdir_lint.out.
10417
a2c4c199
JM
10418 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10419 (do-tst-printf): Likewise.
10420 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10421 $(objpfx)tst-printf.out.
10422
8756f740
JM
10423 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10424
1b6dd3f1
JM
10425 * Makerules (check-abi-%): Change target to
10426 $(objpfx)check-abi-%.out.
10427 (check-abi target): Update dependencies.
10428 (check-abi-pattern variable): Redirect output of diff to $@.
10429 (check-abi variable): Likewise.
10430 * elf/Makefile (check-abi): Update dependencies.
10431
ace614b8
JM
10432 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10433 unused.
10434 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10435 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10436 subnormal range.
10437 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10438 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10439 value has largest subnormal exponent.
10440 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10441 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10442 * sysdeps/aarch64/soft-fp/sfp-machine.h
10443 (_FP_TININESS_AFTER_ROUNDING): New macro.
10444 * sysdeps/alpha/soft-fp/sfp-machine.h
10445 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10446 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10447 Likewise.
10448 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10449 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10450 * sysdeps/mips/soft-fp/sfp-machine.h
10451 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10452 * sysdeps/powerpc/soft-fp/sfp-machine.h
10453 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10454 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10455 Likewise.
10456 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10457 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10458 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10459 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10460 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10461 Likewise.
10462
fbfdf9cb
DAS
104632014-02-12 Dylan Alex Simon <dylan@dylex.net>
10464
10465 [BZ #16545]
10466 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10467 model 1.
10468
68b7efaa
RH
104692014-02-12 Richard Henderson <rth@redhat.com>
10470
c70a4b1d 10471 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10472 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10473 * sysdeps/unix/sysv/linux/alpha: Move directory from
10474 ports/sysdeps/unix/sysv/linux/alpha.
10475 * README: Update listing for alpha-*-linux-gnu.
10476
cb4a2928
JM
104772014-02-11 Joseph Myers <joseph@codesourcery.com>
10478
c941736c
JM
10479 * include/features.h: Update comment documenting feature test
10480 macros.
10481 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10482 _DEFAULT_SOURCE.
10483 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10484 (_SVID_SOURCE): Likewise.
10485 (_DEFAULT_SOURCE): Update description of default features.
10486 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10487 with _GNU_SOURCE.
10488 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10489 (S_ISVTX): Likewise.
10490 * manual/math.texi (Mathematical Constants): Likewise.
10491 * manual/signal.texi (Interrupted Primitives): Likewise.
10492 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10493 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10494 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10495 Don't refer to _SVID_SOURCE in warning text.
10496
e8d8d7ec
JM
10497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10498
cb4a2928
JM
10499 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10500 already defined.
10501 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10502 * sysdeps/mips/dl-lookup.c: Remove.
10503 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10504
7e6424e3
AK
105052014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10506
10507 [BZ #16447]
10508 * math/auto-libm-test-in: Add testcase for expl.
10509 * math/auto-libm-test-out: Regenerate.
10510 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10511 calculation of unsafe.
10512 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10513
75eff3fe
MS
105142014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10515
10516 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10517 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10518 ports/sysdeps/unix/sysv/linux/aarch64.
10519 * README: Update listing for aarch64*-*-linux-gnu.
10520
d35f1e80
WN
105212014-02-11 Will Newton <will.newton@linaro.org>
10522
10523 * manual/probes.texi (Mathematical Function Probes): Use
10524 "triggered" instead of "hit".
10525
7b3436d4
WN
10526 * manual/probes.texi (Internal Probes): Add documentation
10527 of setjmp, longjmp and longjmp_target probes.
10528
b4f12ca3
WN
10529 * include/stap-probe.h: Add comment about probe argument
10530 format.
10531
c13a72b7
WN
10532 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10533 definition. (tr_where, tr_freehook, tr_mallochook,
10534 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10535
195b8165
DM
105362014-02-11 David S. Miller <davem@davemloft.net>
10537
10538 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10539 processing int_tests.
10540
2ad7600b
JM
105412014-02-10 Joseph Myers <joseph@codesourcery.com>
10542
10543 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10544 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10545 * sysdeps/unix/sysv/linux/mips: Move directory from
10546 ports/sysdeps/unix/sysv/linux/mips.
10547 * README: Update listing for mips-*-linux-gnu and
10548 mips64-*-linux-gnu.
10549
73588a72
AS
105502014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10551
10552 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10553 * sysdeps/unix/sysv/linux/m68k: Move directory from
10554 ports/sysdeps/unix/sysv/linux/m68k.
10555 * README: Update listing for m68k-*-linux-gnu.
10556
4372980f
CM
105572014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10558
10559 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10560 * sysdeps/unix/sysv/linux/generic: Move directory from
10561 ports/sysdeps/unix/sysv/linux/generic.
10562 * sysdeps/unix/sysv/linux/tile: Move directory from
10563 ports/sysdeps/unix/sysv/linux/tile.
10564 * README: Update listing for tile*-*-linux-gnu.
10565
a1ffb40e
OB
105662014-02-10 Ondřej Bílka <neleai@seznam.cz>
10567
57f41c40
AS
10568 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10569 __builtin_expect.
a1ffb40e
OB
10570 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10571 * catgets/open_catalog.c (__open_catalog): Likewise.
10572 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10573 * debug/confstr_chk.c: Likewise.
10574 * debug/fread_chk.c (__fread_chk): Likewise.
10575 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10576 * debug/getgroups_chk.c: Likewise.
10577 * debug/mbsnrtowcs_chk.c: Likewise.
10578 * debug/mbsrtowcs_chk.c: Likewise.
10579 * debug/mbstowcs_chk.c: Likewise.
10580 * debug/memcpy_chk.c: Likewise.
10581 * debug/memmove_chk.c: Likewise.
10582 * debug/mempcpy_chk.c: Likewise.
10583 * debug/memset_chk.c: Likewise.
10584 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10585 * debug/strcat_chk.c (__strcat_chk): Likewise.
10586 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10587 * debug/strncat_chk.c (__strncat_chk): Likewise.
10588 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10589 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10590 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10591 * debug/wcpncpy_chk.c: Likewise.
10592 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10593 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10594 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10595 * debug/wcsncpy_chk.c: Likewise.
10596 * debug/wcsnrtombs_chk.c: Likewise.
10597 * debug/wcsrtombs_chk.c: Likewise.
10598 * debug/wcstombs_chk.c: Likewise.
10599 * debug/wmemcpy_chk.c: Likewise.
10600 * debug/wmemmove_chk.c: Likewise.
10601 * debug/wmempcpy_chk.c: Likewise.
10602 * debug/wmemset_chk.c: Likewise.
10603 * dirent/scandirat.c (SCANDIRAT): Likewise.
10604 * dlfcn/dladdr1.c (dladdr1): Likewise.
10605 * dlfcn/dladdr.c (dladdr): Likewise.
10606 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10607 * dlfcn/dlerror.c (__dlerror): Likewise.
10608 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10609 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10610 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10611 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10612 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10613 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10614 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10615 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10616 Likewise.
10617 * elf/dl-conflict.c: Likewise.
10618 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10619 * elf/dl-dst.h: Likewise.
10620 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10621 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10622 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10623 * elf/dl-init.c (call_init, _dl_init): Likewise.
10624 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10625 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10626 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10627 Likewise.
a1ffb40e
OB
10628 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10629 Likewise.
10630 * elf/dl-minimal.c (__libc_memalign): Likewise.
10631 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10632 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10633 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10634 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10635 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10636 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10637 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10638 * elf/dl-writev.h (_dl_writev): Likewise.
10639 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10640 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10641 (dl_main): Likewise.
a1ffb40e
OB
10642 * elf/setup-vdso.h (setup_vdso): Likewise.
10643 * grp/compat-initgroups.c (compat_call): Likewise.
10644 * grp/fgetgrent.c (fgetgrent): Likewise.
10645 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10646 * grp/putgrent.c (putgrent): Likewise.
10647 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10648 Likewise.
10649 * hurd/hurdinit.c: Likewise.
10650 * iconvdata/8bit-gap.c (struct): Likewise.
10651 * iconvdata/ansi_x3.110.c : Likewise.
10652 * iconvdata/big5.c : Likewise.
10653 * iconvdata/big5hkscs.c : Likewise.
10654 * iconvdata/cp1255.c: Likewise.
10655 * iconvdata/cp1258.c : Likewise.
10656 * iconvdata/cp932.c : Likewise.
10657 * iconvdata/euc-cn.c: Likewise.
10658 * iconvdata/euc-jisx0213.c : Likewise.
10659 * iconvdata/euc-jp.c: Likewise.
10660 * iconvdata/euc-jp-ms.c : Likewise.
10661 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10662 * iconvdata/gb18030.c : Likewise.
10663 * iconvdata/gbbig5.c (const): Likewise.
10664 * iconvdata/gbgbk.c: Likewise.
10665 * iconvdata/gbk.c : Likewise.
10666 * iconvdata/ibm1364.c : Likewise.
10667 * iconvdata/ibm930.c : Likewise.
10668 * iconvdata/ibm932.c: Likewise.
10669 * iconvdata/ibm933.c : Likewise.
10670 * iconvdata/ibm935.c : Likewise.
10671 * iconvdata/ibm937.c : Likewise.
10672 * iconvdata/ibm939.c : Likewise.
10673 * iconvdata/ibm943.c: Likewise.
10674 * iconvdata/iso_11548-1.c: Likewise.
10675 * iconvdata/iso-2022-cn.c : Likewise.
10676 * iconvdata/iso-2022-cn-ext.c : Likewise.
10677 * iconvdata/iso-2022-jp-3.c: Likewise.
10678 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10679 * iconvdata/iso-2022-kr.c : Likewise.
10680 * iconvdata/iso646.c (gconv_end): Likewise.
10681 * iconvdata/iso_6937-2.c : Likewise.
10682 * iconvdata/iso_6937.c : Likewise.
10683 * iconvdata/iso8859-1.c: Likewise.
10684 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10685 * iconvdata/shift_jisx0213.c : Likewise.
10686 * iconvdata/sjis.c : Likewise.
10687 * iconvdata/t.61.c : Likewise.
10688 * iconvdata/tcvn5712-1.c : Likewise.
10689 * iconvdata/tscii.c: Likewise.
10690 * iconvdata/uhc.c : Likewise.
10691 * iconvdata/unicode.c (gconv_end): Likewise.
10692 * iconvdata/utf-16.c (gconv_end): Likewise.
10693 * iconvdata/utf-32.c (gconv_end): Likewise.
10694 * iconvdata/utf-7.c (base64): Likewise.
10695 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10696 * iconv/gconv_close.c (__gconv_close): Likewise.
10697 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10698 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10699 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10700 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10701 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10702 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10703 * iconv/iconv.c (iconv): Likewise.
10704 * iconv/iconv_close.c: Likewise.
10705 * iconv/loop.c (SINGLE): Likewise.
10706 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10707 * include/atomic.h: Likewise.
10708 * inet/inet6_option.c (option_alloc): Likewise.
10709 * intl/bindtextdom.c (set_binding_values): Likewise.
10710 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10711 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10712 * intl/localealias.c (read_alias_file): Likewise.
10713 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10714 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10715 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10716 * libio/fmemopen.c (fmemopen): Likewise.
10717 * libio/iofgets.c (_IO_fgets): Likewise.
10718 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10719 * libio/iofgetws.c (fgetws): Likewise.
10720 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10721 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10722 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10723 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10724 * locale/findlocale.c (_nl_find_locale): Likewise.
10725 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10726 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10727 Likewise.
10728 * locale/setlocale.c (setlocale): Likewise.
10729 * login/programs/pt_chown.c (main): Likewise.
10730 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10731 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10732 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10733 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10734 * math/e_exp2l.c: Likewise.
10735 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10736 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10737 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10738 * math/s_catan.c (__catan): Likewise.
10739 * math/s_catanf.c (__catanf): Likewise.
10740 * math/s_catanh.c (__catanh): Likewise.
10741 * math/s_catanhf.c (__catanhf): Likewise.
10742 * math/s_catanhl.c (__catanhl): Likewise.
10743 * math/s_catanl.c (__catanl): Likewise.
10744 * math/s_ccosh.c (__ccosh): Likewise.
10745 * math/s_ccoshf.c (__ccoshf): Likewise.
10746 * math/s_ccoshl.c (__ccoshl): Likewise.
10747 * math/s_cexp.c (__cexp): Likewise.
10748 * math/s_cexpf.c (__cexpf): Likewise.
10749 * math/s_cexpl.c (__cexpl): Likewise.
10750 * math/s_clog10.c (__clog10): Likewise.
10751 * math/s_clog10f.c (__clog10f): Likewise.
10752 * math/s_clog10l.c (__clog10l): Likewise.
10753 * math/s_clog.c (__clog): Likewise.
10754 * math/s_clogf.c (__clogf): Likewise.
10755 * math/s_clogl.c (__clogl): Likewise.
10756 * math/s_csin.c (__csin): Likewise.
10757 * math/s_csinf.c (__csinf): Likewise.
10758 * math/s_csinh.c (__csinh): Likewise.
10759 * math/s_csinhf.c (__csinhf): Likewise.
10760 * math/s_csinhl.c (__csinhl): Likewise.
10761 * math/s_csinl.c (__csinl): Likewise.
10762 * math/s_csqrt.c (__csqrt): Likewise.
10763 * math/s_csqrtf.c (__csqrtf): Likewise.
10764 * math/s_csqrtl.c (__csqrtl): Likewise.
10765 * math/s_ctan.c (__ctan): Likewise.
10766 * math/s_ctanf.c (__ctanf): Likewise.
10767 * math/s_ctanh.c (__ctanh): Likewise.
10768 * math/s_ctanhf.c (__ctanhf): Likewise.
10769 * math/s_ctanhl.c (__ctanhl): Likewise.
10770 * math/s_ctanl.c (__ctanl): Likewise.
10771 * math/w_pow.c: Likewise.
10772 * math/w_powf.c: Likewise.
10773 * math/w_powl.c: Likewise.
10774 * math/w_scalb.c (sysv_scalb): Likewise.
10775 * math/w_scalbf.c (sysv_scalbf): Likewise.
10776 * math/w_scalbl.c (sysv_scalbl): Likewise.
10777 * misc/error.c (error_tail): Likewise.
10778 * misc/pselect.c (__pselect): Likewise.
10779 * nis/nis_callback.c (__nis_create_callback): Likewise.
10780 * nis/nis_call.c (__nisfind_server): Likewise.
10781 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10782 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10783 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10784 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10785 * nis/nis_lookup.c (nis_lookup): Likewise.
10786 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10787 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10788 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10789 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10790 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10791 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10792 * nis/nss_compat/compat-initgroups.c (add_group)
10793 (internal_getgrent_r): Likewise.
10794 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10795 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10796 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10797 (internal_getspnam_r): Likewise.
10798 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10799 (_nss_nis_getaliasbyname_r): Likewise.
10800 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10801 (_nss_nis_getntohost_r): Likewise.
10802 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10803 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10804 (_nss_nis_getgrgid_r): Likewise.
10805 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10806 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10807 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10808 (_nss_nis_gethostbyname4_r): Likewise.
10809 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10810 (initgroups_netid): Likewise.
a1ffb40e 10811 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10812 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10813 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10814 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10815 (_nss_nis_getprotobynumber_r): Likewise.
10816 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10817 (_nss_nis_getsecretkey): Likewise.
10818 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10819 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10820 (_nss_nis_getpwuid_r): Likewise.
10821 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10822 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10823 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10824 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10825 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10826 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10827 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10828 Likewise.
57f41c40
AS
10829 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10830 (_nss_nisplus_getntohost_r): Likewise.
10831 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10832 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10833 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10834 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10835 Likewise.
57f41c40
AS
10836 * nis/nss_nisplus/nisplus-initgroups.c
10837 (_nss_nisplus_initgroups_dyn): Likewise.
10838 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10839 (_nss_nisplus_getnetbyaddr_r): Likewise.
10840 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10841 (_nss_nisplus_getprotobynumber_r): Likewise.
10842 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10843 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10844 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10845 Likewise.
57f41c40
AS
10846 * nis/nss_nisplus/nisplus-service.c
10847 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10848 (_nss_nisplus_getservbyport_r): Likewise.
10849 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10850 (_nss_nisplus_getspnam_r): Likewise.
10851 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10852 Likewise.
a1ffb40e
OB
10853 * nscd/aicache.c (addhstaiX): Likewise.
10854 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10855 * nscd/connections.c (register_traced_file, send_ro_fd)
10856 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10857 (main_loop_epoll): Likewise.
a1ffb40e
OB
10858 * nscd/grpcache.c (addgrbyX): Likewise.
10859 * nscd/hstcache.c (addhstbyX): Likewise.
10860 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10861 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10862 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10863 (addinnetgrX): Likewise.
10864 * nscd/nscd-client.h (__nscd_acquire_maplock)
10865 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10866 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10867 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10868 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10869 Likewise.
10870 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10871 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10872 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10873 (__nscd_get_map_ref): Likewise.
a1ffb40e 10874 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10875 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10876 Likewise.
a1ffb40e
OB
10877 * nscd/pwdcache.c (addpwbyX): Likewise.
10878 * nscd/selinux.c (preserve_capabilities): Likewise.
10879 * nscd/servicescache.c (addservbyX): Likewise.
10880 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10881 * posix/fnmatch.c (fnmatch): Likewise.
10882 * posix/getopt.c (_getopt_internal_r): Likewise.
10883 * posix/glob.c (glob, glob_in_dir): Likewise.
10884 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10885 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10886 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10887 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10888 * resolv/res_init.c: Likewise.
10889 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10890 * resolv/res_query.c (__libc_res_nquery): Likewise.
10891 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10892 Likewise.
10893 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10894 * stdio-common/perror.c (perror): Likewise.
10895 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10896 * stdio-common/tmpnam.c (tmpnam): Likewise.
10897 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10898 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10899 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10900 Likewise.
a1ffb40e
OB
10901 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10902 * stdlib/putenv.c (putenv): Likewise.
10903 * stdlib/setenv.c (__add_to_environ): Likewise.
10904 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10905 * stdlib/strtol_l.c (INTERNAL): Likewise.
10906 * string/memmem.c (memmem): Likewise.
10907 * string/strerror.c (strerror): Likewise.
10908 * string/strnlen.c (__strnlen): Likewise.
10909 * string/test-memmem.c (simple_memmem): Likewise.
10910 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10911 * sunrpc/pm_getport.c (__get_socket): Likewise.
10912 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10913 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10914 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10915 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10916 Likewise.
10917 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10918 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10919 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10920 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10921 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10922 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10923 Likewise.
10924 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10925 Likewise.
a1ffb40e
OB
10926 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10927 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10928 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10929 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10930 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10932 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10933 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10934 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10935 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10936 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10937 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10938 Likewise.
10939 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10940 Likewise.
10941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10942 Likewise.
10943 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10945 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10946 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10947 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10948 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10949 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10951 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10952 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10953 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10954 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10955 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10956 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10958 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10959 Likewise.
a1ffb40e
OB
10960 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10961 Likewise.
10962 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10963 Likewise.
10964 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10965 Likewise.
10966 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10967 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10968 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10969 Likewise.
10970 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10971 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10972 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10973 * sysdeps/posix/sleep.c: Likewise.
10974 * sysdeps/posix/tempname.c: Likewise.
10975 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10976 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10977 Likewise.
57f41c40
AS
10978 * sysdeps/powerpc/powerpc32/dl-machine.h
10979 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10980 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10981 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10982 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10983 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10984 Likewise.
10985 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10986 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10987 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10988 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10989 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10990 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10991 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10992 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10993 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10994 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10996 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10997 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10998 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10999 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11000 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11001 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11002 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11003 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11004 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11005 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11006 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11008 Likewise.
11009 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11010 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11011 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11012 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11013 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11014 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11015 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11016 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11017 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11018 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11019 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11020 Likewise.
11021 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11022 (__posix_fallocate64_l64): Likewise.
11023 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11024 (posix_fallocate): Likewise.
57f41c40
AS
11025 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11026 Likewise.
a1ffb40e 11027 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
11028 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11029 (getifaddrs_internal): Likewise.
a1ffb40e
OB
11030 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11031 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11032 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11033 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11034 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11035 (__posix_fallocate64_l64): Likewise.
11036 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11037 Likewise.
11038 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
11039 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11040 (__get_clockfreq): Likewise.
a1ffb40e
OB
11041 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11042 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11043 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11046 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11047 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11048 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11049 Likewise.
11050 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11051 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11052 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11053 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11054 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11055 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11056 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11057 Likewise.
11058 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11059 (posix_fallocate): Likewise.
11060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11061 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11062 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11063 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11064 (elf_machine_rela, elf_machine_rela_relative)
11065 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11066 * time/asctime.c (asctime_internal): Likewise.
11067 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11068 * time/tzset.c (__tzset_parse_tz): Likewise.
11069 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11070 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11071 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11072 * wcsmbs/wcsmbsload.h: Likewise.
11073
f3d338c9
OB
11074 [BZ #15894]
11075 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11076
57f41c40
AS
11077 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11078 (arena_get2): Remove THREAD_STATS conditionals.
11079 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11080 (__malloc_stats, int): Likewise.
bdfe308a 11081
d674667c
MF
110822014-02-08 Mike Frysinger <vapier@gentoo.org>
11083
11084 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11085 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11086
6349768c
MF
11087 * manual/setjmp.texi: Fix typos/grammar errors.
11088
0b7c7473
MF
11089 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11090 Only return early when n is <= 0. Delete unused return statement.
11091
ac8cc9e3
MF
11092 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11093 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11094 * debug/tst-longjmp_chk3.c: New file.
11095
c5bb8e23
MF
11096 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11097 (test_main): Replace code with set_fortify_handler call.
11098 * debug/test-strcpy_chk.c: Likewise.
11099 * debug/tst-chk1.c: Likewise.
11100 * debug/tst-longjmp_chk.c: Likewise.
11101 * test-skeleton.c: Include fcntl.h & paths.h
11102 (set_fortify_handler): Define.
11103
10444e42
MF
11104 * debug/tst-longjmp_chk.c: Add header comment and include
11105 ../test-skeleton.c.
11106 (do_test): Mark static.
11107 (TEST_FUNCTION): Define.
11108
1e805e8d
MF
11109 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11110 (IP_PMTUDISC_INTERFACE): Likewise.
11111 (IP_MULTICAST_IF): Likewise.
11112 (IP_MULTICAST_TTL): Likewise.
11113 (IP_MULTICAST_LOOP): Likewise.
11114 (IP_ADD_MEMBERSHIP): Likewise.
11115 (IP_DROP_MEMBERSHIP): Likewise.
11116 (IP_UNBLOCK_SOURCE): Likewise.
11117 (IP_BLOCK_SOURCE): Likewise.
11118 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11119 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11120 (IP_MSFILTER): Likewise.
11121 (MCAST_JOIN_GROUP): Likewise.
11122 (MCAST_BLOCK_SOURCE): Likewise.
11123 (MCAST_UNBLOCK_SOURCE): Likewise.
11124 (MCAST_LEAVE_GROUP): Likewise.
11125 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11126 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11127 (MCAST_MSFILTER): Likewise.
11128 (IP_MULTICAST_ALL): Likewise.
11129 (IP_UNICAST_IF): Likewise.
11130
73f79bb7
MF
11131 * timezone/Makefile: Delete $(have-ksh) check.
11132 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11133 * timezone/tzselect.ksh: Add +x mode bits.
11134
8da79b60
MF
11135 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11136 (ANON_INODE_FS_MAGIC): Likewise.
11137 (BDEVFS_MAGIC): Likewise.
11138 (BINFMTFS_MAGIC): Likewise.
11139 (BTRFS_TEST_MAGIC): Likewise.
11140 (CRAMFS_MAGIC_WEND): Likewise.
11141 (DEBUGFS_MAGIC): Likewise.
11142 (ECRYPTFS_SUPER_MAGIC): Likewise.
11143 (EXT3_SUPER_MAGIC): Likewise.
11144 (EXT4_SUPER_MAGIC): Likewise.
11145 (FUTEXFS_SUPER_MAGIC): Likewise.
11146 (HOSTFS_SUPER_MAGIC): Likewise.
11147 (HUGETLBFS_MAGIC): Likewise.
11148 (MINIX3_SUPER_MAGIC): Likewise.
11149 (MTD_INODE_FS_MAGIC): Likewise.
11150 (NILFS_SUPER_MAGIC): Likewise.
11151 (OPENPROM_SUPER_MAGIC): Likewise.
11152 (PIPEFS_MAGIC): Likewise.
11153 (PSTOREFS_MAGIC): Likewise.
11154 (QNX6_SUPER_MAGIC): Likewise.
11155 (RAMFS_MAGIC): Likewise.
11156 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11157 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11158 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11159 (SECURITYFS_MAGIC): Likewise.
11160 (SELINUX_MAGIC): Likewise.
11161 (SMACK_MAGIC): Likewise.
11162 (SOCKFS_MAGIC): Likewise.
11163 (SQUASHFS_MAGIC): Likewise.
11164 (STACK_END_MAGIC): Likewise.
11165 (TMPFS_MAGIC): Likewise.
11166 (USBDEVICE_SUPER_MAGIC): Likewise.
11167 (V9FS_MAGIC): Likewise.
11168 (XENFS_SUPER_MAGIC): Likewise.
11169 (CRAMFS_MAGIC): Fix typo in comment.
11170 (EXT2_SUPER_MAGIC): Update comment.
11171 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11172
464263cc
JM
111732014-02-08 Joseph Myers <joseph@codesourcery.com>
11174
c6bfe5c4
JM
11175 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11176 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11177 * sysdeps/unix/sysv/linux/arm: Move directory from
11178 ports/sysdeps/unix/sysv/linux/arm.
11179 * README: Update listing for arm-*-linux-gnueabi.
11180
464263cc
JM
11181 * README: Remove mention of am33.
11182
32749f6c
RM
111832014-02-07 Roland McGrath <roland@hack.frob.com>
11184
11185 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11186 than the comma operator, to avoid "rhs of comma has no effect"
11187 compiler warnings.
11188 (__sigfillset, __sigandset, __sigorset): Likewise.
11189 * include/signal.h (__sigemptyset): Likewise.
11190 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11191
d5b396c1
AM
111922014-02-07 Allan McRae <allan@archlinux.org>
11193
11194 * version.h (RELEASE): Set to "development".
11195 (VERSION): Set to "2.19.90"
11196 * NEWS: Add 2.20 section.
11197
3bfff2ed
CD
111982014-02-06 Carlos O'Donell <carlos@redhat.com>
11199
11200 [BZ #16529]
11201 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11202
ee7cc385
SP
112032014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11204
11205 * manual/contrib.texi: Update entry for Carlos O'Donell,
11206 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11207
f877c4f2
CD
112082014-02-05 Carlos O'Donell <carlos@rehdat.com>
11209
27e839f6
CD
11210 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11211
f877c4f2
CD
11212 * sysdeps/unix/sysv/linux/kernel-features.h
11213 [__LINUX_KERNEL_VERSION >= 0x020621]
11214 (__ASSUME_PROC_PID_TASK_COMM): Define.
11215
68159946
SP
112162014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11217
ba17cdbd
SP
11218 [BZ #16398]
11219 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11220 conversion when destination buffer does not have enough space.
11221 * libio/tst-ftell-partial-wide.c: New test case.
11222 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11223
68159946
SP
11224 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11225 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11226 Leonard and Allan McRae.
11227
2b528732
DM
112282014-02-04 David S. Miller <davem@davemloft.net>
11229
11230 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11231 32-bit.
11232
0ff82463
AZ
112332014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11234
57f41c40
AS
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11236 New file
c01603f7
AZ
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11238 New file
57f41c40
AS
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11240 New file.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11242 New file.
c01603f7
AZ
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11244 New file.
57f41c40
AS
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11246 New file.
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11248 New file.
c01603f7
AZ
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11250 New file.
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11252 New file.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11254 New file.
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11256 New file.
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11258 New file.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11260 New file.
11261
112622014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11263
0ff82463
AZ
11264 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11265 * shlib-versions: Likewise.
11266
1695c773
AZ
112672014-02-04 Roland McGrath <roland@hack.frob.com>
11268 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11269
11270 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11271 (abilist-pattern): New variable, set to %-le.abilist.
11272
11273 * Makerules (abilist-pattern): New variable.
11274 (vpath): Use $(abilist-pattern) in place of %.abilist.
11275 (check-abi-% pattern rule): Likewise.
11276 (check-abi, update-abi): Likewise.
11277
6c0ce4b4
EW
112782014-02-04 Eric Wong <normalperson@yhbt.net>
11279
11280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11281
481e3524
CD
112822014-02-03 Carlos O'Donell <carlos@redhat.com>
11283
11284 * manual/startup.texi: Add next, previous, and top entries for
11285 the `Program Arguments' and `Environment Variables' nodes.
11286
375592d3
AO
112872014-02-03 Alexandre Oliva <aoliva@redhat.com>
11288
11289 * manual/macros.texi: Add comments before MTASC-safety macros.
11290
f54838ba
AO
11291 * manual/users.texi: Document MTASC-safety properties.
11292
57f41c40
AS
11293 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11294 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11295 @deftypefun, and add @safety note.
11296 * manual/signal.texi: Move comments that analyze the above
11297 functions to their home place.
11298
fd3daba4
AM
112992014-02-03 Allan McRae <allan@archlinux.org>
11300
11301 * po/sl.po: Update Slovenian translation from translation project.
11302
597636d7
AO
113032014-02-02 Alexandre Oliva <aoliva@redhat.com>
11304
11305 * manual/time.texi (timegm): Add missing blank after @c.
11306 Reported by Joseph Myers <joseph@codesourcery.com>.
11307
ee196e3c
AO
113082014-02-01 Alexandre Oliva <aoliva@redhat.com>
11309
11310 * manual/check-safety.sh: New.
11311 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11312
f8d529d5
AO
11313 * manual/terminal.texi: Document MTASC-safety properties.
11314
de55fdf4
AO
11315 * manual/filesys.texi: Document MTASC-safety properties.
11316
c3299c08
AO
11317 * manual/errno.texi: Document MTASC-safety properties.
11318
06e90b14
AO
11319 * manual/intro.texi: Document safety identifiers and
11320 conditionals.
11321
1acd4371
AO
11322 * manual/string.texi (wcstok): Fix prototype.
11323 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11324
23e5b8cb
AO
11325 * manual/time.texi: Document MTASC-safety properties.
11326
11087373
AO
11327 * manual/string.texi: Document MTASC-safety properties.
11328
5da2c93d
AO
11329 * manual/threads.texi: Document MTASC-safety properties.
11330
171e9210
AO
11331 * manual/stdio.texi: Document MTASC-safety properties.
11332
d9e02532
AO
11333 * manual/syslog.texi: Document MTASC-safety properties.
11334
6af8bab7
AO
11335 * manual/sysinfo.texi: Document MTASC-safety properties.
11336
663b02d7
AO
11337 * manual/startup.texi: Document MTASC-safety properties.
11338
973f180b
AO
11339 * manual/socket.texi: Document MTASC-safety properties.
11340
8f3c25c8
AO
11341 * manual/signal.texi: Document MTASC-safety properties.
11342
542210fb
AO
113432014-01-31 Alexandre Oliva <aoliva@redhat.com>
11344
11345 * manual/setjmp.texi: Document MTASC-safety properties.
11346
433c45a2
AO
11347 * manual/search.texi: Document MTASC-safety properties.
11348
c8ce789c
AO
11349 * manual/resource.texi: Document MTASC-safety properties.
11350
19f5d29c
AO
11351 * manual/process.texi: Document MTASC-safety properties.
11352
e2dfb7f4
AO
11353 * manual/platform.texi: Document MTASC-safety properties.
11354
8c1413f5
AO
11355 * manual/pipe.texi: Document MTASC-safety properties.
11356
03483ada
AO
11357 * manual/pattern.texi: Document MTASC-safety properties.
11358
29e7e2df
AO
11359 * manual/message.texi: Document MTASC-safety properties.
11360
9f529d7c
AO
11361 [BZ #12751]
11362 * manual/memory.texi: Document MTASC-safety properties.
11363
27aaa791
AO
11364 * manual/math.texi: Document MTASC-safety properties.
11365
f2d58726
AO
11366 * manual/locale.texi: Document MTASC-safety properties.
11367
2cc3615c
AO
11368 * manual/llio.texi: Document MTASC-safety properties.
11369
d9f0ec97
AO
11370 * manual/libdl.texi: New.
11371
e7c4409a
AO
11372 * manual/lang.texi: Document MTASC-safety properties.
11373
27bdc63c
AO
11374 * manual/job.texi: Document MTASC-safety properties.
11375
a7b90ea9
AO
11376 * manual/getopt.texi: Document MTASC-safety properties.
11377
c49130e3
AO
11378 * manual/ctype.texi: Document MTASC-safety properties.
11379
0d23a5c1
MR
113802014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11381
11382 [BZ #16046]
11383 * csu/libc-tls.c (static_map): Remove variable.
11384 (__libc_setup_tls): Use main executable's link map for TLS data.
11385 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11386 casing for LM_ID_BASE and GL(dl_nns).
11387 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11388 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11389 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11390 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11391 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11392 member.
11393 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11394 l_phnum members.
11395
0037bb60
AO
113962014-01-30 Alexandre Oliva <aoliva@redhat.com>
11397
11398 * manual/debug.texi: Document MTASC-safety properties.
11399
409e00bd
L
114002014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11401
11402 [BZ #16510]
11403 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11404 of __x86_64__ when disabling x87 inline functions.
11405
86e60666
AO
114062014-01-29 Alexandre Oliva <aoliva@redhat.com>
11407
11408 * manual/charset.texi: Document MTASC-safety properties.
11409
76167637
AO
11410 * manual/crypt.texi: Document MTASC-safety properties.
11411
e567f2a0
AO
11412 * manual/conf.texi: Document MTASC-safety properties.
11413
b719dafd
AO
11414 * manual/arith.texi: Document MTASC-safety properties.
11415
4a16c662
AO
11416 * manual/argp.texi: Document MTASC-safety properties.
11417
0a57b83e
AO
11418 * manual/macros.texi: Introduce macros to document multi
11419 thread, asynchronous signal and asynchronous cancellation
11420 safety properties.
11421 * manual/intro.texi: Introduce the properties themselves.
11422
feab2397
KK
114232014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11424
11425 * sysdeps/sh/sh4/Makefile: New file.
11426
1c0d11bc
AS
114272014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11428
11429 * math/gen-libm-test.pl ($srcdir): New variable.
11430 ($auto_input): Use it.
11431
af37a8a3
SP
114322014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11433
d7b00f98
SP
11434 [BZ #16506]
11435 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11436 access beyond array bounds when parsing netgroups file.
11437
af37a8a3
SP
11438 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11439 the old buffer before realloc.
11440
0c00f062
AM
114412014-01-27 Allan McRae <allan@archlinux.org>
11442
11443 * po/fr.po: Update French translation from translation project.
11444
7d69a1b0
KK
114452014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11446
11447 * sysdeps/sh/libm-test-ulps: Regenerate.
11448
6e697ff7
DM
114492014-01-24 David S. Miller <davem@davemloft.net>
11450
11451 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11452
9cadb35c
KK
114532014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11454
11455 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11456 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11457
5d41dadf
SP
114582013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11459
11460 [BZ #16474]
11461 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11462 string pointers after reallocation.
11463
0bad441c
KK
114642014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11465
11466 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11467 __SH4A__ instead of __SH_FPU_ANY__.
11468
7007c661
KK
114692014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11470
11471 * sysdeps/sh/fpu_control.h: New file.
11472 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11473 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11474 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11475 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11476 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11477 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11478 * sysdeps/sh/sys/ucontext.h: Remove.
11479 * sysdeps/sh/sys: Remove directory.
11480
0f0c35e4
AK
114812014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11482
11483 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11484 s390/sys/ucontext.h.
11485 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11486 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11487
4959e284
L
114882014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11489
11490 [BZ #15605]
11491 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11492
d98720e0
AZ
114932014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11494
11495 [BZ#16431]
11496 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11497 Adjust the vDSO correctly for internal calls.
11498 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11499
91cbd0bc
AM
115002014-01-20 Allan McRae <allan@archlinux.org>
11501
11502 * po/ca.po: Update Catalan translation from translation project.
11503
7a02cfad
MF
115042014-01-16 Mike Frysinger <vapier@gentoo.org>
11505
11506 * sysdeps/s390/sotruss-lib.c: New file.
11507
736c304a
AZ
115082014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11509
11510 [BZ#16430]
6e077ee5 11511 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11512 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11513 local calls issues by not having a PLT stub required for IFUNC calls.
11514 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11515
94d0cea0
JM
115162014-01-16 Joseph Myers <joseph@codesourcery.com>
11517
11518 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11519 * math/test-fpucw-static.c: Likewise.
11520
980cb518
SP
115212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11522
11523 [BZ #16453]
11524 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11525
2393fc01
AZ
115262014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11527
11528 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11529 implementation for powerpc.
11530
d359bcc2
OB
115312014-01-15 Ondřej Bílka <neleai@seznam.cz>
11532
11533 [BZ #14782]
11534 * sysdeps/posix/system.c (__libc_system): Do not enable
11535 asynchronous cancellation.
11536
7beb48cb
AK
115372014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11538
11539 [BZ #16427]
11540 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11541 handling only for numbers special also in the IEEE case.
11542
c20d5bf5
AK
115432014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11544
11545 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11546
e83bd4ee
AM
115472014-01-11 Allan McRae <allan@archlinux.org>
11548
76d0ea69
AM
11549 * po/bg.po: Update Bulgarian translation from translation project.
11550
e83bd4ee
AM
11551 * po/de.po: Update German translation from translation project.
11552
bc2ba20a
RM
115532014-01-10 Roland McGrath <roland@hack.frob.com>
11554
11555 * sysdeps/generic/gcc-compat.h: New file.
11556
649ecea2
SP
115572014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11558
11559 * benchtests/asin-inputs: Correct slow inputs.
11560 * benchtests/acos-inputs: Likewise.
11561
1b19c006
AM
115622014-01-10 Allan McRae <allan@archlinux.org>
11563
a46dab08
AM
11564 * po:sv.po: Update Swedish translation from translation project.
11565
421df74a
AM
11566 * po/vi.po: Update Vietnamese translation from translation project.
11567
d61c51a7
AM
11568 * po/eo.po: Update Esperanto translation from translation project.
11569
0339a319
AM
11570 * po/cs.po: Update Czech translation from translation project.
11571
94ad3e99
AM
11572 * po/nl.po: Update Dutch translation from translation project.
11573
e349ca71
AM
11574 * po/pl.po: Update Polish translation from translation project.
11575
ddf930c1
AM
11576 * po/ru.po: Update Russian translation from translation project.
11577
1b19c006
AM
11578 * po/uk.po: Update Ukrainian translation from translation project.
11579
9f236c49
BM
115802014-01-08 Brooks Moses <bmoses@google.com>
11581
11582 * elf/dl-load.c: Fix comment typo.
11583
cd6701cf
CD
115842014-01-08 Carlos O'Donell <carlos@redhat.com>
11585
11586 * po/header.pot: Rename to...
11587 * po/pot.header: ... this.
11588 * po/Makefile: Use pot.header.
11589
66671c84
YK
115902014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11591 Maxim Kuvyrkov <maxim@kugelworks.com>
11592
11593 [BZ #16394]
cd6701cf
CD
11594 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11595 SRC and DEST against LEN.
66671c84 11596
38f34581
AZ
115972014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11598
11599 [BZ #16414]
11600 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11601 implementation.
11602 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11603
116042014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11605
11606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11607
4c327f2a
JM
116082014-01-08 Joseph Myers <joseph@codesourcery.com>
11609
11610 [BZ #16408]
11611 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11612 for large positive arguments.
11613
b821f414
JM
116142014-01-07 Joseph Myers <joseph@codesourcery.com>
11615
1f0f2067
JM
11616 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11617
a5a326f6
JM
11618 * math/auto-libm-test-in: Mark various tests with
11619 xfail-rounding:ldbl-128ibm.
11620 * math/auto-libm-test-out: Regenerated.
11621
b821f414
JM
11622 [BZ #16407]
11623 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11624 Increase overflow threshold.
11625
94c8a4bc
OB
116262014-01-07 Ondřej Bílka <neleai@seznam.cz>
11627
11628 [BZ #14286]
11629 * stdio-common/vfprintf.c: Check for integer overflow.
11630
87ded0c3
AK
116312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11632
11633 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11634 the first argument and return value of __tls_get_addr_internal.
11635
c5eebdd0
AK
116362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11637
11638 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11639 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11640
05d138ef
AK
116412014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11642
11643 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11644 * sysdeps/s390/rtld-global-offsets.sym: New file.
11645 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11646 GLIBC_2.19 symbol.
11647 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11648 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11649 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11650 ... this.
11651 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11652 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11653 ... this.
11654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11655 Regenerate.
11656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11657 Regenerate.
11658 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11659 halfs of GPRs for high_gprs contexts.
11660 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11661 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11662 field.
11663 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11664 uc_flags field.
11665 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11666 64 bit versions:
11667 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11668 for high GPRs (uc_high_gprs) and for future extensions
11669 (__reserved).
11670 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11671 for future extensions (__reserved).
11672 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11673 64 bit versions:
11674 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11675 SC_HIGHGPRS offset definition.
11676 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11677 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11678
93a45ff1
AK
11679 * Versions.def: Add GLIBC_2.19 for libpthread.
11680 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11681 siglongjmp for libpthread with GLIBC_2.19 symver.
11682 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11683 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11684 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11685 * sysdeps/s390/__longjmp.c: New file.
11686 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11687 * sysdeps/s390/longjmp.c: New file.
11688 * sysdeps/s390/setjmp.S: New file.
11689 * sysdeps/s390/sigjmp.S: New file.
11690 * sysdeps/s390/v1-longjmp.c: New file.
11691 * sysdeps/s390/v1-setjmp.h: New file.
11692 * sysdeps/s390/v1-sigjmp.c: New file.
11693 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11694 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11695 GLIBC_2.19 version.
11696 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11697 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11698 versioned symbols for ____longjmp_chk.
11699 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11700 Likewise.
11701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11702 Regenerate.
11703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11704 Regenerate.
11705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11706 Regenerate.
11707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11708 Regenerate.
11709 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11710 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11711 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11712 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11713 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11714 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11715 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11716 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11717 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11718 * sysdeps/s390/rtld-__longjmp.c: New file.
11719 * sysdeps/s390/rtld-setjmp.S: New file.
11720
eb3fc44b
JM
117212014-01-06 Joseph Myers <joseph@codesourcery.com>
11722
11723 [BZ #16400]
11724 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11725 Return -__logl (x) for small positive arguments without evaluating
11726 a polynomial.
11727
9341dde4
MF
117282014-01-06 Mike Frysinger <vapier@gentoo.org>
11729
11730 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11731 Rename to ...
11732 (__ptrace_peeksiginfo_args): ... this.
11733 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11734 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11735 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11736
4cff0293
AM
117372014-01-06 Allan McRae <allan@archlinux.org>
11738
11739 * inet/netinet/in.h: Fix typo in comment.
11740
75595dcf
AJ
117412014-01-05 Andreas Jaeger <aj@suse.de>
11742
11743 * sysdeps/i386/fpu/libm-test-ulps: Update.
11744
79c1e109
AM
117452014-01-05 Allan McRae <allan@archlinux.org>
11746
dd804818
AM
11747 * po/libc.pot: Regenerated.
11748
79c1e109
AM
11749 * malloc/memusagestat.c: Fix gettext call formatting.
11750
0c813d1f
SK
117512014-01-04 Sami Kerola <kerolasa@iki.fi>
11752
11753 * nscd/nscd.c: Improve usage() output.
11754
20f4a8d9
MF
117552014-01-04 Mike Frysinger <vapier@gentoo.org>
11756
11757 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11758 * sysdeps/unix/sysv/linux/configure: Regenerated.
11759 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11760 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11761
22562bb2
JM
117622014-01-03 Joseph Myers <joseph@codesourcery.com>
11763
11764 [BZ #16390]
11765 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11766 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11767
d7ad2d9b
AZ
117682014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11769
11770 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11771 extra tokens at end of #undef directive.
11772 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11773 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11774 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11775
7dd009d8
JM
117762014-01-03 Joseph Myers <joseph@codesourcery.com>
11777
24db925a
JM
11778 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11779
7dd009d8
JM
11780 * math/auto-libm-test-in: Mark various tests with
11781 xfail-rounding:ldbl-128ibm.
11782 * math/auto-libm-test-out: Regenerated.
11783
396e3ecf
JM
117842014-01-02 Joseph Myers <joseph@codesourcery.com>
11785
819e5d50
JM
11786 [BZ #16386]
11787 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11788 numbers with subnormal high part when calculating exponent.
11789
90b6a1e5
JM
11790 [BZ #16385]
11791 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11792 fabs.
11793
396e3ecf
JM
11794 [BZ #16384]
11795 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11796 M_LN2l.
11797 (__ieee754_acoshl): Use __log1pl not __log1p.
11798
6c8dbf00
OB
117992013-01-02 Ondřej Bílka <neleai@seznam.cz>
11800
57f41c40
AS
11801 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11802 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11803 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11804 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11805 (reused_arena, arena_get2): Convert to GNU style.
11806 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11807 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11808 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11809 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11810 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11811 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11812 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11813 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11814 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11815 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11816 * malloc/malloc.h: Likewise.
57f41c40
AS
11817 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11818 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11819 * malloc/mcheck.h: Likewise.
57f41c40
AS
11820 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11821 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11822 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11823 * malloc/morecore.c (__default_morecore): Likewise.
11824 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11825 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11826 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11827 (print_and_abort): Likewise.
6c8dbf00
OB
11828 * malloc/obstack.h: Likewise.
11829 * malloc/set-freeres.c (__libc_freeres): Likewise.
11830 * malloc/tst-mallocstate.c (main): Likewise.
11831 * malloc/tst-mtrace.c (main): Likewise.
11832 * malloc/tst-realloc.c (do_test): Likewise.
11833
d4124212
SP
118342013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11835
9a3c6a6f
SP
11836 [BZ #16366]
11837 * nscd/netgroupcache.c (do_notfound): New function.
11838 (addgetnetgrentX): Use it.
11839
d4124212
SP
11840 [BZ # 16365]
11841 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11842 NSS_STATUS_NOTFOUND.
11843
97b9a009
JM
118442014-01-01 Joseph Myers <joseph@codesourcery.com>
11845
11846 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11848
d4697bc9
AM
118492014-01-01 Allan McRae <allan@archlinux.org>
11850
ddb3687f
AM
11851 * scripts/update-copyrights: Update configure input file suffix.
11852
88726d48
AM
11853 * NEWS: Update copyright year.
11854 * catgets/gencat.c: Likewise.
11855 * csu/version.c: Likewise.
11856 * debug/catchsegv.sh: Likewise.
11857 * debug/pcprofiledump.c: Likewise.
11858 * debug/xtrace.sh: Likewise.
11859 * elf/ldconfig.c: Likewise.
11860 * elf/ldd.bash.in: Likewise.
11861 * elf/pldd.c: Likewise.
11862 * elf/sotruss.ksh: Likewise.
11863 * elf/sprof.c: Likewise.
11864 * iconv/iconv_prog.c: Likewise.
11865 * iconv/iconvconfig.c: Likewise.
11866 * locale/programs/locale.c: Likewise.
11867 * locale/programs/localedef.c: Likewise.
11868 * login/programs/pt_chown.c: Likewise.
11869 * malloc/memusage.sh: Likewise.
11870 * malloc/memusagestat.c: Likewise.
11871 * malloc/mtrace.pl: Likewise.
11872 * manual/libc.texinfo: Likewise.
11873 * nscd/nscd.c: Likewise.
11874 * nss/getent.c: Likewise.
11875 * nss/makedb.c: Likewise.
11876 * posix/getconf.c: Likewise.
11877 * scripts/test-installation.pl: Likewise.
11878
d4697bc9
AM
11879 * All files with FSF copyright notices: Update copyright dates
11880 using scripts/update-copyrights.
11881 * intl/plural.c: Regenerated.
11882 * locale/programs/charmap-kw.h: Likewise.
11883 * locale/programs/locfile-kw.h: Likewise.
11884
c8590f9d
MF
118852013-12-31 Mike Frysinger <vapier@gentoo.org>
11886
11887 * sysdeps/unix/sysv/linux/configure: Regenerated.
11888 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11889 the linux/fanotify.h header.
11890 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11891 HAVE_LINUX_FANOTIFY_H is defined.
11892
b19221b9
SP
118932013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11894
dd1d85e5
SP
11895 * benchtests/cos-inputs: New inputs.
11896 * benchtests/sin-inputs: Likewise.
11897
1acbb90f
SP
11898 * benchtests/atan-inputs: New inputs. Fix name of multiple
11899 precision fallback inputs.
11900
4c012ed3
SP
11901 * benchtests/atanh-inputs: New inputs.
11902 * benchtests/tanh-inputs: Likewise.
11903
eff98324
SP
11904 * benchtests/acosh-inputs: New inputs.
11905 * benchtests/asinh-inputs: Likewise.
11906
ce641152
SP
11907 * benchtests/cosh-inputs: New inputs.
11908 * benchtests/sinh-inputs: Likewise.
11909
b19221b9
SP
11910 * benchtests/acos-inputs: Add more inputs.
11911 * benchtests/asin-inputs: Likewise.
11912
030a4976 119132013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11914
030a4976 11915 [BZ #16375]
9dcc8f11
VS
11916 * manual/arith.texi: Fix spelling.
11917 * manual/charset.texi: Likewise.
11918 * manual/errno.texi: Likewise.
11919 * manual/filesys.texi: Likewise.
11920 * manual/lang.texi: Likewise.
11921 * manual/llio.texi: Likewise.
11922 * manual/locale.texi: Likewise.
11923 * manual/message.texi: Likewise.
11924 * manual/resource.texi: Likewise.
11925 * manual/search.texi: Likewise.
11926 * manual/setjmp.texi: Likewise.
11927 * manual/stdio.texi: Likewise.
11928 * manual/string.texi: Likewise.
11929 * manual/sysinfo.texi: Likewise.
11930 * manual/time.texi: Likewise.
11931
11520a57
CD
119322013-12-27 Carlos O'Donell <carlos@redhat.com>
11933
11934 * po/sl.po: New file.
11935
471103ae
MF
119362013-12-27 Mike Frysinger <vapier@gentoo.org>
11937
11938 * .gitignore: Add core/.gdbinit/.gdb_history.
11939
6c9642ed
AM
119402013-12-27 Allan McRae <allan@archlinux.org>
11941
11942 [BZ #16369]
11943 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11944 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11945
3f637079
BM
119462013-12-24 Brooks Moses <bmoses@google.com>
11947
11948 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11949 all compilers that claim C++98 compliance, not just GCC.
11950 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11951 Likewise.
11952
abc26e99
MK
119532013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11954
11955 * NEWS: Restore accidentally deleted bug-fix entries.
11956
362b47fe
MK
119572013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11958 Ondřej Bílka <neleai@seznam.cz>
11959
11960 [BZ #15073]
11961 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11962 have_lock.
362b47fe 11963
b9bcbbcb
OB
119642013-12-23 Ondřej Bílka <neleai@seznam.cz>
11965
11966 [BZ #12986]
11967 * manual/stdio.texi (String Input Conversions): Clarify that character
11968 classes are not supported.
11969
fb55fcd2
AZ
119702013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11971
11972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11973
ef7344f0
JM
119742013-12-22 Joseph Myers <joseph@codesourcery.com>
11975
4f40e4b3
JM
11976 [BZ #16337]
11977 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11978 Calculate results for small negative arguments directly rather
11979 than using reflection formula with special underflow handling.
11980
ef7344f0
JM
11981 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11982 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11983 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11984 (fchflags): Likewise.
11985 (revoke): Likewise.
11986 (setlogin): Likewise.
11987 (sigaltstack): Likewise.
11988 (wait4): Likewise.
11989 (sigblock): Remove.
11990 (sigsetmask): Likewise.
11991 (wait3): Likewise.
11992 (waitpid): Likewise.
11993 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11994 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11995 file.
11996 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11997 * sysdeps/unix/bsd/Makefile: ... here.
11998 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11999 * sysdeps/unix/bsd/Versions: ... here.
12000 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12001 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12002 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12003 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12004 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12005 * sysdeps/unix/bsd/sigblock.c: ... here.
12006 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12007 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12008 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12009 * sysdeps/unix/bsd/sigvec.c: ... here.
12010 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12011 * sysdeps/unix/bsd/tcdrain.c: ... here.
12012 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12013 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12014 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12015 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12016 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12017 * sysdeps/unix/bsd/wait.c: ... here.
12018 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12019 * sysdeps/unix/bsd/wait3.c: ... here.
12020 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12021 * sysdeps/unix/bsd/waitpid.c: ... here.
12022
5b0626b9
JM
120232013-12-21 Joseph Myers <joseph@codesourcery.com>
12024
12025 [BZ #16356]
12026 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12027 round-to-nearest for [!USE_AS_EXPM1L].
12028 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12029 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12030 more tests of exp and exp10. Expect some exp10 tests to miss
12031 exceptions or fail in directed rounding modes.
12032 * math/auto-libm-test-out: Regenerated.
12033 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12034 (exp10_test_tonearest): New function.
12035 (exp10_towardzero_test_data): New array.
12036 (exp10_test_towardzero): New function.
12037 (exp10_downward_test_data): New array.
12038 (exp10_test_downward): New function.
12039 (exp10_upward_test_data): New array.
12040 (exp10_test_upward): New function.
12041 (main): Call the new functions.
12042 * sysdeps/i386/fpu/libm-test-ulps: Update.
12043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12044
7fda5682
JM
120452013-12-20 Joseph Myers <joseph@codesourcery.com>
12046
31e3a405
JM
12047 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12048 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12049 * math/auto-libm-test-out: Regenerated.
12050 * math/libm-test.inc (acosh_test_data): Add more tests.
12051 (atanh_test_data): Likewise.
12052 (ceil_test_data): Likewise.
12053 (copysign_test_data): Likewise.
12054 * sysdeps/i386/fpu/libm-test-ulps: Update.
12055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12056
85bff96a
JM
12057 * timezone/checktab.awk: Update from tzcode 2013i.
12058 * timezone/private.h: Likewise.
12059 * timezone/scheck.c: Likewise.
12060 * timezone/tzfile.h: Likewise.
12061 * timezone/tzselect.ksh: Likewise.
12062 * timezone/zdump.c: Likewise.
12063 * timezone/zic.c: Likewise.
12064
b7867a3b
JM
12065 * math/auto-libm-test-in: Add tests of cpow.
12066 * math/auto-libm-test-out: Regenerated.
12067 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 12068 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
12069 mpc_cc_c.
12070 (func_calc_desc): Add mpc_cc_c union field.
12071 (test_functions): Add cpow.
12072 (special_fill_2pi): New function.
12073 (special_real_inputs): Add 2pi.
12074 (calc_generic_results): Handle mpc_cc_c.
12075 * sysdeps/i386/fpu/libm-test-ulps: Update.
12076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12077
7fda5682
JM
12078 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12079 csqrt, ctan and ctanh.
12080 * math/auto-libm-test-out: Regenerated.
12081 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12082 (TEST_COND_x86): Likewise.
12083 (ccos_test_data): Use AUTO_TESTS_c_c.
12084 (ccosh_test_data): Likewise.
12085 (cexp_test_data): Likewise.
12086 (clog_test_data): Likewise.
12087 (csqrt_test_data): Likewise.
12088 (ctan_test_data): Likewise.
12089 (ctan_tonearest_test_data): Likewise.
12090 (ctan_towardzero_test_data): Likewise.
12091 (ctan_downward_test_data): Likewise.
12092 (ctan_upward_test_data): Likewise.
12093 (ctanh_test_data): Likewise.
12094 (ctanh_tonearest_test_data): Likewise.
12095 (ctanh_towardzero_test_data): Likewise.
12096 (ctanh_downward_test_data): Likewise.
12097 (ctanh_upward_test_data): Likewise.
12098 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12099 mpc_c_c.
12100 (func_calc_desc): Add mpc_c_c union field.
12101 (FUNC_mpc_c_c): New macro.
12102 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12103 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12104 ctanh.
12105 (special_fill_min_subnorm_p120): New function.
12106 (special_real_inputs): Add min_subnorm_p120.
12107 (calc_generic_results): Handle mpc_c_c.
12108 * sysdeps/i386/fpu/libm-test-ulps: Update.
12109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12110
5ff8d60e
SP
121112013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12112
57f41c40
AS
12113 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12114 (do_sin_slow): New functions.
12115 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12116 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12117
84ba214c
SP
12118 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12119 Use M to change sign of result instead of X. Assume X is
12120 positive.
12121 (csloww1): Likewise.
12122 (__sin): Adjust.
12123 (__cos): Adjust.
12124
975195e4
SP
12125 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12126 arguments A and DA.
12127 (__sin): Adjust.
12128 (__cos): Likewise.
12129
5ff8d60e
SP
12130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12131 (__cos): Likewise.
12132 (sloww1): Don't adjust sign of DX.
12133 (csloww1): Likewise.
12134 (sloww2): Use X directly and don't adjust sign of DX.
12135 (csloww2): Likewise.
12136
eb983568
JM
121372013-12-19 Joseph Myers <joseph@codesourcery.com>
12138
64a17f1a
JM
12139 * math/auto-libm-test-in: Add tests of cabs and carg.
12140 * math/auto-libm-test-out: Regenerated.
12141 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12142 (carg_test_data): Likewise.
12143 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12144 mpc_c_f.
12145 (func_calc_desc): Add mpc_c_f union field.
12146 (test_functions): Add cabs and carg.
12147 (calc_generic_results): Handle mpc_c_f.
12148
eb983568
JM
12149 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12150 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12151 as a macro and a compat symbol.
12152 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12153 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12154 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12155 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12156 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12157 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12158 not use .hidden.
12159 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12160 Likewise.
12161 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12162 Likewise.
12163 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12164 Likewise.
12165 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12166 Likewise.
12167 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12168 Likewise.
12169 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12170 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12171 from GLIBC_2.3.2.
12172
6eeb678a
AZ
121732013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12174
12175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12176
6f6fc482
JM
121772013-12-19 Joseph Myers <joseph@codesourcery.com>
12178
21fea2e2
JM
12179 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12180 trailing whitespace removed.
12181 * scripts/config.guess: Update to version 2013-11-29.
12182 * scripts/config.sub: Update to version 2013-10-01.
12183
6f6fc482
JM
12184 * math/auto-libm-test-in: Add tests of sincos.
12185 * math/auto-libm-test-out: Regenerated.
12186 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12187 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12188 mpfr_f_11.
12189 (func_calc_desc): Add mpfr_f_11 union field.
12190 (test_functions): Add sincos.
12191 (calc_generic_results): Handle mpfr_f_11.
12192 * sysdeps/i386/fpu/libm-test-ulps: Update.
12193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12194
83f5c32d
AS
121952013-12-19 Andreas Schwab <schwab@suse.de>
12196
12197 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12198 CALL_MCOUNT.
12199 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12200 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12201 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12202
c688b419
JM
122032013-12-19 Joseph Myers <joseph@codesourcery.com>
12204
335ee092
JM
12205 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12206 * sysdeps/i386/fpu/libm-test-ulps: Update.
12207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12208
f88acd39
JM
12209 [BZ #16293]
12210 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12211 round-to-nearest mode when using frndint.
12212 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12213 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12214 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12215 Likewise.
12216 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12217 sinh test to fail.
12218 * math/auto-libm-test-out: Regenerated.
12219 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12220 (TEST_COND_x86): Likewise.
12221 (expm1_tonearest_test_data): New array.
12222 (expm1_test_tonearest): New function.
12223 (expm1_towardzero_test_data): New array.
12224 (expm1_test_towardzero): New function.
12225 (expm1_downward_test_data): New array.
12226 (expm1_test_downward): New function.
12227 (expm1_upward_test_data): New array.
12228 (expm1_test_upward): New function.
12229 (main): Run the new test functions.
12230 * sysdeps/i386/fpu/libm-test-ulps: Update.
12231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12232
c688b419
JM
12233 * include/features.h: Update comment documenting feature test
12234 macros. Mention _DEFAULT_SOURCE in comment.
12235 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12236 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12237 _BSD_SOURCE and _SVID_SOURCE.
12238 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12239 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12240 !_SVID_SOURCE]: Likewise.
12241 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12242 (__USE_POSIX_IMPLICITLY): Define.
12243 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12244 (_POSIX_SOURCE): Undefine and redefine.
12245 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12246 (_POSIX_C_SOURCE): Likewise.
12247 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12248 (Feature Test Macros): Update documentation of default features.
12249
9f6e964c
RS
122502013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12251
12252 * benchtests/Makefile: Add bench-strtok.
12253 * benchtests/bench-strtok.c: New file: strtok benchtest.
12254
ee0a148a
AM
122552013-12-19 Allan McRae <allan@archlinux.org>
12256
12257 * manual/install.texi: Suppress menu for plain text output.
12258 * INSTALL: Regenerated.
12259
b9ab448f
BM
122602013-12-18 Brooks Moses <bmoses@google.com>
12261
12262 [BZ #15846]
12263 * misc/getauxval.c: Include errno.h.
12264 (__getauxval): Set errno to ENOENT if the requested type is not
12265 found.
12266 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12267 don't declare with __attribute_const__.
12268 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12269 * manual/startup.texi: Document that getauxval sets errno.
12270
23776487
JM
122712013-12-18 Joseph Myers <joseph@codesourcery.com>
12272
f889953b
JM
12273 * math/auto-libm-test-in: Add tests of jn and yn.
12274 * math/auto-libm-test-out: Regenerated.
12275 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12276 (yn_test_data): Likewise.
12277 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12278 mpfr_if_f.
12279 (func_calc_desc): Add mpfr_if_f union field.
12280 (FUNC_mpfr_if_f): New macro.
12281 (test_functions): Add jn and yn.
12282 (calc_generic_results): Assert type of second input for
12283 mpfr_ff_f. Handle mpfr_if_f.
12284 (output_for_one_input_case): Disable all checking for arguments
12285 fitting floating-point types in case of an integer argument.
12286 * sysdeps/i386/fpu/libm-test-ulps: Update.
12287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12288
23776487
JM
12289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12290 Don't expect fegetround reference in libm.so.
12291
cb756c6d
MS
122922013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12293
12294 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12295 $(config-cflags-nofma).
12296
2dec468f
JM
122972013-12-18 Joseph Myers <joseph@codesourcery.com>
12298
5953eb3a
JM
12299 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12300 * math/auto-libm-test-out: Regenerated.
12301
2dec468f
JM
12302 [BZ #16338]
12303 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12304 to determine exponent and adjust argument to have exponent of -1.
12305 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12306 log2.
12307 * math/auto-libm-test-out: Regenerated.
12308 * sysdeps/i386/fpu/libm-test-ulps: Update.
12309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12310
4d84e6ad
OB
123112013-12-18 Ondřej Bílka <neleai@seznam.cz>
12312
12313 * manual/probes.texi: Remove cases when per-thread arenas are
12314 disabled.
12315
1818483b
AS
123162013-12-18 Andreas Schwab <schwab@suse.de>
12317
12318 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12319 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12320 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12321 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12322 * sysdeps/i386/i686/multiarch/Makefile: Update.
12323 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12324
25de95bf
JM
123252013-12-17 Joseph Myers <joseph@codesourcery.com>
12326
12327 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12328 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12329
674762d9
PE
123302013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12331
ed27ed83 12332 [BZ #15968]
0748546f
PE
12333 Support TZ transition times < 00:00:00.
12334 This is needed for version-3 tz-format files; it supports time
12335 stamps past 2037 for America/Godthab (the only entry in the tz
12336 database for which this change is relevant).
12337 * manual/time.texi (TZ Variable): Document transition times
12338 from -167:59:59 through -00:00:01.
12339 * time/tzset.c (tz_rule): Time of day is now signed.
12340 (__tzset_parse_tz): Parse negative time of day.
12341
4480e934
PE
12342 Document TZ transition times >= 25:00:00.
12343 * manual/time.texi (TZ Variable): Document transition times from
12344 25:00:00 through 167:59:59. These are already supported, and this
12345 support will help with version-3 tz-format files.
12346
69947401
PE
12347 * manual/time.texi (TZ Variable): Modernize North America example
12348 to reflect current (i.e., 2007-and-later) daylight saving rules.
12349
674762d9
PE
12350 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12351
7011c262
JM
123522013-12-17 Joseph Myers <joseph@codesourcery.com>
12353
2fc6557e
JM
12354 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12355 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12356 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12358 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12359 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12360 * sysdeps/unix/bsd/clock.c: Likewise.
12361 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12362 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12363 * sysdeps/unix/bsd/init-posix.c: Likewise.
12364 * sysdeps/unix/bsd/poll.c: Likewise.
12365 * sysdeps/unix/bsd/ptsname.c: Likewise.
12366 * sysdeps/unix/bsd/seekdir.c: Likewise.
12367 * sysdeps/unix/bsd/setegid.c: Likewise.
12368 * sysdeps/unix/bsd/seteuid.c: Likewise.
12369 * sysdeps/unix/bsd/setgid.c: Likewise.
12370 * sysdeps/unix/bsd/setrgid.c: Likewise.
12371 * sysdeps/unix/bsd/setruid.c: Likewise.
12372 * sysdeps/unix/bsd/setsid.c: Likewise.
12373 * sysdeps/unix/bsd/setuid.c: Likewise.
12374 * sysdeps/unix/bsd/sigaction.c: Likewise.
12375 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12376 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12377 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12378 * sysdeps/unix/bsd/telldir.c: Likewise.
12379 * sysdeps/unix/bsd/times.c: Likewise.
12380 * sysdeps/unix/bsd/usleep.c: Likewise.
12381
029c7b25
JM
12382 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12383 ($(objpfx)libbsd-compat.a): Remove rule.
12384
7011c262
JM
12385 * include/features.h (__FAVOR_BSD): Do not define.
12386 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12387 features conflicting with POSIX.
12388 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12389 (_BSD_SOURCE): Remove description of not being a subset of other
12390 feature test macros.
12391 * manual/job.texi (getpgrp): Do not document BSD version.
12392 (getpgid): Do not document by reference to BSD getpgrp.
12393 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12394 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12395 * signal/signal.h [__FAVOR_BSD]: Likewise.
12396 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12397 instead of making contents conditional on [__FAVOR_BSD].
12398 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12399
affb6f78
AZ
124002013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12401
12402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12403
c88769dd
JM
124042013-12-17 Joseph Myers <joseph@codesourcery.com>
12405
6432a540
JM
12406 [BZ #16314]
12407 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12408 values below 2**-450, not 2**-500.
12409 * math/auto-libm-test-in: Don't allow spurious underflow from
12410 hypot.
12411 * math/auto-libm-test-out: Regenerated.
12412
c88769dd
JM
12413 [BZ #16316]
12414 [BZ #16330]
12415 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12416 values of ha and hb and sort them after adjusting subnormal
12417 arguments.
12418 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12419 Likewise.
12420 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12421 values of ea and eb and sort them after adjusting subnormal
12422 arguments.
12423 * math/auto-libm-test-in: Do not expect some hypot tests of
12424 subnormals to fail. Add more hypot tests.
12425 * math/auto-libm-test-out: Regenerated.
12426
29618f6b
KK
124272013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12428
12429 [BZ #13304]
12430 * sysdeps/sh/s_fma.c: New file.
12431 * sysdeps/sh/s_fmaf.c: New file.
12432 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12433 version.
12434 * sysdeps/sh/Implies: Add sh/soft-fp.
12435
eacfdfbf
RM
124362013-12-16 Roland McGrath <roland@hack.frob.com>
12437
12438 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12439 level of indirection to members `objname', `errstring', `malloced'.
12440 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12441 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12442 it as the __longjmp argument (just pass 1 instead).
12443 (_dl_catch_error): Initialize C with argument pointers and address of
12444 volatile local ERRCODE rather than copying values out of C at return.
12445
ff362e5b
JM
124462013-12-16 Joseph Myers <joseph@codesourcery.com>
12447
12448 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12449 * math/auto-libm-test-out: Regenerated.
12450 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12451 (hypot_test_data): Likewise.
12452 (pow_test_data): Likewise.
12453 (pow_tonearest_test_data): Likewise.
12454 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12455 mpfr_ff_f.
12456 (func_calc_desc): Add mpfr_ff_f union field.
12457 (FUNC_mpfr_ff_f): New macro.
12458 (test_functions): Add atan2, hypot and pow.
12459 (special_fill_min): New function.
12460 (special_fill_minus_min): Likewise.
12461 (special_fill_min_subnorm): Likewise.
12462 (special_fill_minus_min_subnorm): Likewise.
12463 (special_real_inputs): Add min, -min, min_subnorm and
12464 -min_subnorm.
12465 (calc_generic_results): Handle mpfr_ff_f.
12466 * sysdeps/i386/fpu/libm-test-ulps: Update.
12467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12468
5764c27f
WN
124692013-12-16 Will Newton <will.newton@linaro.org>
12470
12471 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12472 (Aligned Memory Blocks): Add documentation for aligned_alloc
12473 and suggest it as an alternative to posix_memalign.
12474 (Hooks for Malloc): Document __memalign_hook is also called
12475 for aligned_alloc. (Summary of Malloc): Add summary for
12476 aligned alloc. Document __memalign_hook is also called
12477 for aligned_alloc.
12478
0a096e44
WN
124792013-12-16 Will Newton <will.newton@linaro.org>
12480
12481 * manual/memory.texi (Malloc Examples): Clarify default
12482 alignment documentation. Suggest posix_memalign rather
12483 than memalign or valloc.
12484 (Aligned Memory Blocks): Remove suggestion to use memalign
12485 or valloc. Remove obsolete comment about BSD.
12486 Document memalign errno values and mark the function obsolete.
12487 Document posix_memalign returned error codes. Mark valloc
12488 as obsolete. (Hooks for Malloc): __memalign_hook is also
12489 called for posix_memalign and valloc.
12490 (Summary of Malloc): Add posix_memalign to function summary.
12491 __memalign_hook is also called for posix_memalign and valloc.
12492
8d561986
SP
124932013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12494
12495 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12496 TAYLOR_SIN.
12497 (__sin): Adjust.
12498 (__cos): Likewise.
12499 (sloww): Use mynumber union. Expand ternary operator into
12500 if-else statements.
12501 (cslow): use mynumber union.
12502
73616a74
AM
125032013-12-16 Allan McRae <allan@archlinux.org>
12504
9e8ac24b
AM
12505 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12506 * configure: Regenerated.
12507
6f8e37eb
AM
12508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12509
8894bad3
AM
12510 [BZ #14120]
12511 * configure.ac: Added --enable-maintainer-mode. Check for
12512 autoconf when enabled.
12513 * configure: Regenerated.
12514
73616a74
AM
12515 * nscd/nscd.service: New file.
12516 * nscd/nscd.tmpfiles: New file.
12517
584b18eb
OB
125182013-12-14 Ondřej Bílka <neleai@seznam.cz>
12519
12520 [BZ #12100]
12521 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12522 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12523 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12524 (strstr): Add __strstr_sse2_unaligned ifunc.
12525 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12526 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12527 (strcasestr): Remove __strcasestr_sse42 ifunc.
12528 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12529 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12531
8a5c7897
KK
125322013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12533
12534 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12535 * sysdeps/sh/bits/fenv.h: ... here.
12536 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12537
fd712ef3
AZ
125382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12539
12540 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12541
42fcb46c
AZ
12542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12543 hypotf multiarch implementations.
12544 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12545 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12546 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12547 multiarch hypot for PPC64.
12548 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12549 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12550 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12551 multiarch hypotf for PPC64.
12552
83efded4
AZ
12553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12554 modff multiarch implementations.
12555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12558 multiarch modf for PPC64.
12559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12562 multiarch modff for PPC64.
12563
43e246d2
AZ
12564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12565 and logl multiarch implementations.
12566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12569 multiarch logb for PPC64.
12570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12573 multiarch logb for PPC64.
12574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12577 multiarch logb for PPC64.
12578
8fdad123
AZ
12579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12580 isinff multiarch implementation.
12581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12582 file.
12583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12585 multiarch isinf for PPC64.
12586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12587 file.
12588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12589 multiarch isinff for PPC64.
12590
1481d706
AZ
12591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12592 finitef multiarch implementation.
12593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12594 file.
12595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12597 multiarch finite for PPC64.
12598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12599 file.
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12601 multiarch finitef for PPC64.
12602
5ccd5fc8
AZ
12603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12604 lrint multiarch implementation.
12605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12606 file.
12607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12609 multiarch llrint for PPC64.
12610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12611 multiarch lrint for PPC64.
12612
2568f3fa
AZ
12613 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12614 copysignf multiarch implementation.
12615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12616 file.
12617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12618 file.
12619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12620 multiarch copysign for PPC64.
12621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12622 multiarch copysignf for PPC64.
12623
1cb341fd
AZ
12624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12625 multiarch implementation.
12626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12627 file.
12628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12629 file.
12630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12631 file.
12632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12633 file.
12634 multiarch llround for PPC64.
12635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12636 multiarch trunc for PPC64.
12637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12638 multiarch truncf for PPC64.
12639
59a3e194
AZ
12640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12641 multiarch implementation.
12642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12643 file.
12644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12645 file.
12646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12647 file.
12648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12649 file.
12650 multiarch llround for PPC64.
12651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12652 multiarch round for PPC64.
12653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12654 multiarch roundf for PPC64.
12655
357fd3b4
AZ
12656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12657 multiarch implementation.
12658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12659 file.
12660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12661 file.
12662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12663 file.
12664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12665 file.
12666 multiarch llround for PPC64.
12667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12668 multiarch floor for PPC64.
12669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12670 multiarch floorf for PPC64.
12671
96770f12
AZ
12672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12673 multiarch implementation.
12674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12675 file.
12676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12677 file.
12678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12679 file.
12680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12681 file.
12682 multiarch llround for PPC64.
12683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12684 multiarch ceil for PPC64.
12685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12686 multiarch ceilf for PPC64.
12687
c3627f6e
AZ
12688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12689 multiarch implementation.
12690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12691 file.
12692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12693 file.
12694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12695 file.
12696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12697 multiarch llround for PPC64.
12698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12699 multiarch lround for PPC64.
12700
b2284ad7
AZ
12701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12702 multiarch implementation.
12703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12706 file.
12707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12710 multiarch isnan for PPC64.
12711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12712 multiarch isnanf for PPC64.
12713
69bbc63d
AZ
12714 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12715 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12716 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12717 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12718 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12720
c24517c9
AZ
12721 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12722 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12723 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12724 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12725
a52374e8
AZ
12726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12727 multiarch implementations.
12728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12729 (__libc_ifunc_impl_list): Likewise.
12730 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12731 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12732 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12733 multiarch stpcpy for PPC64.
12734
7f5ec113
AZ
12735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12736 multiarch implementations.
12737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12738 (__libc_ifunc_impl_list): Likewise.
12739 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12740 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12741 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12742 multiarch strcpy for PPC64.
12743
e28bcd42
AZ
12744 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12745 redefine function name.
12746 (_wordcopy_fwd_dest_aligned): Likewise.
12747 (_wordcopy_bwd_aligned): Likewise.
12748 (_wordcopy_bwd_dest_aligned): Likewise.
12749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12750 multiarch implementations.
12751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12752 (__libc_ifunc_impl_list): Likewise.
12753 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12754 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12755 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12756 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12757 multiarch wcscpy for PPC64.
12758
92cacfce
AZ
12759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12760 multiarch implementations.
12761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12762 (__libc_ifunc_impl_list): Likewise.
12763 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12764 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12765 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12766 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12767 multiarch wcscpy for PPC64.
12768
7b714620
AZ
12769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12770 multiarch implementations.
12771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12772 (__libc_ifunc_impl_list): Likewise.
12773 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12774 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12775 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12776 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12777 multiarch wcsrchr for PPC64.
12778
16fd2ae3
AZ
12779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12780 multiarch implementations.
12781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12782 (__libc_ifunc_impl_list): Likewise.
12783 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12784 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12785 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12786 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12787 multiarch wcschr for PPC64.
12788
9ee2969b
AZ
12789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12790 multiarch implementations.
12791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12792 (__libc_ifunc_impl_list): Likewise.
12793 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12794 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12795 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12796 multiarch strchrnul for PPC64.
12797
372dc060
AZ
12798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12799 implementations.
12800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12801 (__libc_ifunc_impl_list): Likewise.
12802 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12803 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12804 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12805 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12806 strchr for PPC64.
12807
24c2c3b9
AZ
12808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12809 implementations.
12810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12811 (__libc_ifunc_impl_list): Likewise.
12812 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12813 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12814 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12815 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12816 strncmp for PPC64.
12817
1c92d9a0
AZ
12818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12819 multiarch implementations.
12820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12821 (__libc_ifunc_impl_list): Likewise.
12822 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12823 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12824 strncasecmp for PPC64.
12825 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12826 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12827 multiarch strncasecmp_l for PPC64.
12828
17de3ee3
AZ
12829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12830 multiarch implementations.
12831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12832 (__libc_ifunc_impl_list): Likewise.
12833 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12834 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12835 multiarch strcasecmp for PPC64.
12836 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12837 file.
12838 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12839 multiarch strcasecmp_l for PPC64.
12840
62982bf9
AZ
12841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12842 implementations.
12843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12844 (__libc_ifunc_impl_list): Likewise.
12845 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12846 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12847 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12848 strnlen for PPC64.
12849
a65f4904
AZ
12850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12851 implementations.
12852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12853 (__libc_ifunc_impl_list): Likewise.
12854 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12855 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12856 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12857 strlen for PPC64.
12858
1fd005ad
AZ
12859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12860 implementations.
12861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12862 (__libc_ifunc_impl_list): Likewise.
12863 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12864 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12865 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12866 rawmemrchr for PPC64.
12867
cd05ba91
AZ
12868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12869 implementation.
12870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12871 (__libc_ifunc_impl_list): Likewise.
12872 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12873 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12874 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12875 memrchr for PPC64.
12876
870f8676
AZ
12877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12878 implementation.
12879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12880 (__libc_ifunc_impl_list): Likewise.
12881 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12882 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12883 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12884 memchr for PPC64.
12885
f00be62b
AZ
12886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12887 implementation.
12888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12889 (__libc_ifunc_impl_list): Likewise.
12890 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12891 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12892 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12893 mempcpy for PPC64.
12894
8a29a3d0
AZ
12895 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12896 avoid cretion of __bzero symbol.
12897 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12898 Likewise.
12899 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12900 Likewise.
12901 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12902 Likewise.
12903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12904 multiarch implementations.
12905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12906 (__libc_ifunc_impl_list): Likewise.
12907 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12908 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12909 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12910 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12911 bzero for PPC32.
12912 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12913 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12914 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12915 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12916 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12917 memset for PPC64.
12918 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12919
07253fcf
AZ
12920 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12922 implementations.
12923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12924 (__libc_ifunc_impl_list): Likewise.
12925 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12926 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12927 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12928 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12929 memcmp for PPC64.
12930
b5beafbc
AZ
12931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12932 multiarch for POWER/PPC64.
12933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12934 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12935 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12936 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12937 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12938 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12939 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12940 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12941 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12942 memcpy for PPC64.
12943
5e6a4d4b
AZ
12944 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12945 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12946 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12947 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12948 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12949 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12950 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12951 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12952 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12953 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12954 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12955 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12956 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12957 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12958 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12966
ddfab6dc
KK
129672013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12968
12969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12970
19b5525e
SP
129712013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12972
12973 * benchtests/Makefile (bench): Add exp2 and log2.
12974 (LDLIBS-bench-exp2): Add -lm.
12975 (LDLIBS-bench-log2): Likewise.
12976 * benchtests/exp2-inputs: New inputs file.
12977 * benchtests/log2-inputs: New inputs file.
12978 * benchtests/log-inputs: Add new inputs.
12979 * benchtests/tan-inputs: Likewise.
12980
196f7f5d
SP
129812013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12982
7a74607f
SP
12983 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12984 definition...
57f41c40
AS
12985 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12986 (csloww2): ... from here.
7a74607f 12987
196f7f5d
SP
12988 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12989 instead of structures.
12990 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12991 (POLYNOMIAL): Likewise.
12992 (TAYLOR_SLOW): Likewise.
12993 (__sin): Likewise.
12994 (__cos): Likewise.
12995 (slow1): Likewise.
12996 (slow2): Likewise.
12997 (sloww): Likewise.
12998 (sloww1); Likewise.
12999 (sloww2): Likewise.
13000 (bsloww1): Likewise.
13001 (bsloww2): Likewise.
13002 (cslow2): Likewise.
13003 (csloww): Likewise.
13004 (csloww1): Likewise.
13005 (csloww2): Likewise.
13006
0dfa665c
OB
130072013-12-10 Ondřej Bílka <neleai@seznam.cz>
13008
13009 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
13010 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13011 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
13012 * malloc/hooks.c (realloc_check): Likewise.
13013
5782a80f
OB
13014 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13015 * malloc/arena.c: Remove PER_THREAD conditional.
13016 [!PER_THREAD]: Remove code.
13017 (ptmalloc_unlock_all2): Likewise.
13018 (ptmalloc_init): Likewise.
13019 (_int_new_arena): Likewise.
13020 (arena_get2): Likewise.
13021 * malloc/hooks.c (__malloc_get_state): Likewise.
13022 (__malloc_set_state): Likewise.
13023 * malloc/malloc.c: Likewise.
13024 (struct malloc_state): Likewise.
13025 (struct malloc_par): Likewise.
13026 (__libc_realloc): Likewise.
13027 (__libc_mallopt): Likewise.
13028
aeb95445
AZ
130292013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13030
13031 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13032
e8349efd
OB
130332013-12-09 Ondřej Bílka <neleai@seznam.cz>
13034
13035 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13036 macro to a function. Check for zero perturb_byte.
13037 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13038
f3eeb3fc 13039 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
13040 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13041 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
13042 force_reg by atomic_forced_read.
13043 * malloc/arena.c (ptmalloc_init): Likewise.
13044 * malloc/hooks.c (top_check): Likewise.
13045
be2f9009
AZ
130462013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13047
13048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13049
e7b914bd
MT
130502013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13051
13052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13053
9f0be4f8
JM
130542013-12-08 Joseph Myers <joseph@codesourcery.com>
13055
13056 * math/auto-libm-test-in: Add tests of lgamma.
13057 * math/auto-libm-test-out: Regenerated.
13058 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13059 (M_LOG_2_SQRT_PIl): Likewise.
13060 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13061 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13062 mpfr_f_f1.
13063 (func_calc_desc): Add mpfr_f_f1 union field.
13064 (ARGS1): New macro.
13065 (ARGS2): Likewise.
13066 (ARGS3): Likewise.
13067 (ARGS4): Likewise.
13068 (RET1): Likewise.
13069 (RET2): Likewise.
13070 (CALC): Likewise.
13071 (FUNC): Likewise.
13072 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13073 (test_functions): Add lgamma.
13074 (calc_generic_results): Handle mpfr_f_f1.
13075 * sysdeps/i386/fpu/libm-test-ulps: Update.
13076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13077
24eeafdb
AZ
130782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13079
13080 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13081 __mpn_add_n for PowerPC64/POWER7.
13082 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13083 __mpn_sub_n for PowerPC64/POWER7.
13084
4a2c0fd4
AZ
13085 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13086 __mpn_addmul_1 for PowerPC64.
13087 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13088 __mpn_submul_1 for PowerPC64.
13089 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13090 for PowerPC64.
13091 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13092 for PowerPC64.
13093
4b5b548c
FS
130942013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13095
13096 [BZ #15089]
13097 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13098
0a3ac0aa
AZ
130992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13100
13101 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13102
ccdc8438
AZ
13103 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13104 add multiarch folders.
13105 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13106 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13107 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13108 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13109 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13110 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13111 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13112 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13113 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13114 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13115 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13122
2e973d99
AZ
13123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13124 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13126 New file.
13127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13128 New file.
13129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13130 multiarch __ieee754_hypot for PowerPC32.
13131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13132 New file.
13133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13134 New file.
13135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13136 multiarch __ieee754_hypotf for PowerPC32.
13137
2d9470b2
AZ
13138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13139 long_double_symbol only if __logbl is defined.
13140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13141 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13143 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13145 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13146 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13147 path for implementation.
13148 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13149 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13151 logb, and logbl multiarch implementations for PowerPC32.
13152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13153 file.
13154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13155 file.
13156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13157 multiarch logb for PowerPC32.
13158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13159 file.
13160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13161 file.
13162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13163 multiarch logbf for PowerPC32.
13164 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13166 file.
13167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13168 multiarch logbl implementation for PowerPC32.
13169
5212ffce
AZ
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13171 and modff multiarch implementations.
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13173 New file.
13174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13175 New file.
13176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13177 multiarch modf for PowerPC32.
13178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13179 New file.
13180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13181 New file.
13182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13183 multiarch modff for PowerPC32.
13184
79dccf31
AZ
13185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13186 and lrintf multiarch implementations.
13187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13188 New file.
13189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13190 New file.
13191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13192 multiarch lrint for PowerPC32.
13193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13194 file: multiarch lrintf for PowerPC32.
13195
deb66480
AZ
13196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13197 and lroundf multiarch implementations.
13198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13199 New file.
13200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13201 New file.
13202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13203 New file.
13204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13205 multiarch lround for PowerPC32.
13206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13207 file: multiarch lroundf for PowerPC32.
13208
264b036b
AZ
13209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13210 copysign and copysignf multiarch implementations.
13211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13212 New file.
13213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13214 New file.
13215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13216 file: multiarch copysign for PowerPC32.
13217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13218 file: multiarch copysignf for PowerPC32.
13219
d47db6c9
AZ
13220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13221 and truncf multiarch implementations.
13222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13223 New file.
13224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13225 file.
13226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13227 multiarch trunc for PowerPC32.
13228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13229 New file.
13230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13231 New file.
13232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13233 multiarch truncf for PowerPC32.
13234
ddb60b5a
AZ
13235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13236 and roundf multiarch implementations.
13237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13238 New file.
13239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13240 file.
13241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13242 multiarch round for PowerPC32.
13243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13244 New file.
13245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13246 New file.
13247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13248 multiarch roundf for PowerPC32.
13249
bedcf49b
AZ
13250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13251 and floorf multiarch implementations.
13252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13253 New file.
13254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13255 file.
13256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13257 multiarch floor for PowerPC32.
13258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13259 New file.
13260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13261 New file.
13262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13263 multiarch floorf for PowerPC32.
13264
35ae5b40
AZ
13265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13266 and ceilf multiarch implementations.
13267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13268 New file.
13269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13270 file.
13271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13272 multiarch ceil for PowerPC32.
13273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13274 New file.
13275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13276 file.
13277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13278 multiarch ceilf for PowerPC32.
13279
ae1a4cd9
AZ
13280 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13281 is defined.
13282 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13283 FINITEF is defined.
13284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13285 and finitef multiarch implementations.
13286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13287 New file.
13288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13289 file.
13290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13291 multiarch finite for PowerPC32.
13292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13293 New file.
13294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13295 file: multiarch finitef for PowerPC32.
13296
64fffd65
AZ
13297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13298 and isinff multiarch implementations.
13299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13300 file.
13301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13302 file.
13303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13304 multiarch isinf for PowerPC32.
13305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13306 New file.
13307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13308 multiarch isinff for PowerPC32.
13309
8e4e7ba2
AZ
13310 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13311 alias when __isnan is defined.
13312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13313 and isnanf multiarch implementations.
13314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13315 file.
13316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13317 file.
13318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13319 file.
13320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13321 file.
13322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13323 multiarch isnan for PowerPC32.
13324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13325 New file.
13326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13327 New file.
13328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13329 multiarch isnanf for PowerPC32.
13330
ddba588e
AZ
13331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13332 and sqrtf multiarch implementations.
13333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13334 file.
13335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13336 file.
13337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13338 multiarch sqrt for PowerPC32.
13339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13340 file.
13341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13342 file.
13343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13344 multiarch sqrtf for PowerPC32.
13345
0f96a2f0
AZ
13346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13347 and llroundf multiarch implementations.
13348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13349 New file.
13350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13351 New file.
13352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13353 New file.
13354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13355 file: multiarch llround for PowerPC32.
13356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13357 file: multiarch llroundf for PowerPC32.
13358
c9b5d79e
AZ
13359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13360 multiarch PowerPC32 fpu implementations.
13361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13362 New file.
13363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13364 New file.
13365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13366 multiarch llrint for PowerPC32.
13367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13368 New file.
13369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13370 New file.
13371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13372 file.
13373
9cbb3aab
AZ
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13375
ea5a72f8
AZ
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13377 file.
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13379 file.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13381 file.
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13383 multiarch wordcopy for PPC32.
13384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13385 wordcopy objects.
13386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13387 (__libc_ifunc_impl_list): Likewise.
13388 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13389 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13390 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13391 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13392 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13393 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13394
93be09e7
AZ
13395 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13397 file.
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13399 file.
13400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13401 file.
13402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13403 multiarch wcscpy for PPC32.
13404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13405 multiarch objects.
13406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13407 (__libc_ifunc_impl_list): Likewise.
13408 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13409 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13410 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13411 sysdeps/powerpc/power6/wcscpy.c.
13412
bb04e529
AZ
13413 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13415 file.
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13417 file.
13418 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13419 file.
13420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13421 multiarch wcsrchr for PPC32.
13422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13423 multiarch objects.
13424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13425 (__libc_ifunc_impl_list): Likewise.
13426 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13427 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13428 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13429 sysdeps/powerpc/power6/wcsrchr.c.
13430
05b5cd1c
AZ
13431 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13432 file.
13433 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13434 file.
13435 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13437 multiarch wcschr for PPc32.
13438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13439 multiarch objects.
13440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13441 (__libc_ifunc_impl_list): Likewise.
13442 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13443 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13444 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13445 sysdeps/powerpc/power6/wcschr.c.
13446
ba964147
AZ
13447 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13448 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13449 file.
13450 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13451 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13452 file: multiarch strchr for PPC32.
13453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13454 multiarch objects.
13455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13456 (__libc_ifunc_impl_list): Likewise.
13457
31c81aaa
AZ
13458 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13459 name.
13460 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13461 file.
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13463 file.
13464 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13465 multiarch strchrnul for PPC32.
13466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13467 multiarch objects.
13468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13469 (__libc_ifunc_impl_list): Likewise.
13470
0d0607d9
AZ
13471 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13472 file.
13473 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13474 multiarch strncasecmp for PPC32.
13475 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13476 file.
13477 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13478 multiarch strncasecmp_l for PPC32.
13479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13480 strncasecmp multiarch objects.
13481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13482 (__libc_ifunc_impl_list): Likewise.
13483
4dfd5c86
AZ
13484 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13485 file.
13486 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13487 multiarch strncasecmp for PPC32.
13488 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13489 New file.
13490 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13491 multiarch strcasecmp_l for PPC32.
13492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13493 multiarch objects.
13494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13495 (__libc_ifunc_impl_list): Likewise.
13496
a19e01a3
AZ
13497 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13498 file.
13499 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13500 file.
13501 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13502 multiarch strncmp for PPC32.
13503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13504 multiarch objects.
13505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13506 (__libc_ifunc_impl_list): Likewise.
13507
ae9cf7a2
AZ
13508 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13509 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13510 file.
13511 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13512 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13514 multiarch objects.
13515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13516 (__libc_ifunc_impl_list): Likewise.
13517
3148bb7d
AZ
13518 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13519 file.
13520 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13521 file.
13522 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13523 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13524 multiarch objects.
13525 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13526 (__libc_ifunc_impl_list): Likewise.
13527
7af8b946
AZ
13528 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13529 file.
13530 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13531 file.
13532 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13533 multiarch rawmemchr for PPC32.
13534 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13535 multiarch objects.
13536 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13537 (__libc_ifunc_impl_list): Likewise.
13538
03a6aa6a
AZ
13539 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13540 file.
13541 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13542 file.
13543 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13544 file: memrchr multiarch for PPC32.
13545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13546 multiarch objects.
13547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13548 (__libc_ifunc_impl_list): Likewise.
13549
1c62e6d9
AZ
13550 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13551 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13552 file.
13553 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13554 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13555 multiarch memchr for PPC32.
13556 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13557 multiarch objects.
13558 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13559 (__libc_ifunc_impl_list): Likewise.
13560
87da8bdb
AZ
13561 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13562 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13563 file.
13564 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13565 file.
13566 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13567 file: multiarch mempcpy for PPC32.
13568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13569 multiarch objects.
13570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13571 (__libc_ifunc_impl_list): Likewise.
13572
20ed4714
AZ
13573 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13574 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13575 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13576 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13577 multiarch bzero for PPC32.
13578 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13579 file.
13580 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13581 file.
13582 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13583 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13584 file: multiarch memset for PPC32.
13585 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13587 memset multiarch objects.
13588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13589 (__libc_ifunc_impl_list): Likewise.
13590
ab3e3a46
AZ
13591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13592 file.
13593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13594 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13595 memcmp for PPC32.
13596 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13597 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13598 multiarch objects.
13599 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13600 (__libc_ifunc_impl_list): Likewise.
13601
930de6f0
AZ
13602 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13603 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13604 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13605 file.
13606 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13607 file.
13608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13609 file.
13610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13611 multiarch memcpy for PPC32.
13612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13613 multiarch objects.
13614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13615 (__libc_ifunc_impl_list): Likewise.
13616
4c628e00
AZ
13617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13618 support multiarch for POWER/PPC32.
13619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13620 Likewise.
13621 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13623 Implies file to make multiarch folder appers before the fpu and
13624 default folder for power4 configuration.
13625
f4479220
SP
136262013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13627
13628 * scripts/bench.pl: Append volatile keyword to type.
13629
8517800f
KK
136302013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13631
13632 * sysdeps/sh/sotruss-lib.c: New file.
13633 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13634
180138f1
AZ
136352013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13636
13637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13638
bbf37bdc
JM
136392013-12-05 Joseph Myers <joseph@codesourcery.com>
13640
e47cc4e0
JM
13641 [BZ #6810]
13642 * math/w_tgamma.c: Include <errno.h>.
13643 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13644 * math/w_tgammaf.c: Include <errno.h>.
13645 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13646 * math/w_tgammal.c: Include <errno.h>.
13647 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13648 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13649 underflow. Add more tgamma tests.
13650 * math/auto-libm-test-out: Regenerated.
13651 * sysdeps/i386/fpu/libm-test-ulps: Update.
13652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13653
bbf37bdc
JM
13654 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13655 sin, sinh, tan, tanh, tgamma, y0 and y1.
13656 * math/auto-libm-test-out: Regenerated.
13657 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13658 (TEST_COND_x86): Likewise.
13659 (M_E2l): Remove macro.
13660 (M_E3l): Likewise.
13661 (M_2_SQRT_PIl): Likewise.
13662 (M_SQRT_PIl): Likewise.
13663 (M_1_DIV_El): Likewise.
13664 (log_test_data): Use AUTO_TESTS_f_f.
13665 (log10_test_data): Likewise.
13666 (log1p_test_data): Likewise.
13667 (log2_test_data): Likewise.
13668 (sin_test_data): Likewise.
13669 (sin_tonearest_test_data): Likewise.
13670 (sin_towardzero_test_data): Likewise.
13671 (sin_downward_test_data): Likewise.
13672 (sin_upward_test_data): Likewise.
13673 (sinh_test_data): Likewise.
13674 (sinh_tonearest_test_data): Likewise.
13675 (sinh_towardzero_test_data): Likewise.
13676 (sinh_downward_test_data): Likewise.
13677 (sinh_upward_test_data): Likewise.
13678 (tan_test_data): Likewise.
13679 (tan_tonearest_test_data): Likewise.
13680 (tan_towardzero_test_data): Likewise.
13681 (tan_downward_test_data): Likewise.
13682 (tan_upward_test_data): Likewise.
13683 (tanh_test_data): Likewise.
13684 (tgamma_test_data): Likewise.
13685 (y0_test_data): Likewise.
13686 (y1_test_data): Likewise.
13687 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13688 (special_real_inputs): Add pi/4.
13689 * sysdeps/i386/fpu/libm-test-ulps: Update.
13690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13691
eb5ad6b9
AZ
136922013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13693
13694 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13695 "longjmp_target" static probes.
13696 (__longjmp): Rename to __longjmp_symbol.
13697 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13698 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13699 on which longjmp to generate.
13700 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13701 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13702 probe.
13703 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13704 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13705 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13706 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13707 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13708 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13710 __longjmp_symbol based on which __longjmp to generate.
13711 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13712 probe.
13713 (setjmp): Rename to setjmp_symbol.
13714 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13715 (_setjmp): Rename to _setjmp_symbol.
13716 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13717 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13718 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13719 which setjmp to generate.
13720 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13721 "longjmp_target" static probes.
13722
d136c6dc
SP
137232013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13724
9298ecba
SP
13725 * benchtests/README: Add note about output arguments.
13726 * benchtests/bench-sincos.c: Remove file.
13727 * benchtests/sincos-inputs: New file.
13728 * scripts/bench.pl: Identify output arguments and define
13729 static variables for them.
13730
232983e9
SP
13731 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13732
d136c6dc
SP
13733 [BZ #15941]
13734 * Makefile (INSTALL): Add install-plain.texi as the primary
13735 dependency.
13736 * manual/install-plain.texi: New file.
13737 * manual/install.texi: Include node directive only for
13738 non-plaintext output.
13739
699ff837
JM
137402013-12-04 Joseph Myers <joseph@codesourcery.com>
13741
ab07cea8
JM
13742 * stdlib/longlong.h: Update from GCC.
13743
699ff837
JM
13744 [BZ #6807]
13745 [BZ #15901]
13746 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13747 * math/w_j0f.c (y0f): Likewise.
13748 * math/w_j0l.c (__y0l): Likewise.
13749 * math/w_j1.c (y1): Likewise.
13750 * math/w_j1f.c (y1f): Likewise.
13751 * math/w_j1l.c (__y1l): Likewise
13752 * math/w_jn.c (yn): Likewise.
13753 * math/w_jnf.c (ynf): Likewise.
13754 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13755 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13756 value for Bessel function domain errors outside _SVID_ mode.
13757 Adjust sign of return value for yn (negative integer, 0).
13758 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13759 by zero in return for negative x and set sign appropriately for
13760 negative n.
13761 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13762 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13763 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13764 expectations in error cases.
13765 (y1_test_data): Likewise.
13766 (yn_test_data): Likewise.
13767 * sysdeps/i386/fpu/libm-test-ulps: Update.
13768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13769
5b118558
UW
137702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13771
13772 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13773 "64" to "64-v1". Add "64-v2".
13774 (abi-64-options): Rename to ...
13775 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13776 (abi-64-condition): Rename to ...
13777 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13778 (abi-64-ld-soname): Rename to ...
13779 (abi-64-v1-ld-soname): ... this.
13780 (abi-64-v2-options): Define.
13781 (abi-64-v2-condition): Likewise.
13782 (abi-64-v2-ld-soname): Likewise.
13783 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13784 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13788
61cd8fe4
UW
137892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13790 Alan Modra <amodra@gmail.com>
13791
13792 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13793 New versions for use with the ELFv2 ABI.
13794 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13795 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13796 declaration.
13797 (struct La_ppc64v2_retval): Likewise.
13798 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13799 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13800 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13801 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13802 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13803 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13804 Do not save or restore CR.
13805 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13806 (_dl_profile_resolve): Do no save or restore CR. Support extended
13807 return values for ELFv2 ABI. Fix location of FPR return registers.
13808 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13809 updated values for _CALL_ELF == 2.
13810 (La_regs, La_retval, int_retval): Likewise.
13811
8b8a692c
UW
138122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13813
13814 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13815 (FRAME_MIN_SIZE_PARM): Likewise.
13816 (FRAME_BACKCHAIN): Likewise.
13817 (FRAME_CR_SAVE): Likewise.
13818 (FRAME_LR_SAVE): Likewise.
13819 (FRAME_TOC_SAVE): Likewise.
13820 (FRAME_PARM_SAVE): Likewise.
13821 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13822 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13823 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13824 (call_mcount_parm_offset): New macro.
13825 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13826 (PROF): Use symbolic stack frame offsets.
13827 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13828 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13829 Redefine in terms of FRAME_MIN_SIZE.
13830 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13831 (_dl_profile_resolve): Likewise. Update comment.
13832 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13833 symbols stack frame offsets.
13834 (__sigsetjmp): Likewise.
13835 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13836 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13837 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13838 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13839
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13841 (FRAME_BACKCHAIN): Remove.
13842 (FRAME_CR_SAVE): Likewise.
13843 (FRAME_LR_SAVE): Likewise.
13844 (FRAME_COMPILER_DW): Likewise.
13845 (FRAME_LINKER_DW): Likewise.
13846 (FRAME_TOC_SAVE): Likewise.
13847 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13848 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13849 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13850 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13852 (CHECK_SP): Use symbolic stack frame offsets.
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13854 zone" instead of caller's parameter save area for temp storage.
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13856 Likewise. Also, use symbolic stack frame offsets.
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13858 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13859 our own stack frame instead of the caller's.
13860 (__socket): Use symbolic stack frame offsets.
13861
122b66de
UW
138622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13863 Alan Modra <amodra@gmail.com>
13864
13865 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13866 Define.
57f41c40
AS
13867 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13868 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13869 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13870 New function.
13871 (elf_machine_fixup_plt): Call it.
13872 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13873 reloc arguments.
13874 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13875 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13876 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13877 r2 before calling target.
13878
696caf1d
UW
138792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13880 Alan Modra <amodra@gmail.com>
13881
13882 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13883 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13884 versions of macros to support ELFv2 ABI.
13885 (LOCALENTRY): New macro.
13886 (ENTRY, EALIGN): Use it.
13887 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13888 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13889 fall through into ENTRY entry point.
13890 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13891 Only define if _CALL_ELF != 2.
13892
13893 (elf_machine_matches_host): Verify ABI version matches.
13894 (RTLD_START): Use LOCALENTRY.
13895 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13896 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13897 (PLT_ENTRY_WORDS): New macro.
13898 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13899 (elf_machine_runtime_setup): Support ELFv2 ABI.
13900 (elf_machine_fixup_plt): Likewise.
13901 (elf_machine_plt_conflict): Likewise.
13902 (resolve_ifunc): Likewise.
13903 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13904 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13905 Likewise.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13907 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13909 (makecontext): Support ELFv2 ABI.
13910 * elf/elf.h (EF_PPC64_ABI): Define.
13911
d31beafa
UW
139122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13913
57f41c40
AS
13914 * sysdeps/powerpc/powerpc64/sysdep.h
13915 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13916 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13917 (ENTRY) [ASSEMBLER]: ... but instead here ...
13918 (EALIGN) [ASSEMBLER]: ... and here.
13919 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13920 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13921 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13922 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13923 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13924 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13925 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13926 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13928 Use PPC64_LOAD_FUNCPTR.
13929
b525166b
UW
13930 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13931
7ec07d9a
AM
139322013-12-04 Alan Modra <amodra@gmail.com>
13933
13934 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13935 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13936 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13937 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13938
13939 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13940 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13941 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13942 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13943 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13944 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13945
5162e7dd
UW
139462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13947
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13949 (__makecontext): Fix incorrect CFI when backtracing out of
13950 context created via makecontext.
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13952 (__setcontext): Fix incorrect CFI during switch to new context.
13953 (__novec_setcontext): Likewise.
13954
19e3372b
OB
139552013-12-04 Ondřej Bílka <neleai@seznam.cz>
13956
13957 [BZ #4772]
13958 * time/strptime_l.c (__strptime_internal): Allow modifiers
13959 in strptime.
13960 * time/tst-strptime.c (day_tests): Add testcase.
13961
ecaf142d
SP
139622013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13963
13964 * scripts/bench.pl: Skip over blank lines.
13965
fbf964ae
PE
139662013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13967
13968 [BZ #926]
13969 * manual/time.texi (Calendar Time): Clarify what timezone functions
13970 use.
13971
fa60a674
AZ
139722013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13973
13974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13975
d674f0ef
OB
139762013-12-04 Ondřej Bílka <neleai@seznam.cz>
13977
13978 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13979 implementation.
13980 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13981 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13982 * debug/memset_chk.c (__memset_chk): Likewise.
13983 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13984 * debug/strncpy_chk.c: Likewise.
13985
17dea188
JM
139862013-12-03 Joseph Myers <joseph@codesourcery.com>
13987
749008ff
JM
13988 [BZ #15268]
13989 [BZ #15425]
13990 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13991 (__ieee754_exp): For possibly underflowing results, check size of
13992 result and force underflow exception if required.
13993 * math/auto-libm-test-in: Add more tests of exp.
13994 * math/auto-libm-test-out: Regenerated.
13995 * sysdeps/i386/fpu/libm-test-ulps: Update.
13996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13997
17dea188
JM
13998 [BZ #16283]
13999 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14000 * math/w_exp2f.c (__exp2f): Likewise.
14001 * math/w_exp2l.c (__exp2l): Likewise.
14002 * math/auto-libm-test-in: Do not allow missing errno on exp2
14003 underflow.
14004 * math/auto-libm-test-out: Regenerated.
14005
b20de2c3
OB
140062013-12-03 Ondřej Bílka <neleai@seznam.cz>
14007
14008 [BZ #16274]
14009 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14010 handle filename validation.
14011 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14012 (do_open): Delete.
14013
d8e2dbe3
JM
140142013-12-03 Joseph Myers <joseph@codesourcery.com>
14015
34e16df5
JM
14016 [BZ #6786]
14017 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14018 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14019 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14020 <float.h>.
14021 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14022 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14023 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14025 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14026 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14027 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14028 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14029 Add more erfc tests.
14030 * math/auto-libm-test-out: Regenerated.
14031 * sysdeps/i386/fpu/libm-test-ulps: Update.
14032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14033
d8e2dbe3
JM
14034 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14035 exp2, expm1, j0 and j1.
14036 * math/auto-libm-test-out: Regenerated.
14037 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14038 (erfc_test_data): Likewise.
14039 (exp_test_data): Likewise.
14040 (exp_tonearest_test_data): Likewise.
14041 (exp_towardzero_test_data): Likewise.
14042 (exp_downward_test_data): Likewise.
14043 (exp_upward_test_data): Likewise.
14044 (exp10_test_data): Likewise.
14045 (exp2_test_data): Likewise.
14046 (expm1_test_data): Likewise.
14047 (j0_test_data): Likewise.
14048 (j1_test_data): Likewise.
14049 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14050 (input_flag_type): Add flag_xfail_rounding.
14051 (input_flags): Add xfail-rounding.
14052 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14053 (output_for_one_input_case): Handle flag_xfail_rounding.
14054 * sysdeps/i386/fpu/libm-test-ulps: Update.
14055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14056
18d14251
AJ
140572013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14058
3d2e6075 14059 [BZ #16289]
18d14251
AJ
14060 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14061 division by 0.
14062
520d437b
SP
140632013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14064
14065 [BZ #16195]
14066 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14067 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14068 (STAP_PROBE0): New macro.
14069 (STAP_PROBE1): Likewise.
14070 (STAP_PROBE2): Likewise.
14071 (STAP_PROBE3): Likewise.
14072 (STAP_PROBE4): Likewise.
14073
416e0145
OB
140742013-12-02 Ondřej Bílka <neleai@seznam.cz>
14075
14076 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14077
9d17796a
SE
140782013-12-02 Steve Ellcey <sellcey@mips.com>
14079
14080 * benchtests/Makefile (bench): Add sqrt.
14081 (LDLIBS-bench-sqrt): New.
14082 * benchtests/sqrt-input: New.
14083
f524d6a8
PS
140842013-12-02 Pavel Simerda <psimerda@redhat.com>
14085
639a0ef8
PS
14086 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14087 (GAIH_EAI): Likewise.
14088 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14089 (gaih_inet): Likewise.
14090 (getaddrinfo): Don't use GAIH_EAI.
14091
f524d6a8
PS
14092 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14093 (struct gaih): Remove definition.
14094
df3aedaf
SP
140952013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14096
14097 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14098 Use HERRNOP directly.
14099
1ab19dec
AZ
141002013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14101
b42ad38d 14102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14103
176b0c79
JM
141042013-11-30 Joseph Myers <joseph@codesourcery.com>
14105
14106 * math/gen-auto-libm-tests.c (test_functions): Add more
14107 single-argument functions.
14108 (special_fill_pi_2): New function.
14109 (special_fill_minus_pi_2): Likewise.
14110 (special_fill_pi_6): Likewise.
14111 (special_fill_minus_pi_6): Likewise.
14112 (special_fill_pi_3): Likewise.
14113 (special_fill_2pi_3): Likewise.
14114 (special_fill_e): Likewise.
14115 (special_fill_1_e): Likewise.
14116 (special_fill_e_minus_1): Likewise.
14117 (special_real_inputs): Add more special inputs.
14118 (output_for_one_input_case): Do not require ERANGE on underflow to
14119 zero if round-to-nearest result does not underflow to zero, unless
14120 exact results required.
14121 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14122 atan, atanh, cbrt, cos and cosh.
14123 * math/auto-libm-test-out: Regenerated.
14124 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14125 (acos_tonearest_test_data): Likewise.
14126 (acos_towardzero_test_data): Likewise.
14127 (acos_downward_test_data): Likewise.
14128 (acos_upward_test_data): Likewise.
14129 (acosh_test_data): Likewise.
14130 (asin_test_data): Likewise.
14131 (asin_tonearest_test_data): Likewise.
14132 (asin_towardzero_test_data): Likewise.
14133 (asin_upward_test_data): Likewise.
14134 (asinh_test_data): Likewise.
14135 (atan_test_data): Likewise.
14136 (atanh_test_data): Likewise.
14137 (cbrt_test_data): Likewise.
14138 (cos_test_data): Likewise.
14139 (cos_tonearest_test_data): Likewise.
14140 (cos_towardzero_test_data): Likewise.
14141 (cos_downward_test_data): Likewise.
14142 (cos_upward_test_data): Likewise.
14143 (cosh_test_data): Likewise.
14144 (cosh_tonearest_test_data): Likewise.
14145 (cosh_towardzero_test_data): Likewise.
14146 (cosh_downward_test_data): Likewise.
14147 (cosh_upward_test_data): Likewise.
14148 * sysdeps/i386/fpu/libm-test-ulps: Update.
14149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14150
ffb536d0
JM
141512013-11-29 Joseph Myers <joseph@codesourcery.com>
14152
2a77a467
JM
14153 [BZ #6787]
14154 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14155 * math/w_exp10f.c (__exp10f): Likewise.
14156 * math/w_exp10l.c (__exp10l): Likewise.
14157 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14158 errno settings in existing tests.
14159
ea3bc4e8
JM
14160 [BZ #14032]
14161 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14162 precision control set to double precision.
14163 * sysdeps/i386/fpu/w_sqrt.c: New file.
14164 * math/auto-libm-test-in: Add more tests.
14165 * math/auto-libm-test-out: Update.
14166
0712c9d8
JM
14167 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14168 (sqrt_test_tonearest): New function.
14169 (sqrt_towardzero_test_data): New variable.
14170 (sqrt_test_towardzero): New function.
14171 (sqrt_downward_test_data): New variable.
14172 (sqrt_test_downward): New function.
14173 (sqrt_upward_test_data): New variable.
14174 (sqrt_test_upward): New function.
14175 (main): Call the new functions.
14176
ffb536d0
JM
14177 * math/gen-auto-libm-tests.c: New file.
14178 * math/auto-libm-test-in: Likewise.
14179 * math/auto-libm-test-out: New generated file.
14180 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14181 variables.
14182 (%beautify): Add generated representations of zero.
14183 (top level): Set $auto_input and call parse_auto_input.
14184 (beautify): Remove trailing "f" from hex float constants.
14185 (parse_args): Handle XFAIL_TEST.
14186 (convert_condition): New function.
14187 (or_value): Likewise.
14188 (or_cond_value): Likewise.
14189 (generate_testfile): Handle AUTO_TESTS_* lines.
14190 (parse_auto_input): New function.
14191 * math/libm-test.inc (XFAIL_TEST): New macro.
14192 (ERRNO_UNCHANGED): Update value.
14193 (ERRNO_EDOM): Likewise.
14194 (ERRNO_ERANGE): Likewise.
14195 (IGNORE_RESULT): Likewise.
14196 (TEST_COND_flt_32): New macro.
14197 (TEST_COND_dbl_64): Likewise.
14198 (TEST_COND_ldbl_96_intel): Likewise.
14199 (TEST_COND_ldbl_96_m68k): Likewise.
14200 (TEST_COND_ldbl_128): Likewise.
14201 (TEST_COND_ldbl_128ibm): Likewise.
14202 (TEST_COND_long32): Likewise.
14203 (TEST_COND_long64): Likewise.
14204 (TEST_COND_before_rounding): Likewise.
14205 (TEST_COND_after_rounding): Likewise.
14206 (enable_test): Handle XFAIL_TEST flag.
14207 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14208 with finite results.
14209 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14210 auto-libm-test-out.
14211
acd98a8e
AK
142122013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14213 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14214
14215 [BZ #16214]
14216 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14217 __tls_get_addr_internal instead of __tls_get_offset in order to
14218 avoid GOT pointer dependency. Make rtld export
14219 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14220 __tls_get_addr since we are a __tls_get_offset platform.
14221 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14222 GOT pointer being set up before.
14223 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14224
3c1c46a6
JM
142252013-11-28 Joseph Myers <joseph@codesourcery.com>
14226
7475aef5
JM
14227 * manual/math.texi (Errors in Math Functions): Document accuracy
14228 goals.
14229
8bca7cd8
JM
14230 [BZ #15004]
14231 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14232 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14234 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14235 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14236 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14237 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14244 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14246 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14247
91a1f3fe
JM
14248 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14249 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14250 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14251 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14252 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14253 Likewise.
14254 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14255 Likewise.
14256 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14257 Likewise.
14258 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14259 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14260 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14261 atomic-feupdateenv and flt-rounds.
14262 * sysdeps/powerpc/nofpu/Versions (libc): Add
14263 __atomic_feholdexcept, __atomic_feclearexcept,
14264 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14265 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14266 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14267 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14268 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14269 here.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14271 Update.
14272
c5df7609
JM
14273 * manual/arith.texi (FP Exceptions): Document that exceptions may
14274 not be raised when matherr is used.
14275 (Math Error Reporting): Document overflow in directed rounding
14276 modes. Document that errno may not be set when finite values are
14277 returned on overflow. Document intent to set errno on underflow
14278 only for underflow to zero.
14279
3c1c46a6
JM
14280 [BZ #16271]
14281 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14282 round-to-nearest then adjust result for other rounding modes.
14283 * include/fenv.h (fegetround): Use libm_hidden_proto.
14284 * math/fegetround.c (fegetround): Use libm_hidden_def.
14285 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14286 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14287 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14288 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14289 Likewise.
14290 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14291 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14292 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14293 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14294
5a4c6d53
SP
142952013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14296
14297 [BZ #16077]
14298 * nss/Versions (libnss_files): Add
14299 _nss_files_gethostbyname3_r.
14300 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14301 New function.
14302 (HOST_DB_LOOKUP): Remove macro.
14303 (_nss_files_gethostbyname_r): Implement function without the
14304 HOST_DB_LOOKUP macro.
14305 (_nss_files_gethostbyname2_r): Likewise.
14306
897b98ba
OB
143072013-11-28 Ondřej Bílka <neleai@seznam.cz>
14308
14309 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14310
6f476861
UB
143112013-11-26 Uros Bizjak <ubizjak@gmail.com>
14312
14313 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14314 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14315 warning.
14316
bd12ab55
AZ
143172013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14318
14319 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14320 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14321 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14322 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14323 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14324 __fe_nomask_env_priv and attribute_hidden.
14325 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14326 (libc_feupdateenv_test_ppc): Likewise.
14327 (libc_feresetround_ppc): Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14329 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14330 compat_symbol macro.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14332 (__fe_nomask_env): Likewise.
14333 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14334
52bb6543
OB
143352013-11-26 Ondřej Bílka <neleai@seznam.cz>
14336
14337 * string/Makefile: Remove ifunc tests.
14338 * string/test-string.h: Define TEST_IFUNC.
14339 * string/test-bcopy-ifunc.c: Remove.
14340 * string/test-bzero-ifunc.c: Likewise.
14341 * string/test-memccpy-ifunc.c: Likewise.
14342 * string/test-memchr-ifunc.c: Likewise.
14343 * string/test-memcmp-ifunc.c: Likewise.
14344 * string/test-memcpy-ifunc.c: Likewise.
14345 * string/test-memmem-ifunc.c: Likewise.
14346 * string/test-memmove-ifunc.c: Likewise.
14347 * string/test-mempcpy-ifunc.c: Likewise.
14348 * string/test-memrchr-ifunc.c: Likewise.
14349 * string/test-memset-ifunc.c: Likewise.
14350 * string/test-rawmemchr-ifunc.c: Likewise.
14351 * string/test-stpcpy-ifunc.c: Likewise.
14352 * string/test-stpncpy-ifunc.c: Likewise.
14353 * string/test-strcasecmp-ifunc.c: Likewise.
14354 * string/test-strcasestr-ifunc.c: Likewise.
14355 * string/test-strcat-ifunc.c: Likewise.
14356 * string/test-strchr-ifunc.c: Likewise.
14357 * string/test-strchrnul-ifunc.c: Likewise.
14358 * string/test-strcmp-ifunc.c: Likewise.
14359 * string/test-strcpy-ifunc.c: Likewise.
14360 * string/test-strcspn-ifunc.c: Likewise.
14361 * string/test-strlen-ifunc.c: Likewise.
14362 * string/test-strncasecmp-ifunc.c: Likewise.
14363 * string/test-strncat-ifunc.c: Likewise.
14364 * string/test-strncmp-ifunc.c: Likewise.
14365 * string/test-strncpy-ifunc.c: Likewise.
14366 * string/test-strnlen-ifunc.c: Likewise.
14367 * string/test-strpbrk-ifunc.c: Likewise.
14368 * string/test-strrchr-ifunc.c: Likewise.
14369 * string/test-strspn-ifunc.c: Likewise.
14370 * string/test-strstr-ifunc.c: Likewise.
14371
ab260039 143722013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14373
14374 * benchtests/Makefile: Remove ifunc tests.
14375 * benchtests/bench-string.h: Define TEST_IFUNC.
14376 * benchtests/bench-bcopy-ifunc.c: Remove.
14377 * benchtests/bench-bzero-ifunc.c: Likewise.
14378 * benchtests/bench-memccpy-ifunc.c: Likewise.
14379 * benchtests/bench-memchr-ifunc.c: Likewise.
14380 * benchtests/bench-memcmp-ifunc.c: Likewise.
14381 * benchtests/bench-memcpy-ifunc.c: Likewise.
14382 * benchtests/bench-memmem-ifunc.c: Likewise.
14383 * benchtests/bench-memmove-ifunc.c: Likewise.
14384 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14385 * benchtests/bench-memrchr-ifunc.c: Likewise.
14386 * benchtests/bench-memset-ifunc.c: Likewise.
14387 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14388 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14389 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14390 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14391 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14392 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14393 * benchtests/bench-strcat-ifunc.c: Likewise.
14394 * benchtests/bench-strchr-ifunc.c: Likewise.
14395 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14396 * benchtests/bench-strcmp-ifunc.c: Likewise.
14397 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14398 * benchtests/bench-strcpy-ifunc.c: Likewise.
14399 * benchtests/bench-strcspn-ifunc.c: Likewise.
14400 * benchtests/bench-strlen-ifunc.c: Likewise.
14401 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14402 * benchtests/bench-strncat-ifunc.c: Likewise.
14403 * benchtests/bench-strncmp-ifunc.c: Likewise.
14404 * benchtests/bench-strncpy-ifunc.c: Likewise.
14405 * benchtests/bench-strnlen-ifunc.c: Likewise.
14406 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14407 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14408 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14409 * benchtests/bench-strspn-ifunc.c: Likewise.
14410 * benchtests/bench-strstr-ifunc.c: Likewise.
14411
144122013-11-26 Ondřej Bílka <neleai@seznam.cz>
14413
ab260039
OB
14414 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14415
d1d9eaf4 144162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14417
d1d9eaf4
OB
14418 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14419 * rt/aio.h: Likewise.
14420 * sysdeps/gnu/bits/utmp.h: Likewise.
14421 * sysdeps/gnu/bits/utmpx.h: Likewise.
14422 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14423 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14424 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14425 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14426 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14427 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14428 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14429 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14430 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14431 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14432 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14433 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14434 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14436 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14437 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14438 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14439 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14440 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14441 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14442 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14443 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14444 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14445 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14446 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14448 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14449 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14450 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14451 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14452 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14453 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14454 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14455 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14456 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14457 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14458 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14459 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14460 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14461 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14462 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14463 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14464
a7624ed9
CD
144652013-11-25 Carlos O'Donell <carlos@redhat.com>
14466
14467 [BZ #16245]
14468 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14469 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14470
63cfe52b
JM
144712013-11-25 Joseph Myers <joseph@codesourcery.com>
14472
14473 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14474 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14475 Likewise.
14476
41e8926a
AZ
144772013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14478
14479 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14480 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14481 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14482 (__fesetround): Remove define.
14483 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14484 rounding and exceptions handling.
14485 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14486 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14487 (__fe_nomask_env): Likewise.
14488 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14489 __fegetround instead of fegetround.
14490 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14492
6851bd4d
RM
144932013-11-21 Roland McGrath <roland@hack.frob.com>
14494
070906ff
RM
14495 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14496 it's there.
14497
6851bd4d
RM
14498 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14499
84ae135d
MI
145002013-11-21 Meador Inge <meadori@codesourcery.com>
14501
14502 [BZ #11157]
14503 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14504 (encrypt_r): Likewise.
14505 * malloc/obstack.h (obstack_free): Likewise.
14506 * posix/unistd.h (encrypt): Likewise.
14507
daf75146
GM
145082013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14509
14510 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14511 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14512 DL_CALL_DT_FINI() that call the functions directly.
14513 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14514 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14515 * elf/dl-fini.c: Likewise.
14516
10ad46bc
OB
145172013-11-20 Ondřej Bílka <neleai@seznam.cz>
14518
14519 * malloc/hooks.c (memalign_check): Add alignment rounding.
14520 * malloc/malloc.c (_mid_memalign): New function.
14521 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14522 Implement by calling _mid_memalign.
14523 * manual/probes.texi (Memory Allocation Probes): Remove
14524 memory_valloc_retry and memory_pvalloc_retry.
14525
f3fd2628
SP
145262013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14527
4712799f
SP
14528 * locale/programs/locarchive.c (open_archive): Add const
14529 qualifier to ARCHIVEFNAME and copy default fname to
14530 DEFAULT_FNAME.
14531
0417b20f
SP
14532 [BZ #15601]
14533 * libio/tst-widetext.input: Rename Oriya to Odia.
14534 * locale/iso-639.def: Likewise.
14535
f3fd2628
SP
14536 * manual/probes.texi (Mathematical Function Probes): Add
14537 documentation for sin, cos, asin and acos probes.
14538 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14539 (__sin32): Add slowasin probe.
14540 (__cos32): Add slowacos probe.
14541 (__mpsin): Add slowsin probe.
14542 (__mpcos): Add slowcos probe.
14543
73c1ce4f
JM
145442013-11-19 Joseph Myers <joseph@codesourcery.com>
14545
14546 [BZ #15483]
14547 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14548 thread-local __sim_exceptions_thread and global
14549 __sim_exceptions_global.
14550 (__sim_disabled_exceptions): Change to thread-local
14551 __sim_disabled_exceptions_thread and global
14552 __sim_disabled_exceptions_global.
14553 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14554 and global __sim_round_mode_global.
14555 (__simulate_exceptions): Use thread-local floating-point state and
14556 set global state from it as needed.
14557 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14558 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14559 __sim_round_mode_thread.
14560 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14561 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14562 and global __sim_exceptions_global.
14563 (__sim_disabled_exceptions): Change to thread-local
14564 __sim_disabled_exceptions_thread and global
14565 __sim_disabled_exceptions_global.
14566 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14567 and global __sim_round_mode_global.
14568 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14569 (SIM_SET_GLOBAL): Likewise.
14570 * sysdeps/powerpc/soft-fp/sfp-machine.h
14571 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14572 __sim_round_mode_thread.
14573 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14574 __sim_disabled_exceptions_thread.
14575 (__sim_exceptions): Change to __sim_exceptions_thread.
14576 (__sim_disabled_exceptions): Change to
14577 __sim_disabled_exceptions_thread.
14578 (__sim_round_mode): Change to __sim_round_mode_thread.
14579 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14580 thread-local floating-point state and set global state from it as
14581 needed.
14582 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14583 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14584 (__sim_disabled_exceptions): Remove extern declaration.
14585 (feenableexcept): Use thread-local floating-point state and set
14586 global state from it as needed.
14587 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14588 extern declaration.
14589 (__sim_disabled_exceptions): Likewise.
14590 (__sim_round_mode): Likewise.
14591 (__fegetenv): Use thread-local floating-point state.
14592 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14593 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14594 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14595 floating-point state and set global state from it as needed.
14596 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14597 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14598 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14599 Likewise.
14600 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14601 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14602 Likewise.
14603 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14604 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14605 Use __sim_round_mode_thread.
14606 * math/test-fenv-tls.c: New file.
14607 * math/Makefile (tests): Add test-fenv-tls.
14608 ($(objpfx)test-fenv-tls): Depend on
14609 $(common-objpfx)nptl/libpthread.so.
14610
b5449b12
AS
146112013-11-19 Andreas Schwab <schwab@suse.de>
14612
14613 * locale/programs/locale.c (show_info): Decode wordarray elements.
14614 * locale/categories.def (LC_MONETARY): Add element for
14615 _NL_MONETARY_CRNCYSTR.
14616 * locale/C-monetary.c (conversion_rate): New variable.
14617 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14618 element.
14619
e186536b
CM
146202013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14621
14622 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14623 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14624
5c349950
PP
146252013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14626
14627 * elf/Makefile (tst-auxv): New test.
14628 * elf/tst-auxv.c: New
14629 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14630
699df45b
JM
146312013-11-18 Joseph Myers <joseph@codesourcery.com>
14632
14633 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14634 (hidden_proto): Caller changed.
14635 (hidden_tls_proto): New macro.
14636 (libc_hidden_tls_proto): Likewise.
14637 (rtld_hidden_tls_proto): Likewise.
14638 (libm_hidden_tls_proto): Likewise.
14639 (libresolv_hidden_tls_proto): Likewise.
14640 (librt_hidden_tls_proto): Likewise.
14641 (libdl_hidden_tls_proto): Likewise.
14642 (libnss_files_hidden_tls_proto): Likewise.
14643 (libnsl_hidden_tls_proto): Likewise.
14644 (libnss_nisplus_hidden_tls_proto): Likewise.
14645 (libutil_hidden_tls_proto): Likewise.
14646
b7589107
OB
146472013-11-18 Ondřej Bílka <neleai@seznam.cz>
14648
14649 [BZ #10253]
14650 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14651 (decompose_rpath): Defer expansion to fillin_rpath.
14652 (_dl_init_paths): Pass linkmap to fillin_rpath.
14653
250c23bd
RS
146542013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14655
14656 * benchtests/Makefile: Add strsep.
14657 * benchtests/bench-strsep.c: New file: strsep benchtest.
14658 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14659
a7931fcf
AS
146602013-11-18 Andreas Schwab <schwab@suse.de>
14661
14662 * locale/programs/locale.c (show_info) [case byte]: Check for
14663 '\377' instead of '\177'.
14664 * locale/C-monetary.c (not_available): Always use "\377".
14665 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14666 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14667 detect unavailable sign_posn locale elements.
14668 * locale/localeconv.c (__localeconv): For grouping and
14669 mon_grouping handle "\177" and "\377" like no grouping.
14670 (INT_ELEM): New macro. Use it to set all numeric members.
14671 * locale/programs/ld-monetary.c (monetary_read)
14672 <tok_mon_grouping>: Normalize single -1 to the empty string.
14673 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14674 Likewise.
14675
728dab0e
OB
146762013-11-07 Ondřej Bílka <neleai@seznam.cz>
14677
14678 [BZ #16055]
14679 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14680 when we match (nil).
14681 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14682
66294491
JM
146832013-11-16 Joseph Myers <joseph@codesourcery.com>
14684
ce665817
JM
14685 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14686 (NO_TEST_INLINE): Update value.
14687 (ERRNO_UNCHANGED): Likewise.
14688 (ERRNO_EDOM): Likewise.
14689 (ERRNO_ERANGE): Likewise.
14690 (IGNORE_RESULT): Likewise.
14691 (check_float_internal): Check signs of NaN results if
14692 TEST_NAN_SIGN used.
14693 (check_complex): Pass TEST_NAN_SIGN flag through to second
14694 check_float_internal call.
14695 (copysign_test_data): Add tests with quiet NaNs as second
14696 argument. Use TEST_NAN_SIGN.
14697 (fabs_test_data): Add test of negative quiet NaN argument. Use
14698 TEST_NAN_SIGN.
14699 (signbit_test_data): Add tests of quiet NaN argument.
14700 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14701
ee1466a9
JM
14702 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14703 $ignore_result.
14704 (parse_args): Handle function results specified as IGNORE.
14705 * math/libm-test.inc (IGNORE_RESULT): New macro.
14706 (check_float_internal): Do not check numerical result if flag
14707 IGNORE_RESULT set.
14708 (check_complex): Pass through IGNORE_RESULT to second
14709 check_float_internal call.
14710 (check_int): Do not check numerical result if flag IGNORE_RESULT
14711 set.
14712 (check_long): Likewise.
14713 (check_bool): Likewise.
14714 (check_longlong): Likewise.
14715 (lrint_test_data): Add tests of infinite and NaN arguments.
14716 (lrint_tonearest_test_data): Likewise.
14717 (lrint_towardzero_test_data): Likewise.
14718 (lrint_downward_test_data): Likewise.
14719 (lrint_upward_test_data): Likewise.
14720 (llrint_test_data): Likewise.
14721 (llrint_tonearest_test_data): Likewise.
14722 (llrint_towardzero_test_data): Likewise.
14723 (llrint_downward_test_data): Likewise.
14724 (llrint_upward_test_data): Likewise.
14725 (lround_test_data): Likewise.
14726 (llround_test_data): Likewise.
14727
14407b7e
JM
14728 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14729 (ERRNO_UNCHANGED): Update value.
14730 (ERRNO_EDOM): Likewise.
14731 (ERRNO_ERANGE): Likewise.
14732 (NO_TEST_INLINE_FLOAT): New macro.
14733 (NO_TEST_INLINE_DOUBLE): Likewise.
14734 (enable_test): New function.
14735 (RUN_TEST_f_f): Check enable_test before running test.
14736 (RUN_TEST_2_f): Likewise.
14737 (RUN_TEST_fff_f): Likewise.
14738 (RUN_TEST_c_f): Likewise.
14739 (RUN_TEST_f_f1): Likewise.
14740 (RUN_TEST_fF_f1): Likewise.
14741 (RUN_TEST_fI_f1): Likewise.
14742 (RUN_TEST_ffI_f1): Likewise.
14743 (RUN_TEST_c_c): Likewise.
14744 (RUN_TEST_cc_c): Likewise.
14745 (RUN_TEST_f_i): Likewise.
14746 (RUN_TEST_f_i_tg): Likewise.
14747 (RUN_TEST_ff_i_tg): Likewise.
14748 (RUN_TEST_f_b): Likewise.
14749 (RUN_TEST_f_b_tg): Likewise.
14750 (RUN_TEST_f_l): Likewise.
14751 (RUN_TEST_f_L): Likewise.
14752 (RUN_TEST_fFF_11): Likewise.
14753 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14754 conditionals.
14755 (cosh_test_data): Likewise.
14756 (exp_test_data): Likewise.
14757 (expm1_test_data): Likewise.
14758 (hypot_test_data): Likewise.
14759 (pow_test_data): Likewise.
14760 (sinh_test_data): Likewise.
14761 (tanh_test_data): Likewise.
14762 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14763 flags argument.
14764
ca07f197
JM
14765 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14766 tests with quiet NaN input and output.
14767 (acosh_test_data): Likewise.
14768 (asin_test_data): Likewise.
14769 (asinh_test_data): Likewise.
14770 (atan_test_data): Likewise.
14771 (atanh_test_data): Likewise.
14772 (atan2_test_data): Likewise.
14773 (cbrt_test_data): Likewise.
14774 (cos_test_data): Likewise.
14775 (cosh_test_data): Likewise.
14776 (erf_test_data): Likewise.
14777 (erfc_test_data): Likewise.
14778 (exp_test_data): Likewise.
14779 (exp10_test_data): Likewise.
14780 (exp2_test_data): Likewise.
14781 (expm1_test_data): Likewise.
14782 (hypot_test_data): Likewise.
14783 (j0_test_data): Likewise.
14784 (j1_test_data): Likewise.
14785 (jn_test_data): Likewise.
14786 (lgamma_test_data): Likewise.
14787 (log_test_data): Likewise.
14788 (log10_test_data): Likewise.
14789 (log1p_test_data): Likewise.
14790 (log2_test_data): Likewise.
14791 (pow_test_data): Likewise.
14792 (scalb_test_data): Likewise.
14793 (sin_test_data): Likewise.
14794 (sincos_test_data): Likewise.
14795 (sinh_test_data): Likewise.
14796 (tan_test_data): Likewise.
14797 (tanh_test_data): Likewise.
14798 (tgamma_test_data): Likewise.
14799 (y0_test_data): Likewise.
14800 (y1_test_data): Likewise.
14801 (yn_test_data): Likewise.
14802
66294491
JM
14803 [BZ #16167]
14804 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14805 argument being NaN and avoid computations with second argument in
14806 that case.
14807 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14808 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14809 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14810
1820b143
CL
148112013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14812
14813 * locale/iso-639.def: Add Chitwani Tharu (the).
14814
714bd261
AS
148152013-11-14 Andreas Schwab <schwab@suse.de>
14816
14817 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14818 word instead of empty string.
14819
7ab44563
AZ
148202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14821
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14823 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14825 (__fe_nomask_env): Likewise.
14826
e8470ea2
SE
148272013-11-13 Steve Ellcey <sellcey@mips.com>
14828
14829 * benchtests/bench-timing.h: Include time.h.
14830
17c1d9f0
L
148312013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14832
14833 [BZ #15997]
14834 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14835 to 3.4.0 for x32.
14836 * sysdeps/unix/sysv/linux/configure: Regenerated.
14837
9310c284
JM
148382013-11-13 Joseph Myers <joseph@codesourcery.com>
14839
14840 [BZ #16151]
14841 * stdlib/strtod_l.c (round_and_return): Do not consider
14842 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14843 exponent one less than half the least subnormal exponent.
14844 * stdlib/test-strtod-round-data: Add more tests.
14845 * stdlib/tst-strtod-round.c (tests): Regenerated.
14846
7a2ad8cf
AZ
148472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14848
14849 [BZ #14143]
14850 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14851 (__fe_mask_env): Likewise.
14852 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14853 libm_hidden_proto and add function prototype.
14854 (__fe_mask_env): Add function prototype.
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14856 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14858 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14860 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14861
50727aa7
MS
148622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14863
b2f386c1 14864 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14865 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14866
a615be46
MS
148672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14868
14869 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14870 of htab_find_slot().
14871
7ddace62
DM
148722013-11-11 David S. Miller <davem@davemloft.net>
14873
14874 [BZ #16150]
14875 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14876 symbol in the non-vis3 case in static builds.
14877 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14878 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14879 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14880 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14881
9182aa67
JK
148822013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14883
14884 [BZ #387]
14885 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14886 it is empty.
14887
450a2e2d
AZ
148882013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14889
b2f386c1
SP
14890 * benchtests/Makefile: Add bench-strtod.
14891 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14892
8ec3f656
AS
148932013-11-11 Andreas Schwab <schwab@suse.de>
14894
14895 [BZ #16153]
14896 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14897 terminating NUL in key length.
14898
76a9b998
AZ
148992013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14900
14901 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14902 Add artificial ODP entry for vDSO symbol for PPC64.
14903 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14904 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14905
e4368156
OB
149062013-11-07 Ondřej Bílka <neleai@seznam.cz>
14907
14908 [BZ #15374]
14909 * nss/getent.c (services_keys): Recognize services starting with digit.
14910
8d6bb57c
DM
149112013-11-06 David S. Miller <davem@davemloft.net>
14912
14913 [BZ #15985]
14914 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14915 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14916
e256c421
WN
149172013-11-06 Will Newton <will.newton@linaro.org>
14918
14919 * manual/memory.texi (Malloc Examples): Remove register
14920 keyword from examples.
14921
f6e12daa 149222013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14923
f6e12daa 14924 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14925
9d880655
AS
149262013-11-04 Joseph Myers <joseph@codesourcery.com>
14927
fd2f9486 14928 [BZ #6981]
9d880655
AS
14929 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14930 depending on [__GCC_IEC_559 > 0].
14931 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14932 depending on [__GCC_IEC_559_COMPLEX > 0].
14933
ae129d3c
CL
149342013-11-03 Chris Leonard <cjl@sugarlabs.org>
14935
14936 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14937 to iso-639.def.
14938
4a15c2a4 149392013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14940
14941 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14942
8b35e35d
OB
149432013-11-01 Ondřej Bílka <neleai@seznam.cz>
14944
14945 [BZ #16112]
14946 * malloc/malloc (malloc_info): Do not handle first bin as
14947 special case.
14948
1d70fd6c
CL
149492013-11-01 Chris Leonard <cjl@sugarlabs.org>
14950
14951 * locale/iso-639.def: Add Central Nahuatl (nhn).
14952
8c5c2600
BH
149532013-11-01 Bruno Haible <bruno@clisp.org>
14954
14955 [BZ #7003]
14956 * manual/math.texi (BSD Random): Specify range upper bound as
14957 in POSIX.
14958
da5579c2
CL
149592013-10-31 Chris Leonard <cjl@sugarlabs.org>
14960
14961 * locale/iso-639.def: Add Meadow Mari (mhr).
14962
5d30d853
OB
149632013-10-31 Ondřej Bílka <neleai@seznam.cz>
14964
14965 [BZ #14752], [BZ #15763]
14966 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14967 Validate name.
14968 * rt/tst_shm.c: Add test for escaping directory.
14969
a4966c61
AS
149702013-10-31 Andreas Schwab <schwab@suse.de>
14971
8a43e768 14972 [BZ #15917]
a4966c61
AS
14973 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14974 followed by 'x' as part of digit sequence.
14975 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14976
28d708c4
MAP
149772013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14978
14979 [BZ #16037]
14980 * configure.ac: allow GNU Make 4.0 and greater.
14981 * configure: Regenerated.
14982
a56ee40b
WN
149832013-10-30 Will Newton <will.newton@linaro.org>
14984
14985 [BZ #16038]
14986 * malloc/hooks.c (memalign_check): Limit alignment to the
14987 maximum representable power of two.
14988 * malloc/malloc.c (__libc_memalign): Likewise.
14989 * malloc/tst-memalign.c (do_test): Add test for very
14990 large alignment values.
14991 * malloc/tst-posix_memalign.c (do_test): Likewise.
14992
c6e4925d
OB
149932013-10-30 Ondřej Bílka <neleai@seznam.cz>
14994
14995 [BZ #11087]
14996 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14997 (munmap_chunk): Likewise.
14998 (mremap_chunk): Likewise.
14999
150002013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 15001
8a43e768 15002 [BZ #15799]
bbea82f7
OB
15003 * stdlib/div.c (div): Remove obsolete code.
15004 * stdlib/ldiv.c (ldiv): Likewise.
15005 * stdlib/lldiv.c (lldiv): Likewise.
15006
977f4b31
SP
150072013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15008
15009 [BZ #16071]
15010 * nss/nss_files/files-XXX.c (get_contents_ret): New
15011 enumerator.
15012 (get_contents): New function.
15013 (internal_getent): Use it. Expand size of LINEBUFLEN.
15014
cb8a6dbd
MF
150152013-10-30 Mike Frysinger <vapier@gentoo.org>
15016
15017 * configure.in: Moved to ...
15018 * configure.ac: ... here. Change reference to configure.in
15019 to configure.ac.
15020 * sysdeps/arm/preconfigure.ac: ... here.
15021 configure.in to configure.ac.
15022 * sysdeps/gnu/configure.in: Moved to ...
15023 * sysdeps/gnu/configure.ac: ... here.
15024 * sysdeps/i386/configure.in: Moved to ...
15025 * sysdeps/i386/configure.ac: ... here.
15026 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15027 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15028 * sysdeps/mach/configure.in: Moved to ...
15029 * sysdeps/mach/configure.ac: ... here.
15030 * sysdeps/mach/hurd/configure.in: Moved to ...
15031 * sysdeps/mach/hurd/configure.ac: ... here.
15032 * sysdeps/powerpc/configure.in: Moved to ...
15033 * sysdeps/powerpc/configure.ac: ... here.
15034 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15035 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15036 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15037 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15038 * sysdeps/s390/s390-32/configure.in: Moved to ...
15039 * sysdeps/s390/s390-32/configure.ac: ... here.
15040 * sysdeps/s390/s390-64/configure.in: Moved to ...
15041 * sysdeps/s390/s390-64/configure.ac: ... here.
15042 * sysdeps/sh/configure.in: Moved to ...
15043 * sysdeps/sh/configure.ac: ... here.
15044 * sysdeps/sparc/configure.in: Moved to ...
15045 * sysdeps/sparc/configure.ac: ... here.
15046 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15047 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15048 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15049 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15050 * sysdeps/x86_64/configure.in: Moved to ...
15051 * sysdeps/x86_64/configure.ac: ... here.
15052 * sysdeps/x86_64/preconfigure.in: Moved to ...
15053 * sysdeps/x86_64/preconfigure.ac: ... here.
15054 * aclocal.m4: Change reference to configure.in to configure.ac.
15055 * config.h.in: Likewise.
15056 * manual/install.texi: Likewise.
15057 * manual/maint.texi: Likewise.
15058 * Makefile: Likewise.
15059 * malloc/Makefile: Likewise.
15060 * nscd/Makefile: Likewise.
15061 * Makeconfig: Change reference to configure.in and
15062 preconfigure.in to configure.ac and preconfigure.ac
15063 respectively.
15064 * INSTALL: Regenerated.
15065 * configure: Likewise.
15066 * sysdeps/gnu/configure: Likewise.
15067 * sysdeps/i386/configure: Likewise.
15068 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15069 * sysdeps/mach/configure: Likewise.
15070 * sysdeps/mach/hurd/configure: Likewise.
15071 * sysdeps/powerpc/configure: Likewise.
15072 * sysdeps/powerpc/powerpc32/configure: Likewise.
15073 * sysdeps/powerpc/powerpc64/configure: Likewise.
15074 * sysdeps/s390/s390-32/configure: Likewise.
15075 * sysdeps/s390/s390-64/configure: Likewise.
15076 * sysdeps/sh/configure: Likewise.
15077 * sysdeps/sparc/configure: Likewise.
15078 * sysdeps/unix/sysv/linux/configure: Likewise.
15079 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15080 * sysdeps/x86_64/configure: Likewise.
15081 * sysdeps/x86_64/preconfigure: Likewise.
15082
36a4953a
AS
150832013-10-29 Andreas Schwab <schwab@suse.de>
15084
15085 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15086
c79a1204
SP
150872013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15088
dfa1b402
SP
15089 * benchtests/pow-inputs: Add new inputs.
15090
54f73d9c
SP
15091 * benchtests/exp-inputs: Add new inputs.
15092
c79a1204
SP
15093 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15094 conditional check for return value.
15095 (__cos32): Likewise.
15096
67beb545 150972013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15098
15099 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15100 to provide a boost for large inputs with word alignment.
15101 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15102 implementation based on optimized PPC64 strcpy.
15103 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15104 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15105 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15106 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15107
151659f6
OB
151082013-10-25 Ondřej Bílka <neleai@seznam.cz>
15109
482a077e 15110 [BZ #2801]
151659f6
OB
15111 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15112
10b0f26b
OB
151132013-10-25 Ondřej Bílka <neleai@seznam.cz>
15114
15115 [BZ #14876]
15116 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15117 * time/tst-strptime.c (day_tests): Add testcase.
15118
ca42d35e
OB
151192013-10-25 Ondřej Bílka <neleai@seznam.cz>
15120
482a077e 15121 [BZ #14029]
ca42d35e
OB
15122 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15123
52e6d801
FB
151242013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15125
15126 [BZ #16074]
15127 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15128 MAP_FAILED on error.
15129
7cbcdb36
SP
151302013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15131
15132 [BZ #16072]
15133 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15134 heap for large requests.
15135
894f3f10
AM
151362013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15137
15138 [BZ #9954]
15139 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15140 result if the result has no associated interface.
15141 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15142 interface for all 127.X.Y.Z addresses.
15143
b85545a6
CL
151442013-10-24 Chris Leonard <cjl@sugarlabs.org>
15145
15146 * locale/iso-639.def: Add Ligurian (lij)
15147
d1f23d46
OB
151482013-10-21 Ondřej Bílka <neleai@seznam.cz>
15149
15150 [BZ #15825]
15151 * sunrpc/rpc_main.c: Document rpcgen -5.
15152
4db5b08f
MS
151532013-10-19 Michael Stahl <mstahl@redhat.com>
15154
15155 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15156
a471e96a
OB
151572013-10-19 Ondřej Bílka <neleai@seznam.cz>
15158
d1f23d46 15159 [BZ #10278]
a471e96a
OB
15160 * posix/glob.c: Match only directories when trailing slash is present.
15161 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15162 (main): Add testcase.
15163
45c30c61
OB
151642013-10-19 Ondřej Bílka <neleai@seznam.cz>
15165
15166 [BZ #15670]
15167 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15168
484c12fb
CD
151692013-10-18 Carlos O'Donell <carlos@redhat.com>
15170
3d7dc513
CD
15171 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15172 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15173 AUTH_DES and cindex for FIPS 140-2.
15174 (DES Encryption): Add cindex FIPS 46-3.
15175
484c12fb
CD
15176 * locale/locarchive.h (struct locarhandle): Add fname.
15177 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15178 if an optional argument was specified to --list-archive,
15179 otherwise NULL.
15180 * locale/programs/locarchive.c (show_archive_content): Take new
15181 argument fname and pass it via ah.fname to open_archive.
15182 * locale/programs/localedef.h: Update decl.
15183 (open_archive): If AH->fname is non-null, open that file
15184 rather than the default file name, and don't ignore ENOENT.
15185 (create_archive): Set AH.fname to NULL.
15186 (delete_locales_from_archive): Likewise.
15187 (add_locales_to_archive): Likewise.
15188 * locale/programs/locfile.c (write_all_categories): Likewise.
15189
3c8325fb
JM
151902013-10-18 Joseph Myers <joseph@codesourcery.com>
15191 Aldy Hernandez <aldyh@redhat.com>
15192
15193 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15194 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15195 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15196 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15197 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15198 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15199 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15200 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15201 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15202 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15203 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15204 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15205 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15206 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15207 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15208 Likewise.
15209 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15210 Likewise.
15211 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15212 Likewise.
15213 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15214 Likewise.
15215 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15216 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15217 Likewise.
15218 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15219 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15220 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15221 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15222 Likewise.
15223 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15224 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15225 * sysdeps/powerpc/preconfigure: Likewise.
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15227 Likewise.
15228 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15229 Replace contents of file by #include of <fenv_libc.h>.
15230 * sysdeps/powerpc/soft-fp/sfp-machine.h
15231 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15232 and <sys/prctl.h>.
15233 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15234 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15235 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15236 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15237 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15238 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15240 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15241 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15242 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15243 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15244 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15246 Allow copysignl PLT reference to be missing.
15247
5abe0682
RS
152482013-10-18 Richard Sandiford <richard@codesourcery.com>
15249 Joseph Myers <joseph@codesourcery.com
15250
15251 [BZ #15948]
15252 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15253 single character.
15254 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15255
c7738d08
SP
152562013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15257
15258 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15259 * elf/tst-tls1.c: Likewise.
15260 * elf/tst-tls10.h: Likewise.
15261 * elf/tst-tls14.c: Likewise.
15262 * elf/tst-tls2.c: Likewise.
15263 * elf/tst-tls3.c: Likewise.
15264 * elf/tst-tls4.c: Likewise.
15265 * elf/tst-tls5.c: Likewise.
15266 * elf/tst-tls6.c: Likewise.
15267 * elf/tst-tls7.c: Likewise.
15268 * elf/tst-tls8.c: Likewise.
15269 * elf/tst-tls9.c: Likewise.
15270 * elf/tst-tlsmod1.c: Likewise.
15271 * elf/tst-tlsmod13.c: Likewise.
15272 * elf/tst-tlsmod13a.c: Likewise.
15273 * elf/tst-tlsmod14a.c: Likewise.
15274 * elf/tst-tlsmod16a.c: Likewise.
15275 * elf/tst-tlsmod16b.c: Likewise.
15276 * elf/tst-tlsmod2.c: Likewise.
15277 * elf/tst-tlsmod3.c: Likewise.
15278 * elf/tst-tlsmod4.c: Likewise.
15279 * elf/tst-tlsmod5.c: Likewise.
15280 * elf/tst-tlsmod6.c: Likewise.
15281
0bfcf2c7
OB
152822013-10-18 Ondřej Bílka <neleai@seznam.cz>
15283
15284 [BZ #12486]
15285 * malloc/malloc.c: remove checks for statistics.
15286
264aad1e
OB
152872013-10-17 Ondřej Bílka <neleai@seznam.cz>
15288
15289 [BZ #15277]
15290 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15291 * inet/tst-network.c: Add testcase.
15292
b957ced8
AS
152932013-10-17 Andreas Schwab <schwab@suse.de>
15294
15295 [BZ #15218]
15296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15297 to determine canonical name.
15298
c5d5d574
OB
152992013-10-17 Ondřej Bílka <neleai@seznam.cz>
15300
15301 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15302 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15325 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15326 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15331 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15345 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15359
e5c2c2d0
JM
153602013-10-17 Joseph Myers <joseph@codesourcery.com>
15361
15362 [BZ #16041]
15363 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15364 make result into a quiet NaN.
15365
51ca9e29
JM
153662013-10-16 Joseph Myers <joseph@codesourcery.com>
15367
15368 * soft-fp/adddf3.c: Fix horizontal whitespace.
15369 * soft-fp/addsf3.c: Likewise.
15370 * soft-fp/addtf3.c: Likewise.
15371 * soft-fp/divdf3.c: Likewise.
15372 * soft-fp/divsf3.c: Likewise.
15373 * soft-fp/divtf3.c: Likewise.
15374 * soft-fp/double.h: Likewise.
15375 * soft-fp/eqdf2.c: Likewise.
15376 * soft-fp/eqsf2.c: Likewise.
15377 * soft-fp/eqtf2.c: Likewise.
15378 * soft-fp/extenddftf2.c: Likewise.
15379 * soft-fp/extended.h: Likewise.
15380 * soft-fp/extendsfdf2.c: Likewise.
15381 * soft-fp/extendsftf2.c: Likewise.
15382 * soft-fp/extendxftf2.c: Likewise.
15383 * soft-fp/fixdfdi.c: Likewise.
15384 * soft-fp/fixdfsi.c: Likewise.
15385 * soft-fp/fixdfti.c: Likewise.
15386 * soft-fp/fixsfdi.c: Likewise.
15387 * soft-fp/fixsfsi.c: Likewise.
15388 * soft-fp/fixsfti.c: Likewise.
15389 * soft-fp/fixtfdi.c: Likewise.
15390 * soft-fp/fixtfsi.c: Likewise.
15391 * soft-fp/fixtfti.c: Likewise.
15392 * soft-fp/fixunsdfdi.c: Likewise.
15393 * soft-fp/fixunsdfsi.c: Likewise.
15394 * soft-fp/fixunsdfti.c: Likewise.
15395 * soft-fp/fixunssfdi.c: Likewise.
15396 * soft-fp/fixunssfsi.c: Likewise.
15397 * soft-fp/fixunssfti.c: Likewise.
15398 * soft-fp/fixunstfdi.c: Likewise.
15399 * soft-fp/fixunstfsi.c: Likewise.
15400 * soft-fp/fixunstfti.c: Likewise.
15401 * soft-fp/floatdidf.c: Likewise.
15402 * soft-fp/floatdisf.c: Likewise.
15403 * soft-fp/floatditf.c: Likewise.
15404 * soft-fp/floatsidf.c: Likewise.
15405 * soft-fp/floatsisf.c: Likewise.
15406 * soft-fp/floatsitf.c: Likewise.
15407 * soft-fp/floattidf.c: Likewise.
15408 * soft-fp/floattisf.c: Likewise.
15409 * soft-fp/floattitf.c: Likewise.
15410 * soft-fp/floatundidf.c: Likewise.
15411 * soft-fp/floatundisf.c: Likewise.
15412 * soft-fp/floatunditf.c: Likewise.
15413 * soft-fp/floatunsidf.c: Likewise.
15414 * soft-fp/floatunsisf.c: Likewise.
15415 * soft-fp/floatunsitf.c: Likewise.
15416 * soft-fp/floatuntidf.c: Likewise.
15417 * soft-fp/floatuntisf.c: Likewise.
15418 * soft-fp/floatuntitf.c: Likewise.
15419 * soft-fp/fmadf4.c: Likewise.
15420 * soft-fp/fmasf4.c: Likewise.
15421 * soft-fp/fmatf4.c: Likewise.
15422 * soft-fp/gedf2.c: Likewise.
15423 * soft-fp/gesf2.c: Likewise.
15424 * soft-fp/getf2.c: Likewise.
15425 * soft-fp/ledf2.c: Likewise.
15426 * soft-fp/lesf2.c: Likewise.
15427 * soft-fp/letf2.c: Likewise.
15428 * soft-fp/muldf3.c: Likewise.
15429 * soft-fp/mulsf3.c: Likewise.
15430 * soft-fp/multf3.c: Likewise.
15431 * soft-fp/negdf2.c: Likewise.
15432 * soft-fp/negsf2.c: Likewise.
15433 * soft-fp/negtf2.c: Likewise.
15434 * soft-fp/op-1.h: Likewise.
15435 * soft-fp/op-2.h: Likewise.
15436 * soft-fp/op-4.h: Likewise.
15437 * soft-fp/op-8.h: Likewise.
15438 * soft-fp/op-common.h: Likewise.
15439 * soft-fp/quad.h: Likewise.
15440 * soft-fp/single.h: Likewise.
15441 * soft-fp/soft-fp.h: Likewise.
15442 * soft-fp/sqrtdf2.c: Likewise.
15443 * soft-fp/sqrtsf2.c: Likewise.
15444 * soft-fp/sqrttf2.c: Likewise.
15445 * soft-fp/subdf3.c: Likewise.
15446 * soft-fp/subsf3.c: Likewise.
15447 * soft-fp/subtf3.c: Likewise.
15448 * soft-fp/truncdfsf2.c: Likewise.
15449 * soft-fp/trunctfdf2.c: Likewise.
15450 * soft-fp/trunctfsf2.c: Likewise.
15451 * soft-fp/trunctfxf2.c: Likewise.
15452 * soft-fp/unorddf2.c: Likewise.
15453 * soft-fp/unordsf2.c: Likewise.
15454 * soft-fp/unordtf2.c: Likewise.
15455
9ebb0332
JM
154562013-10-15 Joseph Myers <joseph@codesourcery.com>
15457
15458 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15459 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15460
4b1a6d8b
OB
154612013-10-15 Ondřej Bílka <neleai@seznam.cz>
15462
15463 * elf/dl-libc.c: Clear initfini list after freeing.
15464
1e145589
JM
154652013-10-14 Joseph Myers <joseph@codesourcery.com>
15466
15467 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15468 * soft-fp/addsf3.c: Likewise.
15469 * soft-fp/addtf3.c: Likewise.
15470 * soft-fp/divdf3.c: Likewise.
15471 * soft-fp/divsf3.c: Likewise.
15472 * soft-fp/divtf3.c: Likewise.
15473 * soft-fp/double.h: Likewise.
15474 * soft-fp/eqdf2.c: Likewise.
15475 * soft-fp/eqsf2.c: Likewise.
15476 * soft-fp/eqtf2.c: Likewise.
15477 * soft-fp/extenddftf2.c: Likewise.
15478 * soft-fp/extended.h: Likewise.
15479 * soft-fp/extendsfdf2.c: Likewise.
15480 * soft-fp/extendsftf2.c: Likewise.
15481 * soft-fp/extendxftf2.c: Likewise.
15482 * soft-fp/fixdfdi.c: Likewise.
15483 * soft-fp/fixdfsi.c: Likewise.
15484 * soft-fp/fixdfti.c: Likewise.
15485 * soft-fp/fixsfdi.c: Likewise.
15486 * soft-fp/fixsfsi.c: Likewise.
15487 * soft-fp/fixsfti.c: Likewise.
15488 * soft-fp/fixtfdi.c: Likewise.
15489 * soft-fp/fixtfsi.c: Likewise.
15490 * soft-fp/fixtfti.c: Likewise.
15491 * soft-fp/fixunsdfdi.c: Likewise.
15492 * soft-fp/fixunsdfsi.c: Likewise.
15493 * soft-fp/fixunsdfti.c: Likewise.
15494 * soft-fp/fixunssfdi.c: Likewise.
15495 * soft-fp/fixunssfsi.c: Likewise.
15496 * soft-fp/fixunssfti.c: Likewise.
15497 * soft-fp/fixunstfdi.c: Likewise.
15498 * soft-fp/fixunstfsi.c: Likewise.
15499 * soft-fp/fixunstfti.c: Likewise.
15500 * soft-fp/floatdidf.c: Likewise.
15501 * soft-fp/floatdisf.c: Likewise.
15502 * soft-fp/floatditf.c: Likewise.
15503 * soft-fp/floatsidf.c: Likewise.
15504 * soft-fp/floatsisf.c: Likewise.
15505 * soft-fp/floatsitf.c: Likewise.
15506 * soft-fp/floattidf.c: Likewise.
15507 * soft-fp/floattisf.c: Likewise.
15508 * soft-fp/floattitf.c: Likewise.
15509 * soft-fp/floatundidf.c: Likewise.
15510 * soft-fp/floatundisf.c: Likewise.
15511 * soft-fp/floatunsidf.c: Likewise.
15512 * soft-fp/floatunsisf.c: Likewise.
15513 * soft-fp/floatuntidf.c: Likewise.
15514 * soft-fp/floatuntisf.c: Likewise.
15515 * soft-fp/floatuntitf.c: Likewise.
15516 * soft-fp/fmadf4.c: Likewise.
15517 * soft-fp/fmasf4.c: Likewise.
15518 * soft-fp/fmatf4.c: Likewise.
15519 * soft-fp/gedf2.c: Likewise.
15520 * soft-fp/gesf2.c: Likewise.
15521 * soft-fp/getf2.c: Likewise.
15522 * soft-fp/ledf2.c: Likewise.
15523 * soft-fp/lesf2.c: Likewise.
15524 * soft-fp/letf2.c: Likewise.
15525 * soft-fp/muldf3.c: Likewise.
15526 * soft-fp/mulsf3.c: Likewise.
15527 * soft-fp/multf3.c: Likewise.
15528 * soft-fp/negdf2.c: Likewise.
15529 * soft-fp/negsf2.c: Likewise.
15530 * soft-fp/negtf2.c: Likewise.
15531 * soft-fp/op-1.h: Likewise.
15532 * soft-fp/op-2.h: Likewise.
15533 * soft-fp/op-4.h: Likewise.
15534 * soft-fp/op-8.h: Likewise.
15535 * soft-fp/op-common.h: Likewise.
15536 * soft-fp/quad.h: Likewise.
15537 * soft-fp/single.h: Likewise.
15538 * soft-fp/soft-fp.h: Likewise.
15539 * soft-fp/sqrtdf2.c: Likewise.
15540 * soft-fp/sqrtsf2.c: Likewise.
15541 * soft-fp/sqrttf2.c: Likewise.
15542 * soft-fp/subdf3.c: Likewise.
15543 * soft-fp/subsf3.c: Likewise.
15544 * soft-fp/subtf3.c: Likewise.
15545 * soft-fp/truncdfsf2.c: Likewise.
15546 * soft-fp/trunctfdf2.c: Likewise.
15547 * soft-fp/trunctfsf2.c: Likewise.
15548 * soft-fp/trunctfxf2.c: Likewise.
15549 * soft-fp/unorddf2.c: Likewise.
15550 * soft-fp/unordsf2.c: Likewise.
15551 * soft-fp/unordtf2.c: Likewise.
15552
17c48a60
OB
155532013-10-14 Ondřej Bílka <neleai@seznam.cz>
15554
15555 [BZ #15672]
15556 * misc/error.c (error_tail): Fix possible buffer overflow.
15557
cabba934
OB
155582013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15559
15560 [BZ #13028]
15561 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15562 address.
15563
94bf958a
PM
155642013-10-14 P. J. McDermott <pj@pehjota.net>
15565
15566 [BZ #832]
15567 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15568 testing pipefail option.
15569
71b4dea7
JM
155702013-10-12 Joseph Myers <joseph@codesourcery.com>
15571
15572 * soft-fp/double.h: Indent preprocessor directives inside #if.
15573 * soft-fp/extended.h: Likewise.
15574 * soft-fp/op-2.h: Likewise.
15575 * soft-fp/op-4.h: Likewise.
15576 * soft-fp/op-common.h: Likewise.
15577 * soft-fp/quad.h: Likewise.
15578 * soft-fp/single.h: Likewise.
15579 * soft-fp/soft-fp.h: Likewise.
15580
55602758
YC
155812013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15582
15583 * iconv/iconv_prog.c: Fix typos.
15584 * stdio-common/psiginfo-data.h: Likewise.
15585
9cd83302
RT
155862013-10-12 Reuben Thomas <rrt@sc3d.org>
15587
15588 [BZ #15764]
15589 * locale/setlocale.c: Fix typo.
15590
99fd9f47
JM
155912013-10-12 Joseph Myers <joseph@codesourcery.com>
15592
b7ea74f0
JM
15593 [BZ #16036]
15594 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15595 signaling NaN arguments.
15596 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15597 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15598
8a509447
JM
15599 [BZ #14910]
15600 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15601 unordered operands.
15602 * soft-fp/gesf2.c (__gesf2): Likewise.
15603 * soft-fp/getf2.c (__getf2): Likewise.
15604 * soft-fp/ledf2.c (__ledf2): Likewise.
15605 * soft-fp/lesf2.c (__lesf2): Likewise.
15606 * soft-fp/letf2.c (__letf2): Likewise.
15607
98998e9f
JM
15608 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15609 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15610 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15611 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15612 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15613 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15614 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15615 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15616 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15617 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15618 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15619 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15620 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15621 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15622 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15623 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15624 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15625 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15626 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15627 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15628 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15629 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15630 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15631 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15632 * soft-fp/floattidf.c (__floattidf): Likewise.
15633 * soft-fp/floattisf.c (__floattisf): Likewise.
15634 * soft-fp/floattitf.c (__floattitf): Likewise.
15635 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15636 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15637 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15638 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15639 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15640 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15641 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15642 * soft-fp/gesf2.c (__gesf2): Likewise.
15643 * soft-fp/getf2.c (__getf2): Likewise.
15644 * soft-fp/ledf2.c (__ledf2): Likewise.
15645 * soft-fp/lesf2.c (__lesf2): Likewise.
15646 * soft-fp/letf2.c (__letf2): Likewise.
15647
8edc4a11
JM
15648 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15649 Undefine and redefine.
15650 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15651 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15652 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15653 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15654 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15655 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15656 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15657 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15658 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15659 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15660 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15661 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15662 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15663 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15664 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15665
8399acaf
JM
15666 [BZ #16032]
15667 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15668 without decrementing exponent if mantissa >= that for the
15669 denominator, not >.
15670 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15671 denominator, not >. Decrement exponent in < case instead of
15672 incrementing in >= case.
15673 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15674 without decrementing exponent if mantissa >= that for the
15675 denominator, not >.
15676
99fd9f47
JM
15677 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15678 computing saturated result for unsigned overflow.
15679
10e1cf6b
SP
156802013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15681 Jeff Law <law@redhat.com>
15682
15683 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15684 (atan2Mp): Add systemtap probe marker.
15685 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15686 (__ieee754_log): Add systemtap probe marker.
15687 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15688 (atanMp): Add systemtap probe marker.
15689 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15690 (tanMp): Add systemtap probe marker.
15691 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15692 (__slowexp): Add systemtap probe marker.
15693 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15694 (__slowpow): Add systemtap probe marker.
15695 * manual/probes.texi: Document probes.
15696
3d110c7c
EB
156972013-10-11 Eric Biggers <ebiggers3@gmail.com>
15698
15699 [BZ #15362]
15700 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15701 written.
15702 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15703 written.
15704 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15705 written to buffer but not flushed.
15706 * libio/iofwrite_u.c: Likewise.
15707 * libio/iopadn.c: Return bytes returned even if EOF was
15708 encountered.
15709 * libio/iowpadn.c: Likewise.
15710 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15711 if _IO_padn does not write the whole buffer.
15712 [!COMPILE_WPRINTF] (PAD): Likewise.
15713
75b4202a
DM
157142013-10-10 David S. Miller <davem@davemloft.net>
15715
15716 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15717 directory block.
15718
6c6352e6
JM
157192013-10-10 Joseph Myers <joseph@codesourcery.com>
15720
33b853c3
JM
15721 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15722 instead of FSF address.
15723 * soft-fp/fixdfti.c: Likewise.
15724 * soft-fp/fixsfti.c: Likewise.
15725 * soft-fp/fixtfti.c: Likewise.
15726 * soft-fp/fixunsdfti.c: Likewise.
15727 * soft-fp/fixunssfti.c: Likewise.
15728 * soft-fp/fixunstfti.c: Likewise.
15729 * soft-fp/floattidf.c: Likewise.
15730 * soft-fp/floattisf.c: Likewise.
15731 * soft-fp/floattitf.c: Likewise.
15732 * soft-fp/floatuntidf.c: Likewise.
15733 * soft-fp/floatuntisf.c: Likewise.
15734 * soft-fp/floatuntitf.c: Likewise.
15735 * soft-fp/trunctfxf2.c: Likewise.
15736
6c6352e6
JM
15737 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15738 * soft-fp/fixdfti.c: Likewise.
15739 * soft-fp/fixsfti.c: Likewise.
15740 * soft-fp/fixtfti.c: Likewise.
15741 * soft-fp/fixunsdfti.c: Likewise.
15742 * soft-fp/fixunssfti.c: Likewise.
15743 * soft-fp/fixunstfti.c: Likewise.
15744 * soft-fp/floattidf.c: Likewise.
15745 * soft-fp/floattisf.c: Likewise.
15746 * soft-fp/floattitf.c: Likewise.
15747 * soft-fp/floatuntidf.c: Likewise.
15748 * soft-fp/floatuntisf.c: Likewise.
15749 * soft-fp/floatuntitf.c: Likewise.
15750 * soft-fp/trunctfxf2.c: Likewise.
15751
3bf78b71
DM
157522013-10-10 David S. Miller <davem@davemloft.net>
15753
15754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15755
6f10289e
JM
157562013-10-10 Joseph Myers <joseph@codsourcery.com>
15757
bd878fc0
JM
15758 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15759 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15760 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15761 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15762 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15763 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15764 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15765
6f10289e
JM
15766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15767 for NaNs before doing comparisons on argument.
15768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15769 Likewise.
15770
321e2684
WN
157712013-10-10 Will Newton <will.newton@linaro.org>
15772
15773 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15774 passed to _int_memalign does not overflow.
15775
40fefba1
TR
157762013-10-10 Torvald Riegel <triegel@redhat.com>
15777
15778 * scripts/bench.pl: Add include-sources directive.
15779 * benchtests/README: Update documentation.
15780
2ae21ed2
JM
157812013-10-10 Joseph Myers <joseph@codesourcery.com>
15782
dcc2dd3f
JM
15783 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15784 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15785 instead of FP_INIT_ROUNDMODE.
15786 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15787 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15788
2ae21ed2
JM
15789 [BZ #16034]
15790 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15791 copy class of input value.
15792 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15793 not handle exceptions.
15794 * soft-fp/negsf2.c (__negsf2): Likewise.
15795 * soft-fp/negtf2.c (__negtf2): Likewise.
15796 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15797
cb8f9562
JM
157982013-10-09 Joseph Myers <joseph@codesourcery.com>
15799
15800 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15801 semicolon. From Linux kernel.
15802
5b60c59d
AB
158032013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15804
15805 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15806
b86835ca
YC
158072013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15808
15809 [BZ #156]
15810 * manual/socket.texi: Added statement about buffer
15811 for gethostbyname2_r.
15812
e7044ea7
OB
158132013-10-08 Ondřej Bílka <neleai@seznam.cz>
15814
15815 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15816 Use .p2align directive instead, throughout.
15817 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15818 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15819 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15820 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15821 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15822 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15823 * sysdeps/x86_64/strchr.S: Likewise.
15824 * sysdeps/x86_64/strrchr.S: Likewise.
15825
09544cbc
SP
158262013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15827
88576635
SP
15828 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15829
e7b2d1dd
SP
15830 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15831
09544cbc
SP
15832 * sysdeps/generic/math_private.h (__mpsin1): Remove
15833 declaration.
15834 (__mpcos1): Likewise.
15835 (__mpsin): New argument __range_reduce.
15836 (__mpcos): Likewise.
15837 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15838 (slow): Use __mpsin and __mpcos.
15839 (slow1): Likewise.
15840 (slow2): Likewise.
15841 (sloww): Likewise.
15842 (sloww1): Likewise.
15843 (sloww2): Likewise.
15844 (bsloww): Likewise.
15845 (bsloww1): Likewise.
15846 (bsloww2): Likewise.
15847 (cslow2): Likewise.
15848 (csloww): Likewise.
15849 (csloww1): Likewise.
15850 (csloww2): Likewise.
15851 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15852 range_reduce. Merge in __mpsin1.
15853 (__mpcos): Likewise.
15854 (__mpsin1): Remove.
15855 (__mpcos1): Likewise.
15856
7602d070
JM
158572013-10-07 Joseph Myers <joseph@codesourcery.com>
15858
15859 * locale/loadlocale.c (_nl_intern_locale_data): Use
15860 LOCFILE_ALIGNED_P.
15861 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15862 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15863 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15864 obstack data is appropriately aligned.
15865 (obstack_int32_grow_fast): Likewise.
15866 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15867 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15868 (add_locale_uint32_array): Likewise.
15869
a357259b
SP
158702013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15871
15872 * benchtests/Makefile: Remove ARGLIST and RET variables.
15873 ($(objpfx)bench-%.c): Pass only function name to the script.
15874 * benchtests/README: Update documentation.
15875 * benchtests/acos-inputs: Add new directives.
15876 * benchtests/acosh-inputs: Likewise.
15877 * benchtests/asin-inputs: Likewise.
15878 * benchtests/asinh-inputs: Likewise.
15879 * benchtests/atan-inputs: Likewise.
15880 * benchtests/atanh-inputs: Likewise.
15881 * benchtests/cos-inputs: Likewise.
15882 * benchtests/cosh-inputs: Likewise.
15883 * benchtests/exp-inputs: Likewise.
15884 * benchtests/log-inputs: Likewise.
15885 * benchtests/pow-inputs: Likewise.
15886 * benchtests/rint-inputs: Likewise.
15887 * benchtests/sin-inputs: Likewise.
15888 * benchtests/sinh-inputs: Likewise.
15889 * benchtests/tan-inputs: Likewise.
15890 * benchtests/tanh-inputs: Likewise.
15891 * scripts/bench.pl: Add support for new directives.
15892
9ec1b13d
AM
158932013-10-07 Alan Modra <amodra@gmail.com>
15894
15895 * README: Fix careless merge.
15896
8b7d57cd
AM
158972013-10-05 Alan Modra <amodra@gmail.com>
15898
15899 * NEWS: Mention powerpc64le support and bugs fixed.
15900 * README: Both big-endian and little-endian powerpc64 supported.
15901
7b7bab13
ST
159022013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15903
57f41c40
AS
15904 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15905 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15906 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15907 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15908
d39baad1
RA
159092013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15910
15911 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15912 match prototype.
15913
cd78f7e7
JM
159142013-10-04 Joseph Myers <joseph@codesourcery.com>
15915
29d73d86
JM
15916 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15917 Move -mhard-float appending from
15918 ports/sysdeps/powerpc/powerpc32/Makefile.
15919 [$(with-fp) = yes] (ASFLAGS): Likewise.
15920 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15921 * sysdeps/powerpc/nofpu: Move directory from
15922 ports/sysdeps/powerpc/nofpu.
15923 * sysdeps/powerpc/soft-fp: Move directory from
15924 ports/sysdeps/powerpc/soft-fp.
15925 * sysdeps/powerpc/powerpc32/405: Move directory from
15926 ports/sysdeps/powerpc/powerpc32/405.
15927 * sysdeps/powerpc/powerpc32/440: Move directory from
15928 ports/sysdeps/powerpc/powerpc32/440.
15929 * sysdeps/powerpc/powerpc32/464: Move directory from
15930 ports/sysdeps/powerpc/powerpc32/464.
15931 * sysdeps/powerpc/powerpc32/476: Move directory from
15932 ports/sysdeps/powerpc/powerpc32/476.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15934 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15936 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15938 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15940 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15942 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15943 * README: Update for powerpc-*-linux-gnu software floating point
15944 support in libc.
15945
e246b347
JM
15946 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15947 case to powerpc/powerpc32*.
15948 * sysdeps/unix/sysv/linux/configure: Regenerated.
15949
89c2003e
JM
15950 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15951 (_FPU_MASK_OM): Define as 0x04.
15952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15954 0x00c10080.
15955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15956 0x0000003c.
15957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15958
cd78f7e7
JM
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15960 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15961 getcontext_e500.
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15963 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15964 setcontext_e500.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15966 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15967 and setcontext_e500.
15968
c755294d
CL
159692013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15970
15971 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15972
e16d221c
SP
159732013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15974
15975 * manual/threads.texi (Default Thread Attributes): Fix typo.
15976
215c7d43
WN
159772013-10-04 Will Newton <will.newton@linaro.org>
15978
15979 * malloc/Makefile: Add tst-memalign.
15980 * malloc/tst-memalign.c: New file.
15981
27d0461b
WN
15982 * malloc/tst-posix_memalign.c: Add comments.
15983 (do_test): Add comments and call free on all potentially
15984 allocated pointers. Add space after cast.
15985
1bc92709
WN
15986 * malloc/tst-pvalloc.c: Add comments.
15987 (do_test): Add comments and call free on all potentially
15988 allocated pointers. Remove duplicate check for NULL pointer.
15989 Add space after cast.
15990
66a9be9d
WN
15991 * malloc/tst-valloc.c: Add comments.
15992 (do_test): Add comments and call free on all potentially
15993 allocated pointers. Remove duplicate check for NULL pointer.
15994 Add space after cast.
15995
4cb81307
AM
159962013-10-04 Alan Modra <amodra@gmail.com>
15997
15998 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15999 Use stdint types in rather than __attribute__((mode())).
16000 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16001
f8e3e9f3
AM
160022013-10-04 Alan Modra <amodra@gmail.com>
16003
16004 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16005 Correct handling of unaligned relocs for little-endian.
16006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16007
8f9ebb08
AM
160082013-10-04 Alan Modra <amodra@gmail.com>
16009
16010 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16011 * configure: Regenerate.
16012 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16013 * shlib-versions: Likewise.
16014
0edf96c2
AM
160152013-10-04 Alan Modra <amodra@gmail.com>
16016
16017 * string/tester.c (test_memrchr): Increment reported test cycle.
16018
e0f7a380
AM
160192013-10-04 Alan Modra <amodra@gmail.com>
16020
16021 * string/test-memcpy.c (do_one_test): When reporting errors, print
16022 string address and don't overrun end of string.
16023
466b0393
AM
160242013-10-04 Alan Modra <amodra@gmail.com>
16025
16026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16027 insrdi. Make better use of reg selection to speed exit slightly.
16028 Schedule entry path a little better. Remove useless "are we done"
16029 checks on entry to main loop. Handle wrapping around zero address.
16030 Correct main loop count. Handle single left-over word from main
16031 loop inline rather than by using loop_small. Remove extra word
16032 case in loop_small caused by wrong loop count. Add little-endian
16033 support.
16034 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16035 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16036 cache hint.
16037 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16038 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16039 support. Avoid rlwimi.
16040 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16041
3be87c77
AM
160422013-10-04 Alan Modra <amodra@gmail.com>
16043
16044 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 16045 insrdi. Formatting.
3be87c77
AM
16046 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16048 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16049 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16050 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16051 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16052
759cfef3
AM
160532013-10-04 Alan Modra <amodra@gmail.com>
16054
16055 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16056 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16057 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16058 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16059 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16060 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16061 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16062 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16063 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16064 use of regs. Use power7 mtocrf. Tidy function tails.
16065
fe6e95d7
AM
160662013-10-04 Alan Modra <amodra@gmail.com>
16067
16068 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16069 Formatting. Consistently use rXXX register defines or rN defines.
16070 Use early exit labels that avoid restoring unused non-volatile regs.
16071 Make cr field use more consistent with rWORDn compares. Rename
16072 regs used as shift registers for unaligned loop, using rN defines
16073 for short lifetime/multiple use regs.
16074 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16075 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16076 addi 1,1,64 to pop stack frame. Simplify return value code.
16077 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16078
664318c3
AM
160792013-10-04 Alan Modra <amodra@gmail.com>
16080
16081 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16082 support. Correct typos, formatting. Optimize tail. Use insrdi
16083 rather than rlwimi.
16084 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16085 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16086 little-endian support. Correct typos.
16087 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16088 rather than rlwimi.
16089 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16090 in loop and entry code to keep "and." results.
16091 (strchr): Add little-endian support. Comment. Move cntlzd
16092 earlier in tail.
16093 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16094
43b84013
AM
160952013-10-04 Alan Modra <amodra@gmail.com>
16096
16097 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16098 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16099 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16100 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16101
8a7413f9
AM
161022013-10-04 Alan Modra <amodra@gmail.com>
16103
16104 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16105 (rTMP): Define as r11.
16106 (strcmp): Add little-endian support. Optimise tail.
16107 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16108 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16109 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16110 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16111 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16113 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16114
33ee81de
AM
161152013-10-04 Alan Modra <amodra@gmail.com>
16116
16117 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16118 little-endian support. Remove unnecessary "are we done" tests.
16119 Handle "s" wrapping around zero and extremely large "size".
16120 Correct main loop count. Handle single left-over word from main
16121 loop inline rather than by using small_loop. Correct comments.
16122 Delete "zero" tail, use "end_max" instead.
16123 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16124
db9b4570
AM
161252013-10-04 Alan Modra <amodra@gmail.com>
16126
16127 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16128 support. Don't branch over align.
16129 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16130 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16131 support. Rearrange tmp reg use to suit. Comment.
16132 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16133
f7c399cf
AM
161342013-10-04 Alan Modra <amodra@gmail.com>
16135
16136 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16137
0b2c2ace
AM
161382013-10-04 Alan Modra <amodra@gmail.com>
16139
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16141 conditional form of branch and link when obtaining pc.
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16143
02f04a6c
AM
161442013-10-04 Alan Modra <amodra@gmail.com>
16145
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16147 HIWORD/LOWORD.
16148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16150
9b874b2f
AM
161512013-10-04 Alan Modra <amodra@gmail.com>
16152
16153 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16154 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16155 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16156 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16157 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16158 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16159 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16160 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16161 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16162 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16163
be1e5d31
AB
161642013-10-04 Anton Blanchard <anton@au1.ibm.com>
16165 Alistair Popple <alistair@ozlabs.au.ibm.com>
16166 Alan Modra <amodra@gmail.com>
16167
16168 [BZ #15723]
16169 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16170 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16171 _dl_hwcap access for little-endian.
16172 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16173 destroy vmx regs when saving unaligned.
16174 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16175 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16176 destroy vmx regs when saving unaligned.
16177
fef13a78
AM
161782013-10-04 Alan Modra <amodra@gmail.com>
16179
16180 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16181 Don't use a union to pack hi/low value.
16182
76a66d51
AB
161832013-10-04 Anton Blanchard <anton@au1.ibm.com>
16184
16185 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16186 for little-endian.
16187 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16189 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16190 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16191 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16192
6a31fe7f
AM
161932013-10-04 Alan Modra <amodra@gmail.com>
16194
16195 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16196 constants to usual value for .cst8 section, and remove redundant
16197 high address load.
16198 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16199 constant for 0x1p52. Load little-endian words of double from
16200 correct stack offsets.
16201
7b88401f
AM
162022013-10-04 Alan Modra <amodra@gmail.com>
16203
16204 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16205 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16206 words of double from correct stack offsets.
16207 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16208 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16209 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16210 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16211 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16212 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16213 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16214 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16215 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16216 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16217 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16218 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16219 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16220 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16221 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16222 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16223 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16224
9c008155
AM
162252013-10-04 Alan Modra <amodra@gmail.com>
16226
16227 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16228 64-bit int/double union.
16229 (_FPU_SETCW): Likewise.
16230 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16231 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16232
da13146d
AM
162332013-10-04 Alan Modra <amodra@gmail.com>
16234
16235 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16236 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16237
603e8410
AM
162382013-10-04 Alan Modra <amodra@gmail.com>
16239
16240 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16241 use vector int constants.
16242 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16243
4a28b3ca
AB
162442013-10-04 Anton Blanchard <anton@au1.ibm.com>
16245
16246 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16247 array with long long.
16248 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16249 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16250 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16251 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16252 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16253 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16254 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16255 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16256 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16257 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16258 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16259 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16260 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16261
2ca85d2b
AB
162622013-10-04 Anton Blanchard <anton@au1.ibm.com>
16263
16264 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16265 (__signbit): Likewise. Correct for little-endian.
16266 (__signbitl): Call __signbit.
16267 (lrint): Correct for little-endian.
16268 (lrintf): Call lrint.
16269
62a728ae
AM
162702013-10-04 Alan Modra <amodra@gmail.com>
16271
16272 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16273 union 32-bit int array member with 64-bit int array.
16274 (t515, tm256): Double rather than long double.
16275 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16276
32c301df
AM
162772013-10-04 Alan Modra <amodra@gmail.com>
16278
16279 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16280 Delete.
16281 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16283 version of math_ldbl.h.
16284
650ef4bd
AM
162852013-10-04 Alan Modra <amodra@gmail.com>
16286
16287 [BZ #15734], [BZ #15735]
16288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16289 all uses of ieee875 long double macros and unions. Simplify test
16290 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16291 ldbl_extract_mantissa value for ix,iy exponents. Properly
16292 normalize after ldbl_extract_mantissa, and don't add hidden bit
16293 already handled. Don't treat low word of ieee854 mantissa like
16294 low word of IBM long double and mask off bit when testing for
16295 zero.
16296 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16297 all uses of ieee875 long double macros and unions. Simplify tests
16298 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16299 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16300 two1022, instead use their values. Recognise that tests for large
16301 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16302 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16303 Rewrite all uses of ieee875 long double macros and unions. Simplify
16304 test for 0.0L and nan. Correct negation.
16305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16306 ieee875 long double macros and unions. Correct output for large
16307 magnitude x. Correct absolute value calculation.
16308 (__erfcl): Likewise.
16309 * math/libm-test.inc: Add tests for errors discovered in IBM long
16310 double versions of fmodl, remainderl, erfl and erfcl.
16311
765714ca
AM
163122013-10-04 Alan Modra <amodra@gmail.com>
16313
16314 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16315 all uses of ieee854 long double macros and unions. Simplify tests
16316 for long doubles that are fully specified by the high double.
16317 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16318 Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16320 Remove dead code too.
16321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16322 (__ieee754_ynl): Likewise.
16323 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16326 Remove dead code too.
16327 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16330 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16331 Simplify.
16332 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16333 Simplify.
16334 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16337 Comment on variable precision.
16338 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16340 Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16345 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16346
4ebd120c
AM
163472013-10-04 Alan Modra <amodra@gmail.com>
16348
16349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16350 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16351 all uses of ieee854 long double macros and unions.
16352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16355 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16356 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16357 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16358 Likewise.
16359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16360 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16361 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16362 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16363 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16364 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16365 Simplify sign and nan test too.
16366 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16367 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16368 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16369 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16370 Likewise.
16371 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16372 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16373 Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16375 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16376 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16377 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16378 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16379 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16380
1b6adf88
AM
163812013-10-04 Alan Modra <amodra@gmail.com>
16382
16383 * stdio-common/printf_size.c (__printf_size): Don't use
16384 union ieee854_long_double in fpnum union.
16385 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16386 signbit macro to retrieve sign from long double.
16387 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16388 retrieve sign from long double.
16389 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16390 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16391 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16392 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16393 * math/test-misc.c (main): Don't use union ieee854_long_double.
16394
4cf69995
AM
163952013-10-04 Alan Modra <amodra@gmail.com>
16396
16397 [BZ #15680]
16398 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16399 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16400 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16401 calculation. Remove unnecessary test for denormal exponent.
16402 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16403 Correct handling of denormals. Avoid undefined shift behaviour.
16404 Correct normalisation of low mantissa when low double is denormal.
16405 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16406 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16407 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16408 Correct normalisation of low mantissa. Test for overflow of high
16409 mantissa and normalise.
16410 (ldbl_nearbyint): Use more readable constant for two52.
16411 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16412 (__mpn_construct_long_double): Fix test for overflow of high
16413 mantissa and correct normalisation. Avoid undefined shift.
16414
9605ca6c
AM
164152013-10-04 Alan Modra <amodra@gmail.com>
16416
16417 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16418 (union ibm_extended_long_double): Define as an array of ieee754_double.
16419 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16420 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16421 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16422 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16423 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16424 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16425 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16426 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16427 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16428 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16429 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16430
975569d0
JM
164312013-10-03 Joseph Myers <joseph@codesourcery.com>
16432
d3d23756
JM
16433 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16434 page size instead of calling getpagesize.
16435
975569d0
JM
16436 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16437 (LOCFILE_ALIGN_MASK): Likewise.
16438 (LOCFILE_ALIGN_UP): Likewise.
16439 (LOCFILE_ALIGNED_P): Likewise.
16440 * locale/programs/ld-collate.c (collate_output): Use the new
16441 macros instead of __alignof__ (int32_t).
16442 * locale/weight.h (findidx): Likewise.
16443
b1fe1f2b
OB
164442013-10-03 Ondřej Bílka <neleai@seznam.cz>
16445
16446 [BZ #431]
16447 * manual/string.texi: Fix strncat and wcsncat.
16448
5f855e35
BM
164492013-10-03 Brooks Moses <bmoses@google.com>
16450
16451 [BZ #15915]
16452 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16453 * Makerules: ...here, and adjust associated comments.
16454
3cef6009
WN
164552013-10-02 Will Newton <will.newton@linaro.org>
16456
16457 * malloc/Makefile: Add tst-pvalloc.
16458 * malloc/tst-pvalloc.c: New file.
16459
7815420b
WN
164602013-10-02 Will Newton <will.newton@linaro.org>
16461
16462 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16463 improve test coverage.
16464
4868b204
WN
164652013-10-02 Will Newton <will.newton@linaro.org>
16466
16467 * malloc/Makefile: Add tst-posix_memalign.
16468 * malloc/tst-posix_memalign.c: New file.
16469
29c793b3
EB
164702013-10-01 Eric Blake <eblake@redhat.com>
16471
16472 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16473 Use __THROWNL rather than __THROW on static functions.
16474
fd967522
PM
164752013-09-30 Petr Machata <pmachata@redhat.com>
16476
16477 * elf/elf.h (R_AARCH64_ABS16): New macro.
16478 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16479 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16480 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16481 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16482 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16483 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16484 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16485 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16486 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16487 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16488 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16489 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16490 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16491 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16492 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16493 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16494 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16495 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16496 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16497 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16498 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16499 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16500 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16501 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16502 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16503 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16504 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16505 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16506 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16507 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16508 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16509 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16510 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16511 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16512 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16513 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16514 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16515 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16516 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16517 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16518 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16519 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16520 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16521 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16522 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16523 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16524 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16525 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16526 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16527 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16528 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16529 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16530 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16531 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16532 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16533 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16534 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16535 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16536 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16537 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16538 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16539 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16540 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16541 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16542 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16543 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16544 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16545 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16546 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16547 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16548 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16549 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16550 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16551 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16552 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16553 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16554 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16555 (R_AARCH64_TLSDESC_LDR): Likewise.
16556 (R_AARCH64_TLSDESC_ADD): Likewise.
16557 (R_AARCH64_TLSDESC_CALL): Likewise.
16558
b2179107
AS
165592013-09-30 Andreas Schwab <schwab@suse.de>
16560
16561 [BZ #15048]
16562 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16563 the nss database lookup.
16564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16566
47f28d0a
MF
165672013-09-28 Mike Frysinger <vapier@gentoo.org>
16568
16569 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16570
165712013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16572
16573 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16574 ${Bash-specific parameter/pattern/string} parameter expansion.
16575 * sysdeps/unix/make-syscalls.sh: Likewise.
16576
f4518a17
KK
165772013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16578
16579 * sysdeps/sh/stackguard-macros.h: New file.
16580
dc1a95c7
OB
165812013-09-26 Ondřej Bílka <neleai@seznam.cz>
16582
16583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16585 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16586 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16587 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16588 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16589
5ebbff8f
AZ
165902013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16591
16592 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16593 Fix thread ID register.
16594
4fd2cf9f
JM
165952013-09-25 Joseph Myers <joseph@codesourcery.com>
16596
16597 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16598 [POSIX || UNIX98]: Require rather than permitting all symbols from
16599 <time.h>.
16600 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16601 element of struct sched_param.
16602 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16603 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16604 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16605 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16606 constant.
16607
12c22bc4
OL
166082013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16609
16610 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16611 argument calculation.
16612
a03d8ea7
JM
166132013-09-24 Joseph Myers <joseph@codesourcery.com>
16614
16615 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16616 Expect macro.
16617 [POSIX] (pthread_attr_t): Do not require type.
16618 [POSIX] (pthread_cond_t): Likewise.
16619 [POSIX] (pthread_condattr_t): Likewise.
16620 [POSIX] (pthread_key_t): Likewise.
16621 [POSIX] (pthread_mutex_t): Likewise.
16622 [POSIX] (pthread_mutexattr_t): Likewise.
16623 [POSIX] (pthread_once_t): Likewise.
16624 [POSIX] (pthread_t): Likewise.
16625 [POSIX-based standards] (pthread_atfork): Expect function.
16626
6055173a
JM
166272013-09-24 Joseph Myers <joseph@codesourcery.com>
16628 Richard Sandiford <richard@codesourcery.com>
16629
16630 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16631 (swap_endianness_p): New extern variable.
16632 (set_big_endian): New inline function.
16633 (maybe_swap_uint32): Likewise.
16634 (maybe_swap_uint32_array): Likewise.
16635 (maybe_swap_uint32_obstack): Likewise.
16636 * locale/programs/locfile.c: Include <stdbool.h>.
16637 (swap_endianness_p): New variable.
16638 (add_locale_uint32): Call maybe_swap_uint32.
16639 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16640 (write_locale_data): Call maybe_swap_uint32_array.
16641 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16642 maybe_swap_uint32.
16643 (obstack_int32_grow_fast): Likewise.
16644 (output_weightwc): Call maybe_swap_uint32_obstack.
16645 (collate_output): Likewise.
16646 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16647 (OPT_LITTLE_ENDIAN): Likewise.
16648 (options): Add --little-endian and --big-endian options.
16649 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16650 * locale/programs/locarchive.c: Include "locfile.h".
16651 (GET): New macro.
16652 (SET): Likewise.
16653 (INC): Likewise.
16654 (create_archive): Use the new macros to access fields of
16655 structures directly mapped from or written to locale archives.
16656 (oldlocrecentcmp): Likewise.
16657 (enlarge_archive): Likewise.
16658 (insert_name): Likewise.
16659 (add_alias): Likewise.
16660 (add_locale): Likewise.
16661 (delete_locales_from_archive): Likewise.
16662 (show_archive_content): Likewise.
16663 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16664 locale data.
16665
39bf0bb4
RM
166662013-09-24 Roland McGrath <roland@hack.frob.com>
16667
16668 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16669 http://www.gnu.org/doc/freemanuals.texi.
16670 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16671
f02eed10
WN
166722013-09-24 Will Newton <will.newton@linaro.org>
16673
16674 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16675 macro.
16676
a3a6c312
JM
166772013-09-23 Joseph Myers <joseph@codesourcery.com>
16678
16679 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16680 unsigned char.
16681
107375ac
MR
166822013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16683
16684 * manual/threads.texi (POSIX Threads): Fix a typo.
16685
141f3a77
SP
166862013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16687
303e567a
SP
16688 [BZ #14547]
16689 * string/tst-strcoll-overflow.c: New test case.
16690 * string/Makefile (xtests): Add tst-strcoll-overflow.
16691 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16692 cache if string sizes may cause integer overflow.
16693
141f3a77
SP
16694 [BZ #14547]
16695 * string/strcoll_l.c (coll_seq): New members rule, idx,
16696 save_idx and back_us.
16697 (get_next_seq_nocache): New function.
16698 (do_compare_nocache): New function.
16699 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16700 when malloc fails.
16701
c61b4d41
CD
167022013-09-23 Carlos O'Donell <carlos@redhat.com>
16703
0b1f8e35
CD
16704 [BZ #15754]
16705 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16706 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16707 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16708
c61b4d41
CD
16709 [BZ #15754]
16710 * elf/Makefile (tests): Add tst-ptrguard1.
16711 (tests-static): Add tst-ptrguard1-static.
16712 (tst-ptrguard1-ARGS): Define.
16713 (tst-ptrguard1-static-ARGS): Define.
16714 * elf/tst-ptrguard1.c: New file.
16715 * elf/tst-ptrguard1-static.c: New file.
16716 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16717 * sysdeps/i386/stackguard-macros.h: Likewise.
16718 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16719 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16720 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16721 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16722 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16723 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16724
167252013-09-23 Hector Marco <hecmargi@upv.es>
16726 Ismael Ripoll <iripoll@disca.upv.es>
16727 Carlos O'Donell <carlos@redhat.com>
16728
16729 [BZ #15754]
16730 * sysdeps/generic/stackguard-macros.h: Define
16731 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16732 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16733 Define __pointer_chk_guard_local.
16734 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16735 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16736
f5f4e7b4
VV
167372013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16738
16739 [BZ #15859]
16740 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16741
5bb43a43
AS
167422013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16743
16744 * include/string.h (__ffs): Declare as hidden.
16745 * string/ffs.c (__ffs): Define as hidden.
16746 * sysdeps/i386/ffs.c (__ffs): Likewise.
16747 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16748 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16749 * sysdeps/s390/ffs.c (__ffs): Likewise.
16750 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16751
3ea5be54
AO
167522013-09-20 Alexandre Oliva <aoliva@redhat.com>
16753
ffb89e53
AO
16754 * NEWS: Mention malloc probes.
16755
322dea08
AO
16756 * malloc/arena.c (new_heap): New memory_heap_new probe.
16757 (grow_heap): New memory_heap_more probe.
16758 (shrink_heap): New memory_heap_less probe.
16759 (heap_trim): New memory_heap_free probe.
16760 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16761 (systrim): New memory_sbrk_less probe.
16762 * manual/probes.texi: Document them.
16763
655673f3
AO
16764 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16765 * manual/probes.texi: Document it.
16766
35fed6f1
AO
16767 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16768 (__libc_realloc): Add memory_realloc_retry probe.
16769 (__libc_memalign): Add memory_memalign_retry probe.
16770 (__libc_valloc): Add memory_valloc_retry probe.
16771 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16772 (__libc_calloc): Add memory_calloc_retry probe.
16773 * manual/probes.texi: Document them.
16774
6999d38c
AO
16775 * malloc/arena.c (get_free_list): Add probe
16776 memory_arena_reuse_free_list.
16777 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16778 and memory_arena_reuse.
16779 (arena_get2) [!PER_THREAD]: Likewise.
16780 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16781 memory_arena_reuse_realloc.
16782 * manual/probes.texi: Document them.
16783
0653427f
AO
16784 * malloc/malloc.c (__libc_free): Add
16785 memory_mallopt_free_dyn_thresholds probe.
16786 (__libc_mallopt): Add multiple memory_mallopt probes.
16787 * manual/probes.texi: Document them.
16788
3ea5be54
AO
16789 * malloc/malloc.c: Include stap-probe.h.
16790 (__libc_mallopt): Add memory_mallopt probe.
16791 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16792 * manual/probes.texi: New.
16793 * manual/Makefile (chapters): Add probes.
16794 * manual/threads.texi: Set next node.
16795
e35696c3 167962013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16797
e35696c3
CL
16798 [BZ #15963, #13985]
16799 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16800 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16801 Add `Chinese' to `nan' entry name.
16802
4aafb73c
SP
168032013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16804
16805 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16806 (POLYNOMIAL): Likewise.
16807 (TAYLOR_SINCOS): Likewise.
16808 (TAYLOR_SLOW): Likewise.
16809 (__sin): Use TAYLOR_SINCOS.
16810 (__cos): Likewise.
16811 (slow): Use TAYLOR_SLOW.
16812 (sloww): Likewise.
16813 (bsloww): Likewise.
16814 (csloww): Likewise.
16815
d84f25c7
LD
168162013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16817
16818 * stdlib/strtod_l.c: Fix buffer overrun.
16819
5eea0404
SP
168202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16821
7849ff93
SP
16822 * benchtests/Makefile (bench): Add sincos.
16823 * benchtests/bench-sincos.c: New file.
16824
cfa3c886
SP
16825 * math/libm-test.inc (cos_test_data): New test inputs.
16826 (sin_test_data): Likewise.
16827
b348e1e3
SP
16828 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16829 macro.
16830 (__sin): Use it.
16831 (__cos): Likewise.
16832 (slow1): Likewise.
16833 (slow2): Likewise.
16834 (sloww1): Likewise.
16835 (sloww2): Likewise.
16836 (bsloww1): Likewise.
16837 (bsloww2): Likewise.
16838 (cslow2): Likewise.
16839 (csloww1): Likewise.
16840 (csloww2): Likewise.
16841
6cce25f8
SP
16842 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16843 function.
16844 (__sin): Use it.
16845 (__cos): Likewise.
16846
5eea0404
SP
16847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16848 gotos.
16849 (__cos): Likewise.
16850
9c21573c
MR
168512013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16852
16853 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16854 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16855 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16856 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16857 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16858 * elf/cache.c (print_entry): Handle the new cache flags.
16859
24d22e65
JM
168602013-09-18 Joseph Myers <joseph@codesourcery.com>
16861 Aldy Hernandez <aldyh@redhat.com>
16862
16863 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16864 Change condition to [_SOFT_FLOAT].
16865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16877 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16880 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16881 declaration.
16882
d13ef066
JM
168832013-09-18 Joseph Myers <joseph@codesourcery.com>
16884
2e071de0
JM
16885 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16886 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16887 (__longjmp): Use LOAD_GP to load saved GPRs.
16888 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16889 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16890 (__sigsetjmp): Use SAVE_GP to save GPRs.
16891
d13ef066
JM
16892 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16893 Do not append -msoft-float.
16894 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16895
97a0650b
SP
168962013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16897
16898 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16899
11ca09e9
JM
169002013-09-17 Joseph Myers <joseph@codesourcery.com>
16901
16902 [BZ #15966]
16903 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16904 (_FPU_GETCW): Use initial "__" on variable and field names but not
16905 on macro parameter name.
16906 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16907 parentheses around reference to macro parameter.
16908
08ffcf34
RS
169092013-09-13 Richard Sandiford <richard@codesourcery.com>
16910
16911 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16912 prototype.
16913 (ctype_startup): Use uint32_t in cast and sizeof for
16914 ctype->charnames.
16915
ae7080d3
JL
169162013-09-11 Jia Liu <proljc@gmail.com>
16917
16918 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16919 __daddr_t_defined.
16920 [__FreeBSD__]: Likewise.
16921
5905e7b3
OB
169222013-09-11 Ondřej Bílka <neleai@seznam.cz>
16923
16924 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16925 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16926 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16927 (strchr): Remove __strchr_sse42 ifunc selection.
16928 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16929 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16930
b987c776
WN
169312013-09-11 Will Newton <will.newton@linaro.org>
16932
16933 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16934 parameter to RES. Remove hardcoded 1000 value.
16935 * benchtests/bench-skeleton.c (main): Pass RES parameter
16936 to TIMING_INIT and multiply result by 1000.
16937
ddf985af
AZ
169382013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16939
16940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16941
ffdd3181
AS
169422013-09-11 Andreas Schwab <schwab@suse.de>
16943
16944 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16945 if not defined.
16946 (O_TMPFILE) [__USE_GNU]: Define.
16947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16948 Define.
16949
b73ed247
WN
169502013-09-11 Will Newton <will.newton@linaro.org>
16951
16952 [BZ #15857]
16953 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16954 does not overflow.
16955
55e17aad
WN
169562013-09-11 Will Newton <will.newton@linaro.org>
16957
16958 [BZ #15856]
16959 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16960 does not overflow.
16961
1159a193
WN
169622013-09-11 Will Newton <will.newton@linaro.org>
16963
16964 [BZ #15855]
16965 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16966 does not overflow.
16967
5905e7b3 169682013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16969
16970 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16971 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16972 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16973 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16974 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16975
cdfc721b
AM
169762013-09-10 Allan McRae <allan@archlinux.org>
16977
aa04af00
AM
16978 [BZ #15748]
16979 * manual/arith.texi (Parsing of Floats): Clarify
16980 cross-reference.
16981
cdfc721b
AM
16982 [BZ #15849]
16983 * manual/install.texi (Running make install): Mention
16984 --enable-pt-chown.
16985 * INSTALL: Regenerated.
16986
95e7cf29
MR
169872013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16988
16989 * csu/init-first.c (_init): Remove the !SHARED condition around
16990 FPU control word initialization.
16991 * elf/dl-support.c (_dl_fpu_control): New variable.
16992 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16993 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16994 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16995 * math/test-fpucw-static.c: New file.
16996 * math/test-fpucw-ieee.c: New file.
16997 * math/test-fpucw-ieee-static.c: New file.
16998 * math/Makefile (tests): Add `test-fpucw-ieee' and
16999 `$(tests-static)'.
17000 (tests-static): New variable.
17001 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17002 dependency to...
17003 [($(build-shared),yes)]
17004 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17005 ... this.
17006 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17007 New dependency.
17008
83e43bf0
AM
170092013-09-09 Allan McRae <allan@archlinux.org>
17010
a9f5ce09
AM
17011 [BZ #15939]
17012 * manual/string.texi (Collation Functions): Fix typo in
17013 strcoll example.
17014 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17015
34829bc2
AM
17016 [BZ #15893]
17017 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17018
3932737d
AM
17019 [BZ #15892]
17020 * libio/memstream.c (open_memstream): Fix memory leak.
17021 * libio/wmemstream.c (open_wmemstream): Likewise.
17022
83e43bf0
AM
17023 [BZ #15895]
17024 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17025
0c66b8e9
WN
170262013-09-09 Will Newton <will.newton@linaro.org>
17027
17028 * malloc/Makefile: Add tst-realloc to tests.
17029 * malloc/tst-realloc.c: New file.
17030
f6b00fd1
AM
170312013-09-09 Allan McRae <allan@archlinux.org>
17032
17033 [BZ #15844]
17034 * COPYING: Update from GNU website to fix FSF address.
17035 * COPYING.LIB: Likewise.
17036
eec55e16
DM
170372013-09-06 David S. Miller <davem@davemloft.net>
17038
17039 * po/zh_TW.po: Update Chinese (traditional) translation from
17040 translation project.
17041
1ecbb381
RS
170422013-09-06 Richard Sandiford <richard@codesourcery.com>
17043 Joseph Myers <joseph@codesourcery.com>
17044
17045 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17046 "localeinfo.h".
17047 (obstack_chunk_alloc): New macro.
17048 (obstack_chunk_free): Likewise.
17049 (record_offset): New function.
17050 (init_locale_data): Likewise.
17051 (align_locale_data): Likewise.
17052 (add_locale_empty): Likewise.
17053 (add_locale_raw_data): Likewise.
17054 (add_locale_raw_obstack): Likewise.
17055 (add_locale_string): Likewise.
17056 (add_locale_wstring): Likewise.
17057 (add_locale_uint32): Likewise.
17058 (add_locale_uint32_array): Likewise.
17059 (add_locale_char): Likewise.
17060 (start_locale_structure): Likewise.
17061 (end_locale_structure): Likewise.
17062 (start_locale_prelude): Likewise.
17063 (end_locale_prelude): Likewise.
17064 (write_locale_data): Take locale_file structure rather than an
17065 iovec.
17066 * locale/programs/locfile.h: Include "obstack.h".
17067 (struct locale_file): Change to store locale file contents instead
17068 of header.
17069 (init_locale_data): New prototype.
17070 (align_locale_data): Likewise.
17071 (add_locale_empty): Likewise.
17072 (add_locale_raw_data): Likewise.
17073 (add_locale_raw_obstack): Likewise.
17074 (add_locale_string): Likewise.
17075 (add_locale_wstring): Likewise.
17076 (add_locale_uint32): Likewise.
17077 (add_locale_uint32_array): Likewise.
17078 (add_locale_char): Likewise.
17079 (start_locale_structure): Likewise.
17080 (end_locale_structure): Likewise.
17081 (start_locale_prelude): Likewise.
17082 (end_locale_prelude): Likewise.
17083 (write_locale_data): Update prototype.
17084 * locale/programs/3level.h (struct TABLE): Remove result field.
17085 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17086 Use new locale_file interface.
17087 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17088 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17089 * locale/programs/ld-address.c (address_output): Use new
17090 locale_file interface.
17091 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17092 NO_ADD_LOCALE.
17093 (collate_finish): Don't call collseq_table_finalize.
17094 (collate_output): Use new locale_file interface.
17095 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17096 in file.
17097 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17098 (TABLE): Move defines earlier in file.
17099 (ELEMENT): Likewise.
17100 (DEFAULT): Likewise.
17101 (wctrans_table_add): Move macro and inline function earlier in
17102 file.
17103 (struct wctype_table): Move type earlier in file.
17104 (add_locale_wctype_table): New static prototype.
17105 (struct locale_ctype_t): Use logical types instead of struct iovec
17106 pointers for members.
17107 (ctype_output): Use new locale_file interface.
17108 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17109 new locale_file interface.
17110 (allocate_arrays): Update for use of new locale_file interface.
17111 * locale/programs/ld-identification.c (identification_output): Use
17112 new locale_file interface.
17113 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17114 * locale/programs/ld-messages.c (messages_output): Likewise.
17115 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17116 * locale/programs/ld-name.c (name_output): Likewise.
17117 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17118 * locale/programs/ld-paper.c (paper_output): Likewise.
17119 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17120 * locale/programs/ld-time.c (time_output): Likewise.
17121
e029e2e5
AZ
171222013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17123
17124 * benchtests/Makefile: Add memrchr benchmark.
17125 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17126 benchmark as memrchr.
17127 * benchtests/bench-memrchr-ifunc.c: New file.
17128 * benchtests/bench-memrchr.c: New file.
17129
bbf6e8e4
WN
171302013-09-06 Will Newton <will.newton@linaro.org>
17131
17132 * benchtests/Makefile (string-bench): Add memcpy.
17133
6c82a2f8
CD
171342013-09-05 Carlos O'Donell <carlos@redhat.com>
17135 Cong Wang <amwang@redhat.com>
17136
e732c5f0 17137 [BZ #15850]
6c82a2f8
CD
17138 * sysdeps/unix/sysv/linux/bits/in.h
17139 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17140 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17141 before __USE_KERNEL_IPV6_DEFS uses.
17142 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17143 IPPROTO_BEETPH.
17144 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17145 sockaddr_in6, or ipv6_mreq.
17146
5430fc65
AZ
171472013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17148
17149 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17150 memory access for final bytes in some large inputs.
17151 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17152
4660856c
AZ
171532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17154
17155 * string/test-memrchr.c: New file.
17156 * string/test-memrchr-ifunc.c: New file.
17157 * string/Makefile: Add new memrchr testcase.
17158
bb8ea713
MF
171592013-09-05 Mike Frysinger <vapier@gentoo.org>
17160
17161 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17162 fanotify_init returns EPERM.
17163
b92a20b5
JM
171642013-09-04 Joseph Myers <joseph@codesourcery.com>
17165
17166 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17167 errors.
17168 (top level): Treat second token from macro or constant entries for
17169 allowed headers as allowed.
17170 * include/complex.h: Condition internal declarations on
17171 [!_ISOMAC].
17172 * include/fenv.h: Condition include of <stdbool.h> and internal
17173 declarations on [!_ISOMAC].
7447ccd9
CL
17174
171752013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17176
3e181dda 17177 [BZ #15923]
7447ccd9
CL
17178 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17179
3f2e46a4
JM
171802013-09-04 Joseph Myers <joseph@codesourcery.com>
17181
17182 * configure.in (--enable-versioning): Remove configure option.
17183 (libc_cv_asm_symver_directive): Remove configure test.
17184 (libc_cv_ld_version_script_option): Likewise.
17185 (VERSIONING): Remove variable and AC_SUBST.
17186 (DO_VERSIONING): Remove AC_DEFINE.
17187 * configure: Regenerated.
17188 * config.h.in (DO_VERSIONING): Remove macro.
17189 * Makerules [$(versioning) = yes]: Change conditionals to
17190 [$(build-shared) = yes].
17191 * config.make.in (versioning): Remove variable.
17192 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17193 [$(build-shared) = yes].
17194 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17195 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17196 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17197 [$(build-shared) = yes].
17198 * extra-lib.mk [$(versioning) = yes]: Likewise.
17199 * hurd/Makefile [$(versioning) = yes]: Likewise.
17200 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17201 [SHARED].
17202 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17203 [SHARED].
17204 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17205 [SHARED && !NO_HIDDEN].
17206 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17207 [SHARED].
17208 [SHARED && DO_VERSIONING]: Likewise..
17209 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17210 [$(build-shared) = yes].
17211 * manual/install.texi (--disable-versioning): Remove
17212 documentation.
17213 * INSTALL: Regenerated.
17214 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17215 to [SHARED].
17216 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17217 [$(build-shared) = yes].
17218 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17219 * sysdeps/i386/i686/multiarch/strstr-c.c
17220 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17221 [SHARED && !NO_HIDDEN].
17222 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17223 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17224 * sysdeps/powerpc/powerpc32/dl-machine.c
17225 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17226 * sysdeps/powerpc/powerpc32/sysdep.h
17227 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17228 to [SHARED && PIC && !NO_HIDDEN].
17229 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17230 conditional to [SHARED].
17231
44558701
WN
172322013-09-04 Will Newton <will.newton@linaro.org>
17233
17234 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17235 * benchtests/bench-string.h: Include bench-timing.h instead
17236 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17237 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17238 call to HP_TIMING_DIFF_INIT.
17239 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17240 instead of hp-timing.h macros.
17241 * benchtests/bench-memchr.c: Likewise.
17242 * benchtests/bench-memcmp.c: Likewise.
17243 * benchtests/bench-memcpy.c: Likewise.
17244 * benchtests/bench-memmem.c: Likewise.
17245 * benchtests/bench-memmove.c: Likewise.
17246 * benchtests/bench-memset.c: Likewise.
17247 * benchtests/bench-rawmemchr.c: Likewise.
17248 * benchtests/bench-strcasecmp.c: Likewise.
17249 * benchtests/bench-strcasestr.c: Likewise.
17250 * benchtests/bench-strcat.c: Likewise.
17251 * benchtests/bench-strchr.c: Likewise.
17252 * benchtests/bench-strcmp.c: Likewise.
17253 * benchtests/bench-strcpy.c: Likewise.
17254 * benchtests/bench-strcpy_chk.c: Likewise.
17255 * benchtests/bench-strlen.c: Likewise.
17256 * benchtests/bench-strncasecmp.c: Likewise.
17257 * benchtests/bench-strncat.c: Likewise.
17258 * benchtests/bench-strncmp.c: Likewise.
17259 * benchtests/bench-strncpy.c: Likewise.
17260 * benchtests/bench-strnlen.c: Likewise.
17261 * benchtests/bench-strpbrk.c: Likewise.
17262 * benchtests/bench-strrchr.c: Likewise.
17263 * benchtests/bench-strspn.c: Likewise.
17264 * benchtests/bench-strstr.c: Likewise.
17265
cae16d66
WN
172662013-09-04 Will Newton <will.newton@linaro.org>
17267
17268 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17269
ffa3cd7f
JM
172702013-09-03 Joseph Myers <joseph@codesourcery.com>
17271
17272 [BZ #15427]
17273 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17274 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17275 * math/libm-test.inc (lgamma_test_data): Add more tests.
17276 * sysdeps/i386/fpu/libm-test-ulps: Update.
17277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17278
8f02859f
OB
172792013-09-03 Ondřej Bílka <neleai@seznam.cz>
17280
17281 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17283 Add ifunc.
17284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17285 Add strcmp-sse2-unaligned
17286 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17287
18d43716
MF
172882013-09-02 Mike Frysinger <vapier@gentoo.org>
17289
17290 * Versions.def (libc): Add GLIBC_2.19.
17291
ac444012
MF
172922013-09-02 Mike Frysinger <vapier@gentoo.org>
17293
17294 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17295 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17296
b7835e32
JM
172972013-09-02 Joseph Myers <joseph@codesourcery.com>
17298
17299 [BZ #14155]
17300 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17301 intermediate calculations in recurrence.
17302 (__ieee754_ynf): Likewise.
17303 * math/libm-test.inc (jn_test_data): Do not allow spurious
17304 underflow exception. Add more tests.
17305 (yn_test_data): Add more tests.
17306 * sysdeps/i386/fpu/libm-test-ulps: Update.
17307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17308
8220f4f0
OB
173092013-09-02 Ondřej Bílka <neleai@seznam.cz>
17310
17311 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17312
f24a6d08
OB
173132013-08-30 Ondřej Bílka <neleai@seznam.cz>
17314
17315 * csu/init-first.c: Fix then/than typos.
17316 * locale/programs/ld-collate.c: Likewise.
17317 * locale/programs/linereader.h: Likewise.
17318 * manual/charset.texi: Likewise.
17319 * manual/filesys.texi: Likewise.
17320 * manual/stdio.texi: Likewise.
17321 * manual/string.texi: Likewise.
17322 * stdlib/fmtmsg.c: Likewise.
17323 * sysdeps/i386/stpncpy.S: Likewise.
17324 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17325 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17326 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17327 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17328
382466e0
OB
173292013-08-30 Ondřej Bílka <neleai@seznam.cz>
17330
17331 * elf/dl-open.c: Fix typos.
17332 * iconvdata/gbbig5.c: Likewise.
17333 * iconvdata/iso-2022-jp.c: Likewise.
17334 * iconv/gconv_int.h: Likewise.
17335 * iconv/loop.c: Likewise.
17336 * nis/rpcsvc/nis.h: Likewise.
17337 * resolv/ns_name.c: Likewise.
17338 * stdio-common/vfscanf.c: Likewise.
17339 * streams/stropts.h: Likewise.
17340 * sunrpc/rpc_thread.c: Likewise.
17341 * sysdeps/i386/strpbrk.S: Likewise.
17342 * sysdeps/ieee754/k_standard.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17345 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17346 * sysdeps/mach/hurd/profil.c: Likewise.
17347 * sysdeps/s390/dl-procinfo.h: Likewise.
17348 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17349 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17350 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17351 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17352 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17353
0186c6e9
OB
173542013-08-30 Ondřej Bílka <neleai@seznam.cz>
17355
17356 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17358
d4e16af1
OB
173592013-08-29 Ondřej Bílka <neleai@seznam.cz>
17360
17361 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17362 aix specific files.
17363 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17364 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17365 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17366 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17367 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17368 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17369 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17370 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17371
88335980
TS
173722013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17373 Roland McGrath <roland@hack.frob.com>
17374
17375 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17376 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17377
ed479b02
ST
173782013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17379
17380 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17381 __executable_start symbol instead of _start.
17382
f1cc4c86
TS
173832013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17384
d821f07c
TS
17385 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17386 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17387 Move macros to...
17388 * sysdeps/gnu/ldsodefs.h: ... this new file.
17389
c54290cf
TS
17390 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17391 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17392 instead of ELFOSABI_LINUX.
17393
0007fc9b 17394 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17395 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17396 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17397 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17398 Likewise.
17399 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17400 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17401 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17402 Likewise.
17403 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17404 (ibm_extended_long_double): Add ieee_nan member.
17405 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17406 (do_test): New function.
17407
f1cc4c86
TS
17408 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17409 TEST_TRUNC.
17410 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17411 functions, renamed from truncdfsf_test, trunctfsf_test,
17412 trunctfdf_test.
17413 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17414 functions.
17415 (do_test): Run all these.
17416
6f65e668
OB
174172013-08-29 Ondřej Bílka <neleai@seznam.cz>
17418
17419 * argp/argp-help.c: Fix typos.
17420 * argp/argp-parse.c: Likewise.
17421 * debug/backtracesyms.c: Likewise.
17422 * elf/elf.h: Likewise.
17423 * malloc/malloc.c: Likewise.
17424 * nis/nis_print.c: Likewise.
17425 * resolv/res_comp.c: Likewise.
17426 * stdlib/stdlib.h: Likewise.
17427 * sunrpc/clnt_tcp.c: Likewise.
17428 * sunrpc/clnt_udp.c: Likewise.
17429 * sunrpc/clnt_unix.c: Likewise.
17430 * sysdeps/unix/bsd/ptsname.c: Likewise.
17431 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17432 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17434 Likewise.
17435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17436 Likewise.
17437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17438 Likewise.
6f65e668
OB
17439 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17440
3a309239
SP
174412013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17442
17443 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17445
3b813b29
MF
174462013-08-27 Mike Frysinger <vapier@gentoo.org>
17447
17448 [BZ #15897]
17449 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17450 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17451 ($(objpfx)bug-dl-leaf): New rule.
17452 ($(objpfx)bug-dl-leaf.so): Likewise.
17453 ($(objpfx)bug-dl-leaf.out): Likewise.
17454 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17455 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17456 * dlfcn/bug-dl-leaf.c: New test.
17457 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17458 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17459 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17460 (dlclose): Likewise.
17461 (dlmopen): Likewise.
17462
8cc3269f
RM
174632013-08-27 Roland McGrath <roland@hack.frob.com>
17464
7f9d0034
RM
17465 * include/netdb.h [!_ISOMAC]:
17466 Don't include <tls.h>.
17467 (h_errno, __libc_h_errno): Move declaration and macros out of
17468 [_LIBC_REENTRANT].
17469
fb431262
RM
17470 * include/resolv.h [_RESOLV_H_]:
17471 Don't include <tls.h>.
17472 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17473 * resolv/res_libc.c: Don't include <tls.h>.
17474 (_res): Use __attribute__ ((nocommon)) in place of
17475 __attribute__ ((section (".bss"))).
17476
bd81123a
RM
17477 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17478 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17479
c4e42566
RM
17480 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17481
f890a59b
RM
17482 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17483 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17484
17485 * resolv/res_mkquery.c: Include <sys/time.h>.
17486
5d1f0a09
RM
17487 * inet/ifreq.c: Moved to ...
17488 * sysdeps/unix/ifreq.c: ... here.
17489 * inet/ifreq.c: New file, true stub version.
17490
6fcf28b3
RM
17491 * socket/sa_len.c: New file.
17492 * socket/Makefile (aux): Add it.
17493 * sysdeps/unix/sysv/linux/Makefile
17494 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17495 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17496 and #include <socket/sa_len.c>.
17497 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17498 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17499
e041fb8b
RM
17500 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17501 * bits/socket.h: ... here.
17502
8cc3269f
RM
17503 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17504 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17505 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17506
5d228a43
AS
175072013-08-27 Andreas Schwab <schwab@suse.de>
17508
45b8accc
AS
17509 [BZ #15736]
17510 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17511 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17512 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17513 * string/test-strcasecmp.c (test_main): Run tests in several
17514 locales.
17515 * string/test-strncasecmp.c (test_main): Likewise.
17516
5d228a43
AS
17517 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17518 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17519 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17520 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17521 (__strncasecmp_ssse3) [PIC]: Likewise.
17522
59d112a4
RM
175232013-08-26 Roland McGrath <roland@hack.frob.com>
17524
53234cc3
RM
17525 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17526
59d112a4
RM
17527 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17528 instead of explicitly declaring xdecrypt.
17529 * nis/nss_nis/nis-publickey.c: Likewise.
17530
595aba70
SP
175312013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17532
17533 [BZ #15890]
17534 * nscd/aicache.c: Include res_hconf.h.
17535 (addhstaiX): Initialize res_hconf.
17536
ffabd393
AS
175372013-08-26 Andreas Schwab <schwab@suse.de>
17538
17539 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17540 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17541
e0a69f5c
SP
175422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17543
17544 * nscd/aicache.c (addhstaiX): Fix indentation.
17545
8c12f01d
MF
175462013-08-25 Mike Frysinger <vapier@gentoo.org>
17547
17548 * configure.ac: Quote $build_pt_chown test.
17549 * configure: Regenerated.
17550
8fe89494
JM
175512013-08-23 Joseph Myers <joseph@codesourcery.com>
17552
17553 [BZ #15532]
17554 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17555 * math/s_cexpf.c (__cexpf): Likewise.
17556 * math/s_cexpl.c (__cexpl): Likewise.
17557 * math/libm-test.inc (cexp_test_data): Correct expected return
17558 value for NaN + i0. Add another test.
17559
75b181d6
DM
175602013-08-22 David S. Miller <davem@davemloft.net>
17561
17562 * po/ca.po: Update Catalan translation from translation project.
936241e4 17563 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17564
acd06bb1
JM
175652013-08-21 Joseph Myers <joseph@codesourcery.com>
17566
17567 [BZ #15797]
17568 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17569 is infinite, not alongside NaN test.
17570 * math/s_fdimf.c (__fdimf): Likewise.
17571 * math/s_fdiml.c (__fdiml): Likewise.
17572 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17573 errno is unchanged.
17574
c0c3f78a
OB
175752013-08-21 Ondřej Bílka <neleai@seznam.cz>
17576
17577 * argp/argp-help.c: Fix typos.
17578 * crypt/speeds.c: Likewise.
17579 * csu/check_fds.c: Likewise.
17580 * elf/dl-load.c: Likewise.
17581 * elf/dl-open.c: Likewise.
17582 * elf/reldep3.c: Likewise.
17583 * elf/reldep.c: Likewise.
17584 * elf/sprof.c: Likewise.
17585 * iconv/iconv_charmap.c: Likewise.
17586 * iconv/skeleton.c: Likewise.
17587 * iconv/strtab.c: Likewise.
17588 * io/lockf64.c: Likewise.
17589 * libio/libioP.h: Likewise.
17590 * resolv/gai_notify.c: Likewise.
17591 * resolv/ns_name.c: Likewise.
17592 * resolv/ns_samedomain.c: Likewise.
17593 * resolv/res_send.c: Likewise.
17594 * stdlib/random.c: Likewise.
17595 * sunrpc/rpc/xdr.h: Likewise.
17596 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17597 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17598 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17599 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17601 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17602 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17603 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17604 * sysdeps/mach/hurd/check_fds.c: Likewise.
17605 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17606 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17607 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17609 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17610 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17611 * sysdeps/pthread/aio_notify.c: Likewise.
17612 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17613 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17614 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17615 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17616 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17617
46ed1038
LD
176182013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17619
17620 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17621 version if bit_Slow_SSE4_2 is set.
17622 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17623 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17624
d400dcac
AZ
176252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17626
17627 [BZ #15867]
17628 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17629 trampoline stack frame information.
17630 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17631 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17632 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17633 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17634 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17635 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17636 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17637 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17638 sa_flags value.
17639 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17640 interrupting a syscall and set with option SA_SIGINFO.
17641
42c8fdd8
JM
176422013-08-20 Joseph Myers <joseph@codesourcery.com>
17643
c980f2f4
JM
17644 [BZ #15531]
17645 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17646 argument is infinite.
17647 * math/s_cprojf.c (__cprojf): Likewise.
17648 * math/s_cprojl.c (__cprojl): Likewise.
17649 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17650 * math/libm-test.inc (cproj_test_data): Add more tests.
17651
0716c4fc
JM
17652 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17653
42c8fdd8
JM
17654 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17655 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17656 size. Use __ffs to determine corresponding shift.
17657
b31469d0
JM
176582013-08-20 Joseph Myers <joseph@codesourcery.com>
17659 Roland McGrath <roland@hack.frob.com>
17660
17661 * Makefile (INSTALL): Remove trailing blank lines from output of
17662 makeinfo.
17663
4e39af6e
AK
176642013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17665
17666 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17667 Align 32 bit compat elf_greg to 8 bytes.
17668
f315524e
AA
176692013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17670
17671 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17672
1326ba1a
SP
176732013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17674
17675 * string/strcoll_l.c (coll_seq): New structure.
17676 (get_next_seq_cached): New function.
17677 (get_next_seq): New function.
17678 (do_compare): New function.
17679 (STRCOLL): Use GNU style definition. Simplify implementation
17680 by using get_next_seq, get_next_seq_cached and do_compare.
17681
91ce4085
FW
176822013-08-16 Florian Weimer <fweimer@redhat.com>
17683
17684 [BZ #14699]
17685 CVE-2013-4237
17686 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17687 member.
17688 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17689 member.
17690 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17691 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17692 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17693 conditional.
17694 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17695 GETDENTS_64BIT_ALIGNED.
17696 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17697 * manual/filesys.texi (Reading/Closing Directory): Document
17698 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17699 strongly.
17700 * manual/conf.texi (Limits for Files): Add portability note to
17701 NAME_MAX, PATH_MAX.
17702 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17703
ca0a6bc4
AS
177042013-08-13 Andreas Schwab <schwab@suse.de>
17705
17706 [BZ #15749]
17707 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17708 of fabs.
17709 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17710 LDBL_MAX_EXP >= 16384]: Add tests for it.
17711
6c1fd795
DM
177122013-08-12 David S. Miller <davem@davemloft.net>
17713
17714 * version.h (RELEASE): Set to "development".
17715 (VERSION): Set to "2.18.90".
17716 * NEWS: Add 2.19 section.
17717
31ad488d
DM
177182013-08-03 David S. Miller <davem@davemloft.net>
17719
17720 * po/ko.po: Update Korean translation from translation project.
17721
db24e684
DM
177222013-08-01 David S. Miller <davem@davemloft.net>
17723
17724 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17725 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17726 Bilka.
17727
f723285b
DM
177282013-07-30 David S. Miller <davem@davemloft.net>
17729
17730 * po/fr.po: Update French translation from translation project.
17731
3cbc52db
DM
177322013-07-28 David S. Miller <davem@davemloft.net>
17733
30bbc0cc
DM
17734 * po/cs.po: Update Czech translation from translation project.
17735
3cbc52db
DM
17736 * po/sv.po: Update Swedish translation from translation project.
17737
d492e6d0
DM
177382013-07-27 David S. Miller <davem@davemloft.net>
17739
f1a7f492
DM
17740 * po/eo.po: Update Esperanto translation from translation project.
17741
90e62a4a
DM
17742 * po/vi.po: Update Vietnamese translation from translation project.
17743
d492e6d0
DM
17744 * po/de.po: Update German translation from translation project.
17745
d4baa62d
DM
177462013-07-26 David S. Miller <davem@davemloft.net>
17747
641aa7b4
DM
17748 * po/bg.po: Update Bulgarian translation from translation project.
17749
d4baa62d
DM
17750 * po/nl.po: Update Dutch translation from translation project.
17751 * po/pl.po: Update Polish translation from translation project.
17752 * po/ru.po: Update Russian translation from translation project.
17753
61a9dcb9
DM
177542013-07-24 David S. Miller <davem@davemloft.net>
17755
17756 * po/libc.pot: Update.
17757
7b1f8b58
AZ
177582013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17759
17760 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17761 variable page size.
17762 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17763 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17764 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17765
a8fc7a03
AK
177662013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17767
17768 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17769
e4608715
CD
177702013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17771 Andreas Schwab <schwab@suse.de>
17772 Roland McGrath <roland@hack.frob.com>
17773 Joseph Myers <joseph@codesourcery.com>
17774 Carlos O'Donell <carlos@redhat.com>
17775
17776 [BZ #15755]
17777 * config.h.in: Define HAVE_PT_CHOWN.
17778 * config.make.in (build-pt-chown): New variable.
17779 * configure.in (--enable-pt_chown): New configure option.
17780 * configure: Regenerate.
17781 * login/Makefile: Include Makeconfig. Build pt_chown only if
17782 build-pt-chown is enabled.
17783 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17784 pt_chown to fix pty ownership.
17785 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17786 CLOSE_ALL_FDS.
17787 * manual/install.texi (Configuring and compiling): Mention
17788 --enable-pt_chown. Add @findex for grantpt.
17789 * INSTALL: Regenerate.
17790
da2d62df
DM
177912013-07-20 David S. Miller <davem@davemloft.net>
17792
17793 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17794 difference between 32-bit and 64-bit.
17795
d7e06450
CD
177962013-07-15 Carlos O'Donell <carlos@redhat.com>
17797
17798 [BZ #15711]
17799 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17800 Avoid system header dependency with -ffreestanding.
17801 ($(objpfx)bits/syscall%d): Likewise.
17802
f959cfd7
DM
178032013-07-13 David S. Miller <davem@davemloft.net>
17804
17805 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17806 underflows from atanl/atan2l due to bug 15319.
17807 (casinh_test_data): Likewise.
17808
c61f8513
DM
178092013-07-07 David S. Miller <davem@davemloft.net>
17810
17811 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17812
72c90ed0
JA
178132013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17814
17815 * sysdeps/i386/fpu/libm-test-ulps: Update.
17816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17817
52dfbe13
SP
178182013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17819
17820 * configure.in (--enable-lock-elision): Fix message text.
17821 * INSTALL: Regenerate.
17822 * configure: Regenerate.
17823
3f169543
AZ
178242013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17825
17826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17827
521c6785
AJ
178282013-07-03 Andreas Jaeger <aj@suse.de>
17829
17830 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17831 define.
17832 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17833 (ptrace_peeksiginfo_args): Add.
17834 (__ptrace_peeksiginfo_flags): Add.
17835 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17836 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17838
d2cc15cb
AM
178392013-07-03 Allan McRae <allan@archlinux.org>
17840
17841 * sysdeps/i386/fpu/libm-test-ulps: Update.
17842
3aaeeca7
DM
178432013-07-02 David S. Miller <davem@davemloft.net>
17844
17845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17846
5314ed1a
MT
178472013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17848
17849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17850
67338156
JM
178512013-07-02 Joseph Myers <joseph@codesourcery.com>
17852
17853 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17855
1717da59
AK
178562013-07-02 Andi Kleen <ak@linux.intel.com>
17857
17858 * config.h.in (ENABLE_LOCK_ELISION): Add.
17859 * configure.in (--enable-lock-elision): Add option.
17860 * manual/install.texi: Document --enable lock elision.
17861 * configure: Regenerate
17862 * INSTALL: Regenerate.
17863
1c81621c
L
178642013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17865
17866 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17867 SSE4.2 strcasecmp for libc.a.
17868 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17869
77f01ab5
JM
178702013-07-02 Joseph Myers <joseph@codesourcery.com>
17871
17872 [BZ #13304]
17873 * soft-fp/op-common.h (_FP_FMA): New macro.
17874 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17875 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17876 (_FP_MUL_MEAT_1_imm): ... here.
17877 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17878 (_FP_MUL_MEAT_1_wide): ... here.
17879 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17880 (_FP_MUL_MEAT_1_hard): ... here.
17881 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17882 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17883 (_FP_MUL_MEAT_2_wide): ... here.
17884 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17885 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17886 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17887 (_FP_MUL_MEAT_2_gmp): ... here.
17888 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17889 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17890 (_FP_MUL_MEAT_4_wide): ... here.
17891 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17892 (_FP_MUL_MEAT_4_gmp): ... here.
17893 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17894 (_FP_WFRACBITS_DW_S): Likewise.
17895 (_FP_WFRACXBITS_DW_S): Likewise.
17896 (_FP_HIGHBIT_DW_S): Likewise.
17897 (FP_FMA_S): Likewise.
17898 (_FP_FRAC_HIGH_DW_S): Likewise.
17899 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17900 (_FP_WFRACBITS_DW_D): Likewise.
17901 (_FP_WFRACXBITS_DW_D): Likewise.
17902 (_FP_HIGHBIT_DW_D): Likewise.
17903 (FP_FMA_D): Likewise.
17904 (_FP_FRAC_HIGH_DW_D): Likewise.
17905 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17906 (_FP_WFRACBITS_DW_E): Likewise.
17907 (_FP_WFRACXBITS_DW_E): Likewise.
17908 (_FP_HIGHBIT_DW_E): Likewise.
17909 (FP_FMA_E): Likewise.
17910 (_FP_FRAC_HIGH_DW_E): Likewise.
17911 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17912 (_FP_WFRACBITS_DW_Q): Likewise.
17913 (_FP_WFRACXBITS_DW_Q): Likewise.
17914 (_FP_HIGHBIT_DW_Q): Likewise.
17915 (FP_FMA_Q): Likewise.
17916 (_FP_FRAC_HIGH_DW_Q): Likewise.
17917 * soft-fp/fmasf4.c: New file.
17918 * soft-fp/fmadf4.c: Likewise.
17919 * soft-fp/fmatf4.c: Likewise.
17920
6308fd9a
LD
179212013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17922
17923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17924 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17925 Silvermont.
17926 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17927 macro.
17928 (index_Slow_SSE4_2): Likewise.
17929 (index_Prefer_PMINUB_for_stringop): Likewise.
17930 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17931 bit_Slow_SSE4_2 is set.
17932 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17933 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17934
89cd9569
RA
179352013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17936
17937 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17938 rtld_global._dl_hwcap2.
17939 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17940 POWER8.
17941 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17942 POWER8 feature descriptions defined in _dl_hwcap2.
17943 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17944 string handling for POWER8 feature bits.
17945 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17946 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17947 _dl_powerpc_cap_flags.
17948 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17949 * sysdeps/powerpc/rtld-global-offsets.sym
17950 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17951 _dl_hwcap2 in the rtld_global_ro structure.
17952
1ae8bfe0
RA
179532013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17954
17955 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17956 hardware capabilities in support of AT_HWCAP2.
17957 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17958 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17959 GLRO(dl_hwcap2).
17960 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17961 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17962 explicitly the unknown a_type display mechanism is used.
17963 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17964 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17965 struct member.
17966 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17967 to macro prototype for AT_HWCAP2 support.
17968 * sysdeps/i386/dl-procinfo.h: Likewise.
17969 * sysdeps/s390/dl-procinfo.h: Likewise.
17970 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17971 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17972 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17973 return -1 for unknown a_type display fallback.
17974 * sysdeps/sparc/dl-procinfo.h: Likewise.
17975 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17976 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17977
8fbec010
JM
179782013-06-28 Joseph Myers <joseph@codesourcery.com>
17979
17980 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17981 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17982
0432680e
PY
179832013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17984
17985 [BZ #12492]
17986 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17987 mprotect making __stack_prot writable.
17988
ce61a2ad
NF
179892013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17990 Joseph Myers <joseph@codesourcery.com>
17991
17992 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17993 as being properly aligned.
17994
f91f1c0f
MR
179952013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17996
3d0f5d0c
MR
17997 * dlfcn/modstatic5.c: New file.
17998 * dlfcn/tststatic5.c: New file.
17999 * dlfcn/Makefile (tests): Add tststatic5.
18000 (tests-static): Likewise.
18001 (modules-names): Add modstatic5.
18002 (tststatic5-ENV): New variable.
18003 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18004
f91f1c0f
MR
18005 [BZ #15022]
18006 * elf/dl-support.c (_dl_main_map): New variable.
18007 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18008 (_dl_nns, _dl_load_adds): Set to 1.
18009 (_dl_initial_searchlist): Refer to _dl_main_map.
18010 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18011 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18012 call to _dl_get_origin.
18013 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18014 around call_map.
18015 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18016 * dlfcn/modstatic3.c: New file.
18017 * dlfcn/tststatic3.c: New file.
18018 * dlfcn/tststatic4.c: New file.
18019 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18020 (tests-static): Likewise.
18021 (modules-names): Add modstatic3.
18022 (tststatic3-ENV, tststatic4-ENV): New variables.
18023 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18024 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18025
cbe7d24b
JM
180262013-06-26 Joseph Myers <joseph@codesourcery.com>
18027
18028 * configure.in (CC): Require GCC version 4.4 or later.
18029 * configure: Regenerated.
18030 * manual/install.texi (Tools for Compilation): Update GCC version
18031 requirement.
18032 * INSTALL: Regenerated.
18033
11b8a0e1
LD
180342013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18035
18036 [BZ #15674]
bb5bb87c
L
18037 * string/test-memcmp.c (check2): New.
18038 (main): Call check2.
18039
11b8a0e1
LD
18040 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18041
b0037103
MR
180422013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18043
18044 [BZ #15022]
18045 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18046 over to...
18047 (dl_open_worker) [!SHARED]: ... here.
18048
c18c701d
RA
180492013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18050
18051 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18052
1d17fa5f
RH
180532013-06-25 Richard Henderson <rth@redhat.com>
18054
18055 * locale/programs/locarchive.c: Include <libc-internal.h>
18056
8fcb833a
JM
180572013-06-25 Joseph Myers <joseph@codesourcery.com>
18058
18059 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18060 trailing whitespace removed.
18061
17db6e8d
MF
180622013-06-24 Mike Frysinger <vapier@gentoo.org>
18063
18064 [BZ #10283]
17db6e8d
MF
18065 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18066 * locale/programs/locarchive.c: Include libc-mmap.h.
18067 (prepare_address_space): Take two new outputs (the mmap base and len).
18068 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18069 values.
18070 (create_archive): Declare new mmap base and len values for
18071 prepare_address_space, and store the result in ah.
18072 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18073 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18074 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18075 Declare new mmap base and len values for
18076 prepare_address_space, and store the result in new_ah.
18077 (open_archive): Declare new mmap base and len values for
18078 prepare_address_space, and store the result in ah.
18079 (close_archive): If ah->mmap_base is not NULL, use that and
18080 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18081 * sysdeps/generic/libc-mmap.h: New file.
18082
d605071e
MF
180832013-06-24 Mike Frysinger <vapier@gentoo.org>
18084
18085 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18086 (ALIGN_UP): Likewise.
18087 (PTR_ALIGN_DOWN): Likewise.
18088 (PTR_ALIGN_UP): Likewise.
18089
2f063a6e
RA
180902013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18091
18092 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18093 entry mapped to PPC_PLATFORM_POWER8.
18094 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18095 POWER8.
18096 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18097 (_dl_string_platform): Add case for exporting platform position for
18098 POWER8.
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18100 search path to sysdeps/powerpc/powerpc32/power8 directory.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18102 search path to sysdeps/powerpc/powerpc64/power8 directory.
18103 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18104 power7 directories.
18105 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18106 power7 directories.
18107
a31ee4b3
SP
181082013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18109
a74ca98f
SP
18110 * INSTALL: Regenerate.
18111
a31ee4b3
SP
18112 * nscd/connections.c (nscd_init): Fix comment.
18113
695c378f
JM
181142013-06-22 Joseph Myers <joseph@codesourcery.com>
18115
d8412221
JM
18116 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18117
695c378f
JM
18118 [BZ #15667]
18119 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18120 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18121
d1d54715
MR
181222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18123
18124 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18125 DL_DST_REQ_STATIC.
18126 (DL_DST_REQ_STATIC): Remove macro.
18127
8fdda7af
JM
181282013-06-21 Joseph Myers <joseph@codesourcery.com>
18129
18130 [BZ #7006]
18131 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18132 with a shift of 0 bits.
18133
f3bc5e5a
MR
181342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18135
18136 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18137 $(tststatic-ENV).
18138
be09e8c9
KK
181392013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18140
18141 [BZ #15655]
18142 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18143
85c2e611
AZ
181442013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18145
18146 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18147 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18148 accepts -fno-tree-loop-distribute-patterns.
18149 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18150 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18151 recursive call.
18152 * string/memset.c (memset): Likewise.
18153 * string/test-memmove.c (simple_memmove): Disable loop transformation
18154 to library calls.
18155 * string/test-memset.c (simple_memset): Likewise.
18156 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18157 * benchtests/bench-memset.c (simple_memset): Likewise.
18158 * configure: Regenerated.
18159
c91e0825
JM
181602013-06-20 Joseph Myers <joseph@codesourcery.com>
18161
b8c792af
JM
18162 * math/test-misc.c (main): Ignore fesetround failure when failures
18163 of subsequent rounding tests would be ignored.
18164
c91e0825
JM
18165 [BZ #15654]
18166 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18167 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18168 * math/fegetenv.c (__fegetenv): Return 0.
18169 * math/fegetexcept.c (fegetexcept): Return 0.
18170 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18171 FE_TONEAREST.
18172 * math/feholdexcpt.c (feholdexcept): Return 0.
18173 * math/fesetenv.c (__fesetenv): Return 0.
18174 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18175 argument FE_TONEAREST.
18176 * math/feupdateenv.c (__feupdateenv): Return 0.
18177 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18178
bfcacbde
RM
181792013-06-18 Roland McGrath <roland@hack.frob.com>
18180
18181 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18182 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18183 ($(objpfx)rtld-%.os rules): Use them.
18184
e55a9b25
AZ
181852013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18186
18187 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18188 fields.
18189
346d65b3
RM
181902013-06-17 Roland McGrath <roland@hack.frob.com>
18191
12086fb4
RM
18192 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18193 length of target pattern, then descending length of dependency pattern.
18194 * configure.in (AWK): Require gawk 3.1.2 or newer.
18195 * manual/install.texi (Tools for Compilation): Say that we do.
18196 * configure: Regenerated.
18197
346d65b3
RM
18198 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18199 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18200 * scripts/sysd-rules.awk: ... this new script.
18201 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18202 than a glob-style pattern.
18203
1a846317
JM
182042013-06-17 Joseph Myers <joseph@codesourcery.com>
18205
18206 * math/test-misc.c (main): Do not treat incorrectly rounded
18207 conversions as failure unless ROUNDING_TESTS passes.
18208
8fc75e6f
JM
182092013-06-15 Joseph Myers <joseph@codesourcery.com>
18210
3711a167
JM
18211 [BZ #15631]
18212 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18213 restore exception state around main square root computation, then
18214 check for inexactness explicitly.
18215
8fc75e6f
JM
18216 * math/libm-test.inc (fma_test_data): Add another test.
18217
61dd6208
SP
182182013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18219
adf23d2c
SP
18220 * manual/threads.texi (Non-POSIX Extensions): New document
18221 node. Document pthread_getattr_default_np and
18222 pthread_setattr_default_np.
18223
61dd6208
SP
18224 * Versions.def (libpthread): Add GLIBC_2.18.
18225 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18227 Likewise.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18229 Likewise.
18230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18231 Likewise.
18232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18233 Likewise.
18234 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18235 Likewise.
18236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18237 Likewise.
18238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18239 Likewise.
18240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18241 Likewise.
18242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18243 Likewise.
18244
d086fc7b
LD
182452013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18246
18247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18248 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18249
747ef469
SP
182502013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18251 H.J. Lu <hjl.tools@gmail.com>
18252
18253 [BZ #15627]
18254 * sysdeps/x86_64/rtld-memset.c: Remove file.
18255 * sysdeps/x86_64/rtld-memset.S: New file.
18256
1b2feed2
JM
182572013-06-14 Joseph Myers <joseph@codesourcery.com>
18258
18259 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18260 (test_in_one_mode): Take arguments for whether the rounding mode
18261 is supported for each floating-point type.
18262 (do_test): Pass new arguments to test_in_one_mode using
18263 ROUNDING_TESTS.
18264
a58ad3f8
RM
182652013-06-13 Roland McGrath <roland@hack.frob.com>
18266
18267 * posix/tst-waitid.c (do_test): Distinguish different instances of
18268 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18269 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18270 before entering the kernel for waitpid.
18271
c204ab28
SP
182722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18273
18274 * NEWS: Fix note on clock function precision. Text by Roland
18275 McGrath.
18276
f4a29fba
RM
182772013-06-13 Roland McGrath <roland@hack.frob.com>
18278
18279 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18280 it into place only when and if the sanity check passes.
18281
1f24b9ad
JM
182822013-06-13 Joseph Myers <joseph@codesourcery.com>
18283
18284 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18285 output for whether conversion result is exact. Take argument
18286 indicating whether type is IBM long double.
18287 (round_for_all): Change need_exact field to ibm_ld.
18288 * stdlib/tst-strtod-round.c (struct exactness): New type.
18289 (struct test): Change bool ld_ok field to struct exactness exact.
18290 (TEST): Update all definitions for change to field.
18291 (tests): Regenerate array contents.
18292 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18293 field value. Check for IBM long double here.
18294 (do_test): Update calls to test_in_one_mode.
18295
58206c68
SP
182962013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18297
18298 [BZ #12515]
18299 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18300 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18301
2d6f4c5b 183022013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18303
18304 [BZ #15605]
18305 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18306 generated by the compiler on loop optimizations.
18307 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18308 general definitions.
18309
94f2c076
JM
183102013-06-12 Joseph Myers <joseph@codesourcery.com>
18311
18312 * math/bug-nextafter.c: Include <math-tests.h>.
18313 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18314 the relevant type.
18315 * math/bug-nexttoward.c: Include <math-tests.h>.
18316 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18317 the relevant type.
18318 * math/test-misc.c: Include <math-tests.h>.
18319 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18320 the relevant type.
18321
e0e50a0a
AJ
183222013-06-12 Andreas Jaeger <aj@suse.de>
18323
18324 * po/ia.po: Update Interlingua translation from translation
18325 project.
18326
25061094
SP
183272013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18328
18329 * include/fenv.h: Include stdbool.h.
18330 (struct rm_ctx): New structure.
18331 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18332 Define macro.
18333 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18334 (SET_RESTORE_ROUNDF): Likewise.
18335 (SET_RESTORE_ROUNDL): Likewise.
18336 (SET_RESTORE_ROUND_NOEX): Likewise.
18337 (SET_RESTORE_ROUND_NOEXF): Likewise.
18338 (SET_RESTORE_ROUND_NOEXL): Likewise.
18339 (SET_RESTORE_ROUND_53BIT): Likewise.
18340 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18341 (libc_feresetround_noexf_ctx): Likewise.
18342 (libc_feresetround_noexl_ctx): Likewise.
18343 (libc_feholdsetround_53bit_ctx): Likewise.
18344 (libc_feresetround_53bit_ctx): Likewise.
18345 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18346 (libc_feholdexcept_setround_sse_ctx): New function.
18347 (libc_fesetenv_sse_ctx): Likewise.
18348 (libc_feupdateenv_sse_ctx): Likewise.
18349 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18350 (libc_feholdexcept_setround_387_ctx): Likewise.
18351 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18352 (libc_feholdsetround_387_prec_ctx): Likewise.
18353 (libc_feholdsetround_387_ctx): Likewise.
18354 (libc_feholdsetround_387_53bit_ctx): Likewise.
18355 (libc_feholdsetround_sse_ctx): Likewise.
18356 (libc_feresetround_sse_ctx): Likewise.
18357 (libc_feresetround_387_ctx): Likewise.
18358 (libc_feupdateenv_387_ctx): Likewise.
18359 (libc_feholdexcept_setroundf_ctx): Define macro.
18360 (libc_fesetenvf_ctx): Likewise.
18361 (libc_feupdateenvf_ctx): Likewise.
18362 (libc_feholdsetroundf_ctx): Likewise.
18363 (libc_feresetroundf_ctx): Likewise.
18364 (libc_feholdexcept_setround_ctx): Likewise.
18365 (libc_fesetenv_ctx): Likewise.
18366 (libc_feupdateenv_ctx): Likewise.
18367 (libc_feholdsetround_ctx): Likewise.
18368 (libc_feresetround_ctx): Likewise.
18369 (libc_feholdexcept_setroundl_ctx): Likewise.
18370 (libc_feupdateenvl_ctx): Likewise.
18371 (libc_feholdsetroundl_ctx): Likewise.
18372 (libc_feresetroundl_ctx): Likewise.
18373 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18374 (libc_feresetround_53bit_ctx): Likewise.
18375
59b30555
SP
183762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18377
18378 * locale/iso-639.def: Convert to UTF-8.
18379
f1d73d30
JM
183802013-06-11 Joseph Myers <joseph@codesourcery.com>
18381
18382 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18383 (EXCEPTION_TESTS_double): Likewise.
18384 (EXCEPTION_TESTS_long_double): Likewise.
18385 (EXCEPTION_TESTS): Likewise.
18386 * math/libm-test.inc (test_exceptions): Only test exceptions if
18387 EXCEPTION_TESTS (FLOAT).
18388
94aca5e7
SP
183892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18390
18391 * benchtests/Makefile (string-bench): Add strcpy_chk and
18392 stpcpy_chk.
18393 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18394 * benchtests/bench-stpcpy_chk.c: New file.
18395 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18396 * benchtests/bench-strcpy_chk.c: New file.
18397 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18398 code.
18399 (do_test): Likewise.
18400
fac0c5f2
RA
184012013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18402
18403 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18404 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18405 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18406 with tabs where appropriate.
18407 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18408 dl-procinfo.h.
18409 [PPC_PLATFORM_PPC440]: Likewise.
18410 [PPC_PLATFORM_PPC464]: Likewise.
18411 [PPC_PLATFORM_PPC476]: Likewise.
18412 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18413 ppc464, and ppc476 platform strings merging from ports/
18414 dl-procinfo.h.
18415
f22bc486
AS
184162013-06-11 Andreas Schwab <schwab@suse.de>
18417
18418 [BZ #14991]
18419 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18420 (from_ucs4_idx): Regenerate.
18421 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18422 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18423 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18424 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18425 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18426 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18427 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18428 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18429 from FROM_LOOP and TO_LOOP specific macros.
18430 (BODY): Handle combining characters.
18431 * iconvdata/BIG5HKSCS.irreversible: Update.
18432 * iconvdata/BIG5HKSCS.precomposed: New file.
18433 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18434 characters.
18435 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18436
c1f75dc3
SP
184372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18438
4eacded2
SP
18439 * include/sys/time.h: Fix indentation and add copyright header.
18440
fec799f8
SP
18441 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18442 (do_test): Likewise.
18443 * string/test-memchr.c (do_one_test): Likewise.
18444 (do_test): Likewise.
18445 * string/test-memcmp.c (do_one_test): Likewise.
18446 (do_test): Likewise.
18447 * string/test-memcpy.c (do_one_test): Likewise.
18448 (do_test): Likewise.
18449 * string/test-memmem.c (do_one_test): Likewise.
18450 (do_test): Likewise.
18451 (do_random_tests): Likewise.
18452 * string/test-memmove.c (do_one_test): Likewise.
18453 (do_test): Likewise.
18454 * string/test-memset.c (do_one_test): Likewise.
18455 (do_test): Likewise.
18456 * string/test-rawmemchr.c (do_one_test): Likewise.
18457 (do_test): Likewise.
18458 * string/test-strcasecmp.c (do_one_test): Likewise.
18459 (do_test): Likewise.
18460 * string/test-strcasestr.c (do_one_test): Likewise.
18461 (do_test): Likewise.
18462 * string/test-strcat.c (do_one_test): Likewise.
18463 (do_test): Likewise.
18464 * string/test-strchr.c (do_one_test): Likewise.
18465 (do_test): Likewise.
18466 * string/test-strcmp.c (do_one_test): Likewise.
18467 (do_test): Likewise.
18468 * string/test-strcpy.c (do_one_test): Likewise.
18469 (do_test): Likewise.
18470 * string/test-string.h: Likewise.
18471 (test_init): Likewise.
18472 * string/test-strlen.c (do_one_test): Likewise.
18473 (do_test): Likewise.
18474 * string/test-strncasecmp.c (do_one_test): Likewise.
18475 (do_test): Likewise.
18476 * string/test-strncat.c (do_one_test): Likewise.
18477 (do_test): Likewise.
18478 * string/test-strncmp.c (do_one_test): Likewise.
18479 (do_test_limit): Likewise.
18480 (do_test): Likewise.
18481 * string/test-strncpy.c (do_one_test): Likewise.
18482 (do_test): Likewise.
18483 * string/test-strnlen.c (do_one_test): Likewise.
18484 (do_test): Likewise.
18485 * string/test-strpbrk.c (do_one_test): Likewise.
18486 (do_test): Likewise.
18487 * string/test-strrchr.c (do_one_test): Likewise.
18488 (do_test): Likewise.
18489 * string/test-strspn.c (do_one_test): Likewise.
18490 (do_test): Likewise.
18491 * string/test-strstr.c (do_one_test): Likewise.
18492 (do_test): Likewise.
18493
97020474
SP
18494 * benchtests/Makefile (string-bench): Add string benchmarks.
18495 * benchtests/bench-bcopy-ifunc.c: New file.
18496 * benchtests/bench-bcopy.c: New file.
18497 * benchtests/bench-bzero-ifunc.c: New file.
18498 * benchtests/bench-bzero.c: New file.
18499 * benchtests/bench-memccpy-ifunc.c: New file.
18500 * benchtests/bench-memccpy.c: New file.
18501 * benchtests/bench-memchr-ifunc.c: New file.
18502 * benchtests/bench-memchr.c: New file.
18503 * benchtests/bench-memcmp-ifunc.c: New file.
18504 * benchtests/bench-memcmp.c: New file.
18505 * benchtests/bench-memmem-ifunc.c: New file.
18506 * benchtests/bench-memmem.c: New file.
18507 * benchtests/bench-memmove-ifunc.c: New file.
18508 * benchtests/bench-memmove.c: New file.
18509 * benchtests/bench-mempcpy-ifunc.c: New file.
18510 * benchtests/bench-mempcpy.c: New file.
18511 * benchtests/bench-memset-ifunc.c: New file.
18512 * benchtests/bench-memset.c: New file.
18513 * benchtests/bench-rawmemchr-ifunc.c: New file.
18514 * benchtests/bench-rawmemchr.c: New file.
18515 * benchtests/bench-stpcpy-ifunc.c: New file.
18516 * benchtests/bench-stpcpy.c: New file.
18517 * benchtests/bench-stpncpy-ifunc.c: New file.
18518 * benchtests/bench-stpncpy.c: New file.
18519 * benchtests/bench-strcasecmp-ifunc.c: New file.
18520 * benchtests/bench-strcasecmp.c: New file.
18521 * benchtests/bench-strcasestr-ifunc.c: New file.
18522 * benchtests/bench-strcasestr.c: New file.
18523 * benchtests/bench-strcat-ifunc.c: New file.
18524 * benchtests/bench-strcat.c: New file.
18525 * benchtests/bench-strchr-ifunc.c: New file.
18526 * benchtests/bench-strchr.c: New file.
18527 * benchtests/bench-strchrnul-ifunc.c: New file.
18528 * benchtests/bench-strchrnul.c: New file.
18529 * benchtests/bench-strcmp-ifunc.c: New file.
18530 * benchtests/bench-strcmp.c: New file.
18531 * benchtests/bench-strcpy-ifunc.c: New file.
18532 * benchtests/bench-strcpy.c: New file.
18533 * benchtests/bench-strcspn-ifunc.c: New file.
18534 * benchtests/bench-strcspn.c: New file.
18535 * benchtests/bench-strlen-ifunc.c: New file.
18536 * benchtests/bench-strlen.c: New file.
18537 * benchtests/bench-strncasecmp-ifunc.c: New file.
18538 * benchtests/bench-strncasecmp.c: New file.
18539 * benchtests/bench-strncat-ifunc.c: New file.
18540 * benchtests/bench-strncat.c: New file.
18541 * benchtests/bench-strncmp-ifunc.c: New file.
18542 * benchtests/bench-strncmp.c: New file.
18543 * benchtests/bench-strncpy-ifunc.c: New file.
18544 * benchtests/bench-strncpy.c: New file.
18545 * benchtests/bench-strnlen-ifunc.c: New file.
18546 * benchtests/bench-strnlen.c: New file.
18547 * benchtests/bench-strpbrk-ifunc.c: New file.
18548 * benchtests/bench-strpbrk.c: New file.
18549 * benchtests/bench-strrchr-ifunc.c: New file.
18550 * benchtests/bench-strrchr.c: New file.
18551 * benchtests/bench-strspn-ifunc.c: New file.
18552 * benchtests/bench-strspn.c: New file.
18553 * benchtests/bench-strstr-ifunc.c: New file.
18554 * benchtests/bench-strstr.c: New file.
18555
c1f75dc3
SP
18556 * benchtests/Makefile: Disable parallel execution of targets.
18557 (string-bench): Add memcpy.
18558 (benchset): New variable to store a list of benchmark sets.
18559 (bench-func): Renamed from bench.
18560 (bench-set): New target.
18561 (bench): Depend on bench-func and bench-set.
18562 * benchtests/README: Add section on benchmark sets.
18563 * benchtests/bench-memcpy-ifunc.c: New file.
18564 * benchtests/bench-memcpy.c: New file.
18565 * benchtests/bench-string.h: New file.
18566
50fd745b
AS
185672013-06-11 Andreas Schwab <schwab@suse.de>
18568
18569 [BZ #15577]
18570 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18571 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18572 values in the triple.
18573 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18574 terminator in the group key.
18575
3ee7e9fe
AJ
185762013-06-11 Andreas Jaeger <aj@suse.de>
18577
18578 * po/zh_TW.po: Update Chinese (traditional) translation from
18579 translation project.
18580
89fb6835
SP
185812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18582
18583 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18584 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18585 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18586 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18587 (clock_getcpuclockid): Likewise.
18588 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18589 Add weak_alias and libc_hidden_def.
18590 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18591 * rt/clock_gettime.c (clock_gettime): Rename to
18592 __clock_gettime. Add weak_alias and libc_hidden_def.
18593 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18594 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18595 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18596 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18597 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18598 Likewise.
18599 * rt/clock_settime.c (clock_settime): Rename to
18600 __clock_settime. Add weak_alias and libc_hidden_def.
18601 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18602
0efa6f8b
JM
186032013-06-10 Joseph Myers <joseph@codesourcery.com>
18604
b8c61b4b
JM
18605 * mach/err_boot.sub: Remove trailing whitespace.
18606 * mach/err_ipc.sub: Likewise.
18607 * mach/err_mach.sub: Likewise.
18608
0efa6f8b
JM
18609 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18610 (ROUNDING_TESTS_double): Likewise.
18611 (ROUNDING_TESTS_long_double): Likewise.
18612 (ROUNDING_TESTS): Likewise.
18613 * math/libm-test.inc: Include <math-tests.h>.
18614 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18615 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18616 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18617 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18618
50b818bf
SP
186192013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18620
18621 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18622 of assigning.
18623
60d2f8f3
JM
186242013-06-08 Joseph Myers <joseph@codesourcery.com>
18625
4902d2c3
JM
18626 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18627 otherwise empty TRANS lines.
18628 * sysdeps/gnu/errlist.c: Regenerated.
18629
60d2f8f3
JM
18630 * catgets/gencat.c (error_print): Use (void) in function
18631 definition.
18632 * crypt/crypt_util.c (__init_des): Likewise.
18633 * crypt/speeds.c (Stop): Likewise.
18634 (main): Likewise.
18635 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18636 * inet/ruserpass.c (token): Likewise.
18637 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18638 * intl/localealias.c (extend_alias_table): Likewise.
18639 * intl/plural-exp.c (init_germanic_plural): Likewise.
18640 * libio/fcloseall.c (__fcloseall): Likewise.
18641 * libio/genops.c (_IO_flush_all): Likewise.
18642 (_IO_flush_all_linebuffered): Likewise.
18643 (_IO_cleanup): Likewise.
18644 (_IO_iter_begin): Likewise.
18645 (_IO_iter_end): Likewise.
18646 (_IO_list_lock): Likewise.
18647 (_IO_list_unlock): Likewise.
18648 (_IO_list_resetlock): Likewise.
18649 * libio/getchar.c (getchar): Likewise.
18650 * libio/getchar_u.c (getchar_unlocked): Likewise.
18651 * libio/getwchar.c (getwchar): Likewise.
18652 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18653 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18654 * login/getpt.c (__getpt): Likewise.
18655 * login/tst-utmp.c (main): Likewise.
18656 * malloc/hooks.c (__malloc_check_init): Likewise.
18657 * malloc/malloc.c (__malloc_stats): Likewise.
18658 * malloc/mtrace.c (tr_break): Likewise.
18659 (mtrace): Likewise.
18660 (muntrace): Likewise.
18661 * misc/fstab.c (endfsent): Likewise.
18662 * misc/getclktck.c (__getclktck): Likewise.
18663 * misc/getdtsz.c (__getdtablesize): Likewise.
18664 * misc/gethostid.c (gethostid): Likewise.
18665 * misc/getpagesize.c (__getpagesize): Likewise.
18666 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18667 (__get_nprocs): Likewise.
18668 (__get_phys_pages): Likewise.
18669 (__get_avphys_pages): Likewise.
18670 * misc/getttyent.c (getttyent): Likewise.
18671 (setttyent): Likewise.
18672 (endttyent): Likewise.
18673 * misc/getusershell.c (getusershell): Likewise.
18674 (endusershell): Likewise.
18675 (setusershell): Likewise.
18676 (initshells): Likewise.
18677 * misc/hsearch.c (__hdestroy): Likewise.
18678 * misc/sync.c (sync): Likewise.
18679 * misc/syslog.c (closelog_internal): Likewise.
18680 (closelog): Likewise.
18681 * misc/ttyslot.c (ttyslot): Likewise.
18682 * misc/vhangup.c (vhangup): Likewise.
18683 * posix/fork.c (__fork): Likewise.
18684 * posix/getegid.c (__getegid): Likewise.
18685 * posix/geteuid.c (__geteuid): Likewise.
18686 * posix/getgid.c (__getgid): Likewise.
18687 * posix/getpid.c (__getpid): Likewise.
18688 * posix/getppid.c (__getppid): Likewise.
18689 * posix/getuid.c (__getuid): Likewise.
18690 * posix/pause.c (pause): Likewise.
18691 * posix/setpgrp.c (setpgrp): Likewise.
18692 * posix/setsid.c (__setsid): Likewise.
18693 * posix/test-vfork.c (noop): Likewise.
18694 * resolv/gethnamaddr.c (_endhtent): Likewise.
18695 (_gethtent): Likewise.
18696 (ht_endhostent): Likewise.
18697 (gethostent): Likewise.
18698 (dns_service): Likewise.
18699 * stdlib/drand48.c (drand48): Likewise.
18700 * stdlib/lrand48.c (lrand48): Likewise.
18701 * stdlib/mrand48.c (mrand48): Likewise.
18702 * stdlib/rand.c (rand): Likewise.
18703 * stdlib/random.c (__random): Likewise.
18704 * stdlib/setenv.c (clearenv): Likewise.
18705 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18706 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18707 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18708 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18709 (__get_nprocs): Likewise.
18710 (__get_phys_pages): Likewise.
18711 (__get_avphys_pages): Likewise.
18712 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18713 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18714 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18715 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18716 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18717 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18718 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18719 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18720 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18721 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18722 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18723 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18724 * sysdeps/posix/clock.c (clock): Likewise.
18725 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18726 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18727 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18728 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18729 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18730 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18731 (__get_nprocs_conf): Likewise.
18732 (__get_phys_pages): Likewise.
18733 (__get_avphys_pages): Likewise.
18734 * time/clock.c (clock): Likewise.
18735 * time/tzset.c (__tzname_max): Likewise.
18736
2e09a79a
JM
187372013-06-07 Joseph Myers <joseph@codesourcery.com>
18738
18739 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18740 (__bswap_32): Do not use "register".
18741 * crypt/crypt.c (_ufc_doit_r): Likewise.
18742 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18743 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18744 * gmon/gmon.c (__monstartup): Likewise.
18745 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18746 * hurd/hurdmalloc.c (more_memory): Likewise.
18747 (malloc): Likewise.
18748 (free): Likewise.
18749 (realloc): Likewise.
18750 (malloc_fork_prepare): Likewise.
18751 (malloc_fork_parent): Likewise.
18752 (malloc_fork_child): Likewise.
18753 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18754 (_svcauth_des): Likewise.
18755 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18756 * inet/inet_net.c (inet_network): Likewise.
18757 * inet/inet_netof.c (inet_netof): Likewise.
18758 * inet/rcmd.c (__validuser2_sa): Likewise.
18759 * io/fts.c (fts_open): Likewise.
18760 (fts_load): Likewise.
18761 (fts_close): Likewise.
18762 (fts_read): Likewise.
18763 (fts_children): Likewise.
18764 (fts_build): Likewise.
18765 (fts_stat): Likewise.
18766 (fts_sort): Likewise.
18767 (fts_alloc): Likewise.
18768 (fts_lfree): Likewise.
18769 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18770 (_IO_file_xsgetn): Likewise.
18771 (_IO_file_xsgetn_mmap): Likewise.
18772 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18773 (_IO_cookie_write): Likewise.
18774 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18775 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18776 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18777 * malloc/obstack.c (_obstack_begin): Likewise.
18778 (_obstack_begin_1): Likewise.
18779 (_obstack_newchunk): Likewise.
18780 (_obstack_allocated_p): Likewise.
18781 (obstack_free): Likewise.
18782 (_obstack_memory_used): Likewise.
18783 * misc/getttyent.c (getttynam): Likewise.
18784 (getttyent): Likewise.
18785 (skip): Likewise.
18786 (value): Likewise.
18787 * misc/getusershell.c (initshells): Likewise.
18788 * misc/syslog.c (__vsyslog_chk): Likewise.
18789 * misc/ttyslot.c (ttyslot): Likewise.
18790 * nis/nis_hash.c (__nis_hash): Likewise.
18791 * posix/fnmatch_loop.c (FCT): Likewise.
18792 * posix/getconf.c (print_all): Likewise.
18793 (main): Likewise.
18794 * posix/getopt.c (exchange): Likewise.
18795 * posix/glob.c (globfree): Likewise.
18796 (prefix_array): Likewise.
18797 (__glob_pattern_type): Likewise.
18798 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18799 (NS_GET32): Likewise.
18800 (NS_PUT16): Likewise.
18801 (NS_PUT32): Likewise.
18802 * resolv/gethnamaddr.c (getanswer): Likewise.
18803 (gethostbyname2): Likewise.
18804 (gethostbyaddr): Likewise.
18805 (_gethtent): Likewise.
18806 (_gethtbyname2): Likewise.
18807 (_gethtbyaddr): Likewise.
18808 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18809 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18810 * resolv/res_init.c (__res_vinit): Likewise.
18811 (net_mask): Likewise.
18812 * resolv/res_mkquery.c (outchar): Likewise.
18813 (PRINT): Likewise.
18814 * stdio-common/printf_fp.c (outchar): Likewise.
18815 (PRINT): Likewise.
18816 * stdio-common/printf_fphex.c (outchar): Likewise.
18817 (PRINT): Likewise.
18818 * stdio-common/printf_size.c (outchar): Likewise.
18819 (PRINT): Likewise.
18820 * stdio-common/test_rdwr.c (main): Likewise.
18821 * stdio-common/tfformat.c (matches): Likewise.
18822 * stdio-common/vfprintf.c (outchar): Likewise.
18823 (printf_unknown): Likewise.
18824 (buffered_vfprintf): Likewise.
18825 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18826 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18827 (ReadFile): Likewise.
18828 * stdlib/qsort.c (SWAP): Likewise.
18829 (_quicksort): Likewise.
18830 * stdlib/setenv.c (__add_to_environ): Likewise.
18831 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18832 * stdlib/strtol_l.c (__strtol_l): Likewise.
18833 * stdlib/tst-strtod.c (main): Likewise.
18834 * stdlib/tst-strtol.c (main): Likewise.
18835 * stdlib/tst-strtoll.c (main): Likewise.
18836 * string/bits/string2.h (__strcmp_cc): Likewise.
18837 (__strcmp_cg): Likewise.
18838 (__strcspn_c1): Likewise.
18839 (__strcspn_c2): Likewise.
18840 (__strcspn_c3): Likewise.
18841 (__strspn_c1): Likewise.
18842 (__strspn_c2): Likewise.
18843 (__strspn_c3): Likewise.
18844 (__strsep_1c): Likewise.
18845 (__strsep_2c): Likewise.
18846 (__strsep_3c): Likewise.
18847 * string/memccpy.c (__memccpy): Likewise.
18848 * string/stpcpy.c (__stpcpy): Likewise.
18849 * string/strcmp.c (strcmp): Likewise.
18850 * string/strrchr.c (strrchr): Likewise.
18851 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18852 Likewise.
18853 * sysdeps/mach/hurd/getcwd.c
18854 (_hurd_canonicalize_directory_name_internal): Likewise.
18855 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18856 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18857 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18858 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18859 Likewise, in both definitions.
18860 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18861 definitions.
18862 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18863 64] (__bswap_64): Likewise.
18864 * time/test_time.c (main): Likewise.
18865 * time/tzfile.c (__tzfile_read): Likewise.
18866 (__tzfile_compute): Likewise.
18867 * time/tzset.c (__tzset_parse_tz): Likewise.
18868 (tzset_internal): Likewise.
18869 (compute_change): Likewise.
18870 * wcsmbs/wcscat.c (__wcscat): Likewise.
18871 * wcsmbs/wcschr.c (wcschr): Likewise.
18872 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18873 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18874 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18875 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18876 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18877 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18878 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18879 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18880 * wcsmbs/wmemset.c (wmemset): Likewise.
18881
9e54314b
JM
188822013-06-06 Joseph Myers <joseph@codesourcery.com>
18883
18884 * scripts/config.guess: Update to version 2013-05-16.
18885 * scripts/config.sub: Update to version 2013-04-24.
18886 * scripts/install-sh: Update to version 2011-11-20.07.
18887 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18888 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18889
350635a5
OB
188902013-06-06 Ondřej Bílka <neleai@seznam.cz>
18891
18892 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18893 * elf/sln.c: Likewise.
18894 * hurd/hurd/ioctl.h: Likewise.
18895 * hurd/hurdmalloc.c: Likewise.
18896 * hurd/xattr.c: Likewise.
18897 * include/shlib-compat.h: Likewise.
18898 * inet/ruserpass.c: Likewise.
18899 * libio/iofgets_u.c: Likewise.
18900 * libio/iofgetws_u.c: Likewise.
18901 * locale/programs/ld-identification.c: Likewise.
18902 * locale/programs/ld-time.c: Likewise.
18903 * mach/msg-destroy.c: Likewise.
18904 * nss/nss_files/files-netgrp.c: Likewise.
18905 * resolv/res_data.c: Likewise.
18906 * soft-fp/op-1.h: Likewise.
18907 * soft-fp/op-2.h: Likewise.
18908 * soft-fp/op-4.h: Likewise.
18909 * soft-fp/op-common.h: Likewise.
18910 * stdio-common/printf_fphex.c: Likewise.
18911 * stdlib/strtod_l.c: Likewise.
18912 * sunrpc/rpc/clnt.h: Likewise.
18913 * sysdeps/generic/framestate.c: Likewise.
18914 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18915 * sysdeps/i386/bsd-setjmp.S: Likewise.
18916 * sysdeps/i386/__longjmp.S: Likewise.
18917 * sysdeps/i386/setjmp.S: Likewise.
18918 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18919 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18920 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18936 * sysdeps/ieee754/support.c: Likewise.
18937 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18938 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18939 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18940 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18941 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18942 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18943 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18944 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18945 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18946 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18947 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18948 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18949 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18950 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18951 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18952 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18953 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18955
44a988af
OB
189562013-06-05 Ondřej Bílka <neleai@seznam.cz>
18957
25506f09 18958 * posix/transbug.c: Remove executable mode.
44a988af 18959
9c84384c
JM
189602013-06-05 Joseph Myers <joseph@codesourcery.com>
18961
18962 * crypt/speeds.c: Remove trailing whitespace.
18963 * dlfcn/default.c: Likewise.
18964 * elf/ifuncdep2.c: Likewise.
18965 * elf/ifuncmain1.c: Likewise.
18966 * elf/ifuncmain1vis.c: Likewise.
18967 * elf/testobj.h: Likewise.
18968 * elf/tst-stackguard1.c: Likewise.
18969 * gmon/sys/gmon.h: Likewise.
18970 * hurd/hurdmsg.c: Likewise.
18971 * hurd/new-fd.c: Likewise.
18972 * hurd/ports-get.c: Likewise.
18973 * iconvdata/ibm1008_420.c: Likewise.
18974 * inet/tst-getni1.c: Likewise.
18975 * inet/tst-getni2.c: Likewise.
18976 * libio/ioungetc.c: Likewise.
18977 * libio/wfiledoalloc.c: Likewise.
18978 * manual/libm-err-tab.pl: Likewise.
18979 * math/w_dremf.c: Likewise.
18980 * misc/ftruncate.c: Likewise.
18981 * posix/bug-glob2.c: Likewise.
18982 * posix/tst-pcre.c: Likewise.
18983 * posix/wait4.c: Likewise.
18984 * resolv/README: Likewise.
18985 * resolv/res_debug.h: Likewise.
18986 * resolv/tst-inet_ntop.c: Likewise.
18987 * setjmp/bug269-setjmp.c: Likewise.
18988 * soft-fp/extended.h: Likewise.
18989 * soft-fp/op-1.h: Likewise.
18990 * soft-fp/op-2.h: Likewise.
18991 * soft-fp/op-4.h: Likewise.
18992 * soft-fp/op-8.h: Likewise.
18993 * soft-fp/testit.c: Likewise.
18994 * stdio-common/bug16.c: Likewise.
18995 * stdlib/random.c: Likewise.
18996 * sunrpc/rpcsvc/rquota.x: Likewise.
18997 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18998 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18999 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19000 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19001 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19002 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19003 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19004 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19005 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19006 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19007 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19024 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19025 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19026 * sysdeps/ieee754/s_lib_version.c: Likewise.
19027 * sysdeps/mach/hurd/check_fds.c: Likewise.
19028 * sysdeps/mach/hurd/getsockname.c: Likewise.
19029 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19030 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19031 * sysdeps/powerpc/bits/link.h: Likewise.
19032 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19033 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19034 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19035 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19036 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19037 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19038 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19039 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19040 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19041 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19042 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19043 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19044 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19045 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19046 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19047 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19048 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19049 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19050 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19051 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19052 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19053 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19054 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19055 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19056 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19057 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19058 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19059 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19060 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19061 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19062 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19063 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19065 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19066 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19067 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19068 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19069 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19070 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19071 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19072 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19073 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19074 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19075 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19076 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19077 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19078 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19079 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19080 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19081 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19082 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19084 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19085 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19086 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19087 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19088 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19089 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19090 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19091 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19092 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19093 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19094 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19095 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19096 * sysdeps/powerpc/sysdep.h: Likewise.
19097 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19098 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19099 * sysdeps/sh/dl-trampoline.S: Likewise.
19100 * sysdeps/sh/memset.S: Likewise.
19101 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19102 * sysdeps/sh/strlen.S: Likewise.
19103 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19104 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19105 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19106 * sysdeps/sparc/sparc32/rem.S: Likewise.
19107 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19108 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19109 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19110 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19111 * sysdeps/sparc/sparc32/urem.S: Likewise.
19112 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19113 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19114 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19115 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19116 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19117 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19118 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19119 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19120 * sysdeps/unix/bsd/times.c: Likewise.
19121 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19122 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19126 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19127 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19128 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19129 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19130 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19131 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19132 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19133 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19134 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19135 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19136 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19137 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19138 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19139 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19140 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19141 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19142 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19143 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19144 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19145 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19146 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19147 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19148 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19149 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19150 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19151 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19152 * sysdeps/x86_64/strcspn.S: Likewise.
19153
869378a5
RA
191542013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19155
19156 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19157 generated file. Regenerate properly from gen-translit.pl.
19158 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19159 locale/C-translit.h.
19160
840e2943
AS
191612013-06-05 Andreas Schwab <schwab@suse.de>
19162
19163 [BZ #15100]
19164 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19165 week as 6 instead of -1.
19166 * time/tst-strptime.c (day_tests): Add test case.
19167
4c60cb0c
SP
191682013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19169
19170 * sysdeps/generic/math_private.h
19171 (libc_feholdexcept_setround_53bit): Replace with
19172 libc_feholdsetround_53bit.
19173 (libc_feupdateenv_53bit): Replace with
19174 libc_feresetround_53bit.
19175 (SET_RESTORE_ROUND_53BIT): Adjust.
19176
d180203e
SP
191772013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19178
96df079a
SP
19179 * string/test-strchrnul.c: Add copyright header.
19180
d180203e
SP
19181 * posix/tst-getaddrinfo4.c: Increase test timeout.
19182
8b0ccb2d
CD
191832013-06-03 Carlos O'Donell <carlos@redhat.com>
19184
19185 [BZ #15536]
19186 * math/libm-test.inc (MAX_EXP): Remove
19187 (MIN_EXP): Define.
19188 (ulp): Use MIN_EXP - MANT_DIG.
19189 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19190
3b3c4d40
CD
191912013-05-31 Carlos O'Donell <carlos@redhat.com>
19192
19193 * po/be.po: Revert last change.
19194 * po/zh_CN.po: Likewise.
19195 * po/header.pot: Likewise.
19196
fab7ce3f
JM
191972013-05-31 Joseph Myers <joseph@codesourcery.com>
19198
19199 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19200 link-libc-deps to empty as target-specific variable.
19201 * Makerules (link-libc-args): New variable.
19202 (libc-for-link): Likewise.
19203 (link-libc-deps): Likewise.
19204 (lib%.so): Depend on $(link-libc-deps). Link with
19205 $(link-libc-args).
19206 (build-module): Link with $(link-libc-args).
19207 (build-module-asneeded): Likewise.
19208 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19209 list of objects.
19210 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19211 target-specific variable.
19212 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19213 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19214 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19215 libc.
19216 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19217 libc and ld.so.
19218 ($(objpfx)libpcprofile.so): Likewise.
19219 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19220 libc_nonshared.a.
19221 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19222 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19223 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19224 $(link-libc-deps).
19225 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19226 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19227 * login/Makefile ($(objpfx)libutil.so): Likewise.
19228 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19229 * math/Makefile ($(objpfx)libm.so): Likewise.
19230 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19231 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19232 variable instead of depending directly on libc.
19233 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19234 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19235 $(link-libc-deps).
19236 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19237 libc.
19238 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19239 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19240 ($(objpfx)libanl.so): Likewise.
19241 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19242 ld.so.
19243 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19244 $(link-libc-deps).
19245 * sysdeps/i386/fpu/Makefile: Remove file.
19246 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19247 ($(objpfx)libm.so): Remove dependency on ld.so.
19248
eca5920c
PF
192492013-05-30 Patsy Franklin <pfrankli@redhat.com>
19250
19251 [BZ # 15553]
19252 * nis/yp_xdr.c (XDRMAXNAME): Define.
19253 (XDRMAXRECORD): Define.
19254 (xdr_domainname): Use XDRMAXNAME.
19255 (xdr_mapname): Likewise.
19256 (xdr_peername): Likewise.
19257 (xdr_keydat): Use XDRMAXRECORD.
19258 (xdr_valdat): Likewise.
19259
192602013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19261
19262 [BZ #14256]
19263 * manual/errno.texi (ESTALE): Update to account for more than
19264 just NFS file systems.
19265 * sysdeps/gnu/errlist.c: Regenerated.
19266
b9375348
SP
192672013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19268
19269 [BZ #15465]
19270 * elf/Makefile (tests): Add tst-null-argv.
19271 (modules-names): Add tst-null-argv-lib.
19272 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19273 (tst-null-argv-ENV): Set environment for tst-null-argv.
19274 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19275 (RTLD_PROGNAME): New macro.
19276 * elf/tst-null-argv.c: New test case.
19277 * elf/tst-null-argv-lib.c: Library for test case.
19278 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19279 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19280 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19281 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19282 * elf/dl-init.c (call_init): Likewise.
19283 (_dl_init): Likewise.
19284 * elf/dl-load.c (print_search_path): Likewise.
19285 (_dl_map_object): Likewise.
19286 * elf/dl-lookup.c (do_lookup_x): Likewise.
19287 (add_dependency): Likewise.
19288 (_dl_lookup_symbol_x): Likewise.
19289 (_dl_debug_bindings): Likewise.
19290 * elf/dl-open.c (_dl_show_scope): Likewise.
19291 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19292 * elf/dl-version.c (match_symbol): Likewise.
19293 (_dl_check_map_versions): Likewise.
19294 * elf/rtld.c (dl_main): Likewise.
19295 (print_unresolved): Use RTLD_PROGNAME.
19296 (print_missing_version): Likewise.
19297 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19298 (elf_machine_rela): Likewise.
19299 * sysdeps/powerpc/powerpc32/dl-machine.c
19300 (__process_machine_rela): Likewise.
19301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19302 Likewise.
19303 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19304 Likewise.
19305 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19306 Likewise.
19307 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19308 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19309 Likewise.
19310 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19311 Likewise.
19312 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19313
8a9f20c8
CD
193142013-05-28 Carlos O'Donell <carlos@redhat.com>
19315
19316 * po/be.po: Add descriptive title.
19317 * po/zh_CN.po: Likewise.
19318 * po/header.pot: Likewise.
19319
0e60d68e
MF
193202013-05-28 Mike Frysinger <vapier@gentoo.org>
19321
19322 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19323 error message.
19324 (enlarge_archive): Likewise.
19325
56b672e9
BN
193262013-05-28 Ben North <ben@redfrontdoor.org>
19327
19328 * manual/arith.texi (frexp): It is the magnitude of the return
19329 value which lies in [0.5, 1), not the return value itself.
19330
5e056687
AZ
193312013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19332
19333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19334
2b66ef5d
TS
193352013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19336
528c2405
TS
19337 * stdio-common/bug26.c (main): Correct fscanf template.
19338
07b4c13d
TS
19339 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19340 declare _dl_skip_args.
19341
ec9dd97c
TS
19342 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19343 Don't declare.
19344
2b66ef5d
TS
19345 * manual/platform.texi: Add missing @end deftypefun.
19346
4f8dfe27
JM
193472013-05-24 Joseph Myers <joseph@codesourcery.com>
19348
0323d086
JM
19349 [BZ #15529]
19350 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19351 bit of mantissa of 2^16382.
19352 * math/libm-test.inc (hypot_test_data): Add more tests.
19353
dd4259b9
JM
19354 * math/libm-test.inc: Add drem and pow10 to list of tested
19355 functions.
19356 (pow10_test): New function.
19357 (drem_test): Likewise.
19358 (drem_test_tonearest): Likewise.
19359 (drem_test_towardzero): Likewise.
19360 (drem_test_downward): Likewise.
19361 (drem_test_upward): Likewise.
19362 (main): Call the new functions.
19363
4f8dfe27
JM
19364 * math/libm-test.inc (finite_test_data): Remove.
19365 (finite_test): Run tests from isfinite_test_data.
19366 (gamma_test_data): Remove.
19367 (gamma_test): Run tests from lgamma_test_data.
19368 * sysdeps/i386/fpu/libm-test-ulps: Update.
19369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19370
d116b7c4
AZ
193712013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19372
19373 * manual/platform.texi: Add PowerPC PPR function set documentation.
19374 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19375 implementation.
19376
e96e3767
CD
193772013-05-24 Carlos O'Donell <carlos@redhat.com>
19378
19379 * math/libm-test.inc (MAX_EXP): Define.
19380 (ULPDIFF): Define.
19381 (ulp): New function.
19382 (check_float_internal): Use ULPDIFF.
19383 (cpow_test): Disable failing test.
19384 (check_ulp): Test ulp() implemetnation.
19385 (main): Call check_ulp before starting tests.
19386
b679a606
JM
193872013-05-24 Joseph Myers <joseph@codesourcery.com>
19388
e8bdba36
JM
19389 * math/gen-libm-test.pl (generate_testfile): Do not handle
19390 START_DATA and END_DATA.
19391 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19392 END_DATA.
19393 (acos_tonearest_test_data): Likewise.
19394 (acos_towardzero_test_data): Likewise.
19395 (acos_downward_test_data): Likewise.
19396 (acos_upward_test_data): Likewise.
19397 (acosh_test_data): Likewise.
19398 (asin_test_data): Likewise.
19399 (asin_tonearest_test_data): Likewise.
19400 (asin_towardzero_test_data): Likewise.
19401 (asin_downward_test_data): Likewise.
19402 (asin_upward_test_data): Likewise.
19403 (asinh_test_data): Likewise.
19404 (atan_test_data): Likewise.
19405 (atanh_test_data): Likewise.
19406 (atan2_test_data): Likewise.
19407 (cabs_test_data): Likewise.
19408 (cacos_test_data): Likewise.
19409 (cacosh_test_data): Likewise.
19410 (carg_test_data): Likewise.
19411 (casin_test_data): Likewise.
19412 (casinh_test_data): Likewise.
19413 (catan_test_data): Likewise.
19414 (catanh_test_data): Likewise.
19415 (cbrt_test_data): Likewise.
19416 (ccos_test_data): Likewise.
19417 (ccosh_test_data): Likewise.
19418 (ceil_test_data): Likewise.
19419 (cexp_test_data): Likewise.
19420 (cimag_test_data): Likewise.
19421 (clog_test_data): Likewise.
19422 (clog10_test_data): Likewise.
19423 (conj_test_data): Likewise.
19424 (copysign_test_data): Likewise.
19425 (cos_test_data): Likewise.
19426 (cos_tonearest_test_data): Likewise.
19427 (cos_towardzero_test_data): Likewise.
19428 (cos_downward_test_data): Likewise.
19429 (cos_upward_test_data): Likewise.
19430 (cosh_test_data): Likewise.
19431 (cosh_tonearest_test_data): Likewise.
19432 (cosh_towardzero_test_data): Likewise.
19433 (cosh_downward_test_data): Likewise.
19434 (cosh_upward_test_data): Likewise.
19435 (cpow_test_data): Likewise.
19436 (cproj_test_data): Likewise.
19437 (creal_test_data): Likewise.
19438 (csin_test_data): Likewise.
19439 (csinh_test_data): Likewise.
19440 (csqrt_test_data): Likewise.
19441 (ctan_test_data): Likewise.
19442 (ctan_tonearest_test_data): Likewise.
19443 (ctan_towardzero_test_data): Likewise.
19444 (ctan_downward_test_data): Likewise.
19445 (ctan_upward_test_data): Likewise.
19446 (ctanh_test_data): Likewise.
19447 (ctanh_tonearest_test_data): Likewise.
19448 (ctanh_towardzero_test_data): Likewise.
19449 (ctanh_downward_test_data): Likewise.
19450 (ctanh_upward_test_data): Likewise.
19451 (erf_test_data): Likewise.
19452 (erfc_test_data): Likewise.
19453 (exp_test_data): Likewise.
19454 (exp_tonearest_test_data): Likewise.
19455 (exp_towardzero_test_data): Likewise.
19456 (exp_downward_test_data): Likewise.
19457 (exp_upward_test_data): Likewise.
19458 (exp10_test_data): Likewise.
19459 (exp2_test_data): Likewise.
19460 (expm1_test_data): Likewise.
19461 (fabs_test_data): Likewise.
19462 (fdim_test_data): Likewise.
19463 (finite_test_data): Likewise.
19464 (floor_test_data): Likewise.
19465 (fma_test_data): Likewise.
19466 (fma_towardzero_test_data): Likewise.
19467 (fma_downward_test_data): Likewise.
19468 (fma_upward_test_data): Likewise.
19469 (fmax_test_data): Likewise.
19470 (fmin_test_data): Likewise.
19471 (fmod_test_data): Likewise.
19472 (fpclassify_test_data): Likewise.
19473 (frexp_test_data): Likewise.
19474 (gamma_test_data): Likewise.
19475 (hypot_test_data): Likewise.
19476 (ilogb_test_data): Likewise.
19477 (isfinite_test_data): Likewise.
19478 (isgreater_test_data): Likewise.
19479 (isgreaterequal_test_data): Likewise.
19480 (isinf_test_data): Likewise.
19481 (isless_test_data): Likewise.
19482 (islessequal_test_data): Likewise.
19483 (islessgreater_test_data): Likewise.
19484 (isnan_test_data): Likewise.
19485 (isnormal_test_data): Likewise.
19486 (issignaling_test_data): Likewise.
19487 (isunordered_test_data): Likewise.
19488 (j0_test_data): Likewise.
19489 (j1_test_data): Likewise.
19490 (jn_test_data): Likewise.
19491 (ldexp_test_data): Likewise.
19492 (lgamma_test_data): Likewise.
19493 (lrint_test_data): Likewise.
19494 (lrint_tonearest_test_data): Likewise.
19495 (lrint_towardzero_test_data): Likewise.
19496 (lrint_downward_test_data): Likewise.
19497 (lrint_upward_test_data): Likewise.
19498 (llrint_test_data): Likewise.
19499 (llrint_tonearest_test_data): Likewise.
19500 (llrint_towardzero_test_data): Likewise.
19501 (llrint_downward_test_data): Likewise.
19502 (llrint_upward_test_data): Likewise.
19503 (log_test_data): Likewise.
19504 (log10_test_data): Likewise.
19505 (log1p_test_data): Likewise.
19506 (log2_test_data): Likewise.
19507 (logb_test_data): Likewise.
19508 (logb_downward_test_data): Likewise.
19509 (lround_test_data): Likewise.
19510 (llround_test_data): Likewise.
19511 (modf_test_data): Likewise.
19512 (nearbyint_test_data): Likewise.
19513 (nextafter_test_data): Likewise.
19514 (nexttoward_test_data): Likewise.
19515 (pow_test_data): Likewise.
19516 (pow_tonearest_test_data): Likewise.
19517 (pow_towardzero_test_data): Likewise.
19518 (pow_downward_test_data): Likewise.
19519 (pow_upward_test_data): Likewise.
19520 (remainder_test_data): Likewise.
19521 (remainder_tonearest_test_data): Likewise.
19522 (remainder_towardzero_test_data): Likewise.
19523 (remainder_downward_test_data): Likewise.
19524 (remainder_upward_test_data): Likewise.
19525 (remquo_test_data): Likewise.
19526 (rint_test_data): Likewise.
19527 (rint_tonearest_test_data): Likewise.
19528 (rint_towardzero_test_data): Likewise.
19529 (rint_downward_test_data): Likewise.
19530 (rint_upward_test_data): Likewise.
19531 (round_test_data): Likewise.
19532 (scalb_test_data): Likewise.
19533 (scalbn_test_data): Likewise.
19534 (scalbln_test_data): Likewise.
19535 (signbit_test_data): Likewise.
19536 (sin_test_data): Likewise.
19537 (sin_tonearest_test_data): Likewise.
19538 (sin_towardzero_test_data): Likewise.
19539 (sin_downward_test_data): Likewise.
19540 (sin_upward_test_data): Likewise.
19541 (sincos_test_data): Likewise.
19542 (sinh_test_data): Likewise.
19543 (sinh_tonearest_test_data): Likewise.
19544 (sinh_towardzero_test_data): Likewise.
19545 (sinh_downward_test_data): Likewise.
19546 (sinh_upward_test_data): Likewise.
19547 (sqrt_test_data): Likewise.
19548 (tan_test_data): Likewise.
19549 (tan_tonearest_test_data): Likewise.
19550 (tan_towardzero_test_data): Likewise.
19551 (tan_downward_test_data): Likewise.
19552 (tan_upward_test_data): Likewise.
19553 (tanh_test_data): Likewise.
19554 (tgamma_test_data): Likewise.
19555 (trunc_test_data): Likewise.
19556 (y0_test_data): Likewise.
19557 (y1_test_data): Likewise.
19558 (yn_test_data): Likewise.
19559 (significand_test_data): Likewise.
19560
b679a606
JM
19561 * math/gen-libm-test.pl (@functions): Remove variable.
19562 (generate_testfile): Don't handle START and END lines.
19563 * math/libm-test.inc (START): New macro.
19564 (END): Likewise.
19565 (END_COMPLEX): Likewise.
19566 (acos_test): Use END macro without arguments.
19567 (acos_test_tonearest): Likewise.
19568 (acos_test_towardzero): Likewise.
19569 (acos_test_downward): Likewise.
19570 (acos_test_upward): Likewise.
19571 (acosh_test): Likewise.
19572 (asin_test): Likewise.
19573 (asin_test_tonearest): Likewise.
19574 (asin_test_towardzero): Likewise.
19575 (asin_test_downward): Likewise.
19576 (asin_test_upward): Likewise.
19577 (asinh_test): Likewise.
19578 (atan_test): Likewise.
19579 (atanh_test): Likewise.
19580 (atan2_test): Likewise.
19581 (cabs_test): Likewise.
19582 (cacos_test): Use END_COMPLEX macro without arguments.
19583 (cacosh_test): Likewise.
19584 (carg_test): Use END macro without arguments.
19585 (casin_test): Use END_COMPLEX macro without arguments.
19586 (casinh_test): Likewise.
19587 (catan_test): Likewise.
19588 (catanh_test): Likewise.
19589 (cbrt_test): Use END macro without arguments.
19590 (ccos_test): Use END_COMPLEX macro without arguments.
19591 (ccosh_test): Likewise.
19592 (ceil_test): Use END macro without arguments.
19593 (cexp_test): Use END_COMPLEX macro without arguments.
19594 (cimag_test): Use END macro without arguments.
19595 (clog_test): Use END_COMPLEX macro without arguments.
19596 (clog10_test): Likewise.
19597 (conj_test): Likewise.
19598 (copysign_test): Use END macro without arguments.
19599 (cos_test): Likewise.
19600 (cos_test_tonearest): Likewise.
19601 (cos_test_towardzero): Likewise.
19602 (cos_test_downward): Likewise.
19603 (cos_test_upward): Likewise.
19604 (cosh_test): Likewise.
19605 (cosh_test_tonearest): Likewise.
19606 (cosh_test_towardzero): Likewise.
19607 (cosh_test_downward): Likewise.
19608 (cosh_test_upward): Likewise.
19609 (cpow_test): Use END_COMPLEX macro without arguments.
19610 (cproj_test): Likewise.
19611 (creal_test): Use END macro without arguments.
19612 (csin_test): Use END_COMPLEX macro without arguments.
19613 (csinh_test): Likewise.
19614 (csqrt_test): Likewise.
19615 (ctan_test): Likewise.
19616 (ctan_test_tonearest): Likewise.
19617 (ctan_test_towardzero): Likewise.
19618 (ctan_test_downward): Likewise.
19619 (ctan_test_upward): Likewise.
19620 (ctanh_test): Likewise.
19621 (ctanh_test_tonearest): Likewise.
19622 (ctanh_test_towardzero): Likewise.
19623 (ctanh_test_downward): Likewise.
19624 (ctanh_test_upward): Likewise.
19625 (erf_test): Use END macro without arguments.
19626 (erfc_test): Likewise.
19627 (exp_test): Likewise.
19628 (exp_test_tonearest): Likewise.
19629 (exp_test_towardzero): Likewise.
19630 (exp_test_downward): Likewise.
19631 (exp_test_upward): Likewise.
19632 (exp10_test): Likewise.
19633 (exp2_test): Likewise.
19634 (expm1_test): Likewise.
19635 (fabs_test): Likewise.
19636 (fdim_test): Likewise.
19637 (finite_test): Likewise.
19638 (floor_test): Likewise.
19639 (fma_test): Likewise.
19640 (fma_test_towardzero): Likewise.
19641 (fma_test_downward): Likewise.
19642 (fma_test_upward): Likewise.
19643 (fmax_test): Likewise.
19644 (fmin_test): Likewise.
19645 (fmod_test): Likewise.
19646 (fpclassify_test): Likewise.
19647 (frexp_test): Likewise.
19648 (gamma_test): Likewise.
19649 (hypot_test): Likewise.
19650 (ilogb_test): Likewise.
19651 (isfinite_test): Likewise.
19652 (isgreater_test): Likewise.
19653 (isgreaterequal_test): Likewise.
19654 (isinf_test): Likewise.
19655 (isless_test): Likewise.
19656 (islessequal_test): Likewise.
19657 (islessgreater_test): Likewise.
19658 (isnan_test): Likewise.
19659 (isnormal_test): Likewise.
19660 (issignaling_test): Likewise.
19661 (isunordered_test): Likewise.
19662 (j0_test): Likewise.
19663 (j1_test): Likewise.
19664 (jn_test): Likewise.
19665 (ldexp_test): Likewise.
19666 (lgamma_test): Likewise.
19667 (lrint_test): Likewise.
19668 (lrint_test_tonearest): Likewise.
19669 (lrint_test_towardzero): Likewise.
19670 (lrint_test_downward): Likewise.
19671 (lrint_test_upward): Likewise.
19672 (llrint_test): Likewise.
19673 (llrint_test_tonearest): Likewise.
19674 (llrint_test_towardzero): Likewise.
19675 (llrint_test_downward): Likewise.
19676 (llrint_test_upward): Likewise.
19677 (log_test): Likewise.
19678 (log10_test): Likewise.
19679 (log1p_test): Likewise.
19680 (log2_test): Likewise.
19681 (logb_test): Likewise.
19682 (logb_test_downward): Likewise.
19683 (lround_test): Likewise.
19684 (llround_test): Likewise.
19685 (modf_test): Likewise.
19686 (nearbyint_test): Likewise.
19687 (nextafter_test): Likewise.
19688 (nexttoward_test): Likewise.
19689 (pow_test): Likewise.
19690 (pow_test_tonearest): Likewise.
19691 (pow_test_towardzero): Likewise.
19692 (pow_test_downward): Likewise.
19693 (pow_test_upward): Likewise.
19694 (remainder_test): Likewise.
19695 (remainder_test_tonearest): Likewise.
19696 (remainder_test_towardzero): Likewise.
19697 (remainder_test_downward): Likewise.
19698 (remainder_test_upward): Likewise.
19699 (remquo_test): Likewise.
19700 (rint_test): Likewise.
19701 (rint_test_tonearest): Likewise.
19702 (rint_test_towardzero): Likewise.
19703 (rint_test_downward): Likewise.
19704 (rint_test_upward): Likewise.
19705 (round_test): Likewise.
19706 (scalb_test): Likewise.
19707 (scalbn_test): Likewise.
19708 (scalbln_test): Likewise.
19709 (signbit_test): Likewise.
19710 (sin_test): Likewise.
19711 (sin_test_tonearest): Likewise.
19712 (sin_test_towardzero): Likewise.
19713 (sin_test_downward): Likewise.
19714 (sin_test_upward): Likewise.
19715 (sincos_test): Likewise.
19716 (sinh_test): Likewise.
19717 (sinh_test_tonearest): Likewise.
19718 (sinh_test_towardzero): Likewise.
19719 (sinh_test_downward): Likewise.
19720 (sinh_test_upward): Likewise.
19721 (sqrt_test): Likewise.
19722 (tan_test): Likewise.
19723 (tan_test_tonearest): Likewise.
19724 (tan_test_towardzero): Likewise.
19725 (tan_test_downward): Likewise.
19726 (tan_test_upward): Likewise.
19727 (tanh_test): Likewise.
19728 (tgamma_test): Likewise.
19729 (trunc_test): Likewise.
19730 (y0_test): Likewise.
19731 (y1_test): Likewise.
19732 (yn_test): Likewise.
19733 (significand_test): Likewise.
19734
bae143d2
OB
197352013-05-24 Ondřej Bílka <neleai@seznam.cz>
19736
19737 [BZ #15381]
19738 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19739
9323d39b
EM
197402013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19741
d4ea44a0 19742 [BZ #14894]
9323d39b
EM
19743 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19744 __ppc_mdoio and __ppc_mdoom.
19745 * manual/platform.texi: Document new functions __ppc_yield,
19746 __ppc_mdoio and __ppc_mdoom.
19747
13e23af7
CD
197482013-05-22 Carlos O'Donell <carlos@redhat.com>
19749
19750 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19751 (main): Mention "tls" pseudo-hwcap is legacy.
19752 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19753
351fe550
JM
197542013-05-22 Joseph Myers <joseph@codesourcery.com>
19755
19756 * math/gen-libm-test.pl (parse_args): Output only string of
19757 arguments as text for test name, not full call or descriptions of
19758 tests for extra outputs.
19759 (generate_testfile): Do not pass function name to parse_args.
19760 Generate this_func variable from START.
19761 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19762 field to arg_str.
19763 (struct test_ff_f_data): Likewise.
19764 (test_ff_f_data_nexttoward): Likewise.
19765 (struct test_fi_f_data): Likewise.
19766 (struct test_fl_f_data): Likewise.
19767 (struct test_if_f_data): Likewise.
19768 (struct test_fff_f_data): Likewise.
19769 (struct test_c_f_data): Likewise.
19770 (struct test_f_f1_data): Likewise. Remove field extra_name.
19771 (struct test_fF_f1_data): Likewise.
19772 (struct test_ffI_f1_data): Likewise.
19773 (struct test_c_c_data): Rename test_name field to arg_str.
19774 (struct test_cc_c_data): Likewise.
19775 (struct test_f_i_data): Likewise.
19776 (struct test_ff_i_data): Likewise.
19777 (struct test_f_l_data): Likewise.
19778 (struct test_f_L_data): Likewise.
19779 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19780 and extra2_name.
19781 (COMMON_TEST_SETUP): New macro.
19782 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19783 (COMMON_TEST_CLEANUP): Likewise.
19784 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19785 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19786 macros.
19787 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19788 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19789 macros.
19790 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19791 (RUN_TEST_fff_f): Take argument string. Call new setup and
19792 cleanup macros.
19793 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19794 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19795 macros.
19796 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19797 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19798 macros.
19799 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19800 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19801 cleanup macros.
19802 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19803 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19804 cleanup macros.
19805 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19806 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19807 cleanup macros.
19808 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19809 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19810 macros.
19811 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19812 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19813 macros.
19814 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19815 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19816 macros.
19817 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19818 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19819 cleanup macros.
19820 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19821 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19822 cleanup macros.
19823 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19824 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19825 macros.
19826 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19827 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19828 cleanup macros.
19829 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19830 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19831 macros.
19832 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19833 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19834 macros.
19835 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19836 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19837 cleanup macros.
19838 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19839
85118d4d
EBM
198402013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19841
19842 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19843 to _sifields.sigfault.
19844 (si_addr_lsb): Define new macro.
19845 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19846 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19847 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19848
7a44c18f
CD
198492013-05-03 Carlos O'Donell <carlos at redhat.com>
19850
19851 [BZ #15441]
19852 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19853 returns -1.
19854 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19855 null return -1.
19856 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19857 loading the domain.
19858
b50a7181
JM
198592013-05-22 Joseph Myers <joseph@codesourcery.com>
19860
19861 * math/gen-libm-test.pl (parse_args): Do not include expected
19862 result in test name.
19863 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19865 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19866 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19867 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19869
051063c8
SP
198702013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19871
3ce9e010
SP
19872 * benchtests/Makefile: Sort function entries.
19873
051063c8
SP
19874 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19875 tanh, asinh, acosh, atanh.
19876 * benchtests/acos-inputs: New file.
19877 * benchtests/acosh-inputs: New file.
19878 * benchtests/asin-inputs: New file.
19879 * benchtests/asinh-inputs: New file.
19880 * benchtests/atanh-inputs: New file.
19881 * benchtests/cosh-inputs: New file.
19882 * benchtests/log-inputs: New file.
19883 * benchtests/sinh-inputs: New file.
19884 * benchtests/tanh-inputs: New file.
19885
47c22455
DL
198862013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19887
19888 [BZ #15339]
19889 * posix/tst-getaddrinfo4.c: New test.
19890 * posix/Makefile (tests): Add it.
19891
3d04f5db
SP
198922013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19893
19894 [BZ #15339]
19895 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19896 when no services were used.
19897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19898 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19899
d5dd6189
AS
199002013-05-21 Andreas Schwab <schwab@suse.de>
19901
19902 [BZ #15014]
19903 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19904 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19905 successful.
19906 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19907 redundant variable declarations and reallocation of buffer when
19908 parsing as IPv6 address. Always set NSS status when called from
19909 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19910 buffer too small. Correct computation of needed size.
19911 * nss/Makefile (tests): Add test-digits-dots.
19912 * nss/test-digits-dots.c: New test.
19913
fef94eab
SP
199142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19915
19916 * benchtests/Makefile: Remove instructions for adding
19917 benchmark tests.
19918 * benchtests/README: New file to explain how to execute and
19919 enhance the benchmark tests.
19920
e39adf43
AS
199212013-05-21 Andreas Schwab <schwab@suse.de>
19922
19923 [BZ #15493]
19924 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19925 * setjmp/tst-sigsetjmp.c: New test.
19926
b2b671b6
OB
199272013-05-20 Ondřej Bílka <neleai@seznam.cz>
19928
19929 * sysdeps/x86_64/memset.S (memset): New implementation.
19930 (__bzero): Likewise.
19931 (__memset_tail): New function.
19932
2d48b41c
OB
199332013-05-20 Ondřej Bílka <neleai@seznam.cz>
19934
19935 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19936 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19937 __memcpy_sse2_unaligned ifunc selection.
19938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19939 Add memcpy-sse2-unaligned.S.
19940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19941 Add: __memcpy_sse2_unaligned.
19942
f16cc3eb
JM
199432013-05-19 Joseph Myers <joseph@codesourcery.com>
19944
3e694268
JM
19945 [BZ #15490]
19946 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19947 math_force_eval before restoring floating-point envrionment.
19948 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19950 Likewise.
19951 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19952 <math_private.h>.
19953 (__nearbyintl): Use math_force_eval before restoring
19954 floating-point environment.
19955 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19956
db62a907
JM
19957 * math/gen-libm-test.pl (special_functions): Remove.
19958 (parse_args): Don't handle TEST_extra. Handle functions with no
19959 return value.
19960 * math/libm-test.inc (struct test_sincos_data): Replace with
19961 struct test_fFF_11_data.
19962 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19963 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19964 (sincos_test_data): Change element type to struct
19965 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19966 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19967 RUN_TEST_LOOP_sincos.
19968 * math/README.libm-test: Don't mention special handling of
19969 individual functions.
19970 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19971 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19972 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19973 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19974 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19976
f16cc3eb
JM
19977 * math/gen-libm-test.pl (get_variable): Remove function.
19978 (parse_args): Don't show pointer parameters to call in test
19979 names. Use "extra output N" in test names for extra outputs
19980 rather than naming variables.
19981
3779b5b6
JM
199822013-05-18 Joseph Myers <joseph@codesourcery.com>
19983
2ee094ff
JM
19984 [BZ #15488]
19985 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19986 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19987 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19988 double tests.
19989 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19990 disable.
19991 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19992 check_long_double.
19993
3779b5b6
JM
19994 * math/gen-libm-test.pl (@tests): Remove variable.
19995 ($count): Likewise.
19996 (new_test): Remove function.
19997 (show_exceptions): New function.
19998 (special_functions): Use show_exceptions instead of new_test.
19999 (parse_args): Likewise.
20000 (generate_testfile): Pass only function name in generated call to
20001 print_max_error or print_complex_max_error.
20002 (get_ulps): Do not handle complex tests specially.
20003 (output_test): Rename to ...
20004 (get_all_ulps_for_test): ... this. Return a string rather than
20005 printing to a file. Require ulps to be present.
20006 (output_ulps): Generate arrays rather than #defines.
20007 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20008 (struct ulp_data): New type.
20009 (BUILD_COMPLEX_ULP): Remove macro.
20010 (compare_ulp_data): New function.
20011 (find_ulps): Likewise.
20012 (find_test_ulps): Likewise.
20013 (find_function_ulps): Likewise.
20014 (find_complex_function_ulps): Likewise.
20015 (print_max_error): Determine allowed ulps using
20016 find_function_ulps.
20017 (print_complex_max_error): Determine allowed ulps using
20018 find_complex_function_ulps.
20019 (check_float_internal): Determine max ulps using find_test_ulps.
20020 (check_float): Do not take max_ulp parameter. Update call to
20021 check_float_internal.
20022 (check_complex): Likewise.
20023 (check_int): Do not take max_ulp parameter.
20024 (check_long): Likewise.
20025 (check_bool): Likewise.
20026 (check_longlong): Likewise.
20027 (struct test_f_f_data): Remove max_ulp field.
20028 (struct test_ff_f_data): Likewise.
20029 (struct test_ff_f_data_nexttoward): Likewise.
20030 (struct test_fi_f_data): Likewise.
20031 (struct test_fl_f_data): Likewise.
20032 (struct test_if_f_data): Likewise.
20033 (struct test_fff_f_data): Likewise.
20034 (struct test_c_f_data): Likewise.
20035 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20036 (struct test_fF_f1_data): Likewise.
20037 (struct test_ffI_f1_data): Likewise.
20038 (struct test_c_c_data): Remove max_ulp field.
20039 (struct test_cc_c_data): Likewise.
20040 (struct test_f_i_data): Likewise.
20041 (struct test_ff_i_data): Likewise.
20042 (struct test_f_l_data): Likewise.
20043 (struct test_f_L_data): Likewise.
20044 (struct test_sincos_data): Likewise.
20045 (RUN_TEST_f_f): Do not handle ulps.
20046 (RUN_TEST_LOOP_f_f): Likewise.
20047 (RUN_TEST_2_f): Likewise.
20048 (RUN_TEST_LOOP_2_f): Likewise.
20049 (RUN_TEST_fff_f): Likewise.
20050 (RUN_TEST_LOOP_fff_f): Likewise.
20051 (RUN_TEST_c_f): Likewise.
20052 (RUN_TEST_LOOP_c_f): Likewise.
20053 (RUN_TEST_f_f1): Likewise.
20054 (RUN_TEST_LOOP_f_f1): Likewise.
20055 (RUN_TEST_fF_f1): Likewise.
20056 (RUN_TEST_LOOP_fF_f1): Likewise.
20057 (RUN_TEST_fI_f1): Likewise.
20058 (RUN_TEST_LOOP_fI_f1): Likewise.
20059 (RUN_TEST_ffI_f1): Likewise.
20060 (RUN_TEST_LOOP_ffI_f1): Likewise.
20061 (RUN_TEST_c_c): Likewise.
20062 (RUN_TEST_LOOP_c_c): Likewise.
20063 (RUN_TEST_cc_c): Likewise.
20064 (RUN_TEST_LOOP_cc_c): Likewise.
20065 (RUN_TEST_f_i): Likewise.
20066 (RUN_TEST_LOOP_f_i): Likewise.
20067 (RUN_TEST_f_i_tg): Likewise.
20068 (RUN_TEST_LOOP_f_i_tg): Likewise.
20069 (RUN_TEST_ff_i_tg): Likewise.
20070 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20071 (RUN_TEST_f_b): Likewise.
20072 (RUN_TEST_LOOP_f_b): Likewise.
20073 (RUN_TEST_f_b_tg): Likewise.
20074 (RUN_TEST_LOOP_f_b_tg): Likewise.
20075 (RUN_TEST_f_l): Likewise.
20076 (RUN_TEST_LOOP_f_l): Likewise.
20077 (RUN_TEST_f_L): Likewise.
20078 (RUN_TEST_LOOP_f_L): Likewise.
20079 (RUN_TEST_sincos): Likewise.
20080 (RUN_TEST_LOOP_sincos): Likewise.
20081
8269107f
JM
200822013-05-17 Joseph Myers <joseph@codesourcery.com>
20083
bb38759d
JM
20084 [BZ #15480]
20085 [BZ #15485]
20086 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20087 main case of finite arguments, set rounding mode to FE_TONEAREST
20088 and discard exceptions.
20089 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20090 exceptions.
20091 (remainder_tonearest_test_data): New variable.
20092 (remainder_test_tonearest): New function.
20093 (remainder_towardzero_test_data): New variable.
20094 (remainder_test_towardzero): New function.
20095 (remainder_downward_test_data): New variable.
20096 (remainder_test_downward): New function.
20097 (remainder_upward_test_data): New variable.
20098 (remainder_test_upward): New function.
20099 (main): Call the new test functions.
20100
a00bdcf0
JM
20101 * math/libm-test.inc (struct test_f_f1_data): Remove field
20102 extra_init.
20103 (struct test_fF_f1_data): Likewise.
20104 (struct test_ffI_f1_data): Likewise.
20105 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20106 based on value of EXTRA_EXPECTED.
20107 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20108 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20109 EXTRA_VAR based on value of EXTRA_EXPECTED.
20110 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20111 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20112 EXTRA_VAR based on value of EXTRA_EXPECTED.
20113 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20114 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20115 EXTRA_VAR based on value of EXTRA_EXPECTED.
20116 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20117 * math/gen-libm-test.pl (parse_args): Don't output initializers
20118 for extra output values.
20119
de407f79
JM
20120 * math/libm-test.inc (check_int): Expect result to be exactly
20121 equal to expected value and do not handle ulps.
20122 (check_long): Likewise.
20123 (check_longlong): Likewise.
20124
8269107f
JM
20125 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20126 exceptions.
20127 (cimag_test_data): Likewise.
20128 (conj_test_data): Likewise.
20129 (copysign_test_data): Likewise.
20130 (cproj_test_data): Likewise.
20131 (creal_test_data): Likewise.
20132 (fabs_test_data): Likewise.
20133 (fdim_test_data): Likewise.
20134 (finite_test_data): Likewise.
20135 (floor_test_data): Likewise.
20136 (fmax_test_data): Likewise.
20137 (fmin_test_data): Likewise.
20138 (fmod_test_data): Likewise.
20139 (fpclassify_test_data): Likewise.
20140 (frexp_test_data): Likewise.
20141 (ilogb_test_data): Likewise.
20142 (isfinite_test_data): Likewise.
20143 (isgreater_test_data): Likewise.
20144 (isgreaterequal_test_data): Likewise.
20145 (isinf_test_data): Likewise.
20146 (isless_test_data): Likewise.
20147 (islessequal_test_data): Likewise.
20148 (islessgreater_test_data): Likewise.
20149 (isnan_test_data): Likewise.
20150 (isnormal_test_data): Likewise.
20151 (issignaling_test_data): Likewise.
20152 (isunordered_test_data): Likewise.
20153 (ldexp_test_data): Likewise.
20154 (lrint_test_data): Likewise.
20155 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20156 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20157 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20158 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20159 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20160 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20161 test input.
20162 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20163 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20164 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20165 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20166 that test input.
20167 (lrint_downward_test_data): Test for "inexact" exceptions.
20168 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20169 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20170 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20171 test input.
20172 (lrint_upward_test_data): Test for "inexact" exceptions.
20173 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20174 test input.
20175 (llrint_test_data): Test for "inexact" exceptions.
20176 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20177 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20178 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20179 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20180 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20181 (llrint_downward_test_data): Test for "inexact" exceptions.
20182 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20183 (llrint_upward_test_data): Test for "inexact" exceptions.
20184 (logb_test_data): Likewise.
20185 (logb_downward_test_data): Likewise.
20186 (nextafter_test_data): Likewise.
20187 (nexttoward_test_data): Likewise.
20188 (remainder_test_data): Likewise.
20189 (remquo_test_data): Likewise.
20190 (scalbn_test_data): Likewise.
20191 (scalbln_test_data): Likewise.
20192 (signbit_test_data): Likewise.
20193 (sqrt_test_data): Likewise.
20194 (significand_test_data): Likewise.
20195
48a18de1
SP
201962013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20197
20198 [BZ #15424]
20199 * benchtests/bench-modf.c (struct args): Mark arg0 as
20200 volatile.
20201 * scripts/bench.pl: Mark members of struct args as volatile.
20202
13d3b41a
AZ
202032013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20204
68191c1d 20205 [BZ # 15497]
13d3b41a
AZ
20206 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20207 negative infinity on POWER6 or lower.
20208 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20209
2848b105
MR
202102013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20211
20212 [BZ #15442]
20213 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20214 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20215 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20216 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20217 (_FP_SETQNAN): New macro.
20218 (_FP_SETQNAN_SEMIRAW): Likewise.
20219 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20220 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20221 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20222 (FP_EXTEND): Use _FP_FRAC_SNANP.
20223 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20224 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20225 into account.
20226 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20227 New macro.
20228 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20229 Likewise.
20230
323e5cb7
JM
202312013-05-16 Joseph Myers <joseph@codesourcery.com>
20232
c58b274f
JM
20233 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20234 with DIVIDE_BY_ZERO_EXCEPTION.
20235 (gamma_test_data): Likewise.
20236 (lgamma_test_data): Likewise.
20237 (log_test_data): Likewise.
20238 (log10_test_data): Likewise.
20239 (log2_test_data): Likewise.
20240 (tgamma_test_data): Likewise.
20241
0ab34904
JM
20242 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20243 (acos_test_tonearest): Likewise.
20244 (acos_test_towardzero): Likewise.
20245 (acos_test_downward): Likewise.
20246 (acos_test_upward): Likewise.
20247 (acosh_test): Likewise.
20248 (asin_test): Likewise.
20249 (asin_test_tonearest): Likewise.
20250 (asin_test_towardzero): Likewise.
20251 (asin_test_downward): Likewise.
20252 (asin_test_upward): Likewise.
20253 (asinh_test): Likewise.
20254 (atan_test): Likewise.
20255 (atanh_test): Likewise.
20256 (atan2_test): Likewise.
20257 (cabs_test): Likewise.
20258 (cacos_test): Likewise.
20259 (cacosh_test): Likewise.
20260 (casin_test): Likewise.
20261 (casinh_test): Likewise.
20262 (catan_test): Likewise.
20263 (catanh_test): Likewise.
20264 (cbrt_test): Likewise.
20265 (ccos_test): Likewise.
20266 (ccosh_test): Likewise.
20267 (cexp_test): Likewise.
20268 (clog_test): Likewise.
20269 (clog10_test): Likewise.
20270 (cos_test): Likewise.
20271 (cos_test_tonearest): Likewise.
20272 (cos_test_towardzero): Likewise.
20273 (cos_test_downward): Likewise.
20274 (cos_test_upward): Likewise.
20275 (cosh_test): Likewise.
20276 (cosh_test_tonearest): Likewise.
20277 (cosh_test_towardzero): Likewise.
20278 (cosh_test_downward): Likewise.
20279 (cosh_test_upward): Likewise.
20280 (cpow_test): Likewise.
20281 (csin_test): Likewise.
20282 (csinh_test): Likewise.
20283 (csqrt_test): Likewise.
20284 (ctan_test): Likewise.
20285 (ctan_test_tonearest): Likewise.
20286 (ctan_test_towardzero): Likewise.
20287 (ctan_test_downward): Likewise.
20288 (ctan_test_upward): Likewise.
20289 (ctanh_test): Likewise.
20290 (ctanh_test_tonearest): Likewise.
20291 (ctanh_test_towardzero): Likewise.
20292 (ctanh_test_downward): Likewise.
20293 (ctanh_test_upward): Likewise.
20294 (erf_test): Likewise.
20295 (erfc_test): Likewise.
20296 (exp_test): Likewise.
20297 (exp_test_tonearest): Likewise.
20298 (exp_test_towardzero): Likewise.
20299 (exp_test_downward): Likewise.
20300 (exp_test_upward): Likewise.
20301 (exp10_test): Likewise.
20302 (exp2_test): Likewise.
20303 (expm1_test): Likewise.
20304 (fmod_test): Likewise.
20305 (gamma_test): Likewise.
20306 (hypot_test): Likewise.
20307 (j0_test): Likewise.
20308 (j1_test): Likewise.
20309 (jn_test): Likewise.
20310 (lgamma_test): Likewise.
20311 (log_test): Likewise.
20312 (log10_test): Likewise.
20313 (log1p_test): Likewise.
20314 (log2_test): Likewise.
20315 (logb_test_downward): Likewise.
20316 (pow_test): Likewise.
20317 (pow_test_tonearest): Likewise.
20318 (pow_test_towardzero): Likewise.
20319 (pow_test_downward): Likewise.
20320 (pow_test_upward): Likewise.
20321 (remainder_test): Likewise.
20322 (remquo_test): Likewise.
20323 (sin_test): Likewise.
20324 (sin_test_tonearest): Likewise.
20325 (sin_test_towardzero): Likewise.
20326 (sin_test_downward): Likewise.
20327 (sin_test_upward): Likewise.
20328 (sincos_test): Likewise.
20329 (sinh_test): Likewise.
20330 (sinh_test_tonearest): Likewise.
20331 (sinh_test_towardzero): Likewise.
20332 (sinh_test_downward): Likewise.
20333 (sinh_test_upward): Likewise.
20334 (sqrt_test): Likewise.
20335 (tan_test): Likewise.
20336 (tan_test_tonearest): Likewise.
20337 (tan_test_towardzero): Likewise.
20338 (tan_test_downward): Likewise.
20339 (tan_test_upward): Likewise.
20340 (tanh_test): Likewise.
20341 (tgamma_test): Likewise.
20342 (y0_test): Likewise.
20343 (y1_test): Likewise.
20344 (yn_test): Likewise.
20345
323e5cb7
JM
20346 * math/gen-libm-test.pl (adjust_arg): Remove function.
20347 (special_function): Remove argument $in_func. Only handle
20348 generating output for tables of tests, not inside functions.
20349 (parse_args): Likewise.
20350 (generate_testfile): Remove variable $in_func. Update call to
20351 parse_args.
20352 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20353 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20354 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20355 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20356 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20357 (MAX_VALUE_INIT): Rename macro to max_value.
20358 (MIN_VALUE_INIT): Rename macro to min_value.
20359 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20360 (plus_zero): Remove variable.
20361 (minus_zero): Likewise.
20362 (plus_infty): Likewise.
20363 (minus_infty): Likewise.
20364 (qnan_value): Likewise.
20365 (max_value): Likewise.
20366 (min_value): Likewise.
20367 (min_subnorm_value): Likewise.
20368
e054f494
RA
203692013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20370
20371 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20372 uint64_t or uint32_t usage.
20373 * crypt/sha256-block.c: Likewise.
20374 * crypt/sha256-crypt.c: Likewise.
20375 * crypt/sha256.c: Likewise.
20376 * crypt/sha512-block.c: Likewise.
20377 * crypt/sha512-crypt.c: Likewise.
20378 * crypt/sha512.c: Likewise.
20379 * debug/backtrace-tst.c: Likewise.
20380 * debug/pcprofiledump.c: Likewise.
20381 * elf/cache.c: Likewise.
20382 * elf/dl-cache.c: Likewise.
20383 * elf/dl-misc.c: Likewise.
20384 * elf/dl-profile.c: Likewise.
20385 * elf/dl-support.c: Likewise.
20386 * elf/ldconfig.c: Likewise.
20387 * elf/sprof.c: Likewise.
20388 * iconv/dummy-repertoire.c: Likewise.
20389 * iconv/iconv_charmap.c: Likewise.
20390 * iconv/skeleton.c: Likewise.
20391 * iconvdata/8bit-generic.c: Likewise.
20392 * iconvdata/cp737.h: Likewise.
20393 * iconvdata/cp775.h: Likewise.
20394 * iconvdata/ibm1008.h: Likewise.
20395 * iconvdata/ibm1025.h: Likewise.
20396 * iconvdata/ibm1046.h: Likewise.
20397 * iconvdata/ibm1097.h: Likewise.
20398 * iconvdata/ibm1112.h: Likewise.
20399 * iconvdata/ibm1122.h: Likewise.
20400 * iconvdata/ibm1123.h: Likewise.
20401 * iconvdata/ibm1124.h: Likewise.
20402 * iconvdata/ibm1129.h: Likewise.
20403 * iconvdata/ibm1130.h: Likewise.
20404 * iconvdata/ibm1132.h: Likewise.
20405 * iconvdata/ibm1133.h: Likewise.
20406 * iconvdata/ibm1137.h: Likewise.
20407 * iconvdata/ibm1140.h: Likewise.
20408 * iconvdata/ibm1141.h: Likewise.
20409 * iconvdata/ibm1142.h: Likewise.
20410 * iconvdata/ibm1143.h: Likewise.
20411 * iconvdata/ibm1144.h: Likewise.
20412 * iconvdata/ibm1145.h: Likewise.
20413 * iconvdata/ibm1146.h: Likewise.
20414 * iconvdata/ibm1147.h: Likewise.
20415 * iconvdata/ibm1148.h: Likewise.
20416 * iconvdata/ibm1149.h: Likewise.
20417 * iconvdata/ibm1153.h: Likewise.
20418 * iconvdata/ibm1154.h: Likewise.
20419 * iconvdata/ibm1155.h: Likewise.
20420 * iconvdata/ibm1156.h: Likewise.
20421 * iconvdata/ibm1157.h: Likewise.
20422 * iconvdata/ibm1158.h: Likewise.
20423 * iconvdata/ibm1160.h: Likewise.
20424 * iconvdata/ibm1161.h: Likewise.
20425 * iconvdata/ibm1162.h: Likewise.
20426 * iconvdata/ibm1163.h: Likewise.
20427 * iconvdata/ibm1164.h: Likewise.
20428 * iconvdata/ibm1166.h: Likewise.
20429 * iconvdata/ibm1167.h: Likewise.
20430 * iconvdata/ibm12712.h: Likewise.
20431 * iconvdata/ibm1390.h: Likewise.
20432 * iconvdata/ibm1399.h: Likewise.
20433 * iconvdata/ibm16804.h: Likewise.
20434 * iconvdata/ibm4517.h: Likewise.
20435 * iconvdata/ibm4899.h: Likewise.
20436 * iconvdata/ibm4909.h: Likewise.
20437 * iconvdata/ibm4971.h: Likewise.
20438 * iconvdata/ibm5347.h: Likewise.
20439 * iconvdata/ibm803.h: Likewise.
20440 * iconvdata/ibm856.h: Likewise.
20441 * iconvdata/ibm901.h: Likewise.
20442 * iconvdata/ibm902.h: Likewise.
20443 * iconvdata/ibm9030.h: Likewise.
20444 * iconvdata/ibm9066.h: Likewise.
20445 * iconvdata/ibm921.h: Likewise.
20446 * iconvdata/ibm922.h: Likewise.
20447 * iconvdata/ibm9448.h: Likewise.
20448 * iconvdata/isiri-3342.h: Likewise.
20449 * iconvdata/jis0201.h: Likewise.
20450 * include/link.h: Likewise.
20451 * include/netdb.h: Likewise.
20452 * inet/check_native.c: Likewise.
20453 * inet/check_pf.c: Likewise.
20454 * inet/getipv4sourcefilter.c: Likewise.
20455 * inet/getnameinfo.c: Likewise.
20456 * inet/getsourcefilter.c: Likewise.
20457 * inet/htonl.c: Likewise.
20458 * inet/setipv4sourcefilter.c: Likewise.
20459 * inet/setsourcefilter.c: Likewise.
20460 * inet/test-inet6_opt.c: Likewise.
20461 * inet/tst-network.c: Likewise.
20462 * locale/C-collate.c: Likewise.
20463 * locale/C-ctype.c: Likewise.
20464 * locale/C-time.c: Likewise.
20465 * locale/C-translit.h: Likewise.
20466 * locale/loadarchive.c: Likewise.
20467 * locale/programs/3level.h: Likewise.
20468 * locale/programs/charmap.c: Likewise.
20469 * locale/programs/charmap.h: Likewise.
20470 * locale/programs/ld-address.c: Likewise.
20471 * locale/programs/ld-collate.c: Likewise.
20472 * locale/programs/ld-ctype.c: Likewise.
20473 * locale/programs/ld-identification.c: Likewise.
20474 * locale/programs/ld-measurement.c: Likewise.
20475 * locale/programs/ld-messages.c: Likewise.
20476 * locale/programs/ld-monetary.c: Likewise.
20477 * locale/programs/ld-name.c: Likewise.
20478 * locale/programs/ld-numeric.c: Likewise.
20479 * locale/programs/ld-paper.c: Likewise.
20480 * locale/programs/ld-telephone.c: Likewise.
20481 * locale/programs/ld-time.c: Likewise.
20482 * locale/programs/linereader.c: Likewise.
20483 * locale/programs/locale.c: Likewise.
20484 * locale/programs/locarchive.c: Likewise.
20485 * locale/programs/locfile.h: Likewise.
20486 * locale/programs/repertoire.c: Likewise.
20487 * locale/programs/simple-hash.c: Likewise.
20488 * locale/programs/simple-hash.h: Likewise.
20489 * malloc/memusage.c: Likewise.
20490 * malloc/memusagestat.c: Likewise.
20491 * nis/nis_defaults.c: Likewise.
20492 * nis/nis_hash.c: Likewise.
20493 * nis/nis_print.c: Likewise.
20494 * nis/nis_xdr.c: Likewise.
20495 * nscd/connections.c: Likewise.
20496 * nscd/hstcache.c: Likewise.
20497 * nscd/nscd_gethst_r.c: Likewise.
20498 * nscd/nscd_getserv_r.c: Likewise.
20499 * nscd/nscd_helper.c: Likewise.
20500 * nscd/servicescache.c: Likewise.
20501 * nss/makedb.c: Likewise.
20502 * nss/nss_db/db-XXX.c: Likewise.
20503 * nss/nss_db/db-initgroups.c: Likewise.
20504 * nss/nss_db/db-netgrp.c: Likewise.
20505 * nss/nss_files/files-network.c: Likewise.
20506 * nss/nss_files/files-parse.c: Likewise.
20507 * posix/bug-regex5.c: Likewise.
20508 * posix/fnmatch_loop.c: Likewise.
20509 * posix/regcomp.c: Likewise.
20510 * posix/regexec.c: Likewise.
20511 * posix/tst-rfc3484-2.c: Likewise.
20512 * posix/tst-rfc3484-3.c: Likewise.
20513 * posix/tst-rfc3484.c: Likewise.
20514 * resolv/nss_dns/dns-canon.c: Likewise.
20515 * resolv/nss_dns/dns-network.c: Likewise.
20516 * resolv/res_init.c: Likewise.
20517 * resolv/res_mkquery.c: Likewise.
20518 * resolv/tst-aton.c: Likewise.
20519 * stdlib/cxa_atexit.c: Likewise.
20520 * stdlib/cxa_finalize.c: Likewise.
20521 * stdlib/gen-fpioconst.c: Likewise.
20522 * stdlib/strtol_l.c: Likewise.
20523 * string/tst-endian.c: Likewise.
20524 * sunrpc/auth_des.c: Likewise.
20525 * sunrpc/clnt_udp.c: Likewise.
20526 * sunrpc/rtime.c: Likewise.
20527 * sunrpc/svcauth_des.c: Likewise.
20528 * sunrpc/xdr.c: Likewise.
20529 * sunrpc/xdr_intXX_t.c: Likewise.
20530 * sunrpc/xdr_rec.c: Likewise.
20531 * sysdeps/generic/ldconfig.h: Likewise.
20532 * sysdeps/generic/ldsodefs.h: Likewise.
20533 * sysdeps/generic/memusage.h: Likewise.
20534 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20535 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20536 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20538 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20539 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20540 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20541 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20542 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20543 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20544 * sysdeps/posix/getaddrinfo.c: Likewise.
20545 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20546 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20547 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20548 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20549 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20550 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20551 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20552 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20553 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20554 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20555 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20556 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20557 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20558 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20559 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20560 * sysdeps/x86_64/dl-tls.h: Likewise.
20561 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20562 * time/alt_digit.c: Likewise.
20563 * time/era.c: Likewise.
20564 * wcsmbs/tst-c16c32-1.c: Likewise.
20565
8c75f674
JM
205662013-05-16 Joseph Myers <joseph@codesourcery.com>
20567
20568 * math/libm-test.inc (struct test_sincos_data): New type.
20569 (RUN_TEST_LOOP_sincos): New macro.
20570 (sincos_test_data): New variable.
20571 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20572
e6e49e59
RH
205732013-05-16 Richard Henderson <rth@redhat.com>
20574
20575 * math/atest-exp2.c (LIMB64): New macro.
20576 (CONSTSZ): New macro.
20577 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20578 (hexdig): Move ...
20579 (print_mpn_fp): ... to function scope.
20580 (read_mpn_hex): Remove.
20581 (get_log2): Remove.
20582 (exp2_mpn): Use mp_log2.
20583 (main): Use mp_exp1.
20584
15c7c18d
JM
205852013-05-16 Joseph Myers <joseph@codesourcery.com>
20586
105a07df
JM
20587 * math/libm-test.inc: Remove comment about not testing "inexact"
20588 exceptions.
20589 (INEXACT_EXCEPTION): New macro.
20590 (NO_INEXACT_EXCEPTION): Likewise.
20591 (INVALID_EXCEPTION_OK): Update value.
20592 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20593 (OVERFLOW_EXCEPTION_OK): Likewise.
20594 (UNDERFLOW_EXCEPTION_OK): Likewise.
20595 (IGNORE_ZERO_INF_SIGN): Likewise.
20596 (ERRNO_UNCHANGED): Likewise.
20597 (ERRNO_EDOM): Likewise.
20598 (ERRNO_ERANGE): Likewise.
20599 (test_exceptions): Handle testing "inexact" exceptions.
20600 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20601 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20602 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20603 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20604 INEXACT_EXCEPTION.
20605 (rint_towardzero_test_data): Likewise.
20606 (rint_downward_test_data): Likewise.
20607 (rint_upward_test_data): Likewise.
20608
e9eee333
JM
20609 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20610 with OVERFLOW_EXCEPTION.
20611 (exp10_test_data): Likewise.
20612 (exp2_test_data): Likewise.
20613 (expm1_test_data): Likewise.
20614 (lgamma_test_data): Likewise.
20615 (pow_test_data): Likewise.
20616 (tgamma_test_data): Likewise.
20617 (yn_test_data): Remove duplicate test of overflow.
20618
1c38ff73
JM
20619 * math/libm-test.inc (struct test_cc_c_data): New type.
20620 (RUN_TEST_LOOP_cc_c): New macro.
20621 (cpow_test_data): New variable.
20622 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20623
15c7c18d
JM
20624 * math/libm-test.inc (struct test_f_L_data): New type.
20625 (RUN_TEST_LOOP_f_L): New macro.
20626 (llrint_test_data): New variable.
20627 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20628 (llrint_tonearest_test_data): New variable.
20629 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20630 (llrint_towardzero_test_data): New variable.
20631 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20632 (llrint_downward_test_data): New variable.
20633 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20634 (llrint_upward_test_data): New variable.
20635 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20636 (llround_test_data): New variable.
20637 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20638
f137ff13
PC
206392013-05-13 Peter Collingbourne <pcc@google.com>
20640
20641 * math/atest-exp2.c (get_log2): Remove const attribute.
20642
3608cb24
JM
206432013-05-15 Joseph Myers <joseph@codesourcery.com>
20644
20645 * math/libm-test.inc (struct test_f_l_data): New type.
20646 (RUN_TEST_LOOP_f_l): New macro.
20647 (lrint_test_data): New variable.
20648 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20649 (lrint_tonearest_test_data): New variable.
20650 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20651 (lrint_towardzero_test_data): New variable.
20652 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20653 (lrint_downward_test_data): New variable.
20654 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20655 (lrint_upward_test_data): New variable.
20656 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20657 (lround_test_data): New variable.
20658 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20659
39b1f617
PC
206602013-05-15 Peter Collingbourne <pcc@google.com>
20661
1deff3dc
PC
20662 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20663 (EXTRACT_WORDS64) Use where appropriate.
20664 (INSERT_WORDS64) Likewise.
20665
791f3ba0
PC
20666 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20667 constraints with x constraints.
20668 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20669
39b1f617
PC
20670 * malloc/obstack.c (_obstack_compat): Add initializer.
20671
12fba011
EM
206722013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20673
20674 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20675 si_trapno and add si_addr_lsb to _sifields.sigfault.
20676 (si_trapno): Remove macro.
20677 (si_addr_lsb): Define new macro.
20678 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20679
d369f531
JM
206802013-05-15 Joseph Myers <joseph@codesourcery.com>
20681
b861c6c4
JM
20682 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20683 instead of TEST_f_l.
20684 (llrint_test_tonearest): Likewise.
20685 (llrint_test_towardzero): Likewise.
20686 (llrint_test_downward): Likewise.
20687 (llrint_test_upward): Likewise.
20688 (llround_test): Likewise.
20689
7abeee12
JM
20690 * math/libm-test.inc (struct test_f_i_data): Add comment.
20691 (RUN_TEST_LOOP_f_b): New macro.
20692 (RUN_TEST_LOOP_f_b_tg): Likewise.
20693 (finite_test_data): New variable.
20694 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20695 (isfinite_test_data): New variable.
20696 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20697 (isinf_test_data): New variable.
20698 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20699 (isnan_test_data): New variable.
20700 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20701 (isnormal_test_data): New variable.
20702 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20703 (issignaling_test_data): New variable.
20704 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20705 (signbit_test_data): New variable.
20706 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20707
cbe8c4d3
JM
20708 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20709 with INVALID_EXCEPTION.
20710 (acosh_test_data): Likewise.
20711 (asin_test_data): Likewise.
20712 (atanh_test_data): Likewise.
20713 (fmod_test_data): Likewise.
20714 (log_test_data): Likewise.
20715 (log10_test_data): Likewise.
20716 (log2_test_data): Likewise.
20717 (pow_test_data): Likewise.
20718 (sqrt_test_data): Likewise.
20719 (y0_test_data): Likewise.
20720 (y1_test_data): Likewise.
20721 (yn_test_data): Likewise.
20722
5575c0e5
JM
20723 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20724 function contents.
20725
d369f531
JM
20726 * math/libm-test.inc (struct test_ff_i_data): New type.
20727 (RUN_TEST_LOOP_ff_i_tg): New macro.
20728 (isgreater_test_data): New variable.
20729 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20730 (isgreaterequal_test_data): New variable.
20731 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20732 (isless_test_data): New variable.
20733 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20734 (islessequal_test_data): New variable.
20735 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20736 (islessgreater_test_data): New variable.
20737 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20738 (isunordered_test_data): New variable.
20739 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20740
781fd748
DM
207412013-05-14 David S. Miller <davem@davemloft.net>
20742
20743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20744
87aa21df
JM
207452013-05-14 Joseph Myers <joseph@codesourcery.com>
20746
5e908270
JM
20747 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20748
f71172e5
JM
20749 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20750 extra_test to int.
20751 (struct test_f_i_data): Change type of max_ulp to int.
20752
8cfa635a
JM
20753 * math/libm-test.inc (test_ffI_f1_data): New type.
20754 (RUN_TEST_LOOP_ffI_f1): New macro.
20755 (remquo_test_data): New variable.
20756 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20757
2bcb36b2
JM
20758 * setjmp/tst-setjmp-fp.c: New file.
20759 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20760 (link-libm): New variable.
20761 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20762
acbd839a
JM
20763 * math/libm-test.inc (struct test_f_i_data): New type.
20764 (RUN_TEST_LOOP_f_i): New macro.
20765 (RUN_TEST_LOOP_f_i_tg): Likewise.
20766 (fpclassify_test_data): New variable.
20767 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20768 (ilogb_test_data): New variable.
20769 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20770
e414d745
JM
20771 * math/libm-test.inc (scalbln_test): Correct function name in END
20772 call.
20773
d9c2a0fd
JM
20774 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20775 (RUN_TEST_LOOP_fI_f1): New macro.
20776 (frexp_test_data): New variable.
20777 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20778
9dc9095d
JM
20779 * math/libm-test.inc (struct test_fF_f1_data): New type.
20780 (RUN_TEST_LOOP_fF_f1): New macro.
20781 (modf_test_data): New variable.
20782 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20783
87aa21df
JM
20784 * math/libm-test.inc (struct test_f_f1_data): New type.
20785 (RUN_TEST_LOOP_f_f1): New macro.
20786 (gamma_test_data): New variable.
20787 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20788 (lgamma_test_data): New variable.
20789 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20790
141af660
CD
207912013-05-13 Carlos O'Donell <carlos@redhat.com>
20792
20793 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20794 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20795 (main): Comment "tls" pseudo-hwcap.
20796
6d33265c
JM
207972013-05-13 Joseph Myers <joseph@codesourcery.com>
20798
68fc074c
JM
20799 * math/libm-test.inc (struct test_fl_f_data): New type.
20800 (RUN_TEST_LOOP_fl_f): New variable.
20801 (scalbln_test_data): New variable.
20802 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20803
243216e1
JM
20804 * math/libm-test.inc (struct test_fi_f_data): New type.
20805 (RUN_TEST_LOOP_fi_f): New macro.
20806 (ldexp_test_data): New variable.
20807 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20808 (scalbn_test_data): New variable.
20809 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20810
6a1992e2
JM
20811 * math/libm-test.inc (struct test_c_f_data): New type.
20812 (RUN_TEST_LOOP_c_f): New macro.
20813 (cabs_test_data): New variable.
20814 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20815 (carg_test_data): New variable.
20816 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20817 (cimag_test_data): New variable.
20818 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20819 (creal_test_data): New variable.
20820 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20821
0e400df5
JM
20822 * math/libm-test.inc (struct test_if_f_data): New type.
20823 (RUN_TEST_LOOP_if_f): New macro.
20824 (jn_test_data): New variable.
20825 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20826 (yn_test_data): New variable.
20827 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20828
6d33265c
JM
20829 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20830
f98ece5f
AZ
208312013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20832
20833 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20834 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20835
0f7d347b
SP
208362013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20837
43fe811b
SP
20838 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20839 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20840 (bench-deps): Add bench-timing.h.
20841 * benchtests-bench-skeleton.c: Include bench-timing.h.
20842 (main): Use TIMING_* macros instead of clock_gettime.
20843 * benchtests/bench-timing.h: New file.
20844
0f7d347b
SP
20845 [BZ #14582]
20846 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20847 Renamed from _LIB_VERSION.
20848 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20849
601a3a5f
JM
208502013-05-12 Joseph Myers <joseph@codesourcery.com>
20851
4f184d30
JM
20852 * math/libm-test.inc (struct test_fff_f_data): New type.
20853 (RUN_TEST_LOOP_fff_f): New macro.
20854 (fma_test_data): New variable.
20855 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20856 (fma_towardzero_test_data): New variable.
20857 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20858 (fma_downward_test_data): New variable.
20859 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20860 (fma_upward_test_data): New variable.
20861 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20862
08198877
JM
20863 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20864 (struct test_c_c_data): New type.
20865 (RUN_TEST_LOOP_c_c): New macro.
20866 (cacos_test_data): New variable.
20867 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20868 (cacosh_test_data): New variable.
20869 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20870 (casin_test_data): New variable.
20871 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20872 (casinh_test_data): New variable.
20873 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20874 (catan_test_data): New variable.
20875 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20876 (catanh_test_data): New variable.
20877 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20878 (ccos_test_data): New variable.
20879 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20880 (ccosh_test_data): New variable.
20881 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20882 (cexp_test_data): New variable.
20883 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20884 (clog_test_data): New variable.
20885 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20886 (clog10_test_data): New variable.
20887 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20888 (conj_test_data): New variable.
20889 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20890 (cproj_test_data): New variable.
20891 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20892 (csin_test_data): New variable.
20893 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20894 (csinh_test_data): New variable.
20895 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20896 (csqrt_test_data): New variable.
20897 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20898 (ctan_test_data): New variable.
20899 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20900 (ctan_tonearest_test_data): New variable.
20901 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20902 (ctan_towardzero_test_data): New variable.
20903 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20904 (ctan_downward_test_data): New variable.
20905 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20906 (ctan_upward_test_data): New variable.
20907 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20908 (ctanh_test_data): New variable.
20909 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20910 (ctanh_tonearest_test_data): New variable.
20911 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20912 (ctanh_towardzero_test_data): New variable.
20913 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20914 (ctanh_downward_test_data): New variable.
20915 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20916 (ctanh_upward_test_data): New variable.
20917 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20918 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20919 of BUILD_COMPLEX.
20920
601a3a5f
JM
20921 * math/libm-test.inc (struct test_ff_f_data): New type.
20922 (struct test_ff_f_data_nexttoward): Likewise.
20923 (RUN_TEST_LOOP_2_f): New macro.
20924 (RUN_TEST_LOOP_ff_f): Likewise.
20925 (atan2_test_data): New variable.
20926 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20927 (copysign_test_data): New variable.
20928 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20929 (fdim_test_data): New variable.
20930 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20931 (fmax_test_data): New variable.
20932 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20933 (fmin_test_data): New variable.
20934 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20935 (fmod_test_data): New variable.
20936 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20937 (hypot_test_data): New variable.
20938 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20939 (nextafter_test_data): New variable.
20940 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20941 (nexttoward_test_data): New variable.
20942 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20943 (pow_test_data): New variable.
20944 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20945 (pow_tonearest_test_data): New variable.
20946 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20947 (pow_towardzero_test_data): New variable.
20948 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20949 (pow_downward_test_data): New variable.
20950 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20951 (pow_upward_test_data): New variable.
20952 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20953 (remainder_test_data): New variable.
20954 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20955 (scalb_test_data): New variable.
20956 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20957 * sysdeps/i386/fpu/libm-test-ulps: Update.
20958
74c57478
JM
209592013-05-11 Joseph Myers <joseph@codesourcery.com>
20960
8329e4da
JM
20961 * math/libm-test.inc (fma_test): Use max_value instead of local
20962 variable fltmax.
20963 (nextafter_test): Likewise.
20964
74c57478
JM
20965 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20966 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20967 (acos_downward_test_data): New variable.
20968 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20969 (acos_upward_test_data): New variable.
20970 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20971 (acosh_test_data): New variable.
20972 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20973 (asin_test_data): New variable.
20974 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20975 (asin_tonearest_test_data): New variable.
20976 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20977 (asin_towardzero_test_data): New variable.
20978 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20979 (asin_downward_test_data): New variable.
20980 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20981 (asin_upward_test_data): New variable.
20982 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20983 (asinh_test_data): New variable.
20984 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20985 (atan_test_data): New variable.
20986 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20987 (atanh_test_data): New variable.
20988 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20989 (cbrt_test_data): New variable.
20990 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20991 (ceil_test_data): New variable.
20992 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20993 (cos_test_data): New variable.
20994 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20995 (cos_tonearest_test_data): New variable.
20996 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20997 (cos_towardzero_test_data): New variable.
20998 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20999 (cos_downward_test_data): New variable.
21000 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21001 (cos_upward_test_data): New variable.
21002 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21003 (cosh_test_data): New variable.
21004 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21005 (cosh_tonearest_test_data): New variable.
21006 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21007 (cosh_towardzero_test_data): New variable.
21008 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21009 (cosh_downward_test_data): New variable.
21010 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21011 (cosh_upward_test_data): New variable.
21012 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21013 (erf_test_data): New variable.
21014 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21015 (erfc_test_data): New variable.
21016 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21017 (exp_test_data): New variable.
21018 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21019 (exp_tonearest_test_data): New variable.
21020 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21021 (exp_towardzero_test_data): New variable.
21022 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21023 (exp_downward_test_data): New variable.
21024 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21025 (exp_upward_test_data): New variable.
21026 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21027 (exp10_test_data): New variable.
21028 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21029 (exp2_test_data): New variable.
21030 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21031 (expm1_test_data): New variable.
21032 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21033 (fabs_test_data): New variable.
21034 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21035 (floor_test_data): New variable.
21036 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21037 (j0_test_data): New variable.
21038 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21039 (j1_test_data): New variable.
21040 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21041 (log_test_data): New variable.
21042 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21043 (log10_test_data): New variable.
21044 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21045 (log1p_test_data): New variable.
21046 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21047 (log2_test_data): New variable.
21048 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21049 (logb_test_data): New variable.
21050 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21051 (logb_downward_test_data): New variable.
21052 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21053 (nearbyint_test_data): New variable.
21054 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21055 (rint_test_data): New variable.
21056 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21057 (rint_tonearest_test_data): New variable.
21058 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21059 (rint_towardzero_test_data): New variable.
21060 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21061 (rint_downward_test_data): New variable.
21062 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21063 (rint_upward_test_data): New variable.
21064 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21065 (round_test_data): New variable.
21066 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21067 (sin_test_data): New variable.
21068 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21069 (sin_tonearest_test_data): New variable.
21070 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21071 (sin_towardzero_test_data): New variable.
21072 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21073 (sin_downward_test_data): New variable.
21074 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21075 (sin_upward_test_data): New variable.
21076 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21077 (sinh_test_data): New variable.
21078 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21079 (sinh_tonearest_test_data): New variable.
21080 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21081 (sinh_towardzero_test_data): New variable.
21082 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21083 (sinh_downward_test_data): New variable.
21084 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21085 (sinh_upward_test_data): New variable.
21086 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21087 (sqrt_test_data): New variable.
21088 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21089 (tan_test_data): New variable.
21090 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21091 (tan_tonearest_test_data): New variable.
21092 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21093 (tan_towardzero_test_data): New variable.
21094 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21095 (tan_downward_test_data): New variable.
21096 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21097 (tan_upward_test_data): New variable.
21098 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21099 (tanh_test_data): New variable.
21100 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21101 (tgamma_test_data): New variable.
21102 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21103 (trunc_test_data): New variable.
21104 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21105 (y0_test_data): New variable.
21106 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21107 (y1_test_data): New variable.
21108 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21109 (significand_test_data): New variable.
21110 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21111
7187d844
CG
211122013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21113
21114 [BZ #12387]
21115 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21116
f63fae73
PT
211172013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21118
21119 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21120
8a67a4b3
AJ
211212013-05-10 Andreas Jaeger <aj@suse.de>
21122
21123 [BZ #15448]
21124 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21125 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21126
51df539d
JM
211272013-05-10 Joseph Myers <joseph@codesourcery.com>
21128
21129 * math/gen-libm-test.pl (adjust_arg): New function.
21130 (special_functions): Handle generating output in both functions
21131 and arrays.
21132 (parse_args): Likewise.
21133 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21134 $in_func argument to parse_args.
21135 * math/libm-test.inc (struct test_f_f_data): New type.
21136 (IF_ROUND_INIT_): New macro.
21137 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21138 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21139 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21140 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21141 (ROUND_RESTORE_): Likewise.
21142 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21143 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21144 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21145 (ROUND_RESTORE_FE_UPWARD): Likewise.
21146 (RUN_TEST_LOOP_f_f): New macro.
21147 (acos_test_data): New variable.
21148 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21149 (acos_tonearest_test_data): New variable.
21150 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21151
5c637fe5
SP
211522013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21153
21154 * benchtests/bench-skeleton.c (startup): Fix coding style.
21155
ab2b9461
JM
211562013-05-10 Joseph Myers <joseph@codesourcery.com>
21157
21158 [BZ #6809]
21159 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21160 negative infinity argument.
21161 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21162 negative infinity argument.
21163 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21164 negative infinity argument.
21165 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21166 domain errors.
21167
4c0fe6fe
FW
211682013-05-10 Florian Weimer <fweimer@redhat.com>
21169
21170 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21171 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21172 * iconv/iconv_prog.c (main): Likewise.
21173 * locale/programs/charmap-dir.c (charmap_readdir)
21174 (fopen_uncompressed): Likewise.
21175 * locale/programs/locfile.c (siblings_uncached)
21176 (write_locale_data): Use lstat64 instead of lstat.
21177 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21178 stat.
21179
a3375d29
AJ
211802013-05-10 Andreas Jaeger <aj@suse.de>
21181
21182 [BZ #15395]
21183 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21184 localization.
21185 Include <locale.h>.
21186
36129722
CD
211872013-05-09 Carlos O'Donell <carlos@redhat.com>
21188
21189 * elf/dl-close.c (_dl_close_worker): Add comments.
21190
faa7f811
JM
211912013-05-09 Joseph Myers <joseph@codesourcery.com>
21192
ed41ffef
JM
21193 [BZ #15359]
21194 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21195 high part of pi/2.
21196 (__ieee754_rem_pio2l): Update comments.
21197
d0213cd0
JM
21198 [BZ #15429]
21199 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21200 high part of pi/2.
21201 (__ieee754_rem_pio2l): Update comments.
21202
0d3e777a
JM
21203 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21204 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21205
24f56066
JM
21206 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21207 M_PI_4l.
21208
faa7f811
JM
21209 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21210 (M_PI_34_LOG10El): Likewise.
21211 (M_PI2_LOG10El): Likewise.
21212 (M_PI4_LOG10El): Likewise.
21213 (M_PI_LOG10El): Likewise.
21214
e9a5e0fd
AZ
212152013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21216
21217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21218
d8cd06db
JM
212192013-05-08 Joseph Myers <joseph@codesourcery.com>
21220
a0d9f9d7
JM
21221 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21222 (MINUS_ZERO_INIT): Likewise.
21223 (PLUS_INFTY_INIT): Likewise.
21224 (MINUS_INFTY_INIT): Likewise.
21225 (QNAN_VALUE_INIT): Likewise.
21226 (MAX_VALUE_INIT): Likewise.
21227 (MIN_VALUE_INIT): Likewise.
21228 (MIN_SUBNORM_VALUE_INIT): Likewise.
21229 (plus_zero): Initialize with PLUS_ZERO_INIT.
21230 (minus_zero): Initialize with MINUS_ZERO_INIT.
21231 (plus_infty): Initialize with PLUS_INFTY_INIT.
21232 (minus_infty): Initialize with MINUS_INFTY_INIT.
21233 (qnan_value): Initialize with QNAN_VALUE_INIT.
21234 (max_value): Initialize with MAX_VALUE_INIT.
21235 (min_value): Initialize with MIN_VALUE_INIT.
21236 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21237
ae08db3b
JM
21238 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21239 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21240 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21241 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21242
f44bf14a
JM
21243 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21244 (RUN_TEST_2_f): Likewise.
21245 (RUN_TEST_ff_f): Likewise.
21246 (RUN_TEST_fi_f): Likewise.
21247 (RUN_TEST_fl_f): Likewise.
21248 (RUN_TEST_fff_f): Likewise.
21249 (RUN_TEST_c_f): Likewise.
21250 (RUN_TEST_f_f1): Likewise.
21251 (RUN_TEST_fF_f1): Likewise.
21252 (RUN_TEST_fI_f1): Likewise.
21253 (RUN_TEST_ffI_f1): Likewise.
21254 (RUN_TEST_c_c): Likewise.
21255 (RUN_TEST_cc_c): Likewise.
21256 (RUN_TEST_f_i): Likewise.
21257 (RUN_TEST_f_i_tg): Likewise.
21258 (RUN_TEST_ff_i_tg): Likewise.
21259 (RUN_TEST_f_b): Likewise.
21260 (RUN_TEST_f_b_tg): Likewise.
21261 (RUN_TEST_f_l): Likewise.
21262 (RUN_TEST_f_L): Likewise.
21263 (RUN_TEST_sincos): Likewise.
21264 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21265 whether to show exceptions. Do not include ");\n" in return
21266 value.
21267 (special_functions): Output call to RUN_TEST_sincos instead of
21268 check_float calls. Update calls to new_test.
21269 (parse_args): Output call to single RUN_TEST_* macro instead of
21270 check_* calls and other assignments. Update calls to new_test.
21271
d8cd06db
JM
21272 [BZ #2546]
21273 [BZ #2560]
21274 [BZ #5159]
21275 [BZ #15426]
21276 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21277 input to result for tgamma overflow.
21278 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21279 (gamma_coeff): New variable.
21280 (NCOEFF): New macro.
21281 (gamma_positive): New function.
21282 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21283 underflow here. Use gamma_positive instead of exp (lgamma) for
21284 other arguments.
21285 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21286 (gamma_coeff): New variable.
21287 (NCOEFF): New macro.
21288 (gammaf_positive): New function.
21289 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21290 underflow here. Use gamma_positive instead of exp (lgamma) for
21291 other arguments.
21292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21293 (gamma_coeff): New variable.
21294 (NCOEFF): New macro.
21295 (gammal_positive): New function.
21296 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21297 underflow here. Use gamma_positive instead of exp (lgamma) for
21298 other arguments.
21299 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21300 (gamma_coeff): New variable.
21301 (NCOEFF): New macro.
21302 (gammal_positive): New function.
21303 (__ieee754_gammal_r): Handle positive infinity, overflow and
21304 underflow here. Handle NaN the same as positive infinity. Remove
21305 check x < 0xffffffff for negative integers. Use gamma_positive
21306 instead of exp (lgamma) for other arguments.
21307 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21308 (gamma_coeff): New variable.
21309 (NCOEFF): New macro.
21310 (gammal_positive): New function.
21311 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21312 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21313 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21314 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21315 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21316 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21317 * sysdeps/generic/math_private.h (__gamma_productf): New
21318 prototype.
21319 (__gamma_product): Likewise.
21320 (__gamma_productl): Likewise.
21321 * math/Makefile (libm-calls): Add gamma_product.
21322 * math/libm-test.inc (tgamma_test): Add more tests.
21323 * sysdeps/i386/fpu/libm-test-ulps: Update.
21324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21325
bb7cf681
OB
213262013-05-08 Ondřej Bílka <neleai@seznam.cz>
21327
21328 * benchtests/bench-skeleton.c (main): Preheat CPU.
21329
ba853947
AJ
213302013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21331
21332 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21333
8347c74c
RM
213342013-05-07 Roland McGrath <roland@hack.frob.com>
21335
21336 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21337 and _dl_skip_args_internal.
21338
e8dd4791
CD
213392013-05-07 Carlos O'Donell <carlos@redhat.com>
21340
21341 * manual/message.texi (Message Translation): Talk about users.
21342 Message to key mapping impacts design.
21343
c7405830
RM
213442013-05-06 Roland McGrath <roland@hack.frob.com>
21345
a9173057
RM
21346 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21347
976e2f03
RM
21348 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21349
9723ffc5
RM
21350 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21351 * sysdeps/wordsize-64/glob64.c: ... here.
21352
962e6658
RM
21353 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21354 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21355 New macros.
21356
ee586a6d
RM
21357 * debug/getlogin_r_chk.c: Moved to ...
21358 * login/getlogin_r_chk.c: ... here.
21359 * debug/Makefile (routines): Move getlogin_r_chk to ...
21360 * login/Makefile (routines): ... here.
21361 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21362 * login/Versions (libc: GLIBC_2.4): ... here.
21363
355f9165
RM
21364 * io/poll.c (__poll): Renamed from poll.
21365 Add libc_hidden_def.
21366 (poll): Define as weak alias.
21367
bd9ffde6
RM
21368 * debug/ptsname_r_chk.c: Moved to ...
21369 * login/ptsname_r_chk.c: ... here.
21370 * debug/Makefile (routines): Move ptsname_r_chk to ...
21371 * login/Makefile (routines): ... here.
21372 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21373 * login/Versions (libc: GLIBC_2.4): ... here.
21374
8fb16a04
RM
21375 * posix/getlogin.c: Moved to ...
21376 * login/getlogin.c: ... here.
21377 * posix/getlogin_r.c: Moved to ...
21378 * login/getlogin_r.c: ... here.
21379 * posix/getlogin_r.c: Moved to ...
21380 * login/getlogin_r.c: ... here.
21381 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21382 * login/Makefile (routines): ... here.
21383 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21384 * login/Versions (libc: GLIBC_2.0): ... here.
21385
b99b892f
RM
21386 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21387 (setrlimit): Define as weak alias.
21388
c7405830
RM
21389 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21390 Call __ names for open, ftruncate, and close.
21391 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21392 (truncate): Define as weak alias.
21393
5bf96de5
JM
213942013-05-06 Joseph Myers <joseph@codesourcery.com>
21395
9ea3513c
JM
21396 * math/gen-libm-test.pl (parse_args): Initialize x before each
21397 test of frexp, modf and remquo.
21398
5bf96de5
JM
21399 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21400 test signgam value.
21401
16e616a7
AZ
214022013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21403
21404 [BZ #15418]
21405 [BZ #15419]
21406 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21407 internal tests.
21408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21409
d5e82754
RM
214102013-05-06 Roland McGrath <roland@hack.frob.com>
21411
21412 * elf/dl-writev.h: New file.
21413 * elf/dl-misc.c: Include it.
21414 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21415 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21416
a7548d41
JM
214172013-05-04 Joseph Myers <joseph@codesourcery.com>
21418
b7dab1e4
JM
21419 * math/libm-test.inc (noXFails): Remove variable.
21420 (noXPasses): Likewise.
21421 (BUILD_COMPLEX_INT): Remove macro.
21422 (print_screen): Remove xfail argument.
21423 (print_screen_max_error): Likewise.
21424 (update_stats): Likewise.
21425 (print_max_error): Likewise. Update calls to other affected
21426 functions.
21427 (print_complex_max_error): Likewise.
21428 (test_single_exception): Update calls to print_screen.
21429 (test_single_errno): Likewise.
21430 (check_float_internal): Remove xfail argument. Update calls to
21431 other affected functions.
21432 (check_float): Likewise.
21433 (check_complex): Likewise.
21434 (check_int): Likewise.
21435 (check_long): Likewise.
21436 (check_bool): Likewise.
21437 (check_longlong): Likewise.
21438 (main): Don't print noXFails and noXPasses.
21439 * math/gen-libm-test.pl (top level): Don't mention expected
21440 failure handling in comment.
21441 (new_test): Don't handle expected failures.
21442 (parse_args): Don't mention expected failure handling in comment.
21443 (generate_testfile): Don't handle expected failures.
21444 (parse_ulps): Likewise.
21445 (print_ulps_file): Likewise.
21446 (get_failure): Remove function.
21447 (output_test): Don't handle expected failures.
21448 * make/README.libm-test: Don't mention expected failure handling.
21449
a7548d41
JM
21450 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21451 (minus_zero): Likewise.
21452 (plus_infty): Likewise.
21453 (minus_infty): Likewise.
21454 (qnan_value): Likewise.
21455 (max_value): Likewise.
21456 (min_value): Likewise.
21457 (min_subnorm_value): Likewise.
21458 (initialize): Do not initialize those variables dynamically.
21459
60bfd54c
RM
214602013-05-03 Roland McGrath <roland@hack.frob.com>
21461
cc0e6ed8
RM
21462 * io/open.c (__open_2): Moved to ...
21463 * io/open_2.c: ... this new file.
21464 * io/open64.c (__open64_2): Moved to ...
21465 * io/open64_2.c: ... this new file.
21466 * io/openat.c (__openat_2): Moved to ...
21467 * io/openat_2.c: ... this new file.
21468 * io/openat64.c (__openat64_2): Moved to ...
21469 * io/openat64_2.c: ... this new file.
21470 * io/Makefile (routines): Add them.
21471 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21472 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21473 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21474 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21475 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21476 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21477 (__openat64): Add hidden_ver.
21478 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21479 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21480
60bfd54c
RM
21481 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21482 Separately conditionalize setting of GLRO(dl_sysinfo) so
21483 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21484 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21485
83e7640f
AZ
214862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21487
21488 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21489 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21490 definition.
21491 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21492 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21493 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21494 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21495 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21496
d5dc2af3
JM
214972013-05-03 Joseph Myers <joseph@codesourcery.com>
21498
c31a5b1e
JM
21499 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21500 test signgam value.
21501
d5dc2af3
JM
21502 * math/libm-test.inc (hypot_test): Do not use
21503 IGNORE_ZERO_INF_SIGN.
21504
164fd39d
AJ
215052013-05-03 Andreas Jaeger <aj@suse.de>
21506
21507 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21508 Linux 3.9.
21509 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21510 (PF_MAX): Adjust for VSOCK change.
21511
8237f48c
AZ
215122013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21513
21514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21515
9df02941
CD
215162013-05-02 Carlos O'Donell <carlos@redhat.com>
21517
21518 [BZ #15264]
21519 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21520 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21521 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21522
d422395e
DM
215232013-05-02 David S. Miller <davem@davemloft.net>
21524
21525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21526
a07c5731
OB
215272013-05-01 Ondřej Bílka <neleai@seznam.cz>
21528
21529 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21530
1324e37f
RM
215312013-05-01 Roland McGrath <roland@hack.frob.com>
21532
21533 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21534
0695940b
RS
215352013-05-01 Richard Smith <richard@metafoo.co.uk>
21536
bb5f27ad 21537 [BZ #14952]
0695940b
RS
21538 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21539 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21540 Use __attribute__ ((__gnu_inline__)).
21541 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21542 Don't use __attribute__ ((__gnu_inline__)).
21543
10de07f5
JM
215442013-05-01 Joseph Myers <joseph@codesourcery.com>
21545
21546 [BZ #15423]
21547 * math/s_catan.c (__catan): Handle small real or imaginary part of
21548 input specially to avoid spurious underflow.
21549 * math/s_catanf.c (__catanf): Likewise.
21550 * math/s_catanh.c (__catanh): Likewise.
21551 * math/s_catanhf.c (__catanhf): Likewise.
21552 * math/s_catanhl.c (__catanhl): Likewise.
21553 * math/s_catanl.c (__catanl): Likewise.
21554 * math/libm-test.inc (catan_test): Add more tests.
21555 (catanh_test): Likewise.
21556 * sysdeps/i386/fpu/libm-test-ulps: Update.
21557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21558
cb4d5414
AZ
215592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21560
21561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21562
caf84319
JM
215632013-04-30 Joseph Myers <joseph@codesourcery.com>
21564
21565 [BZ #15416]
21566 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21567 accurately for denominator in atan2.
21568 * math/s_catanf.c (__catanf): Likewise.
21569 * math/s_catanh.c (__catanh): Likewise.
21570 * math/s_catanhf.c (__catanhf): Likewise.
21571 * math/s_catanhl.c (__catanhl): Likewise.
21572 * math/s_catanl.c (__catanl): Likewise.
21573 * math/libm-test.inc (catan_test): Add more tests.
21574 (catanh_test): Likewise.
21575 * sysdeps/i386/fpu/libm-test-ulps: Update.
21576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21577
d569c6ee
SP
215782013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21579
6dbe713d
SP
21580 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21581
f0ee064b
SP
21582 * benchtests/Makefile (bench): Remove slow benchmarks.
21583 * benchtests/atan-inputs: Add slow benchmark inputs.
21584 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21585 (BENCH_FUNC): Accept variant offset.
21586 (VARIANT): Define.
21587 * benchtests/bench-skeleton.c (main): Run benchmark for each
21588 variant.
21589 * benchtests/cos-inputs: Add slow benchmark inputs.
21590 * benchtests/exp-inputs: Likewise.
21591 * benchtests/pow-inputs: Likewise.
21592 * benchtests/sin-inputs: Likewise.
21593 * benchtests/slowatan-inputs: Remove.
21594 * benchtests/slowatan.c: Remove.
21595 * benchtests/slowcos-inputs: Remove.
21596 * benchtests/slowcos.c: Remove.
21597 * benchtests/slowexp-inputs: Remove.
21598 * benchtests/slowexp.c: Remove.
21599 * benchtests/slowpow-inputs: Remove.
21600 * benchtests/slowpow.c: Remove.
21601 * benchtests/slowsin-inputs: Remove.
21602 * benchtests/slowsin.c: Remove.
21603 * benchtests/slowtan-inputs: Remove.
21604 * benchtests/slowtan.c: Remove.
21605 * benchtests/tan-inputs: Add slow benchmark inputs.
21606 * scripts/bench.pl: Parse comments and directives.
21607
d569c6ee
SP
21608 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21609 in CPPFLAGS.
21610 ($(objpfx)bench-%.c): Remove *-ITER.
21611 * benchtests/bench-modf.c: Remove definition of ITER.
21612 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21613 (main): Loop for DURATION seconds instead of fixed number of
21614 iterations.
21615 * scripts/bench.pl: Don't expect iterations in parameters.
21616
a6a242fe
RM
216172013-04-29 Roland McGrath <roland@hack.frob.com>
21618
21619 * io/fchdir.c (__fchdir): Renamed from fchdir.
21620 (fchdir): Define as weak alias.
21621
f2da7793
JM
216222013-04-29 Joseph Myers <joseph@codesourcery.com>
21623
21624 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21625 (ERRNO_EDOM): Likewise.
21626 (ERRNO_ERANGE): Likewise.
21627 (noErrnoTests): New variable.
21628 (init_max_error): Set errno to 0.
21629 (test_single_errno): New function.
21630 (test_errno): Likewise.
21631 (check_float_internal): Call test_errno. Set errno to 0.
21632 (check_complex): Refer to errno tests in comment.
21633 (check_int): Call test_errno. Set errno to 0.
21634 (check_long): Likewise.
21635 (check_bool): Likewise.
21636 (check_longlong): Likewise.
21637 (cos_test): Use ERRNO_* flags for errno tests instead of
21638 check_int.
21639 (expm1_test): Likewise.
21640 (fmod_test): Likewise.
21641 (ilogb_test): Likewise.
21642 (lgamma_test): Likewise.
21643 (pow_test): Likewise.
21644 (remainder_test): Likewise.
21645 (sin_test): Likewise.
21646 (tan_test): Likewise.
21647 (yn_test): Likewise.
21648 (initialize): Set errno to 0.
21649 (main): Print number of errno tests.
21650 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21651
b1a36ceb
AJ
216522013-04-29 Andreas Jaeger <aj@suse.de>
21653
c3ed8088
AJ
21654 [BZ #15084]
21655 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21656 and RES_USEVC.
21657
f1a24198
AJ
21658 [BZ #15085]
21659 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21660 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21661 unimplemented.
21662
9ce3b2cb
AJ
21663 [BZ #15380]
21664 * stdlib/random.c (__initstate): Return NULL if
21665 __initstate fails.
21666
f1a24198 21667 [BZ #15086]
b1a36ceb
AJ
21668 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21669 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21670 RES_SNGLKUPREOP.
21671
7e7b6f36
AZ
216722013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21673
21674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21675
4d14f449
JM
216762013-04-29 Joseph Myers <joseph@codesourcery.com>
21677
21678 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21679 of individual tests.
21680 (casin_test): Likewise.
21681 (casinh_test): Likewise.
21682
5b4217d7
JM
216832013-04-27 Joseph Myers <joseph@codesourcery.com>
21684
21685 [BZ #15409]
21686 * math/s_catan.c (__catan): Handle arguments with large real or
21687 imaginary part separately without squaring.
21688 * math/s_catanf.c (__catanf): Likewise.
21689 * math/s_catanh.c (__catanh): Likewise.
21690 * math/s_catanhf.c (__catanhf): Likewise.
21691 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21692 and redefine.
21693 (__catanhl): Handle arguments with large real or imaginary part
21694 separately without squaring.
21695 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21696 and redefine.
21697 (__catanl): Handle arguments with large real or imaginary part
21698 separately without squaring.
21699 * math/libm-test.inc (catan_test): Add more tests.
21700 (catanh_test): Likewise.
21701 * sysdeps/i386/fpu/libm-test-ulps: Update.
21702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21703
4220c3ef
AJ
217042013-04-27 Andreas Jaeger <aj@suse.de>
21705
21706 [BZ #15007]
21707 * stdlib/stdlib.h: Update guards for qecvt.
21708 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21709 <stdlib.h>.
21710
4721b2d1
AM
217112013-04-27 Allan McRae <allan@archlinux.org>
21712
21713 * sysdeps/i386/fpu/libm-test-ulps: Update.
21714
f0302940
JM
217152013-04-26 Joseph Myers <joseph@codesourcery.com>
21716
9457fd95
JM
21717 [BZ #15406]
21718 * math/s_catan.c: Include <float.h>.
21719 (__catan): Ensure underflow exception occurs for underflowed
21720 result.
21721 * math/s_catanf.c: Include <float.h>.
21722 (__catanf): Ensure underflow exception occurs for underflowed
21723 result.
21724 * math/s_catanh.c: Include <float.h>.
21725 (__catanh): Ensure underflow exception occurs for underflowed
21726 result.
21727 * math/s_catanhf.c: Include <float.h>.
21728 (__catanhf): Ensure underflow exception occurs for underflowed
21729 result.
21730 * math/s_catanhl.c: Include <float.h>.
21731 (__catanhl): Ensure underflow exception occurs for underflowed
21732 result.
21733 * math/s_catanl.c: Include <float.h>.
21734 (__catanl): Ensure underflow exception occurs for underflowed
21735 result.
21736 * math/libm-test.inc (catan_test): Add more tests.
21737 (catanh_test): Likewise.
21738
f0302940
JM
21739 [BZ #15405]
21740 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21741 underflowed result.
21742 * math/s_ccoshf.c (__ccoshf): Likewise.
21743 * math/s_ccoshl.c (__ccoshl): Likewise.
21744 * math/s_csin.c (__csin): Likewise.
21745 * math/s_csinf.c (__csinf): Likewise.
21746 * math/s_csinh.c (__csinh): Likewise.
21747 * math/s_csinhf.c (__csinhf): Likewise.
21748 * math/s_csinhl.c (__csinhl): Likewise.
21749 * math/s_csinl.c (__csinl): Likewise.
21750 * math/libm-test.inc (ccos_test): Add more tests.
21751 (ccosh_test): Likewise.
21752 (csin_test): Likewise.
21753 (csinh_test): Likewise.
21754
aa630f59
AZ
217552013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21756
21757 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21758 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21759 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21760 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21761 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21762 powerpc/power5+/fpu folders.
21763 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21764
21765
1b835983
MT
217662013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21767
21768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21769
73709b26
JM
217702013-04-25 Joseph Myers <joseph@codesourcery.com>
21771
21772 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21773 additions to variable.
21774 [$(config-machine) = x86_64] (modules-names): Likewise.
21775 ($(objpfx)tst-audit3): Remove dependency.
21776 ($(objpfx)tst-audit3.out): Likewise.
21777 ($(objpfx)tst-audit4): Likewise.
21778 ($(objpfx)tst-audit4.out): Likewise.
21779 ($(objpfx)tst-audit5): Likewise.
21780 ($(objpfx)tst-audit5.out): Likewise.
21781 ($(objpfx)tst-audit6): Likewise.
21782 ($(objpfx)tst-audit6.out): Likewise.
21783 ($(objpfx)tst-audit7): Likewise.
21784 ($(objpfx)tst-audit7.out): Likewise.
21785 (tst-audit3-ENV): Remove variable.
21786 (tst-audit4-ENV): Likewise.
21787 (tst-audit5-ENV): Likewise.
21788 (tst-audit6-ENV): Likewise.
21789 (tst-audit7-ENV): Likewise.
21790 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21791 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21792 addition to variable.
21793 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21794 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21795 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21796 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21797 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21798 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21799 tst-audit3, tst-audit4 and tst-audit5.
21800 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21801 tst-audit6 and tst-audit7.
21802 [$(subdir) = elf] (modules-names): Add audit modules for those
21803 tests.
21804 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21805 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21806 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21807 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21808 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21809 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21810 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21811 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21812 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21813 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21814 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21815 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21816 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21817 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21818 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21819 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21820 Likewise.
21821 [$(subdir) = elf && $(config-cflags-avx) = yes]
21822 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21823 [$(subdir) = elf && $(config-cflags-avx) = yes]
21824 (CFLAGS-tst-auditmod4a.c): Likewise.
21825 [$(subdir) = elf && $(config-cflags-avx) = yes]
21826 (CFLAGS-tst-auditmod4b.c): Likewise.
21827 [$(subdir) = elf && $(config-cflags-avx) = yes]
21828 (CFLAGS-tst-auditmod6b.c): Likewise.
21829 [$(subdir) = elf && $(config-cflags-avx) = yes]
21830 (CFLAGS-tst-auditmod6c.c): Likewise.
21831 [$(subdir) = elf && $(config-cflags-avx) = yes]
21832 (CFLAGS-tst-auditmod7b.c): Likewise.
21833 * elf/tst-audit3.c: Move to ...
21834 * sysdeps/x86_64/tst-audit3.c: ... here.
21835 * elf/tst-audit4.c: Move to ...
21836 * sysdeps/x86_64/tst-audit4.c: ... here.
21837 * elf/tst-audit5.c: Move to ...
21838 * sysdeps/x86_64/tst-audit5.c: ... here.
21839 * elf/tst-audit6.c: Move to ...
21840 * sysdeps/x86_64/tst-audit6.c: ... here.
21841 * elf/tst-audit7.c: Move to ...
21842 * sysdeps/x86_64/tst-audit7.c: ... here.
21843 * elf/tst-auditmod3a.c: Move to ...
21844 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21845 * elf/tst-auditmod3b.c: Move to ...
21846 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21847 * elf/tst-auditmod4a.c: Move to ...
21848 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21849 * elf/tst-auditmod4b.c: Move to ...
21850 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21851 * elf/tst-auditmod5a.c: Move to ...
21852 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21853 * elf/tst-auditmod5b.c: Move to ...
21854 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21855 * elf/tst-auditmod6a.c: Move to ...
21856 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21857 * elf/tst-auditmod6b.c: Move to ...
21858 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21859 * elf/tst-auditmod6c.c: Move to ...
21860 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21861 * elf/tst-auditmod7a.c: Move to ...
21862 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21863 * elf/tst-auditmod7b.c: Move to ...
21864 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21865
1ef74943
PP
218662013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21867
21868 [BZ #15366]
21869 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21870 define unconditionally.
21871 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21872 define unconditionally.
21873 (INT8_C, INT16_C, etc.): Likewise.
21874
93fd48c5
MR
218752013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21876
ae9552cf
MR
21877 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21878 __ehdr_start with hidden visibility.
21879
93fd48c5
MR
21880 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21881
418601aa
CD
218822013-04-24 Carlos O'Donell <carlos@redhat.com>
21883
21884 * math/libm-test.inc (cos_test): Use accurate hex constants.
21885 (sincost_test): Likewise.
21886
2f38fbfe
JM
218872013-04-24 Joseph Myers <joseph@codesourcery.com>
21888
5e221800
JM
21889 * math/libm-test.inc (catan_test): Add more tests.
21890 (catanh_test): Likewise.
21891
77f143fd
JM
21892 * math/s_catanf.c (__catanf): Use suffixed floating-point
21893 constants.
21894 * math/s_catanhf.c (__catanhf): Likewise.
21895 * math/s_catanhl.c (__catanhl): Likewise.
21896 * math/s_catanl.c (__catanl): Likewise.
21897
2f38fbfe
JM
21898 [BZ #15394]
21899 * math/s_catan.c (__catan): Calculate imaginary part of result
21900 with log1p not log unless computing log of number close to 0.
21901 * math/s_catanf.c (__catanf): Likewise.
21902 * math/s_catanl.c (__catanl): Likewise.
21903 * math/s_catanh.c (__catanh): Calculate real part of result with
21904 log1p not log unless computing log of number close to 0.
21905 * math/s_catanhf.c (__catanhf): Likewise.
21906 * math/s_catanhl.c (__catanhl): Likewise.
21907 * math/libm-test.inc (catan_test): Add more tests.
21908 (catanh_test): Likewise.
21909 * sysdeps/i386/fpu/libm-test-ulps: Update.
21910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21911
45d69176
SP
219122013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21913
21914 * benchtests/Makefile: Mention files in which fast and slow
21915 paths of math functions are implemented.
21916
87f51853
RM
219172013-04-23 Roland McGrath <roland@hack.frob.com>
21918
21919 * sysdeps/posix/timespec_get.c: New file.
21920
3c026539
AZ
219212013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21922
21923 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21924 POWER.
21925 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21926 for POWER.
21927 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21928 powerpc/power5/fpu folders.
21929 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21930 * benchtests/Makefile: Add modf testcase.
21931 * benchtests/bench-modf.c: New file: Benchmark test for mo
21932
ff491d14
SP
219332013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21934
21935 [BZ #14888]
21936 * time/Makefile (tests): Add tst-strptime-whitespace.
21937 * time/strptime_l.c (get_number): Use ISSPACE.
21938 (__strptime_internal): Likewise.
21939 * time/tst-strptime-whitespace.c: New test case.
21940
7ed3f4e8
AS
219412013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21942
21943 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21944 member.
21945 (_nss_files_init): Set it here.
21946
5c95f7b6
HC
219472013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21948
21949 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21950 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21951 unsigned.
21952
d34c9158
JBG
219532013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21954
21955 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21956
2169712d
SP
219572013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21958
21959 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21960 size just once.
21961
29c5de99
DM
219622013-04-21 David S. Miller <davem@davemloft.net>
21963
21964 * po/ru.po: Update Russion translation from translation project.
21965
ccdad15d
AC
219662013-04-17 Adam Conrad <adconrad@0c3.net>
21967
21968 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21969 and setfsgid.
21970
0f122b8d
CD
219712013-04-17 Carlos O'Donell <carlos@redhat.com>
21972
5c5b07da 21973 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21974 * configure: Regenerate.
5c5b07da 21975 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21976 Add example to error message.
21977 * sysdeps/i386/configure: Regenerate.
21978
037714dd
SP
219792013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21980
21981 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21982 slowtan.
21983 * benchtests/cos-inputs: New file.
21984 * benchtests/slowcos-inputs: New file.
21985 * benchtests/slowcos.c: New file.
21986 * benchtests/slowtan-inputs: New file.
21987 * benchtests/slowtan.c: New file.
21988 * benchtests/tan-inputs: New file.
21989
e913141d
RM
219902013-04-16 Roland McGrath <roland@hack.frob.com>
21991
21992 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21993 considered kosher.
21994
a2964074
SP
219952013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21996
4856bcd2
SP
21997 * benchtests/Makefile: Include cppflags-iterator.mk to add
21998 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21999
a2964074
SP
22000 * Makefile.in (bench-clean): New target.
22001 * benchtests/Makefile (bench-clean): Likewise.
22002
9fbf9aca
DH
220032013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22004
22005 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22006
207d1e2a
TS
220072013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22008
22009 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22010
306dfba9
AS
220112013-04-15 Andreas Schwab <schwab@suse.de>
22012
22013 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22014 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22015 * nscd/pwdcache.c (cache_addpw): Likewise.
22016 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22017 more than recsize.
22018
206a6699
SP
220192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22020
22021 * benchtests/Makefile (bench): Write all output to
22022 bench-out.tmp together.
22023
0582f6b3
AS
220242013-04-15 Andreas Schwab <schwab@suse.de>
22025
22026 * nscd/nscd.c (main): Don't fork again after closing files.
22027
acb4325f
SP
220282013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22029
5cb26d0a
SP
22030 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22031
acb4325f
SP
22032 * benchtests/Rules (bench-deps): Collect dependencies into a
22033 single variable. Add Makefile to dependencies.
22034 ($(objpfx)bench-%.c): Depend on bench-deps.
22035
47792506
RM
220362013-04-12 Roland McGrath <roland@hack.frob.com>
22037 Xavier Roche <roche+kml2@exalead.com>
22038
22039 [BZ #15361]
22040 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22041 just that it's a file descriptor.
22042 * manual/llio.texi (Synchronizing AIO Operations): Update description
22043 for EBADF error from aio_fsync.
22044
8fc1bee5
SP
220452013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22046
22047 * Rules (bench): Move target definition...
22048 * benchtests/Makefile: ... here.
22049
aba5e333
CD
220502013-04-11 Carlos O'Donell <carlos@redhat.com>
22051
22052 * math/libm-test.inc (cos_test): Fix PI/2 test.
22053 (sincos_test): Likewise.
22054 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22055 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22056
273cdee8
AS
220572013-04-11 Andreas Schwab <schwab@suse.de>
22058
6ecec3b6
AS
22059 [BZ #13988]
22060 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22061 accept exponent character only when digits were seen.
22062 * stdio-common/Makefile (tests): Add bug26.
22063 * stdio-common/bug26.c: New file.
22064
273cdee8
AS
22065 [BZ #14293]
22066 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22067 non-freeable.
22068
8da491f5
SP
220692013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22070
01dc6df9
SP
22071 * Makeconfig (rtld-prefix): Define built linker prefix.
22072 * Rules (run-bench): Use it.
22073 * math/Makefile (run-regen-ulps): Likewise.
22074
8da491f5
SP
22075 * Rules (bench): Remove eval.
22076
abe7f530
SP
220772013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22078 Roland McGrath <roland@hack.frob.com>
22079 Ondrej Bilka <neleai@seznam.cz>
22080
22081 [BZ #15346]
22082 * time/getdate.c: Include ctype.h and alloca.h.
22083 (__getdate_r): Trim leading and trailing spaces of input.
22084 * time/tst-getdate.c (tests): Add tests with leading and
22085 trailing spaces.
22086
61c23e62
RM
220872013-04-08 Roland McGrath <roland@hack.frob.com>
22088
22089 [BZ #14280]
22090 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22091 when computing value.
22092
7208a313
CD
220932013-04-06 Carlos O'Donell <carlos@redhat.com>
22094
085b2d41
CD
22095 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22096 Use testrun.sh to run libm tests.
22097
7208a313
CD
22098 [BZ #15309]
22099 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22100
872c0acd
MM
221012013-04-06 Marko Myllynen <myllynen@redhat.com>
22102
22103 [BZ #15264]
22104 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22105
26510bdd
CD
221062013-04-06 Carlos O'Donell <carlos@redhat.com>
22107
22108 * Makefile.in (regen-ulps): New target.
22109 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22110 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22111 [ifneq (no,$(PERL)] (regen-ulps): New target.
22112 [ifeq (no,$(PERL)] (regen-ulps): New target.
22113 * math/libm-test.inc (ulps_file_name): Define.
22114 (output_dir): New variable.
22115 (options): Add "output-dir" option.
22116 (parse_opt): Handle 'o' case.
22117 (main): If output_dir is non-NULL use it as a prefix
22118 otherwise use "".
22119 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22120
a01f19c8
CD
221212013-04-06 Carlos O'Donell <carlos@redhat.com>
22122
22123 [BZ #10060, #10062]
22124 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22125 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22126 fail configure if __sync_val_compare_and_swap is not inlined.
22127 * sysdeps/i386/configure: Regenerate.
22128 * configure.in: Build for i686 when configured for i386.
22129 * configure: Regenerate.
22130 * README: Remove i386 reference.
22131
b7a329a5
CD
221322013-04-06 Carlos O'Donell <carlos@redhat.com>
22133
22134 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22135 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22136
bf0f50df
TS
221372013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22138
ee091edf
TS
22139 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22140 (lmsnanval): New variables.
22141 (F): Add conversion tests.
22142 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22143 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22144
a8b792d6
TS
22145 * stdio-common/tstdiomisc.c (F): Properly collect individual
22146 tests' results.
22147
a1cbf437
TS
22148 [BZ #14686, #15336]
22149 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22150 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22151 Instead, use input NaN values or generate a qNaN by arithmetic
22152 operation. Also fix bugs to comply with the standard.
22153 * math/libm-test.inc (remainder_test): Add more tests.
22154
8b43a0c9
TS
22155 [BZ #15335, #15342]
22156 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22158 input NaN values or generate a qNaN by arithmetic operation.
22159
d91da4ce
TS
22160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22161 unreachable code.
22162
bf0f50df
TS
22163 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22164 definitions.
22165
05e166c8
JM
221662013-04-03 Joseph Myers <joseph@codesourcery.com>
22167
22168 [BZ #14478]
22169 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22170 underflowed result.
22171 * math/s_cexpf.c (__cexpf): Likewise.
22172 * math/s_cexpl.c (__cexpl): Likewise.
22173 * math/libm-test.inc (cexp_test): Add more tests.
22174
1cef1b19
AS
221752013-04-03 Andreas Schwab <schwab@suse.de>
22176
22177 [BZ #15330]
22178 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22179 order arrays from heap if bigger than alloca cutoff.
22180
74d87055
TS
221812013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22182
22183 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22184 (SNAN_TESTS_double): Refer to GCC PR56831.
22185 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22186 GCC PR56828.
22187
d755bba4
SP
221882013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22189
90d5d5bb
SP
22190 * Rules (bench): Move bench.out after the run is complete.
22191
73e0cd5d
SP
22192 * Rules (bench): Echo currently running benchmark.
22193
64aabd4b
SP
22194 * benchtests/Makefile (bench): Add atan and slowatan.
22195 * benchtests/atan-inputs: New file.
22196 * benchtests/slowatan-inputs: New file.
22197 * benchtests/slowatan.c: New file.
22198
c871eccd
SP
22199 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22201 its value.
22202
d755bba4
SP
22203 [BZ #15305]
22204 * sysdeps/unix/sysv/linux/kernel-features.h
22205 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22206 __ASSUME_XFS_RESTRICTED_CHOWN.
22207 * sysdeps/unix/sysv/linux/pathconf.c
22208 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22209 Save and restore errno.
22210
52ce4860
JM
222112013-04-02 Joseph Myers <joseph@codesourcery.com>
22212
22213 [BZ #15327]
22214 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22215 arguments using __kernel_casinh.
22216 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22217 arguments using __kernel_casinhf.
22218 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22219 arguments using __kernel_casinhl.
22220 * math/libm-test.inc (cacosh_test): Add more tests.
22221 * sysdeps/i386/fpu/libm-test-ulps: Update.
22222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223
81f311c2
SP
222242013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22225
e7906a47
SP
22226 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22228
92e3664b
SP
22229 * bench/Makefile (bench): Add sin and slowsin.
22230 * benchtests/sin-inputs: New file.
22231 * benchtests/slowsin-inputs: New file.
22232 * benchtests/slowsin.c: New file.
22233
81f311c2
SP
22234 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22235 (bench): Add slowexp and slowpow.
22236 (exp-ITER): Increase iterations.
22237 (pow-ITER): Likewise.
22238 * benchtests/exp-inputs: Change input.
22239 * benchtests/pow-inputs: Likewise.
22240 * benchtests/slowexp-inputs: New file.
22241 * benchtests/slowexp.c: New file.
22242 * benchtests/slowpow-inputs: New file.
22243 * benchtests/slowpow.c: New file.
22244
ab0f1aa9
AZ
222452013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22246
22247 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22248 instructions.
22249 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22250 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22251 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22252 * benchtests/Makefile: Add rint benchtest.
22253 * benchtests/rint-inputs: Input for rint benchtest.
22254
57267616
TS
222552013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22256
22257 * Versions.def (libm): Add GLIBC_2.18.
22258 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22259 hidden libm prototypes.
22260 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22261 * math/Makefile (libm-calls): Add s_issignaling.
22262 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22263 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22264 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22265 declaration.
22266 * math/math.h [__USE_GNU] (issignaling): New macro.
22267 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22268 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22269 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22270 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22273 * manual/arith.texi (issignaling): New section.
22274 * manual/libm-err-tab.pl (@all_functions): Update comment.
22275 * math/gen-libm-test.pl (parse_args): Apply special handling for
22276 issignaling.
22277 * math/libm-test.inc (print_float, issignaling_test): New
22278 functions.
22279 (check_float_internal): Add issignaling checks.
22280 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22281 default definition.
22282 * sysdeps/powerpc/math-tests.h: New file.
22283 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22284 tests.
22285 * math/test-snan.c (TEST_FUNC): Likewise.
22286
6142896d
DM
222872013-03-30 David S. Miller <davem@davemloft.net>
22288
22289 * po/de.po: Update from translation team.
22290
ccc8cadf
JM
222912013-03-30 Joseph Myers <joseph@codesourcery.com>
22292
22293 [BZ #10357]
22294 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22295 imaginary part less than 1.0 and real part less than 0.5
22296 specially.
22297 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22298 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22299 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22300 (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
0f6a8d4b
SP
223062013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22307
0d1029de
SP
22308 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22309 ONE with its value.
22310
c2d94018
SP
22311 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22312 (__pow_mp): Replace ONE and MONE with their values.
22313 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22315 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22316 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22317 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22318 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22319
27ec37f1
SP
22320 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22321
a64d7e0e
SP
22322 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22323 (__pow_mp): Replace ZERO and MZERO with their values.
22324 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22325 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22326 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22328 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22329 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22330 (__sqr): Likewise.
22331
d26dd3eb
SP
22332 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22333
0f6a8d4b
SP
22334 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22335
e57b0c61
RM
223362013-03-28 Roland McGrath <roland@hack.frob.com>
22337
22338 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22339 Declare with __attribute__ ((weak)).
22340 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22341 Call __call_tls_dtors only if it's not NULL.
22342
356b3480
RM
223432013-03-28 Roland McGrath <roland@hack.frob.com>
22344
288f7d79
RM
22345 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22346 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22347 magic __ehdr_start linker symbol if it's defined.
22348 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22349 them up here if it was already done.
22350
dc0a0263
RM
22351 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22352 (_dl_aux_init): Use const in cast when setting it.
22353 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22354 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22355 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22356
3d3436ae
RM
22357 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22358 Declare them here.
22359 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22360 * csu/libc-tls.c: Nor here.
22361 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22362
356b3480
RM
22363 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22364 (__libc_message): Never call vsyslog.
22365
b0f1246a
AM
223662013-03-28 Alan Modra <amodra@gmail.com>
22367
22368 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22369 Define as empty.
22370 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22371 Likewise.
22372
fbbe2b9a
AZ
223732013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22374
22375 [BZ #15214]
22376 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22377 underflow.
22378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22379
1728ab37
SP
223802013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22381
7a86be6e
SP
22382 [BZ #15304]
22383 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22384 Don't add gid passed as argument.
22385
1728ab37
SP
22386 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22387
3a7182a1
JM
223882013-03-27 Joseph Myers <joseph@codesourcery.com>
22389
22390 [BZ #15307]
22391 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22392 imaginary part between 1.0 and 1.5 and real part less than 0.5
22393 specially.
22394 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22395 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22396 * math/libm-test.inc (cacos_test): Add more tests.
22397 (casin_test): Likewise.
22398 (casinh_test): Likewise.
22399 * sysdeps/i386/fpu/libm-test-ulps: Update.
22400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22401
6f2e90e7
SP
224022013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22403
5739f705
SP
22404 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22405 constants.
22406 (norm): Likewise.
22407 (denorm): Likewise.
22408 (__dbl_mp): Likewise.
22409 (add_magnitudes): Likewise.
22410 (sub_magnitudes): Likewise.
22411 (__add): Likewise.
22412 (__sub): Likewise.
22413 (__mul): Likewise.
22414 (__sqr): Likewise.
22415 (__inv): Likewise.
22416 (__dvd): Likewise.
22417
e375e83d
SP
22418 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22419 commented code.
22420 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22421 (__dubcos): Likewise.
22422 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22423 (__ieee754_acos): Likewise.
22424 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22425 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22426 (__exp1): Likewise.
22427 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22428 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22429 (log1): Likewise.
22430 (my_log2): Likewise.
22431 (checkint): Likewise.
22432 * sysdeps/ieee754/dbl-64/e_remainder.c
22433 (__ieee754_remainder): Likewise.
22434 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22435 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22436 (bsloww): Likewise.
22437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22438
6f2e90e7
SP
22439 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22440 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22441 MANTISSA_STORE_T to store computations on mantissa. Use
22442 macros for rounding and division.
22443 (denorm): Likewise.
22444 (__dbl_mp): Likewise.
22445 (add_magnitudes): Likewise.
22446 (sub_magnitudes): Likewise.
22447 (__mul): Likewise.
22448 (__sqr): Likewise.
22449 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22450 powers of two in terms of TWOPOW macro.
22451 (mp_no): Make type of mantissa as MANTISSA_T.
22452 [!RADIXI]: Define RADIXI.
22453 [!TWO52]: Define TWO52.
22454 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22455
fce14d4e
AZ
224562013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22457
22458 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22459 llroundl symbol when building for PPC32.
22460
9ad027fb
MW
224612013-03-24 Mark H Weaver <mhw@netris.org>
22462
22463 * manual/arith.texi (Normalization Functions): Fix prototypes for
22464 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22465
e42a38dd
AZ
224662013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22467
22468 [BZ #13889]
22469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22470 high value to check if expl overflow.
22471 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22472 to check for underflow and overflow.
22473 * math/libm-test.inc: Add exp test.
22474
2e0fb521
DL
224752013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22476
22477 [BZ #11120]
22478 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22479 with NOT_IN_libc.
22480
b5784d95
AZ
224812013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22482
22483 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22484 symbol.
22485
5aa4a1a1
TS
224862013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22487
bdef0be7
TS
22488 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22489 wrap blocks consisting of several statements.
22490
5aa4a1a1
TS
22491 * sysdeps/generic/math-tests.h: New file.
22492 * sysdeps/i386/fpu/math-tests.h: Likewise.
22493 * math/test-snan.c: Include it.
22494 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22495
98c48fe5
JM
224962013-03-21 Joseph Myers <joseph@codesourcery.com>
22497
22498 [BZ #15285]
22499 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22500 (__ieee754_j0l): Do not improve calculations using cos of twice
22501 input for inputs above LDBL_MAX / 2.0L.
22502 (__ieee754_y0l): Likewise.
22503 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22504 (__ieee754_j1l): Do not improve calculations using cos of twice
22505 input for inputs above LDBL_MAX / 2.0L.
22506 (__ieee754_y1l): Likewise.
22507 * math/libm-test.inc (j0_test): Add another test.
22508 (j1_test): Likewise.
22509 (y0_test): Likewise.
22510 (y1_test): Likewise.
22511 * sysdeps/i386/fpu/libm-test-ulps: Update.
22512
3775a8bc
SP
225132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22514
22515 * Rules ($(objpfx)bench-%.c): Include code from a C source
22516 file.
22517
0a1b2ae6
JM
225182013-03-21 Joseph Myers <joseph@codesourcery.com>
22519
22520 [BZ #15287]
22521 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22522 imaginary part 1.0 and real part less than 0.5 specially.
22523 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22524 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22525 * math/libm-test.inc (cacos_test): Add more tests.
22526 (casin_test): Likewise.
22527 (casinh_test): Likewise.
22528 * sysdeps/i386/fpu/libm-test-ulps: Update.
22529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22530
b33d4ce4
SP
225312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22532
22533 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22534 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22535
bef0b507
JM
225362013-03-20 Joseph Myers <joseph@codesourcery.com>
22537
22538 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22539 * config.make.in (config-cflags-sse4): Remove variable.
22540 (config-cflags-avx): Likewise.
22541 (config-cflags-sse2avx): Likewise.
22542 (config-cflags-novzeroupper): Likewise.
22543 (config-asflags-i686): Likewise.
22544 (have-mfma4): Likewise.
22545 (have-as-vis3): Likewise.
22546 (MIG): Likewise.
22547 * configure.in (MIG): Do not AC_SUBST.
22548 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22549 (libc_cv_cc_sse4): Do not AC_SUBST.
22550 (libc_cv_cc_avx): Likewise.
22551 (libc_cv_cc_sse2avx): Likewise.
22552 (libc_cv_cc_novzeroupper): Likewise.
22553 (libc_cv_cc_fma4): Likewise.
22554 (libc_cv_as_i686): Likewise.
22555 (libc_cv_sparc_as_vis3): Likewise.
22556 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22557 LIBC_CONFIG_VAR.
22558 (config-asflags-i686): Likewise.
22559 (config-cflags-avx): Likewise.
22560 (config-cflags-sse2avx): Likewise.
22561 (have-mfma4): Likewise.
22562 (config-cflags-novzeroupper): Likewise.
22563 * sysdeps/mach/configure.in (MIG): Likewise.
22564 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22565 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22566 LIBC_CONFIG_VAR.
22567 (config-cflags-avx): Likewise.
22568 (config-cflags-sse2avx): Likewise.
22569 (have-mfma4): Likewise.
22570 (config-cflags-novzeroupper): Likewise.
22571 * configure: Regenerated.
22572 * sysdeps/i386/configure: Likewise.
22573 * sysdeps/mach/configure: Likewise.
22574 * sysdeps/sparc/configure: Likewise.
22575 * sysdeps/x86_64/configure: Likewise.
22576
912cc4b3
RM
225772013-03-20 Roland McGrath <roland@hack.frob.com>
22578
22579 [BZ #14812]
22580 * locale/programs/localedef.c (options): Put N_ translation marker
22581 on argument names, not just descriptions.
22582
04eed2b0
MS
225832013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22584
22585 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22586
a065ceff
OB
225872013-03-20 Ondřej Bílka <neleai@seznam.cz>
22588
9bb2a810 22589 [BZ #14176]
a065ceff
OB
22590 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22591
a600e5ce
RM
225922013-03-19 Roland McGrath <roland@hack.frob.com>
22593
22594 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22595 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22596 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22597 [!BEFORE_ABORT] (before_abort): New function.
22598 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22599 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22600 (writev_for_fatal): New function.
22601 (WRITEV_FOR_FATAL): New macro; call that.
22602 (backtrace_and_maps): New function.
22603 (BEFORE_ABORT): New macro; call that.
22604 (struct str_list): Type removed.
22605 (__libc_message, __libc_fatal): Functions removed.
22606 Include <sysdeps/posix/libc_fatal.c> instead.
22607
6b18bea6
JM
226082013-03-19 Joseph Myers <joseph@codesourcery.com>
22609
22610 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22611 constants.
22612 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22613 double constants.
22614
aaa8cb4b
AS
226152013-03-19 Andreas Schwab <schwab@suse.de>
22616
44673770
AS
22617 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22618 * sysdeps/gnu/configure: Regenerate.
22619
aaa8cb4b
AS
22620 * configure.in: Substitute libc_cv_rtlddir.
22621 * configure: Regenerate.
22622 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22623 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22624 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22625 * elf/Makefile (install-others, CFLAGS-interp.c)
22626 (ldso_install, common-ldd-rewrite): Likewise.
22627 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22628 $(inst_slibdir)/$(rtld-installed-name).
22629 * scripts/rellns-sh: Add -p option.
22630 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22631 for source.
22632
d3cfc668
SP
226332013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22634
22635 * manual/nptl.texi: Renamed to ...
22636 * manual/threads.texi: ... this.
22637 * manual/Makefile (chapters): Update.
22638
0e2b9cdd
RM
226392013-03-18 Roland McGrath <roland@hack.frob.com>
22640
22641 [BZ #14812]
22642 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22643 on argument names, not just descriptions.
0e2b9cdd
RM
22644 * malloc/memusagestat.c (options): Likewise.
22645 * nss/getent.c (options): Likewise.
63270c24
RM
22646
226472013-03-18 Benno Schulenberg <bensberg@justemail.net>
22648
22649 [BZ #14812]
22650 * iconv/iconv_prog.c (options): Put N_ translation marker
22651 on argument names, not just descriptions.
22652 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22653
b2e1393c
OB
226542013-03-18 Ondrej Bilka <neleai@seznam.cz>
22655
22656 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22657 implementation which is faster on all x86_64 architectures.
22658 Tested on AMD, Intel Nehalem, SNB, IVB.
22659 * sysdeps/x86_64/strnlen.S: Likewise.
22660
22661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22662 Remove all multiarch strlen and strnlen versions.
22663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22664 Remove strlen and strnlen related parts.
22665
22666 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22667 Inline strlen part.
22668 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22669
22670 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22671 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22672 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22673 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22674 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22675 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22676
ec4ff04d
CD
226772013-03-17 Carlos O'Donell <carlos@redhat.com>
22678
22679 * manual/memory.texi (Malloc Tunable Parameters):
22680 Sort parameters alphabetically. Add comments for missing entries.
22681
cd18e90a
DM
226822013-03-17 David S. Miller <davem@davemloft.net>
22683
22684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22685
2a185d32
JM
226862013-03-16 Joseph Myers <joseph@codesourcery.com>
22687
d2f9799e
JM
22688 [BZ #15283]
22689 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22690 for arguments at most half maximum finite value.
22691 * math/libm-test.inc (j0_test): Add more tests.
22692 (j1_test): Likewise.
22693 (y0_test): Likewise.
22694 (y1_test): Likewise.
22695 * sysdeps/i386/fpu/libm-test-ulps: Update.
22696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22697
2a185d32
JM
22698 [BZ #14155]
22699 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22700 1 / x and functions P and Q for arguments above 0x1p256L.
22701 (__ieee754_y0l): Likewise.
22702 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22703 (__ieee754_y1l): Likewise.
22704 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22705 (j1_test): Likewise.
22706 (y0_test): Likewise.
22707 (y1_test): Likewise.
22708
6cbec759
TS
227092013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22710
22711 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22712 variable.
22713
bc16e260
RM
227142013-03-15 Roland McGrath <roland@hack.frob.com>
22715
aefc9b8c
RM
22716 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22717 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22718 zero since it's initialized to EXEC_PAGESIZE.
22719
bc16e260
RM
22720 * sysdeps/unix/sysv/linux/ldsodefs.h
22721 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22722 * sysdeps/generic/ldsodefs.h: ... here.
22723
a57da955
TS
227242013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22725
af00a34d
TS
22726 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22727
495ded2c
TS
22728 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22729 math/test-snan.c.
22730 * math/test-snan.c: Renamed from
22731 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22732 * math/Makefile (tests): Add test-snan.
22733 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22734 test-powerpc-snan.
22735
777b0332
TS
22736 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22737 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22738 functions.
22739 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22740 __builtin_nan family of functions.
22741 * math/libm-test.inc (initialize): Initialize qnan_value with
22742 __builtin_nan family of functions.
22743 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22744 Remove variables.
22745 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22746 Remove functions.
22747 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22748 storage class. Initialize qNaN_var and sNaN_var with
22749 __builtin_nan and __builtin_nans families of functions,
22750 respectively.
22751
64d063b8
TS
22752 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22753 (sqrt_test): Remove duplicate test with qNaN input.
22754 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22755 (round_test, signbit_test, significand_test): Note missing +/-Inf
22756 as well as qNaN tests.
22757
67e971f1
TS
22758 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22759 qNaN_var. Fix a few strings, too.
22760 * math/libm-test.inc (nan_value): Rename to qnan_value.
22761 * math/gen-libm-test.pl (%beautify): Adjust to that.
22762 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22763 * math/test-misc.c (main): Likewise.
22764 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22765 to __qnan_bytes, and __qnan_union, respectively.
22766 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22767 Likewise.
22768 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22769 and lqnanval, respectively.
22770 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22771 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22772 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22773 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22774
64487e12
TS
22775 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22776 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22777 doubles.
22778
e015e27b
TS
22779 * math/test-misc.c (main): Fix copy'n'pastos.
22780 * misc/tst-efgcvt.c (special): Likewise.
22781
a57da955
TS
22782 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22783 Remove declarations.
22784
1e380345
SP
227852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22786
22787 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22788 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22789 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22790 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22791
ef26eece
AZ
227922013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22793
22794 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22795 macro to return vdso values correctly in IFUNC implementations.
22796 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22797 Optimization by using IFUNC.
22798
8cfdb7e0
SP
227992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22800 Richard Henderson <rth@redhat.com>
22801 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22802
22803 * Makefile.in (bench): New target.
22804 * NEWS: Mention the benchmark framework.
22805 * Rules (bench): Likewise.
22806 (binaries-bench): Generate binaries for functions to
22807 benchmark.
22808 * benchtests/Makefile: New makefile for benchmark tests.
22809 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22810 programs.
22811 * benchtests/exp-inputs: New input file for EXP function.
22812 * benchtests/pow-inputs: New input file for POW function.
22813 * scripts/bench.pl: New script to generate source files for
22814 benchmark programs.
22815
bcda9880
SP
228162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22817
d22ca8cd
SP
22818 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22819 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22820 computations on mantissa. Use macros for rounding and
22821 division.
22822 (denorm): Likewise.
22823 (__dbl_mp): Likewise.
22824 (add_magnitudes): Likewise.
22825 (sub_magnitudes): Likewise.
22826 (__mul): Likewise.
22827 (__sqr): Likewise.
22828 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22829 powers of two in terms of TWOPOW macro.
22830 (mp_no): Make type of mantissa as MANTISSA_T.
22831 [!RADIXI]: Define RADIXI.
22832 [!TWO52]: Define TWO52.
22833 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22834
bcda9880
SP
22835 * manual/nptl.texi (cindex): Modify threads to pthreads.
22836
06d5adfb
JM
228372013-03-15 Joseph Myers <joseph@codesourcery.com>
22838
22839 * sysdeps/x86_64/preconfigure: Regenerated.
22840
41c7328e
JM
228412013-03-14 Joseph Myers <joseph@codesourcery.com>
22842
22843 [BZ #14155]
22844 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22845 0x1p28 and above.
22846 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22847 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22848 0x1p28 and above.
22849 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22850 * math/libm-test.inc (j0_test): Do not allow one spurious
22851 underflow exception.
22852 (y1_test): Likewise.
22853
e25cfa60
SP
228542013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22855
0409959c
SP
22856 * manual/Makefile (chapters): Add nptl.
22857 * manual/debug.texi (Debugging Support): Add link to Threads
22858 chapter.
22859 * manual/nptl.texi: New file.
22860
e25cfa60
SP
22861 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22862
58a1335e
PB
228632013-03-14 Petr Baudis <pasky@ucw.cz>
22864
22865 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22866 for non-NULL pointer before the memory validity test. Pointed
22867 out by Holger Brunck <holger.brunck@keymile.com>.
22868
9dc7c64f
AS
228692013-03-13 Andreas Schwab <schwab@suse.de>
22870
22871 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22872 instead of .os.
22873
54206aa6
JM
228742013-03-13 Joseph Myers <joseph@codesourcery.com>
22875
22876 * timezone/zic.c: Update from tzcode 2013b.
22877
e98cdb38
CD
228782013-03-12 Carlos O'Donell <carlos@redhat.com>
22879
22880 * manual/install.texi (Configuring and compiling):
22881 Mention i686 and i586.
22882 * INSTALL: Regenerate.
22883
9967e003
RM
228842013-03-12 Roland McGrath <roland@hack.frob.com>
22885
22886 * sysdeps/init_array/elf-init.c: New file.
22887 * csu/elf-init.c
22888 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22889 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22890
22891 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22892 __gmon_start__ as global, but as static with a .preinit_array pointer.
22893 * sysdeps/init_array/gmon-start.c: New file. Use that.
22894 * sysdeps/init_array/crti.S: New file, empty except for comments.
22895 * sysdeps/init_array/crtn.S: Likewise.
22896
e6b5a293 228972013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22898
22899 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22900 definining bcopy.
80f844c9
OB
22901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22902 Remove Prefer_SSE_for_memop.
22903 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22904 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22905 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22907 memset-x86-64.
80f844c9 22908 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22909 Remove bzero, memset ifunc support.
80f844c9
OB
22910 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22911 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22912 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22913 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22914
fb6b0fcb
AS
229152013-03-11 Andreas Schwab <schwab@suse.de>
22916
22917 [BZ #15234]
22918 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22919 by SHLIB_COMPAT.
22920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22921 (GLIBC_2.16): Remove pthread_atfork.
22922
3e6bd4b1
PP
229232013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22924
22925 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22926 (ptestcases.h): Likewise.
22927
222d7f00
RM
229282013-03-08 Roland McGrath <roland@hack.frob.com>
22929
22930 * Makeconfig ($(common-objpfx)config.status): Depend on
22931 sysdeps/*/preconfigure{,.in} too.
22932
1ba4f030
JM
229332013-03-08 Joseph Myers <joseph@codesourcery.com>
22934
a222d91a
JM
22935 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22936 (__free_hook): Use void * instead of __malloc_ptr_t.
22937 (__malloc_hook): Likewise.
22938 (__realloc_hook): Likewise.
22939 (__memalign_hook): Likewise.
22940 (__after_morecore_hook): Likewise.
22941 * malloc/arena.c (save_malloc_hook): Likewise.
22942 (save_free_hook): Likewise.
22943 * malloc/hooks.c (malloc_hook_ini): Likewise.
22944 (realloc_hook_ini): Likewise.
22945 (memalign_hook_ini): Likewise.
22946 * malloc/malloc.c (malloc_hook_ini): Likewise.
22947 (realloc_hook_ini): Likewise.
22948 (memalign_hook_ini): Likewise.
22949 (__free_hook): Likewise.
22950 (__malloc_hook): Likewise.
22951 (__realloc_hook): Likewise.
22952 (__memalign_hook): Likewise.
22953 (__libc_malloc): Likewise.
22954 (__libc_free): Likewise.
22955 (__libc_realloc): Likewise.
22956 (__libc_memalign): Likewise.
22957 (__libc_valloc): Likewise.
22958 (__libc_pvalloc): Likewise.
22959 (__libc_calloc): Likewise.
22960 (__posix_memalign): Likewise.
22961 * malloc/morecore.c (__sbrk): Likewise.
22962 (__default_morecore): Likewise.
22963
5cc45e10
JM
22964 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22965
dd54b864
JM
22966 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22967 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22968 __malloc_ptrdiff_t.
22969
1ba4f030
JM
22970 * malloc/malloc.h (__malloc_size_t): Remove macro.
22971 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22972 __malloc_size_t.
22973 (old_memalign_hook): Likewise.
22974 (old_realloc_hook): Likewise.
22975 (struct hdr): Likewise.
22976 (flood): Likewise.
22977 (mallochook): Likewise.
22978 (memalignhook): Likewise.
22979 (reallochook): Likewise.
22980 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22981 (tr_old_realloc_hook): Likewise.
22982 (tr_old_memalign_hook): Likewise.
22983 (tr_mallochook): Likewise.
22984 (tr_reallochook): Likewise.
22985 (tr_memalignhook): Likewise.
22986
edf66e57
AZ
229872013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22988
22989 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22990 default_ldbl_pack and using as default implementation.
22991 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22992 implementation.
22993 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22994 redundant definition.
22995 (ldbl_insert_mantissa): Likewise.
22996 (ldbl_canonicalize): Likewise.
22997 (ldbl_nearbyint): Likewise.
22998 (ldbl_pack): Rename to ldbl_pack_ppc.
22999 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23000 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23001 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23002
6d9145d8
SP
230032013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23004
23005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23006 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23007 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23008 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23010 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23011 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23012 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23013
4dd4e157
AJ
230142013-03-07 Andreas Jaeger <aj@suse.de>
23015
23016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23017 bits/mman-linux.h.
23018
adbb8027
SP
230192013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23020
ce544b5b
SP
23021 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23022 Include mpa.h and declare __MPEXP.
23023 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23024 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23025 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23026 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23027 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23028 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23029 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23030
4cc149fd
SP
23031 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23032 (__slowpow): Use long double EXPL and LOGL functions to
23033 compute POW.
23034 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23035 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23036 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23037 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23038 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23039 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23040
e6ebd4a7
SP
23041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23042 intermediate variable to calculate exponent.
23043 (__sqr): Likewise.
23044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23045 Likewise.
23046 (__sqr): Likewise.
23047
82a9811d
SP
23048 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23049 [!NO__SQR]: Define __sqr.
23050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23051 and NO__SQR. Remove all code except __mul and __sqr. Include
23052 sysdeps/ieee754/dbl-64/mpa.c.
23053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23054
adbb8027
SP
23055 [BZ #12723]
23056 * posix/Makefile (tests): Add tst-pathconf.
23057 * posix/tst-pathconf.c: New test case.
23058 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23059 _PC_PIPE_BUF.
23060 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23061
39120df9
PF
230622013-03-06 Patsy Franklin <pfrankli@redhat.com>
23063
23064 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23065
67525cb8
AJ
230662013-03-06 Andreas Jaeger <aj@suse.de>
23067
664a9ce4
AJ
23068 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23069 definition via __MAP_ANONYMOUS.
23070
8e39047d
AJ
23071 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23072 it's not part of Linux headers.
23073
67525cb8
AJ
23074 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23075 (MAP_HUGE_MASK): Define.
23076
23077 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23078 Define.
23079 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23081 Define.
23082 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23083 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23084 Define.
23085 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23087 Define.
23088 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23089
23090 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23091 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23092 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23093 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23094 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23095 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23096
23097 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23098 Handle f2fs.
23099
23100 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23101 Handle f2fs and efivarfs.
23102
23103 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23104 f2fs.
23105
23106 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23107 (EFIVARFS_MAGIC): Add.
23108 (F2FS_LINK_MAX): Add.
23109
e1b42695
PP
231102013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23111
23112 * stdio-common/vfprintf.c: Replace __builtin_expect with
23113 __glibc_unlikely.
23114
2d67d91a
JM
231152013-03-06 Joseph Myers <joseph@codesourcery.com>
23116
23117 [BZ #13550]
23118 * sysdeps/generic/bp-sym.h: Remove file.
23119 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23120 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23121 <bp-sym.h> and <bp-asm.h>.
23122 (__longjmp): Don't use BP_SYM.
23123 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23124 and <bp-asm.h>.
23125 (memcpy): Don't use BP_SYM.
23126 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23127 <bp-sym.h> and <bp-asm.h>.
23128 (memcpy): Don't use BP_SYM.
23129 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23130 <bp-asm.h>.
23131 (memcpy): Don't use BP_SYM.
23132 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23133 <bp-asm.h>.
23134 (memset): Don't use BP_SYM.
23135 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23136 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23137 (__bzero): Don't use BP_SYM.
23138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23140 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23141 <bp-sym.h> and <bp-asm.h>.
23142 (memcmp): Don't use BP_SYM. Remove comment about bounded
23143 pointers.
23144 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23145 <bp-sym.h> and <bp-asm.h>.
23146 (memcpy): Don't use BP_SYM.
23147 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23148 <bp-sym.h> and <bp-asm.h>.
23149 (memset): Don't use BP_SYM.
23150 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23151 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23152 (__bzero): Don't use BP_SYM.
23153 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23154 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23155 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23156 <bp-sym.h> and <bp-asm.h>.
23157 (strncmp): Don't use BP_SYM. Remove comment about bounded
23158 pointers.
23159 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23160 <bp-sym.h> and <bp-asm.h>.
23161 (memcpy): Don't use BP_SYM.
23162 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23163 <bp-sym.h> and <bp-asm.h>.
23164 (memset): Don't use BP_SYM.
23165 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23166 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23167 (__bzero): Don't use BP_SYM.
23168 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23169 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23170 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23171 <bp-sym.h> and <bp-asm.h>.
23172 (__memchr): Don't use BP_SYM.
23173 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23174 <bp-sym.h> and <bp-asm.h>.
23175 (memcmp): Don't use BP_SYM. Remove comment about bounded
23176 pointers.
23177 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23178 <bp-sym.h> and <bp-asm.h>.
23179 (memcpy): Don't use BP_SYM.
23180 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23181 <bp-sym.h> and <bp-asm.h>.
23182 (__mempcpy): Don't use BP_SYM.
23183 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23184 <bp-sym.h> and <bp-asm.h>.
23185 (__memrchr): Don't use BP_SYM.
23186 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23187 <bp-sym.h> and <bp-asm.h>.
23188 (memset): Don't use BP_SYM.
23189 (__bzero): Likewise.
23190 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23191 <bp-sym.h> and <bp-asm.h>.
23192 (__rawmemchr): Don't use BP_SYM.
23193 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23194 <bp-sym.h> and <bp-asm.h>.
23195 (__STRCMP): Don't use BP_SYM.
23196 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23197 <bp-sym.h> and <bp-asm.h>.
23198 (strchr): Don't use BP_SYM.
23199 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23200 <bp-sym.h> and <bp-asm.h>.
23201 (__strchrnul): Don't use BP_SYM.
23202 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23203 <bp-sym.h> and <bp-asm.h>.
23204 (strlen): Don't use BP_SYM.
23205 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23206 <bp-sym.h> and <bp-asm.h>.
23207 (strncmp): Don't use BP_SYM. Remove comment about bounded
23208 pointers.
23209 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23210 <bp-sym.h> and <bp-asm.h>.
23211 (__strnlen): Don't use BP_SYM.
23212 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23213 <bp-sym.h> and <bp-asm.h>.
23214 (__GI__setjmp): Don't use BP_SYM.
23215 (_setjmp): Likewise.
23216 (__sigsetjmp): Likewise.
23217 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23218 (L(start_addresses)): Don't use BP_SYM.
23219 (_start): Likewise.
23220 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23221 <bp-asm.h>.
23222 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23223 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23224 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23225 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23226 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23227 <bp-asm.h>.
23228 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23229 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23230 about bounded pointers.
23231 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23232 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23233 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23234 <bp-asm.h>.
23235 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23236 about bounded pointers. Remove GKM FIXME comments.
23237 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23238 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23239 <bp-asm.h>.
23240 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23241 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23242 Remove GKM FIXME comments.
23243 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23244 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23245 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23246 <bp-asm.h>.
23247 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23248 about bounded pointers. Remove GKM FIXME comment.
23249 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23250 and <bp-asm.h>.
23251 (strncmp): Don't use BP_SYM. Remove comment about bounded
23252 pointers.
23253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23254 <bp-sym.h> and <bp-asm.h>.
23255 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23257 <bp-sym.h> and <bp-asm.h>.
23258 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23259 comment.
23260
cdcf361f
PP
232612013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23262
23263 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23264 call free(NULL).
23265
3c4a2b15
DM
232662013-03-05 David S. Miller <davem@davemloft.net>
23267
23268 * po/es.po: Update from translation team.
23269
cdcf361f 232702013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23271
23272 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23273 <bits/mman-linux.h>.
23274 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23275 is fine.
23276 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23277 <bits/mman-linux.h> to end of file.
23278 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23279 is fine.
23280 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23281 <bits/mman-linux.h> to end of file.
23282 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23283 is fine.
23284 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23285 <bits/mman-linux.h> to end of file.
23286
23287 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23288 (MCL_CURRENT, MCL_FUTURE): Define here.
23289
5f67c04f
AK
232902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23291
8a4473cc 23292 [BZ #15232]
5f67c04f
AK
23293 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23294 attribute_hidden.
23295 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23296
c3e94a95
AK
232972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23298
23299 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23300 fourth parameter needed for rt_sigprocmask syscall.
23301 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23302 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23303 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23304 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23305 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23306 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23307
cfb6382a
JM
233082013-03-04 Joseph Myers <joseph@codesourcery.com>
23309
23310 [BZ #13550]
23311 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23312 comment about bounded pointers.
23313 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23314 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23315
539d8e01
AJ
233162013-03-04 Andreas Jaeger <aj@suse.de>
23317
23318 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23319 common definitions.
23320
23321 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23322 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23323 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23324 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23325 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23327
2e167a70 233282013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23329
23330 [BZ #15055]
23331 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23332 __ieee754_sqrl instead of __sqrl.
23333
68508633
JM
233342013-03-01 Joseph Myers <joseph@codesourcery.com>
23335
23336 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23337 * sysdeps/powerpc/fpu_control.h: ... here.
23338 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23339 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23340 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23341 * sysdeps/powerpc/bits/mathinline.h: ... here.
23342
7775448e
RM
233432013-03-01 Roland McGrath <roland@hack.frob.com>
23344
23345 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23346 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23347 to just [NEED_DL_SYSINFO_DSO].
23348 * elf/dl-support.c: Likewise.
23349 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23350 * elf/rtld.c (dl_main): Likewise.
23351 * elf/setup-vdso.h (setup_vdso): Likewise.
23352 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23353 * sysdeps/unix/sysv/linux/dl-sysdep.c
23354 (_dl_discover_osversion): Likewise.
23355
4e9b5995
CD
233562013-03-01 Carlos O'Donell <carlos@redhat.com>
23357
23358 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23359 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23360
e23872c8
SP
233612013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23362
e5c74c63
SP
23363 * NEWS: Mention libm performance improvements and non-x86 PI
23364 futex support.
23365
e23872c8
SP
23366 * csu/libc-start.c (__pthread_initialize_minimal): Change
23367 function arguments.
23368 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23369
b5510883
JM
233702013-02-28 Joseph Myers <joseph@codesourcery.com>
23371
23372 [BZ #13550]
23373 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23374 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23375 <bp-sym.h> and <bp-asm.h>.
23376 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23377 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23378 and <bp-asm.h>.
23379 (memcpy): Don't use BP_SYM.
23380 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23381 <bp-asm.h>.
23382 (__mpn_add_n): Don't use BP_SYM.
23383 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23384 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23385 and <bp-asm.h>.
23386 (__mpn_addmul_1): Don't use BP_SYM.
23387 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23388 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23389 <bp-sym.h>.
23390 (_setjmp): Don't use BP_SYM.
23391 (__novmx_setjmp): Likewise.
23392 (__GI__setjmp): Likewise.
23393 (__vmx_setjmp): Likewise.
23394 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23395 <bp-sym.h>.
23396 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23397 (__bzero): Don't use BP_SYM.
23398 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23399 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23400 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23401 <bp-sym.h> and <bp-asm.h>.
23402 (memcpy): Don't use BP_SYM.
23403 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23404 <bp-sym.h> and <bp-asm.h>.
23405 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23406 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23407 <bp-sym.h> and <bp-asm.h>.
23408 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23409 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23410 <bp-asm.h>.
23411 (__mpn_lshift): Don't use BP_SYM.
23412 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23413 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23414 <bp-asm.h>.
23415 (memset): Don't use BP_SYM.
23416 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23417 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23418 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23419 <bp-asm.h>.
23420 (__mpn_mul_1): Don't use BP_SYM.
23421 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23422 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23423 <bp-sym.h> and <bp-asm.h>.
23424 (memcmp): Don't use BP_SYM.
23425 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23426 <bp-sym.h> and <bp-asm.h>.
23427 (memcpy): Don't use BP_SYM.
23428 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23429 <bp-sym.h> and <bp-asm.h>.
23430 (memset): Don't use BP_SYM.
23431 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23432 <bp-sym.h> and <bp-asm.h>.
23433 (strncmp): Don't use BP_SYM.
23434 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23435 <bp-sym.h> and <bp-asm.h>.
23436 (memcpy): Don't use BP_SYM.
23437 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23438 <bp-sym.h> and <bp-asm.h>.
23439 (memset): Don't use BP_SYM.
23440 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23441 <bp-sym.h> and <bp-asm.h>.
23442 (__memchr): Don't use BP_SYM.
23443 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23444 <bp-sym.h> and <bp-asm.h>.
23445 (memcmp): Don't use BP_SYM.
23446 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23447 <bp-sym.h> and <bp-asm.h>.
23448 (memcpy): Don't use BP_SYM.
23449 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23450 <bp-sym.h> and <bp-asm.h>.
23451 (__mempcpy): Don't use BP_SYM.
23452 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23453 <bp-sym.h> and <bp-asm.h>.
23454 (__memrchr): Don't use BP_SYM.
23455 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23456 <bp-sym.h> and <bp-asm.h>.
23457 (memset): Don't use BP_SYM.
23458 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23459 <bp-sym.h> and <bp-asm.h>.
23460 (__rawmemchr): Don't use BP_SYM.
23461 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23462 <bp-sym.h> and <bp-asm.h>.
23463 (__STRCMP): Don't use BP_SYM.
23464 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23465 <bp-sym.h> and <bp-asm.h>.
23466 (strchr): Don't use BP_SYM.
23467 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23468 <bp-sym.h> and <bp-asm.h>.
23469 (__strchrnul): Don't use BP_SYM.
23470 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23471 <bp-sym.h> and <bp-asm.h>.
23472 (strlen): Don't use BP_SYM.
23473 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23474 <bp-sym.h> and <bp-asm.h>.
23475 (strncmp): Don't use BP_SYM.
23476 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23477 <bp-sym.h> and <bp-asm.h>.
23478 (__strnlen): Don't use BP_SYM.
23479 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23480 <bp-asm.h>.
23481 (__mpn_rshift): Don't use BP_SYM.
23482 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23483 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23484 <bp-sym.h> and <bp-asm.h>.
23485 (__sigsetjmp): Don't use BP_SYM.
23486 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23487 (L(start_addresses)): Don't use BP_SYM.
23488 (_start): Likewise.
23489 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23490 <bp-asm.h>.
23491 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23492 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23493 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23494 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23495 <bp-asm.h>.
23496 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23497 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23498 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23499 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23500 <bp-asm.h>.
23501 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23502 comments.
23503 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23504 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23505 <bp-asm.h>.
23506 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23507 FIXME comments.
23508 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23509 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23510 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23511 <bp-asm.h>.
23512 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23513 comment.
23514 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23515 and <bp-asm.h>.
23516 (strncmp): Don't use BP_SYM,
23517 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23518 <bp-asm.h>.
23519 (__mpn_sub_n): Don't use BP_SYM.
23520 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23521 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23522 and <bp-asm.h>.
23523 (__mpn_submul_1): Don't use BP_SYM.
23524 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23526 <bp-sym.h> and <bp-asm.h>.
23527 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23529 <bp-sym.h> and <bp-asm.h>.
23530 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23531 comment.
23532
8d19fe64
SP
235332013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23534
23535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23536 Use ZK to minimize writes to Z.
23537 (sub_magnitudes): Simplify code a bit.
23538 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23539 Use ZK to minimize writes to Z.
23540 (sub_magnitudes): Simplify code a bit.
23541
85bd816a
RM
235422013-02-27 Roland McGrath <roland@hack.frob.com>
23543
23544 * csu/gmon-start.c: Add special exception to license text.
23545
b5977bf2
RH
235462013-02-27 Richard Henderson <rth@redhat.com>
23547
23548 * scripts/config.guess: Update from config.git.
23549 * scripts/config.sub: Likewise.
23550
11d6e2f2
SP
235512013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23552
09c14ed2
SP
23553 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23554
a688864e
SP
23555 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23556
6295157a
SP
23557 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23558
b8de2202
SP
23559 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23560
11d6e2f2
SP
23561 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23562
7e80ddb8
RM
235632013-02-26 Roland McGrath <roland@hack.frob.com>
23564
23565 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23566 [$(build-shared = yes].
7e80ddb8 23567
7da6d9ed
SP
235682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23569
45f05884
SP
23570 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23571 (__mul): Reduce iterations for calculating mantissa.
23572
2236d359
SP
23573 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23574 MPTWO.
23575 (__mpranred): Likewise.
23576
7da6d9ed
SP
23577 [BZ #15160]
23578 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23579 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23580
b7688c42
PE
235812013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23582
23583 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23584 Define __attribute__.
23585
53a5c423
SP
235862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23587
23588 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23589 unused.
23590 * posix/regex_internal.h (__attribute): Remove.
23591 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23592 (re_string_context_at): Likewise.
23593 (bitset_not): Use __attribute__ and mark function as possibly
23594 unused.
23595 (bitset_merge): Likewise.
23596 (bitset_mask): Likewise.
23597 (re_string_char_size_at): Likewise.
23598 (re_string_wchar_at): Likewise.
23599 (re_string_elem_size_at): Likewise.
23600
60f5a8b5
SP
236012013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23602
2a983a2e
SP
23603 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23604 code.
23605 (cc32): Likewise.
23606
e69804d1
SP
23607 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23608 (__acr): Likewise.
23609 (__cpy): Likewise.
23610 (norm): Likewise.
23611 (denorm): Likewise.
23612 (__dbl_mp): Likewise.
23613 (add_magnitudes): Likewise.
23614 (sub_magnitudes): Likewise.
23615 (__mul): Likewise.
23616 (__inv): Likewise.
23617
2f22a1e8
SP
23618 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23619 style.
23620
8930ddc7
SP
23621 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23622 style.
23623
dc60cb11
SP
23624 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23625 code.
23626
60f5a8b5
SP
23627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23628 up changes with default code.
23629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23630 Likewise.
23631
b4d1fd33
AM
236322013-02-24 Allan McRae <allan@archlinux.org>
23633
faf6f8bc
AM
23634 * manual/socket.texi (The Internet Namespace): Order menu items
23635 to match that in the file.
23636
b4d1fd33
AM
23637 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23638 node listing of the info page menu.
23639
2366713d
JM
236402013-02-21 Joseph Myers <joseph@codesourcery.com>
23641
23642 [BZ #13550]
23643 * sysdeps/i386/bp-asm.h: Remove file.
23644 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23645 (PARMS): Do not use macros from bp-asm.h.
23646 (S1): Likewise.
23647 (S2): Likewise.
23648 (SIZE): Likewise.
23649 (__mpn_add_n): Do not use BP_SYM
23650 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23651 "bp-asm.h".
23652 (PARMS): Do not use macros from bp-asm.h.
23653 (S1): Likewise.
23654 (SIZE): Likewise.
23655 (__mpn_addmul_1): Do not use BP_SYM
23656 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23657 "bp-asm.h".
23658 (PARMS): Do not use macros from bp-asm.h.
23659 (SIGMSK): Likewise.
23660 (_setjmp): Likewise. Do not use BP_SYM.
23661 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23662 "bp-asm.h".
23663 (PARMS): Do not use macros from bp-asm.h.
23664 (SIGMSK): Likewise.
23665 (setjmp): Likewise. Do not use BP_SYM.
23666 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23667 "bp-asm.h".
23668 (PARMS): Do not use macros from bp-asm.h.
23669 (__frexp): Do not use BP_SYM.
23670 (frexp): Likewise.
23671 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23672 "bp-asm.h".
23673 (PARMS): Do not use macros from bp-asm.h.
23674 (__frexpf): Do not use BP_SYM.
23675 (frexpf): Likewise.
23676 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23677 "bp-asm.h".
23678 (PARMS): Do not use macros from bp-asm.h.
23679 (__frexpl): Do not use BP_SYM.
23680 (frexpl): Likewise.
23681 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23682 "bp-asm.h".
23683 (PARMS): Do not use macros from bp-asm.h.
23684 (__remquo): Do not use BP_SYM.
23685 (remquo): Likewise.
23686 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23687 "bp-asm.h".
23688 (PARMS): Do not use macros from bp-asm.h.
23689 (__remquof): Do not use BP_SYM.
23690 (remquof): Likewise.
23691 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23692 "bp-asm.h".
23693 (PARMS): Do not use macros from bp-asm.h.
23694 (__remquol): Do not use BP_SYM.
23695 (remquol): Likewise.
23696 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23697 "bp-asm.h".
23698 (PARMS): Do not use macros from bp-asm.h.
23699 (DEST): Likewise.
23700 (SRC): Likewise.
23701 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23702 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23703 "bp-asm.h".
23704 (PARMS): Do not use macros from bp-asm.h.
23705 (strlen): Do not use BP_SYM.
23706 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23707 "bp-asm.h".
23708 (PARMS): Do not use macros from bp-asm.h.
23709 (S1): Likewise.
23710 (S2): Likewise.
23711 (SIZE): Likewise.
23712 (__mpn_add_n): Do not use BP_SYM.
23713 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23714 "bp-asm.h".
23715 (PARMS): Do not use macros from bp-asm.h.
23716 (S1): Likewise.
23717 (SIZE): Likewise.
23718 (__mpn_addmul_1): Do not use BP_SYM.
23719 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23720 weak_alias.
23721 (bzero): Likewise.
23722 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23723 "bp-asm.h".
23724 (PARMS): Do not use macros from bp-asm.h.
23725 (S): Likewise.
23726 (SIZE): Likewise.
23727 (__mpn_lshift): Do not use BP_SYM.
23728 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23729 "bp-asm.h".
23730 (PARMS): Do not use macros from bp-asm.h.
23731 (DEST): Likewise.
23732 (SRC): Likewise.
23733 (LEN): Likewise.
23734 (memcpy): Likewise. Do not use BP_SYM.
23735 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23736 libc_hidden_def and weak_alias.
23737 (mempcpy): Do not use BP_SYM in weak_alias.
23738 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23739 "bp-asm.h".
23740 (PARMS): Do not use macros from bp-asm.h.
23741 (DEST): Likewise.
23742 (LEN): Likewise.
23743 [!BZERO_P] (CHR): Likewise.
23744 (memset): Likewise. Do not use BP_SYM.
23745 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23746 "bp-asm.h".
23747 (PARMS): Do not use macros from bp-asm.h.
23748 (S1): Likewise.
23749 (SIZE): Likewise.
23750 (__mpn_mul_1): Do not use BP_SYM.
23751 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23752 "bp-asm.h".
23753 (PARMS): Do not use macros from bp-asm.h.
23754 (S): Likewise.
23755 (SIZE): Likewise.
23756 (__mpn_rshift): Do not use BP_SYM.
23757 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23758 "bp-asm.h".
23759 (PARMS): Do not use macros from bp-asm.h.
23760 (STR): Likewise.
23761 (CHR): Likewise.
23762 (strchr): Likewise. Do not use BP_SYM.
23763 (index): Do not use BP_SYM in weak_alias.
23764 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23765 "bp-asm.h".
23766 (PARMS): Do not use macros from bp-asm.h.
23767 (DEST): Likewise.
23768 (SRC): Likewise.
23769 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23770 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23771 "bp-asm.h".
23772 (PARMS): Do not use macros from bp-asm.h.
23773 (strlen): Do not use BP_SYM.
23774 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23775 "bp-asm.h".
23776 (PARMS): Do not use macros from bp-asm.h.
23777 (S1): Likewise.
23778 (S2): Likewise.
23779 (SIZE): Likewise.
23780 (__mpn_sub_n): Do not use BP_SYM.
23781 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23782 "bp-asm.h".
23783 (PARMS): Do not use macros from bp-asm.h.
23784 (S1): Likewise.
23785 (SIZE): Likewise.
23786 (__mpn_submul_1): Do not use BP_SYM.
23787 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23788 "bp-asm.h".
23789 (PARMS): Do not use macros from bp-asm.h.
23790 (S1): Likewise.
23791 (S2): Likewise.
23792 (SIZE): Likewise.
23793 (__mpn_add_n): Do not use BP_SYM.
23794 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23795 weak_alias.
23796 (bzero): Likewise.
23797 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23798 "bp-asm.h".
23799 (PARMS): Do not use macros from bp-asm.h.
23800 (BLK2): Likewise.
23801 (LEN): Likewise.
23802 (memcmp): Do not use BP_SYM.
23803 (bcmp): Do not use BP_SYM in weak_alias.
23804 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23805 "bp-asm.h".
23806 (PARMS): Do not use macros from bp-asm.h.
23807 (DEST): Likewise.
23808 (SRC): Likewise.
23809 (LEN): Likewise.
23810 (memcpy): Likewise. Do not use BP_SYM.
23811 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23812 "bp-asm.h".
23813 (PARMS): Do not use macros from bp-asm.h.
23814 (DEST): Likewise.
23815 (SRC): Likewise.
23816 (LEN): Likewise.
23817 (memmove): Likewise. Do not use BP_SYM.
23818 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23819 "bp-asm.h".
23820 (PARMS): Do not use macros from bp-asm.h.
23821 (DEST): Likewise.
23822 (SRC): Likewise.
23823 (LEN): Likewise.
23824 (__mempcpy): Likewise. Do not use BP_SYM.
23825 (mempcpy): Do not use BP_SYM in weak_alias.
23826 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23827 "bp-asm.h".
23828 (PARMS): Do not use macros from bp-asm.h.
23829 (DEST): Likewise.
23830 (LEN): Likewise.
23831 [!BZERO_P] (CHR): Likewise.
23832 (memset): Likewise. Do not use BP_SYM.
23833 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23834 "bp-asm.h".
23835 (PARMS): Do not use macros from bp-asm.h.
23836 (STR2): Likewise.
23837 (strcmp): Do not use BP_SYM.
23838 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23839 "bp-asm.h".
23840 (PARMS): Do not use macros from bp-asm.h.
23841 (STR): Likewise.
23842 (DELIM): Likewise.
23843 [USE_AS_STRTOK_R] (SAVE): Likewise.
23844 (FUNCTION): Likewise. Do not use BP_SYM.
23845 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23846 aliases.
23847 (strtok_r): Likewise.
23848 (__GI___strtok_r): Likewise.
23849 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23850 (PARMS): Do not use macros from bp-asm.h.
23851 (S): Likewise.
23852 (SIZE): Likewise.
23853 (__mpn_lshift): Do not use BP_SYM.
23854 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23855 (PARMS): Do not use macros from bp-asm.h.
23856 (STR): Likewise.
23857 (CHR): Likewise.
23858 (__memchr): Do not use BP_SYM.
23859 (memchr): Do not use BP_SYM in weak_alias.
23860 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23861 (PARMS): Do not use macros from bp-asm.h.
23862 (BLK2): Likewise.
23863 (LEN): Likewise.
23864 (memcmp): Do not use BP_SYM.
23865 (bcmp): Do not use BP_SYM in weak_alias.
23866 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23867 (PARMS): Do not use macros from bp-asm.h.
23868 (S1): Likewise.
23869 (SIZE): Likewise.
23870 (__mpn_mul_1): Do not use BP_SYM.
23871 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23872 "bp-asm.h".
23873 (PARMS): Do not use macros from bp-asm.h.
23874 (STR): Likewise.
23875 (CHR): Likewise.
23876 (__rawmemchr): Do not use BP_SYM.
23877 (rawmemchr): Do not use BP_SYM in weak_alias.
23878 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23879 (PARMS): Do not use macros from bp-asm.h.
23880 (S): Likewise.
23881 (SIZE): Likewise.
23882 (__mpn_rshift): Do not use BP_SYM.
23883 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23884 (PARMS): Do not use macros from bp-asm.h.
23885 (SIGMSK): Likewise.
23886 (__sigsetjmp): Likewise. Do not use BP_SYM.
23887 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23888 (_start): Do not use BP_SYM.
23889 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23890 (PARMS): Do not use macros from bp-asm.h.
23891 (DEST): Likewise.
23892 (SRC): Likewise.
23893 (__stpcpy): Likewise. Do not use BP_SYM.
23894 (stpcpy): Do not use BP_SYM in weak_alias.
23895 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23896 "bp-asm.h".
23897 (PARMS): Do not use macros from bp-asm.h.
23898 (DEST): Likewise.
23899 (SRC): Likewise.
23900 (LEN): Likewise.
23901 (__stpncpy): Likewise. Do not use BP_SYM.
23902 (stpncpy): Do not use BP_SYM in weak_alias.
23903 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23904 (PARMS): Do not use macros from bp-asm.h.
23905 (STR): Likewise.
23906 (CHR): Likewise.
23907 (strchr): Likewise. Do not use BP_SYM.
23908 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23909 "bp-asm.h".
23910 (PARMS): Do not use macros from bp-asm.h.
23911 (STR): Likewise.
23912 (CHR): Likewise.
23913 (__strchrnul): Likewise. Do not use BP_SYM.
23914 (strchrnul): Do not use BP_SYM in weak_alias.
23915 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23916 "bp-asm.h".
23917 (PARMS): Do not use macros from bp-asm.h.
23918 (STOP): Likewise.
23919 (strcspn): Do not use BP_SYM.
23920 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23921 "bp-asm.h".
23922 (PARMS): Do not use macros from bp-asm.h.
23923 (STR): Likewise.
23924 (STOP): Likewise.
23925 (strpbrk): Likewise. Do not use BP_SYM.
23926 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23927 "bp-asm.h".
23928 (PARMS): Do not use macros from bp-asm.h.
23929 (STR): Likewise.
23930 (CHR): Likewise.
23931 (strrchr): Likewise. Do not use BP_SYM.
23932 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23933 (PARMS): Do not use macros from bp-asm.h.
23934 (SKIP): Likewise.
23935 (strspn): Do not use BP_SYM.
23936 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23937 (PARMS): Do not use macros from bp-asm.h.
23938 (STR): Likewise.
23939 (DELIM): Likewise.
23940 (SAVE): Likewise.
23941 (FUNCTION): Likewise. Do not use BP_SYM.
23942 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23943 aliases.
23944 (strtok_r): Likewise.
23945 (__GI___strtok_r): Likewise.
23946 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23947 (PARMS): Do not use macros from bp-asm.h.
23948 (S1): Likewise.
23949 (S2): Likewise.
23950 (SIZE): Likewise.
23951 (__mpn_sub_n): Do not use BP_SYM.
23952 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23953 "bp-asm.h".
23954 (PARMS): Do not use macros from bp-asm.h.
23955 (S1): Likewise.
23956 (SIZE): Likewise.
23957 (__mpn_submul_1): Do not use BP_SYM.
23958 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23959 <bp-sym.h>.
23960 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23961 and <bp-asm.h>.
23962 (PARMS): Do not use macros from bp-asm.h.
23963 (FLAGS): Likewise.
23964 (PTID): Likewise.
23965 (TLS): Likewise.
23966 (CTID): Likewise.
23967 (__clone): Do not use BP_SYM.
23968 (clone): Do not use BP_SYM in weak_alias.
23969 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23970 and <bp-asm.h>.
23971 (PARMS): Do not use macros from bp-asm.h.
23972 (LEN): Likewise.
23973 (__mmap64): Do not use BP_SYM.
23974 (mmap64): Do not use BP_SYM in weak_alias.
23975 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23976 <bp-sym.h> and <bp-asm.h>.
23977 (PARMS): Do not use macros from bp-asm.h.
23978 (__posix_fadvise64_l64): Do not use BP_SYM.
23979 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23980 (PARMS): Do not use macros from bp-asm.h.
23981 (NSOPS): Likewise.
23982 (semtimedop): Do not use BP_SYM.
23983 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23984 and <bp-asm.h>.
23985
582a3cff
AM
239862013-02-21 Allan McRae <allan@archlinux.org>
23987
23988 * manual/message.texi (Charset conversion in gettext):
23989 Move @end statement to beginning of line.
23990
bab8a695
SP
239912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23992
80945231
SP
23993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23994 static.
23995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23996 Likewise.
23997
bab8a695
SP
23998 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23999 (denorm): Likewise.
24000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24002
e21d7aa7
AK
240032013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24004
24005 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24006 tail-call to the resolved function if pltexit isn't needed.
24007
4c7a4263
SP
240082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24009
24010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24011 or Y being zero as being unlikely.
24012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24013 Likewise.
24014
41f49342
CD
240152013-02-20 Carlos O'Donell <carlos@redhat.com>
24016
24017 * manual/nss.texi (System Databases and Name Service Switch):
24018 Remove frobnicate @pxref.
24019
50022a93
TS
240202013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24021
24022 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24023 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24024
08cbd996
PM
240252013-02-20 Petr Machata <pmachata@redhat.com>
24026
24027 * elf/elf.h (R_ARM_TARGET1): New macro.
24028 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24029 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24030 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24031 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24032 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24033 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24034 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24035 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24036 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24037 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24038 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24039 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24040 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24041 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24042 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24043 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24044 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24045 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24046 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24047 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24048 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24049 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24050 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24051 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24052 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24053 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24054 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24055 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24056 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24057 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24058 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24059 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24060 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24061 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24062 (R_ARM_THM_GOT_BREL12): Likewise.
24063 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24064 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24065 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24066 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24067 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24068 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24069 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24070 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24071 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24072
c7b275d6
TS
240732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24074
24075 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24076 __attribute_used__ to __attribute__ ((unused)).
24077
20cd7fb3
SP
240782013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24079
24080 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24081 powerpc mpa.c.
24082 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24083 comment formatting.
24084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24085
92945b52
JM
240862013-02-19 Joseph Myers <joseph@codesourcery.com>
24087
24088 [BZ #13550]
24089 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24090 Remove macro.
24091 (ENTER): Remove both macro definitions.
24092 (LEAVE): Likewise.
24093 (CHECK_BOUNDS_LOW): Likewise.
24094 (CHECK_BOUNDS_HIGH): Likewise.
24095 (CHECK_BOUNDS_BOTH): Likewise.
24096 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24097 (RETURN_BOUNDED_POINTER): Likewise.
24098 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24099 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24100 (POP_ERRNO_LOCATION_RETURN): Likewise.
24101 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24102 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24103 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24104 macros.
24105 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24106 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24107 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24108 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24109 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24110 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24111 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24112 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24113 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24114 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24115 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24116 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24117 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24118 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24119 removed macros.
24120 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24121 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24122 macros.
24123 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24124 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24125 * sysdeps/i386/i586/memset.S (memset): Likewise.
24126 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24127 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24128 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24129 macros.
24130 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24131 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24132 Change uses of L(2) to L(out).
24133 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24134 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24135 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24136 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24137 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24138 removed macros.
24139 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24140 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24141 macros.
24142 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24143 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24144 (RETURN): Do not use macro LEAVE.
24145 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24146 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24147 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24148 * sysdeps/i386/i686/memset.S (memset): Likewise.
24149 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24150 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24151 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24152 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24153 Likewise.
24154 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24155 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24156 L(1_2) and L(1_3) into L(1).
24157 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24158 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24159 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24160 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24161 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24162 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24163 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24164 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24165 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24166 macros.
24167 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24168 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24169 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24170 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24171 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24172 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24173 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24174 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24175 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24176 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24177 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24178 * sysdeps/i386/strspn.S (strspn): Likewise.
24179 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24180 conditional code.
24181 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24182 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24183 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24184 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24185 L(1_3) into L(1_1).
24186 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24187 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24188 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24189 macros.
24190 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24191
2389741a
JJ
241922013-02-19 Jakub Jelinek <jakub@redhat.com>
24193
24194 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24195 macro.
24196
2016b3cd
SP
241972013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24198
e4f22324
SP
24199 * math/atest-exp.c (exp_mpn): Remove ROUND.
24200 * math/atest-exp2.c (exp_mpn): Likewise.
24201 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24202
2016b3cd
SP
24203 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24204 * stdlib/tst-tls-atexit-lib.c: Likewise.
24205 * stdlib/tst-tls-atexit.c: Likewise.
24206
4be9b544
MF
242072013-02-18 Mike Frysinger <vapier@gentoo.org>
24208
24209 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24210 and __attribute_alloc_size__.
24211
2f62b9ee
MF
242122013-02-18 Mike Frysinger <vapier@gentoo.org>
24213
24214 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24215 __attribute_alloc_size__.
24216 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24217 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24218
6ff444c4
MF
242192013-02-18 Mike Frysinger <vapier@gentoo.org>
24220
24221 * include/programs/xmalloc.h: New file.
24222 * catgets/gencat.c: Include it.
24223 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24224 * elf/pldd.c: Likewise.
24225 * iconv/iconv_charmap.c: Likewise.
24226 * iconv/iconvconfig.c: Likewise.
24227 * iconv/strtab.c: Likewise.
24228 * locale/programs/locale.c: Likewise.
24229 * locale/programs/localedef.h: Likewise.
24230 * locale/programs/simple-hash.c: Likewise.
24231 * nscd/nscd.h: Likewise.
24232 * nss/makedb.c: Likewise.
24233 * sysdeps/generic/ldconfig.h: Likewise.
24234
be179c8a
SP
242352013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24236
ba384f6e
SP
24237 * Versions.def: Add GLIBC_2.18.
24238 * include/link.h (struct link_map): New member l_tls_dtor_count.
24239 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24240 (__call_tls_dtors): Likewise.
24241 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24242 __cxa_thread_atexit_impl.
24243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24244 Likewise.
24245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24246 Likewise.
24247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24248 Likewise.
24249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24250 Likewise.
24251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24253 Likewise.
24254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24255 Likewise.
24256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24258 Likewise.
24259 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24260 (tests): Add test case tst-tls-atexit.
24261 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24262 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24263 (GLIBC_PRIVATE): Add __call_tls_dtors.
24264 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24265 for libstdc++.
24266 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24267 * stdlib/tst-tls-atexit.c: New test case.
24268 * stdlib/tst-tls-atexit-lib.c: New test case.
24269
ffaa74cf 24270 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24271
be179c8a
SP
24272 * elf/Versions (ld): Add _dl_find_dso_for_object.
24273 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24274 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24275 (dl_open_worker): Use _dl_find_dso_for_object.
24276 * elf/dl-sym.c (do_sym): Likewise.
24277 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24278
f78b5caa
AK
242792013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24280
24281 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24282 Syntactic changes only.
24283 (_dl_runtime_profile): Do a tail-call to the resolved function.
24284
29691210
JM
242852013-02-17 Joseph Myers <joseph@codesourcery.com>
24286
24287 [BZ #13550]
24288 * sysdeps/x86_64/bp-asm.h: Remove file.
24289 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24290 <bp-sym.h> and <bp-asm.h>.
24291 (__clone): Do not use BP_SYM.
24292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24293 <bp-sym.h> and <bp-asm.h>.
24294 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24295 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24296 "bp-asm.h".
24297 (_setjmp): Do not use BP_SYM.
24298 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24299 "bp-asm.h".
24300 (setjmp): Do not use BP_SYM.
24301 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24302 libc_hidden_def.
24303 (mempcpy): Do not use BP_SYM in weak_alias.
24304 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24305 "bp-asm.h".
24306 (strchr): Do not use BP_SYM.
24307 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24308 "bp-asm.h".
24309 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24310 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24311 (_start): Do not use BP_SYM.
24312 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24313 "bp-asm.h".
24314 (strcat): Do not use BP_SYM.
24315 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24316 "bp-asm.h".
24317 (STRCMP): Do not use BP_SYM.
24318 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24319 "bp-asm.h".
24320 (STRCPY): Do not use BP_SYM.
24321 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24322 "bp-asm.h".
24323 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24324 "bp-asm.h".
24325 (FUNCTION): Do not use BP_SYM.
24326 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24327 weak_alias.
24328 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24329
f238fd19
AJ
243302013-02-17 Andreas Jaeger <aj@suse.de>
24331
24332 * time/Versions: Sort entries.
24333 * string/Versions: Likewise.
24334 * resolv/Versions: Likewise.
24335 * posix/Versions: Likewise.
24336 * iconv/Versions: Likewise.
24337 * elf/Versions: Likewise.
24338 * wcsmbs/Versions: Likewise.
24339
bd07f23c 243402013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24341
22af19f9
SP
24342 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24343 loop termination condition.
24344
4709fe76
SP
24345 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24346 variable to calculate EZ.
24347 (__sqr): Likewise.
2d0e0f29
SP
24348
24349 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24350 the lower precision input.
24351
daaa7713
JM
243522013-02-15 Joseph Myers <joseph@codesourcery.com>
24353
24354 [BZ #13550]
24355 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24356 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24357 (run-via-rtld-prefix): Do not handle %-bp tests.
24358 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24359 (all-object-suffixes): Remove .ob.
24360 (bppfx): Remove variable.
24361 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24362 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24363 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24364 [$(build-bounded) = yes] (libtype.ob): Likewise.
24365 * Makerules (elide-routines.ob): Remove variable.
24366 (do-tests-clean): Do not handle *-bp.out.
24367 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24368 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24369 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24370 (tests): Do not include $(tests-bp.out).
24371 (xtests): Do not include $(xtests-bp.out).
24372 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24373 [$(build-bounded) = yes] ($(addprefix
24374 $(objpfx),$(binaries-bounded))): Remove rule.
24375 ($(objpfx)%-bp.out): Remove rule.
24376 * config.make.in (build-bounded): Remove variable.
24377 * crypt/Makefile [$(build-bounded) = yes]
24378 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24379 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24380 append to variable.
24381 [$(build-bounded) = yes] (install-lib): Likewise.
24382 [$(build-bounded) = yes] (generated): Likewise.
24383 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24384 Remove rule.
24385 * intl/Makefile [$(build-bounded) = yes]
24386 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24387 * math/Makefile [$(build-bounded) = yes]
24388 ($(tests:%=$(objpfx)%-bp): Likewise.
24389 * misc/Makefile [$(build-bounded) = yes]
24390 ($(objpfx)tst-tsearch-bp): Likewise.
24391 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24392 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24393 Remove dependency.
24394 * string/Makefile (o-objects.ob): Remove variable.
24395 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24396 (CFLAGS-.ob): Remove variable.
24397 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24398 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24399 both definitions of variable.
24400 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24401 (ASFLAGS-.ob): Remove variable.
24402
e97ed6dd
JM
244032013-02-14 Joseph Myers <joseph@codesourcery.com>
24404
2bdd4ca6
JM
24405 [BZ #13550]
24406 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24407 Remove __BOUNDED_POINTERS__ from condition.
24408 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24409 * string/bits/string2.h [!__NO_STRING_INLINES &&
24410 !__BOUNDED_POINTERS__]: Likewise.
24411 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24412 Likewise.
24413 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24414 Remove conditional code.
24415 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24416 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24417 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24418 condition.
24419
e97ed6dd
JM
24420 [BZ #13550]
24421 * csu/libc-start.c: Do not include <bp-sym.h>.
24422 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24423 * elf/dl-open.c: Do not include <bp-sym.h>.
24424 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24425 * math/fegetenv.c: Do not include <bp-sym.h>.
24426 (fegetenv): Do not use BP_SYM in versioned symbols.
24427 * nptl/sysdeps/pthread/bits/libc-lockP.h
24428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24429 <bp-sym.h>.
24430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24431 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24433 (__pthread_mutex_destroy): Likewise.
24434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24435 (__pthread_mutex_lock): Likewise.
24436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24437 (__pthread_mutex_trylock): Likewise.
24438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24439 (__pthread_mutex_unlock): Likewise.
24440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24441 (__pthread_mutexattr_init): Likewise.
24442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24443 (__pthread_mutexattr_destroy): Likewise.
24444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24445 (__pthread_mutexattr_settype): Likewise.
24446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24447 (__pthread_rwlock_init): Likewise.
24448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24449 (__pthread_rwlock_destroy): Likewise.
24450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24451 (__pthread_rwlock_rdlock): Likewise.
24452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24453 (__pthread_rwlock_tryrdlock): Likewise.
24454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24455 (__pthread_rwlock_wrlock): Likewise.
24456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24457 (__pthread_rwlock_trywrlock): Likewise.
24458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24459 (__pthread_rwlock_unlock): Likewise.
24460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24461 (__pthread_key_create): Likewise.
24462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24463 (__pthread_setspecific): Likewise.
24464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24465 (__pthread_getspecific): Likewise.
24466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24467 Likewise.
24468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24469 (_pthread_cleanup_push_defer): Likewise.
24470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24471 (_pthread_cleanup_pop_restore): Likewise.
24472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24473 (pthread_setcancelstate): Likewise.
24474 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24475 <bp-sym.h>.
24476 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24477 (memchr): Do not use BP_SYM in weak_alias.
24478 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24479 (fegetenv): Do not use BP_SYM in versioned symbols.
24480 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24481 (fesetenv): Do not use BP_SYM in versioned symbols.
24482 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24483 (feupdateenv): Do not use BP_SYM in versioned symbols.
24484 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24485 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24486 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24487 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24488 (open64): Do not use BP_SYM in weak_alias.
24489 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24490 (fegetenv): Do not use BP_SYM in versioned symbols.
24491 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24492 (fesetenv): Do not use BP_SYM in versioned symbols.
24493 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24494 (feupdateenv): Do not use BP_SYM in versioned symbols.
24495 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24496 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24497 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24498 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24499 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24500 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24501 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24502 <bp-sym.h>.
24503 (__libc_start_main): Do not use BP_SYM.
24504
d6752ccd
SP
245052013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24506
cb57ce60
SP
24507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24508 redundant return line.
24509 (norm): Likewise.
24510 (denorm): Likewise.
24511 (dbl_mp): Likewise.
24512 (sub_magnitudes): Likewise.
24513 (__add): Likewise.
24514 (__sub): Likewise.
24515 (__mul): Likewise.
24516 (__inv): Likewise.
24517 (__dvd): Likewise.
24518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24519 (norm): Likewise.
24520 (denorm): Likewise.
24521 (dbl_mp): Likewise.
24522 (sub_magnitudes): Likewise.
24523 (__add): Likewise.
24524 (__sub): Likewise.
24525 (__mul): Likewise.
24526 (__inv): Likewise.
24527 (__dvd): Likewise.
24528
f414520d
SP
24529 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24530 instead of __mul.
24531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24532 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24533 (cc32): Likewise.
24534
d6752ccd
SP
24535 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24536 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24537 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24538 of __mul for squares.
24539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24540 function
24541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24542 Likewise.
24543 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24545
70d9946a
JM
245462013-02-13 Joseph Myers <joseph@codesourcery.com>
24547
24548 [BZ #13550]
24549 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24550 code.
24551 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24552 prototype or function definition. Rename ubp_* variables and
24553 parameters. Remove argv definitions conditional on
24554 [__BOUNDED_POINTERS__].
24555 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24556 * elf/dl-runtime.c (_dl_fixup): Likewise.
24557 * include/set-hooks.h (RUN_HOOK): Likewise.
24558 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24559 definition.
24560 * string/strcpy.c (strcpy): Do not use __unbounded.
24561 * sysdeps/generic/frame.h (struct layout): Likewise.
24562 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24563 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24564 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24565 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24566 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24567 (__backtrace): Likewise.
24568 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24569 use __ptrvalue.
24570 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24571 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24572 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24573 Likewise.
24574 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24575 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24576 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24577 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24578 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24579 Do not use __unbounded.
24580 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24581 Rename __unboundedrlimits parameter to rlimits in prototype.
24582 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24583 Do not use __unbounded.
24584 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24585 not use __ptrvalue.
24586 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24587 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24588 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24589 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24590 __ptrvalue or __unbounded.
24591 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24592 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24593 use __unbounded.
24594 (__new_msgctl): Do not use __ptrvalue.
24595 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24596 __unbounded.
24597 (__libc_msgrcv): Do not use __ptrvalue.
24598 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24599 startup_info): Do not use __unbounded.
24600 (__libc_start_main): Likewise. Rename ubp_* variables and
24601 parameters. Remove argv definitions conditional on
24602 [__BOUNDED_POINTERS__].
24603 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24604 __ptrvalue.
24605 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24606 use __unbounded.
24607 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24608 or __ptrvalue.
24609 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24610 use __unbounded.
24611 (__new_shmctl): Do not use __ptrvalue.
24612 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24613 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24614 Likewise.
24615 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24616 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24617 (__libc_sigaction): Likewise.
24618 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24619 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24620 Likewise.
24621 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24622
cc7834d6
OB
246232013-02-13 Ondřej Bílka <neleai@seznam.cz>
24624
ffb1ec7b 24625 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24626
24627 * string/mempcpy.c: Implement by calling memcpy.
24628
bdf02814
SP
246292013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24630
c2af38aa
SP
24631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24632
4e92d59e
SP
24633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24634 evaluation.
24635
909279a5
SP
24636 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24637 values in the mantissa.
24638
bdf02814
SP
24639 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24640 minimize writes to Z.
24641 (sub_magnitudes): Simplify code a bit.
24642
cd525923
RM
246432013-02-12 Roland McGrath <roland@hack.frob.com>
24644
24645 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24646 from the message. The linker prefixes all warnings with that already.
24647
7e2f0d2d
AS
246482013-02-12 Andreas Schwab <schwab@suse.de>
24649
a445af0b
AS
24650 [BZ #15078]
24651 * posix/regexec.c (extend_buffers): Add parameter min_len.
24652 (check_matching): Pass minimum needed length.
24653 (clean_state_log_if_needed): Likewise.
24654 (get_subexp): Likewise.
24655 * posix/Makefile (tests): Add bug-regex34.
24656 (bug-regex34-ENV): Define.
24657 * posix/bug-regex34.c: New file.
24658
7e2f0d2d
AS
24659 [BZ #11561]
24660 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24661 elements compare against the byte sequence of it, not its name.
24662 * posix/Makefile (tests): Add bug-regex35.
24663 (bug-regex35-ENV): Define.
24664 * posix/bug-regex35.c: New file.
24665
a175b684
TV
246662013-02-11 Tom de Vries <tom@codesourcery.com>
24667
24668 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24669 comment.
24670 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24671 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24672 (CHECK_EOL): Add undef.
24673
310998fe 246742013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24675
24676 * bits/stdlib-bsearch.h: New file.
24677 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24678 * stdlib/stdlib.h: Likewise.
41eda41d 24679
8ded91fb
RM
246802013-02-11 Roland McGrath <roland@hack.frob.com>
24681
24682 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24683 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24684 declaration.
24685 * manual/search.texi (Array Search Function): Add missing const in
24686 lfind prototype.
24687 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24688 declaration to use rlim_t.
24689 (Basic Scheduling Functions): Remove erroneous const from
24690 sched_getparam prototype. Remove erroneous * from
24691 sched_get_priority_max and sched_get_priority_min prototypes.
24692 (Resource Usage): Fix summary @comment on vtimes to refer to
24693 sys/vtimes.h rather than vtimes.h.
24694 Add missing *s in vtimes prototype.
24695 (Limits on Resources): Fix ulimit prototype to return long int.
24696 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24697 prototypes to use long int rather than double.
24698 (BSD Random): Fix initstate and setstate to use char *, not void *.
24699 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24700 prototype to make second argument 'struct aiocb64 *const[]'.
24701 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24702 (Status of AIO Operations): Remove erroneous const in aio_return and
24703 aio_return64 prototypes.
24704 (Synchronizing I/O): Fix sync prototype to return void.
24705 * manual/startup.texi (Suboptions): Remove an erroneous const in
24706 getsubopt prototype.
24707 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24708 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24709 use size_t rather than int.
24710 (Scanning All Users): Likewise for getpwent_r.
24711 (Setting Groups): Add missing const to setgroups prototype.
24712 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24713 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24714 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24715 'const void *' rather than 'const char *'.
24716 (Host Address Functions): Likewise for inet_ntop.
24717 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24718 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24719 ssize_t for return value.
24720 (Sending Data): Likewise for send, sendto, sendmsg.
24721 (Socket Option Functions): Add a missing const in setsockopt prototype.
24722 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24723 use wchar_t for the argument.
24724 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24725 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24726 take no arguments.
24727 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24728 double/float/long double for second argument.
24729 Fix return types of significand, significandf, significandl.
24730 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24731 argument in fchmod prototype.
24732 (File Owner): Use uid_t and gid_t in fchown prototype.
24733 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24734 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24735 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24736 use 'const struct dirent **' as argument types to CMP function pointer
24737 argument.
24738 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24739 (File Times): Fix summary magic @comment for struct utimbuf and utime
24740 to refer to utime.h, not time.h.
24741 * manual/string.texi (Argz Functions): Add missing const in
24742 argz_extract and argz_next prototypes.
24743 (Finding Tokens in a String): Likewise for basename.
24744 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24745 (Copying and Concatenation): Fix typo in wmemmove prototype.
24746 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24747 (Signal Stack): Remove erroneous const in sigstack prototype.
24748 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24749 prototype.
24750 (Simple Calendar Time): Likewise for stime.
24751 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24752 prototype.
24753 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24754 say sys/sysctl.h instead.
24755 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24756 and vsyslog prototypes.
24757
fe77fe6d
TV
247582013-02-11 Tom de Vries <tom@codesourcery.com>
24759
24760 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24761 Remove.
24762
3a09b620
RM
247632013-02-11 Roland McGrath <roland@hack.frob.com>
24764
24765 * misc/sys/mman.h: Fix typo in mremap comment.
24766
550a0b89
RM
247672013-02-08 Roland McGrath <roland@hack.frob.com>
24768
24769 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24770 the '\0' terminator.
24771
a2da1673
JM
247722013-02-08 Joseph Myers <joseph@codesourcery.com>
24773
24774 [BZ #13550]
24775 * debug/segfault.c: Don't include <bp-checks.h>.
24776 * sysdeps/generic/bp-checks.h: Remove file.
24777 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24778 (__GETDENTS): Don't use CHECK_N.
24779 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24780 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24781 (__getgroups): Don't use CHECK_N.
24782 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24783 (setgroups): Don't use CHECK_N.
24784 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24785 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24786 (__libc_msgrcv): Don't use CHECK_N.
24787 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24788 (__libc_msgsnd): Don't use CHECK_N.
24789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24790 <bp-checks.h>.
24791 (__libc_pread): Don't use CHECK_N.
24792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24793 include <bp-checks.h>.
24794 (__libc_pread64): Don't use CHECK_N.
24795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24796 include <bp-checks.h>.
24797 (__libc_pwrite): Don't use CHECK_N.
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24799 include <bp-checks.h>.
24800 (__libc_pwrite64): Don't use CHECK_N.
24801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24802 <bp-checks.h>.
24803 (__libc_pread): Don't use CHECK_N.
24804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24805 include <bp-checks.h>.
24806 (__libc_pread64): Don't use CHECK_N.
24807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24808 include <bp-checks.h>.
24809 (__libc_pwrite): Don't use CHECK_N.
24810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24811 include <bp-checks.h>.
24812 (__libc_pwrite64): Don't use CHECK_N.
24813 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24814 (do_pread): Don't use CHECK_N.
24815 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24816 (do_pread64): Don't use CHECK_N.
24817 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24818 (do_pwrite): Don't use CHECK_N.
24819 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24820 (do_pwrite64): Don't use CHECK_N.
24821 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24822 (__libc_readv): Don't use CHECK_N.
24823 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24824 (semop): Don't use CHECK_N.
24825 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24826 <bp-checks.h>.
24827 (semtimedop): Don't use CHECK_N.
24828 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24829 (__libc_pread): Don't use CHECK_N.
24830 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24831 <bp-checks.h>.
24832 (__libc_pread64): Don't use CHECK_N.
24833 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24834 <bp-checks.h>.
24835 (__libc_pwrite): Don't use CHECK_N.
24836 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24837 <bp-checks.h>.
24838 (__libc_pwrite64): Don't use CHECK_N.
24839 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24840 <bp-checks.h>.
24841 (__libc_msgrcv): Don't use CHECK_N.
24842 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24843 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24844 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24845 (__libc_writev): Don't use CHECK_N.
24846
b84660a8
RM
248472013-02-08 Roland McGrath <roland@hack.frob.com>
24848
7f3e75f8
RM
24849 * string/strcpy.c: Removed unused variable.
24850
b84660a8
RM
24851 * Makeconfig (+sysdep-includes): Define with := rather than =.
24852 Use an existing include/ subdir of each sysdeps dir before it.
24853
471514d3
CD
248542013-02-08 Carlos O'Donell <carlos@redhat.com>
24855
24856 * nscd/connection.c (register_traced_file): Comment function.
24857 [HAVE_INOTIFY] (union __inev): Define.
24858 [HAVE_INOTIFY] (inotify_check_files): New function.
24859 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24860 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24861 clear_db_cache.
24862 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24863
b2d3c3be
CD
248642013-02-08 Carlos O'Donell <carlos@redhat.com>
24865
24866 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24867 loaded if not already and that a failure is permanent.
24868
b39949d2
CD
248692013-02-08 Carlos O'Donell <carlos@redhat.com>
24870
ddacd1db 24871 [BZ #15006]
b39949d2
CD
24872 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24873 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24874
b2c9eff4
JM
248752013-02-08 Joseph Myers <joseph@codesourcery.com>
24876
f3aae3f3
JM
24877 [BZ #13550]
24878 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24879 (CHECK_1_NULL_OK): Likewise.
24880 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24881 (__fxstat): Do not use CHECK_1.
24882 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24883 <bp-checks.h>.
24884 (___fxstat64): Do not use CHECK_1.
24885 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24886 <bp-checks.h>.
24887 (__fxstatat): Do not use CHECK_1.
24888 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24889 <bp-checks.h>.
24890 (__fxstatat64): Do not use CHECK_1.
24891 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24892 <bp-checks.h>.
24893 (__fxstat): Do not use CHECK_1.
24894 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24895 <bp-checks.h>.
24896 (__fxstatat): Do not use CHECK_1.
24897 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24898 <bp-checks.h>.
24899 (__getresgid): Do not use CHECK_1.
24900 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24901 <bp-checks.h>.
24902 (__getresuid): Do not use CHECK_1.
24903 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24904 <bp-checks.h>.
24905 (__lxstat): Do not use CHECK_1.
24906 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24907 <bp-checks.h>.
24908 (__old_msgctl): Do not use CHECK_1.
24909 (__new_msgctl): Likewise.
24910 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24911 <bp-checks.h>.
24912 (__new_setrlimit): Do not use CHECK_1.
24913 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24914 <bp-checks.h>.
24915 (__old_shmctl): Do not use CHECK_1.
24916 (__new_shmctl): Likewise.
24917 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24918 <bp-checks.h>.
24919 (__xstat): Do not use CHECK_1.
24920 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24921 (__lxstat): Do not use CHECK_1.
24922 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24923 <bp-checks.h>.
24924 (___lxstat64): Do not use CHECK_1.
24925 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24926 (__old_msgctl): Do not use CHECK_1.
24927 (__new_msgctl): Likewise.
24928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24929 <bp-checks.h>.
24930 (__gettimeofday): Do not use CHECK_1.
24931 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24932 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24933 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24934 <bp-checks.h>.
24935 (__gettimeofday): Do not use CHECK_1.
24936 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24937 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24938 (__new_shmctl): Do not use CHECK_1.
24939 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24940 <bp-checks.h>.
24941 (do_sigtimedwait): Do not use CHECK_1.
24942 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24943 <bp-checks.h>.
24944 (do_sigwaitinfo): Do not use CHECK_1.
24945 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24946 <bp-checks.h>.
24947 (msgctl): Do not use CHECK_1.
24948 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24949 <bp-checks.h>.
24950 (shmctl): Do not use CHECK_1.
24951 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24952 (ustat): Do not use CHECK_1.
24953 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24954 <bp-checks.h>.
24955 (__fxstat): Do not use CHECK_1.
24956 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24957 <bp-checks.h>.
24958 (__fxstatat): Do not use CHECK_1.
24959 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24960 <bp-checks.h>.
24961 (__lxstat): Do not use CHECK_1.
24962 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24963 <bp-checks.h>.
24964 (__xstat): Do not use CHECK_1.
24965 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24966 (__xstat): Do not use CHECK_1.
24967 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24968 (___xstat64): Do not use CHECK_1.
24969
b2c9eff4
JM
24970 [BZ #13550]
24971 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24972 definitions.
24973 (CHECK_BOUNDS_HIGH): Likewise.
24974 * string/strcpy.c: Do not include <bp-checks.h>.
24975 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24976
f1d70dad
RM
249772013-02-07 Roland McGrath <roland@hack.frob.com>
24978
24979 * nscd/nscd-client.h (__nscd_drop_map_ref):
24980 Add __attribute__ ((unused)).
24981 * nis/nss-nisplus.h (niserr2nss): Likewise.
24982
24983 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24984 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24985
24986 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24987 Remove inline keyword.
24988 * include/rounding-mode.h (round_away): Likewise.
24989 * libio/wfileops.c (adjust_wide_data): Likewise.
24990 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24991 (__m128i_strloadu_tolower): Likewise.
24992 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24993 (__m128i_strloadu_tolower): Likewise.
24994 * time/mktime.c (ydhms_diff): Likewise.
24995 * locale/elem-hash.h (elem_hash): Likewise.
24996 * locale/setlocale.c (setdata): Likewise.
24997 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24998 (re_string_wchar_at): Likewise.
24999 (bitset_not, bitset_merge, bitset_mask): Likewise.
25000 [!(__GNUC__ > 3)] (inline): Remove macro.
25001 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25002 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25003 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25004 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25005 * string/memcmp.c (memcmp_bytes): Likewise.
25006 * locale/programs/locarchive.c (compute_hashval): Likewise.
25007 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25008 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25009 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25010 * nss/getent.c (print_rpc, print_protocols): Likewise.
25011 (print_passwd, print_group, print_aliases): Likewise.
25012 * nis/nss-nisplus.h (niserr2nss): Likewise.
25013 * nscd/connections.c (restart_p): Likewise.
25014 Change return type to bool.
25015
eab55bfb
RM
250162013-02-05 Roland McGrath <roland@hack.frob.com>
25017
7bd642f5
RM
25018 * Makeconfig (all-Depend-files): Add existing
25019 $(sorted-subdirs:=/Depend) files.
25020 (all-subdirs): Remove nss.
25021 * sysdeps/unix/inet/Subdirs: Add it here instead.
25022 * hesiod/Depend: New file.
25023
573c29b2
RM
25024 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25025 instead of calling alloca.
25026
b2e25af0
RM
25027 * io/lseek.c (__lseek): Rename to __libc_lseek.
25028 Define __lseek as an alias.
25029
eab55bfb
RM
25030 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25031
9a0d1941
CD
250322013-02-04 Carlos O'Donell <carlos@redhat.com>
25033
25034 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25035 else clause and remove check for non-standard endianness.
25036
b83bbec4
DM
250372013-02-04 David S. Miller <davem@davemloft.net>
25038
25039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25040
6277fdab
JM
250412013-02-04 Joseph Myers <joseph@codesourcery.com>
25042
25043 [BZ #13550]
25044 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25045 (__ubp_memchr): Remove prototype.
25046 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25047 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25048 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25049 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25050 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25051 Remove alias.
25052 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25053 (__ubp_memchr): Likewise.
25054 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25055 (__ubp_memchr): Likewise.
25056 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25057 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25058 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25059 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25060 CHECK_STRING.
25061 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25062 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25063 (__getcwd): Do not use CHECK_STRING.
25064 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25065 <bp-checks.h>.
25066 (__real_chown): Do not use CHECK_STRING.
25067 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25068 <bp-checks.h>.
25069 (fchownat): Do not use CHECK_STRING.
25070 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25071 CHECK_STRING.
25072 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25073 <bp-checks.h>.
25074 (__lchown): Do not use CHECK_STRING.
25075 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25076 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25077 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25078 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25080 include <bp-checks.h>.
25081 (truncate64): Do not use CHECK_STRING.
25082 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25083 <bp-checks.h>.
25084 (__real_chown): Do not use CHECK_STRING.
25085 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25086 <bp-checks.h>.
25087 (__lchown): Do not use CHECK_STRING.
25088 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25089 <bp-checks.h>.
25090 (__chown): Do not use CHECK_STRING.
25091 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25092 <bp-checks.h>.
25093 (truncate64): Do not use CHECK_STRING.
25094 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25095 Likewise.
25096 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25097 (__xmknod): Do not use CHECK_STRING.
25098 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25099 <bp-checks.h>.
25100 (__xmknodat): Do not use CHECK_STRING.
25101 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25102 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25103
903ae060
AS
251042013-02-04 Andreas Schwab <schwab@suse.de>
25105
25106 [BZ #14142]
25107 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25108 * include/netdb.h: Likewise for h_errno.
25109 * elf/tst-stackguard1.c: Include <tls.h>.
25110
542f9466
JK
251112013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25112
25113 * elf/link.h (struct link_map): Extend the l_addr comment.
25114 * include/link.h (struct link_map): Likewise.
25115
e782a927
JM
251162013-02-01 Joseph Myers <joseph@codesourcery.com>
25117
25118 [BZ #13550]
25119 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25120 (BOUNDED_1): Remove macro.
25121 * debug/backtrace.c: Don't include <bp-checks.h>.
25122 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25123 (__backtrace): Likewise.
25124 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25125 <bp-checks.h>.
25126 (__backtrace): Don't use BOUNDED_1.
25127 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25128 <bp-checks.h>.
25129 (__backtrace): Don't use BOUNDED_1.
25130 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25131 (__backtrace): Don't use BOUNDED_1.
25132 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25133 (shmat): Don't use BOUNDED_N.
25134
8cf28c5e
JM
251352013-01-31 Joseph Myers <joseph@codesourcery.com>
25136
3a7ac8a0
JM
25137 [BZ #13550]
25138 * sysdeps/generic/bp-start.h: Remove file.
25139 * csu/libc-start.c: Don't include <bp-start.h>.
25140 (LIBC_START_MAIN): Set up __environ directly instead of using
25141 INIT_ARGV_and_ENVIRON.
25142 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25143 <bp-start.h>.
25144
f3499f95
JM
25145 [BZ #13550]
25146 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25147 definitions.
25148 (CHECK_FCNTL): Likewise.
25149 (CHECK_N_PAGES): Likewise.
25150
32a45bea
JM
25151 [BZ #13550]
25152 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25153 definitions.
25154 (CHECK_SIGSET_NULL_OK): Likewise.
25155 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25156 <bp-checks.h>.
25157 (sigpending): Don't use CHECK_SIGSET.
25158 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25159 <bp-checks.h>.
25160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25161 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25162 <bp-checks.h>.
25163 (do_sigsuspend): Don't use CHECK_SIGSET.
25164 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25165 use CHECK_SIGSET.
25166 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25167 (do_sigwait): Don't use CHECK_SIGSET.
25168 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25169 use CHECK_SIGSET.
25170 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25171 include <bp-checks.h>.
25172 (sigpending): Don't use CHECK_SIGSET.
25173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25174 include <bp-checks.h>.
25175 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25176 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25177 <bp-checks.h>.
25178 (sigpending): Don't use CHECK_SIGSET.
25179 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25180 <bp-checks.h>.
25181 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25182
2e8a5c8c
JM
25183 [BZ #13550]
25184 * sysdeps/generic/bp-semctl.h: Remove file.
25185 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25186 <bp-checks.h> and <bp-semctl.h>.
25187 (__old_semctl): Don't use CHECK_SEMCTL.
25188 (__new_semctl): Likewise.
25189 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25190 and <bp-semctl.h>.
25191 (__old_semctl): Don't use CHECK_SEMCTL.
25192 (__new_semctl): Likewise.
25193 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25194 <bp-checks.h> and <bp-semctl.h>.
25195 (__old_semctl): Don't use CHECK_SEMCTL.
25196 (__new_semctl): Likewise.
25197 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25198 <bp-checks.h> and <bp-semctl.h>.
25199 (semctl): Don't use CHECK_SEMCTL.
25200
c2d54929
JM
25201 [BZ #13550]
25202 * Makerules (elide-bp-thunks): Remove variable.
25203 (elide-routines.oS): Don't use $(elide-bp-thunks).
25204 (elide-routines.os): Likewise.
25205 (elide-routines.o): Likewise.
25206 (elide-routines.op): Likewise.
25207 (elide-routines.og): Likewise.
25208 (objects): Don't use $(bp-thunks).
25209 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25210 include.
25211 (common-generated): Do not add s-proto-bp.d.
25212 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25213 (int): Likewise.
25214 (typ): Likewise.
25215 Do not generate makefile rules for bounded-pointer thunks.
25216 * sysdeps/generic/bp-thunks.h: Remove file.
25217 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25218 * sysdeps/unix/s-proto-bp.S: Likewise.
25219
8cf28c5e
JM
25220 [BZ #15062]
25221 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25222 parts of result separately when argument is not close to line from
25223 -i to i and one part of argument is small.
25224 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25225 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25226 * math/libm-test.inc (cacos_test): Add more tests.
25227 (casin_test): Likewise.
25228 (casinh_test): Likewise.
25229 * sysdeps/i386/fpu/libm-test-ulps: Update.
25230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25231
c4e33b8d
DM
252322013-01-31 David S. Miller <davem@davemloft.net>
25233
25234 * po/de.po: Update from translation team.
25235
3b60b421
MK
252362013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25237
25238 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25239
bb931195
TS
252402013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25241
b5a5da23
TS
25242 * configure.in (_AC_PROG_CC_C89): New definition.
25243 * configure: Regenerate.
25244
bb931195
TS
25245 * configure.in (AC_PROG_CPP): New definition.
25246 * configure: Regenerate.
25247
8c53a12c
JM
252482013-01-23 Joseph Myers <joseph@codesourcery.com>
25249
25250 * debug/tst-backtrace.h: New file.
25251 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25252 (ret): Remove variable.
25253 (x): Likewise.
25254 (FAIL): Remove macro.
25255 (NO_INLINE): Likewise.
25256 (fn1): Use match function instead of strstr.
25257 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25258 (ret): Remove variable.
25259 (x): Likewise.
25260 (FAIL): Remove macro.
25261 (NO_INLINE): Likewise.
25262 (fn): Use match function instead of strstr.
25263 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25264 (ret): Remove variable.
25265 (x): Likewise.
25266 (FAIL): Remove macro.
25267 (NO_INLINE): Likewise.
25268 (handle_signal): Use match function instead of strstr.
25269 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25270 (ret): Remove variable.
25271 (x): Likewise.
25272 (FAIL): Remove macro.
25273 (NO_INLINE): Likewise.
25274 (handle_signal): Use match function instead of strstr.
25275
4858fa2a
RM
252762013-01-23 Roland McGrath <roland@hack.frob.com>
25277
25278 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25279
bae8e7f5
DM
252802013-01-23 David S. Miller <davem@davemloft.net>
25281
25282 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25283 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25284 argument of CAS if possible.
25285 * sysdeps/sparc/sparc64/bits/atomic.h
25286 (__arch_compare_and_exchange_val_32_acq): Likewise.
25287 (__arch_compare_and_exchange_val_64_acq): Likewise.
25288
9cbbc4ae
PT
252892013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25290
25291 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25292 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25293 Include <limits.h>.
67b3f58c 25294 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25295
5655a0b5
AC
252962013-01-23 Adam Conrad <adconrad@0c3.net>
25297
25298 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25299 (LDFLAGS-tst-array5): Likewise.
25300
052aff95
JM
253012013-01-23 Joseph Myers <joseph@codesourcery.com>
25302
25303 [BZ #15036]
25304 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25305 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25306 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25307 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25308
7c1e01aa
DM
253092013-01-21 David S. Miller <davem@davemloft.net>
25310
25311 * sysdeps/sparc/backtrace.c: New file.
25312 * sysdeps/sparc/sparc32/backtrace.h: New file.
25313 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25314 * sysdeps/sparc/sparc64/backtrace.h: New file.
25315 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25316 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25317 -funwind-tables.
25318
ab087e0a
AS
253192013-01-21 Andreas Schwab <schwab@suse.de>
25320
25321 [BZ #15020]
25322 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25323 closed its stdout.
25324
ed689c2f
AS
253252013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25326
25327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25328 "mpa2.h".
25329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25330
31d470ac
JM
253312013-01-18 Joseph Myers <joseph@codesourcery.com>
25332 Mark Mitchell <mark@codesourcery.com>
25333 Tom de Vries <tom@codesourcery.com>
25334 Paul Pluzhnikov <ppluzhnikov@google.com>
25335
25336 * debug/tst-backtrace2.c: New file.
25337 * debug/tst-backtrace3.c: Likewise.
25338 * debug/tst-backtrace4.c: Likewise.
25339 * debug/tst-backtrace5.c: Likewise.
25340 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25341 (CFLAGS-tst-backtrace3.c): Likewise.
25342 (CFLAGS-tst-backtrace4.c): Likewise.
25343 (CFLAGS-tst-backtrace5.c): Likewise.
25344 (LDFLAGS-tst-backtrace2): Likewise.
25345 (LDFLAGS-tst-backtrace3): Likewise.
25346 (LDFLAGS-tst-backtrace4): Likewise.
25347 (LDFLAGS-tst-backtrace5): Likewise.
25348 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25349 tst-backtrace4 and tst-backtrace5.
25350
90567f30 253512013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25352 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25353
25354 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25355 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25356 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25357 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25359 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25360 "+r" and remove output regs list as redundant. Add explicit inline
25361 asm to specify register of return val to work around compiler codegen
25362 bug. Remove (int) cast on return value. Add return type parameter to
25363 use in macro so that this macro does not truncate return value for
25364 64-bit values.
25365 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25366 pass to INTERNAL_VSYSCALL_NCS.
25367 (INLINE_VSYSCALL): Add 'long int' as return type to
25368 INTERNAL_VSYSCALL_NCS macro invocation.
25369 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25370 INTERNAL_VSYSCALL_NCS macro invocation.
25371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25372
d3b9ea61
SP
253732013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25374
0b57daeb
SP
25375 [BZ #14496]
25376 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25377 Fix application of SIMD FP exception mask.
25378
caa99d06
SP
25379 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25380 mp_no from a power of two.
25381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25382 __mpexp_twomm1. Use __pow_mp.
25383
d3b9ea61
SP
25384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25385 multiplication.
25386
1dbaee3c
DM
253872013-01-17 David S. Miller <davem@davemloft.net>
25388
25389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25390
728d7b43
JM
253912013-01-17 Joseph Myers <joseph@codesourcery.com>
25392
25393 [BZ #15023]
25394 * include/complex.h: Condition contents on [!_COMPLEX_H].
25395 (__kernel_casinhf): New prototype.
25396 (__kernel_casinh): Likewise.
25397 (__kernel_casinhl): Likewise.
25398 * math/Makefile (libm_calls): Add k_casinh.
25399 * math/k_casinh.c: New file.
25400 * math/k_casinhf.c: Likewise.
25401 * math/k_casinhl.c: Likewise.
25402 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25403 finite nonzero arguments.
25404 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25405 finite nonzero arguments.
25406 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25407 finite nonzero arguments.
25408 * math/s_casinh.c: Do not include <float.h>.
25409 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25410 * math/s_casinhf.c: Do not include <float.h>.
25411 (__casinhf): Move code for finite nonzero arguments to
25412 k_casinhf.c.
25413 * math/s_casinhl.c: Do not include <float.h>.
25414 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25415 redefine.
25416 (__casinhl): Move code for finite nonzero arguments to
25417 k_casinhl.c.
25418 * math/libm-test.inc (cacos_test): Add more tests.
25419 * sysdeps/i386/fpu/libm-test-ulps: Update.
25420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25421
2a26ef3a
PT
254222013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25423
25424 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25425 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25426 [!HAVE_MREMAP]: Remove [defined linux] case.
25427 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25428
a897655d
SP
254292013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25430
25431 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25432
881ebe89 254332013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25434
25435 * elf/elf.h (R_386_SIZE32): New relocation.
25436 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25437 R_386_SIZE32.
25438 (elf_machine_rela): Likewise.
25439 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25440 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25441
59981e9b
JM
254422013-01-17 Joseph Myers <joseph@codesourcery.com>
25443
25444 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25445 (FP_FAST_FMA): Do not define.
25446 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25447 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25448 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25449 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25450 !_SOFT_FLOAT]: Likewise.
25451 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25452 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25453 value.
25454 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25455 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25456 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25457 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25458 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25459 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25460 file.
25461
cfa8054f
AS
254622013-01-16 Andreas Schwab <schwab@suse.de>
25463
25464 [BZ #14327]
25465 * include/stdlib.h (__mktemp): Add declaration.
25466 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25467 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25468
dd930cc5
SP
254692013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25470
881ebe89
SP
25471 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25472 definitions.
25473 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25474 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25475 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25476 definitions here.
25477 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25478 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25479 definitions.
25480 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25481 and ONE.
25482 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25483 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25484 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25485 definitions.
25486 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25487 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25488 definitions.
25489 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25490
dd930cc5
SP
25491 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25492
c19a9f89
DM
254932013-01-15 David S. Miller <davem@davemloft.net>
25494
1aa61767
DM
25495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25496 trunc{,f} to libm-sysdep_routes.
25497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25499 file.
25500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25502 file.
25503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25504 file.
25505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25507 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25508 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25509 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25510 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25511 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25512 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25513
c42d5e98
DM
25514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25515 nearbyint{,f} to libm-sysdep_routes.
25516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25518 New file.
25519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25520 file.
25521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25522 New file.
25523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25524 file.
25525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25527 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25528 file.
25529 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25531 file.
25532 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25533 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25534 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25535
c19a9f89
DM
25536 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25537 libc_feholdexcept and libc_fesetenv.
25538
357679d2
MF
255392013-01-15 Mike Frysinger <vapier@gentoo.org>
25540
25541 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25542
65a82e3d
DM
255432013-01-14 David S. Miller <davem@davemloft.net>
25544
8b954ab9
DM
25545 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25546 (SPARC_ASM_VIS2_IFUNC): Likewise.
25547 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25549 use of 'siam' instruction.
25550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25551 Likewise.
25552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25553 Likewise.
25554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25555 Likewise.
25556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25561 file.
25562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25563 file.
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25565 file.
25566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25567 file.
25568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25573 new VIS2 routines.
25574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25577 Likewise.
25578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25583 routines to libm-sysdep_routines.
25584 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25585
65a82e3d
DM
25586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25587 fdim/fdimf to libm-sysdep_routines.
25588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25589 file.
25590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25592 file.
25593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25596 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25597 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25598 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25599 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25600
e34ab705
SP
256012013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25602
2a91b573
SP
25603 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25604 to optimize copies.
25605
1066a534
SP
25606 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25609
e34ab705
SP
25610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25611 local variable MPTWO.
25612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25613 Likewise.
25614
aba5e596
MF
256152013-01-13 Mike Frysinger <vapier@gentoo.org>
25616
25617 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25618 GLOB_NOESCAPE.
25619
e557e9e5
MF
256202013-01-13 Mike Frysinger <vapier@gentoo.org>
25621
25622 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25623
0428cec9
MF
256242013-01-13 Mike Frysinger <vapier@gentoo.org>
25625
25626 * manual/pattern.texi (glob_t): Document gl_flags.
25627 (glob64_t): Likewise.
25628
8794a964
DM
256292013-01-11 David S. Miller <davem@davemloft.net>
25630
66438c3f
RM
25631 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25632 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25633 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25634 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25635 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25636 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25637 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25638 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25639 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25640 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25641 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25642 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25643 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25644
4ae4244d
DM
25645 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25646 sparc V9 rather than using V8 code.
25647 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25648 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25649
8794a964
DM
25650 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25651 Move to...
25652 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25653 Here.
25654
6270516e
RM
256552013-01-11 Roland McGrath <roland@hack.frob.com>
25656
25657 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25658 not in the main loop.
25659 * configure: Regenerated.
25660
6a57d931
JM
256612013-01-11 Joseph Myers <joseph@codesourcery.com>
25662
25663 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25664 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25665 to just #else.
25666 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25667 [!__GLIBC_HAVE_LONG_LONG] case.
25668 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25669 condition to just #else.
25670 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25671 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25672 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25673 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25674 unconditional.
25675 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25676 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25677 #elif condition to just #else.
25678 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25679 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25680 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25681 #elif condition to just #else.
25682
0e8529e9
SE
256832013-01-11 Steve Ellcey <sellcey@mips.com>
25684
25685 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25686 (EF_MIPS_ARCH_64): Fix value.
25687 (EF_MIPS_ARCH_32R2): New.
25688 (EF_MIPS_ARCH_64R2): New.
25689
740b3dbe
L
256902013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25691
25692 * Makeconfig (+link-pie-before-libc): New.
25693 (+link-pie-after-libc): Likewise.
25694 (+link-pie-tests): Likewise.
25695 (+link-pie): Rewritten.
25696 (link-before-libc): Remove $(config-LDFLAGS).
25697 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25698 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25699 (config-LDFLAGS): Renamed to ...
25700 (rtld-LDFLAGS): This.
25701 (rtld-tests-LDFLAGS): New macro.
25702 (link-libc-rpath-link): Likewise.
25703 (link-libc-tests-rpath-link): Likewise.
25704 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25705 (link-libc): Prepand $(link-libc-rpath-link).
25706 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25707 (test-program-prefix): New macro.
25708 (test-via-rtld-prefix): Likewise.
25709 (test-program-cmd): Likewise.
25710 (host-test-program-cmd): Likewise.
25711 * Makefile ($(common-objpfx)testrun.sh): Replace
25712 $(run-program-prefix) with $(test-program-prefix).
25713 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25714 $(rtld-LDFLAGS).
25715 ($(common-objpfx)shlib.lds): Likewise.
25716 (build-module-helper): Likewise.
25717 ($(common-objpfx)format.lds): Likewise.
25718 * Rules (binaries-pie-tests): New.
25719 (binaries-pie-notests): Likewise.
25720 (binaries-pie): Rewritten.
25721 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25722 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25723 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25724 (make-test-out): Replace $(host-built-program-cmd) with
25725 $(host-test-program-cmd).
25726 * config.make.in (build-hardcoded-path-in-tests): New variable.
25727 * configure.in (--enable-hardcoded-path-in-tests): New configure
25728 option.
25729 (hardcoded_path_in_tests): New AC_SUBST.
25730 * configure: Regenerated.
25731 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25732 $(built-program-cmd) with $(test-program-cmd).
25733 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25734 (test_program_cmd): This.
25735 * elf/Makefile ($(objpfx)order.out): Run test with
25736 $(test-program-prefix).
25737 ($(objpfx)order2.out): Likewise.
25738 ($(objpfx)tst-initorder.out): Likewise.
25739 ($(objpfx)tst-initorder2.out): Likewise.
25740 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25741 $(test-program-cmd).
25742 ($(objpfx)tst-array1-static.out): Likewise.
25743 ($(objpfx)tst-array2.out): Likewise.
25744 ($(objpfx)tst-array3.out): Likewise.
25745 ($(objpfx)tst-array4.out): Likewise.
25746 ($(objpfx)tst-array5.out): Likewise.
25747 ($(objpfx)tst-array5-static.out): Likewise.
25748 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25749 $(test-program-cmd).
25750 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25751 $(run-program-prefix) with $(test-program-prefix).
25752 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25753 (test_program_prefix): This.
25754 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25755 $(run-program-prefix) with $(test-program-prefix).
25756 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25757 (test_program_prefix): This.
25758 * iconvdata/tst-tables.sh: Likewise.
25759 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25760 $(run-program-prefix) with $(test-program-prefix).
25761 ($(objpfx)tst-translit.out): Likewise.
25762 ($(objpfx)tst-gettext2.out): Likewise.
25763 ($(objpfx)tst-gettext4.out): Likewise.
25764 ($(objpfx)tst-gettext6.out): Likewise.
25765 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25766 (test_program_prefix): This.
25767 * intl/tst-gettext2.sh: Likewise.
25768 * intl/tst-gettext4.sh Likewise.
25769 * intl/tst-gettext6.sh: Likewise.
25770 * intl/tst-translit.sh: Likewise.
25771 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25772 with $(test-program-cmd).
25773 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25774 $(run-program-prefix) with $(test-program-prefix).
25775 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25776 (test_program_prefix): This.
25777 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25778 $(run-program-prefix) with $(test-program-prefix).
25779 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25780 (test_program_prefix): This.
25781 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25782 * posix/Makefile ($(objpfx)globtest.out): Replace
25783 $(run-via-rtld-prefix) and $(test-wrapper) with
25784 $(test-program-prefix) and $(test-via-rtld-prefix).
25785 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25786 $(test-program-prefix).
25787 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25788 $(host-test-program-cmd).
25789 (tst-spawn-ARGS): Likewise.
25790 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25791 $(test-program-prefix).
25792 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25793 (test_via_rtld_prefix): This.
25794 (test_wrapper): Renamed to ...
25795 (test_program_prefix): This.
25796 (run_program_prefix): Replaced by test_program_prefix.
25797 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25798 (test_program_prefix): This.
25799 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25800 with $(host-test-program-cmd).
25801 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25802 $(run-program-prefix) with $(test-program-prefix).
25803 ($(objpfx)tst-printf.out): Likewise.
25804 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25805 $(test-program-cmd).
25806 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25807 (test_program_prefix): This.
25808 * stdio-common/tst-unbputc.sh: Likewise.
25809 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25810 $(run-program-prefix) with $(test-program-prefix).
25811 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25812 (test_program_prefix): This.
25813 * string/Makefile ($(objpfx)tst-svc.out): Replace
25814 $(built-program-cmd) with $(test-program-cmd).
25815
c6fe55cf
AJ
258162013-01-11 Andreas Jaeger <aj@suse.de>
25817
25818 [BZ #15003]
25819 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25820 value. Sync with Linux 3.7.
25821
9e6919c8
DM
258222013-01-10 David S. Miller <davem@davemloft.net>
25823
25824 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25825 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25826 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25827
1c9f1a02
RM
258282013-01-10 Roland McGrath <roland@hack.frob.com>
25829
25830 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25831 never set.
25832 * configure: Regenerated.
25833
b9de2dde
DM
258342013-01-10 David S. Miller <davem@davemloft.net>
25835
25836 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25837 sparc V9 rather than using V8 code.
25838 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25839 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25840
e7f68ef4
RM
258412013-01-10 Roland McGrath <roland@hack.frob.com>
25842
25843 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25844 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25845 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25846 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25847 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25848 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25849 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25850 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25851 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25852 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25853 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25854 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25855 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25856 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25857 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25858 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25859 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25860 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25861 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25862 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25863 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25864 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25865 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25866 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25867 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25868 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25869 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25870
5a47cc9c
DM
258712013-01-10 David S. Miller <davem@davemloft.net>
25872
25873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25874
4cf8f209
L
258752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25876
25877 * posix/Makefile (tests-static): New variable.
25878 (tests): Add $(tests-static).
25879 (tst-exec-static-ARGS): New variable.
25880 (tst-spawn-static-ARGS): Likewise.
25881 * posix/tst-exec-static.c: New file.
25882 * posix/tst-spawn-static.c: Likewise.
25883 * posix/tst-exec.c: Support run directly.
25884 * posix/tst-spawn.c: Likewise.
25885
fed0faa1
JM
258862013-01-10 Joseph Myers <joseph@codesourcery.com>
25887
828beb13
JM
25888 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25889 long.
25890 * math/bits/mathcalls.h (llrint): Likewise.
25891 (llround): Likewise.
25892 * stdlib/stdlib.h (struct drand48_data): Likewise.
25893 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25894 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25895 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25896 Likewise.
25897 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25898 Likewise.
25899 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25900 (elf_greg_t): Likewise.
25901 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25902 (__jmp_buf): Likewise.
25903 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25904 definitions.
25905 (llrint): Likewise, for all definitions.
25906 (llrintl): Likewise.
25907
fed0faa1
JM
25908 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25909 Remove [__GNUC__] condition.
25910 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25911 condition to just [__USE_ISOC99].
25912 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25913
1a20cb20
L
259142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25915
25916 [BZ #14200]
25917 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25918 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25919 defined.
25920 (_POSIX_V6_ILP32_OFF32): Likewise.
25921 (_XBS5_ILP32_OFF32): Likewise.
25922 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25923 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25924
751b85f7
SP
259252013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25926
7490eb81
SP
25927 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25928
751b85f7
SP
25929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25930 doubles __mpexp_twomm1. Adjust usage.
25931 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25932 Remove.
25933
988197f0
AS
259342013-01-10 Andreas Schwab <schwab@suse.de>
25935
25936 [BZ #14964]
25937 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25938 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25939
e83d7298
DM
259402013-01-09 David S. Miller <davem@davemloft.net>
25941
034ed64b 25942 [BZ #15003]
57f41c40
AS
25943 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25944 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25945 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25946 (TCP_FASTOPEN): Define.
e83d7298
DM
25947 (tcp_repair_opt): New structure.
25948 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25949 enum values.
57f41c40
AS
25950 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25951 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25952 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25953 (tcp_cookie_transactions): New structure.
25954
d5e0b9bd
AB
259552013-01-09 Anton Blanchard <anton@samba.org>
25956
25957 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25958 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25959 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25960 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25961
0c07e3ea
JM
259622013-01-09 Joseph Myers <joseph@codesourcery.com>
25963
25964 * include/features.h (__USE_ANSI): Remove.
25965
232f7002
RM
259662013-01-09 Roland McGrath <roland@hack.frob.com>
25967
ad98e30c
RM
25968 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25969
232f7002
RM
25970 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25971
950c99ca
SP
259722013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25973
b5792741
SP
25974 * sysdeps/s390/fpu/libm-test-ulps: Update.
25975
47cf2278
SP
25976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25977
950c99ca
SP
25978 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25979 (__acr): Likewise.
25980 (__cpy): Likewise.
25981 (norm): Likewise.
25982 (denorm): Likewise.
25983 (__mp_dbl): Likewise.
25984 (__dbl_mp): Likewise.
25985 (add_magnitudes): Likewise.
25986 (sub_magnitudes): Likewise.
25987 (__add): Likewise.
25988 (__sub): Likewise.
25989 (__mul): Likewise.
25990 (__inv): Likewise.
25991 (__dvd): Likewise.
25992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25993 (__acr): Likewise.
25994 (__cpy): Likewise.
25995 (norm): Likewise.
25996 (denorm): Likewise.
25997 (__mp_dbl): Likewise.
25998 (__dbl_mp): Likewise.
25999 (add_magnitudes): Likewise.
26000 (sub_magnitudes): Likewise.
26001 (__add): Likewise.
26002 (__sub): Likewise.
26003 (__mul): Likewise.
26004 (__inv): Likewise.
26005 (__dvd): Likewise.
26006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26007 (__acr): Likewise.
26008 (__cpy): Likewise.
26009 (norm): Likewise.
26010 (denorm): Likewise.
26011 (__mp_dbl): Likewise.
26012 (__dbl_mp): Likewise.
26013 (add_magnitudes): Likewise.
26014 (sub_magnitudes): Likewise.
26015 (__add): Likewise.
26016 (__sub): Likewise.
26017 (__mul): Likewise.
26018 (__inv): Likewise.
26019 (__dvd): Likewise.
26020
eede9df9
JM
260212013-01-08 Joseph Myers <joseph@codesourcery.com>
26022
26023 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26024 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26025 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26026 2 && __USE_EXTERN_INLINES]: Likewise.
26027
c40ea3d9
AJ
260282013-01-08 Andreas Jaeger <aj@suse.de>
26029
26030 [BZ# 14985]
26031 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26032 Remove.
26033 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26034 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26035
2ccdea26
AB
260362013-01-07 Anton Blanchard <anton@samba.org>
26037
26038 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26039 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26040 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26041 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26042 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26043 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26044 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26045 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26047 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26048 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26049 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26050 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26051 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26052 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26053 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26054 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26055 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26056 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26057 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26058 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26059 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26061 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26062 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26063 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26064 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26065 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26066 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26067 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26068 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26070 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26071 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26072 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26073 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26074 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26075 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26076 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26077 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26078 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26080 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26081
a9708fed
JM
260822013-01-07 Joseph Myers <joseph@codesourcery.com>
26083
375607b9
JM
26084 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26085 (__MALLOC_PMT): Likewise.
26086 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26087 [__GNUC__], only on [_LIBC].
26088 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26089 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26090 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26091 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26092 forward declaration.
26093 (realloc_hook_ini): Likewise.
26094 (memalign_hook_ini): Likewise.
26095 (__libc_memalign): Do not use __MALLOC_PMT in variable
26096 declaration.
26097 (__libc_valloc): Likewise.
26098 (__libc_pvalloc): Likewise.
26099 (__libc_calloc): Likewise.
26100 (__posix_memalign): Likewise.
26101
a9708fed
JM
26102 [BZ #14996]
26103 * math/s_casinh.c: Include <float.h>.
26104 (__casinh): Do not do computation with squaring and square root
26105 for large arguments.
26106 * math/s_casinhf.c: Include <float.h>.
26107 (__casinhf): Do not do computation with squaring and square root
26108 for large arguments.
26109 * math/s_casinhl.c: Include <float.h>.
26110 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26111 (__casinhl): Do not do computation with squaring and square root
26112 for large arguments.
26113 * math/libm-test.inc (casin_test): Add more tests.
26114 (casinh_test): Likewise.
26115 * sysdeps/i386/fpu/libm-test-ulps: Update.
26116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26117
afec409a
L
261182013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26119
26120 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26121 (__x86_64_raw_data_cache_size): Likewise.
26122 (__x86_64_data_cache_size_half): Likewise.
26123 (__x86_64_raw_data_cache_size_half): Likewise.
26124 (__x86_64_shared_cache_size): Likewise.
26125 (__x86_64_raw_shared_cache_size): Likewise.
26126 (__x86_64_shared_cache_size_half): Likewise.
26127 (__x86_64_raw_shared_cache_size_half): Likewise.
26128 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26129 to ...
26130 (__x86_data_cache_size): This.
26131 (__x86_64_raw_data_cache_size): Renamed to ...
26132 (__x86_raw_data_cache_size): This.
26133 (__x86_64_data_cache_size_half): Renamed to ...
26134 (__x86_data_cache_size_half): This.
26135 (__x86_64_raw_data_cache_size_half): Renamed to ...
26136 (__x86_raw_data_cache_size_half): This.
26137 (__x86_64_shared_cache_size): Renamed to ...
26138 (__x86_shared_cache_size): This.
26139 (__x86_64_raw_shared_cache_size): Renamed to ...
26140 (__x86_raw_shared_cache_size): This.
26141 (__x86_64_shared_cache_size_half): Renamed to ...
26142 (__x86_shared_cache_size_half): This.
26143 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26144 (__x86_raw_shared_cache_size_half): This.
26145 * sysdeps/x86_64/memcpy.S: Updated.
26146 * sysdeps/x86_64/memset.S: Likewise.
26147 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26148 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26149 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26150
0b3986d0
DM
261512013-01-04 David S. Miller <davem@davemloft.net>
26152
26153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26154
e47686e9
AS
261552013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26156
d643bac1
AS
26157 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26158 1 to avoid redefinition warning.
26159 (__USE_GNU): Don't define.
26160 (init_signaling_nan): Protoize.
26161
e47686e9
AS
26162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26163
b18decba
SP
261642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26165
fffb407f
SP
26166 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26168 (__cpymn): Likewise.
26169 (norm): Remove commented code.
26170 (denorm): Likewise.
26171 (__mp_dbl): Likewise.
26172 (__inv): Likewise.
26173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26174 (__cpymn): Likewise.
26175 (norm): Remove commented code.
26176 (denorm): Likewise.
26177 (__mp_dbl): Likewise.
26178 (__inv): Likewise.
26179
b18decba
SP
26180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26181 mp_no value for 1.0 and 2.0.
26182 (norm): Use RADIXI instead of radixi.d.
26183 (denorm): Likewise.
26184 (__mul): Use 0.0 instead of zero.d.
26185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26186 mp_no value for 1.0 and 2.0.
26187 (norm): Use RADIXI instead of radixi.d.
26188 (denorm): Likewise.
26189 (__mul): Use 0.0 instead of zero.d.
26190
cdc1c96f
JM
261912013-01-04 Joseph Myers <joseph@codesourcery.com>
26192
26193 [BZ #14994]
26194 * math/s_casinh.c (__casinh): Reduce finite argument to first
26195 quadrant then set signs of results at the end.
26196 * math/s_casinhf.c (__casinhf): Likewise.
26197 * math/s_casinhl.c (__casinhl): Likewise.
26198 * math/libm-test.inc (casin_test): Add more tests.
26199 (casinh_test): Likewise.
26200 * sysdeps/i386/fpu/libm-test-ulps: Update.
26201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26202
302913e1
SP
262032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26204
6420d207
SP
26205 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26206
a9e48ab4
SP
26207 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26208
b7837264
SP
26209 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26210 declarations.
26211 (denorm): Likewise.
26212 (__mp_dbl): Likewise.
26213 (__inv): Likewise.
26214
f8af25d2
SP
26215 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26216 and adjust the header comment.
26217
302913e1
SP
26218 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26219 variable name from declaration.
26220
5d7dd1ca
L
262212013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26222
26223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26224 Initialize COMMON_CPUID_INDEX_7 element.
26225 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26226 (CPUID_RTM): Likewise.
26227 (HAS_RTM): Likewise.
26228 (COMMON_CPUID_INDEX_7): New enum.
26229
2f5f40f4
AS
262302013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26231
26232 [BZ #14981]
26233 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26234 size is zero, record memory as freed.
26235
4056f4a0
AJ
262362013-01-03 Andreas Jaeger <aj@suse.de>
26237
26238 * po/ia.po: Add new Interlingua translation.
26239
ab15736f 262402012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26241
26242 * locale/programs/localedef.c: Fix description of '--posix' flag.
26243
568035b7
JM
262442013-01-02 Joseph Myers <joseph@codesourcery.com>
26245
e6898b8d
JM
26246 * NEWS: Update dates in second copyright notice.
26247 * README: Update copyright dates in example.
26248 * manual/libc.texinfo: Update copyright dates.
26249 * scripts/test-installation.pl: Update copyright date in --version
26250 output.
26251
0e2f9562
JM
26252 * hurd/ctty-input.c: Fix copyright notice formatting.
26253 * hurd/ctty-output.c: Likewise.
26254 * hurd/dtable.c: Likewise.
26255 * hurd/hurd-raise.c: Likewise.
26256 * hurd/hurdprio.c: Likewise.
26257 * hurd/msgportdemux.c: Likewise.
26258 * misc/sys/file.h: Likewise.
26259 * misc/sys/ioctl.h: Likewise.
26260 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26261 * sysdeps/mach/hurd/chdir.c: Likewise.
26262 * sysdeps/mach/hurd/fchdir.c: Likewise.
26263 * sysdeps/mach/hurd/rename.c: Likewise.
26264 * sysdeps/mach/hurd/rmdir.c: Likewise.
26265 * sysdeps/mach/hurd/seekdir.c: Likewise.
26266 * sysdeps/mach/hurd/setsid.c: Likewise.
26267 * sysdeps/posix/wait3.c: Likewise.
26268
568035b7
JM
26269 * All files with FSF copyright notices: Update copyright dates
26270 using scripts/update-copyrights.
26271 * intl/plural.c: Regenerated.
26272 * locale/programs/charmap-kw.h: Likewise.
26273 * locale/programs/locfile-kw.h: Likewise.
26274
da08f647
SP
262752013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26276
0f5477af
SP
26277 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26278 four values.
26279
44e0d4c2
SP
26280 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26281 calculation loop and add branch prediction.
26282
4d55b4e5
SP
26283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26284 check access beyond bounds of m1np.
26285
da08f647
SP
26286 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26287 MPTWO.
26288 (__inv): Remove local variable MPTWO to use the global
26289 constant.
26290 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26291 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26292 variable MPTWO.
26293 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26294 MP3HALFS static const.
26295
8e051029
DM
262962013-01-01 David S. Miller <davem@davemloft.net>
26297
26298 * po/ca.po: Update from translation team.
26299
f4cf5f2d
JM
263002013-01-01 Joseph Myers <joseph@codesourcery.com>
26301
26302 * scripts/update-copyrights: New file.
26303 * Makeconfig: Reformat copyright notice.
26304 * ctype/ctype.h: Likewise.
26305 * debug/swprintf_chk.c: Likewise.
26306 * elf/dl-cache.c: Likewise.
26307 * elf/dl-debug.c: Likewise.
26308 * elf/dl-object.c: Likewise.
26309 * grp/initgroups.c: Likewise.
26310 * hurd/Makefile: Likewise.
26311 * hurd/hurd/signal.h: Likewise.
26312 * hurd/hurdfault.c: Likewise.
26313 * hurd/hurdioctl.c: Likewise.
26314 * hurd/hurdlookup.c: Likewise.
26315 * hurd/intr-msg.c: Likewise.
26316 * iconv/gconv_open.c: Likewise.
26317 * libio/swprintf.c: Likewise.
26318 * locale/lc-ctype.c: Likewise.
26319 * locale/nl_langinfo.c: Likewise.
26320 * mach/Machrules: Likewise.
26321 * mach/Makefile: Likewise.
26322 * malloc/obstack.h: Likewise.
26323 * manual/Makefile: Likewise.
26324 * manual/tsort.awk: Likewise.
26325 * misc/bits/stab.def: Likewise.
26326 * nis/nis_print_group_entry.c: Likewise.
26327 * nis/nis_table.c: Likewise.
26328 * nis/nss_compat/compat-pwd.c: Likewise.
26329 * nis/nss_compat/compat-spwd.c: Likewise.
26330 * po/Makefile: Likewise.
26331 * posix/fnmatch.c: Likewise.
26332 * posix/regex.h: Likewise.
26333 * resolv/Makefile: Likewise.
26334 * resolv/nss_dns/dns-network.c: Likewise.
26335 * resolv/res_hconf.c: Likewise.
26336 * scripts/gen-sorted.awk: Likewise.
26337 * soft-fp/soft-fp.h: Likewise.
26338 * stdio-common/printf.h: Likewise.
26339 * stdlib/monetary.h: Likewise.
26340 * stdlib/random.c: Likewise.
26341 * stdlib/random_r.c: Likewise.
26342 * sysdeps/generic/Makefile: Likewise.
26343 * sysdeps/gnu/Makefile: Likewise.
26344 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26352 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26355 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26356 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26357 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26358 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26359 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26360 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26361 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26362 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26364 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26365 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26366 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26367 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26371 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26372 * sysdeps/mach/hurd/errnos.awk: Likewise.
26373 * sysdeps/mach/hurd/fork.c: Likewise.
26374 * sysdeps/mach/hurd/getcwd.c: Likewise.
26375 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26376 * sysdeps/mach/hurd/mmap.c: Likewise.
26377 * sysdeps/mach/hurd/utimes.c: Likewise.
26378 * sysdeps/mach/hurd/xmknod.c: Likewise.
26379 * sysdeps/posix/profil.c: Likewise.
26380 * sysdeps/posix/readdir_r.c: Likewise.
26381 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26382 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26383 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26384 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26386 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26387 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26388 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26390 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26391 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26392 * sysdeps/pthread/lio_listio.c: Likewise.
26393 * sysdeps/sparc/dl-procinfo.h: Likewise.
26394 * sysdeps/unix/i386/sysdep.S: Likewise.
26395 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26396 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26397 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26398 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26400 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26401 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26402 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26403 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26404 * sysdeps/wordsize-32/divdi3.c: Likewise.
26405 * time/sys/time.h: Likewise.
26406 * wcsmbs/Makefile: Likewise.
26407
0549fbba
DM
264082013-01-01 David S. Miller <davem@davemloft.net>
26409
a141f1a7
DM
26410 * po/fr.po: Update from translation team.
26411
0549fbba
DM
26412 * catgets/gencat.c: Update copyright year.
26413 * csu/version.c: Likewise.
26414 * debug/catchsegv.sh: Likewise.
26415 * debug/pcprofiledump.c: Likewise.
26416 * debug/xtrace.sh: Likewise.
26417 * elf/ldconfig.c: Likewise.
26418 * elf/ldd.bash.in: Likewise.
26419 * elf/pldd.c: Likewise.
26420 * elf/sotruss.ksh: Likewise.
26421 * elf/sprof.c: Likewise.
26422 * iconv/iconv_prog.c: Likewise.
26423 * iconv/iconvconfig.c: Likewise.
26424 * locale/programs/locale.c: Likewise.
26425 * locale/programs/localedef.c: Likewise.
26426 * login/programs/pt_chown.c: Likewise.
26427 * malloc/memusage.sh: Likewise.
26428 * malloc/memusagestat.c: Likewise.
26429 * malloc/mtrace.pl: Likewise.
26430 * nscd/nscd.c: Likewise.
26431 * nss/getent.c: Likewise.
26432 * nss/makedb.c: Likewise.
26433 * posix/getconf.c: Likewise.
26434
18ea052c
SP
264352012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26436
26437 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26438 numbers.
26439
9c89fca6
MF
264402012-12-30 Mike Frysinger <vapier@gentoo.org>
26441
26442 * math/bits/mathcalls.h (modf): Use __nonnull.
26443
085ec079
SP
264442012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26445
26446 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26447 (split): Use macro CN instead of the bare value.
26448 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26449 could be used.
26450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26451 instead of the bare value.
26452 (power1): Likewise.
26453
6d9f97e1
SP
264542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26455
d63f73be
SP
26456 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26457 __ATAN_TWOM.
26458 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26459
6d9f97e1
SP
26460 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26461 their values.
26462 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26463 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26464 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26465 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26466
4c4febf5
AJ
264672012-12-28 Andreas Jaeger <aj@suse.de>
26468
af5843ef
AJ
26469 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26470 values are from Linux 3.7.
26471
4c4febf5
AJ
26472 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26473 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26474
99136f82
SP
264752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26476
2f216c3c 26477 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26478 TRUE case.
26479
99136f82
SP
26480 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26481 (norm): Likewise.
26482 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26483 variables with preprocessor constants.
26484 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26485 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26486 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26487
7fffbdff
BH
264882012-12-27 Bruno Haible <bruno@clisp.org>
26489
26490 [BZ #14317]
26491 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26492 only if needed.
26493
b76eb5f0
SP
264942012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26495
31a7fe5c
SP
26496 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26497 and use variable directly.
26498 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26499
b76eb5f0
SP
26500 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26501 MPONE.
26502 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26503 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26504 variable MPONE.
26505 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26507 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26508 include directive. Remove local variable MPONE.
26509 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26510 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26511 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26512
2c8bfe7d
DM
265132012-12-25 David S. Miller <davem@davemloft.net>
26514
26515 * version.h (RELEASE): Set to "development".
26516 (VERSION): Set to "2.17.90".
26517 * NEWS: Add 2.18 section.
26518
147d03b0
DM
265192012-12-21 David S. Miller <davem@davemloft.net>
26520
26521 * po/hr.po: Update from translation team.
26522
a8ebb2b9
AK
265232012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26524
26525 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26526
95b4f1b6
SE
265272012-12-19 Steve Ellcey <sellcey@mips.com>
26528
b2d94007 26529 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26530
cedb2a90
MS
265312012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26532
26533 * manual/contrib.texi (Contributors): Spelling correction.
26534
bbf527d6
DM
265352012-12-15 David S. Miller <davem@davemloft.net>
26536
26537 * po/ru.po: Update from translation team.
26538
bc38c906
DM
265392012-12-13 David S. Miller <davem@davemloft.net>
26540
85429b1a
DM
26541 * NEWS: Mention IFUNC testsuite enhancements.
26542
d283e353
DM
26543 * po/pl.po: Update from translation team.
26544 * po/bg.po: Likewise.
26545
bc38c906
DM
26546 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26547 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26548
a181b0d7
DM
265492012-12-11 David S. Miller <davem@davemloft.net>
26550
4641d57e
DM
26551 * po/sv.po: Update from translation team.
26552
f7bc6495
DM
26553 * po/vi.po: Update from translation team.
26554
6fc9048f
DM
26555 * po/cs.po: Update from translation team.
26556
a181b0d7
DM
26557 * po/de.po: Update from translation team.
26558 * po/eo.po: Likewise.
26559 * po/nl.po: Likewise.
26560
f70bfe80
SP
265612012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26562
3c8b4190
SP
26563 [BZ #14246]
26564 * manual/argp.texi (Argp Helper Functions): Move node to follow
26565 Argp Parsing State.
26566
f70bfe80
SP
26567 [BZ #14872]
26568 * manual/conf.texi (Limits on File System Capacity): Mention if
26569 terminating null is included in the max size.
26570
188f0adf
AJ
265712012-12-10 Andreas Jaeger <aj@suse.de>
26572
26573 * po/cs.po: Update from translation team.
26574
56e7d3ad
SP
265752012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26576
26577 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26578 void pointer and cast to uintptr_t.
26579 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26580 path.
26581 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26582 * sysdeps/s390/s390-64/memset.S: Likewise.
26583
76f2d2ea 265842012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26585
26586 [BZ #14833]
26587 * menual/message.texi (Message Translation): Fix typos.
26588 (Helper programs for gettext): Likewise.
26589
67cbf9a2
AS
265902012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26591
26592 [BZ #14898]
26593 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26594 Change to -1.
26595
682d0e9a
DM
265962012-12-07 David S. Miller <davem@davemloft.net>
26597
26598 * po/libc.pot: Update.
26599
573cd484
RH
266002012-12-07 Richard Henderson <rth@redhat.com>
26601
7e9da188 26602 [BZ #10114]
573cd484
RH
26603 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26604 normal/normal case to before the switch.
26605 (_FP_DIV): Likewise.
26606
e933a943
MF
266072012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26608 Mike Frysinger <vapier@gentoo.org>
26609
26610 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26611 check for __NR_fadvise64_64.
26612
82123268
CM
266132012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26614
26615 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26616 0, not just to plain "0" as a statement.
26617 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26618 with cw.
26619
d9814526
JM
266202012-12-06 Joseph Myers <joseph@codesourcery.com>
26621
26622 * NEWS: Use sourceware.org in Bugzilla URL.
26623
7728c574
SP
266242012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26625
f16946dd
SP
26626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26627 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26628
5704bbcb
SP
26629 * stdio-common/tst-put-error.c (do_test): Add newline to the
26630 padded test to ensure flush.
26631
17aa0516
JL
266322012-12-05 Jeff Law <law@redhat.com>
26633
26634 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26635
363313b5
JM
266362012-12-05 Joseph Myers <joseph@codesourcery.com>
26637
effbd42a
JM
26638 * README: Don't refer to ports add-on as distributed separately.
26639 Mention AArch64 in list of systems supported in the ports add-on.
26640
87600365
JM
26641 * LICENSES: Add more non-FSF copyright and license notices.
26642
a0d7066a
JM
26643 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26644 ((unused)).
26645
66ca5a5b
JM
26646 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26647
363313b5
JM
26648 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26649 10000 as width of padded output.
26650
b37984ad
JM
266512012-12-04 Joseph Myers <joseph@codesourcery.com>
26652
9003570a
JM
26653 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26654
b37984ad
JM
26655 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26656 variable LX with __attribute__ ((unused)).
26657 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26658 Likewise.
26659 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26661 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26662 with __attribute__ ((unused)).
26663
c8df52ec
DM
266642012-12-04 David S. Miller <davem@abraco.davemloft.net>
26665
26666 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26667
b3b099af
JM
266682012-12-04 Joseph Myers <joseph@codesourcery.com>
26669
c33aa6e3
JM
26670 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26671 (CFLAGS-nldbl-acos.c): New variable.
26672 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26673 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26674 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26675 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26676 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26677 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26678 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26679 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26680 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26681 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26682 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26683 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26684 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26685 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26686 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26687 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26688 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26689 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26690 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26691 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26692 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26693 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26694 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26695 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26696 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26697 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26698 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26699 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26700 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26701 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26702 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26703 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26704 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26705 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26706 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26707 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26708 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26709 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26710 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26711 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26712 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26713 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26714 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26715 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26716 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26717 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26718 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26719 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26720 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26721 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26722 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26723 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26724 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26725 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26726 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26727 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26728 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26729 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26730 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26731 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26732 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26733 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26734 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26735 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26736 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26737 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26738 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26739 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26740 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26741 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26742 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26743 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26744 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26745 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26746 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26747 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26748 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26749 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26750 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26751 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26752 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26753 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26754 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26755 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26756 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26757 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26758 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26759 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26760 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26761 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26762 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26763 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26764 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26765 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26766 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26767 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26768 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26769
20f0018d
JM
26770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26771 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26772
b3b099af
JM
26773 [BZ #14914]
26774 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26775 whole low double instead of just low 47 bits when splitting values
26776 into two parts.
26777
029264d1
AM
267782012-12-03 Allan McRae <allan@archlinux.org>
26779
26780 * manual/stdio.texi (Predefined Printf Handlers): Remove
26781 @hsep and @vsep usage.
26782
c9d6789e
MF
267832012-12-03 Mike Frysinger <vapier@gentoo.org>
26784
26785 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26786 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26787
4b7634a5
JL
267882012-12-03 Jeff Law <law@redhat.com>
26789
26790 * time/sys/time.h (settimeofday): Do not mark TV argument
26791 as __nonnull.
26792
eb6cbd24
MF
267932012-12-01 Mike Frysinger <vapier@gentoo.org>
26794
26795 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26796 when currently writing and seek to current position when not.
26797 * libio/Makefile (tests): Remove bug-fclose1.
26798 * libio/bug-fclose1.c: Delete.
26799
f638872a
JM
268002012-12-01 Joseph Myers <joseph@codesourcery.com>
26801
26802 * manual/arith.texi (feenableexcept): Fix typo.
26803 (fedisableexcept): Likewise.
26804
48085d14
RM
268052012-11-30 Roland McGrath <roland@hack.frob.com>
26806
26807 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26808 second, differently-typed declaration, rather than a cast.
26809
1a538b9f
SP
268102012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26811
26812 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26813 * include/rpc/svc.h: ... here.
26814
d07f2ff1 268152012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26816
26817 [BZ #13013]
26818 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26819 depending n and resplen2 to catch cases where answer
26820 equals answerp2.
26821
c93ec1f0
CD
268222012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26823
26824 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26825 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26826
37db69de
MF
268272012-11-29 Mike Frysinger <vapier@gentoo.org>
26828
26829 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26830
e10c4e4f
RM
268312012-11-29 Roland McGrath <roland@hack.frob.com>
26832
26833 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26834
2af1b328
JL
268352012-11-28 Jeff Law <law@redhat.com>
26836
26837 [BZ #13761]
26838 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26839 dataset_temporary. Track alloca usage into alloca_used.
26840 If dataset is large allocate and release it via malloc/free.
26841
111db5b1
FW
268422012-06-04 Florian Weimer <fweimer@redhat.com>
26843
f06cc227 26844 [BZ #14197]
111db5b1
FW
26845 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26846
dd694abd
DM
268472012-11-28 David S. Miller <davem@davemloft.net>
26848
26849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26850
9984dd01
JM
268512012-11-28 Joseph Myers <joseph@codesourcery.com>
26852
26853 [BZ #14803]
26854 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26855 of pi/2 rounded to nearest to 64 bits.
26856 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26857 nearest to 64 bits.
26858 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26859 bits.
26860
14bc93a9
JL
268612012-11-28 Jeff Law <law@redhat.com>
26862 Martin Osvald <mosvald@redhat.com>
26863
26864 [BZ #14889]
26865 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26866 * sunrpc/svc.c: Include time.h.
26867 (__svc_accept_failed): New function.
26868 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26869 any reason other than EINTR, call __svc_accept_failed.
26870 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26871 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26872
e3c6aa3a
AS
268732012-11-28 Andreas Schwab <schwab@suse.de>
26874
26875 * scripts/abilist.awk: Also handle indirect functions in .opd
26876 section.
26877
1bead169
JM
268782012-11-28 Joseph Myers <joseph@codesourcery.com>
26879
26880 [BZ #13881]
26881 * sysdeps/x86/fpu/powl_helper.c: New file.
26882 * sysdeps/x86/fpu/Makefile: Likewise.
26883 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26884 (p3): New object.
26885 (__ieee754_powl): Use __powl_helper for finite arguments except
26886 integer exponents below 8.
26887 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26888 (p3): New object.
26889 (__ieee754_powl): Use __powl_helper for finite arguments except
26890 integer exponents below 8.
26891 * math/libm-test.inc (pow_test): Add more tests and enable some
26892 previously disabled tests.
26893 * sysdeps/i386/fpu/libm-test-ulps: Update.
26894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26895
0817d63d
SP
268962012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26897 Carlos O'Donell <carlos_odonell@mentor.com>
26898
26899 * nss/makedb.c (is_prime): Assert that input is odd and greater
26900 than 4. Note that fact in a comment too.
26901 (next_prime): Add 4 to input.
26902
de2fd463
SP
269032012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26904
26905 [BZ #11741]
26906 * libio/Makefile (tests): Add test case tst-fwrite-error.
26907 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26908 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26909 * libio/tst-fwrite-error.c: New test case.
26910
c515fb51
L
269112012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26912
26913 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26914 before casting to void *.
26915 * include/libc-internal.h (__pointer_type): New macro.
26916 (__integer_if_pointer_type_sub): Likewise.
26917 (__integer_if_pointer_type): Likewise.
26918 (cast_to_integer): Likewise.
26919 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26920 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26921 before casting to atomic64_t.
26922 (atomic_exchange_acq): Likewise.
26923 (__arch_exchange_and_add_body): Likewise.
26924 (__arch_add_body): Likewise.
26925 (atomic_add_negative): Likewise.
26926 (atomic_add_zero): Likewise.
26927
4cf77aa9
JM
269282012-11-26 Joseph Myers <joseph@codesourcery.com>
26929
26930 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26931 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26932 (add_fdes): Likewise.
26933 (linear_search_fdes): Likewise.
26934 (binary_search_unencoded_fdes): Likewise.
26935
d260b3b4
AS
269362012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26937
26938 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26939
67060746
AC
269402012-11-24 Adam Conrad <adconrad@0c3.net>
26941
26942 * configure.in: Autodetect C++ header directories.
26943 * configure: Regenerated.
26944
800938a1
MF
269452012-11-23 Mike Frysinger <vapier@gentoo.org>
26946
26947 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26948
4e6e34e6
AS
269492012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26950
26951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26952
7c7feb47
JM
269532012-11-22 Joseph Myers <joseph@codesourcery.com>
26954
7184dcdf
JM
26955 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26956 LDBL_MANT_DIG == 106]: Disable some tests.
26957 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26958 Likewise.
26959 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26960 Likewise.
26961
0a42601f
JM
26962 [BZ #14871]
26963 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26964 input for small inputs. Return +/- pi/2 for large inputs.
26965 * math/libm-test.inc (atan_test): Add more tests.
26966
79c9b9fe
JM
26967 * sysdeps/generic/unwind-dw2-fde-glibc.c
26968 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26969 __attribute__ ((unused)).
26970
c60d3bf2
JM
26971 [BZ #14645]
26972 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26973 x * y if x and y are nonzero and z is zero.
26974
ef1e0867
JM
26975 [BZ #14811]
26976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26977 nonzero exponents with absolute value below 0x1p-117 to +/-
26978 0x1p-117.
26979
1468ded3
JM
26980 [BZ #14869]
26981 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26982 up arguments below 2**-450, not just those below 2**-500.
26983 * math/libm-test.inc (hypot_test): Add another test.
26984
8e27e3cc
JM
26985 [BZ #14868]
26986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26987 Return a+b for ratio over 2**120, not 2**60.
26988 * math/libm-test.inc (hypot_test): Add another test.
26989
c9c0279b
JM
26990 * math/libm-test.inc (clog_test): Use
26991 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26992 (clog10_test): Likewise.
26993
7c7feb47
JM
26994 [BZ #6778]
26995 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26996
fff1530e
AS
269972012-11-22 Andreas Schwab <schwab@suse.de>
26998
26999 * sysdeps/i386/fpu/libm-test-ulps: Update.
27000
94558d30
PT
270012012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27002
27003 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27004 printf output with newline.
27005
7e1be741
L
270062012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27007
6bfea974
L
27008 [BZ #14865]
27009 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27010 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27011 -z nodlopen, -z initfirst and -z execstack support.
27012 * configure: Regenerated.
27013
7e1be741
L
27014 * elf/elf.h (DF_1_NODIRECT): New macro.
27015 (DF_1_IGNMULDEF): Likewise.
27016 (DF_1_NOKSYMS): Likewise.
27017 (DF_1_NOHDR): Likewise.
27018 (DF_1_EDITED): Likewise.
27019 (DF_1_NORELOC): Likewise.
27020 (DF_1_SYMINTPOSE): Likewise.
27021 (DF_1_GLOBAUDIT): Likewise.
27022 (DF_1_SINGLETON): Likewise.
27023 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27024 DT_1_SUPPORTED_MASK bits.
27025 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27026
105ce2ce
CD
270272012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27028
27029 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27030
123be9de
TS
270312012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27032
d072f3f7
TS
27033 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27034 macro.
27035
123be9de
TS
27036 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27037 (sendmmsg): Move declarations...
27038 * socket/sys/socket.h: ... here.
27039 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27040 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27041 include it from...
27042 * socket/recvmmsg.c: ... this new file.
27043 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27044 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27045 definition of __sendmmsg hidden.
27046 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27047 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27048 Move ENOSYS stub into and include it from...
27049 * socket/sendmmsg.c: ... this new file.
27050 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27051 (sysdep_routines): Move recvmmsg and sendmmsg...
27052 * socket/Makefile (routines): ... here.
27053 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27054 (GLIBC_PRIVATE): Add __sendmmsg.
27055 * include/sys/socket.h (__sendmmsg): Add declarations.
27056 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27057 sendmmsg.
27058
cf9a5d18
JM
270592012-11-20 Joseph Myers <joseph@codesourcery.com>
27060
27061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27062 variable I1 with __attribute__ ((unused)).
27063 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27064
ecd4caf9
JM
270652012-11-19 Joseph Myers <joseph@codesourcery.com>
27066
be14d48f
JM
27067 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27068 DUMMY variables with __attribute__ ((unused)).
27069
ecd4caf9
JM
27070 * bits/byteswap.h: Include <bits/types.h>.
27071 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27072
986cab95
PT
270732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27074
27075 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27076 string_t. Do not manually set errno.
27077 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27078 length with __strnlen. Make sure to both set errno and return it on
27079 failure.
27080
6d33cc9d
DM
270812012-11-19 David S. Miller <davem@davemloft.net>
27082
27083 With help from Joseph Myers.
27084 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27085 very large arguments properly.
27086 * math/libm-test.inc (atan_test): New tests.
27087 (atan2_test): New tests.
27088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27090
ee663277
JM
270912012-11-19 Joseph Myers <joseph@codesourcery.com>
27092
877f2d8e
JM
27093 [BZ #14856]
27094 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27095 Define to 3.
27096
116fc08a
JM
27097 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27098 [POSIX] (EADDRNOTAVAIL): Likewise.
27099 [POSIX] (EAFNOSUPPORT): Likewise.
27100 [POSIX] (EALREADY): Likewise.
27101 [POSIX] (ECONNABORTED): Likewise.
27102 [POSIX] (ECONNREFUSED): Likewise.
27103 [POSIX] (ECONNRESET): Likewise.
27104 [POSIX] (EDESTADDRREQ): Likewise.
27105 [POSIX] (EDQUOT): Likewise.
27106 [POSIX] (EHOSTUNREACH): Likewise.
27107 [POSIX] (EIDRM): Likewise.
27108 [POSIX] (EISCONN): Likewise.
27109 [POSIX] (ELOOP): Likewise.
27110 [POSIX] (EMULTIHOP): Likewise.
27111 [POSIX] (ENETDOWN): Likewise.
27112 [POSIX] (ENETUNREACH): Likewise.
27113 [POSIX] (ENOBUFS): Likewise.
27114 [POSIX] (ENODATA): Likewise.
27115 [POSIX] (ENOLINK): Likewise.
27116 [POSIX] (ENOMSG): Likewise.
27117 [POSIX] (ENOPROTOOPT): Likewise.
27118 [POSIX] (ENOSR): Likewise.
27119 [POSIX] (ENOSTR): Likewise.
27120 [POSIX] (ENOTCONN): Likewise.
27121 [POSIX] (ENOTSOCK): Likewise.
27122 [POSIX] (EOPNOTSUPP): Likewise.
27123 [POSIX] (EOVERFLOW): Likewise.
27124 [POSIX] (EPROTO): Likewise.
27125 [POSIX] (EPROTONOSUPPORT): Likewise.
27126 [POSIX] (EPROTOTYPE): Likewise.
27127 [POSIX] (ESTALE): Likewise.
27128 [POSIX] (ETIME): Likewise.
27129 [POSIX] (ETXTBSY): Likewise.
27130 [POSIX] (EWOULDBLOCK): Likewise.
27131 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27132 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27133 [POSIX] (SEEK_CUR): Likewise.
27134 [POSIX] (SEEK_END): Likewise.
27135 [POSIX || UNIX98] (mode_t): Do not require.
27136 [POSIX] (off_t): Likewise.
27137 [POSIX] (pid_t): Likewise.
27138 [POSIX] (sys/stat.h): Do not allow header.
27139 [POSIX] (unistd.h): Likewise.
27140 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27141 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27142 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27143 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27144 require.
27145 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27146 sigevent): Specify elements.
27147 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27148 entry.
27149 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27150 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27151
a483863f
JM
27152 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27153 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27154 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27155 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27156 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27157 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27158 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27159 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27160 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27161 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27162 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27163 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27164 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27165 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27166 Likewise.
27167 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27168 Likewise.
27169 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27170 Likewise.
27171 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27172 Likewise.
27173 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27174 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27175 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27176 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27177 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27178 Specify lower bound on value.
27179 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27180 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27181 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27182 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27183 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27184 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27185 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27186 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27187 value.
27188 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27189 as optional.
27190 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27191 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27192 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27193 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27194 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27195 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27196 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27197 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27198 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27199 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27200 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27201 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27202 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27203 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27204 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27205 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27206 entry.
27207 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27208 optional.
27209 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27210 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27211 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27212 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27213 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27214 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27215 Likewise.
27216 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27217 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27218 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27219 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27220 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27221 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27222 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27223 as optional.
27224 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27227 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27228 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27229 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27230 specify as optional.
27231 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27232 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27233 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27234 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27235 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27236 [XPG3] (NL_LANGMAX): Likewise.
27237 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27238 [POSIX || XPG3] (NL_NMAX): Likewise.
27239 [POSIX || XPG3] (NL_SETMAX): Likewise.
27240 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27241 [XPG3] (NZERO): Likewise.
27242 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27243 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27244 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27245 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27246 (REG_ERANGE): Expect.
27247 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27248 optional-constant.
27249 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27250 Use (void) in prototype.
27251 [POSIX] (*_t): Allow.
27252 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27253 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27254 (WRDE_BADVAL): Expect.
27255
5ba924e3
JM
27256 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27257 expect.
27258 [XPG3 || XPG4] (O_RSYNC): Likewise.
27259 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27260 Likewise.
27261 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27262 [XPG3 || XPG4] (sigqueue): Likewise.
27263 [XPG3 || XPG4] (sigtimedwait): Likewise.
27264 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27265 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27266 [XPG3 || XPG4] (vsnprintf): Likewise.
27267 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27268 Likewise.
27269 [XPG3 || XPG4] (blksize_t): Likewise.
27270 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27271 Likewise.
27272 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27273 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27274 [XPG3 || XPG4] (struct itimerspec): Likewise.
27275 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27276 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27277 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27278 [XPG3 || XPG4] (clockid_t): Likewise.
27279 [XPG3 || XPG4] (timer_t): Likewise.
27280 [XPG3 || XPG4] (clock_getres): Likewise.
27281 [XPG3 || XPG4] (clock_gettime): Likewise.
27282 [XPG3 || XPG4] (clock_settime): Likewise.
27283 [XPG3 || XPG4] (nanosleep): Likewise.
27284 [XPG3 || XPG4] (timer_create): Likewise.
27285 [XPG3 || XPG4] (timer_delete): Likewise.
27286 [XPG3 || XPG4] (timer_gettime): Likewise.
27287 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27288 [XPG3 || XPG4] (timer_settime): Likewise.
27289 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27290 [XPG3 || XPG4] (getlogin_r): Likewise.
27291 [XPG3 || XPG4] (pread): Likewise.
27292 [XPG3 || XPG4] (pthread_atfork): Likewise.
27293 [XPG3 || XPG4] (pwrite): Likewise.
27294
ee663277
JM
27295 [BZ #14835]
27296 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27297 <bits/siginfo.h>.
27298
942caa16
PT
272992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27300
e19af380
PT
27301 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27302 finalizing MALLSTREAM.
27303
942caa16
PT
27304 * sysdeps/mach/hurd/syncfs.c: New file.
27305
cfde9b46
SP
273062012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27307
27308 [BZ #14719]
27309 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27310 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27311 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27312 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27313 (_nss_dns_gethostbyname4_r): Likewise.
27314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27315 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27316
f6da27e5
PH
273172012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27318
27319 [BZ #13763]
27320 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27321
6665d4a2
SM
273222012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27323
1f51ee92
SM
27324 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27325 * elf/cache.c (print_entry): Print ",AArch64" for
27326 FLAG_AARCH64_LIB64
27327
6665d4a2
SM
27328 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27329 * elf/cache.c (print_entry): Print ",hard-float" for
27330 FLAG_ARM_LIBHF.
27331
05b227bd
DM
273322012-11-18 David S. Miller <davem@davemloft.net>
27333
27334 With help from Joseph Myers.
27335 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27336 cutoff to 2**-13.
27337 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27338 cutoff to 2**-25.
27339 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27340 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27341 small.
27342 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27343 * math/libm-test.inc (y0_test): New tests.
27344 (y1_test): New tests.
27345 * sysdeps/i386/fpu/libm-test-ulps: Update.
27346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27348
786b0b67
AS
273492012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27350
27351 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27352 64-bit targets.
27353 * configure: Regenerated.
27354
8e18b86d
DM
273552012-11-17 David S. Miller <davem@davemloft.net>
27356
27357 [BZ #14811]
27358 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27359 nonzero exponents with absolute value below 0x1p-128 to +/-
27360 0x1p-128.
27361
531f1ae0
JM
273622012-11-17 Joseph Myers <joseph@codesourcery.com>
27363
12df29e2
JM
27364 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27365
150dc1a0
JM
27366 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27367
531f1ae0
JM
27368 * posix/getconf-speclist.c: New file.
27369 * posix/posix-envs.def: Likewise.
27370 * posix/confstr.c (START_ENV_GROUP): New macro.
27371 (END_ENV_GROUP): Likewise.
27372 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27373 (KNOWN_PRESENT_ENV_STRING): Likewise.
27374 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27375 (UNKNOWN_ENVIRONMENT): Likewise.
27376 (confstr): Include posix-envs.def instead of handling
27377 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27378 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27379 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27380 (END_ENV_GROUP): Likewise.
27381 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27382 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27383 (UNKNOWN_ENVIRONMENT): Likewise.
27384 (__sysconf): Include posix-envs.def instead of handling associated
27385 cases directly here.
27386 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27387 preprocessing getconf-speclist.c rather than running getconf or
27388 generating empty file.
27389
a93f9cbc
PT
273902012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27391
27392 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27393
d64d9f87
AL
273942012-11-16 Andrej Lajovic <natrij@gmail.com>
27395
27396 [BZ #14672]
27397 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27398
447885eb
DM
273992012-11-16 David S. Miller <davem@davemloft.net>
27400
27401 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27402 smaller than LDBL_EPSILON/2.0L, just return xm1.
27403
bcbf9830
L
274042012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27405
27406 * elf/tst-array1.c (init): Set constructor priority to 1000.
27407 (fini): Set destructor priority to 1000.
27408 * elf/tst-array2dep.c: Likewise.
27409
2b766585
SP
274102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27411
27412 [BZ #11741]
27413 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27414 (_IO_new_file_xsputn): Also return EOF if none of the input
27415 data was written when overflow failed.
27416 * libio/iopadn.c (_IO_padn): Likewise.
27417 * libio/iowpadn.c (_IO_wpadn): Likewise.
27418 * stdio-common/tst-put-error.c: Add copyright notice.
27419 (do_test): Add case for printing padded string.
27420 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27421 _IO_padn returned error.
27422 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27423 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27424 return EOF.
27425
b1848fde
SP
274262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27427
27428 * libio/libioP.h: Add comment note that the references to C++
27429 bits are now obsolete.
27430
2fd89785
MS
274312012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27432
27433 * math/libm-test.inc (check_complex): Use asprintf.
27434
e3ea5409
JM
274352012-11-14 Joseph Myers <joseph@codesourcery.com>
27436
27437 * debug/pcprofiledump.c (print_version): Update copyright year.
27438 * malloc/memusagestat.c (print_version): Likewise.
27439
2e64d265
L
274402012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27441
27442 [BZ #14831]
27443 * elf/Makefile (tests): Add tst-audit8.
27444 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27445 ($(objpfx)tst-audit8.out): New target.
27446 (tst-audit8-ENV): New variable.
27447 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27448 audit if l_reloc_result is NULL.
27449 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27450 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27451 * elf/tst-audit8.c: New file.
27452
c485e4d2
MS
274532012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27454
27455 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27456 * misc/Makefile (CFLAGS-select.c): Define.
27457 * posix/Makefile (CFLAGS-pause.c): Define.
27458
3a0d900a
DM
274592012-11-13 David S. Miller <davem@davemloft.net>
27460
27461 * crypt/Makefile: Move test targets after toplevel Rules
27462 inclusion. Grab any necessary sysdep routines when linking.
27463 * crypt/md5.c (md5_process_block): Remove define, we will always
27464 name it __md5_process_block.
27465 (md5_finish_ctx): Update md5_process_block call.
27466 (md5_stream): Likewise.
27467 (md5_process_bytes): Likewise.
27468 (md5_process_block): Rename to __md5_process_block and move to ...
27469 * crypt/md5-block.c: ... here.
27470 * crypt/sha256.c (sha256_process_block): Move to ...
27471 * crypt/sha256-block.c: ... here.
27472 * crypt/sha512.c (sha512_process_block): Move to ...
27473 * crypt/sha512-block.c: ... here.
27474 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27475 path.
27476 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27477 * sysdeps/sparc/sparc64/multiarch/Makefile
27478 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27479 crypt subdir.
27480 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27481 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27482 multiarch changes.
27483 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27484 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27485 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27486 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27487 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27488 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27489 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27490 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27491 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27492 file.
27493 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27494 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27495 file.
27496 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27497
8ca89318
JM
274982012-11-13 Joseph Myers <joseph@codesourcery.com>
27499
e27d476a
JM
27500 * timezone/tzselect.ksh: Update from tzcode git revision
27501 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27502 * timezone/zdump.c: Likewise.
27503 * timezone/zic.c: Likewise.
27504 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27505 in TZVERSION setting, not $(PKGVERSION).
27506 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27507 REPORT_BUGS_TO settings.
27508
8ca89318
JM
27509 [BZ #14838]
27510 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27511 macro.
27512
47594329
MS
275132012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27514
27515 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27516 detection to immediately after _FP_ROUND().
27517 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27518 bits are 0.
27519
640ac3f1
DM
275202012-11-11 David S. Miller <davem@davemloft.net>
27521
27522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27523 inttypes.h
27524 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27525 __close rather than their public counterparts.
27526
3d2577bb
JM
275272012-11-10 Joseph Myers <joseph@codesourcery.com>
27528
27529 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27530 file.
27531 [UNIX98] (sem_timedwait): Do not expect.
27532 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27533 [XPG4 || UNIX98] (sockatmark): Do not expect.
27534 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27535 (clock_getcpuclockid): Do not expect.
27536 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27537 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27538 Do not expect.
27539 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27540 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27541 [UNIX98] (vwscanf): Likewise.
27542 [UNIX98] (vswscanf): Likewise.
27543
fb1ae1ee
JM
275442012-11-09 Joseph Myers <joseph@codesourcery.com>
27545
9ec6f8bd
JM
27546 * timezone/version.h: Remove file.
27547 * timezone/README: Do not refer to version.h.
27548 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27549 $(objpfx)version.h.
27550 ($(objpfx)zdump.o): Likewise.
c3f81911 27551 ($(objpfx)version.h): New target.
9ec6f8bd 27552
0aa8f8a1
JM
27553 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27554 2012i.
27555 * timezone/README: Don't mention modification to tzselect.ksh.
27556 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27557 work on unmodified tzselect.ksh. Substitute version numbers in
27558 tzselect.ksh.
27559
4e87147f
JM
27560 * Makefile (format-me): Remove.
27561 (INSTALL): Adjust indentation. Use commands directly instead of
27562 using $(format-me).
27563
8b748aed
JM
27564 * aclocal.m4 (ACX_PKGVERSION): New macro.
27565 (ACX_BUGURL): Likewise.
27566 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27567 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27568 (REPORT_BUGS_TO): Likewise.
27569 * configure: Regenerated.
27570 * config.h.in (PKGVERSION): New macro.
27571 (REPORT_BUGS_TO): Likewise.
27572 * config.make.in (PKGVERSION): New variable.
27573 (PKGVERSION_TEXI): Likewise.
27574 (REPORT_BUGS_TO): Likewise.
27575 (REPORT_BUGS_TEXI): Likewise.
27576 * Makefile (format-me): Use -I$(common-objpfx)manual.
27577 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27578 ($(common-objpfx)manual/%): New target.
27579 (manual/%): Remove target.
27580 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27581 (print_version): Use PKGVERSION.
27582 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27583 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27584 and REPORT_BUGS_TO.
27585 ($(objpfx)xtrace): Likewise.
27586 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27587 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27588 (print_version): Use PKGVERSION.
27589 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27590 (do_version): Use PKGVERSION.
27591 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27592 REPORT_BUGS_TO.
27593 (common-ldd-rewrite): Likewise.
27594 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27595 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27596 (print_version): Use PKGVERSION.
27597 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27598 * elf/pldd.c (argp_program_bug_address): Remove variable.
27599 (more_help): New function.
27600 (argp): Use more_help.
27601 (print_version): Use PKGVERSION.
27602 * elf/sln.c (main): Use PKGVERSION.
27603 (usage): Use REPORT_BUGS_TO.
27604 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27605 (top level): Use PKGVERSION.
27606 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27607 (print_version): Use PKGVERSION.
27608 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27609 (print_version): Use PKGVERSION.
27610 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27611 (print_version): Use PKGVERSION.
27612 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27613 (print_version): Use PKGVERSION.
27614 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27615 (print_version): Use PKGVERSION.
27616 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27617 (print_version): Use PKGVERSION.
27618 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27619 and BUGURL.
27620 ($(objpfx)memusage): Likewise.
27621 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27622 (do_version): Use PKGVERSION.
27623 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27624 (print_version): Use PKGVERSION.
27625 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27626 ($PKGVERSION): New variable.
27627 ($REPORT_BUGS_TO): Likewise.
27628 (usage): Use $REPORT_BUGS_TO.
27629 (top level): Use $PKGVERSION.
27630 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27631 ($(objpfx)pkgvers.texi): New rule.
27632 ($(objpfx)stamp-pkgvers): Likewise.
27633 * manual/install.texi: Include pkgvers.texi.
27634 (--with-pkgversion): Document new configure option.
27635 (--with-bugurl): Likewise.
27636 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27637 than necessarily for this particular distribution. Use
27638 REPORT_BUGS_TO for where to report bugs.
27639 * INSTALL: Regenerated.
27640 * manual/libc.texinfo: Include pkgvers.texi.
27641 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27642 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27643 (print_version): Use PKGVERSION.
27644 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27645 (print_version): Use PKGVERSION.
27646 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27647 (print_version): Use PKGVERSION.
27648 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27649 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27650 macro.
27651 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27652 (print_version): Use PKGVERSION.
27653 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27654 (print_version): Use PKGVERSION.
27655 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27656 and PKGVERSION.
27657
92e4b6a9
JM
27658 * timezone/checktab.awk: Update from tzcode 2012i.
27659 * timezone/ialloc.c: Likewise.
27660 * timezone/private.h: Likewise.
27661 * timezone/scheck.c: Likewise.
27662 * timezone/tzfile.h: Likewise.
27663 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27664 (TZVERSION): Hardcode tzcode version number.
27665 * timezone/zdump.c: Update from tzcode 2012i.
27666 * timezone/zic.c: Likewise.
27667 * timezone/version.h: New file.
27668 * timezone/README: Describe version.h. Update upstream location.
27669
9bde902c
JM
27670 [BZ #14824]
27671 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27672 (mktemp): Enable declaration.
27673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27674 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27675 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27677 Likewise.
27678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27679 Likewise.
27680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27681 Likewise.
27682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27683 Likewise.
27684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27685 Likewise.
27686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27687 Likewise.
27688
fb1ae1ee
JM
27689 [BZ #14821]
27690 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27691 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27692 for copies of such integer values.
27693 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27694 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27695
2c1adbcb
AJ
276962012-11-09 Andreas Jaeger <aj@suse.de>
27697
27698 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27699 definitions and declarations that are provided by
27700 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27701
d0f8457e
AK
277022012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27703
3a235abb 27704 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27705 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27706 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27707 definition.
27708
57241e26
MS
277092012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27710
27711 * elf/elf.h: Update comment before AArch64 relocations.
27712
60e8270d
DM
277132012-11-07 David S. Miller <davem@davemloft.net>
27714
27715 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27716 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27717 (__start_context): Declare.
27718 (__makecontext_ret): Delete.
27719 (__makecontext): Hook up __start_context instead of
27720 __makecontext_ret.
27721 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27722 (sysdep_routines): Add __start_context when in stdlib.
27723
0fbb0fbc
JM
277242012-11-07 Joseph Myers <joseph@codesourcery.com>
27725
27726 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27727 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27728 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27729 hardcoded "nm".
27730 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27731 (READELF): New variable. Use it instead of hardcoded "readelf".
27732
eb48db7e
L
277332012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27734
27735 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27736 * sysdeps/x86/Makefile: Here.
27737 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27738 * sysdeps/x86/tst-xmmymm.sh: This.
27739
05bcf62a
JM
277402012-11-07 Joseph Myers <joseph@codesourcery.com>
27741
c4b6cf53
JM
27742 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27743 expectations.
27744 [UNIX98] (pthread_barrier_t): Do not expect.
27745 [UNIX98] (pthread_barrierattr_t): Likewise.
27746 [UNIX98] (pthread_spinlock_t): Likewise.
27747 [UNIX98] (pthread_barrier_destroy): Likewise.
27748 [UNIX98] (pthread_barrier_init): Likewise.
27749 [UNIX98] (pthread_barrier_wait): Likewise.
27750 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27751 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27752 [UNIX98] (pthread_barrierattr_init): Likewise.
27753 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27754 [UNIX98] (pthread_getcpuclockid): Likewise.
27755 [UNIX98] (pthread_mutex_timedlock): Likewise.
27756 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27757 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27758 [UNIX98] (pthread_sigmask): Likewise.
27759 [UNIX98] (pthread_spin_destroy): Likewise.
27760 [UNIX98] (pthread_spin_init): Likewise.
27761 [UNIX98] (pthread_spin_lock): Likewise.
27762 [UNIX98] (pthread_spin_trylock): Likewise.
27763 [UNIX98] (pthread_spin_unlock): Likewise.
27764 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27765 Do not expect.
27766 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27767 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27768 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27769 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27770 [XPG3 || XPG4] (pthread_key_t): Likewise.
27771 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27772 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27773 [XPG3 || XPG4] (pthread_once_t): Likewise.
27774 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27775 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27776 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27777 [XPG3 || XPG4] (pthread_t): Likewise.
27778
cbe6e120
JM
27779 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27780 not expect.
27781 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27782
1b126443
JM
27783 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27784 Change function return type to int.
27785
b961a573
JM
27786 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27787 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27788 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27789 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27790 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27791 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27792 [!POSIX] (posix_madvise): Likewise.
27793 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27794 && !UNIX98].
27795 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27796 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27797 (mode_t): Likewise.
27798 (posix_mem_offset): Likewise.
27799 (posix_typed_mem_get_info): Likewise.
27800 (posix_typed_mem_open): Likewise.
27801
9e188909
JM
27802 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27803 Change condition to [XOPEN2K8].
27804
05bcf62a
JM
27805 * conform/conformtest.pl: Preprocess allow-header data with -x c
27806 instead of from stdin.
27807 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27808 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27809 [C99-based standards] (cerfc): Likewise.
27810 [C99-based standards] (cexp2): Likewise.
27811 [C99-based standards] (cexpm1): Likewise.
27812 [C99-based standards] (clog10): Likewise.
27813 [C99-based standards] (clog1p): Likewise.
27814 [C99-based standards] (clog2): Likewise.
27815 [C99-based standards] (clgamma): Likewise.
27816 [C99-based standards] (ctgamma): Likewise.
27817 [C99-based standards] (cerff): Likewise.
27818 [C99-based standards] (cerfcf): Likewise.
27819 [C99-based standards] (cexp2f): Likewise.
27820 [C99-based standards] (cexpm1f): Likewise.
27821 [C99-based standards] (clog10f): Likewise.
27822 [C99-based standards] (clog1pf): Likewise.
27823 [C99-based standards] (clog2f): Likewise.
27824 [C99-based standards] (clgammaf): Likewise.
27825 [C99-based standards] (ctgammaf): Likewise.
27826 [C99-based standards] (cerfl): Likewise.
27827 [C99-based standards] (cerfcl): Likewise.
27828 [C99-based standards] (cexp2l): Likewise.
27829 [C99-based standards] (cexpm1l): Likewise.
27830 [C99-based standards] (clog10l): Likewise.
27831 [C99-based standards] (clog1pl): Likewise.
27832 [C99-based standards] (clog2l): Likewise.
27833 [C99-based standards] (clgammal): Likewise.
27834 [C99-based standards] (ctgammal): Likewise.
27835 * conform/data/inttypes.h-data [C99-based standards]: Include
27836 stdint.h-data. Remove all expectations for stdint.h contents.
27837 [C99-based standards] (PRI*): Do not allow.
27838 [C99-based standards] (SCN*): Likewise.
27839 [C99-based standards] (*_t): Likewise.
27840 [C99-based-standards] (PRId8): Expect macro.
27841 [C99-based-standards] (PRIi8): Likewise.
27842 [C99-based-standards] (PRIo8): Likewise.
27843 [C99-based-standards] (PRIu8): Likewise.
27844 [C99-based-standards] (PRIx8): Likewise.
27845 [C99-based-standards] (PRIX8): Likewise.
27846 [C99-based-standards] (SCNd8): Likewise.
27847 [C99-based-standards] (SCNi8): Likewise.
27848 [C99-based-standards] (SCNo8): Likewise.
27849 [C99-based-standards] (SCNu8): Likewise.
27850 [C99-based-standards] (SCNx8): Likewise.
27851 [C99-based-standards] (PRIdLEAST8): Likewise.
27852 [C99-based-standards] (PRIiLEAST8): Likewise.
27853 [C99-based-standards] (PRIoLEAST8): Likewise.
27854 [C99-based-standards] (PRIuLEAST8): Likewise.
27855 [C99-based-standards] (PRIxLEAST8): Likewise.
27856 [C99-based-standards] (PRIXLEAST8): Likewise.
27857 [C99-based-standards] (SCNdLEAST8): Likewise.
27858 [C99-based-standards] (SCNiLEAST8): Likewise.
27859 [C99-based-standards] (SCNoLEAST8): Likewise.
27860 [C99-based-standards] (SCNuLEAST8): Likewise.
27861 [C99-based-standards] (SCNxLEAST8): Likewise.
27862 [C99-based-standards] (PRIdFAST8): Likewise.
27863 [C99-based-standards] (PRIiFAST8): Likewise.
27864 [C99-based-standards] (PRIoFAST8): Likewise.
27865 [C99-based-standards] (PRIuFAST8): Likewise.
27866 [C99-based-standards] (PRIxFAST8): Likewise.
27867 [C99-based-standards] (PRIXFAST8): Likewise.
27868 [C99-based-standards] (SCNdFAST8): Likewise.
27869 [C99-based-standards] (SCNiFAST8): Likewise.
27870 [C99-based-standards] (SCNoFAST8): Likewise.
27871 [C99-based-standards] (SCNuFAST8): Likewise.
27872 [C99-based-standards] (SCNxFAST8): Likewise.
27873 [C99-based-standards] (PRId16): Likewise.
27874 [C99-based-standards] (PRIi16): Likewise.
27875 [C99-based-standards] (PRIo16): Likewise.
27876 [C99-based-standards] (PRIu16): Likewise.
27877 [C99-based-standards] (PRIx16): Likewise.
27878 [C99-based-standards] (PRIX16): Likewise.
27879 [C99-based-standards] (SCNd16): Likewise.
27880 [C99-based-standards] (SCNi16): Likewise.
27881 [C99-based-standards] (SCNo16): Likewise.
27882 [C99-based-standards] (SCNu16): Likewise.
27883 [C99-based-standards] (SCNx16): Likewise.
27884 [C99-based-standards] (PRIdLEAST16): Likewise.
27885 [C99-based-standards] (PRIiLEAST16): Likewise.
27886 [C99-based-standards] (PRIoLEAST16): Likewise.
27887 [C99-based-standards] (PRIuLEAST16): Likewise.
27888 [C99-based-standards] (PRIxLEAST16): Likewise.
27889 [C99-based-standards] (PRIXLEAST16): Likewise.
27890 [C99-based-standards] (SCNdLEAST16): Likewise.
27891 [C99-based-standards] (SCNiLEAST16): Likewise.
27892 [C99-based-standards] (SCNoLEAST16): Likewise.
27893 [C99-based-standards] (SCNuLEAST16): Likewise.
27894 [C99-based-standards] (SCNxLEAST16): Likewise.
27895 [C99-based-standards] (PRIdFAST16): Likewise.
27896 [C99-based-standards] (PRIiFAST16): Likewise.
27897 [C99-based-standards] (PRIoFAST16): Likewise.
27898 [C99-based-standards] (PRIuFAST16): Likewise.
27899 [C99-based-standards] (PRIxFAST16): Likewise.
27900 [C99-based-standards] (PRIXFAST16): Likewise.
27901 [C99-based-standards] (SCNdFAST16): Likewise.
27902 [C99-based-standards] (SCNiFAST16): Likewise.
27903 [C99-based-standards] (SCNoFAST16): Likewise.
27904 [C99-based-standards] (SCNuFAST16): Likewise.
27905 [C99-based-standards] (SCNxFAST16): Likewise.
27906 [C99-based-standards] (PRId32): Likewise.
27907 [C99-based-standards] (PRIi32): Likewise.
27908 [C99-based-standards] (PRIo32): Likewise.
27909 [C99-based-standards] (PRIu32): Likewise.
27910 [C99-based-standards] (PRIx32): Likewise.
27911 [C99-based-standards] (PRIX32): Likewise.
27912 [C99-based-standards] (SCNd32): Likewise.
27913 [C99-based-standards] (SCNi32): Likewise.
27914 [C99-based-standards] (SCNo32): Likewise.
27915 [C99-based-standards] (SCNu32): Likewise.
27916 [C99-based-standards] (SCNx32): Likewise.
27917 [C99-based-standards] (PRIdLEAST32): Likewise.
27918 [C99-based-standards] (PRIiLEAST32): Likewise.
27919 [C99-based-standards] (PRIoLEAST32): Likewise.
27920 [C99-based-standards] (PRIuLEAST32): Likewise.
27921 [C99-based-standards] (PRIxLEAST32): Likewise.
27922 [C99-based-standards] (PRIXLEAST32): Likewise.
27923 [C99-based-standards] (SCNdLEAST32): Likewise.
27924 [C99-based-standards] (SCNiLEAST32): Likewise.
27925 [C99-based-standards] (SCNoLEAST32): Likewise.
27926 [C99-based-standards] (SCNuLEAST32): Likewise.
27927 [C99-based-standards] (SCNxLEAST32): Likewise.
27928 [C99-based-standards] (PRIdFAST32): Likewise.
27929 [C99-based-standards] (PRIiFAST32): Likewise.
27930 [C99-based-standards] (PRIoFAST32): Likewise.
27931 [C99-based-standards] (PRIuFAST32): Likewise.
27932 [C99-based-standards] (PRIxFAST32): Likewise.
27933 [C99-based-standards] (PRIXFAST32): Likewise.
27934 [C99-based-standards] (SCNdFAST32): Likewise.
27935 [C99-based-standards] (SCNiFAST32): Likewise.
27936 [C99-based-standards] (SCNoFAST32): Likewise.
27937 [C99-based-standards] (SCNuFAST32): Likewise.
27938 [C99-based-standards] (SCNxFAST32): Likewise.
27939 [C99-based-standards] (PRId64): Likewise.
27940 [C99-based-standards] (PRIi64): Likewise.
27941 [C99-based-standards] (PRIo64): Likewise.
27942 [C99-based-standards] (PRIu64): Likewise.
27943 [C99-based-standards] (PRIx64): Likewise.
27944 [C99-based-standards] (PRIX64): Likewise.
27945 [C99-based-standards] (SCNd64): Likewise.
27946 [C99-based-standards] (SCNi64): Likewise.
27947 [C99-based-standards] (SCNo64): Likewise.
27948 [C99-based-standards] (SCNu64): Likewise.
27949 [C99-based-standards] (SCNx64): Likewise.
27950 [C99-based-standards] (PRIdLEAST64): Likewise.
27951 [C99-based-standards] (PRIiLEAST64): Likewise.
27952 [C99-based-standards] (PRIoLEAST64): Likewise.
27953 [C99-based-standards] (PRIuLEAST64): Likewise.
27954 [C99-based-standards] (PRIxLEAST64): Likewise.
27955 [C99-based-standards] (PRIXLEAST64): Likewise.
27956 [C99-based-standards] (SCNdLEAST64): Likewise.
27957 [C99-based-standards] (SCNiLEAST64): Likewise.
27958 [C99-based-standards] (SCNoLEAST64): Likewise.
27959 [C99-based-standards] (SCNuLEAST64): Likewise.
27960 [C99-based-standards] (SCNxLEAST64): Likewise.
27961 [C99-based-standards] (PRIdFAST64): Likewise.
27962 [C99-based-standards] (PRIiFAST64): Likewise.
27963 [C99-based-standards] (PRIoFAST64): Likewise.
27964 [C99-based-standards] (PRIuFAST64): Likewise.
27965 [C99-based-standards] (PRIxFAST64): Likewise.
27966 [C99-based-standards] (PRIXFAST64): Likewise.
27967 [C99-based-standards] (SCNdFAST64): Likewise.
27968 [C99-based-standards] (SCNiFAST64): Likewise.
27969 [C99-based-standards] (SCNoFAST64): Likewise.
27970 [C99-based-standards] (SCNuFAST64): Likewise.
27971 [C99-based-standards] (SCNxFAST64): Likewise.
27972 [C99-based-standards] (PRIdMAX): Likewise.
27973 [C99-based-standards] (PRIiMAX): Likewise.
27974 [C99-based-standards] (PRIoMAX): Likewise.
27975 [C99-based-standards] (PRIuMAX): Likewise.
27976 [C99-based-standards] (PRIxMAX): Likewise.
27977 [C99-based-standards] (PRIXMAX): Likewise.
27978 [C99-based-standards] (SCNdMAX): Likewise.
27979 [C99-based-standards] (SCNiMAX): Likewise.
27980 [C99-based-standards] (SCNoMAX): Likewise.
27981 [C99-based-standards] (SCNuMAX): Likewise.
27982 [C99-based-standards] (SCNxMAX): Likewise.
27983 [C99-based-standards] (PRIdPTR): Likewise.
27984 [C99-based-standards] (PRIiPTR): Likewise.
27985 [C99-based-standards] (PRIoPTR): Likewise.
27986 [C99-based-standards] (PRIuPTR): Likewise.
27987 [C99-based-standards] (PRIxPTR): Likewise.
27988 [C99-based-standards] (PRIXPTR): Likewise.
27989 [C99-based-standards] (SCNdPTR): Likewise.
27990 [C99-based-standards] (SCNiPTR): Likewise.
27991 [C99-based-standards] (SCNoPTR): Likewise.
27992 [C99-based-standards] (SCNuPTR): Likewise.
27993 [C99-based-standards] (SCNxPTR): Likewise.
27994 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27995 allow.
27996 * conform/data/stdint.h-data: Update comments to clarify
27997 requirements.
27998 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27999 type.
28000 [C99-based standards] (INT8_MAX): Likewise.
28001 [C99-based standards] (INT16_MIN): Likewise.
28002 [C99-based standards] (INT16_MAX): Likewise.
28003 [C99-based standards] (INT32_MIN): Likewise.
28004 [C99-based standards] (INT32_MAX): Likewise.
28005 [C99-based standards] (INT64_MIN): Likewise.
28006 [C99-based standards] (INT64_MAX): Likewise.
28007 [C99-based standards] (UINT8_MAX): Likewise.
28008 [C99-based standards] (UINT16_MAX): Likewise.
28009 [C99-based standards] (UINT32_MAX): Likewise.
28010 [C99-based standards] (UINT64_MAX): Likewise.
28011 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28012 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28013 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28014 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28015 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28016 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28017 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28018 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28019 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28020 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28021 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28022 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28023 [C99-based standards] (INT_FAST8_MIN): Likewise.
28024 [C99-based standards] (INT_FAST8_MAX): Likewise.
28025 [C99-based standards] (INT_FAST16_MIN): Likewise.
28026 [C99-based standards] (INT_FAST16_MAX): Likewise.
28027 [C99-based standards] (INT_FAST32_MIN): Likewise.
28028 [C99-based standards] (INT_FAST32_MAX): Likewise.
28029 [C99-based standards] (INT_FAST64_MIN): Likewise.
28030 [C99-based standards] (INT_FAST64_MAX): Likewise.
28031 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28032 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28033 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28034 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28035 [C99-based standards] (INTPTR_MIN): Likewise.
28036 [C99-based standards] (INTPTR_MAX): Likewise.
28037 [C99-based standards] (UINTPTR_MAX): Likewise.
28038 [C99-based standards] (INTMAX_MIN): Likewise.
28039 [C99-based standards] (INTMAX_MAX): Likewise.
28040 [C99-based standards] (UINTMAX_MAX): Likewise.
28041 [C99-based standards] (PTRDIFF_MIN): Likewise.
28042 [C99-based standards] (PTRDIFF_MAX): Likewise.
28043 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28044 [C99-based standards] (SIZE_MAX): Likewise.
28045 [C99-based standards] (WCHAR_MAX): Likewise.
28046 [C99-based standards] (WINT_MAX): Likewise.
28047 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28048 constraint on value.
28049 [C99-based standards] (WCHAR_MIN): Likewise.
28050 [C99-based standards] (WINT_MIN): Likewise.
28051 [C99-based standards] (*_t): Allow.
28052 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28053 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28054 Include math.h-data and complex.h-data. Remove all expectations
28055 of math.h and complex.h contents.
28056 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28057 at end of line.
28058 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28059 (struct tm): Expect tag.
28060 [C99-based-standards] (wcstof): Expect function.
28061 [C99-based-standards] (wcstold): Likewise.
28062 [C99-based-standards] (wcstoll): Likewise.
28063 [C99-based-standards] (wcstoull): Likewise.
28064 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28065 macro-int-constant. Specify type.
28066 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28067 constraint on value.
28068 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28069 Specify type.
28070 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28071 Specify value.
28072 [ISO C standards]: Do not allow headers.
28073 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28074 wcs[abcdefghijklmnopqrstuvwxyz]*.
28075 [ISO C standards] (*_t): Do not allow.
28076 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28077 Expect function.
28078 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28079 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28080 Specify type.
28081 [ISO C standards]: Do not allow headers.
28082 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28083 is[abcdefghijklmnopqrstuvwxyz]*.
28084 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28085 to[abcdefghijklmnopqrstuvwxyz]*.
28086 [ISO C standards] (*_t): Do not allow.
28087 * conform/data/stdalign.h-data: New file.
28088 * conform/data/stdbool.h-data: Likewise.
28089 * conform/data/stdnoreturn.h-data: Likewise.
28090
7514feb8
RM
280912012-11-07 Roland McGrath <roland@hack.frob.com>
28092
28093 [BZ #14815]
28094 * manual/filesys.texi (Directory Entries): Typo fix.
28095 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28096
19b2ecfc
MS
280972012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28098
28099 * elf/elf.h (EM_AARCH64): New macro.
28100 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28101 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28102 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28103 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28104 (R_AARCH64_TLSDESC): Likewise.
28105 (NT_ARM_TLS): Likewise.
28106 (NT_ARM_HW_BREAK): Likewise.
28107 (NT_ARM_HW_WATCH): Likewise.
28108
60e235ee
JM
281092012-11-07 Joseph Myers <joseph@codesourcery.com>
28110
28111 [BZ #14811]
28112 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28113 (__ieee754_powl): Saturate nonzero exponents with absolute value
28114 below 0x1p-79 to +/- 0x1p-79.
28115 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28116 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28117 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28118 nonzero exponents with absolute value below 0x1p-32 to +/-
28119 0x1p-32.
28120 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28121 (__ieee754_powl): Saturate nonzero exponents with absolute value
28122 below 0x1p-79 to +/- 0x1p-79.
28123 * math/libm-test.inc (pow_test): Add more tests.
28124
0ab234b7
AK
281252012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28126
28127 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28128 _dl_s390_cap_flags with kernel. Increase string length.
28129 (_dl_s390_platforms): Add z196 and zEC12.
28130
45832f74
JM
281312012-11-07 Joseph Myers <joseph@codesourcery.com>
28132
28133 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28134 Change XOPEN21K to XOPEN2K.
28135
19218757
MK
281362012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28137
28138 * string/memmove.c: Use memcpy when possible.
28139
c5f45721
AJ
281402012-11-06 Andreas Jaeger <aj@suse.de>
28141
28142 * po/eo.po: Update from translation team.
28143
82477c28
JM
281442012-11-06 Joseph Myers <joseph@codesourcery.com>
28145
28146 [BZ #14793]
28147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28148 exponent and small x and y exponents, scale x or y up. Increase
28149 by 2 the exponent used in scaling up.
28150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28151 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28152 * math/libm-test.inc (fma_test): Add more tests.
28153 (fma_test_towardzero): Likewise.
28154 (fma_test_downward): Likewise.
28155 (fma_test_upward): Likewise.
28156
99252c8c
JM
281572012-11-05 Joseph Myers <joseph@codesourcery.com>
28158
acfa885f
JM
28159 [BZ #14805]
28160 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28161 fenv_t *.
28162
99252c8c
JM
28163 [BZ #14801]
28164 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28165 namespace for names of struct fields.
28166 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28167 fenv_t fields.
28168 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28169 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28170
d6d98dea
ST
281712012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28172
28173 [BZ #3665]
28174 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28175
e10bb107
TS
281762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28177
28178 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28179 PTR_DEMANGLE.
28180
28181 [BZ #5246]
28182 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28183 PTR_DEMANGLE.
28184
a0c2940d
JM
281852012-11-04 Joseph Myers <joseph@codesourcery.com>
28186
28187 [BZ #14797]
28188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28189 definitely overflow as x * y not x * y + z.
28190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28192 * math/libm-test.inc (fma_test): Add more tests.
28193 (fma_test_towardzero): Likewise.
28194 (fma_test_downward): Likewise.
28195 (fma_test_upward): Likewise.
28196
b830319d
TS
281972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28198
28199 [BZ #157]
28200
28201 * include/stub-tag.h: Remove file.
28202 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28203 '#include' of it.
28204 * manual/maint.texi (Porting): Don't reference it.
28205 * Makerules ($(objpfx)stubs): Likewise.
28206 * dirent/closedir.c: Don't include <stub-tag.h>.
28207 * dirent/dirfd.c: Likewise.
28208 * dirent/fdopendir.c: Likewise.
28209 * dirent/getdents.c: Likewise.
28210 * dirent/getdents64.c: Likewise.
28211 * dirent/opendir.c: Likewise.
28212 * dirent/readdir.c: Likewise.
28213 * dirent/readdir64.c: Likewise.
28214 * dirent/readdir64_r.c: Likewise.
28215 * dirent/readdir_r.c: Likewise.
28216 * dirent/rewinddir.c: Likewise.
28217 * dirent/seekdir.c: Likewise.
28218 * dirent/telldir.c: Likewise.
28219 * gmon/profil.c: Likewise.
28220 * grp/setgroups.c: Likewise.
28221 * inet/if_index.c: Likewise.
28222 * io/access.c: Likewise.
28223 * io/chdir.c: Likewise.
28224 * io/chmod.c: Likewise.
28225 * io/chown.c: Likewise.
28226 * io/close.c: Likewise.
28227 * io/dup.c: Likewise.
28228 * io/dup2.c: Likewise.
28229 * io/dup3.c: Likewise.
28230 * io/euidaccess.c: Likewise.
28231 * io/faccessat.c: Likewise.
28232 * io/fchdir.c: Likewise.
28233 * io/fchmod.c: Likewise.
28234 * io/fchmodat.c: Likewise.
28235 * io/fchown.c: Likewise.
28236 * io/fchownat.c: Likewise.
28237 * io/fcntl.c: Likewise.
28238 * io/flock.c: Likewise.
28239 * io/fstatfs.c: Likewise.
28240 * io/fstatfs64.c: Likewise.
28241 * io/fstatvfs.c: Likewise.
28242 * io/fstatvfs64.c: Likewise.
28243 * io/futimens.c: Likewise.
28244 * io/fxstat.c: Likewise.
28245 * io/fxstat64.c: Likewise.
28246 * io/fxstatat.c: Likewise.
28247 * io/fxstatat64.c: Likewise.
28248 * io/getcwd.c: Likewise.
28249 * io/isatty.c: Likewise.
28250 * io/lchmod.c: Likewise.
28251 * io/lchown.c: Likewise.
28252 * io/link.c: Likewise.
28253 * io/linkat.c: Likewise.
28254 * io/lseek.c: Likewise.
28255 * io/lseek64.c: Likewise.
28256 * io/lxstat64.c: Likewise.
28257 * io/mkdir.c: Likewise.
28258 * io/mkdirat.c: Likewise.
28259 * io/mkfifo.c: Likewise.
28260 * io/mkfifoat.c: Likewise.
28261 * io/open.c: Likewise.
28262 * io/open64.c: Likewise.
28263 * io/openat.c: Likewise.
28264 * io/openat64.c: Likewise.
28265 * io/pipe.c: Likewise.
28266 * io/pipe2.c: Likewise.
28267 * io/poll.c: Likewise.
28268 * io/posix_fadvise.c: Likewise.
28269 * io/posix_fadvise64.c: Likewise.
28270 * io/posix_fallocate.c: Likewise.
28271 * io/posix_fallocate64.c: Likewise.
28272 * io/read.c: Likewise.
28273 * io/readlink.c: Likewise.
28274 * io/readlinkat.c: Likewise.
28275 * io/rmdir.c: Likewise.
28276 * io/sendfile.c: Likewise.
28277 * io/sendfile64.c: Likewise.
28278 * io/statfs.c: Likewise.
28279 * io/statfs64.c: Likewise.
28280 * io/statvfs.c: Likewise.
28281 * io/statvfs64.c: Likewise.
28282 * io/symlink.c: Likewise.
28283 * io/symlinkat.c: Likewise.
28284 * io/ttyname.c: Likewise.
28285 * io/ttyname_r.c: Likewise.
28286 * io/umask.c: Likewise.
28287 * io/unlink.c: Likewise.
28288 * io/unlinkat.c: Likewise.
28289 * io/utime.c: Likewise.
28290 * io/utimensat.c: Likewise.
28291 * io/write.c: Likewise.
28292 * io/xmknod.c: Likewise.
28293 * io/xmknodat.c: Likewise.
28294 * io/xstat.c: Likewise.
28295 * io/xstat64.c: Likewise.
28296 * login/getpt.c: Likewise.
28297 * login/grantpt.c: Likewise.
28298 * login/unlockpt.c: Likewise.
28299 * math/e_acoshl.c: Likewise.
28300 * math/e_acosl.c: Likewise.
28301 * math/e_asinl.c: Likewise.
28302 * math/e_atan2l.c: Likewise.
28303 * math/e_atanhl.c: Likewise.
28304 * math/e_coshl.c: Likewise.
28305 * math/e_expl.c: Likewise.
28306 * math/e_fmodl.c: Likewise.
28307 * math/e_gammal_r.c: Likewise.
28308 * math/e_hypotl.c: Likewise.
28309 * math/e_j0l.c: Likewise.
28310 * math/e_j1l.c: Likewise.
28311 * math/e_jnl.c: Likewise.
28312 * math/e_lgammal_r.c: Likewise.
28313 * math/e_log10l.c: Likewise.
28314 * math/e_log2l.c: Likewise.
28315 * math/e_logl.c: Likewise.
28316 * math/e_powl.c: Likewise.
28317 * math/e_rem_pio2l.c: Likewise.
28318 * math/e_sinhl.c: Likewise.
28319 * math/e_sqrtl.c: Likewise.
28320 * math/fclrexcpt.c: Likewise.
28321 * math/fedisblxcpt.c: Likewise.
28322 * math/feenablxcpt.c: Likewise.
28323 * math/fegetenv.c: Likewise.
28324 * math/fegetexcept.c: Likewise.
28325 * math/fegetround.c: Likewise.
28326 * math/feholdexcpt.c: Likewise.
28327 * math/fesetenv.c: Likewise.
28328 * math/fesetround.c: Likewise.
28329 * math/feupdateenv.c: Likewise.
28330 * math/fgetexcptflg.c: Likewise.
28331 * math/fraiseexcpt.c: Likewise.
28332 * math/fsetexcptflg.c: Likewise.
28333 * math/ftestexcept.c: Likewise.
28334 * math/k_cosl.c: Likewise.
28335 * math/k_rem_pio2l.c: Likewise.
28336 * math/k_sinl.c: Likewise.
28337 * math/k_tanl.c: Likewise.
28338 * math/s_asinhl.c: Likewise.
28339 * math/s_atanl.c: Likewise.
28340 * math/s_cbrtl.c: Likewise.
28341 * math/s_erfl.c: Likewise.
28342 * math/s_expm1l.c: Likewise.
28343 * math/s_log1pl.c: Likewise.
28344 * math/s_tanhl.c: Likewise.
28345 * misc/acct.c: Likewise.
28346 * misc/brk.c: Likewise.
28347 * misc/chflags.c: Likewise.
28348 * misc/chroot.c: Likewise.
28349 * misc/fchflags.c: Likewise.
28350 * misc/fgetxattr.c: Likewise.
28351 * misc/flistxattr.c: Likewise.
28352 * misc/fremovexattr.c: Likewise.
28353 * misc/fsetxattr.c: Likewise.
28354 * misc/fsync.c: Likewise.
28355 * misc/ftruncate.c: Likewise.
28356 * misc/futimes.c: Likewise.
28357 * misc/futimesat.c: Likewise.
28358 * misc/getdomain.c: Likewise.
28359 * misc/getdtsz.c: Likewise.
28360 * misc/gethostid.c: Likewise.
28361 * misc/gethostname.c: Likewise.
28362 * misc/getloadavg.c: Likewise.
28363 * misc/getpagesize.c: Likewise.
28364 * misc/getsysstats.c: Likewise.
28365 * misc/getxattr.c: Likewise.
28366 * misc/gtty.c: Likewise.
28367 * misc/ioctl.c: Likewise.
28368 * misc/lgetxattr.c: Likewise.
28369 * misc/listxattr.c: Likewise.
28370 * misc/llistxattr.c: Likewise.
28371 * misc/lremovexattr.c: Likewise.
28372 * misc/lsetxattr.c: Likewise.
28373 * misc/lutimes.c: Likewise.
28374 * misc/madvise.c: Likewise.
28375 * misc/mincore.c: Likewise.
28376 * misc/mlock.c: Likewise.
28377 * misc/mlockall.c: Likewise.
28378 * misc/mmap.c: Likewise.
28379 * misc/mprotect.c: Likewise.
28380 * misc/msync.c: Likewise.
28381 * misc/munlock.c: Likewise.
28382 * misc/munlockall.c: Likewise.
28383 * misc/munmap.c: Likewise.
28384 * misc/preadv.c: Likewise.
28385 * misc/preadv64.c: Likewise.
28386 * misc/ptrace.c: Likewise.
28387 * misc/pwritev.c: Likewise.
28388 * misc/pwritev64.c: Likewise.
28389 * misc/readv.c: Likewise.
28390 * misc/reboot.c: Likewise.
28391 * misc/remap_file_pages.c: Likewise.
28392 * misc/removexattr.c: Likewise.
28393 * misc/revoke.c: Likewise.
28394 * misc/select.c: Likewise.
28395 * misc/setdomain.c: Likewise.
28396 * misc/setegid.c: Likewise.
28397 * misc/seteuid.c: Likewise.
28398 * misc/sethostid.c: Likewise.
28399 * misc/sethostname.c: Likewise.
28400 * misc/setregid.c: Likewise.
28401 * misc/setreuid.c: Likewise.
28402 * misc/setxattr.c: Likewise.
28403 * misc/sstk.c: Likewise.
28404 * misc/stty.c: Likewise.
28405 * misc/swapoff.c: Likewise.
28406 * misc/swapon.c: Likewise.
28407 * misc/sync.c: Likewise.
28408 * misc/syncfs.c: Likewise.
28409 * misc/syscall.c: Likewise.
28410 * misc/truncate.c: Likewise.
28411 * misc/ualarm.c: Likewise.
28412 * misc/usleep.c: Likewise.
28413 * misc/ustat.c: Likewise.
28414 * misc/utimes.c: Likewise.
28415 * misc/vhangup.c: Likewise.
28416 * misc/writev.c: Likewise.
28417 * posix/_exit.c: Likewise.
28418 * posix/alarm.c: Likewise.
28419 * posix/execve.c: Likewise.
28420 * posix/fexecve.c: Likewise.
28421 * posix/fork.c: Likewise.
28422 * posix/fpathconf.c: Likewise.
28423 * posix/getaddrinfo.c: Likewise.
28424 * posix/getegid.c: Likewise.
28425 * posix/geteuid.c: Likewise.
28426 * posix/getgid.c: Likewise.
28427 * posix/getgroups.c: Likewise.
28428 * posix/getlogin.c: Likewise.
28429 * posix/getlogin_r.c: Likewise.
28430 * posix/getpgid.c: Likewise.
28431 * posix/getpid.c: Likewise.
28432 * posix/getppid.c: Likewise.
28433 * posix/getresgid.c: Likewise.
28434 * posix/getresuid.c: Likewise.
28435 * posix/getsid.c: Likewise.
28436 * posix/getuid.c: Likewise.
28437 * posix/glob64.c: Likewise.
28438 * posix/nanosleep.c: Likewise.
28439 * posix/pathconf.c: Likewise.
28440 * posix/pause.c: Likewise.
28441 * posix/posix_madvise.c: Likewise.
28442 * posix/pread.c: Likewise.
28443 * posix/pread64.c: Likewise.
28444 * posix/pwrite.c: Likewise.
28445 * posix/pwrite64.c: Likewise.
28446 * posix/sched_getaffinity.c: Likewise.
28447 * posix/sched_getp.c: Likewise.
28448 * posix/sched_gets.c: Likewise.
28449 * posix/sched_primax.c: Likewise.
28450 * posix/sched_primin.c: Likewise.
28451 * posix/sched_rr_gi.c: Likewise.
28452 * posix/sched_setaffinity.c: Likewise.
28453 * posix/sched_setp.c: Likewise.
28454 * posix/sched_sets.c: Likewise.
28455 * posix/sched_yield.c: Likewise.
28456 * posix/setgid.c: Likewise.
28457 * posix/setlogin.c: Likewise.
28458 * posix/setpgid.c: Likewise.
28459 * posix/setresgid.c: Likewise.
28460 * posix/setresuid.c: Likewise.
28461 * posix/setsid.c: Likewise.
28462 * posix/setuid.c: Likewise.
28463 * posix/sleep.c: Likewise.
28464 * posix/spawni.c: Likewise.
28465 * posix/sysconf.c: Likewise.
28466 * posix/times.c: Likewise.
28467 * posix/wait.c: Likewise.
28468 * posix/wait3.c: Likewise.
28469 * posix/wait4.c: Likewise.
28470 * posix/waitpid.c: Likewise.
28471 * resolv/gai_sigqueue.c: Likewise.
28472 * resource/getpriority.c: Likewise.
28473 * resource/getrlimit.c: Likewise.
28474 * resource/getrusage.c: Likewise.
28475 * resource/nice.c: Likewise.
28476 * resource/setpriority.c: Likewise.
28477 * resource/setrlimit.c: Likewise.
28478 * resource/ulimit.c: Likewise.
28479 * rt/aio_cancel.c: Likewise.
28480 * rt/aio_fsync.c: Likewise.
28481 * rt/aio_read.c: Likewise.
28482 * rt/aio_sigqueue.c: Likewise.
28483 * rt/aio_suspend.c: Likewise.
28484 * rt/aio_write.c: Likewise.
28485 * rt/clock_getres.c: Likewise.
28486 * rt/clock_gettime.c: Likewise.
28487 * rt/clock_nanosleep.c: Likewise.
28488 * rt/clock_settime.c: Likewise.
28489 * rt/lio_listio.c: Likewise.
28490 * rt/mq_close.c: Likewise.
28491 * rt/mq_getattr.c: Likewise.
28492 * rt/mq_notify.c: Likewise.
28493 * rt/mq_open.c: Likewise.
28494 * rt/mq_receive.c: Likewise.
28495 * rt/mq_send.c: Likewise.
28496 * rt/mq_setattr.c: Likewise.
28497 * rt/mq_timedreceive.c: Likewise.
28498 * rt/mq_timedsend.c: Likewise.
28499 * rt/mq_unlink.c: Likewise.
28500 * rt/shm_open.c: Likewise.
28501 * rt/shm_unlink.c: Likewise.
28502 * rt/timer_create.c: Likewise.
28503 * rt/timer_delete.c: Likewise.
28504 * rt/timer_getoverr.c: Likewise.
28505 * rt/timer_gettime.c: Likewise.
28506 * rt/timer_settime.c: Likewise.
28507 * setjmp/__longjmp.c: Likewise.
28508 * setjmp/setjmp.c: Likewise.
28509 * signal/kill.c: Likewise.
28510 * signal/killpg.c: Likewise.
28511 * signal/raise.c: Likewise.
28512 * signal/sigaction.c: Likewise.
28513 * signal/sigaltstack.c: Likewise.
28514 * signal/sigblock.c: Likewise.
28515 * signal/sigignore.c: Likewise.
28516 * signal/sigintr.c: Likewise.
28517 * signal/signal.c: Likewise.
28518 * signal/sigpause.c: Likewise.
28519 * signal/sigpending.c: Likewise.
28520 * signal/sigqueue.c: Likewise.
28521 * signal/sigreturn.c: Likewise.
28522 * signal/sigset.c: Likewise.
28523 * signal/sigsetmask.c: Likewise.
28524 * signal/sigstack.c: Likewise.
28525 * signal/sigsuspend.c: Likewise.
28526 * signal/sigtimedwait.c: Likewise.
28527 * signal/sigvec.c: Likewise.
28528 * signal/sigwait.c: Likewise.
28529 * signal/sigwaitinfo.c: Likewise.
28530 * signal/sysv_signal.c: Likewise.
28531 * socket/accept.c: Likewise.
28532 * socket/accept4.c: Likewise.
28533 * socket/bind.c: Likewise.
28534 * socket/connect.c: Likewise.
28535 * socket/getpeername.c: Likewise.
28536 * socket/getsockname.c: Likewise.
28537 * socket/getsockopt.c: Likewise.
28538 * socket/isfdtype.c: Likewise.
28539 * socket/listen.c: Likewise.
28540 * socket/recv.c: Likewise.
28541 * socket/recvfrom.c: Likewise.
28542 * socket/recvmsg.c: Likewise.
28543 * socket/send.c: Likewise.
28544 * socket/sendmsg.c: Likewise.
28545 * socket/sendto.c: Likewise.
28546 * socket/setsockopt.c: Likewise.
28547 * socket/shutdown.c: Likewise.
28548 * socket/sockatmark.c: Likewise.
28549 * socket/socket.c: Likewise.
28550 * socket/socketpair.c: Likewise.
28551 * stdio-common/ctermid.c: Likewise.
28552 * stdio-common/cuserid.c: Likewise.
28553 * stdio-common/remove.c: Likewise.
28554 * stdio-common/rename.c: Likewise.
28555 * stdio-common/renameat.c: Likewise.
28556 * stdio-common/tempname.c: Likewise.
28557 * stdlib/getcontext.c: Likewise.
28558 * stdlib/makecontext.c: Likewise.
28559 * stdlib/setcontext.c: Likewise.
28560 * stdlib/swapcontext.c: Likewise.
28561 * stdlib/system.c: Likewise.
28562 * streams/fattach.c: Likewise.
28563 * streams/fdetach.c: Likewise.
28564 * streams/getmsg.c: Likewise.
28565 * streams/getpmsg.c: Likewise.
28566 * streams/putmsg.c: Likewise.
28567 * streams/putpmsg.c: Likewise.
28568 * sysdeps/unix/bsd/getpt.c: Likewise.
28569 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28570 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28571 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28573 Likewise.
28574 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28575 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28576 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28577 * sysvipc/msgctl.c: Likewise.
28578 * sysvipc/msgget.c: Likewise.
28579 * sysvipc/msgrcv.c: Likewise.
28580 * sysvipc/msgsnd.c: Likewise.
28581 * sysvipc/semctl.c: Likewise.
28582 * sysvipc/semget.c: Likewise.
28583 * sysvipc/semop.c: Likewise.
28584 * sysvipc/semtimedop.c: Likewise.
28585 * sysvipc/shmat.c: Likewise.
28586 * sysvipc/shmctl.c: Likewise.
28587 * sysvipc/shmdt.c: Likewise.
28588 * sysvipc/shmget.c: Likewise.
28589 * termios/tcdrain.c: Likewise.
28590 * termios/tcflow.c: Likewise.
28591 * termios/tcflush.c: Likewise.
28592 * termios/tcgetattr.c: Likewise.
28593 * termios/tcgetpgrp.c: Likewise.
28594 * termios/tcsendbrk.c: Likewise.
28595 * termios/tcsetattr.c: Likewise.
28596 * termios/tcsetpgrp.c: Likewise.
28597 * time/adjtime.c: Likewise.
28598 * time/clock.c: Likewise.
28599 * time/getitimer.c: Likewise.
28600 * time/gettimeofday.c: Likewise.
28601 * time/setitimer.c: Likewise.
28602 * time/settimeofday.c: Likewise.
28603 * time/stime.c: Likewise.
28604 * time/time.c: Likewise.
28605
286062012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28607
a20492cf
PT
28608 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28609 /usr/old/bin.
28610
72e182e3
PT
28611 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28612 instead of spaces.
28613 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28614
fbeafede
JM
286152012-11-03 Joseph Myers <joseph@codesourcery.com>
28616
5b5b04d6
JM
28617 [BZ #14796]
28618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28619 FE_TONEAREST before applying Dekker multiplication and Knuth
28620 addition. Clear inexact exceptions and check for exact zero
28621 results afterwards.
28622 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28623 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28625 * math/libm-test.inc (fma_test): Add more tests.
28626 (fma_test_towardzero): Likewise.
28627 (fma_test_downward): Likewise.
28628 (fma_test_upward): Likewise.
28629 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28630 function.
28631 (libc_fesetround): New macro.
28632 (libc_fesetroundf): Likewise.
28633 (libc_fesetroundl): Likewise.
28634 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28635 function.
28636 (libc_fesetround_387): Likewise.
28637 (libc_fesetroundf): New macro.
28638 (libc_fesetround): Likewise.
28639 (libc_fesetroundl): Likewise.
28640 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28641 function.
28642 (libc_fesetroundf): New macro.
28643 (libc_fesetround): Likewise.
28644 (libc_fesetroundl): Likewise.
28645 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28646 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28647 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28648 libm_hidden_ver.
28649 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28650 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28651 libm_hidden_def.
28652 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28653 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28654 libm_hidden_ver.
28655 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28656 libm_hidden_def.
28657
fbeafede
JM
28658 [BZ #3439]
28659 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28660 integer constant usable in #if and use that to give value to enum
28661 constant.
28662 (FE_DIVBYZERO): Likewise.
28663 (FE_UNDERFLOW): Likewise.
28664 (FE_OVERFLOW): Likewise.
28665 (FE_INVALID): Likewise.
28666 (FE_INVALID_SNAN): Likewise.
28667 (FE_INVALID_ISI): Likewise.
28668 (FE_INVALID_IDI): Likewise.
28669 (FE_INVALID_ZDZ): Likewise.
28670 (FE_INVALID_IMZ): Likewise.
28671 (FE_INVALID_COMPARE): Likewise.
28672 (FE_INVALID_SOFTWARE): Likewise.
28673 (FE_INVALID_SQRT): Likewise.
28674 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28675 (FE_TONEAREST): Likewise.
28676 (FE_TOWARDZERO): Likewise.
28677 (FE_UPWARD): Likewise.
28678 (FE_DOWNWARD): Likewise.
28679 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28680 (FE_DIVBYZERO): Likewise.
28681 (FE_OVERFLOW): Likewise.
28682 (FE_UNDERFLOW): Likewise.
28683 (FE_INEXACT): Likewise.
28684 (FE_TONEAREST): Likewise.
28685 (FE_DOWNWARD): Likewise.
28686 (FE_UPWARD): Likewise.
28687 (FE_TOWARDZERO): Likewise.
28688 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28689 (FE_UNDERFLOW): Likewise.
28690 (FE_OVERFLOW): Likewise.
28691 (FE_DIVBYZERO): Likewise.
28692 (FE_INVALID): Likewise.
28693 (FE_TONEAREST): Likewise.
28694 (FE_TOWARDZERO): Likewise.
28695 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28696 (FE_OVERFLOW): Likewise.
28697 (FE_UNDERFLOW): Likewise.
28698 (FE_DIVBYZERO): Likewise.
28699 (FE_INEXACT): Likewise.
28700 (FE_TONEAREST): Likewise.
28701 (FE_TOWARDZERO): Likewise.
28702 (FE_UPWARD): Likewise.
28703 (FE_DOWNWARD): Likewise.
28704 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28705 (FE_DIVBYZERO): Likewise.
28706 (FE_OVERFLOW): Likewise.
28707 (FE_UNDERFLOW): Likewise.
28708 (FE_INEXACT): Likewise.
28709 (FE_TONEAREST): Likewise.
28710 (FE_DOWNWARD): Likewise.
28711 (FE_UPWARD): Likewise.
28712 (FE_TOWARDZERO): Likewise.
28713
105ca950
CM
287142012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28715
28716 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28717
a542b389
AS
287182012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28719
28720 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28721 commands. Quote $PWD.
28722 (blacklist_exports): Don't use remove_newlines. Replace "declare
28723 -x" by "export".
28724 (remove_newlines): Remove.
28725
f62c8abc
L
287262012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28727
28728 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28729 * stdlib/stdlib.h (atof): Moved to ...
28730 * include/bits/stdlib-float.h: Here. New file.
28731 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28732 * stdlib/bits/stdlib-float.h: New file.
28733 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28734 -mno-sse -mno-mmx.
28735 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28736 <xmmintrin.h>.
28737
0155d5b2
JM
287382012-11-02 Joseph Myers <joseph@codesourcery.com>
28739
a68d0680
JM
28740 * conform/conformtest.pl (@headers): Add fenv.h.
28741 * conform/data/fenv.h-data: New file.
28742 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28743 include of <math/fenv.h>.
28744
caf7f573
JM
28745 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28746 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28747 && !UNIX98]. Enables tests for XOPEN2K8.
28748 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28749 POSIX2008]: Likewise.
28750
6c073ad6
JM
28751 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28752 (struct rusage): Do not expect type or its members.
28753
0155d5b2
JM
28754 [BZ #3439]
28755 * math/math.h (FP_NAN): Define macro to integer constant usable in
28756 #if and use that to give value to enum constant.
28757 (FP_INFINITE): Likewise.
28758 (FP_ZERO): Likewise.
28759 (FP_SUBNORMAL): Likewise.
28760 (FP_NORMAL): Likewise.
28761
b5dcacb4
AS
287622012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28763
28764 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28765 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28766 arguments.
28767
f7934be8
RM
287682012-11-02 Roland McGrath <roland@hack.frob.com>
28769
28770 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28771 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28772 autoconf-time if not.
28773 * configure.in: Remove AC_PREREQ.
28774
d7d08bde
TMQMF
287752012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28776
28777 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28778 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28779 of the internal implementation.
28780
dcdae19a
JM
287812012-11-02 Joseph Myers <joseph@codesourcery.com>
28782
28783 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28784 except include of <misc/sys/syslog.h>.
28785
d6cffd3e
AS
287862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28787
28788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28789 function returns with a NULL context exit with zero.
28790
b3563932
TMQMF
287912012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28792
28793 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28794
b288a93d
L
287952012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28796
28797 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28798 (run_program_cmd): This.
28799 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28800 (tst_langinfo): New variable. Use it.
28801
a2421a68
SAS
288022012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28803
28804 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28805 floating point opcodes.
28806
6f796e1b
TS
288072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28808
7402596b
TS
28809 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28810 variable.
28811
d0d4f868
TS
28812 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28813
6f796e1b
TS
28814 * sysdeps/mach/hurd/powerpc: Remove directory.
28815 * sysdeps/mach/powerpc: Likewise.
28816
4da224a2
AS
288172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28818
28819 * scripts/check-local-headers.sh: Ignore c++ headers.
28820
341dd673
TS
288212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28822
28823 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28824 __libc_cleanup_region_start argument.
28825
473611b2
JM
288262012-11-01 Joseph Myers <joseph@codesourcery.com>
28827
28828 [BZ #14784]
28829 [BZ #14785]
28830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28831 x * y using scaling, not as x * y + z.
28832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28833 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28834 * math/libm-test.inc (fma_test): Add more tests.
28835 (fma_test_towardzero): Likewise.
28836 (fma_test_downward): Likewise.
28837 (fma_test_upward): Likewise.
28838
4078da3d
TS
288392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28840
28841 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28842
903252aa
JM
288432012-10-31 Joseph Myers <joseph@codesourcery.com>
28844
28845 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28846 New variable.
28847
cbc818d0
TS
288482012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28849
28850 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28851
5a03cb1e
AS
288522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28853
28854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28855 Fix sort order.
28856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28857 Likewise.
28858
90aff2ff
TMQMF
288592012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28860
28861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28862 Fix the order of the list for glibc 2.17.
28863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28864 Likewise.
28865
1818fcb7
AS
288662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28867
28868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28869
ef82f4da
JM
288702012-10-31 Joseph Myers <joseph@codesourcery.com>
28871
16a0e2ec
JM
28872 [BZ #14610]
28873 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28874 for low part of x being zero before using __atanl (y).
28875 * math/libm-test.inc (atan2_test): Add another test.
28876
0eb69512
JM
28877 * manual/install.texi (Configuring and compiling): Document
28878 general use of test-wrapper and test-wrapper-env.
28879 * INSTALL: Regenerated.
28880
ef82f4da
JM
28881 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28882 (__fma): Do not extract and scale down low bits on after-rounding
28883 systems when result rounded to normal precision would have normal
28884 exponent.
28885 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28886 (__fmal): Do not extract and scale down low bits on after-rounding
28887 systems when result rounded to normal precision would have normal
28888 exponent.
28889 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28890 (__fmal): Do not extract and scale down low bits on after-rounding
28891 systems when result rounded to normal precision would have normal
28892 exponent.
28893 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28894 macro.
28895 (fma_test): Add more tests.
28896 (fma_test_towardzero): Likewise.
28897 (fma_test_downward): Likewise.
28898 (fma_test_upward): Likewise.
28899
954ef0d9
L
289002012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28901
28902 * sysdeps/i386/tininess.h: Renamed to ...
28903 * sysdeps/x86/tininess.h: This.
28904 * sysdeps/x86_64/tininess.h: Removed.
28905
df61ffb2
JM
289062012-10-30 Joseph Myers <joseph@codesourcery.com>
28907
28908 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28909 input. Use $(build-program-cmd).
28910 ($(objpfx)tst-array1-static.out): Likewise.
28911 ($(objpfx)tst-array2.out): Likewise.
28912 ($(objpfx)tst-array3.out): Likewise.
28913 ($(objpfx)tst-array4.out): Likewise.
28914 ($(objpfx)tst-array5.out): Likewise.
28915 ($(objpfx)tst-array5-static.out): Likewise.
28916
01767843
CM
289172012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28918
47cc1490
CM
28919 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28920 if defined.
28921
01767843
CM
28922 * nss/nsswitch.h (nss_interface_function): Provide new
28923 macro for use with NSS functions.
28924 * grp/initgroups.c: Use new macro.
28925 * nss/getXXbyYY.c: Likewise.
28926 * nss/getXXbyYY_r.c: Likewise.
28927 * nss/getXXent.c: Likewise.
28928 * nss/getXXent_r.c: Likewise.
28929 * sysdeps/posix/getaddrinfo.c: Likewise.
28930
8321aa97
AJ
289312012-10-30 Andreas Jaeger <aj@suse.de>
28932
28933 * po/ru.po: Update Russion translation from translation project.
28934
2a27fd6d
JM
289352012-10-30 Joseph Myers <joseph@codesourcery.com>
28936
8627a232
JM
28937 [BZ #14152]
28938 [BZ #14783]
28939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28940 result and shift together with sticky bit instead of replicating
28941 round-to-nearest rounding.
28942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28944 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28945 missing underflow exceptions.
28946 (fma_test_towardzero): Add more tests.
28947 (fma_test_downward): Likewise.
28948 (fma_test_upward): Likewise.
28949
2a27fd6d
JM
28950 [BZ #14047]
28951 * sysdeps/generic/tininess.h: New file.
28952 * sysdeps/i386/tininess.h: Likewise.
28953 * sysdeps/sh/tininess.h: Likewise.
28954 * sysdeps/x86_64/tininess.h: Likewise.
28955 * stdlib/tst-strtod-underflow.c: Likewise.
28956 * stdlib/tst-tininess.c: Likewise.
28957 * stdlib/strtod_l.c: Include <tininess.h>.
28958 (round_and_return): Do not set errno for exact underflow cases.
28959 Force an underflow exception when setting errno for underflow.
28960 Determine underflow based on rounding to normal precision if
28961 TININESS_AFTER_ROUNDING.
28962 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28963 ERANGE for exact underflow cases.
28964 * stdlib/Makefile (tests): Add tst-tininess and
28965 tst-strtod-underflow.
28966 ($(objpfx)tst-tininess): Use $(link-libm).
28967 ($(objpfx)tst-strtod-underflow): Likewise.
28968
e7170363
AJ
289692012-10-30 Andreas Jaeger <aj@suse.de>
28970
e5088dc6
AJ
28971 [BZ#14767]
28972 * elf/Makefile (tests): Remove conditional for have-initfini-array
28973 since this is now always required and the variable does not exist
28974 anymore.
28975 (tests-static): Likewise.
28976 (modules-names): Likewise.
28977
e7170363 28978 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28979
28980 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28981 merged with constructor/destructor.
28982 (init_array): Likewise.
28983 * elf/tst-array2dep.c (fini_array): Likewise.
28984 (init_array): Likewise.
28985
60457d8a
MF
289862012-10-29 Mike Frysinger <vapier@gentoo.org>
28987
28988 * manual/message.texi: Delete @cartouche tags.
28989
8bece752
PT
289902012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28991
94ce799f
PT
28992 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28993 EOPNOTSUPP.
28994 * sysdeps/mach/hurd/fsync.c: Likewise.
28995
8bece752
PT
28996 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28997 [_POSIX_REALTIME_SIGNALS]: Change condition to
28998 [_POSIX_REALTIME_SIGNALS > 0].
28999
86ebe6b1
AJ
290002012-10-27 Andreas Jaeger <aj@suse.de>
29001
29002 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29003 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29005 [__WORDSIZE != 64]: Likewise.
29006
54399c08
L
290072012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29008
29009 * iconvdata/tst-table.sh: Remove ${SHELL}.
29010 * iconvdata/tst-tables.sh: Likewise.
29011
e2211bed
DM
290122012-10-25 David S. Miller <davem@davemloft.net>
29013
29014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29015 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29016 of strtoull.
29017
f303f97c
DM
29018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29019 ifunc-impl-list.c
29020 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29021 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29022 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29023 file.
29024
1e9d84cd
RM
290252012-10-25 Roland McGrath <roland@hack.frob.com>
29026
29027 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29028 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29029 __getdirentries.
29030
df381762
JM
290312012-10-25 Joseph Myers <joseph@codesourcery.com>
29032 Jim Blandy <jimb@codesourcery.com>
29033
29034 * scripts/cross-test-ssh.sh: New file.
29035 * manual/install.texi (Configuring and compiling): Document use of
29036 cross-test-ssh.sh.
29037 * INSTALL: Regenerated.
29038
bff64913
PT
290392012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29040
29041 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29042 EOPNOTSUPP.
29043
25fe8932
JM
290442012-10-25 Joseph Myers <joseph@codesourcery.com>
29045
29046 * Makeconfig (run-program-prefix): Fix comment.
29047
cc1290d0
JM
290482012-10-24 Joseph Myers <joseph@codesourcery.com>
29049 Jim Blandy <jimb@codesourcery.com>
29050
29051 * Makeconfig (test-wrapper): New variable,
29052 (test-wrapper-env): Likewise.
29053 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29054 (run-built-tests): Define to yes.
29055 (run-program-prefix): Use $(test-wrapper).
29056 (built-program-cmd): Likewise.
29057 * Rules (make-test-out): Use $(test-wrapper-env) and
29058 $(host-built-program-cmd).
29059 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29060 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29061 tst-pathopt.sh.
29062 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29063 $(test-wrapper-env) to tst-rtld-load-self.sh.
29064 ($(objpfx)order2.out): Use $(test-wrapper).
29065 ($(objpfx)tst-initorder.out): Likewise.
29066 ($(objpfx)tst-initorder2.out): Likewise.
29067 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29068 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29069 (test_wrapper_env): New variable. Use it to run ld.so.
29070 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29071 Use it to run ld.so.
29072 (test_wrapper_env): Likewise.
29073 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29074 $(test-wrapper) to run-iconv-test.sh.
29075 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29076 (ICONV): Use $test_wrapper.
29077 * posix/Makefile ($(objpfx)globtest.out): Pass
29078 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29079 globtest.sh, not $(run-program-prefix).
29080 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29081 (test_wrapper): Likewise.
29082 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29083 set together with run_via_rtld_prefix.
29084 (run_program_prefix): Define in terms of test_wrapper and
29085 run_via_rtld_prefix.
29086
6e6249d0
RM
290872012-10-24 Roland McGrath <roland@hack.frob.com>
29088
29089 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29090 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29091 Targets removed.
29092
29093 [BZ #14743]
29094 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29095 Declare __clock_getres, __clock_gettime, __clock_settime,
29096 __clock_nanosleep, and __clock_getcpuclockid.
29097 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29098 Remove librt_hidden_def (clock_gettime).
29099 * sysdeps/unix/clock_gettime.c: Likewise.
29100 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29101 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29102 * rt/clock_getres.c: Define __clock_getres as an alias.
29103 * sysdeps/posix/clock_getres.c: Likewise.
29104 * rt/clock_settime.c: Define __clock_settime as an alias.
29105 * sysdeps/unix/clock_settime.c: Likewise.
29106 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29107 * sysdeps/unix/clock_nanosleep.c: Likewise.
29108 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29109 * rt/clock-compat.c: New file.
29110 * rt/Makefile (librt-routines): Add clock-compat and move
29111 $(clock-routines) to ...
29112 (routines): ... here, new variable.
29113 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29114 Don't add get_clockfreq here.
29115 * rt/Versions (libc: GLIBC_2.17): New version set.
29116 Add clock_* symbols here.
29117 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29118 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29119 (GLIBC_2.17): Add clock_* symbols.
29120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29122 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29124 Likewise.
29125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29126 Likewise.
29127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29131 * NEWS: Mention the move.
29132
29133 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29134 Use __open, __read, __close rather than their public counterparts.
29135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29136 (__get_clockfreq_via_cpuinfo): Likewise.
29137 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29138 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29139
29140 * config.h.in (HAVE_IFUNC): New #undef.
29141 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29142 was successful.
29143 * configure: Regenerated.
29144
0cae3f4b
MF
291452012-10-24 Mike Frysinger <vapier@gentoo.org>
29146
29147 * configure.in: Move READELF check to start of file.
29148 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29149 libc_cv_asm_gnu_indirect_function in the process.
29150 * configure: Regenerated.
29151
8175a253
MF
291522012-10-24 Mike Frysinger <vapier@gentoo.org>
29153
29154 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29155 send the output to /dev/null.
29156 (libc_cv_cc_with_libunwind): Likewise.
29157 (libc_cv_as_noexecstack): Likewise.
29158 * configure: Regenerate.
29159
0708a7d1
JM
291602012-10-24 Joseph Myers <joseph@codesourcery.com>
29161
10b40d85
JM
29162 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29163
0708a7d1
JM
29164 * posix/globtest.sh (TMPDIR): Do not set.
29165 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29166 (testout): Likewise.
29167
9fddec1a
AJ
291682012-10-24 Andreas Jaeger <aj@suse.de>
29169
3a8db22f
AJ
29170 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29171 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29172 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29173 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29174 posix_fadvise64, posix_fallocate64.
29175
9fddec1a
AJ
29176 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29177 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29178 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29179 Likewise.
29180 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29181 Likewise.
29182 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29183
29184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29185 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29186 <bits/fcntl-linux.h>.
29187 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29188
29189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29190 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29191 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29192 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29193 [__WORDSIZE != 64]: Likewise.
29194
ebfd1bbd
JM
291952012-10-23 Joseph Myers <joseph@codesourcery.com>
29196
03ac099f
JM
29197 * Makeconfig (run-built-tests): New variable.
29198 * Rules [$(cross-compiling) = yes]: Change condition to
29199 [$(run-built-tests) = no].
29200 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29201 to [$(run-built-tests) = yes].
29202 * elf/Makefile [$(cross-compiling) = no]: Likewise
29203 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29204 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29205 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29206 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29207 * io/Makefile [$(cross-compiling) = no]: Likewise.
29208 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29209 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29210 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29211 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29212 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29213 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29214 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29215 * string/Makefile [$(cross-compiling) = no]: Likewise.
29216
ebfd1bbd
JM
29217 * posix/Makefile ($(objpfx)globtest.out): Pass
29218 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29219 $(rtld-installed-name).
29220 * posix/globtest.sh (elf_objpfx): Remove variable.
29221 (rtld_installed_name): Likewise.
29222 (library_path): Likewise.
29223 (run_program_prefix): New variable. Use for running globtest
29224 binary.
29225
166bca24
JB
292262012-10-23 Jim Blandy <jimb@codesourcery.com>
29227 Joseph Myers <joseph@codesourcery.com>
29228
29229 * Makeconfig (host-built-program-cmd): New variable.
29230 * elf/Makefile (tst-stackguard1-ARGS): Use
29231 $(host-built-program-cmd).
29232 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29233 (tst-spawn-ARGS): Likewise.
29234 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29235
88866099
JM
292362012-10-23 Joseph Myers <joseph@codesourcery.com>
29237 Jim Blandy <jimb@codesourcery.com>
29238
29239 * Makeconfig (run-via-rtld-prefix): New variable.
29240 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29241 (built-program-cmd): Likewise.
29242
b4b4c296
AJ
292432012-10-22 Andreas Jaeger <aj@suse.de>
29244
29245 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29246 __O_RSYNC if it exists, otherwise to O_SYNC.
29247
6fb54a22
JB
292482012-10-22 Jim Blandy <jimb@codesourcery.com>
29249 Joseph Myers <joseph@codesourcery.com>
29250
29251 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29252 /dev/null.
29253 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29254 from /dev/null
29255 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29256 /dev/null.
29257
481b90b9
AJ
292582012-10-22 Andreas Jaeger <aj@suse.de>
29259
2a0e2669
AJ
29260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29261 Define always.
29262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29263
76e38f9a
AJ
29264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29265 bits/fcntl-linux.h.
29266
7cd37b43
AJ
29267 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29268 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29269
481b90b9
AJ
29270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29271 to __O_LARGEFILE.
29272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29273 to __O_LARGEFILE.
29274
aba75984
JB
292752012-10-21 Jim Blandy <jimb@codesourcery.com>
29276 Joseph Myers <joseph@codesourcery.com>
29277
29278 * config.make.in (NM): New variable.
29279
88d4247f
AJ
292802012-10-21 Andreas Jaeger <aj@suse.de>
29281
29282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29283 definitions and declarations that are provided by
29284 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29285
f2eed205
L
292862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29287
29288 [BZ #14683]
29289 * elf/Makefile (tests-static): Add tst-leaks1-static.
29290 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29291 ($(objpfx)tst-leaks1-static): New rule.
29292 ($(objpfx)tst-leaks1-static-mem): Likewise.
29293 (tst-leaks1-static-ENV): New macro.
29294 * elf/dl-open.c (dl_open_worker): Check the main application
29295 only if SHARED is defined.
29296 * elf/tst-leaks1-static.c: New file.
29297
335e6931
AJ
292982012-10-20 Andreas Jaeger <aj@suse.de>
29299
29300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29301 generic values for Linux.
29302 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29303 and declarations that are provided by <bits/fcntl-linux.h> and
29304 include <bits/fcntl-linux.h>.
29305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29307
ac5c94d3
RM
293082012-10-20 Roland McGrath <roland@hack.frob.com>
29309
29310 * io/fcntl.h: Move include of <bits/types.h> to the top and
29311 include it unconditionally.
29312
de54b33a
L
293132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29314
228cfb01
L
29315 * wcsmbs/Makefile (tests-ifunc): New variable.
29316 (tests): Add $(tests-ifunc).
29317 * wcsmbs/test-wcschr-ifunc.c: New file.
29318 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29319 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29320 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29321 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29322 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29323
69f07e5f
L
29324 * string/Makefile (tests-ifunc): New variable.
29325 (tests): Add $(tests-ifunc).
29326 * string/test-memccpy.c (TEST_NAME): New macro.
29327 * string/test-memchr.c (TEST_NAME): Likewise.
29328 * string/test-memcmp.c (TEST_NAME): Likewise.
29329 * string/test-memcpy.c (TEST_NAME): Likewise.
29330 * string/test-memmem.c (TEST_NAME): Likewise.
29331 * string/test-memmove.c (TEST_NAME): Likewise.
29332 * string/test-memset.c (TEST_NAME): Likewise.
29333 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29334 * string/test-stpcpy.c (TEST_NAME): Likewise.
29335 * string/test-stpncpy.c (TEST_NAME): Likewise.
29336 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29337 * string/test-strcasestr.c (TEST_NAME): Likewise.
29338 * string/test-strcat.c (TEST_NAME): Likewise.
29339 * string/test-strchr.c (TEST_NAME): Likewise.
29340 * string/test-strcmp.c(TEST_NAME): Likewise.
29341 * string/test-strcpy.c (TEST_NAME): Likewise.
29342 * string/test-strcspn.c (TEST_NAME): Likewise.
29343 * string/test-strlen.c (TEST_NAME): Likewise.
29344 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29345 * string/test-strncmp.c (TEST_NAME): Likewise.
29346 * string/test-strncpy.c (TEST_NAME): Likewise.
29347 * string/test-strnlen.c (TEST_NAME): Likewise.
29348 * string/test-strpbrk.c (TEST_NAME): Likewise.
29349 * string/test-strrchr.c (TEST_NAME): Likewise.
29350 * string/test-strspn.c (TEST_NAME): Likewise.
29351 * string/test-strstr.c (TEST_NAME): Likewise.
29352 * string/test-bcopy-ifunc.c: New file.
29353 * string/test-bzero-ifunc.c: Likewise.
29354 * string/test-memccpy-ifunc.c: Likewise.
29355 * string/test-memchr-ifunc.c: Likewise.
29356 * string/test-memcmp-ifunc.c: Likewise.
29357 * string/test-memcpy-ifunc.c: Likewise.
29358 * string/test-memmem-ifunc.c: Likewise.
29359 * string/test-memmove-ifunc.c: Likewise.
29360 * string/test-mempcpy-ifunc.c: Likewise.
29361 * string/test-memset-ifunc.c: Likewise.
29362 * string/test-rawmemchr-ifunc.c: Likewise.
29363 * string/test-stpcpy-ifunc.c: Likewise.
29364 * string/test-stpncpy-ifunc.c: Likewise.
29365 * string/test-strcasecmp-ifunc.c: Likewise.
29366 * string/test-strcasestr-ifunc.c: Likewise.
29367 * string/test-strcat-ifunc.c: Likewise.
29368 * string/test-strchr-ifunc.c: Likewise.
29369 * string/test-strchrnul-ifunc.c: Likewise.
29370 * string/test-strcmp-ifunc.c: Likewise.
29371 * string/test-strcpy-ifunc.c: Likewise.
29372 * string/test-strcspn-ifunc.c: Likewise.
29373 * string/test-strlen-ifunc.c: Likewise.
29374 * string/test-strncasecmp-ifunc.c: Likewise.
29375 * string/test-strncat-ifunc.c: Likewise.
29376 * string/test-strncmp-ifunc.c: Likewise.
29377 * string/test-strncpy-ifunc.c: Likewise.
29378 * string/test-strnlen-ifunc.c: Likewise.
29379 * string/test-strpbrk-ifunc.c: Likewise.
29380 * string/test-strrchr-ifunc.c: Likewise.
29381 * string/test-strspn-ifunc.c: Likewise.
29382 * string/test-strstr-ifunc.c: Likewise.
29383
de54b33a
L
29384 * debug/Makefile (tests-ifunc): New variable.
29385 (tests): Add $(tests-ifunc).
29386 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29387 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29388 * debug/test-stpcpy_chk-ifunc.c: New file.
29389 * debug/test-strcpy_chk-ifunc.c: Likewise.
29390
88481c16
SP
293912012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29392
29393 [BZ #13601]
29394 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29395 header is not read in.
29396
135948bd
JM
293972012-10-19 Joseph Myers <joseph@codesourcery.com>
29398
89f1c388
JM
29399 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29400 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29401 directly. Pass built executable to script as
29402 $(built-program-cmd).
29403 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29404 $testprogram without using LD_LIBRARY_PATH and $ldso.
29405
e40a0d21
JM
29406 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29407 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29408 $(rtld-installed-name).
29409 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29410 (rtld_installed_name): Likewise.
29411 (library_path): Likewise.
29412 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29413 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29414 $(run-program-prefix) to tst-tables.sh.
29415 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29416 it to run tst-table-from and tst-table-to.
29417 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29418 Pass it to tst-table.sh.
29419 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29420 $(run-program-prefix) to tst-gettext.sh.
29421 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29422 tst-translit.sh.
29423 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29424 tst-gettext2.sh.
29425 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29426 to run tst-gettext.
29427 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29428 to run tst-gettext2.
29429 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29430 to run tst-translit.
29431 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29432 $(run-program-prefix) to tst-mtrace.sh.
29433 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29434 to run tst-mtrace.
29435 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29436 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29437 $(rtld-installed-name).
29438 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29439 (rtld_installed_name): Likewise.
29440 (run_program_prefix): New variable. Use it to run wordexp-test.
29441
728e272a
JM
29442 * Makeconfig (ARCH): Remove all definitions.
29443 (machine): Likewise.
29444 [ARCH]: Remove conditional code.
29445 [!objdir]: Give error.
29446 [!objdir] (objpfx): Remove.
29447 [!objdir] (common-objpfx): Likewise.
29448 [!objdir] (common-objdir): Likewise.
29449 * configure.in (config_makefile): Remove. Hardcode Makefile in
29450 AC_CONFIG_FILES call.
29451 * configure: Regenerated.
29452
d528cdcf
JM
29453 [BZ #13888]
29454 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29455 or TMPDIR.
29456 (testout): Likewise.
29457
135948bd
JM
29458 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29459 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29460 $(rtld-installed-name).
29461 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29462 (rtld_installed_name): Likwise.
29463 (runit): Remove function.
29464 (run_getconf): New variable, Use it for running getconf binary.
29465
38c78296
L
294662012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29467
29468 [BZ #14716]
29469 * string/test-memmem.c (check_result): New function.
29470 (do_one_test): Use it.
29471 (check1): New function.
29472 (test_main): Use it.
29473
d077f65f
MT
294742012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29475
29476 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29477
ced52c71
JM
294782012-10-18 Joseph Myers <joseph@codesourcery.com>
29479
29480 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29481 (_G_LSEEK64): Likewise.
29482 (_G_MMAP64): Likewise.
29483 (_G_FSTAT64): Likewise.
29484 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29485 (_G_LSEEK64): Likewise.
29486 (_G_MMAP64): Likewise.
29487 (_G_FSTAT64): Likewise.
29488 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29489 unconditional. Call __mmap64 directly.
29490 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29491 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29492 __lseek64 directly.
29493 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29494 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29495 __mmap64 directly.
29496 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29497 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29498 __lseek64 directly.
29499 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29500 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29501 __lseek64 directly.
29502 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29503 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29504 __lseek64 directly.
29505 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29506 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29507 __fxstat64 directly.
29508 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29509 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29510 unconditional.
29511 (freopen64) [!_G_OPEN64]: Remove conditional code.
29512 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29513 unconditional.
29514 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29515 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29516 unconditional.
29517 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29518 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29519 unconditional.
29520 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29521 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29522 unconditional.
29523 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29524 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29525 unconditional.
29526 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29527 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29528 unconditional.
29529 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29530 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29531 unconditional.
29532 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29533
b741de23
SP
295342012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29535
29536 [BZ #12140]
29537 * manual/memory.texi (Malloc Tunable Parameters): Add note
29538 about free list pointers overwriting some perturb bytes.
29539 Wording suggested by Roland McGrath.
29540
f9b9d9c9
JM
295412012-10-17 Joseph Myers <joseph@codesourcery.com>
29542
29543 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29544 (lgamma_test): Likewise.
29545 (tgamma_test): Likewise.
29546
172a631a
FW
295472012-10-16 Florian Weimer <fweimer@redhat.com>
29548
29549 [BZ #14700]
29550 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29551 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29552
e9f37252
MK
295532012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29554
29555 * NEWS: Mention BZ #14716.
29556 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29557 when removing AVAILABLE1_USES_J macro.
29558
d394eb74
L
295592012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29560
29561 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29562 (__bswap_64): __uint64_t for unsigned 64-bit int.
29563
ca38dc17
AS
295642012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29565
29566 * include/string.h (memmem): Declare libc hidden alias.
29567 * string/memmem.c (memmem): Define libc hidden alias.
29568 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29569 __read, __close instead of open, read, close.
29570
9a387d1f
L
295712012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29572
ac49ecaf
L
29573 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29574 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29575 global and hidden.
29576 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29577 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29578 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29579 Likewise.
29580 (__rawmemchr_sse2): Likewise.
29581 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29582 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29583 (__strchr_sse2): Likewise.
29584 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29585 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29586 (__strcasecmp_sse2): Likewise.
29587 (__strncasecmp_sse2): Likewise.
29588 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29589 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29590 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29591 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29592 (__strrchr_sse2): Likewise.
29593 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29594 ifunc-impl-list.c.
29595 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29596 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29597 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29598 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29599 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29600 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29601 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29602 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29603 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29604 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29605 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29606 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29607 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29608 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29609 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29610 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29611 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29612 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29613 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29614 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29615 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29616 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29617 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29618 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29619 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29620 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29621 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29622 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29623 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29624 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29625
b090e8ea
L
29626 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29627 global and hidden.
29628 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29629 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29630 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29631 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29632 Likewise.
29633 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29634 Likewise.
29635 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29636 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29637 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29638 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29639 ifunc-impl-list.c.
29640 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29641 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29642 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29643 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29644 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29645 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29646 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29647 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29648 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29649 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29650 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29651 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29652 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29653 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29654 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29655 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29656 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29657 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29658 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29659 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29660 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29661 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29662 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29663 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29664 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29665 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29666 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29667 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29668 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29669 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29670 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29671 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29672 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29673 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29674 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29675 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29676 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29677 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29678 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29679 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29680 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29681
11dd4af6
L
29682 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29683 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29684 * include/ifunc-impl-list.h: New file.
29685 * misc/ifunc-impl-list.c: Likewise.
29686 * misc/Makefile (routines): Add ifunc-impl-list.
29687 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29688 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29689 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29690 TEST_NAME]: New variables.
11dd4af6
L
29691 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29692 are defined.
29693 (test_init): Call __libc_ifunc_impl_list to initialize
29694 func_list if TEST_IFUNC and TEST_NAME are defined.
29695
9a387d1f
L
29696 * string/Makefile (strop-tests): Add bcopy and bzero.
29697 * string/test-bcopy.c: New file.
29698 * string/test-bzero.c: Likewise.
29699 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29700 defined.
29701 * string/test-memset.c: Support bzero test if TEST_BZERO is
29702 defined.
29703 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29704 __libc_memmove.
29705 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29706 __libc_memset.
29707 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29708 of memset.
29709
472371b9
JM
297102012-10-10 Joseph Myers <joseph@codesourcery.com>
29711
1e4a9536
JM
29712 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29713 * configure: Regenerated.
29714
d173d12e
JM
29715 * Makeconfig (+link-static-before-libc): Don't include
29716 $(link-static-libc).
29717
472371b9
JM
29718 * libio/libio.h (_IO_pos_t): Remove.
29719
89a3ad0b
AO
297202012-10-10 Alexandre Oliva <aoliva@redhat.com>
29721
29722 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29723 McGrath.
29724
e7451425
AO
297252012-10-10 Alexandre Oliva <aoliva@redhat.com>
29726
29727 * crypt/crypt-entry.c: Include fips-private.h.
29728 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29729 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29730 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29731 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29732
4ba74a35
AO
297332012-10-10 Alexandre Oliva <aoliva@redhat.com>
29734
29735 * crypt/crypt-private.h: Include stdbool.h.
29736 (_ufc_setup_salt_r): Return bool.
29737 * crypt/crypt-entry.c: Include errno.h.
29738 (__crypt_r): Return NULL with EINVAL for bad salt.
29739 * crypt/crypt_util.c (bad_for_salt): New.
29740 (_ufc_setup_salt_r): Check that salt is long enough and within
29741 the specified alphabet.
29742 * crypt/badsalttest.c: New file.
29743 * crypt/Makefile (tests): Add it.
29744 ($(objpfx)badsalttest): New.
29745
f96f1242
MK
297462012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29747
29748 * NEWS: Add entry for BZ #14602.
29749
0e8e0c1c
JM
297502012-10-09 Joseph Myers <joseph@codesourcery.com>
29751
29752 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29753 type-generic.
29754 * math/libm-test.inc: Update comment listing what functions and
29755 macros are tested.
29756 (isgreater_test): New function.
29757 (isgreaterequal_test): Likewise.
29758 (isless_test): Likewise.
29759 (islessequal_test): Likewise.
29760 (islessgreater_test): Likewise.
29761 (isunordered_test): Likewise.
29762 (main): Call the new functions.
29763
273edc5e
RM
297642012-10-09 Roland McGrath <roland@hack.frob.com>
29765
b8493de0
RM
29766 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29767 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29768 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29769 * sysdeps/i386/configure: Regenerated.
29770 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29771 * sysdeps/mach/configure: Regenerated.
29772 * sysdeps/mach/hurd/configure: Regenerated.
29773 * sysdeps/powerpc/configure: Regenerated.
29774 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29775 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29776 * sysdeps/s390/s390-32/configure: Regenerated.
29777 * sysdeps/s390/s390-64/configure: Regenerated.
29778 * sysdeps/sh/configure: Regenerated.
29779 * sysdeps/sparc/configure: Regenerated.
29780 * sysdeps/unix/sysv/linux/configure: Regenerated.
29781 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29782 * sysdeps/x86_64/configure: Regenerated.
29783
273edc5e
RM
29784 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29785 defined. Don't check if MAP is NULL.
29786
c8450f70
JM
297872012-10-09 Joseph Myers <joseph@codesourcery.com>
29788
29789 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29790 (_G_stat64): Likewise.
29791 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29792 (_G_stat64): Likewise.
29793 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29794 instead of struct _G_stat64.
29795 * libio/fileops.c (mmap_remap_check): Likewise.
29796 (decide_maybe_mmap): Likewise.
29797 (_IO_new_file_seekoff): Likewise.
29798 (_IO_file_stat): Likewise.
29799 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29800 _G_off64_t.
29801 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29802 instead of struct _G_stat64.
29803 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29804
57e605ba
MK
298052012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29806
29807 [BZ #14602]
29808 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29809 Replace with ...
29810 (CHECK_EOL): New macro.
29811 (two_way_short_needle): Check beginning of haystack for EOL. Use
29812 CHECK_EOL.
29813 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29814 Replace with CHECK_EOL.
29815 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29816 Replace with CHECK_EOL.
29817
ef1bb361
JM
298182012-10-08 Joseph Myers <joseph@codesourcery.com>
29819
29820 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29821 type-generic.
29822 * math/libm-test.inc: Update comment listing what functions and
29823 macros are tested.
29824 (finite_test): New function.
29825 (isinf_test): Likewise.
29826 (isnan_test): Likewise.
29827 (fpclassify_test): Test subnormal input.
29828 (isfinite_test): Likewise.
29829 (isnormal_test): Likewise.
29830 (main): Call the new functions.
29831
55f11534
JN
298322012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29833
29834 [BZ #14660]
29835 * Makerules (%.dynsym): Force C locale when running
29836 $(OBJDUMP) --dynamic-syms.
29837
1ab29350
AS
298382012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29839
29840 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29841 <stdint.h>.
29842
f1ecb7ef
DM
298432012-10-06 David S. Miller <davem@davemloft.net>
29844
29845 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29846 upper 32-bits of the length value in %o2 since we use branch-on-register
29847 tests which consider the entire 64-bit register.
29848
5d41d91a
L
298492012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29850
29851 * string/test-strstr.c (check2): Add a test for page boundary.
29852
3baddb72
DM
298532012-10-05 David S. Miller <davem@davemloft.net>
29854
29855 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29856 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29857 file.
29858 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29859 sysdep_routines.
29860 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29861 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29862 and bzero when HWCAP_SPARC_CRYPTO is present.
29863
9cee5585
L
298642012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29865
d7e0dab9
L
29866 [BZ #14602]
29867 * string/test-strstr.c (check2): New function.
29868 (test_main): Call check2.
29869
03759f47
L
29870 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29871 and bug-strchr1.
29872 * string/bug-strcasestr1.c (do_test): Moved to ...
29873 * string/test-strcasestr.c (check1): Here. New function.
29874 (do_one_test): Break out result checking code into ...
29875 (check_result): This. New function.
29876 (do_one_test): Call check_result.
29877 (test_main): Call check1.
29878 * string/bug-strchr1.c (do_test): Moved to ...
29879 * string/test-strchr.c (check1): Here. New function.
29880 (do_one_test): Break out result checking code into ...
29881 (check_result): This. New function.
29882 (do_one_test): Call check_result.
29883 (test_main): Call check1.
29884 * string/bug-strstr1.c (main): Moved to ...
046f153e 29885 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29886 (do_one_test): Break out result checking code into ...
29887 (check_result): This. New function.
29888 (do_one_test): Call check_result.
29889 (test_main): Call check1.
29890 * string/bug-strcasestr1.c: Removed.
29891 * string/bug-strchr1.c: Likewise.
29892 * string/bug-strstr1.c: Likewise.
29893
53cea63e
L
29894 * elf/Makefile (dl-routines): Add hwcaps.
29895 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29896 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29897 (_dl_important_hwcaps): Moved to ...
29898 * elf/dl-hwcaps.c: Here. New file.
29899 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29900
9cee5585 29901 [BZ #14557]
bb859b06
L
29902 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29903 if IS_IN_rtld isn't defined.
29904
9cee5585
L
29905 * elf/dl-support.c (_dl_sysinfo_map): New.
29906 Include "get-dynamic-info.h" and "setup-vdso.h".
29907 (_dl_non_dynamic_init): Call setup_vdso.
29908 * elf/dynamic-link.h: Don't include <assert.h>.
29909 (elf_get_dynamic_info): Moved to ...
29910 * elf/get-dynamic-info.h: Here. New file.
29911 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29912 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29913 * elf/setup-vdso.h: Here. New file.
29914 * elf/rtld.c: Include "setup-vdso.h".
29915 (dl_main): Call setup_vdso.
29916
23c31b76
JM
299172012-10-05 Joseph Myers <joseph@codesourcery.com>
29918
28234b07
JM
29919 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29920 creal in comment listing functions tested. List finite, isinf,
29921 isnan, isless, islessequal, isgreater, isgreaterequal,
29922 islessgreater, isunordered, lgamma_r and pow10 as functions and
29923 macros not tested. Mention which functions not tested are aliases
29924 for other functions. Fix typo. Note that signs of NaNs are not
29925 tested.
29926
23c31b76
JM
29927 * scripts/config.guess: Update from config.git.
29928 * scripts/config.sub: Likewise.
29929
9043e228
RM
299302012-10-04 Roland McGrath <roland@hack.frob.com>
29931
29932 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29933 * misc/madvise.c (madvise): Renamed to __madvise.
29934 Make madvise a weak alias.
29935 * include/sys/mman.h: Declare __madvise.
29936 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29937 * sysdeps/unix/syscalls.list
29938 (madvise): Make __madvise the strong name, and madvise a weak alias.
29939 * sysdeps/unix/sysv/linux/syscalls.list
29940 (madvise, mmap): Remove redundant entries.
29941 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29942 * malloc/malloc.c (mtrim): Likewise.
29943 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29944
f57f8055
RM
299452012-10-03 Roland McGrath <roland@hack.frob.com>
29946
29947 * sysdeps/mach/hurd/dl-cache.c: File removed.
29948 * config.h.in (USE_LDCONFIG): New #undef.
29949 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29950 * configure: Regenerated.
29951 * elf/Makefile (dl-routines): Add dl-cache only under
29952 [$(use-ldconfig) = yes].
29953 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29954 cache on [USE_LDCONFIG].
29955 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29956 [USE_LDCONFIG].
29957 * elf/rtld.c (dl_main): Likewise.
29958
5bb0c10a
PT
299592012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29960
29961 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29962 _SC_LEVEL4_CACHE_LINESIZE.
29963
010188c6
RM
299642012-10-03 Roland McGrath <roland@hack.frob.com>
29965
29966 * sysdeps/unix/bsd/confstr.h: File removed.
29967
b6c5ec07
AO
299682012-10-02 Alexandre Oliva <aoliva@redhat.com>
29969
29970 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29971 sys/sdt-config.h.
29972
408223d4
RM
299732012-10-02 Roland McGrath <roland@hack.frob.com>
29974
29975 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29976 Make 'mapoff' field ElfW(Off) rather than off_t.
29977
bb9510dc
DL
299782012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29979
fc997c6e
DL
29980 * nscd/Makefile: Remove nscd-cflags and all its users.
29981 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29982 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29983
bb9510dc
DL
29984 [BZ #10631]
29985 * malloc.c (malloc_printerr): Clarify error message.
29986
05699367
L
299872012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29988
29989 [BZ #14648]
29990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29991 Set bit_FMA_Usable if FMA is supported.
29992 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29993 macro.
29994 (bit_FMA4_Usable): Updated.
29995 (index_FMA_Usable): New macro.
29996 (CPUID_FMA): Likewise
29997 (HAS_FMA): Defined with bit_FMA_Usable.
29998
51367701
RM
299992012-10-01 Roland McGrath <roland@hack.frob.com>
30000
30001 * bits/types.h (__swblk_t): Type removed.
30002 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30003 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30005 (__SWBLK_T_TYPE): Likewise.
30006 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30007 (__SWBLK_T_TYPE): Likewise.
30008 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30009 (__SWBLK_T_TYPE): Likewise.
30010 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30011 (__SWBLK_T_TYPE): Likewise.
30012
4d57bf63 300132012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 30014 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
30015
30016 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30017 (xdr_mapname): Use YPMAXMAP as maxsize.
30018 (xdr_peername): Use YPMAXPEER as maxsize.
30019 (xdr_keydat): Use YPAXRECORD as maxsize.
30020 (xdr_valdat): Use YPMAXRECORD as maxsize.
30021
93c65d43
RM
300222012-10-01 Roland McGrath <roland@hack.frob.com>
30023
497a03d6
RM
30024 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30025
93c65d43
RM
30026 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30027 * csu/init-first.c: ... here.
30028 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30029 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30030 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30031 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30032 * sysdeps/i386/init-first.c: File removed.
30033 * sysdeps/sh/init-first.c: File removed.
30034
bec749fd
JM
300352012-10-01 Joseph Myers <joseph@codesourcery.com>
30036
30037 [BZ #14645]
30038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30039 if x * y might underflow to zero and z is zero.
30040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30042 * math/libm-test.inc (min_subnorm_value): New variable.
30043 (fma_test): Add more tests.
30044 (fma_test_towardzero): Likewise.
30045 (fma_test_downward): Likewise
30046 (fma_test_upward): Likewise.
30047 (initialize): Set min_subnorm_value.
30048
8ec5b013
JM
300492012-09-29 Joseph Myers <joseph@codesourcery.com>
30050
30051 [BZ #14638]
30052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30053 0 + 0.
30054 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30055 mode for addition resulting in exact zero.
30056 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30058 exact 0 + 0.
30059 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30060 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30061 * math/libm-test.inc (fma_test): Add more tests.
30062 (fma_test_towardzero): New function.
30063 (fma_test_downward): Likewise.
30064 (fma_test_upward): Likewise.
30065 (main): Call the new functions.
30066
b1fa802e
DM
300672012-09-28 David S. Miller <davem@davemloft.net>
30068
30069 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30070
d3b9fd9e
RM
300712012-09-28 Roland McGrath <roland@hack.frob.com>
30072
ea4d37b3
RM
30073 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30074 instead of SIGALRM.
30075
ac51c949
RM
30076 * sysdeps/gnu/_G_config.h: Moved to ...
30077 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30078 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30079 * sysdeps/generic/_G_config.h: ... here.
30080
28c195f7
RM
30081 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30082
848917f9
RM
30083 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30084
6bacf05b
RM
30085 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30086 Conditionalize target on [libnss_test1.so-version].
30087
91363dbb
RM
30088 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30089
cc87f7d8
RM
30090 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30091 (elfobjdir): Move out of conditionals.
30092
b1c608fe
RM
30093 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30094 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30095 (__nss_lookup_function): Conditionalize label remove_from_tree on
30096 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30097
1d9a6d96
DM
300982012-09-28 David S. Miller <davem@davemloft.net>
30099
30100 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30101 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30102 file.
30103 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30104 sysdep_routines.
30105 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30107 when HWCAP_SPARC_CRYPTO is present.
30108
72581615
PT
301092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30110
30111 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30112
715a900c
JL
301132012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30114
30115 [BZ #6530]
30116 * stdio-common/vfprintf.c (process_string_arg): Revert
30117 2000-07-22 change.
30118
301192011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30120
30121 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30122 for testcase.
30123 * stdio-common/tst-sprintf.c: Include <locale.h>
30124 (main): Test sprintf's handling of incomplete multibyte
30125 characters.
30126
9bac1d86
L
301272012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30128
30129 * elf/dl-runtime.c (VERSYMIDX): Removed.
30130 * elf/dl-version.c (VERSYMIDX): Likewise.
30131 * elf/do-rel.h (VERSYMIDX): Likewise.
30132 (VALIDX): Likewise.
30133 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30134 * elf/rtld.c (VALIDX): Likewise.
30135 (ADDRIDX): Likewise.
9bac1d86
L
30136 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30137 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30138 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30139 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30140 (VALIDX): Likewise.
30141 (ADDRIDX): Likewise.
9bac1d86 30142
b31606c0
PT
301432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30144
30145 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30146
11541177
JL
301472012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30148
30149 [BZ #11438]
30150 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30151 to global scope.
30152 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30153 addresses are in the same scope as 192.0.2/24.
30154 * posix/gai.conf: Document new scope table defaults.
30155
adb26fae
SP
301562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30157
30158 [BZ #5298]
30159 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30160 for ftell. Compute offsets from write pointers instead.
30161 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30162
4573c6b0
SP
301632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30164
30165 [BZ #14543]
30166 * libio/Makefile (tests): New test case tst-fseek.
30167 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30168 combination works in wide mode.
30169 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30170 state when the external buffer state changes.
30171
aa9bbfe6
DM
301722012-09-27 David S. Miller <davem@davemloft.net>
30173
30174 [BZ #14376]
30175 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30176 pass reloc->r_addend in as the 'high' argument to
30177 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30178
784421e7
DM
30179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30180
c39bc8b8
PT
301812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30182
30183 * rt/tst-aio2.c: Include <pthread.h>.
30184 * rt/tst-aio3.c: Likewise.
30185
1ccc2399
SE
301862012-09-27 Steve Ellcey <sellcey@mips.com>
30187
30188 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30189
31ed4153
L
301902012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30191
25f5f885
L
30192 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30193 contents on [SHARED].
31ed4153 30194
b7bfe116
MP
301952012-09-26 Marek Polacek <polacek@redhat.com>
30196
30197 [BZ #14530]
30198 [BZ #13741]
30199 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30200 for C++ and GCC <4.3 as well as for non GCC compilers.
30201
43c4edba
MT
302022012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30203
30204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30205
6a1bf82f
RM
302062012-09-25 Roland McGrath <roland@hack.frob.com>
30207
30208 * Makefile.in (all, install): Declare with .PHONY.
30209 Reported by Michael Hope <michael.hope@linaro.org>.
30210
8ad11b9a
TMQMF
302112012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30212
30213 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30214 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30215 system header.
30216 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30217 Likewise.
30218 (sydep_routines): Add the new and the internal functions.
30219 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30220 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30222 (GLIBC_2.17): Add the new function.
30223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30224 (GLIBC_2.17): Likewise.
30225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30226 (GLIBC_2.17): Likewise.
30227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30228 (GLIBC_2.17): Likewise.
30229 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30230
7e2fca8d
AM
302312012-09-25 Alan Modra <amodra@gmail.com>
30232
30233 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30234 Add release barrier before setting once_control to say
30235 initialisation is done. Add hints on lwarx. Use macro in
30236 place of isync.
30237 (clear_once_control): Add release barrier.
30238
b87c4b24
JM
302392012-09-25 Joseph Myers <joseph@codesourcery.com>
30240
d032e0d2
JM
30241 [BZ #13629]
30242 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30243 specially.
30244 * math/s_clog10.c (__clog10): Likewise.
30245 * math/s_clog10f.c (__clog10f): Likewise.
30246 * math/s_clog10l.c (__clog10l): Likewise.
30247 * math/s_clogf.c (__clogf): Likewise.
30248 * math/s_clogl.c (__clogl): Likewise.
30249 * math/Makefile (libm-calls): Add x2y2m1.
30250 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30251 (__x2y2m1): Likewise.
30252 (__x2y2m1l): Likewise.
30253 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30254 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30255 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30256 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30257 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30258 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30259 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30260 * sysdeps/i386/fpu/libm-test-ulps: Update.
30261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30262
b87c4b24
JM
30263 [BZ #14621]
30264 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30265 int as type of variable DEPTH.
30266 (glob): Use size_t instead of int as type of variables NEWCOUNT
30267 and OLD_PATHC.
30268
6d3bf199
LD
302692012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30270
22bf5c17
LD
30271 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30272 Add s_sincosf-sse2.
30273 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30274 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30275 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30276 macros for using routine as __sincosf_ia32.
30277 Use macro for function declaration and weak_alias.
30278 * sysdeps/i386/fpu/libm-test-ulps: Update.
30279
30280 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30282
30283 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30284 subnormal argument.
30285 * math/s_cexpf.c (__cexpf): Likewise.
30286 * math/s_csinf.c (__csinf): Likewise.
30287 * math/s_csinhf.c (__csinhf): Likewise.
30288 * math/s_ctanf.c (__ctanf): Likewise.
30289 * math/s_ctanhf.c (__ctanhf): Likewise.
30290 * math/s_ccosh.c (__ccoshf): Likewise.
30291 * math/s_cexp.c (__cexpl): Likewise.
30292 * math/s_csin.c (__csin): Likewise.
30293 * math/s_csinh.c (__csinh): Likewise.
30294 * math/s_ctan.c (__ctan): Likewise.
30295 * math/s_ctanh.c (ctanh): Likewise.
30296 * math/s_ccoshl.c (__ccoshl): Likewise.
30297 * math/s_cexpl.c (__cexpl): Likewise.
30298 * math/s_csinl.c (__csinl): Likewise.
30299 * math/s_csinhl.c (__csinhl): Likewise.
30300 * math/s_ctanl.c (__ctanl): Likewise.
30301 * math/s_ctanhl.c (__ctanhl): Likewise.
30302
203e5603
JM
303032012-09-25 Joseph Myers <joseph@codesourcery.com>
30304
30305 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30306 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30307 (_IO_off_t): Define to __off_t, not _G_off_t.
30308 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30309 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30310 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30311 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30312 type of __dummy and __dummy2 fields.
30313 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30314 (_G_ssize_t): Likewise.
30315 (_G_off_t): Likewise.
30316 (_G_pid_t): Likewise.
30317 (_G_uid_t): Likewise.
30318 (_G_wchar_t): Likewise.
30319 (_G_wint_t): Likewise.
30320 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30321 (_G_ssize_t): Likewise.
30322 (_G_off_t): Likewise.
30323 (_G_pid_t): Likewise.
30324 (_G_uid_t): Likewise.
30325 (_G_wchar_t): Likewise.
30326 (_G_wint_t): Likewise.
30327 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30328 (_G_ssize_t): Likewise.
30329 (_G_off_t): Likewise.
30330 (_G_pid_t): Likewise.
30331 (_G_uid_t): Likewise.
30332 (_G_wchar_t): Likewise.
30333 (_G_wint_t): Likewise.
30334
9fab36eb
SP
303352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30336
30337 * malloc/arena.c: Include malloc-sysdep.h.
30338 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30339 is sufficient to shrink the heap or an unmap is needed.
30340 * sysdeps/generic/malloc-sysdep.h: New file. Define
30341 new function check_may_shrink_heap.
30342 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30343 new function check_may_shrink_heap.
30344
2b4f00d1
SP
303452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30346
30347 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30348 comments.
30349
9a9028b1
DL
303502012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30351
57c69bef
DL
30352 * catgets/test-gencat.sh: Add "set -e".
30353 * elf/tst-pathopt.sh: Likewise.
30354 * grp/tst_fgetgrent.sh: Likewise.
30355 * iconvdata/run-iconv-test.sh: Likewise.
30356 * intl/tst-gettext.sh: Likewise.
30357 * intl/tst-gettext2.sh: Likewise.
30358 * intl/tst-gettext4.sh: Likewise.
30359 * intl/tst-gettext6.sh: Likewise.
30360 * intl/tst-translit.sh: Likewise.
30361 * io/ftwtest-sh: Likewise.
30362 * libio/test-freopen.sh: Likewise.
30363 * malloc/tst-mtrace.sh: Likewise.
30364 * posix/globtest.sh: Likewise.
30365 * posix/tst-getconf.sh: Likewise.
30366 * posix/wordexp-tst.sh: Likewise.
30367 * stdio-common/tst-printf.sh: Likewise.
30368 * stdio-common/tst-unbputc.sh: Likewise.
30369 * stdlib/tst-fmtmsg.sh: Likewise.
30370 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30371 * catgets/Makefile: Do not specify -e option when running
30372 testsuite shell scripts.
30373 * elf/Makefile: Likewise.
30374 * grp/Makefile: Likewise.
30375 * iconvdata/Makefile: Likewise.
30376 * intl/Makefile: Likewise.
30377 * io/Makefile: Likewise.
30378 * libio/Makefile: Likewise.
30379 * malloc/Makefile: Likewise.
30380 * posix/Makefile: Likewise.
30381 * stdio-common/Makefile: Likewise.
30382 * stdlib/Makefile: Likewise.
30383 * sysdeps/x86_64/Makefile: Likewise.
30384
9a9028b1
DL
30385 * io/ftwtest-sh: Add copyright header.
30386 * posix/globtest.sh: Likewise.
30387 * posix/tst-getconf.sh: Likewise.
30388 * posix/wordexp-tst.sh: Likewise.
30389 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30390
ced6f16e
L
303912012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30392
94b32c39
L
30393 [BZ #13679]
30394 * Makeconfig (+link): Defined as $(+link-static) if
30395 $(build-shared) isn't yes.
30396 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30397 isn't yes.
30398 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30399
189e935b
L
30400 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30401
ced6f16e
L
30402 [BZ #14562]
30403 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30404 new chunk size with MALLOC_ALIGN_MASK.
30405
a9f8e53a
JM
304062012-09-24 Joseph Myers <joseph@codesourcery.com>
30407
30408 [BZ #5044]
30409 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30410 <rounding-mode.h>.
30411 (__printf_fphex): Determine rounding using get_rounding_mode and
30412 round_away.
30413 * stdio-common/tst-printf-round.c (struct hex_test): New
30414 structure.
30415 (hex_tests): New variable.
30416 (test_hex_in_one_mode): New function.
30417 (do_test): Also run tests for hex float output.
30418
43153109
JM
304192012-09-21 Joseph Myers <joseph@codesourcery.com>
30420
30421 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30422 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30423 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30424 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30425 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30426 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30427 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30428 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30429
8a26625d
JM
304302012-09-20 Joseph Myers <joseph@codesourcery.com>
30431
30432 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30433 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30434 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30435 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30436
f3fd569c
DL
304372012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30438
30439 [BZ #14579]
30440 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30441 mode only.
30442 * elf/tst-rtld-load-self.sh: New test.
30443 * elf/Makefile: Run it.
30444
63bbedd4
JM
304452012-09-18 Joseph Myers <joseph@codesourcery.com>
30446
30447 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30448 (tst-writev-ENV): Remove.
30449 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30450
626f8b6a
CM
304512012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30452
30453 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30454
b7aaa4d6
JM
304552012-09-17 Joseph Myers <joseph@codesourcery.com>
30456
30457 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30458 unconditional.
30459 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30460 Likewise.
30461 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30462 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30463 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30464 Likewise.
30465
65513990
L
304662012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 [BZ #14587]
30469 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30470 * config.make.in (have-cpp-asm-debuginfo): Removed.
30471 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30472 * configure: Regenerated.
30473
784761be
JM
304742012-09-14 Joseph Myers <joseph@codesourcery.com>
30475
30476 [BZ #5044]
30477 * stdio-common/printf_fp.c: Include <stdbool.h> and
30478 <rounding-mode.h>.
30479 (___printf_fp): Determine rounding using get_rounding_mode and
30480 round_away.
30481 * stdio-common/tst-printf-round.c: New file.
30482 * stdio-common/Makefile (tests): Add tst-printf-round.
30483 (link-libm): New variable.
30484 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30485
9503345f
L
304862012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30487
30488 [BZ #14576]
30489 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30490 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30491 Likewise.
30492 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30493 Likewise.
30494
ad35fc00
JM
304952012-09-13 Joseph Myers <joseph@codesourcery.com>
30496
30497 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30498 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30499 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30500 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30501
6c9b0f68
JM
305022012-09-12 Joseph Myers <joseph@codesourcery.com>
30503
30504 [BZ #14518]
30505 * include/rounding-mode.h: New file.
30506 * sysdeps/generic/get-rounding-mode.h: Likewise.
30507 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30508 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30509 (MAX_VALUE): New macro.
30510 (MIN_VALUE): Likewise.
30511 (overflow_value): New function.
30512 (underflow_value): Likewise.
30513 (round_and_return): Use overflow_value and underflow_value to
30514 determine return values in overflow and underflow cases. Use
30515 round_away to determine rounding depending on rounding mode.
30516 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30517 determine return values in overflow and underflow cases.
30518 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30519 (struct test_results): New structure.
30520 (struct test): Use struct test_results to store expected results
30521 for all rounding modes.
30522 (TEST): Include expected results for all rounding modes.
30523 (test_in_one_mode): New function.
30524 (do_test): Use test_in_one_mode to compute and check results.
30525 Check results for all rounding modes.
30526 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30527 $(link-libm).
30528
19fcedd5
AM
305292012-12-09 Allan McRae <allan@archlinux.org>
30530
1e9d84cd 30531 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30532
8bbfd2f1
JM
305332012-09-11 Joseph Myers <joseph@codesourcery.com>
30534
30535 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30536 (_G_int32_t): Likewise.
30537 (_G_uint16_t): Likewise.
30538 (_G_uint32_t): Likewise.
30539 (_G_HAVE_BOOL): Likewise.
30540 (_G_HAVE_ATEXIT): Likewise.
30541 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30542 (_G_HAVE_IO_FILE_OPEN): Likewise.
30543 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30544 (_G_int32_t): Likewise.
30545 (_G_uint16_t): Likewise.
30546 (_G_uint32_t): Likewise.
30547 (_G_HAVE_BOOL): Likewise.
30548 (_G_HAVE_ATEXIT): Likewise.
30549 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30550 (_G_HAVE_IO_FILE_OPEN): Likewise.
30551 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30552 (_G_int32_t): Likewise.
30553 (_G_uint16_t): Likewise.
30554 (_G_uint32_t): Likewise.
30555 (_G_HAVE_BOOL): Likewise.
30556 (_G_HAVE_ATEXIT): Likewise.
30557 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30558 (_G_HAVE_IO_FILE_OPEN): Likewise.
30559
b1dc5912
L
305602012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30561
30562 * csu/libc-tls.c: Update copyright years.
30563
0e886ef9
JM
305642012-09-10 Joseph Myers <joseph@codesourcery.com>
30565
28361c5e
JM
30566 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30567 [!_G_USING_THUNKS]: Remove conditional code.
30568 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30569 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30570
0e886ef9
JM
30571 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30572 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30573 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30574 (_G_VTABLE_LABEL_PREFIX): Likewise.
30575 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30576 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30577 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30578 (_G_VTABLE_LABEL_PREFIX): Likewise.
30579 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30580 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30581 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30582 (_G_VTABLE_LABEL_PREFIX): Likewise.
30583 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30584
bcba7aa2
L
305852012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30586
30587 * libio/Makefile: Include ../Makeconfig before tests.
30588 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30589 only if $(build-shared) is yes.
30590
06585ee8
L
30591 * iconv/gconv_db.c: Update copyright years.
30592
80ccd52c
LD
305932012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30594
30595 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30596 unwind info if defined PIC. Fix special cases description.
30597 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30598
30599 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30600 DP_HI_MASK entry.
30601 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30602
691bc9c1
L
306032012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30604
3d9b46b3
L
30605 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30606
de2139a9
L
30607 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30608 is NULL.
30609
5ca78dd0
L
30610 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30611 (LDLIBS-tst-chk4): This.
30612 (LDFLAGS-tst-chk5): Renamed to ...
30613 (LDLIBS-tst-chk5): This.
30614 (LDFLAGS-tst-chk6): Renamed to ...
30615 (LDLIBS-tst-chk6): This.
30616 (LDFLAGS-tst-lfschk4): Renamed to ...
30617 (LDLIBS-tst-lfschk4): This.
30618 (LDFLAGS-tst-lfschk5): Renamed to ...
30619 (LDLIBS-tst-lfschk5): This.
30620 (LDFLAGS-tst-lfschk6): Renamed to ...
30621 (LDLIBS-tst-lfschk6): This.
30622
691bc9c1
L
30623 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30624 on $(common-objpfx)soversions.mk.
30625
65cafb1c
JM
306262012-09-07 Joseph Myers <joseph@codesourcery.com>
30627
30628 [BZ #10014]
30629 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30630 example host name.
30631
c78ab094
SP
306322012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30633
30634 * malloc/arena.c (arena_get_retry): New function that gets
30635 another arena for the caller to try its request on.
30636 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30637 current arena cannot fulfill the request.
30638 (__libc_memalign): Likewise.
30639 (__libc_memalign): Likewise.
30640 (__libc_pvalloc): Likewise.
30641 (__libc_calloc): Likewise.
30642
01f49f59
JT
306432012-09-05 John Tobey <john.tobey@gmail.com>
30644
30645 [BZ #13542]
30646 * manual/arith.texi (Operations on Complex): Fix description
30647 of carg branch cut.
30648
4c23fed5
JM
306492012-09-06 Joseph Myers <joseph@codesourcery.com>
30650
1d3c8572
JM
30651 [BZ #10014]
30652 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30653 host name.
30654
4c23fed5
JM
30655 [BZ #10038]
30656 * manual/memory.texi (Memory): Make order of menu items match
30657 order of sections.
30658
04570aaa
L
306592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30660
30661 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30662 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30663 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30664
b80af2f4
L
306652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30666
30667 * csu/libc-tls.c (static_dtv): Renamed to ...
30668 (_dl_static_dtv): This. Make it global.
30669 (_dl_initial_dtv): Removed.
30670 (__libc_setup_tls): Updated.
30671 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30672 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30673 DL_INITIAL_DTV.
30674
2abe9f15
PM
306752012-09-06 Petr Machata <pmachata@redhat.com>
30676
30677 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30678 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30679 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30680 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30681
0948c3af
L
306822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30683
30684 [BZ #14545]
30685 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30686 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30687 freeing dtv[-1].
30688
a5055ad1
L
306892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30690
30691 [BZ #14544]
30692 * Makeconfig (link-static-before-libc): Replace $(+prector)
30693 with $(+prectorT).
30694 (link-static-after-libc): Replace $(+postctor) with
30695 $(+postctorT).
30696 (link-bounded): Replace $(+prector)/$(+postctor) with
30697 $(+prectorT)/$(+postctorT).
30698 (+prectorT): New macro.
30699 (+postctorT): Likewise.
30700
ed8c2ecd
JM
307012012-09-06 Joseph Myers <joseph@codesourcery.com>
30702
30703 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30704 (round_str): Handle values above the maximum for IBM long double
30705 as inexact.
30706 * stdlib/tst-strtod-round.c (tests): Regenerated.
30707
14c996c8
AK
307082012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30709
30710 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30711 assembler flag.
30712 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30713 zarch_nohighgprs around the zarch optimized routines.
30714 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30715 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30716 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30717 for zarch.
30718
430d6ce6
DM
307192012-09-05 David S. Miller <davem@davemloft.net>
30720
30721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30722
57f41c40
AS
30723 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30724 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30725 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30726 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30727 entries.
30728
24d4e01b
AO
307292012-09-05 Alexandre Oliva <aoliva@redhat.com>
30730
30731 * malloc/arena.c: Fold copyright years.
30732 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30733
61d58174
AO
307342012-09-05 Alexandre Oliva <aoliva@redhat.com>
30735
30736 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30737
20196a5e
AO
307382012-09-05 Alexandre Oliva <aoliva@redhat.com>
30739
30740 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30741
5c447383
AO
307422012-09-05 Alexandre Oliva <aoliva@redhat.com>
30743
30744 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30745 change internal state upon failure.
30746
fad64255
AO
307472012-09-05 Alexandre Oliva <aoliva@redhat.com>
30748
30749 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30750 * malloc/memusage.c (mmap): Likewise.
30751 (mmap64, mremap): Likewise. Adjust name in comment.
30752
1ffb8c90
SP
307532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30754
30755 * libio/fileops.c: Fix typos in comments.
30756 * libio/oldfileops.c: Likewise.
30757 * libio/wfileops.c: Likewise.
30758
6ef9cc37
SP
307592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30760
30761 [BZ #1349]
30762 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30763 (tst-malloc-usable-ENV): Set environment for test case.
30764 * malloc/hooks.c (malloc_check_get_size): New function to get
30765 requested size.
30766 * malloc/malloc.c (musable): Use malloc_check_get_size.
30767 * malloc/tst-malloc-usable.c: New test case.
30768
4d038ae3
AS
307692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30770
30771 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30772
c4e85184
AM
307732012-09-05 Allan McRae <allan@archlinux.org>
30774
b9dafc56 30775 [BZ #13966]
c4e85184
AM
30776 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30777 determine header location.
30778 * configure: Regenerated.
30779
e1343020
AS
307802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30781
30782 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30783 float format.
30784 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30785 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30786 format.
e1343020
AS
30787 (test): Regenerate.
30788
0a9f1987
DM
307892012-09-04 David S. Miller <davem@davemloft.net>
30790
30791 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30792 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30793 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30794
29237804
FW
307952012-09-04 Florian Weimer <fweimer@redhat.com>
30796
30797 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30798 failures.
30799
edb3cb88
FW
30800 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30801
60160d83
JM
308022012-09-04 Joseph Myers <joseph@codesourcery.com>
30803
30804 [BZ #9914]
30805 * libio/iogetdelim.c: Include <limits.h>.
30806 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30807 + len + 1 would overflow.
30808
bcd6c8dc
AJ
308092012-09-03 Andreas Jaeger <aj@suse.de>
30810
30811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30812 * sysdeps/i386/fpu/libm-test-ulps: Update.
30813
4ffffbd2
LD
308142012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30815
30816 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30817 Add s_sinf-sse2, s_conf-sse2.
30818
30819 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30820 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30821 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30822 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30823
30824 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30825 for using routine as __sinf_ia32.
30826 Use macro for function declaration and weak_alias.
30827 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30828 for using routine as __cosf_ia32.
30829 Use macro for function declaration and weak_alias.
30830
30831 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30832 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30833
30834 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30835 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30837
30838 * math/libm-test.inc (cos_test): Add more test cases.
30839 (sin_test): Likewise.
30840 (sincos_test): Likewise.
30841
511fa286
AK
308422012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30843
30844 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30845 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30846 hidden.
30847 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30848
5f30cfec
L
308492012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30850
30851 [BZ #14538]
30852 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30853 first element of the GOT.
30854 (elf_machine_load_address): Return the difference between
30855 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30856
0786794f
AM
308572012-09-01 Allan McRae <allan@archlinux.org>
30858
5f30cfec
L
30859 [BZ #13412]
30860 * configure.in (AWK): Require gawk version 3.0 or later.
30861 * configure: Regenerated.
0786794f 30862
26889eac
JM
308632012-09-01 Joseph Myers <joseph@codesourcery.com>
30864
30865 * sysdeps/unix/sysv/linux/kernel-features.h
30866 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30867 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30868 [__NR_clock_getres]: Make code unconditional.
30869 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30870 (clock_getcpuclockid): Remove code left unreachable by removal of
30871 conditionals.
30872 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30873 code unconditional.
30874 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30875 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30876 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30877 Make code unconditional.
30878 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30879 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30880 * sysdeps/unix/sysv/linux/clock_settime.c
30881 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30882 conditional code.
30883 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30884 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30885
d22e28b0
L
308862012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30887
30888 [BZ #14476]
30889 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30890 scripts/test-installation.pl.
30891
30892 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30893 and $ld_so_version if it is set.
30894
050af9c4
SP
308952012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30896
30897 [BZ #14516]
30898 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30899 failure if reading from procfs failed.
30900 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30901
ad845c0b
JM
309022012-08-27 Joseph Myers <joseph@codesourcery.com>
30903
30904 * sysdeps/unix/sysv/linux/kernel-features.h
30905 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30906 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30907 Remove conditional code.
30908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30909 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30910 Remove conditional code.
30911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30912 * sysdeps/unix/sysv/linux/i386/fxstat.c
30913 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30915 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30916 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30918 * sysdeps/unix/sysv/linux/i386/lxstat.c
30919 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30921 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30922 Remove conditional code.
30923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30924 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30925 Remove conditional code.
30926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30927 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30928 <kernel-features.h>.
30929 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30930 Remove.
30931 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30932 Remove conditional code.
30933 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30934 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30935 Remove conditional.
30936
5dbf56af
MF
309372012-08-27 Mike Frysinger <vapier@gentoo.org>
30938
30939 [BZ #5400]
30940 * NEWS: Add fixed bug number.
30941
d6e70f43
JM
309422012-08-27 Joseph Myers <joseph@codesourcery.com>
30943
7efb4737
JM
30944 [BZ #14519]
30945 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30946 underflowing exponent in case of negative sign.
30947 * stdlib/tst-strtod-round-data: Add more tests.
30948 * stdlib/tst-strtod-round.c (tests): Regenerated.
30949
af92131a
JM
30950 [BZ #3479]
30951 * stdlib/strtod_l.c (NDIG): Remove.
30952 (HEXNDIG): Likewise.
30953 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30954 smallest representable value.
30955 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30956 lie within an exact representation of 1/2 ulp of the result.
30957 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30958 unconditionally.
30959 (TENS_P9_IDX): Define unconditionally.
30960 (TENS_P9_SIZE): Likewise.
30961 (TENS_P10_IDX): Likewise.
30962 (TENS_P10_SIZE): Likewise.
30963 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30964 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30965 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30966 entries for 10^2^13 and 10^2^14.
30967 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30968 (TENS_P13_IDX): Define.
30969 (TENS_P13_SIZE): Likewise.
30970 (TENS_P14_IDX): Likewise.
30971 (TENS_P14_SIZE): Likewise.
30972 (_fpioconst_pow10): Change array size to
30973 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30974 unconditional.
30975 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30976 1024]: Add entries for 10^2^13 and 10^2^14.
30977 [LAST_POW10 > _LAST_POW10]: Remove #error.
30978 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30979 (_fpioconst_pow10): Change array size to
30980 FPIOCONST_POW10_ARRAY_SIZE.
30981 * stdlib/gen-fpioconst.c: New file.
30982 * stdlib/gen-tst-strtod-round.c: Likewise.
30983 * stdlib/tst-strtod-round-data: Likewise.
30984 * stdlib/tst-strtod-round.c: Likewise.
30985 * stdlib/Makefile (tests): Add tst-strtod-round.
30986
d6e70f43
JM
30987 [BZ #14459]
30988 * stdlib/strtod_l.c: Include <stdint.h>.
30989 (NDEBUG): Do not define.
30990 (round_and_return): Change EXPONENT parameter to type intmax_t.
30991 Rearrange calculations to avoid internal overflow possibilities.
30992 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30993 Rearrange calculations to avoid internal overflow possibilities.
30994 Assert that number fits inside MPNSIZE limbs.
30995 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30996 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30997 calculations and add assertions to avoid internal overflow
30998 possibilities. Add casts to avoid signed/unsigned operations.
30999 * stdlib/tst-strtod-overflow.c: New file.
31000 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31001
1f529f7d
MP
310022012-08-25 Marek Polacek <polacek@redhat.com>
31003
31004 * time/time.h: Fix some typos in comments.
31005
59a629f1
RM
310062012-08-23 Roland McGrath <roland@hack.frob.com>
31007
31008 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31009 * posix/tst-rfc3484-2.c: Likewise.
31010 * posix/tst-rfc3484-3.c: Likewise.
31011
d3bafbc9
SM
310122012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31013
31014 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31015 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31016
4efcc022
JM
310172012-08-23 Joseph Myers <joseph@codesourcery.com>
31018
31019 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31020 #include of fxstatat64.c.
31021
3cc3ef96
RM
310222012-08-22 Roland McGrath <roland@hack.frob.com>
31023
f04e2132
RM
31024 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31025 * shadow/getspent_r.c: Likewise.
31026 * shadow/getspnam.c: Likewise.
31027 * shadow/getspnam_r.c: Likewise.
31028 * gshadow/getsgent.c: Likewise.
31029 * gshadow/getsgent_r.c: Likewise.
31030 * gshadow/getsgnam.c: Likewise.
31031 * gshadow/getsgnam_r.c: Likewise.
31032 * inet/getnetbyad.c: Likewise.
31033 * inet/getnetbyad_r.c: Likewise.
31034 * inet/getnetbynm.c: Likewise.
31035 * inet/getnetbynm_r.c: Likewise.
31036 * inet/getnetent.c: Likewise.
31037 * inet/getnetent_r.c: Likewise.
31038 * inet/getproto.c: Likewise.
31039 * inet/getproto_r.c: Likewise.
31040 * inet/getprtent.c: Likewise.
31041 * inet/getprtent_r.c: Likewise.
31042 * inet/getprtname.c: Likewise.
31043 * inet/getprtname_r.c: Likewise.
31044 * inet/getrpcbyname.c: Likewise.
31045 * inet/getrpcbyname_r.c: Likewise.
31046 * inet/getrpcbynumber.c: Likewise.
31047 * inet/getrpcbynumber_r.c: Likewise.
31048 * inet/getrpcent.c: Likewise.
31049 * inet/getrpcent_r.c: Likewise.
31050 * inet/getaliasent.c: Likewise.
31051 * inet/getaliasent_r.c: Likewise.
31052 * inet/getaliasname.c: Likewise.
31053 * inet/getaliasname_r.c: Likewise.
31054 * nscd/getgrgid_r.c: Likewise.
31055 * nscd/getgrnam_r.c: Likewise.
31056 * nscd/gethstbyad_r.c: Likewise.
31057 * nscd/gethstbynm3_r.c: Likewise.
31058 * nscd/getpwnam_r.c: Likewise.
31059 * nscd/getpwuid_r.c: Likewise.
31060 * nscd/getsrvbynm_r.c: Likewise.
31061 * nscd/getsrvbypt_r.c: Likewise.
31062 * nscd/gai.c: Likewise.
31063
c53d909c
RM
31064 * configure.in (build_nscd): New substituted variable, set
31065 by --disable-build-nscd and defaults to $use_nscd.
31066 * configure: Regenerated.
31067 * config.make.in (build-nscd): New substituted variable.
31068 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31069 Change conditional to require [$(build-nscd) = yes] as well.
31070 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31071
3cc3ef96
RM
31072 [BZ# 13696]
31073 * configure.in (use_nscd): New substituted variable, set by
31074 --disable-nscd. If enabled, define USE_NSCD.
31075 * configure: Regenerated.
31076 * config.h.in: Add USE_NSCD.
31077 * config.make.in (use-nscd): New substituted variable.
31078 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31079 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31080 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31081 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31082 (CFLAGS-getgrnam_r.c): Likewise.
31083 (CFLAGS-initgroups.c): Likewise.
31084 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31085 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31086 Variables removed.
31087 * inet/getnetgrent_r.c
31088 (nscd_setnetgrent): New function, broken out of ...
31089 (setnetgrent): ... here. Call it.
31090 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31091 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31092 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31093 * nscd/Makefile (routines, aux): Move definitions after include of
31094 Makeconfig. Conditionalize on [$(use-nscd) != no].
31095 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31096 Conditionalize on [USE_NSCD].
31097 (is_nscd, nscd_init_cb): Likewise.
31098 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31099 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31100 * nss/nss_db/db-init.c: Likewise.
31101 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31102 [USE_NSCD].
31103 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31104 (make_request): Use it.
31105 (cache_valid_p): New function.
31106 (__check_pf): Use it.
31107 * NEWS: Add item for --disable-nscd.
31108
07e51550
DL
311092012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31110
31111 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31112 to support sed >= 4.2.1-20-ga9bf076.
31113 * configure: Regenerated.
31114
35a5b08b
RM
311152012-08-22 Roland McGrath <roland@hack.frob.com>
31116
31117 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31118 Conditionalize whole body on [IREL].
31119
8479f23a
JL
311202012-08-22 Jeff Law <law@redhat.com>
31121
31122 [BZ #14505]
31123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31124 if the family is PF_UNSPEC.
31125
48da0b21
MF
311262012-08-22 Mike Frysinger <vapier@gentoo.org>
31127
31128 * Makerules (lib-version): Rename from V.
31129 (install-lib-nosubdir): Change V to lib-version.
31130
15d0da8c
WS
311312012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31132
31133 [BZ #14252]
31134 * powerpc32/power6/wcschr.c: New file.
31135 * powerpc32/power6/wcscpy.c: New file.
31136 * powerpc32/power6/wcsrchr.c: New file.
31137 * powerpc64/power6/wcschr.c: New file.
31138 * powerpc64/power6/wcscpy.c: New file.
31139 * powerpc64/power6/wcsrchr.c: New file.
31140
bcca0895
MK
311412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31142
31143 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31144 (two_way_short_needle): Use it.
5a4aaa33
RM
31145 * string/strstr.c (AVAILABLE1_USES_J): Define.
31146 * string/strcasestr.c: Likewise.
99677e57
MK
31147
31148 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31149 array references.
31150 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31151
400726de
MK
31152 [BZ #11607]
31153 * NEWS: Add an entry.
31154 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31155 define their defaults.
31156 (two_way_short_needle): Detect end-of-string on-the-fly.
31157 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31158 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31159 * string/bug-strcasestr1.c: New test.
31160 * string/Makefile: Run it.
31161
20a71f2c
MK
311622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31163
31164 [BZ #11607]
31165 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31166 the first character.
31167
21ad0558
RM
311682012-08-21 Roland McGrath <roland@hack.frob.com>
31169
31170 * csu/elf-init.c (__libc_csu_irel): Function removed.
31171 * csu/libc-start.c (apply_irel): New function.
31172 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31173
0e1d9911
JM
311742012-08-21 Joseph Myers <joseph@codesourcery.com>
31175
31176 * sysdeps/unix/sysv/linux/kernel-features.h
31177 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31178 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31179 <kernel-features.h>.
31180 [__NR_fadvise64_64]: Make code unconditional.
31181 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31182 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31183 !__NR_fadvise64_64)]: Likewise.
31184 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31185 !__NR_fadvise64_64))]: Likewise.
31186 [__NR_fadvise64]: Make code unconditional.
31187 [!__NR_fadvise64]: Remove conditional code.
31188 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31189 <kernel-features.h>.
31190 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31191 unconditional.
31192 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31193 conditional code.
31194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31195 not include <kernel-features.h>.
31196 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31197 unconditional.
31198 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31199 conditional code.
31200 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31201 include <kernel-features.h>.
31202 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31203 unconditional.
31204 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31205 conditional code.
31206
14a50c9d
WS
312072012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31208
31209 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31210 slight instruction rearrangements per scrollpipe analysis.
31211 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31212
c0f4faf0
RM
312132012-08-20 Roland McGrath <roland@hack.frob.com>
31214
696da859
RM
31215 * manual/syslog.texi (syslog; vsyslog, closelog):
31216 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31217 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31218
c0f4faf0
RM
31219 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31220 DSOCAPS to match condition on defining it.
31221
348363b2
JM
312222012-08-20 Joseph Myers <joseph@codesourcery.com>
31223
a35cbf28
JM
31224 * sysdeps/unix/sysv/linux/kernel-features.h
31225 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31227 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31228 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31230 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31231 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31233 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31234 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31235
445f7ecd
JM
31236 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31237 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31238
348363b2
JM
31239 * sysdeps/unix/sysv/linux/kernel-features.h
31240 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31241 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31242 unconditional.
31243 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31244 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31245 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31246 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31247 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31248 Make code unconditional.
31249 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31250 (__mmap64) [!__NR_mmap2]: Likewise.
31251 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31252 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31253 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31254 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31255 [__NR_mmap2]: Make code unconditional.
31256 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31257 (__mmap64) [!__NR_mmap2]: Likewise.
31258
bc5bc0e5
AK
312592012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31260
31261 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31262
88d506de
AJ
312632012-08-18 Andreas Jaeger <aj@suse.de>
31264
31265 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31266
493387d2
MF
312672012-08-18 Mike Frysinger <vapier@gentoo.org>
31268
31269 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31270 * include/unistd.h (__have_sock_cloexec): Likewise.
31271 (__have_pipe2): Likewise.
31272 (__have_dup3): Likewise.
31273
a277af22
MF
312742012-08-18 Mike Frysinger <vapier@gentoo.org>
31275
31276 [BZ #9685]
31277 * include/unistd.h (__have_pipe2): Change define into an extern int.
31278 (__have_dup3): Likewise.
31279 * socket/have_sock_cloexec.c: Include fcntl.h.
31280 (__have_pipe2): New variable.
31281 (__have_dup3): Likewise.
31282
fdab8fd3
MF
312832012-08-17 Mike Frysinger <vapier@gentoo.org>
31284
31285 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31286
31035e80
MP
312872012-08-17 Marek Polacek <polacek@redhat.com>
31288
31289 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31290 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31291
3bd9e993
RM
312922012-08-17 Roland McGrath <roland@hack.frob.com>
31293
c91c505f
RM
31294 * configure.in: Add AC_SUBST for sysheaders.
31295 * configure: Regenerated.
31296 * config.make.in (sysheaders): New substituted variable.
31297
7c6f9d53
RM
31298 * sysdeps/unix/mkfifo.c: Moved ...
31299 * sysdeps/posix/mkfifo.c: ... here.
31300 * sysdeps/unix/mkfifoat.c: Moved ...
31301 * sysdeps/posix/mkfifoat.c: ... here.
31302
31303 * sysdeps/unix/utime.c: Moved ...
31304 * sysdeps/posix/utime.c: ... here.
31305
31306 * sysdeps/unix/time.c: Moved ...
31307 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31308 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31309 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31310
31311 * sysdeps/unix/nice.c: Moved ...
31312 * sysdeps/posix/nice.c: ... here.
31313
31314 * sysdeps/unix/alarm.c: Moved ...
31315 * sysdeps/posix/alarm.c: ... here.
31316
3bd9e993
RM
31317 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31318
d1f09384
JL
313192012-08-17 Jeff Law <law@redhat.com>
31320
31321 * intl/Makefile (codeset_mo): New variable.
31322 ($(codeset_mo)): New target.
31323 (tst-codeset.out): Depend on that. Remove explicit rule.
31324 (tst-gettext3.out, tst-gettext5.out): Likewise.
31325 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31326 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31327 * intl/tst-codeset.sh: Remove.
31328 * intl/tst-gettext3.sh: Likewise.
31329 * intl/tst-gettext5.sh: Likewise.
31330
2ae1ae5c
RM
313312012-08-17 Roland McGrath <roland@hack.frob.com>
31332
c31fdb83
RM
31333 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31334 * sysdeps/unix/syscalls.list: ... here.
31335
a0844057
RM
31336 * sysdeps/posix/getaddrinfo.c
31337 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31338 (gaiconf_init, gaiconf_reload): Use them.
31339 [!_STATBUF_ST_NSEC]
31340 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31341 Define using time_t rather than struct timespec.
31342
750c1f2a
RM
31343 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31344 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31345 Macros removed.
31346 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31347 [!NO_THREADS].
31348 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31349 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31350 Likewise.
31351
2ae1ae5c
RM
31352 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31353 __libc_cleanup_push argument.
31354
e66a42f5
RM
31355 * bits/param.h: New file.
31356 * misc/sys/param.h: New file.
31357 * include/sys/param.h: New file.
31358 * misc/Makefile (headers): Add bits/param.h.
31359 * sysdeps/generic/sys/param.h: File removed.
31360 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31361 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31362 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31363 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31364
b7c08a66
RM
31365 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31366 last change.
31367
b2e1c562
RM
31368 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31369 [_IO_MTSAFE_IO].
31370 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31371 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31372 New macros.
31373
c75ccd4c
RM
31374 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31375 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31376 rather than -D_IO_MTSAFE_IO conditionally.
31377 * stdio-common/Makefile (CPPFLAGS): Likewise.
31378 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31379 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31380 Use $(libio-mtsafe).
31381 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31382 of -D_IO_MTSAFE_IO.
31383 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31384 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31385 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31386 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31387 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31388 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31389 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31390 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31391 (CFLAGS-fread_u_chk.c): Likewise.
31392 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31393 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31394 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31395 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31396 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31397 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31398 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31399 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31400 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31401
31402 * libio/Makefile: Test [$(libc-reentrant) = yes]
31403 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31404
31405 * Makeconfig
31406 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31407 * sysdeps/pthread/configure: File removed.
31408 * sysdeps/pthread/Makeconfig: New file.
31409 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31410 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31411
d9195db8
GB
314122012-08-16 Gary Benson <gbenson@redhat.com>
31413
31414 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31415 unmapping the first object in a namespace.
31416
86466cd9
RM
314172012-08-16 Roland McGrath <roland@hack.frob.com>
31418
31419 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31420 (__internal_setnetgrent): ... this. Add internal_function to
31421 definition. Add libc_hidden_def.
31422 (setnetgrent): Update caller.
31423 (internal_endnetgrent): Renamed to ...
31424 (__internal_endnetgrent): ... this. Add internal_function to
31425 definition. Add libc_hidden_def.
31426 (endnetgrent): Update caller.
31427 (internal_getnetgrent_r): Renamed to ...
31428 (__internal_getnetgrent_r): ... this. Add internal_function to
31429 definition. Add libc_hidden_def.
31430 (__getnetgrent_r): Update caller.
31431 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31432
c3c8283c
JM
314332012-08-16 Joseph Myers <joseph@codesourcery.com>
31434
31435 * stdlib/longlong.h: Update from GCC.
31436
db1ee0a8
RM
314372012-08-16 Roland McGrath <roland@hack.frob.com>
31438
31439 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31440 on _QL, which is set by umul_ppmm but never used.
31441 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31442 variables, which are set by GMP macros but never used.
31443 * stdio-common/_itowa.c (_itowa): Likewise.
31444 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31445 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31446
30f69637
CD
314472012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31448
31449 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31450 struct La_sh_regs is not constant.
31451 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31452 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31453 and struct La_sparc64_regs are not constant.
31454
93a78ac4
JM
314552012-08-16 Joseph Myers <joseph@codesourcery.com>
31456
31457 * sysdeps/unix/sysv/linux/kernel-features.h
31458 (__ASSUME_POSIX_TIMERS): Remove.
31459 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31460 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31461 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31462 Make code unconditional.
31463 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31464 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31465 Make code unconditional.
31466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31467 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31468 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31469 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31470 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31471 Make code unconditional.
31472 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31473 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31474 (__libc_missing_posix_timers): Remove.
31475
dd924cd7
RM
314762012-08-15 Roland McGrath <roland@hack.frob.com>
31477
4b4f2771
RM
31478 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31479 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31480
601c888b
RM
31481 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31482
176790a7
RM
31483 * elf/dl-sym.c: Include <stdlib.h>.
31484
329bc018
RM
31485 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31486 constants, which avoids warnings in 32-bit builds.
31487
e04e272d
RM
31488 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31489 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31490
952bf94a
RM
31491 * misc/lseek.c: File moved to ...
31492 * io/lseek.c: ... here.
31493
7c99b50a
RM
31494 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31495
dd924cd7
RM
31496 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31497 shifting LEN more than 31 bits at once.
31498
b3f479a8
LD
314992012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31500
31501 [BZ #14195]
8c4ae0d4
RM
31502 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31503 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31504 * string/test-strncasecmp.c (check1): Renamed to...
31505 (bz12205): ...this.
31506 (bz14195): Add new testcase for two empty input strings and N > 0.
31507 (test_main): Call new testcase, adapt for renamed function.
31508
9c55864e
AJ
315092012-08-15 Andreas Jaeger <aj@suse.de>
31510
31511 [BZ #14090]
31512 * crypt/md5test2.c: New test, based on test supplied by Serge
31513 Belyshev <belyshev@depni.sinp.msu.ru>.
31514 * crypt/Makefile (xtests): Add md5test-giant..
31515 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31516
02dcb6c5
PE
315172012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31518
31519 [BZ #14090]
31520 * crypt/md5.c (md5_process_block): Don't assume the buffer
31521 length is less than 2**32.
31522 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31523 length is less than 2**64.
31524
a3f95dcc
RM
315252012-08-15 Roland McGrath <roland@hack.frob.com>
31526
be75d758
RM
31527 * string/str-two-way.h: Include <sys/param.h>.
31528 (MAX): Macro removed.
31529
7312ca90
RM
31530 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31531 Move #define and #undef of memmove to just before and after
31532 including <string.h>.
31533
9a0a5486
RM
31534 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31535 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31536 and after including <string.h>. Move declarations of
31537 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31538 to before #include "string/memmove.c".
31539
67cc348d
RM
31540 * include/dirent.h: Declare __getdirentries.
31541
a3f95dcc
RM
31542 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31543 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31544
ca98e171
MF
315452012-08-14 Mike Frysinger <vapier@gentoo.org>
31546
31547 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31548 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31549 * sysdeps/i386/configure: Regenerated.
31550 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31551 STABS_CURRENT_FILE, and STABS_FUN.
31552 (END): Remove call to STABS_FUN_END.
31553 (STABS_CURRENT_FILE1): Delete.
31554 (STABS_CURRENT_FILE): Likewise.
31555 (STABS_FUN): Likewise.
31556 (STABS_FUN_END): Likewise.
31557 (STABS_FUN2): Likewise.
31558 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31559 * sysdeps/x86_64/configure: Regenerated.
31560
5908bf46
RM
315612012-08-14 Roland McGrath <roland@hack.frob.com>
31562
31563 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31564 * elf/dl-lookup.c: Likewise.
5908bf46 31565
f2c05b9e
JM
315662012-08-14 Joseph Myers <joseph@codesourcery.com>
31567
31568 * sysdeps/unix/sysv/linux/kernel-features.h
31569 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31570 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31571 unconditionally.
31572 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31573 unconditionally.
31574 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31575 condition on __ASSUME_CLONE_THREAD_FLAGS.
31576
e11f5155
AJ
315772012-08-14 Andreas Jaeger <aj@suse.de>
31578
31579 * sysdeps/i386/fpu/libm-test-ulps: Update.
31580
51a9ba86
MK
315812012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31582
2fdd4f78
AJ
31583 * include/atomic.h (atomic_exchange_and_add): Split into ...
31584 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31585 New atomic macros.
51a9ba86 31586
ba6cba9e
MT
315872012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31588
31589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31590
42443a47
JL
315912012-08-13 Jeff Law <law@redhat.com>
31592
31593 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31594 null byte in the output string.
31595
121dce05
JM
315962012-08-10 Joseph Myers <joseph@codesourcery.com>
31597
31598 * sysdeps/unix/sysv/linux/kernel-features.h
31599 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31600 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31601 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31602 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31603 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31604 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31605 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31606
bf51f568
JL
316072012-08-09 Jeff Law <law@redhat.com>
31608
31609 [BZ #13939]
31610 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31611 When avoid_arena is set, don't retry in the that arena. Pick the
31612 next one, whatever it might be.
31613 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31614 (arena_lock): Pass in new parameter to arena_get2.
31615 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31616 arena_get2.
31617 (__libc_malloc): Unify retrying after main arena failure with
31618 __libc_memalign version.
31619 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31620
f85fa270
L
316212012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31622
31623 [BZ #14166]
31624 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31625 to __redirect_strstr.
31626 (__strstr_sse42): Use typeof __redirect_strstr.
31627 (__strstr_ia32): Likewise.
31628 (__libc_strstr): New prototype.
31629 (strstr): Renamed to ...
31630 (__libc_strstr): This.
31631 (strstr): New strong alias of __libc_strstr.
31632 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31633 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31634 __redirect_time.
31635 Include <time.h>.
31636 (__libc_time): New prototype.
31637 (time_ifunc): Replace time with __libc_time.
31638 (time): New strong alias and hidden definition of __libc_time.
31639 (__GI_time): Remove strong alias.
31640 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31641 Include <stddef.h>.
31642 (memmove): Redefined to __redirect_memmove.
31643 (__memmove_sse2): Use typeof __redirect_memmove.
31644 (__memmove_ssse3): Likewise.
31645 (__memmove_ssse3_back): Likewise.
31646 (__libc_memmove): New prototype.
31647 (memmove): Renamed to ...
31648 (__libc_memmove): This.
31649 (memmove): New strong alias of __libc_memmove.
31650
33b4a91e
MS
316512012-08-08 Mark Salter <msalter@redhat.com>
31652
31653 * elf/elf.h
31654 (R_MN10300_TLS_GD): Define.
31655 (R_MN10300_TLS_LD): Likewise.
31656 (R_MN10300_TLS_LDO): Likewise.
31657 (R_MN10300_TLS_GOTIE): Likewise.
31658 (R_MN10300_TLS_IE): Likewise.
31659 (R_MN10300_TLS_LE): Likewise.
31660 (R_MN10300_TLS_DTPMOD): Likewise.
31661 (R_MN10300_TLS_DTPOFF): Likewise.
31662 (R_MN10300_TLS_TPOFF): Likewise.
31663 (R_MN10300_SYM_DIFF): Likewise.
31664 (R_MN10300_ALIGN): Likewise.
31665 (R_MN10300_NUM): Update.
31666
b36137f1
JM
316672012-08-08 Joseph Myers <joseph@codesourcery.com>
31668
31669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31670 Remove.
31671
cdd915fd
RM
316722012-08-08 Roland McGrath <roland@hack.frob.com>
31673
a2433aac
RM
31674 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31675
cdd915fd
RM
31676 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31677 sysdeps/unix -> sysdeps/posix move.
31678 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31679
bf9b740a
AM
316802012-08-07 Allan McRae <allan@archlinux.org>
31681
31682 [BZ #14303]
31683 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31684 (SUNOS_CPP): Likewise.
31685 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31686 not found.
31687 (open_input): Call CPP using execvp.
31688
93df14ee
JM
316892012-08-07 Joseph Myers <joseph@codesourcery.com>
31690
31691 * sysdeps/unix/sysv/linux/kernel-features.h
31692 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31693 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31694 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31695 (__ASSUME_WAITID_SYSCALL): Likewise.
31696 * sysdeps/unix/sysv/linux/dl-execstack.c
31697 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31698 code unconditional.
31699 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31700 conditional code.
31701 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31702 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31703 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31704 code.
31705 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31706 unconditional.
31707 [__ASSUME_WAITID_SYSCALL]: Likewise.
31708 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31709
d34689de
RM
317102012-08-07 Roland McGrath <roland@hack.frob.com>
31711
a281decc
RM
31712 * sysdeps/unix/closedir.c: Renamed to ...
31713 * sysdeps/posix/closedir.c: ... here.
31714 * sysdeps/unix/dirfd.c: Renamed to ...
31715 * sysdeps/posix/dirfd.c: ... here.
31716 * sysdeps/unix/dirstream.h: Renamed to ...
31717 * sysdeps/posix/dirstream.h: ... here.
31718 * sysdeps/unix/fdopendir.c: Renamed to ...
31719 * sysdeps/posix/fdopendir.c: ... here.
31720 * sysdeps/unix/opendir.c: Renamed to ...
31721 * sysdeps/posix/opendir.c: ... here.
31722 * sysdeps/unix/readdir.c: Renamed to ...
31723 * sysdeps/posix/readdir.c: ... here.
31724 * sysdeps/unix/readdir_r.c: Renamed to ...
31725 * sysdeps/posix/readdir_r.c: ... here.
31726 * sysdeps/unix/rewinddir.c: Renamed to ...
31727 * sysdeps/posix/rewinddir.c: ... here.
31728 * sysdeps/unix/seekdir.c: Renamed to ...
31729 * sysdeps/posix/seekdir.c: ... here.
31730 * sysdeps/unix/telldir.c: Renamed to ...
31731 * sysdeps/posix/telldir.c: ... here.
31732 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31733 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31734 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31735 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31736
22895b47
RM
31737 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31738 * bits/fcntl.h: ... here.
31739
707a53b6
RM
31740 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31741 not 0.
31742 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31743 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31744 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31745 (struct flock): Move l_start, l_len to the beginning.
31746 Use __pid_t for l_pid.
31747 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31748 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31749 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31750 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31751 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31752 [__USE_LARGEFILE64] (struct flock64): New type.
31753 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31754
f0bd3e25
RM
31755 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31756 * bits/dirent.h: ... here.
31757
d34689de
RM
31758 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31759 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31760
6dad2c06
JM
317612012-08-07 Joseph Myers <joseph@codesourcery.com>
31762
31763 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31764 Change from 2.6.0 to 2.6.16.
31765 * sysdeps/unix/sysv/linux/configure: Regenerated.
31766 * sysdeps/unix/sysv/linux/kernel-features.h
31767 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31768 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31769 version.
31770 (__ASSUME_UTIMES): Likewise.
31771 (__ASSUME_CLONE_STOPPED): Remove.
31772 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31773 architectures, not kernel version.
31774 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31775 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31776 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31777 (__ASSUME_WAITID_SYSCALL): Likewise.
31778 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31779 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31780 * README: State 2.6.16 as minimum Linux kernel version. Do not
31781 refer to older versions.
31782
03af9520
RM
317832012-08-06 Roland McGrath <roland@hack.frob.com>
31784
8e49df1d
RM
31785 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31786 Define alphasort64 as an alias.
31787 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31788 Define versionsort64 as an alias.
31789 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31790 Define scandir64 as an alias.
31791 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31792 Define scandirat64 as an alias.
31793 * dirent/alphasort64.c (alphasort64):
31794 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31795 * dirent/versionsort64.c: Likewise.
31796 * dirent/scandir64.c: Likewise.
31797 * dirent/scandirat64.c: Likewise.
31798 * sysdeps/wordsize-64/alphasort.c: File removed.
31799 * sysdeps/wordsize-64/alphasort64.c: File removed.
31800 * sysdeps/wordsize-64/scandir.c: File removed.
31801 * sysdeps/wordsize-64/scandir64.c: File removed.
31802 * sysdeps/wordsize-64/scandirat.c: File removed.
31803 * sysdeps/wordsize-64/scandirat64.c: File removed.
31804 * sysdeps/wordsize-64/versionsort.c: File removed.
31805 * sysdeps/wordsize-64/versionsort64.c: File removed.
31806 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31807 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31808 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31809 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31810 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31811 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31812 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31813 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31814
31815 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31817 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31819 [defined __arch64__ || defined __sparcv9]
31820 (__INO_T_MATCHES_INO64_T): New macro.
31821 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31822 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31823 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31824 * sysdeps/unix/sysv/linux/bits/dirent.h
31825 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31826 (_DIRENT_MATCHES_DIRENT64): New macro.
31827
03af9520
RM
31828 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31829 Define lockf64 as an alias.
31830 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31831 Define fseeko64 as an alias.
31832 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31833 Define ftello64 as an alias.
31834 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31835 Define _IO_fgetpos64 and fgetpos64 as aliases.
31836 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31837 Define _IO_fsetpos64 and fsetpos64 as aliases.
31838 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31839 Conditionalize body on this.
31840 * libio/fseeko64.c: Likewise.
31841 * libio/ftello64.c: Likewise.
31842 * libio/iofgetpos64.c: Likewise.
31843 * libio/iofsetpos64.c: Likewise.
31844 * sysdeps/wordsize-64/lockf.c: File removed.
31845 * sysdeps/wordsize-64/lockf64.c: File removed.
31846 * sysdeps/wordsize-64/fseeko.c: File removed.
31847 * sysdeps/wordsize-64/fseeko64.c: File removed.
31848 * sysdeps/wordsize-64/ftello.c: File removed.
31849 * sysdeps/wordsize-64/ftello64.c: File removed.
31850 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31851 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31852 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31853 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31854 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31855 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31856 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31857 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31858 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31859 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31860 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31861 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31862 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31863 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31864
31865 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31867 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31869 [defined __arch64__ || defined __sparcv9]
31870 (__OFF_T_MATCHES_OFF64_T): New macro.
31871 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31872 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31874 (__OFF_T_MATCHES_OFF64_T): New macro.
31875
c5757acd
L
318762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31877
31878 * stdlib/secure-getenv.c (__secure_getenv): Replace
31879 GLIBC_2_16 with GLIBC_2_17.
31880
3a31811e
L
318812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31882
31883 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31884 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31885
faa2bccb
DM
318862012-08-03 David S. Miller <davem@davemloft.net>
31887
31888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31889
85fe1997
JM
318902012-08-03 Joseph Myers <joseph@codesourcery.com>
31891
31892 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31893 Remove.
31894 (__ASSUME_CORRECT_SI_PID): Likewise.
31895 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31896 (__ASSUME_TMPFS_NAME): Likewise.
31897 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31898 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31899 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31900 (HAVE_AUX_SECURE): Make definition unconditional.
31901 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31902 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31903
4f75b7a0
RM
319042012-08-03 Roland McGrath <roland@hack.frob.com>
31905
31906 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31907 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31908 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31909 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31910 __eloop_threshold instead of SYMLOOP_MAX.
31911
31912 * sysdeps/generic/eloop-threshold.h: New file.
31913 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31914 of MAXSYMLINKS.
31915 * elf/chroot_canon.c (chroot_canon): Likewise.
31916
7aab07e4
JM
319172012-08-03 Joseph Myers <joseph@codesourcery.com>
31918
31919 [BZ #13717]
31920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31921 Change to 2.6.0 everywhere.
31922 * sysdeps/unix/sysv/linux/configure: Regenerated.
31923 * sysdeps/unix/sysv/linux/kernel-features.h
31924 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31925 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31926 kernel versions.
31927 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31928 (__ASSUME_FUTEX_REQUEUE): Remove.
31929 (__ASSUME_STATFS64): Define unconditionally.
31930 (__ASSUME_AT_SECURE): Likewise.
31931 (__ASSUME_CORRECT_SI_PID): Likewise.
31932 (__ASSUME_TGKILL): Define without depending on kernel version for
31933 i386.
31934 (__ASSUME_UTIMES): Likewise.
31935 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31936 kernel version.
31937 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31938 (__ASSUME_TMPFS_NAME): Likewise.
31939 * README: Update reference to Linux kernel versions.
31940
b67e9372
MP
319412012-08-02 Marek Polacek <polacek@redhat.com>
31942
1f529f7d 31943 [BZ# 14150]
b67e9372
MP
31944 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31945 libc_cv_asm_type_prefix with %.
31946 * configure: Regenerated.
d2441631
RM
31947 * include/libc-symbols.h: Remove comment about
31948 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31949 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31950 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31951 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31952 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31953 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31954 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31955 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31956 * elf/tst-unique2mod1.c: Likewise.
31957 * elf/tst-unique1mod2.c: Likewise.
31958 * elf/tst-unique1mod1.c: Likewise.
31959 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31960 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31961 Replace ASM_TYPE_DIRECTIVE with .type.
31962 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31963 * sysdeps/i386/sysdep.h: Likewise.
31964 * sysdeps/x86_64/sysdep.h: Likewise.
31965 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31967 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31968 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31969 * sysdeps/powerpc/powerpc32/sysdep.h:
31970 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31971 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31972 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31973 * sysdeps/i386/fpu/e_powf.S: Likewise.
31974 * sysdeps/i386/fpu/e_expl.S: Likewise.
31975 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31976 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31977 * sysdeps/i386/fpu/e_pow.S: Likewise.
31978 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31979 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31980 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31981 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31982 * sysdeps/i386/fpu/e_log2.S: Likewise.
31983 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31984 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31985 * sysdeps/i386/fpu/e_powl.S: Likewise.
31986 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31987 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31988 * sysdeps/i386/fpu/e_logl.S: Likewise.
31989 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31990 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31991 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31992 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31993 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31994 * sysdeps/i386/fpu/e_log.S: Likewise.
31995 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31996 * sysdeps/i386/fpu/e_logf.S: Likewise.
31997 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31998 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31999 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32000 * sysdeps/i386/fpu/e_log10.S: Likewise.
32001 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32002 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32003 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32004 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32005 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32006 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32007 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32008 * sysdeps/i386/i686/strtok.S: Likewise.
32009 * sysdeps/i386/i386-mcount.S: Likewise.
32010 * sysdeps/i386/strtok.S: Likewise.
32011 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32012 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32013 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32014 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32015 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32016 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32017 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32018 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32019 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32020 * sysdeps/x86_64/_mcount.S: Likewise.
32021 * sysdeps/x86_64/strtok.S: Likewise.
32022 * sysdeps/sh/_mcount.S: Likewise.
32023
2747bf9a
RM
320242012-08-01 Roland McGrath <roland@hack.frob.com>
32025
32026 * libio/iofopen.c: Include <fcntl.h>.
32027 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32028 (_IO_fopen64, fopen64): Define as aliases.
32029 * libio/iofopen64.c: Include <fcntl.h>.
32030 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32031 Conditionalize body on this.
32032 * sysdeps/wordsize-64/iofopen.c: File removed.
32033 * sysdeps/wordsize-64/iofopen64.c: File removed.
32034
3fb791b8
MP
320352012-08-01 Marek Polacek <polacek@redhat.com>
32036
32037 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32038 Use dlfcn directly instead of a variable.
32039 (binfmt-subdir): Do not define.
32040 (dlfcn): Likewise.
32041
a9f1039f
JM
320422012-08-01 Joseph Myers <joseph@codesourcery.com>
32043
23bddc06
JM
32044 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32045 Remove all definitions.
32046 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32047 <kernel-features.h>.
32048 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32049 (miss_F_GETOWN_EX): Remove all definitions.
32050 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32051 macro definition.
32052 [!__ASSUME_FCNTL64]: Remove conditional code.
32053 [__ASSUME_FCNTL64]: Make code unconditional.
32054 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32055 <kernel-features.h>.
32056 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32057 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32058 (lockf64) [__NR_fcntl64]: Make code unconditional.
32059 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32060
a9f1039f
JM
32061 * sysdeps/unix/sysv/linux/kernel-features.h
32062 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32063 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32064 Make code unconditional.
32065 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32066 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32068 [__NR_vfork]: Make code unconditional.
32069 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32070 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32072 [__NR_vfork]: Make code unconditional.
32073 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32074 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32075
09c0ee5f
RM
320762012-08-01 Roland McGrath <roland@hack.frob.com>
32077
48aec5b9
RM
32078 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32079 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32080
cd97c966
RM
32081 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32082 Define mkstemp64 as an alias.
3f55550c
RM
32083 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32084 Define mkstemps64 as an alias.
cd97c966
RM
32085 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32086 Define mkostemp64 as an alias.
b8625cfc
RM
32087 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32088 Define mkostemps64 as an alias.
cd97c966
RM
32089 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32090 Conditionalize body on this.
32091 * misc/mkostemp64.c: Likewise.
b8625cfc 32092 * misc/mkostemps64.c: Likewise.
3f55550c 32093 * misc/mkstemps64.c: Likewise.
cd97c966
RM
32094 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32095 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32096 * sysdeps/wordsize-64/mkostemp.c: File removed.
32097 * sysdeps/wordsize-64/mkstemp.c: File removed.
32098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32099 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32100 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32102
09c0ee5f
RM
32103 [BZ #14138]
32104 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32105 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32106 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32107 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32108
32109 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32110 compat_symbol macros from <shlib-compat.h> rather than the underlying
32111 default_symbol_version and symbol_version macros, so that DEFAULT
32112 lines in shlib-versions are respected.
32113 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32114
7e66ee51
FW
321152012-08-01 Florian Weimer <fweimer@redhat.com>
32116
32117 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32118 Declare with warn_unused_result.
32119 (setgid, setregid, setegid, setresgid): Likewise.
32120 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32121 Likewise.
32122 * WUR-REPORT: Remove set*id functions.
32123
d2a54255
PT
321242012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32125
32126 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32127
7ecdb005
RM
321282012-07-31 Roland McGrath <roland@hack.frob.com>
32129
b4180a5e 32130 [BZ #10191]
789bd351
RM
32131 * include/sys/socket.h (__libc_accept, __libc_accept4):
32132 Add attribute_hidden.
32133 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32134
40ce302d
RM
32135 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32136 use of PTR_MANGLE.
32137 * inet/getnetgrent_r.c (setup): Likewise.
32138
7ecdb005
RM
32139 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32140
e2eabb2c
DM
321412012-07-31 David S. Miller <davem@davemloft.net>
32142
32143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32144
d0419dbf
JM
321452012-07-31 Joseph Myers <joseph@codesourcery.com>
32146
32147 [BZ #13629]
32148 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32149 value between 1.0 and 2.0 and smaller part has absolute value less
32150 than 1.0.
32151 * math/s_clog10.c (__clog10): Likewise.
32152 * math/s_clog10f.c (__clog10f): Likewise.
32153 * math/s_clog10l.c (__clog10l): Likewise.
32154 * math/s_clogf.c (__clogf): Likewise.
32155 * math/s_clogl.c (__clogl): Likewise.
32156 * math/libm-test.inc (clog_test): Add more tests.
32157 (clog10_test): Likewise.
32158 * sysdeps/i386/fpu/libm-test-ulps: Update.
32159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32160
2bc13872
FW
321612012-07-31 Florian Weimer <fweimer@redhat.com>
32162
32163 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32164 Exit with zero in case no suitable GID is found, and write a
32165 message to standard error.
32166
bea9b193
RM
321672012-07-30 Roland McGrath <roland@hack.frob.com>
32168
32169 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32170 rather than to 1.
32171 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32172 (MAXPATHLEN): Removed.
32173 (NOGROUP, NODEV): New macros.
32174 (setbit, clrbit, isset, isclr): New macros.
32175 (howmany, roundup, powerof2): New macros.
32176 (DEV_BSIZE): New macro.
32177
32178 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32179 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32180
32181 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32182 definition on [!__NO_LONG_DOUBLE_MATH].
32183
32184 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32185 PTR_MANGLE and PTR_DEMANGLE.
32186
32187 * socket/accept4.c (accept4): Rename to __libc_accept4.
32188 Define accept4 as a weak alias.
32189
32190 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32191 on [_DIRENT_HAVE_D_TYPE].
32192 * io/ftw.c (ftw_dir): Likewise.
32193
32194 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32195
32196 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32197
32198 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32199 Use the BSD numbers rather than the arbitrary ones we had.
32200 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32201 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32202 (SIGXCPU, SIGXFSZ): New macros.
32203 (_NSIG): Now 32.
32204
32205 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32206 initializer on [_LIBC_REENTRANT].
32207
32208 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32209 definitions inside [_POSIX_MAPPED_FILES].
32210
32211 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32212
32213 * dirent/opendir.c: Include <fcntl.h>.
32214
32215 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32216 (__libc_getspecific): Likewise.
32217 (__libc_key_create): Likewise.
32218
32219 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32220 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32221 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32222 (tmpfile64): Define as alias.
32223 * sysdeps/wordsize-64/tmpfile.c: File removed.
32224 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32225 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32226 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32227
32228 * stdio-common/vfscanf.c: Include <stdbool.h>.
32229 * nss/makedb.c: Likewise.
32230 * stdio-common/_i18n_number.h: Likewise.
32231 * argp/argp-help.c: Likewise.
32232 * posix/wordexp.c: Likewise.
32233 * sysdeps/posix/spawni.c: Likewise.
32234 * nss/nss_files/files-initgroups.c: Likewise.
32235 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32236 * nss/nss_files/files-initgroups.c: Likewise.
32237 * nss/nss_db/db-netgrp.c: Likewise.
32238 * nss/nss_db/db-initgroups.c: Likewise.
32239 * io/fchmodat.c: Include <sys/stat.h>.
32240
32241 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32242 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32243
32244 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32245 [HAVE_MMAP].
32246
32247 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32248 Add multiple inclusion protection.
32249
e5abc686
DM
322502012-07-27 David S. Miller <davem@davemloft.net>
32251
32252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32253
815e6fa3
GB
322542012-07-27 Gary Benson <gbenson@redhat.com>
32255
32256 [BZ #14298]
32257 * elf/rtld.c: Include <stap-probe.h>.
32258 (dl_main): Added static probes "init_start" and "init_complete".
32259 * elf/dl-load.c: Include <stap-probe.h>.
32260 (lose): Take new parameter "nsid".
32261 Added static probe "map_failed".
32262 (_dl_map_object_from_fd): Pass namespace id to lose.
32263 Added static probe "map_start".
32264 (open_verify): Pass namespace id to lose.
32265 * elf/dl-open.c: Include <stap-probe.h>.
32266 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32267 and "reloc_complete".
32268 * elf/dl-close.c: Include <stap-probe.h>.
32269 (_dl_close_worker): Added static probes "unmap_start" and
32270 "unmap_complete".
32271 * elf/rtld-debugger-interface.txt: New file documenting the above.
32272
9f98c16c
RM
322732012-07-26 Roland McGrath <roland@hack.frob.com>
32274
32275 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32276 rather than a string variable.
32277 * sunrpc/rpc_main.c (h_output): Likewise.
32278 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32279
f3c22df3
PT
322802012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32281
32282 * inet/check_native.c: New file.
32283
3129cfc6
JM
322842012-07-26 Joseph Myers <joseph@codesourcery.com>
32285
da865e95
JM
32286 [BZ #13629]
32287 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32288 if larger part has absolute value 1.0.
32289 * math/s_clog10.c (__clog10): Likewise.
32290 * math/s_clog10f.c (__clog10f): Likewise.
32291 * math/s_clog10l.c (__clog10l): Likewise.
32292 * math/s_clogf.c (__clogf): Likewise.
32293 * math/s_clogl.c (__clogl): Likewise.
32294 * math/libm-test.inc (clog_test): Add more tests.
32295 (clog10_test): Likewise.
32296 * sysdeps/i386/fpu/libm-test-ulps: Update.
32297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32298
3129cfc6
JM
32299 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32300 (pltexit): Likewise.
32301 (La_regs): Likewise.
32302 (La_retval): Likewise.
32303 (int_retval): Likewise.
32304 Update #error for removed macros to refer only to definitions in
32305 tst-audit.h.
32306 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32307 macro.
32308 (pltexit): Likewise.
32309 (La_regs): Likewise.
32310 (La_retval): Likewise.
32311 (int_retval): Likewise.
32312 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32313 macro.
32314 (pltexit): Likewise.
32315 (La_regs): Likewise.
32316 (La_retval): Likewise.
32317 (int_retval): Likewise.
32318 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32319 macro.
32320 (pltexit): Likewise.
32321 (La_regs): Likewise.
32322 (La_retval): Likewise.
32323 (int_retval): Likewise.
32324 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32325 macro.
32326 (pltexit): Likewise.
32327 (La_regs): Likewise.
32328 (La_retval): Likewise.
32329 (int_retval): Likewise.
32330 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32331 macro.
32332 (pltexit): Likewise.
32333 (La_regs): Likewise.
32334 (La_retval): Likewise.
32335 (int_retval): Likewise.
32336 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32337 macro.
32338 (pltexit): Likewise.
32339 (La_regs): Likewise.
32340 (La_retval): Likewise.
32341 (int_retval): Likewise.
32342 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32343 macro definitions in tst-audit.h.
32344 * sysdeps/i386/tst-audit.h: New file.
32345 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32346 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32347 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32348 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32349 * sysdeps/sh/tst-audit.h: Likewise.
32350 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32351 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32352 * sysdeps/x86_64/tst-audit.h: Likewise.
32353
bfc07087
AJ
323542012-07-26 Andreas Jaeger <aj@suse.de>
32355
b1b2aaf8
AJ
32356 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32357 ptrace.
32358
32359 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32360 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32361 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32362 PTRACE_O_MASK.
32363 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32364 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32365 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32366
bfc07087
AJ
32367 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32368 value.
32369
32370 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32371 _sigsys.
32372 (si_call_addr, si_syscall, si_arch): Define new macro.
32373 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32374 _sigsys.
32375 (si_call_addr, si_syscall, si_arch): Define new marcro.
32376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32377 _sigsys.
32378 (si_call_addr, si_syscall, si_arch): Define new macro.
32379 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32380 _sigsys.
32381 (si_call_addr, si_syscall, si_arch): Define new macro.
32382
89b4b02f
JM
323832012-07-25 Joseph Myers <joseph@codesourcery.com>
32384
32385 [BZ #13717]
32386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32387 Change to 2.4.21 where previously 2.4.1.
32388 * sysdeps/unix/sysv/linux/configure: Regenerated.
32389 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32390 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32391 Linux kernel version.
32392 (__ASSUME_STD_AUXV): Remove.
32393 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32394 kernel version.
32395 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32396 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32397 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32398 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32399 (__ASSUME_NETLINK_SUPPORT): Likewise.
32400 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32401 (__no_netlink_support): Remove conditional definition.
32402 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32403 Remove.
32404 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32405 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32406 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32407 (if_nameindex_ioctl): Remove.
32408 (if_nameindex_netlink): Do not handle __no_netlink_support.
32409 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32410 code.
32411 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32412 Remove conditional code.
32413 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32414 code.
32415 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32416 unconditional.
32417 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32418 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32419 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32420 Remove.
32421 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32422 [!__ASSUME_STD_AUXV]: Remove conditional code.
32423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32424 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32425 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32427 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32428 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32429 code.
32430 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32432 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32433 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32434 conditional code.
32435 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32437 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32438 code.
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32440 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32441 conditional code.
32442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32443 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32444 code unconditional.
32445 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32446 conditional code.
32447 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32448 unconditional.
32449 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32450 conditional code.
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32452 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32453 unconditional.
32454 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32455 conditional code.
32456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32457 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32458 code unconditional.
32459 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32460 conditional code.
32461 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32462 unconditional.
32463 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32464 conditional code.
32465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32466 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32467 code unconditional.
32468 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32469 conditional code.
32470 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32471 unconditional.
32472 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32473 conditional code.
32474
842a39cd
AS
324752012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32476
32477 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32478 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32479 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32480 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32481 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32482 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32483 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32484 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32485 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32486 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32487 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32488 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32489 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32490 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32491 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32492 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32493 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32494 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32495 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32497 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32498 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32499 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32500
84b3fd84
FW
325012012-07-25 Florian Weimer <fweimer@redhat.com>
32502
32503 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32504 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32505 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32506 Introduce __libc_secure_getenv.
0c7936d5
FW
32507 * stdlib/Versions (2.17): Add secure_getenv
32508 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32509 * stdlib/secure-getenv.c: Rename __secure_getenv to
32510 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32511 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32512 * stdlib/tst-secure-getenv.c: New.
32513 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32514 * manual/startup.texi (Environment Access): Document
32515 secure_getenv.
84b3fd84
FW
32516 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32517 __libc_secure_getenv.
32518 * inet/ruserpass.c (ruserpass): Likewise.
32519 * malloc/mtrace.c (mtrace): Likewise.
32520 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32521 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32522 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32523 * sysdeps/posix/tempname.c: Likewise. Evaluate
32524 HAVE_SECURE_GETENV.
32525 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32526 __secure_getenv to __libc_secure_getenv.
84b3fd84 32527 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32529 Likewise.
32530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32531 Likewise.
32532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32534 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32539
56e49b71
JM
325402012-07-25 Joseph Myers <joseph@codesourcery.com>
32541
32542 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32543 (struct La_i86_retval): Likewise.
32544 (struct La_x86_64_regs): Likewise.
32545 (struct La_x86_64_retval): Likewise.
32546 (struct La_x32_regs): Likewise.
32547 (struct La_x32_retval): Likewise.
32548 (struct La_ppc32_regs): Likewise.
32549 (struct La_ppc32_retval): Likewise.
32550 (struct La_ppc64_regs): Likewise.
32551 (struct La_ppc64_retval): Likewise.
32552 (struct La_sh_regs): Likewise.
32553 (struct La_sh_retval): Likewise.
32554 (struct La_s390_32_regs): Likewise.
32555 (struct La_s390_32_retval): Likewise.
32556 (struct La_s390_64_regs): Likewise.
32557 (struct La_s390_64_retval): Likewise.
32558 (struct La_sparc32_regs): Likewise.
32559 (struct La_sparc32_retval): Likewise.
32560 (struct La_sparc64_regs): Likewise.
32561 (struct La_sparc64_retval): Likewise.
32562 (struct audit_ifaces): Remove architecture-specific pltenter and
32563 pltexit members.
32564 * sysdeps/i386/ldsodefs.h: New file.
32565 * sysdeps/powerpc/ldsodefs.h: Likewise.
32566 * sysdeps/s390/ldsodefs.h: Likewise.
32567 * sysdeps/sh/ldsodefs.h: Likewise.
32568 * sysdeps/sparc/ldsodefs.h: Likewise.
32569 * sysdeps/x86_64/ldsodefs.h: Likewise.
32570
354691b7
MP
325712012-07-25 Marek Polacek <polacek@redhat.com>
32572
32573 [BZ #6808]
32574 * math/libm-test.inc (yn_test): Add another test.
32575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32576 to ERANGE when the result is +-Inf.
32577 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32578 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32579 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32580 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32581
bf9e2071
JM
325822012-07-24 Joseph Myers <joseph@codesourcery.com>
32583
32584 * conform/data/time.h-data (NULL): Use macro-constant. Require
32585 equal to 0.
32586 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32587 clock_t.
32588 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32589
57633811
TS
325902012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32591
32592 * configure.in <sysdeps resolving>: Correct printing
32593 Implies_before.
32594 * configure: Regenerate.
32595
c23c33b0
TS
325962012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32597
32598 * math/w_ilogb.c: Include <limits.h>.
32599 * math/w_ilogbl.c: Likewise.
32600
b5982523
JM
326012012-07-20 Joseph Myers <joseph@codesourcery.com>
32602
32603 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32604 va_copy. Document allowing for unavailable va_copy only as
32605 pre-C99 compatibility.
32606 * manual/string.texi (Copying and Concatenation): Use va_copy
32607 instead of __va_copy in concat example.
32608
ac4ea442
PT
326092012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32610
32611 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32612 (__sendto): Use create_address_port. Initialize APORT and deallocate
32613 it if not null.
32614
f98eafbd
PT
32615 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32616 with O_NOLINK passed to __file_name_lookup.
32617
898c7aab
PT
32618 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32619 with O_NOLINK passed to __file_name_lookup.
32620
0ced335a
PT
32621 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32622 negative N or less than NGIDS.
32623
b3404dbd
PT
32624 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32625 type to string_t. Set ERANGE as errno and return it if NAME is not big
32626 enough. Use memcpy instead of strncpy.
32627
0f48659e
JM
326282012-07-20 Joseph Myers <joseph@codesourcery.com>
32629
32630 * elf/Makefile (check-data): Remove.
32631 (localplt.data): New vpath directive.
32632 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32633 instead of $(check-data).
32634 * scripts/data/localplt-generic.data: Move to ...
32635 * sysdeps/generic/localplt.data: ... here.
32636 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32637 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32638 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32640 ... here.
32641 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32643 ... here.
32644 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32646 ... here.
32647 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32649 ... here.
32650 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32652 ... here.
32653 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32655 ... here.
32656
d37cbdaa
AZ
326572012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32658
32659 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32660 PPC32 and PPC64 files.
32661 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32662 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32663
46f85fc2
AK
326642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32665
32666 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32667 __makecontext_ret to ...
32668 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32669 ... here and call exit if uc_link is NULL. New file.
32670 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32671 __makecontext_ret.S.
32672 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32673 __makecontext_ret to ...
32674 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32675 ... here and call exit if uc_link is NULL. New file.
32676 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32677 __makecontext_ret.S.
32678
08f43f9b
AK
326792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32680
32681 * elf/elf.h (R_390_IRELATIVE): New definition.
32682 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32683 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32684 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32685 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32686 (elf_machine_lazy_rel): Likewise.
32687 * sysdeps/s390/dl-irel.h: New file.
32688 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32689 * sysdeps/s390/s390-64/memset.S: New asm code.
32690 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32691 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32692 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32693 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32694 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32695 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32696 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32697 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32698 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32699 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32700 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32701 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32702 * sysdeps/s390/s390-32/memset.S: New asm code.
32703 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32704
3b05db33
MP
327052012-07-17 Marek Polacek <polacek@redhat.com>
32706
32707 [BZ #14349]
32708 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32709 * sysdeps/s390/s390-64/configure.in: Likewise.
32710 * sysdeps/sparc/configure.in: Likewise.
32711 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32712 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32713 * sysdeps/i386/configure.in: Likewise.
32714 * sysdeps/x86_64/configure.in: Likewise.
32715 * sysdeps/sh/configure.in: Likewise.
32716 * sysdeps/s390/s390-32/configure: Regenerated.
32717 * sysdeps/s390/s390-64/configure: Likewise.
32718 * sysdeps/x86_64/configure: Likewise.
32719 * sysdeps/sh/configure: Likewise.
32720 * sysdeps/powerpc/powerpc64/configure: Likewise.
32721 * sysdeps/powerpc/powerpc32/configure: Likewise.
32722 * sysdeps/sparc/configure: Likwise.
32723 * sysdeps/i386/configure: Likewise.
32724
a66877c6
MP
32725 * elf/dl-open.c: Comment fixes.
32726
cfc82fd8
JM
327272012-07-17 Joseph Myers <joseph@codesourcery.com>
32728
bd29910a
JM
32729 * Makefile [CXX] (check-data): Remove.
32730 [CXX] (c++-types.data): New vpath directive.
32731 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32732 vpath. Do not allow for C++ type data being missing.
32733 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32734 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32735 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32736 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32737 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32738 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32739 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32741 ... here.
32742 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32744 ... here.
32745 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32747 ... here.
32748 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32750 ... here.
32751 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32753 ... here.
32754 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32756 ... here.
32757 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32759 ... here.
32760 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32762
cfc82fd8
JM
32763 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32764 definitions to architecture-specific files.
32765 (TLS_IE): Likewise.
32766 (TLS_LD): Likewise.
32767 (TLS_GD): Likewise.
32768 * sysdeps/i386/tls-macros.h: New file.
32769 * sysdeps/powerpc/tls-macros.h: Likewise.
32770 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32771 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32772 * sysdeps/sh/tls-macros.h: Likewise.
32773 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32774 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32775 * sysdeps/x86_64/tls-macros.h: Likewise.
32776
f7db3170
TS
327772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32778
07cbfc23
TS
32779 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32780 zero value for regular exit case.
32781
f7db3170
TS
32782 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32783 (__start_context): Preserve zero value for regular exit case.
32784
dc97c227
TS
327852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32786 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32787
32788 * manual/setjmp.texi (setcontext): Clarify normal process
32789 termination when uc_link is the null pointer.
32790 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32791 exit call.
32792
d0cd7d02
AS
327932012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32794
32795 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32796 preprocessor. Test for each exception mask separately.
32797
dd318934
AJ
327982012-07-16 Andreas Jaeger <aj@suse.de>
32799
32800 * po/ru.po: Update from translation team.
32801
8048311a
JM
328022012-07-15 Joseph Myers <joseph@codesourcery.com>
32803
32804 * conform/data/string.h-data (NULL): Use macro-constant. Require
32805 equal to 0.
32806 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32807 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32808 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32809 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32811
b637d46e
AJ
328122012-07-13 Andreas Jaeger <aj@suse.de>
32813
32814 * po/fr.po: Update from translation team.
32815
541428fe
MP
328162012-07-12 Marek Polacek <polacek@redhat.com>
32817
32818 [BZ #14173]
32819 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32820 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32821 loop condition.
32822
ec332e94
JM
328232012-07-12 Joseph Myers <joseph@codesourcery.com>
32824
32825 [BZ #13717]
32826 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32827 Change to 2.4.1 where previously 2.4.0.
32828 * sysdeps/unix/sysv/linux/configure: Regenerated.
32829 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32830 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32831 version.
32832 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32833 (__ASSUME_AT_CLKTCK): Remove.
32834 (__ASSUME_AT_PAGESIZE): Likewise.
32835 (__ASSUME_AT_XID): Likewise.
32836 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32837 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32838 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32839 unconditionally.
32840 (HAVE_AUX_PAGESIZE): Likewise.
32841 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32842 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32843 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32844
7b6e99be
JB
328452012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32846
32847 [BZ #14307]
32848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32849 the temporary buffer used to invoke __gethostbyname2_r,
32850 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32851 host_data / struct gaih_addrtuple.
32852 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32853 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32854 header file nss/nsswitch.h.
32855 * nss/nsswitch.h (global scope): Add definition of implementation
32856 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32857 resolv/nss_dns/dns-host.c).
32858
608404eb
AJ
328592012-07-11 Andreas Jaeger <aj@suse.de>
32860
32861 * po/fr.po: Update from translation team.
32862
71220aca
AJ
32863 * po/sv.po: Update from translation team
32864 * po/fr.po: Another update from translation team.
32865
28cfe843
AZ
328662012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32867
32868 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32869 for subnormals or multiply small sinh result by itself.
32870 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32872
6b90f981
DM
328732012-07-11 David S. Miller <davem@davemloft.net>
32874
32875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32876
c6825772
AS
328772012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32878
32879 [BZ #14347]
32880 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32881 (INTERNAL_MARK): Shift it here.
32882
7b8e0d49
MP
328832012-07-10 Marek Polacek <polacek@redhat.com>
32884
32885 [BZ #14151]
32886 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32887 libc_cv_asm_global_directive with .globl.
32888 * configure: Regenerated.
32889 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32890 with .globl.
32891 * sysdeps/i386/configure: Regenerated.
32892 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32893 with .globl.
32894 * sysdeps/x86_64/configure: Regenerated.
32895 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32896 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32897 * elf/tst-unique2mod2.c: Likewise.
32898 * elf/tst-unique2mod1.c: Likewise.
32899 * elf/tst-unique1mod2.c: Likewise.
32900 * elf/tst-unique1mod1.c: Likewise.
32901 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32902 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32903 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32904 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32905 * sysdeps/mach/sysdep.h: Likewise.
32906 * sysdeps/i386/sysdep.h: Likewise.
32907 * sysdeps/i386/i386-mcount.S: Likewise.
32908 * sysdeps/x86_64/_mcount.S: Likewise.
32909 * sysdeps/x86_64/sysdep.h: Likewise.
32910 * sysdeps/sh/_mcount.S: Likewise.
32911 * sysdeps/sh/sysdep.h: Likewise.
32912 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32913 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32914 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32915 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32916 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32917 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32918 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32919 * locale/localeinfo.h: Likewise.
32920 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32921 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32922
6c55cda3
RM
329232012-07-09 Roland McGrath <roland@hack.frob.com>
32924
32925 [BZ #14336]
32926 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32927 system".
32928 * manual/message.texi (The Uniforum approach): Likewise.
32929 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32930 (glibc iconv Implementation): Likewise.
32931
638a572e
JM
329322012-07-09 Joseph Myers <joseph@codesourcery.com>
32933
32934 [BZ #14337]
32935 * math/s_clog.c (__clog): Avoid scaling a value down where that
32936 could result in underflow.
32937 * math/s_clog10.c (__clog10): Likewise.
32938 * math/s_clog10f.c (__clog10f): Likewise.
32939 * math/s_clog10l.c (__clog10l): Likewise.
32940 * math/s_clogf.c (__clogf): Likewise.
32941 * math/s_clogl.c (__clogl): Likewise.
32942 * math/libm-test.inc (clog_test): Add more tests.
32943 (clog10_test): Likewise.
32944 * sysdeps/i386/fpu/libm-test-ulps: Update.
32945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32946
261f4859
AS
329472012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32948
0abaf3e4
AS
32949 [BZ #14283]
32950 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32951 by 7 not 8 to examine high bit of fractional part.
32952
261f4859
AS
32953 [BZ #14042]
32954 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32955 for call to __mcount_internal.
32956 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32957 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32958 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32959
f17ac40d
JM
329602012-07-06 Joseph Myers <joseph@codesourcery.com>
32961
9ad63c23
JM
32962 [BZ #14154]
32963 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32964 approximation for values within 0x1p-13f of an odd multiple of
32965 pi/4.
32966 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32967 exception. Add more tests.
32968 * sysdeps/i386/fpu/libm-test-ulps: Update.
32969
f17ac40d
JM
32970 [BZ #6778]
32971 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32972 inputs and return -1 for them. Do not check for +Inf in case not
32973 reachable for +Inf.
32974 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32975 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32976 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32977 and return -1 for them. Do not check for +Inf in case not
32978 reachable for +Inf.
32979 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32980 define.
32981 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32982 and return -1 for them. Do not check for +Inf in case not
32983 reachable for +Inf.
32984 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32985 spurious underflow.
32986 * sysdeps/i386/fpu/libm-test-ulps: Update.
32987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32988
fb21f89b
MF
329892012-07-06 Mike Frysinger <vapier@gentoo.org>
32990
32991 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32992
cdfe2c5e
JM
329932012-07-05 Joseph Myers <joseph@codesourcery.com>
32994
32995 [BZ #14157]
32996 [BZ #14331]
32997 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32998 could result in spurious underflow. Scale down values above
32999 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33000 * math/s_csqrtf.c (__csqrtf): Likewise.
33001 * math/s_csqrtl.c (__csqrtl): Likewise.
33002 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33003 spurious underflow.
33004 * sysdeps/i386/fpu/libm-test-ulps: Update.
33005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33006
70d35b67
AS
330072012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33008
704bc459
AS
33009 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33010 xopen-msg.sed.
33011 * catgets/xopen-msg.awk: New file.
33012 * catgets/xopen-msg.sed: Removed.
33013
70d35b67
AS
33014 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33015 po2text.sed.
33016 * intl/po2test.awk: New file.
33017 * intl/po2test.sed: Removed.
33018
ca61cf32
JM
330192012-07-04 Joseph Myers <joseph@codesourcery.com>
33020
33021 [BZ #14328]
33022 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33023 or multiply small sinh result by itself.
33024 * math/s_ctanf.c (__ctanf): Likewise.
33025 * math/s_ctanh.c (__ctanh): Likewise.
33026 * math/s_ctanhf.c (__ctanhf): Likewise.
33027 * math/s_ctanhl.c (__ctanhl): Likewise.
33028 * math/s_ctanl.c (__ctanl): Likewise.
33029 * math/libm-test.inc (ctan_test_tonearest): New function.
33030 (ctan_test_towardzero): Likewise.
33031 (ctan_test_downward): Likewise.
33032 (ctan_test_upward): Likewise.
33033 (ctanh_test_tonearest): Likewise.
33034 (ctanh_test_towardzero): Likewise.
33035 (ctanh_test_downward): Likewise.
33036 (ctanh_test_upward): Likewise.
33037 (main): Call these new functions.
33038 * sysdeps/i386/fpu/libm-test-ulps: Update.
33039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33040
ca48a46a
MF
330412012-07-03 Mike Frysinger <vapier@gentoo.org>
33042
33043 * .gitignore: Delete /ports entry.
33044
9d63d37d
AJ
330452012-07-03 Andreas Jaeger <aj@suse.de>
33046
33047 * po/bg.po: Update from translation team.
33048 * po/cs.po: Likewise.
33049 * po/de.po: Likewise.
33050 * po/hr.po: Likewise.
33051 * po/nl.pl: Likewise.
33052 * po/pl.po: Likewise.
33053 * po/vi.po: Likewise.
33054
370ca3d2
JM
330552012-07-03 Joseph Myers <joseph@codesourcery.com>
33056
95f5a9a8
JM
33057 * Makeconfig [!+link] (+link-before-libc): New variable.
33058 [!+link] (+link-after-libc): Likewise.
33059 [!+link] (+link-tests): Likewise.
33060 [!+link] (+link): Define in terms of $(+link-before-libc) and
33061 $(+link-after-libc).
33062 [!+link-static] (+link-static-before-libc): New variable.
33063 [!+link-static] (+link-static-after-libc): Likewise.
33064 [!+link-static] (+link-static-tests): Likewise.
33065 [!+link-static] (+link-static): Define in terms of
33066 $(+link-static-before-libc) and $(+link-static-after-libc).
33067 [build-shared] (link-libc-before-gnulib): New variable.
33068 [build-shared] (link-libc-tests): Likewise.
33069 [build-shared] (link-libc): Define in terms of
33070 $(link-libc-before-gnulib).
33071 [!build-shared] (link-libc-tests): New variable.
33072 (link-libc-static-tests): New variable.
33073 [!gnulib] (gnulib-arch): New variable.
33074 [!gnulib] (gnulib-tests): Likewise.
33075 [!gnulib] (static-gnulib-arch): Likewise.
33076 [!gnulib] (static-gnulib-tests): Likewise.
33077 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33078 Define with "=" instead of ":=".
33079 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33080 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33081 * Rules (binaries-all-notests): New variable.
33082 (binaries-all-tests): Likewise.
33083 (binaries-static-notests): Likewise.
33084 (binaries-static-tests): Likewise.
33085 (binaries-all): Define using $(binaries-all-notests) and
33086 $(binaries-all-tests).
33087 (binaries-static): Define using $(binaries-static-notests) and
33088 $(binaries-static-tests).
33089 (binaries-shared-tests): New variable.
33090 (binaries-shared-notests): Likewise.
33091 (binaries-shared): Remove variable.
33092 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33093 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33094 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33095 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33096 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33097 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33098 * elf/Makefile (sln-modules): New variable.
33099 (extra-objs): Add $(sln-modules:=.o).
33100 (ldconfig-modules): Add static-stubs.
33101 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33102 * elf/static-stubs.c: New file.
33103
7a845b2c
JM
33104 [BZ #14283]
33105 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33106 by 7 not 8 to examine high bit of fractional part. Use volatile
33107 variables when splitting into final array of floats if
33108 __FLT_EVAL_METHOD__ != 0.
33109 * math/libm-test.inc (cos_test): Add another test.
33110 (sin_test): Likewise.
33111 * sysdeps/i386/fpu/libm-test-ulps: Update.
33112
e2283f38
JM
33113 [BZ #14273]
33114 * math/libm-test.inc (cosh_test): Add more tests.
33115
370ca3d2
JM
33116 * version.h (RELEASE): Set to "development".
33117 (VERSION): Set to "2.16.90".
33118
ee9247c3
CD
331192012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33120
33121 * NEWS: Update copyright. Remove last-updated date.
33122 Mention math library bug fixes and timezone data changes.
33123 * README: Mention GNU/Hurd, x32, and HPPA support status.
33124
4648c381
TS
331252012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33126
33127 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33128
aac78a43
AJ
331292012-06-27 Andreas Jaeger <aj@suse.de>
33130
33131 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33132
ed3dbfad
AJ
331332012-06-25 Andreas Jaeger <aj@suse.de>
33134
33135 * sysdeps/s390/fpu/libm-test-ulps: Update.
33136
4d0ee855
AS
331372012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33138 Thomas Schwinge <thomas@codesourcery.com>
33139
33140 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33141 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33142 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33143 fanotify_mark.
33144
af1bce34
TS
331452012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33146
a9fa33ba
TS
33147 * sysdeps/mach/start.c: Remove file.
33148 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33149 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33150 * sysdeps/sh/init-first.c: Likewise.
33151
58f902b8
TS
33152 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33153 registers for frame unwinding purposes, add CFI directives.
33154 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33156 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33157 Likewise.
33158
1518f58b
TS
33159 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33160 __fortify_fail returning.
33161 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33162
db9b5059
TS
33163 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33164 sysdeps/sh/____longjmp_chk.S.
33165 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33166 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33167 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33168 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33169
967705fe
TS
33170 * sysdeps/sh/abort-instr.h: New file.
33171 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33172 process in case exit returns.
33173
a9def8c4
TS
33174 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33175 initialize the GOT register before use.
33176
2a649725
TS
33177 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33178 calculation of ARGC > 4.
33179
af1bce34
TS
33180 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33181 meaningful names to some local labels.
33182
d230f50a
KK
331832012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33184 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33185
33186 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33187 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33188 (__arch_compare_and_exchange_val_16_acq): Likewise.
33189 (__arch_compare_and_exchange_val_32_acq): Likewise.
33190 (atomic_exchange_and_add): Fix gUSA sequence.
33191 (atomic_add): Likewise.
33192 (atomic_add_negative): Likewise.
33193 (atomic_add_zero): Likewise.
33194 (atomic_bit_test_set): Likewise.
33195
0479b305
AS
331962012-06-22 Andreas Schwab <schwab@redhat.com>
33197
33198 [BZ #13579]
33199 * include/link.h (struct link_map): Add l_free_initfini.
33200 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33201 l_initfini.
33202 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33203 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33204 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33205 set.
33206
0e3933b9
CD
332072012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33208
33209 * configure.in: Use AC_LANG_SOURCE.
33210 * configure: Regenerate.
33211
4248b1b1
RM
332122012-06-22 Roland McGrath <roland@hack.frob.com>
33213
33214 * configure.in (libc_cv_localstatedir): New substituted variable.
33215 * configure: Regenerated.
33216 * config.make.in (localstatedir): New variable, substituted from
33217 libc_cv_localstatedir.
33218 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33219 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33220 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33221 * sysdeps/gnu/configure: Regenerated.
33222
006dd861
JL
332232012-06-21 Jeff Law <law@redhat.com>
33224
33225 [BZ #14277]
33226 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33227 free. Simplify list management for _LIBC case.
33228
79662d42
JM
332292012-06-21 Joseph Myers <joseph@codesourcery.com>
33230
b7abb4bf
JM
33231 [BZ #14273]
33232 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33233 Clear sign bit of 64-bit integer value before comparing against
33234 overflow value.
33235
79662d42
JM
33236 * sysdeps/mach/configure: Regenerated.
33237
1f150908
L
332382012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33239
33240 [BZ #14278]
33241 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33242
28363bbf
JL
332432012-06-21 Jeff Law <law@redhat.com>
33244
33245 [BZ #13882]
33246 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33247 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33248 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33249 * elf/dl-open.c (dl_open_worker): Likewise.
33250
09615db4
CD
332512012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33252
33253 * scripts/list-sources.sh: Scan PORTS for translations.
33254 * po/libc.pot: Regenerated.
33255
2174c6dd
AJ
332562012-06-21 Andreas Jaeger <aj@suse.de>
33257
33258 [BZ #12194]
33259 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33260 warning.
33261 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33262 * bits/byteswap-16.h (__bswap_16): Likewise.
33263 * bits/byteswap.h (__bswap_constant_16): Likewise.
33264
3ee947b1
L
332652012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33266
33267 [BZ #14117]
a2f34833
L
33268 * sysdeps/i386/fpu_control.h: Removed.
33269 * sysdeps/x86_64/fpu_control.h: Moved to ...
33270 * sysdeps/x86/fpu_control.h: Here.
33271
3ee947b1
L
33272 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33273 (_FPU_SETCW): Likewise.
33274
ed1825f8
L
332752012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33276
25f1282a
L
33277 [BZ #14117]
33278 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33279 * sysdeps/x86/fpu/bits/mathinline.h: This.
33280 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33281
ed1825f8
L
33282 [BZ #14050]
33283 [BZ #14117]
33284 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33285 functions if __x86_64__ is defined.
33286
36d54b74
CLT
332872012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33288
33289 * string/endian.h: Add !__ASSEMBLER__ condition for including
33290 conversion interfaces.
33291
10285c21
JM
332922012-06-15 Joseph Myers <joseph@codesourcery.com>
33293
33294 [BZ #14241]
33295 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33296 of ABS(x) in calculating zero to negative powers other than odd
33297 integers.
33298 * math/libm-test.inc (pow_test): Add more tests.
33299
06c5abbd
AJ
333002012-06-15 Andreas Jaeger <aj@suse.de>
33301
33302 * manual/contrib.texi (Contributors): Update entry of Liubov
33303 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33304 Machado Filho.
33305
a3aeac40
CH
333062012-06-15 Cyril Hrubis <metan@ucw.cz>
33307
33308 * string/string.h: Add __wur to GNU version of strerror_r.
33309
49bdf4c1
L
333102012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33311
33312 [BZ #14229]
33313 * string/Makefile (tests): Add tst-strtok_r.
33314 * string/tst-strtok_r.c: New file.
33315 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33316 RAX_LP/RDX_LP on SAVE_PTR.
33317
834f9b8d
RM
333182012-06-14 Roland McGrath <roland@hack.frob.com>
33319
33320 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33321
75fa1921
JM
333222012-06-14 Joseph Myers <joseph@codesourcery.com>
33323
33324 * libm_test.inc (csqrt_test): Allow more spurious underflow
33325 exceptions.
33326 (j0_test): Likewise.
33327 (j1_test): Likewise.
33328 (y0_test): Likewise.
33329 (y1_test): Likewise.
33330
771766df
CD
333312012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33332
33333 * po/Makefile (libc.pot): Use UTF-8 charset.
33334
ceb9e56b
PP
333352012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33336
33337 [BZ #14210]
33338 Suppress sign-conversion warning from FD_SET.
33339 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33340 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33341 not unsigned long int.
33342 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33343
ddb28975
L
333442012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33345
33346 [BZ #14050]
33347 [BZ #14117]
33348 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33349 __extern_always_inline instead of __extern_inline.
33350 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33351 (__signbit): Likewise.
33352 (__signbitl): Support C++ namespace.
33353 (lrintf): New inline function.
33354 (lrint): Likewise.
33355 (llrintf): Likewise.
33356 (llrint): Likewise.
33357 (fmaxf): Likewise.
33358 (fmax): Likewise.
33359 (fminf): Likewise.
33360 (fmin): Likewise.
33361 (rint): Likewise.
33362 (rintf): Likewise.
33363 (ceil): Likewise.
33364 (ceilf): Likewise.
33365 (floor): Likewise.
33366 (floorf): Likewise.
33367 (nearbyint): Likewise.
33368 (nearbyintf): Likewise.
33369
d7b4fb26
TS
333702012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33371
33372 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33373 non-default versions.
33374
eb55f5c2
RM
333752012-06-11 Roland McGrath <roland@hack.frob.com>
33376
33377 [BZ #14218]
33378 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33379
366af02c
TS
333802012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33381
99ff6e5c
TS
33382 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33383 (FE_UPWARD, FE_DOWNWARD): Don't define.
33384 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33385 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33386
366af02c
TS
33387 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33388 reading it.
33389 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33390 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33391
793ea851
KK
333922012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33393
33394 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33395 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33396 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33397 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33398
a728a38f
L
333992012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33400
33401 [BZ #14117]
c08010c7
L
33402 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33403 * sysdeps/i386/fpu/Implies: New file.
33404 * sysdeps/x86_64/fpu/Implies: Likewise.
33405 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33406 * sysdeps/x86/fpu/bits/fenv.h: This.
33407
a728a38f
L
33408 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33409 __SSE_MATH__.
33410
6e230d11
SP
334112012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33412
33413 [BZ #14134]
33414 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33415 character 0xffff that matches the last element of the
33416 conversion table.
33417
1b671feb
AZ
334182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33419
33420 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33421 fmodl commit.
33422
6043738b
AZ
334232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33424
33425 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33426 values higher than 25.6283.
33427
34ae0b32
AZ
334282012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33429
33430 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33431 subnormal exponent extraction and add some __builtin_expect.
33432 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33433 Fix for subnormal mantissa calculation.
33434
1214ec8f
MF
334352012-06-04 Mike Frysinger <vapier@gentoo.org>
33436
33437 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33438 cpu2 is -1 and errno is not ENOSYS.
33439
f3d1f93c
L
334402012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33441
33442 [BZ #14117]
0e4a3cd7
L
33443 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33444 * sysdeps/x86/bits/string.h: This.
33445 * sysdeps/x86_64/bits/string.h: Removed.
33446
6704c645
L
33447 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33448 if not compiling for x86-64, but compiling for >= i486.
33449
48495318
L
33450 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33451 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33452
14adcbfc
L
33453 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33454 New macro from Linux kernel 3.4.0.
33455 (FP_XSTATE_MAGIC2): Likewise.
33456 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33457 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33458 (struct _fpx_sw_bytes): New struct.
33459 (struct _xsave_hdr): Likewise.
33460 (struct _ymmh_state): Likewise.
33461 (struct _xstate): Likewise.
33462
68e408ab
L
33463 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33464 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33465 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33466 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33467 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33468 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33469
f3d1f93c
L
33470 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33471 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33472 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33473 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33474 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33475 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33476
d9dc34cd
TMQMF
334772012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33478
33479 [BZ #13743]
33480 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33481 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33482 (sysdep_headers): Include sys/platform/ppc.h.
33483 * sysdeps/powerpc/test-gettimebase.c: Test for
33484 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33485 * manual/Makefile (appendices): Include platform.texi.
33486 * manual/contrib.texi (Contributors): Update @node pointers.
33487 * manual/maint.texi (Maintenance): Likewise.
33488 (Platform): New node.
33489 * manual/platform.texi: New file. Document the new features.
33490
4af3879c
SP
334912012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33492 Jakub Jelinek <jakub@redhat.com>
33493
33494 [BZ #14188]
33495 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33496 where __builtin_expect is unavailable.
33497
2fd6ff13
DM
334982012-06-03 David S. Miller <davem@davemloft.net>
33499
33500 * stdlib/longlong.h: Updated from GCC.
33501
173f7220
AS
335022012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33503
33504 [BZ #14042]
33505 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33506 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33507 __mcount_internal.
33508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33509 (GLIBC_2.16): Likewise.
33510
f34a1c6f
L
335112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33512
33513 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33514
88a4576f
JM
335152012-06-01 Joseph Myers <joseph@codesourcery.com>
33516
ea32bcdd
JM
33517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33518 (default-abi): New variable.
33519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33520 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33521 variable.
33522 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33523 Likewise.
33524 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33525 Likewise.
33526 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33527 Likewise.
33528
88a4576f
JM
33529 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33530 definition. Document in comment.
33531
402fe938
DM
335322012-06-01 David S. Miller <davem@davemloft.net>
33533
33534 * stdlib/longlong.h: Updated from GCC.
33535
3553723f
L
335362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33537
33538 [BZ #14117]
3bd872c4
L
33539 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33540 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33541 sys/debugreg.h sys/io.h here.
33542 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33543 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33544 sys/io.h.
33545 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33546 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33547 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33548 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33549 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33550 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33551
3553723f
L
33552 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33553 Define only if __x86_64__ is defined.
33554
4842e4fe
JM
335552012-06-01 Joseph Myers <joseph@codesourcery.com>
33556
c5bfe3d5
JM
33557 [BZ #14048]
33558 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33559 Use int64_t for variable i.
33560 * math/libm-test.inc (fmod_test): Add more tests.
33561
4842e4fe
JM
33562 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33563 z computation is not scheduled after fetestexcept.
33564 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33565 Use math_force_eval instead of asm to ensure calculation scheduled
33566 before exception test.
33567 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33568 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33569
efb73488
AJ
335702012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33571
33572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33573 computation is not scheduled after fetestexcept.
33574
29bcce7c
L
335752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33576
33577 [BZ #14117]
33578 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33579 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33580
73a68f94
AZ
335812012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33582
33583 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33584 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33585
67b6df78
L
335862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33587
edf2933a 33588 [BZ #14117]
ebc64a18
L
33589 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33590 <bits/wordsize.h>.
33591 (__WCHAR_MIN): Support __WORDSIZE == 64.
33592 (__WCHAR_MAX): Likewise.
33593
edf2933a
L
33594 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33595 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33596
57c6cf40
L
33597 [BZ #14183]
33598 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33599 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33600
67b6df78 33601 [BZ #14117]
8eb6281e
L
33602 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33603 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33604
aac639f4
L
33605 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33606 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33607
67b6df78
L
33608 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33609 Defined to 1 if __x86_64__ isn't defined.
33610 (_STAT_VER_LINUX_OLD): New.
33611 (st_atime): Remove duplicate.
33612 (st_mtime): Likewise.
33613 (st_ctime): Likewise.
33614
1c2cfe81
DM
336152012-05-31 David S. Miller <davem@davemloft.net>
33616
33617 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33618 entries.
33619
5be8418c
AS
336202012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33621
e7725326
AS
33622 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33623 gen-libm-test.pl.
33624
5be8418c
AS
33625 [BZ #14132]
33626 * elf/dl-reloc.c: Include <_itoa.h>.
33627 (_dl_reloc_bad_type): Remove use of INTUSE.
33628 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33629 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33630 * stdio-common/psiginfo.c (psiginfo): Likewise.
33631 * stdio-common/psignal.c (psignal): Likewise.
33632 * string/strsignal.c (strsignal): Likewise.
33633 * include/signal.h (_sys_siglist): Declare hidden proto.
33634 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33635 INTVARDEF with libc_hidden_data_def.
33636 * stdio-common/itoa-udigits.c: Likewise.
33637 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33638 (_itoa_lower_digits_internal): Remove declaration.
33639 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33640 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33641 (_sys_sigabbrev_internal): Remove aliases.
33642 (_sys_siglist): Define hidden alias.
33643
507352f1
MT
336442012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33645
33646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33647 bits/sysctl.h.
33648
42bbb1c3
L
336492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33650
33651 [BZ #14117]
6bd784b6
L
33652 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33653 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33654
8bca20f0
L
33655 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33656 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33657 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33658 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33659 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33660 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33661
f9e890a9
L
33662 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33663 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33664 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33665
471101a1
L
33666 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33667 with __addr.
33668 (insw): Likewise.
33669 (insl): Likewise.
33670 (outsb): Likewise.
33671 (outsw): Likewise.
33672 (outsl): Likewise.
33673
6451c862
L
33674 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33676 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33677
a254b8c9
L
33678 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33679 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33680 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33681 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33682 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33683 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33684
b8dfdd92
L
33685 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33686 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33687
578cd270
L
33688 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33689 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33690
de662f5f
L
33691 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33692 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33693 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33694
25653439
L
33695 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33696 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33697 to ...
33698 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33699
6bad24a0
L
33700 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33701 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33702 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33703
42bbb1c3
L
33704 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33705 for x86-64.
33706 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33707
2d10d547
JM
337082012-05-31 Joseph Myers <joseph@codesourcery.com>
33709
33710 * math/math.h (M_El): Use two more decimal places.
33711 (M_LOG2El): Likewise.
33712 (M_LOG10El): Likewise.
33713 (M_LN2l): Likewise.
33714 (M_LN10l): Likewise.
33715 (M_PIl): Likewise.
33716 (M_PI_2l): Likewise.
33717 (M_PI_4l): Likewise.
33718 (M_1_PIl): Likewise.
33719 (M_2_PIl): Likewise.
33720 (M_2_SQRTPIl): Likewise.
33721 (M_SQRT2l): Likewise.
33722 (M_SQRT1_2l): Likewise.
33723
f230c29b
DM
337242012-05-31 David S. Miller <davem@davemloft.net>
33725
33726 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33727 values between float registers.
33728 * sysdeps/sparc/sparc64/memset.S: Likewise.
33729 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33730
fed806c3
MF
337312012-05-31 Mike Frysinger <vapier@gentoo.org>
33732
33733 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33734 -D_FORTIFY_SOURCE=1.
33735 (CPPFLAGS-tst-longjmp_chk.c): Define.
33736 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33737 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33738 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33739 CFLAGS-tst-wchar-h.c.
33740
30917259
MP
337412012-05-31 Marek Polacek <polacek@redhat.com>
33742
33743 [BZ #14132]
33744 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33745 __endmntent_internal): Remove declaration.
33746 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33747 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33748 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33749
1c58d5dc
DM
337502012-05-30 David S. Miller <davem@davemloft.net>
33751
33752 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33753 (___Q_simulate_exceptions): Use real FP ops rather than writing
33754 into the %fsr.
33755 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33756 Likewise.
33757
7dc00e0d
L
337582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33759
33760 [BZ #14117]
0bd53985
L
33761 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33762 * sysdeps/x86/bits/xtitypes.h: This.
33763
3a257e66
L
33764 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33765 * sysdeps/x86/bits/wordsize.h: This.
33766
62f62904
L
33767 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33768 * sysdeps/x86/bits/huge_vall.h: This.
33769
404fe9d9
L
33770 * sysdeps/i386/bits/select.h: Removed.
33771 * sysdeps/x86_64/bits/select.h: Renamed to ...
33772 * sysdeps/x86/bits/select.h: This.
33773
d48d0446
L
33774 * sysdeps/i386/bits/setjmp.h: Removed.
33775 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33776 * sysdeps/x86/bits/setjmp.h: This.
33777
7dc00e0d
L
33778 * sysdeps/i386/bits/mathdef.h: Removed.
33779 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33780 * sysdeps/x86/bits/mathdef.h: This.
33781
03277f8f
AS
337822012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33783
33784 [BZ #14132]
33785 * include/sys/socket.h (__connect_internal)
33786 (__libc_sa_len_internal): Remove declaration.
33787 (__connect, __libc_sa_len): Declare hidden_proto.
33788 (SA_LEN): Remove use of INTUSE.
33789 * socket/connect.c: Add libc_hidden_def.
33790 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33791 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33792 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33793 alias.
33794 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33795 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33796 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33797 of adding _internal alias.
33798
13764867
L
337992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33800
33801 [BZ #14117]
6bd97696
L
33802 * sysdeps/i386/bits/link.h: Removed.
33803 * sysdeps/i386/bits/linkmap.h: Likewise.
33804 * sysdeps/x86_64/bits/link.h: Renamed to ...
33805 * sysdeps/x86/bits/link.h: This.
33806 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33807 * sysdeps/x86/bits/linkmap.h: This.
33808
f726f0bb
L
33809 * sysdeps/i386/bits/endian.h: Removed.
33810 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33811 * sysdeps/x86/bits/endian.h: This.
33812
13764867
L
33813 * sysdeps/i386/bits/byteswap.h: Removed.
33814 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33815 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33816 * sysdeps/x86/bits/byteswap.h: This.
33817 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33818 * sysdeps/x86/bits/byteswap-16.h: This.
33819 * sysdeps/i386/Implies: Add x86.
33820 * sysdeps/x86_64/Implies: Likewise.
33821
ae251b0b
DM
338222012-05-30 David S. Miller <davem@davemloft.net>
33823
33824 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33825 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33826 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33827 (FP_TRAPPING_EXCEPTIONS): Define.
33828 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33829 (FP_TRAPPING_EXCEPTIONS): Define.
33830 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33831 subnormals only when inexact has been signalled or underflow
33832 exceptions are enabled.
33833 (_FP_PACK_CANONICAL): Likewise.
33834
d5c90867
L
338352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33836
33837 [BZ #14183]
33838 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33839 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33840
63f1549e
RH
338412012-05-30 Richard Henderson <rth@twiddle.net>
33842
8d8f2279
RH
33843 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33844 with #ifndef NOT_IN_libc.
33845
63f1549e
RH
33846 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33847 marked to avoid plt entry.
33848
0ab0291b
L
338492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33850
33851 [BZ #14112]
33852 * Makeconfig (default-abi): New macro.
33853 (abi-includes): Likewise.
33854 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33855 $(abi-$(default-abi)-lib-soname) for soname if defined.
33856 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33857 abi-variants.
33858 * Makefile (installed-stubs): Likewise.
33859 * include/stubs-biarch.h: Removed.
33860 * scripts/lib-names.awk: Only handle one library at a time.
33861 * scripts/soversions.awk: Remove WORDSIZE support.
33862 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33863 entries.
33864 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33865 Removed.
33866 (syscall-list-default-condition): Likewise.
33867 (syscall-list-default-condition): Likewise.
33868 (syscall-list-includes): Likewise.
33869 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33870 syscall-list-* with abi-*. Handle undefined abi-variants.
33871 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33872 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33873 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33874 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33875 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33876 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33877 Removed.
33878 (syscall-list-32-options): Likewise.
33879 (syscall-list-32-condition): Likewise.
33880 (syscall-list-64-options): Likewise.
33881 (syscall-list-64-condition): Likewise.
33882 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33883 macro.
33884 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33885 Renamed to ...
33886 (abi-*): This.
33887 (abi-64-ld-soname): New macro.
33888 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33889 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33890 Renamed to ...
33891 (abi-*): This.
33892 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33893 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33894
4da0431d
JM
338952012-05-30 Joseph Myers <joseph@codesourcery.com>
33896
3a85279c
JM
33897 * sysdeps/unix/sysv/linux/kernel-features.h
33898 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33899 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33900 include <kernel-features.h>.
33901 [!__NR_ftruncate64]: Remove conditional code.
33902 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33903 [__NR_ftruncate64]: Make code unconditional.
33904 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33905 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33906 include <kernel-features.h>.
33907 [!__NR_ftruncate64]: Remove conditional code.
33908 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33909 [__NR_ftruncate64]: Make code unconditional.
33910 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33912 include <kernel-features.h>.
33913 [!__NR_ftruncate64]: Remove conditional code.
33914 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33915 [__NR_ftruncate64]: Make code unconditional.
33916 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33918 include <kernel-features.h>.
33919 [!__NR_ftruncate64]: Remove conditional code.
33920 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33921 [__NR_ftruncate64]: Make code unconditional.
33922 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33923
4da0431d
JM
33924 * configure.in (libc_cv_fpie): Weaken to a compile test using
33925 LIBC_TRY_CC_OPTION.
33926 * configure: Regenerated.
33927
11ef492c
AK
339282012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33929
33930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33934 Refreshed.
33935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33941 Refreshed.
33942
d66ef399
DM
339432012-05-27 David S. Miller <davem@davemloft.net>
33944
33945 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33946 (___Q_zero): New.
33947 (__Q_simulate_exceptions): Return void. Change to simulate
33948 exceptions by writing into the %fsr.
33949 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33950 (__Qp_handle_exceptions): Likewise.
33951 (numbers): Delete.
33952 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33953 __Qp_handle_exceptions.
33954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33955 __Qp_handle_exceptions.
33956 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33957 as unused and give dummy FP_RND_NEAREST initializer.
33958 (FP_INHIBIT_RESULTS): Define.
33959 (___Q_simulate_exceptions): Update declaration.
33960 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33961 formatting.
33962 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33963 as unused and give dummy FP_RND_NEAREST initializer.
33964 (__Qp_handle_exceptions): Update declaration.
33965 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33966 formatting.
33967
04fb54b5
TS
339682012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33969
33970 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33971 the temporary FPU control word.
33972 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33973 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33974 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33975 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33976 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33977 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33978 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33979 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33980 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33981 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33982 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33983
3f99608f
KK
339842012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33985
33986 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33987 fields.
33988
65a4de4e
CLT
339892012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33990
33991 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33992 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33993 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33994 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33995 Likewise.
33996 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33997 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33998 Likewise.
33999
15749d40
UD
340002012-05-27 Ulrich Drepper <drepper@gmail.com>
34001
34002 * po/h.po: Update from translation team.
34003
25dbcb27
AS
340042012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34005
3d3f8e55
AS
34006 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34007
25dbcb27
AS
34008 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34009 handling of denormals.
34010 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34011 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34012 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34013 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34014 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34016 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34017 Likewise.
34018
7ad47a80 340192012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
34020
34021 [BZ #14152]
34022 * math/libm-test.inc (fma_test): Don't always expect underflow
34023 exception.
34024
9c6ea9fa
SP
340252012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34026
34027 [BZ #12416]
34028 * elf/tst-execstack.c: Include stackinfo.h.
34029 (do_test): Adjust test case to ensure that pthread_getattr_np
34030 behaviour remains the same after marking stack executable.
34031
a8239222
JM
340322012-05-25 Joseph Myers <joseph@codesourcery.com>
34033
34034 * sysdeps/unix/sysv/linux/kernel-features.h
34035 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34036 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34037 kernel-features.h.
34038 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34039 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34040 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34041 kernel-features.h.
34042 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34043 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34044
918b5606
L
340452012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34046
34047 * configure.in: Define the default includes to being none.
34048 * configure: Regenerated.
34049
3a097cc7
RM
340502012-05-25 Roland McGrath <roland@hack.frob.com>
34051
8422c9a5
RM
34052 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34053 * sysdeps/x86_64/setjmp.S: Likewise.
34054 * sysdeps/i386/bsd-setjmp.S: Likewise.
34055 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34056 * sysdeps/i386/setjmp.S: Likewise.
34057 * sysdeps/i386/__longjmp.S: Likewise.
34058 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34059 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34060
3a097cc7
RM
34061 * include/stap-probe.h: New file.
34062 * configure.in: Handle --enable-systemtap.
34063 * configure: Regenerated.
34064 * config.h.in (USE_STAP_PROBE): New #undef.
34065 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34066 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34067 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34068
21708942
JM
340692012-05-25 Joseph Myers <joseph@codesourcery.com>
34070
34071 [BZ #13717]
34072 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34073 to 2.4.0 where earlier.
34074 * sysdeps/unix/sysv/linux/configure: Regenerated.
34075 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34076 <kernel-features.h>.
34077 [__ASSUME_32BITUIDS]: Make code unconditional.
34078 [!__ASSUME_32BITUIDS]: Remove conditional code.
34079 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34080 <kernel-features.h>.
34081 [__ASSUME_32BITUIDS]: Make code unconditional.
34082 [!__ASSUME_32BITUIDS]: Remove conditional code.
34083 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34084 [__ASSUME_32BITUIDS]: Make code unconditional.
34085 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34086 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34087 <kernel-features.h>.
34088 [__ASSUME_32BITUIDS]: Make code unconditional.
34089 [!__ASSUME_32BITUIDS]: Remove conditional code.
34090 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34091 <kernel-features.h>.
34092 [__ASSUME_32BITUIDS]: Make code unconditional.
34093 [!__ASSUME_32BITUIDS]: Remove conditional code.
34094 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34095 <kernel-features.h>.
34096 [__ASSUME_32BITUIDS]: Make code unconditional.
34097 [!__ASSUME_32BITUIDS]: Remove conditional code.
34098 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34099 <kernel-features.h>.
34100 [__ASSUME_32BITUIDS]: Make code unconditional.
34101 [!__ASSUME_32BITUIDS]: Remove conditional code.
34102 * sysdeps/unix/sysv/linux/i386/getresgid.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/i386/getresuid.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/i386/getuid.c: Do not include
34111 <kernel-features.h>.
34112 [__ASSUME_32BITUIDS]: Make code unconditional.
34113 [!__ASSUME_32BITUIDS]: Remove conditional code.
34114 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34115 <kernel-features.h>.
34116 [__ASSUME_32BITUIDS]: Make code unconditional.
34117 [!__ASSUME_32BITUIDS]: Remove conditional code.
34118 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34119 <kernel-features.h>.
34120 [__ASSUME_32BITUIDS]: Make code unconditional.
34121 [!__ASSUME_32BITUIDS]: Remove conditional code.
34122 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34123 <kernel-features.h>.
34124 [__ASSUME_32BITUIDS]: Make code unconditional.
34125 [!__ASSUME_32BITUIDS]: Remove conditional code.
34126 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34127 <kernel-features.h>.
34128 [__NR_setresgid] (__setresgid): Do not declare.
34129 [__ASSUME_32BITUIDS]: Make code unconditional.
34130 [!__ASSUME_32BITUIDS]: Remove conditional code.
34131 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34132 <kernel-features.h>.
34133 [__NR_setresuid] (__setresuid): Do not declare.
34134 [__ASSUME_32BITUIDS]: Make code unconditional.
34135 [!__ASSUME_32BITUIDS]: Remove conditional code.
34136 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34137 <kernel-features.h>.
34138 [__ASSUME_32BITUIDS]: Make code unconditional.
34139 [!__ASSUME_32BITUIDS]: Remove conditional code.
34140 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34141 <kernel-features.h>.
34142 [__ASSUME_32BITUIDS]: Make code unconditional.
34143 [!__ASSUME_32BITUIDS]: Remove conditional code.
34144 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34145 <kernel-features.h>.
34146 [__ASSUME_32BITUIDS]: Make code unconditional.
34147 [!__ASSUME_32BITUIDS]: Remove conditional code.
34148 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34149 <kernel-features.h>.
34150 [__ASSUME_32BITUIDS]: Make code unconditional.
34151 [!__ASSUME_32BITUIDS]: Remove conditional code.
34152 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34153 <kernel-features.h>.
34154 [__ASSUME_32BITUIDS]: Make code unconditional.
34155 [!__ASSUME_32BITUIDS]: Remove conditional code.
34156 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34157 <kernel-features.h>.
34158 [__ASSUME_32BITUIDS]: Make code unconditional.
34159 [!__ASSUME_32BITUIDS]: Remove conditional code.
34160 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34161 <kernel-features.h>.
34162 [__ASSUME_32BITUIDS]: Make code unconditional.
34163 [!__ASSUME_32BITUIDS]: Remove conditional code.
34164 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34165 <kernel-features.h>.
34166 [__ASSUME_32BITUIDS]: Make code unconditional.
34167 [!__ASSUME_32BITUIDS]: Remove conditional code.
34168 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34169 <kernel-features.h>.
34170 [__ASSUME_32BITUIDS]: Make code unconditional.
34171 [!__ASSUME_32BITUIDS]: Remove conditional code.
34172 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34173 <kernel-features.h>.
34174 [__ASSUME_32BITUIDS]: Make code unconditional.
34175 [!__ASSUME_32BITUIDS]: Remove conditional code.
34176 * sysdeps/unix/sysv/linux/kernel-features.h
34177 (__ASSUME_SETRESUID_SYSCALL): Remove.
34178 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34179 (__ASSUME_32BITUIDS): Likewise.
34180 (__ASSUME_LDT_WORKS): Likewise.
34181 (__ASSUME_O_DIRECTORY): Likewise.
34182 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34183 architecture but not kernel version.
34184 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34185 (__ASSUME_MMAP2_SYSCALL): Likewise.
34186 (__ASSUME_STAT64_SYSCALL): Likewise.
34187 (__ASSUME_IPC64): Likewise.
34188 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34189 <kernel-features.h>.
34190 [__ASSUME_32BITUIDS]: Make code unconditional.
34191 [!__ASSUME_32BITUIDS]: Remove conditional code.
34192 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34193 <kernel-features.h>.
34194 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34195 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34196 132096]: Remove conditional code.
34197 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34198 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34199 <kernel-features.h>.
34200 [__ASSUME_32BITUIDS]: Make code unconditional.
34201 [!__ASSUME_32BITUIDS]: Remove conditional code.
34202 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34203 <kernel-features.h>.
34204 [__ASSUME_32BITUIDS]: Make code unconditional.
34205 [!__ASSUME_32BITUIDS]: Remove conditional code.
34206 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34207 <kernel-features.h>.
34208 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34209 unconditional.
34210 (__setresgid): Do not declare.
34211 [__ASSUME_32BITUIDS]: Make code unconditional.
34212 [!__ASSUME_32BITUIDS]: Remove conditional code.
34213 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34214 <kernel-features.h>.
34215 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34216 unconditional.
34217 (__setresuid): Do not declare.
34218 [__ASSUME_32BITUIDS]: Make code unconditional.
34219 [!__ASSUME_32BITUIDS]: Remove conditional code.
34220 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34221 <kernel-features.h>.
34222 [__ASSUME_32BITUIDS]: Make code unconditional.
34223 [!__ASSUME_32BITUIDS]: Remove conditional code.
34224 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34225 <kernel-features.h>.
34226 [__ASSUME_32BITUIDS]: Make code unconditional.
34227 [!__ASSUME_32BITUIDS]: Remove conditional code.
34228
a386f1cc
RH
342292012-05-25 Richard Henderson <rth@twiddle.net>
34230
34231 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34232 dl_hwcap to ifunc resolver.
34233 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34234 elf_ifunc_invoke.
34235 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34236 dl_hwcap to ifunc resolver.
34237 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34238
b6550497
JM
342392012-05-24 Joseph Myers <joseph@codesourcery.com>
34240
34241 [BZ #14153]
34242 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34243 for |x| <= 2**-26, not 2**-57.
34244 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34245 exception.
34246
b0bc23a1
JL
342472012-05-24 Jeff Law <law@redhat.com>
34248
34249 * stdio-common/Makefile (tests): Add bug25.
34250 * stdio-common/bug25.c: New test.
34251
347c92e9
L
342522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34253
34254 [BZ #13576]
34255 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34256 multiple of MALLOC_ALIGNMENT in size.
34257 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34258
6bcc8b3f
JM
342592012-05-24 Joseph Myers <joseph@codesourcery.com>
34260
34261 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34262 Require >= 256.
34263 (FILENAME_MAX): Use macro-int-constant.
34264 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34265 (_IOFBF): Use macro-int-constant.
34266 (_IOLBF): Likewise.
34267 (_IONBF): Likewise.
34268 (SEEK_CUR): Likewise.
34269 (SEEK_END): Likewise.
34270 (SEEK_SET): Likewise.
34271 (TMP_MAX): Likewise.
34272 (EOF): Use macro-int-constant. Require < 0.
34273 (NULL): Use macro-constant. Require == 0.
34274 (stdin): Require type to be FILE *.
34275 (stdout): Likewise.
34276 (stderr): Likewise.
34277 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34278 macro-int-constant.
34279 (EXIT_SUCCESS): Likewise.
34280 (NULL): Use macro-constant. Require == 0.
34281 (RAND_MAX): Use macro-int-constant.
34282 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34283 [C99-based standards] (strtof): Require function.
34284 [C99-based standards] (strtold): Likewise.
34285 [C99-based standards] (strtoll): Likewise.
34286 [C99-based standards] (strtoull): Likewise.
34287 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34288 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34289 [ISO || ISO99 || ISO11] (math.h): Likewise.
34290 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34291 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34293
d18ea0c5
AS
342942012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34295
34296 [BZ #14132]
56d25bb8
AS
34297 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34298 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34299 * intl/dgettext.c (DCGETTEXT): Likewise.
34300 * intl/gettext.c (DCGETTEXT): Likewise.
34301 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34302 * posix/regex_internal.h (gettext): Likewise.
34303 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34304 Remove declaration.
34305 * include/argz.h (__argz_count_internal)
34306 (__argz_stringify_internal): Remove declaration.
34307 (__argz_count, __argz_stringify): Declare hidden proto.
34308 * intl/dcgettext.c: Remove use of INTDEF.
34309 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34310 * string/argz-stringify.c: Likewise.
34311 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34312 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34313 Declare hidden proto.
d18ea0c5
AS
34314 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34315 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34316 Declare hidden proto.
34317 * include/stdio.h (__asprintf_internal): Don't declare.
34318 (__asprintf): Don't define as macro. Declare hidden proto.
34319 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34320 (__fsetlocking): Declare hidden proto.
34321 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34322 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34323 hidden proto.
34324 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34325 (_IO_setlinebuf): Remove use of INTUSE.
34326 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34327 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34328 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34329 Remove declaration.
34330 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34331 (_IO_do_flush): Remove use of INTUSE.
34332 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34333 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34334 (_IO_adjust_column, _IO_least_wmarker)
34335 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34336 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34337 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34338 (_IO_default_doallocate, _IO_wdefault_doallocate)
34339 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34340 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34341 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34342 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34343 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34344 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34345 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34346 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34347 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34348 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34349 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34350 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34351 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34352 proto.
34353 (_IO_flush_all_internal, _IO_adjust_column_internal)
34354 (_IO_default_uflow_internal, _IO_default_finish_internal)
34355 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34356 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34357 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34358 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34359 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34360 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34361 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34362 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34363 (_IO_file_close_internal, _IO_file_close_it_internal)
34364 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34365 (_IO_file_init_internal, _IO_file_attach_internal)
34366 (_IO_file_fopen_internal, _IO_file_read_internal)
34367 (_IO_file_sync_internal, _IO_file_seek_internal)
34368 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34369 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34370 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34371 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34372 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34373 (_IO_list_all_internal, _IO_link_in_internal)
34374 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34375 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34376 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34377 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34378 (_IO_do_write_internal, _IO_padn_internal)
34379 (_IO_getline_info_internal, _IO_getline_internal)
34380 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34381 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34382 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34383 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34384 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34385 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34386 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34387 with libc_hidden_ver, remove use of INTUSE.
34388 * libio/genops.c: Likewise.
34389 * libio/freopen.c: Likewise.
34390 * libio/freopen64.c: Likewise.
34391 * libio/iofclose.c: Likewise.
34392 * libio/iofdopen.c: Likewise.
34393 * libio/iofflush.c: Likewise.
34394 * libio/iofflush_u.c: Likewise.
34395 * libio/iofgets.c: Likewise.
34396 * libio/iofgets_u.c: Likewise.
34397 * libio/iofopen.c: Likewise.
34398 * libio/iofopncook.c: Likewise.
34399 * libio/iofread.c: Likewise.
34400 * libio/iofread_u.c: Likewise.
34401 * libio/ioftell.c: Likewise.
34402 * libio/iofwrite.c: Likewise.
34403 * libio/iogetline.c: Likewise.
34404 * libio/iogets.c: Likewise.
34405 * libio/iogetwline.c: Likewise.
34406 * libio/iopadn.c: Likewise.
34407 * libio/iopopen.c: Likewise.
34408 * libio/ioseekoff.c: Likewise.
34409 * libio/ioseekpos.c: Likewise.
34410 * libio/iosetbuffer.c: Likewise.
34411 * libio/iosetvbuf.c: Likewise.
34412 * libio/ioungetc.c: Likewise.
34413 * libio/ioungetwc.c: Likewise.
34414 * libio/iovdprintf.c: Likewise.
34415 * libio/iovsprintf.c: Likewise.
34416 * libio/iovsscanf.c: Likewise.
34417 * libio/memstream.c: Likewise.
34418 * libio/obprintf.c: Likewise.
34419 * libio/oldfileops.c: Likewise.
34420 * libio/oldiofclose.c: Likewise.
34421 * libio/oldiofdopen.c: Likewise.
34422 * libio/oldiofopen.c: Likewise.
34423 * libio/oldiopopen.c: Likewise.
34424 * libio/oldstdfiles.c: Likewise.
34425 * libio/putc.c: Likewise.
34426 * libio/setbuf.c: Likewise.
34427 * libio/setlinebuf.c: Likewise.
34428 * libio/stdfiles.c: Likewise.
34429 * libio/strops.c: Likewise.
34430 * libio/vasprintf.c: Likewise.
34431 * libio/vscanf.c: Likewise.
34432 * libio/vsnprintf.c: Likewise.
34433 * libio/vswprintf.c: Likewise.
34434 * libio/wfiledoalloc.c: Likewise.
34435 * libio/wfileops.c: Likewise.
34436 * libio/wgenops.c: Likewise.
34437 * libio/wmemstream.c: Likewise.
34438 * libio/wstrops.c: Likewise.
34439 * libio/__fpurge.c: Likewise.
34440 * libio/__fsetlocking.c: Likewise.
34441 * assert/assert.c: Likewise.
34442 * debug/fgets_chk.c: Likewise.
34443 * debug/fgets_u_chk.c: Likewise.
34444 * debug/fread_chk.c: Likewise.
34445 * debug/fread_u_chk.c: Likewise.
34446 * debug/gets_chk.c: Likewise.
34447 * debug/obprintf_chk.c: Likewise.
34448 * debug/vasprintf_chk.c: Likewise.
34449 * debug/vdprintf_chk.c: Likewise.
34450 * debug/vsnprintf_chk.c: Likewise.
34451 * debug/vsprintf_chk.c: Likewise.
34452 * malloc/mtrace.c: Likewise.
34453 * misc/error.c: Likewise.
34454 * misc/syslog.c: Likewise.
34455 * stdio-common/asprintf.c: Likewise.
34456 * stdio-common/fxprintf.c: Likewise.
34457 * stdio-common/getw.c: Likewise.
34458 * stdio-common/isoc99_fscanf.c: Likewise.
34459 * stdio-common/isoc99_scanf.c: Likewise.
34460 * stdio-common/isoc99_vfscanf.c: Likewise.
34461 * stdio-common/isoc99_vscanf.c: Likewise.
34462 * stdio-common/isoc99_vsscanf.c: Likewise.
34463 * stdio-common/printf-prs.c: Likewise.
34464 * stdio-common/printf_fp.c: Likewise.
34465 * stdio-common/printf_fphex.c: Likewise.
34466 * stdio-common/printf_size.c: Likewise.
34467 * stdio-common/putw.c: Likewise.
34468 * stdio-common/scanf.c: Likewise.
34469 * stdio-common/sprintf.c: Likewise.
34470 * stdio-common/tmpfile.c: Likewise.
34471 * stdio-common/vfprintf.c: Likewise.
34472 * stdio-common/vfscanf.c: Likewise.
34473 * stdlib/strfmon_l.c: Likewise.
34474 * sunrpc/openchild.c: Likewise.
34475 * sunrpc/xdr_stdio.c: Likewise.
34476 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34477 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34478
d6c33fda
RM
344792012-05-24 Roland McGrath <roland@hack.frob.com>
34480
c1487492
RM
34481 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34482
34483 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34484 in the third column, to generate for the shared library an IFUNC
34485 that uses _dl_vdso_vsym.
34486 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34487 * Makeconfig (object-suffixes-noshared): New variable.
34488
34489 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34490 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34491 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34492 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34493
d6c33fda
RM
34494 [BZ #14132]
34495 * include/sys/time.h (__gettimeofday): Remove macro.
34496 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34497 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34498 Remove INTDEF.
34499 (__gettimeofday): Add libc_hidden_def.
34500 (gettimeofday): Add libc_hidden_weak.
34501 * sysdeps/mach/gettimeofday.c: Likewise.
34502 * sysdeps/posix/gettimeofday.c: Likewise.
34503 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34504 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34506 (__gettimeofday_internal): Remove strong_alias.
34507 (__gettimeofday): Add libc_hidden_def.
34508 (gettimeofday): Add libc_hidden_weak.
34509 * sysdeps/unix/syscalls.list (gettimeofday):
34510 Remove __gettimeofday_internal alias.
34511
b5a2bbe6
L
345122012-05-24 Daniel Jacobowitz <drow@false.org>
34513 H.J. Lu <hongjiu.lu@intel.com>
34514
34515 [BZ #12495]
34516 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34517 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34518 (largebin_index_32_big): New.
34519 (largebin_index): Use it for 16-byte alignment.
34520 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34521 correction with front_misalign.
34522
cfba4fda
L
345232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34524
7f907421
L
34525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34527 Likewise.
34528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34529 Likewise.
34530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34531 Likewise.
34532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34533 Likewise.
34534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34535 Likewise.
34536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34537 Likewise.
34538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34539 Likewise.
34540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34541 Likewise.
34542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34543 Likewise.
34544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34545 Likewise.
34546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34547 Likewise.
34548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34549 Likewise.
34550
cfba4fda
L
34551 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34552 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34553
80bad0cc
JM
345542012-05-24 Joseph Myers <joseph@codesourcery.com>
34555
7a25eb06
JM
34556 [BZ #10846]
34557 [BZ #14036]
34558 * math/libm-test.inc (exp_test): Add test from bug 14036.
34559 (pow_test): Add test from bug 10846.
34560
795405f9
JM
34561 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34562 and other flags.
34563 (special_function): Do not include flags in test name.
34564 (parse_args): Likewise.
34565 * sysdeps/i386/fpu/libm-test-ulps: Update.
34566 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34567 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34568 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34570
80bad0cc
JM
34571 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34572 exceptions.
34573 * math/libm-test.inc ("Philosophy"): Update comment about
34574 exception testing.
34575 (UNDERFLOW_EXCEPTION): New macro.
34576 (UNDERFLOW_EXCEPTION_OK): Likewise.
34577 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34578 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34579 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34580 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34581 (INVALID_EXCEPTION_OK): Update value.
34582 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34583 (OVERFLOW_EXCEPTION_OK): Likewise.
34584 (IGNORE_ZERO_INF_SIGN): Likewise.
34585 (test_exceptions): Handle underflow exceptions.
34586 (acos_test): Update for underflow exception expectations.
34587 (cexp_test): Likewise.
34588 (clog_test): Likewise.
34589 (clog10_test): Likewise.
34590 (csqrt_test): Likewise.
34591 (ctan_test): Likewise.
34592 (ctanh_test): Likewise.
34593 (exp_test): Likewise.
34594 (exp10_test): Likewise.
34595 (exp2_test): Likewise.
34596 (expm1_test): Likewise.
34597 (fma_test): Likewise.
34598 (j0_test): Likewise.
34599 (jn_test): Likewise.
34600 (nexttoward_test): Likewise.
34601 (pow_test): Likewise.
34602 (scalbn_test): Likewise.
34603 (scalbln_test): Likewise.
34604 (tan_test): Likewise.
34605 (y1_test): Likewise.
34606 * sysdeps/i386/fpu/libm-test-ulps: Update.
34607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34608
9e0e3d0b
DM
346092012-05-23 David S. Miller <davem@davemloft.net>
34610
34611 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34612 (__libc_sigaction): Remove unused local variables.
34613
ccd0a08f
L
346142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34615
34616 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34617
62bdf9a6
PE
346182012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34619
f8591f80
PE
34620 mktime: avoid signed integer overflow
34621 * time/mktime.c (__mktime_internal): Do not mishandle the case
34622 where diff == INT_MIN.
34623
94c7d826
PE
34624 mktime: simplify computation of average
34625 * time/mktime.c (ranged_convert): Use new time_t_avg function
34626 instead of rolling our own (probably-slower) code.
34627
ce73d683
PE
34628 mktime: do not assume signed right shift propagates sign bit
34629 * time/mktime.c (isdst_differ): New static function.
34630 (__mktime_internal): No need to normalize tm_isdst now.
34631 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34632 tm_isdst values.
34633
72a22e59
PE
34634 mktime: merge another wrapv change from gnulib
34635 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34636 from some compilers.
34637
68605433
PE
34638 mktime: remove incorrect attempt at unusual arithmetics
34639 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34640 The code didn't really work on such machines anyway.
34641 (TYPE_MINIMUM): Assume two's complement.
34642 (twos_complement_arithmetic): Verify that long_int and time_t
34643 are two's complement (or unsigned, in the latter case).
34644
03cf7fe3
PE
34645 mktime: check signed shifts on long_int and time_t, too
34646 * time/mktime.c (SHR): Check that shifts work as desired
34647 on the types long_int and time_t too, as SHR is used on
34648 such types.
34649
f04dfbc2
PE
34650 mktime: do not assume 'long' is wide enough
34651 * time/mktime.c (verify): Move decl up.
34652 (long_int): New type.
34653 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34654 to remove assumption in the code that 'long' is wide enough to
34655 store year values. This assumption is not true on x32 and on
34656 some non-glibc platforms.
34657
62bdf9a6
PE
34658 mktime: merge wrapv change from gnulib
34659 * time/mktime.c (WRAPV): New macro.
34660 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34661 (guess_time_tm, __mktime_internal): Do not assume that signed
34662 integer overflow wraps around; modern compilers generate code
34663 where this assumption is no longer valid.
34664
5e292e4f
L
346652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34666
34667 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34668 Replace "jmp L(pseudo_end)" with "ret".
34669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34670 Likewise.
34671
8caf8c87
AJ
346722012-05-23 Andreas Jaeger <aj@suse.de>
34673
34674 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34675 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34676
1a09dc56
AJ
346772012-05-23 Andreas Jaeger <aj@suse.de>
34678 Maximilian Attems <max@stro.at>
34679
34680 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34681 New macros.
34682
1c87aba0
L
346832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34684
34685 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34686 code so that pseudo_end is just ret and the stack pointer is
34687 correct also for static library in error case.
34688
40e45bd5
JM
346892012-05-23 Joseph Myers <joseph@codesourcery.com>
34690
c2670533
JM
34691 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34692 move to syscalls.list.
34693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34697
40e45bd5
JM
34698 * manual/install.texi (Running make install): Do not mention Linux
34699 kernel version for which pt_chown is not needed.
34700 (Linux): Do not mention problems with nscd with 2.0 kernels.
34701 * INSTALL: Regenerated.
34702
be08eda5
AJ
347032012-05-23 Andreas Jaeger <aj@suse.de>
34704
34705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34706 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34707 macro.
34708 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34709 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34710 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34711 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34712 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34713 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34716 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34718 * sysdeps/unix/sysv/linux/bits/in.h
34719 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34720
a6a056bb
RM
347212012-05-22 Roland McGrath <roland@hack.frob.com>
34722
34723 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34724 (PREPARE_VERSION): Just use assert instead, it will be elided
34725 under [NDEBUG] anyway.
34726
c9009328
L
347272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34728
34729 * sysdeps/unix/sysv/linux/Makefile: Include
34730 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34731 (sysdep_routines): Remove sysctl.
c9009328
L
34732 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34733 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34734 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34735 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34736 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34737
73338355
AJ
347382012-05-22 Andreas Jaeger <aj@suse.de>
34739
34740 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34741 that pseudo_end is just ret and the stack pointer is correct also
34742 for static library in error case.
34743
d44638b0
PP
347442012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34745
34746 [BZ #14122]
34747 * nss/nsswitch.c (defconfig_entries): New variable.
34748 (__nss_database_lookup): Don't leak defconfig entries.
34749 (nss_parse_service_list): Don't leak on error paths.
34750 (free_database_entries): New function.
34751 (free_defconfig): New function.
34752 (free_mem): Move common code to free_database_entries.
34753
31a39bd8
L
347542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34755
da0331a8
L
34756 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34757 Add arch_prctl.
34758 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34759
31a39bd8
L
34760 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34761 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34763 New macro.
34764 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34765 (INTERNAL_SYSCALL_TYPES): Likewise.
34766 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34767 (LOAD_REGS_TYPES_[1-6]): Likewise.
34768 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34769 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34770
45470df3
AZ
347712012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34772
34773 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34774 copysignl for GLIBC_2_0.
34775 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34776 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34777 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34778 logbl for GLIBC_2_0.
34779 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34780 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34781
98a61bcb
L
347822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34783
a4f6e481
L
34784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34785 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34786
f63d5db6
L
34787 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34788 Use "neg %eax".
34789
98a61bcb
L
34790 * time/mktime.c: Update copyright years.
34791
95770f14
PE
347922012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34793
6226efbd
PE
34794 mktime: merge comment-quoting-style change from gnulib
34795 * time/mktime.c: Quote 'like this' in comments.
34796 The GNU coding standards suggest that we no longer quote `like this',
34797 as "`" and "'" are typically rendered asymmetrically nowadays.
34798 The typical gnulib style is to quote 'like this' when quoting
34799 code, and "like this" when quoting English.
34800
b99e4f78
PE
34801 * time/mktime.c (compile-command): Add "-I.".
34802
643e01e6
PE
34803 mktime: merge mktime-internal.h change from gnulib
34804 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34805
2554247d
PE
34806 mktime: merge time_r change from gnulib
34807 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34808
826dd0ab
PE
34809 mktime: merge DEBUG change from gnulib
34810 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34811 case system <time.h> has a #define.
34812
bd83aabe
PE
34813 mktime: merge <sys/types.h> change from gnulib
34814 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34815 since <time.t> is now guaranteed to define time_t.
34816
95770f14
PE
34817 mktime: merge HAVE_CONFIG_H change from gnulib
34818 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34819
5e1a27a9
L
348202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34821
0e44a77e
L
34822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34823 Use "neg %eax".
34824
5e1a27a9
L
34825 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34826 __rlim_t cast.
34827 (struct rusage): Use anonymous union to pad each field to
34828 __syscall_slong_t.
34829
46259bec
DM
348302012-05-21 David S. Miller <davem@davemloft.net>
34831
34832 * Makefules (o-iterator): Remove .s cases.
34833 (compile-command.s): Delete.
34834 (COMPILE.s): Delete.
34835 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34836
59f0c22e
JM
348372012-05-21 Joseph Myers <joseph@codesourcery.com>
34838
34839 * configure.in (libc_cv_predef_stack_protector): Only consider
34840 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34841 * configure: Regenerated.
34842
20c07380
L
348432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34844
bbb3154b
L
34845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34846 New macro. Use R*LP on int and pointer.
34847 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34848 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34849 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34850 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34851
20c07380
L
34852 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34853 [__WORDSIZE_TIME64_COMPAT32] instead of
34854 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34855 (struct utmp): Likewise.
34856 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34857 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34858 Renamed to ...
34859 (__WORDSIZE_TIME64_COMPAT32): This.
34860 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34861 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34862 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34863 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34864 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34865 (__WORDSIZE_TIME64_COMPAT32): New macro.
34866
d8d1017e
AJ
348672012-05-21 Andreas Jaeger <aj@suse.de>
34868
34869 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34870 only if [SHARED]. Add prototype for __wcschr_ia32.
34871
6c7fb145
RM
348722012-05-21 Roland McGrath <roland@hack.frob.com>
34873
34874 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34875 of %rbp unmolested in the jmp_buf while mangling the low bits.
34876 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34877 unmolested high bits of %rbp while demangling the low bits.
34878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34879
66274218
AJ
348802012-05-21 Andreas Jaeger <aj@suse.de>
34881
07c58f8f
AJ
34882 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34883 * sunrpc/svc_simple.c: Use it for registerrpc.
34884 * sunrpc/xcrypt.c: Use it for passwd2des.
34885
66274218
AJ
34886 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34887
61f65140
L
348882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34889
34890 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34891 Don't define if [__SYSCALL_WORDSIZE != 32].
34892 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34893 New macro.
34894
5fefb436
AJ
348952012-05-21 Bruno Haible <bruno@clisp.org>
34896 Andreas Jaeger <aj@suse.de>
34897
34898 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34899 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34900 inptr and inend for must_buffer_ch.
34901 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34902 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34903 * stdio-common/Makefile (tests): Remove bug15.
34904 (bug15-ENV): Remove macro.
34905 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34906 anymore.
34907
d8e272ab
AJ
349082012-05-19 Andreas Jaeger <aj@suse.de>
34909 Roland McGrath <roland@hack.frob.com>
34910
34911 * manual/contrib.texi: Completely rewritten. It contains now an
34912 alphabetical list of contributors and their contributions.
34913
4a56a162
RH
349142012-05-21 Richard Henderson <rth@twiddle.net>
34915
34916 * misc/getauxval.c (__getauxval): Use unsigned long int.
34917 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34918 (getauxval): Use unsigned long int.
34919
d024d23c
L
349202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34921
34922 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34923
cbc00a03
RM
349242012-05-21 Roland McGrath <roland@hack.frob.com>
34925
34926 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34927 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34928 __alignof__ (long double).
34929
478143fa
AZ
349302012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34931
34932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34933
c7683a6d
RH
349342012-05-20 Richard Henderson <rth@twiddle.net>
34935
34936 * misc/getauxval.c: New file.
34937 * misc/sys/auxv.h: New file.
34938 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34939 (routines): Add getauxval.
34940 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34941 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34942 * elf/dl-sysdep.c (_dl_auxv): Remove.
34943 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34944 * elf/dl-support.c (_dl_auxv): New variable.
34945 (_dl_aux_init): Initialize it.
34946 * manual/startup.texi (Auxiliary Vector): New node.
34947 * sysdeps/generic/bits/hwcap.h: New file.
34948 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34949 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34950 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34951 * sysdeps/sparc/sysdep.h: ... here. Include it.
34952 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34953 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34955 Update.
c7683a6d
RH
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34964
a6f1845d
AZ
349652012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34966
34967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34968
cbcbe830
DM
349692012-05-19 David S. Miller <davem@davemloft.net>
34970
34971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34972
e0b16cc2
JM
349732012-05-19 Joseph Myers <joseph@codesourcery.com>
34974
34975 [BZ #14123]
34976 * math/s_ccosh.c: Include <float.h>
34977 (__ccosh): Avoid internal overflow calculating sinh and cosh
34978 values before multiplying by sin and cos values.
34979 * math/s_ccoshf.c: Likewise.
34980 * math/s_ccoshl.c: Likewise.
34981 * math/s_csin.c: Likewise.
34982 * math/s_csinf.c: Likewise.
34983 * math/s_csinl.c: Likewise.
34984 * math/s_csinh.c: Likewise.
34985 * math/s_csinhf.c: Likewise.
34986 * math/s_csinhl.c: Likewise.
34987 * math/libm-test.inc (ccos_test): Add more tests.
34988 (ccosh_test): Likewise.
34989 (csin_test): Likewise.
34990 (csinh_test): Likewise.
34991 * sysdeps/i386/fpu/libm-test-ulps: Update.
34992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34993
6ad13e08
L
349942012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34995
f66f0ce8
L
34996 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34997 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34998
6ad13e08
L
34999 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35000
b1d072a7
JM
350012012-05-19 Joseph Myers <joseph@codesourcery.com>
35002
35003 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35004 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35005 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35006 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35007 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35008 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35009 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35010 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35011 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35012 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35013 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35014 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35015 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35016 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35017 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35018 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35019 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35020 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35021 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35022 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35023 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35024 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35025 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35026 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35027 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35028 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35029 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35030 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35031 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35032 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35033 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35034
9eae47cb
AJ
350352012-05-18 Andreas Jaeger <aj@suse.de>
35036
35037 * csu/.gitignore: Delete.
35038
bb07f69f
L
350392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35040
35041 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35042 (timex): Use __syscall_slong_t.
35043
e6bdb741
AJ
350442012-05-18 Andreas Jaeger <aj@suse.de>
35045 Carlos O'Donell <carlos_odonell@mentor.com>
35046
35047 * manual/install.texi (Configuring and compiling): Update
35048 description about files modified in the source directory.
d6c33fda 35049 * INSTALL: Regenerated.
e6bdb741 35050
1b74487e
L
350512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35052
35053 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35054 value. Use "or" to set return value to -1.
35055 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35056 negate return value.
35057
a88b64b9
TMQMF
350582012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35059
57f41c40
AS
35060 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35061 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
35062 failure if the compiler has Graphite support disabled.
35063 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35064 Likewise.
57f41c40
AS
35065 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35066 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
35067 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35068 Likewise.
35069
3707636e
L
350702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35071
610b8622
L
35072 * sysdeps/x86_64/x32/_itoa.h: New file.
35073
7cd195df
L
35074 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35075 getdents system call only if kernel and user dirents have the
35076 same d_ino and d_off.
35077
94b07d20
L
35078 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35079 LLONG_MAX != LONG_MAX.
35080 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35081 (_fitoa_word): Likewise.
35082
18298070
L
35083 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35084 years.
35085 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35086 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35087 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35088
553c7ea4
L
35089 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35090 include <bits/wordsize.h>. Check __x86_64__ instead of
35091 __WORDSIZE.
35092 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35093 if __x86_64__ is defined. Use anonymous union on fpstate.
35094
3707636e
L
35095 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35096 anonymous union.
35097
b53ef01a
AS
350982012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35099
37fb1dc0
AS
35100 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35101 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35102 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35103 Refer to _rtld_local_ro instead of _rtld_global_ro.
35104 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35105 Likewise.
35106 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35107 Likewise.
35108 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35109 Likewise.
35110 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35111 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35112 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35113
b53ef01a
AS
35114 * sysdeps/powerpc/powerpc32/dl-machine.c
35115 (__elf_machine_runtime_setup) [PROF]: Don't reference
35116 _dl_prof_resolve.
35117
7a185db2
AJ
351182012-05-18 Andreas Jaeger <aj@suse.de>
35119
35120 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35121 function only available for GCCs before 3.4 since GCC 3.4
35122 introduced a builtin.
35123 (lrint): Likewise.
35124 (llrintf): Likewise.
35125 (llrint): Likewise.
35126 (fmaxf): Likewise.
35127 (fmax): Likewise.
35128 (fminf): Likewise.
35129 (fmin): Likewise.
35130 (rint): Likewise.
35131 (rintf): Likewise.
35132 (nearbyint): Likewise.
35133 (nearbyintf): Likewise.
35134 (ceil): Likewise.
35135 (ceilf): Likewise.
35136 (floor): Likewise.
35137 (floorf): Likewise.
35138
3e5aef87
L
351392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35140
428bd707
L
35141 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35142 on both fields and cast pointer to __syscall_ulong_t.
35143
3e5aef87
L
35144 * bits/types.h (__fsword_t): New type.
35145 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35146 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35148 (__FSWORD_T_TYPE): Likewise.
35149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35150 (__FSWORD_T_TYPE): Likewise.
35151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35152 (__FSWORD_T_TYPE): Likewise.
35153 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35154 (__FSWORD_T_TYPE): Likewise.
35155 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35156 __SWORD_TYPE with __fsword_t.
35157 (statfs64): Likewise.
35158
1ba7c3dc
DM
351592012-05-17 David S. Miller <davem@davemloft.net>
35160
35161 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35162
59910343
AJ
351632012-05-17 Andreas Jaeger <aj@suse.de>
35164
35165 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35166 warning.
35167
2e4c1e9e
L
351682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35169
35170 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35171
de7f5ce7
AJ
351722012-05-17 Andreas Jaeger <aj@suse.de>
35173
35174 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35175 when it is used.
35176
286abc3d
CM
351772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35178
35179 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35180
477cc68e
L
351812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35182
35183 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35184 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35185
1a0994f5
CD
351862012-05-17 Andreas Jaeger <aj@suse.de>
35187 Carlos O'Donell <carlos_odonell@mentor.com>
35188
35189 [BZ #14059]
35190 * sysdeps/x86_64/multiarch/init-arch.h
35191 (bit_YMM_Usable): Rename to...
35192 (bit_AVX_Usable): ... this.
35193 (bit_FMA4_Usable): New macro.
35194 (bit_XMM_state): New macro.
35195 (bit_YMM_state): New macro.
35196 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35197 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35198 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35199 (CPUID_OSXSAVE): New macro.
35200 (CPUID_AVX): New macro.
35201 (CPUID_FMA4): New macro.
35202 (index_YMM_Usable): Rename to...
35203 (index_AVX_Usable): ... this.
35204 (HAS_AVX): Use HAS_ARCH_FEATURE.
35205 (HAS_FMA4): Likewise.
35206 (HAS_YMM_USABLE): Remove.
35207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35208 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35209 are present.
35210 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35211 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35212 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35213 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35214 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35215
0af797de
CM
352162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35217
35218 * math/libm-test.c: Support platforms without multiple rounding modes.
35219 * math/bug-nextafter.c: Support platforms without FP exceptions.
35220 * math/bug-nexttoward.c: Likewise.
35221 * math/test-fenv.c: Likewise.
35222 * math/test-misc.c: Likewise.
35223 * stdlib/bug-getcontext.c: Likewise.
35224
e39745ff
AJ
352252012-05-17 Andreas Jaeger <aj@suse.de>
35226
35227 * manual/examples/search.c (critter_cmp): Change signature to
35228 avoid warnings.
35229 * manual/string.texi (Collation Functions): Likewise.
35230
48970aba
L
352312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35232
35233 * bits/types.h: Fold copyright years.
35234 * bits/typesizes.h: Likewise.
35235 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35237 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35238 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35239 * time/time.h: Likewise.
35240
bedee953
PP
352412012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35242
35243 [BZ #208]
35244 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35245 in instead of returning them. Return void.
35246 (__libc_mallinfo): Accumulate over all arenas.
35247 (__malloc_stats): Adjust for change in int_mallinfo interface.
35248
61653dfb
RM
352492012-05-16 Roland McGrath <roland@hack.frob.com>
35250
30b99d79
RM
35251 [BZ #10375]
35252 * configure.in (NM): Add AC_CHECK_TOOL for it.
35253 (libc_extra_cflags): New substituted variable.
35254 Check for -fstack-protector being used implicitly.
35255 * configure: Regenerated.
35256 * config.make.in (config-extra-cflags): New variable,
35257 gets @libc_extra_cflags@.
35258 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35259
61653dfb
RM
35260 [BZ #10375]
35261 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35262 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35263 * configure: Regenerated.
35264 * config.make.in (CPPUNDEFS): New substituted variable.
35265 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35266 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35267 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35268
661768bb
L
352692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35270
35271 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35272 (mq_attr): Use __syscall_slong_t.
35273
d4261567
L
352742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35275
35276 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35277 Check __x86_64__ instead of __WORDSIZE.
35278 (_STAT_VER_LINUX): Likewise.
35279 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35280 __syscall_ulong_t and __syscall_slong_t.
35281 (stat64): Likewise.
35282
cf3ff365
L
352832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35284
35285 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35286
76cf3e4d
L
352872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35288
35289 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35290
a637753a
L
352912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35292
35293 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35294 __syscall_ulong_t.
35295
d5e05119
L
35296 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35297 include <bits/wordsize.h>. Check __x86_64__ instead of
35298 __WORDSIZE.
35299 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35300 defined.
35301 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35302
f62ee380
L
35303 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35304 include <bits/wordsize.h>. Check __x86_64__ instead of
35305 __WORDSIZE.
35306 (user_regs_struct): Use "__extension__ unsigned long long"
35307 instead of "unsigned long" if __x86_64__ is defined.
35308 (user): Likewise. Pad after pointer field if __ILP32__ is
35309 defined.
35310
4e124ced
JM
353112012-05-16 Joseph Myers <joseph@codesourcery.com>
35312
6a3951a0
JM
35313 * configure.in (makeinfo): Require version 4.5 or later. Allow
35314 versions 5 to 9.
35315 * configure: Regenerated.
35316 * manual/install.texi (texinfo): Increase version requirement to
35317 4.5 or later.
35318 * INSTALL: Regenerated.
35319
4e124ced
JM
35320 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35321
953ca31a
L
353222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35323
35324 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35325
617aca05
L
35326 * sysdeps/x86_64/x32/ffs.c: New file.
35327
5762f7ae
L
35328 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35329 __syscall_ulong_t.
35330 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35331 defined. Use __syscall_ulong_t.
35332 (shminfo): Use __syscall_ulong_t.
35333 (shm_info): Likewise.
35334
a26b6856
L
35335 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35336 __syscall_ulong_t.
35337
cb2b9ef7
L
35338 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35339 <bits/wordsize.h>.
35340 (msgqnum_t): Use __syscall_ulong_t.
35341 (msglen_t): Likewise.
35342 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35343 __syscall_ulong_t.
35344
34683bb0
L
35345 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35346 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35347
84a68786
L
35348 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35349
48baa5f1
L
35350 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35351 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35352
180be88b
L
35353 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35354 __syscall_slong_t.
35355
5e90c8ad
L
35356 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35357 include <bits/wordsize.h>. Check __x86_64__ instead of
35358 __WORDSIZE.
35359
23dfb58b
L
35360 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35361 "unsigned long long int" if __x86_64__ is defined.
35362 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35363
ce5d54b0
L
35364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35365 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35366 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35367
13dc9eac
L
35368 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35369 <stdint.h>.
35370 (GET_PC): Cast to uintptr_t first.
35371 (GET_FRAME): Likewise.
35372 (GET_STACK): Likewise.
35373
a7895d15
L
35374 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35375 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35376 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35377 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35378 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35379 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35380 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35381 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35382 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35383 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35384 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35385 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35386 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35387 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35388 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35389 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35390 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35391 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35392 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35393 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35394 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35395 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35396 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35397 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35398 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35399 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35400 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35401 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35402 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35403
656416c9
AS
354042012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35405
5bd66283
AS
35406 * Makerules (+depfiles): Also collect depfiles from .oS in
35407 $(extra-objs).
35408 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35409 .oS, $(libnldbl-routines)).
35410
656416c9
AS
35411 * Makerules (native-compile-mkdep-flags): Define.
35412 * sunrpc/Makefile (extra-objs): Add $(addprefix
35413 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35414 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35415 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35416 calling $(make-target-directory).
35417
a46f2169
L
354182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35419
35420 * bits/types.h (__snseconds_t): Removed.
35421 * time/time.h (struct timespec): Replace __snseconds_t with
35422 __syscall_slong_t.
35423 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35424 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35425 Likewise.
35426 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35427 (__SNSECONDS_T_TYPE): Likewise.
35428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35429 (__SNSECONDS_T_TYPE): Likewise.
35430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35431 (__SNSECONDS_T_TYPE): Likewise.
35432
6af6528b
L
354332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35434
35435 * sysdeps/mach/hurd/bits/typesizes.h
35436 (__SYSCALL_SLONG_TYPE): New macro.
35437 (__SYSCALL_ULONG_TYPE): Likewise.
35438
de986b56
L
354392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35440
35441 * bits/types.h (__syscall_slong_t): New type.
35442 (__syscall_ulong_t): Likewise.
35443
35444 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35445 (__SYSCALL_ULONG_TYPE): Likewise.
35446 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35447 (__SYSCALL_SLONG_TYPE): Likewise.
35448 (__SYSCALL_ULONG_TYPE): Likewise.
35449 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35450 (__SYSCALL_SLONG_TYPE): Likewise.
35451 (__SYSCALL_ULONG_TYPE): Likewise.
35452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35453 (__SYSCALL_SLONG_TYPE): Likewise.
35454 (__SYSCALL_ULONG_TYPE): Likewise.
35455
85736dc7
L
354562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35457
35458 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35459 Add sigaltstack-offsets.sym.
35460 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35461 <sigaltstack-offsets.h>.
35462 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35463 longjmp_msg pointer.
35464 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35465 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35466 signal stack.
35467 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35468
cc03b296
JM
354692012-05-15 Joseph Myers <joseph@codesourcery.com>
35470
a9538892
JM
35471 * elf/stackguard-macros.h: Remove file.
35472 * sysdeps/generic/stackguard-macros.h: New file.
35473 * sysdeps/i386/stackguard-macros.h: Likewise.
35474 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35475 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35476 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35477 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35478 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35479 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35480 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35481 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35482 <elf/stackguard-macros.h>.
35483
cc03b296
JM
35484 [BZ #14109]
35485 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35486 __aligned__ in attribute.
35487 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35488 (gregset_t): Likewise.
35489
93171016
L
354902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35491
35492 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35493 * sysdeps/x86_64/64/Implies-after: Here. New file.
35494 * sysdeps/x86_64/x32/Implies-after: New file.
35495
d86813a0
L
354962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35497
35498 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35499 and access return value for _dl_profile_fixup. Use R10_LP to
35500 load frame size.
35501
2953ec75
L
355022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35503
35504 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35505
3b550e9e
L
355062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35507
35508 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35509 * sysdeps/x86_64/x32/sysdep.h: New file.
35510
eda41706
L
355112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35512
35513 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35514 * sysdeps/x86_64/setjmp.S: Likewise.
35515
9ea01d93
AZ
355162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35517
35518 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35519 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35520 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35521 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35522 remove unused global constant.
35523
02a91938
CM
355242012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35525
35526 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35527 include of <not-cancel.h>.
35528
6540185f
RM
355292012-05-15 Roland McGrath <roland@hack.frob.com>
35530
35531 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35532
509072a0
AJ
355332012-05-15 Jeff Law <law@redhat.com>
35534 Andreas Jaeger <aj@suse.de>
35535
35536 [BZ #13594]
35537 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35538 out from...
35539 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35540 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35541 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35542 code changing __hst_map_handle.map.
35543
ba75122d
RM
355442012-05-15 Roland McGrath <roland@hack.frob.com>
35545
35546 * configure.in (sysnames): Look for Implies-before and Implies-after
35547 files.
35548 * configure: Regenerated.
35549
890d8bd8
L
355502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35551
35552 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35553 8-byte data alignment with LP_SIZE alignment.
35554
f6ee6623
L
355552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35556
35557 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35558 into R10_LP.
35559
ea2626f6
L
355602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35561
35562 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35563
085f715e
L
355642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35565
35566 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35567 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35568 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35569 Likewise.
35570 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35571
be8498fc
L
355722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35573
35574 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35575 (stackinfo_sub_sp): Likewise.
35576
70bc83b9
L
355772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35578
35579 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35580 RAX_LP.
35581
9bc0b730
L
355822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35583
35584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35585 into R*_LP.
35586
6d2850e7
L
355872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35588
35589 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35590 sizes into R*_LP.
35591
3cb84561
L
355922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35593
35594 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35595
54e2ed81
L
355962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35597
35598 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35599 into R11_LP and load __x86_64_shared_cache_size_half into
35600 R8_LP.
35601
8a17f349
L
356022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35603
35604 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35605 R8_LP.
35606
777b1eea
AZ
356072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35608
35609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35610 logb for POWER7.
35611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35612 logbf for POWER7.
35613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35614 logbl for POWER7.
35615 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35616 powerpc32/power7/fpu/s_logb.c via #include.
35617 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35618 powerpc32/power7/fpu/s_logbf.c via #include.
35619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35620 powerpc32/power7/fpu/s_logbl.c via #include.
35621
d20d4ac2
JM
356222012-05-15 Joseph Myers <joseph@codesourcery.com>
35623
35624 * README.libm: Remove file.
35625
6cdef1ab
L
356262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35627
35628 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35629 count for x32. Use R*_LP and omit operand-size suffix.
35630
0b254d8f
L
356312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35632
35633 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35634 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35635 * sysdeps/x86_64/x32/shlib-versions: New file.
35636
ceb809dc
RM
356372012-05-14 Roland McGrath <roland@hack.frob.com>
35638
35639 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35640 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35641 Use _dl_fatal_printf instead.
35642
37f1abd4
JM
356432012-05-14 Joseph Myers <joseph@codesourcery.com>
35644
35645 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35646 set if not set by the user. Do not allow for being unset.
35647 * sysdeps/unix/sysv/linux/configure: Regenerated.
35648
11de3a33
L
356492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35650
35651 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35652 the `q' suffix from lea and replace .quad with ASM_ADDR.
35653
e02f153a
L
356542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35655
35656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35657 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35658 instead of $17.
35659 (PTR_DEMANGLE): Likewise.
35660
520ae0fd
L
356612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35662
35663 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35664 (LP_OP): Likewise.
35665 (ASM_ADDR): Likewise.
35666 (RAX_LP): Likewise.
35667 (RBP_LP): Likewise.
35668 (RBX_LP): Likewise.
35669 (RCX_LP): Likewise.
35670 (RDI_LP): Likewise.
35671 (RSI_LP): Likewise.
35672 (RSP_LP): Likewise.
35673 (R8_LP): Likewise.
35674 (R9_LP): Likewise.
35675 (R10_LP): Likewise.
35676 (R10_LP): Likewise.
35677 (R11_LP): Likewise.
35678 (R12_LP): Likewise.
35679 (R13_LP): Likewise.
35680 (R14_LP): Likewise.
35681 (R15_LP): Likewise.
35682
b985be81
L
356832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35684
35685 * sysdeps/x86_64/x32/dl-machine.h: New file.
35686
6a4888ff
AJ
356872012-05-14 Andreas Jaeger <aj@suse.de>
35688
35689 * manual/Makefile (subdir): Remove export of subdir.
35690 (all): Remove target.
35691 (.PHONY): Remove all from list.
35692 (mkinstalldirs): Remove.
35693 (.PHONY): Remove installdirs from list.
35694 ($(inst_infodir)/libc.info): Use make-target-directory.
35695 (installdirs): Remove.
35696 (subdir_%): Remove.
35697 (glibc-targets): Remove.
35698 (lib): Remove.
35699 (stubs): Remove.
35700 ($(objpfx)stubs ../po/manual.pot): Remove.
35701 ($(objpfx)stamp%): Remove.
35702 (make-target-directory): Remove.
35703 (subdir_install): Remove.
35704 (routines): Remove.
35705 (aux): Remove.
35706 (sources): Remove.
35707 (objects): Remove.
35708 (headers): Remove.
35709
35710 [BZ #13750]
35711 * manual/.gitignore: Remove, it's not needed anymore.
35712 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35713 all files in it.
35714 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35715 directory.
35716 (texis): Renamed to $(objpfx)texis.
35717 (texis-path): New, contains path to generated files.
35718 (chapters.%): Use texis-path for complete path, add extra argument
35719 libc-texinfo.sh.
35720 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35721 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35722 (summary,texi, stamp-summary): Use complete path of
35723 files. Generate files in build dir.
35724 (dir-add.texi): Build in build dir.
35725 (libm-err.texi,stamp-libm-err): Likewise.
35726 (version.texi, stamp-version): Likewise.
35727 (.%c.texi): Likewise.
35728 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35729 (mostlyclean): Remove target.
35730 (realclean): Remove target.
35731 (generated): Add new variable with contents from mostlyclean and
35732 realclean, remove entries duplicated in common-mostlyclean, add
35733 stamp-libm-err and stamp-version.
35734 (generated-dirs): Add libc directory.
35735 ($(inst_infodir)/libc.info): Install files from build dir.
35736
35737 * manual/install.texi (Configuring and compiling): Adjust since
35738 the info files are not part of the tar ball anymore.
35739
7ac77294
AJ
357402012-05-14 Andreas Jaeger <aj@suse.de>
35741
35742 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35743 variable.
35744
ffb7875d
JM
357452012-05-14 Joseph Myers <joseph@codesourcery.com>
35746
35747 [BZ #13717]
35748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35749 to 2.2.0 where earlier.
35750 * sysdeps/unix/sysv/linux/configure: Regenerated.
35751 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35752 Remove conditional code.
35753 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35754 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35755 Remove conditional code.
35756 [!__NR_lchown]: Likewise.
35757 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35758 [__NR_lchown]: Likewise.
35759 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35760 comment referencing __ASSUME_LCHOWN_SYSCALL.
35761 * sysdeps/unix/sysv/linux/i386/sigaction.c
35762 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35763 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35764 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35765 Remove conditional code.
35766 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35767 (__protocol_available): Remove #if 0 code.
35768 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35769 conditional code.
35770 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35771 * sysdeps/unix/sysv/linux/kernel-features.h
35772 (__ASSUME_GETCWD_SYSCALL): Don't define.
35773 (__ASSUME_REALTIME_SIGNALS): Likewise.
35774 (__ASSUME_PREAD_SYSCALL): Likewise.
35775 (__ASSUME_PWRITE_SYSCALL): Likewise.
35776 (__ASSUME_POLL_SYSCALL): Likewise.
35777 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35778 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35779 non-SPARC.
35780 (__ASSUME_SIOCGIFNAME): Don't define.
35781 (__ASSUME_MSG_NOSIGNAL): Likewise.
35782 (__ASSUME_SENDFILE): Define unconditionally.
35783 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35784 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35785 conditional code.
35786 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35787 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35788 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35789 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35790 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35791 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35792 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35797 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35803 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35806 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35809 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35810 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35812 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35815 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35817 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35818 Remove conditional code.
35819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35820 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35821 Remove conditional code.
35822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35823 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35824 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35825 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35826 Remove conditional code.
35827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35828 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35829 Remove conditional code.
35830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35831 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35832 Remove conditional code.
35833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35834 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35835 Remove conditional code.
35836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35837 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35838 Remove conditional code.
35839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35840 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35841 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35842 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35843 * sysdeps/unix/sysv/linux/sigaction.c
35844 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35845 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35846 * sysdeps/unix/sysv/linux/sigpending.c
35847 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35848 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35849 * sysdeps/unix/sysv/linux/sigprocmask.c
35850 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35851 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35852 * sysdeps/unix/sysv/linux/sigsuspend.c
35853 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35854 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35855 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35856 (__libc_missing_rt_sigs): Remove.
35857 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35858 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35859 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35860 Remove conditional code.
35861 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35862 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35863 return 1.
35864 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35865 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35866 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35867 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35868
1bfb7291
AJ
358692012-05-14 Andreas Jaeger <aj@suse.de>
35870
caae5a81
AJ
35871 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35872 it's not used in glibc.
35873 (__coshm1): Likewise.
35874 (__acosh1p): Likewise.
35875 (__sgn): Likewise.
35876
1bfb7291
AJ
35877 * manual/string.texi (Copying and Concatenation): Add missing
35878 variable in concat example.
35879 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35880
c044d724
L
358812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35882
144c5467 35883 [BZ #14103]
c044d724
L
35884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35885 __builtin_clzl with __builtin_clzll.
35886
2523c62b
L
358872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35888
35889 [BZ #14104]
35890 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35891 libc_freeres_ptr.
35892
d7bb4c42
LD
358932012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35894
35895 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35896 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35897 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35898 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35899
9dc4e1fb
MF
359002012-05-14 Mike Frysinger <vapier@gentoo.org>
35901
35902 * NEWS: Update ia64 info.
35903
c7df0112
AS
359042012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35905
35906 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35907 used as bcopy.
35908
dc70356c
TS
359092012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35910
35911 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35912 * sysdeps/unix/syscalls.list (dup3): Likewise.
35913 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35914 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35915
9fb1a21f
L
359162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35917
35918 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35919 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35920
4822a2a5
L
359212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35922
35923 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35924 thread pointer.
35925 (TLS_IE): Use mov/add instead of movq/addq to load thread
35926 pointer.
35927 (TLS_GD_PREFIX): New.
35928 (TLS_GD): Use it.
35929
842b81d6
DM
359302012-05-11 David S. Miller <davem@davemloft.net>
35931
35932 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35933 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35934 (_FPU_SETCW): Likewise.
35935
1cf463cd
L
359362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35937
35938 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35939 is 32-byte aligned.
35940
60cc4a18
AS
359412012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35942
35943 [BZ #11837]
35944 * iconvdata/gb18030.c: Update tables.
35945 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35946 characters specially.
35947 (BODY for TO_LOOP): Add encoding of missing ranges.
35948
febb44a4
TS
359492012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35950
35951 [BZ #13673]
35952 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35953 * sysdeps/mach/hurd/dup3.c: Likewise.
35954 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35955 * sysdeps/powerpc/memmove.c:: Likewise.
35956
0a10fb9e
L
359572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35958
35959 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35960 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35961
df8a552f
L
359622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35963
35964 * elf/elf.h (R_X86_64_RELATIVE64): New.
35965 (R_X86_64_NUM): Updated.
35966 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35967 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35968 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35969 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35970 tst-quad1pie tst-quad2pie
35971 (modules-names): Add tst-quadmod1 tst-quadmod2.
35972 ($(objpfx)tst-quad1): New dependency.
35973 ($(objpfx)tst-quad2): Likewise.
35974 ($(objpfx)tst-quad1pie): Likewise.
35975 ($(objpfx)tst-quad2pie): Likewise.
35976 * sysdeps/x86_64/tst-quad1.c: New file.
35977 * sysdeps/x86_64/tst-quad1pie.c: New file.
35978 * sysdeps/x86_64/tst-quad2.c: Likewise.
35979 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35980 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35981 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35982 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35983 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35984
f34d6f84
ST
359852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35986
f42d41d1
ST
35987 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35988 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35989 * streams/stropts.h (t_scalar_t): Define type.
35990
3c3571fc
ST
35991 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35992 (_PATH_PRESERVE): Set to "/var/lib".
35993 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35994
61f06bd3
ST
35995 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35996 instead of int.
35997
918d4d71
ST
35998 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35999 if __dir_mkfile succeeded.
36000
f34d6f84
ST
36001 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36002 checking for _hurd_dtablesize. Unlock it right after having
36003 finished _hurd_dtable allocation.
36004
10589b4a
TS
360052012-05-10 Thomas Schwinge <thomas@schwinge.name>
36006
674cdbc7
TS
36007 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36008 * sysdeps/mach/hurd/configure: Regenerated.
36009 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36010 special-casing to...
36011 * sysdeps/gnu/configure.in: ... this new file.
36012 * sysdeps/unix/sysv/linux/configure: Regenerated.
36013 * sysdeps/gnu/configure: New generated file.
36014
8e41b99f
TS
36015 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36016 for Linux: use nsec instead of usec, as well as:
36017 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36018 members of type struct timespec.
36019 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36020 New macros.
36021 (struct stat64): Likewise.
36022 (_STATBUF_ST_NSEC): New macro.
36023 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36024
10589b4a
TS
36025 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36026 __strtoul_internal rather than strtoul.
36027
63643c85
PT
360282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36029
36030 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36031 and reject them.
36032
3faebe6a
ST
360332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36034
36035 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36036 which preserves existing values.
36037 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36038
c6474b07
PT
360392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36040
36041 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36042 TIMEOUT values. Return EINVAL for NFDS values either negative or
36043 greater than FD_SETSIZE.
36044
1043890b
ST
360452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36046
36047 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36048 allocated, call __vm_protect to finish enabling the existing space, and
36049 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36050 allocate the remainder.
36051
37ed8b9b
PT
360522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36053
36054 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36055 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36056
db653660
ST
360572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36058
37ed8b9b
PT
36059 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36060 sysdeps/mach/hurd/readlink.c.
b29d4053 36061
db653660
ST
36062 * posix/tst-sysconf.c (posix_options): Only use
36063 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36064 _POSIX_SYNCHRONIZED_IO when they are defined
36065 * sysdeps/mach/hurd/bits/posix_opt.h:
36066 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36067 (_XOPEN_REALTIME): Undefine macro.
36068 (_XOPEN_REALTIME_THREADS): Undefine macro.
36069 (_XOPEN_SHM): Undefine macro.
36070 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36071 macro to -1.
36072 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36073 macro to -1.
36074 (_POSIX_ASYNC_IO): Undefine macro.
36075 (_POSIX_PRIORITIZED_IO): Undefine macro.
36076 (_POSIX_SPIN_LOCKS): Define macro to -1.
36077
ee16e894
ST
36078 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36079 SA_NODEFER, SA_RESETHAND.
36080 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36081 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36082 F_DUPFD_CLOEXEC.
36083
6103ae3b
TS
360842012-05-10 Thomas Schwinge <thomas@schwinge.name>
36085
36086 * elf/Makefile (pldd-modules): Define unconditionally.
36087
80b4e5f3
TS
360882012-05-10 Thomas Schwinge <thomas@schwinge.name>
36089
36090 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36091
edadcbd6
ST
360922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36093
36094 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36095 Return ENOENT when name is empty.
36096 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36097
80694780
TS
360982012-05-10 Thomas Schwinge <thomas@schwinge.name>
36099
1792c087
TS
36100 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36101
80694780
TS
36102 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36103
6b645f0d
ST
361042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36105
80694780
TS
36106 Fix mlock in all cases except non-readable pages.
36107 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36108 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36109
6b645f0d
ST
36110 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36111 (__mkdir): When path is `/', just fail with EEXIST.
36112 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36113
e468f8a3
TS
361142012-05-10 Thomas Schwinge <thomas@schwinge.name>
36115
36116 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36117 <sys/uio.h> (for writev).
36118 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36119 and <sys/param.h> (for MIN).
36120
a4186cff
PT
361212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36122
36123 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36124 REQUESTED_TIME. Properly set the remaining time and return EINTR
36125 if interrupted.
36126
510bbf14
TS
361272012-05-10 Thomas Schwinge <thomas@schwinge.name>
36128
36129 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36130 Depend on against $(link-rpcuserlibs).
36131
5d5722e8
ST
361322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36133
a4186cff
PT
36134 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36135 (__libc_stack_end): Do not use attribute_relro.
36136 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36137 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36138 to libthread-provided value.
a4186cff
PT
36139 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36140 attribute_relro.
5d5722e8 36141
37233df9
TS
361422012-05-10 Thomas Schwinge <thomas@schwinge.name>
36143
be971a2b
TS
36144 [BZ #3748]
36145 * bits/libc-lock.h (__libc_once_get): New macro.
36146 * sysdeps/mach/bits/libc-lock.h: Likewise.
36147 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36148 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36149 instead of using implementation details.
36150
37233df9
TS
36151 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36152 * libio/freopen.c: Likewise.
36153 * libio/freopen64.c: Likewise.
36154 * misc/syslog.c: Likewise.
36155 * nscd/connections.c: Likewise.
36156 * nscd/netgroupcache.c: Likewise.
36157 * sysdeps/posix/getcwd.c: Likewise.
36158
38de94a5
RM
361592012-05-10 Roland McGrath <roland@hack.frob.com>
36160
36161 * math/w_ilogbf.c: Add #include <limits.h>.
36162
67530489
ST
361632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36164
a4186cff 36165 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36166 path instead of returning without unlocking.
36167
67530489
ST
36168 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36169 immediate-write ioctls.
36170 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36171
5aa3a74a
TS
361722012-05-10 Thomas Schwinge <thomas@schwinge.name>
36173
18bad2ae
TS
36174 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36175 __builtin_frame_address instead of making assumptions about the
36176 location of the return address relative to DATA. Force early load of
36177 the return address.
36178 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36179 __builtin_frame_address.
36180
5aa3a74a
TS
36181 dup3 for GNU Hurd.
36182 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36183 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36184 implement dup3 and do some further code clean-ups.
36185 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36186 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36187
ecd0de9a
ST
361882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36189
cd9fa985
ST
36190 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36191
a4186cff
PT
36192 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36193 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36194 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36195 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36196 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36197 d->port.lock.
802ca5a5 36198
a4186cff
PT
36199 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36200 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36201 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36202
bcf55240
TS
362032012-05-10 Thomas Schwinge <thomas@schwinge.name>
36204
6960eb42
TS
36205 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36206 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36207 definitions.
36208
eb43375f
TS
36209 accept4 for GNU Hurd.
36210 * include/sys/socket.h (__libc_accept4): New prototype.
36211 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36212 to implement __libc_accept4.
36213 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36214 __libc_accept4.
36215 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36216
bcf55240
TS
36217 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36218 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36219 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36220 signal-defines.sym.
36221
6178c55b
ST
362222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36223
a4186cff 36224 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36225
6f080c2f
TS
362262012-05-10 Thomas Schwinge <thomas@schwinge.name>
36227
36228 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36229 assertion on O_CLOEXEC flag.
36230 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36231 * hurd/intern-fd.c: Likewise.
36232 * hurd/port2fd.c: Likewise.
36233
bcfe3a54
ST
362342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36235
36236 [BZ #3906]
36237 * bits/in.h (IPV6_PKTINFO): Define new macro.
36238 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36239
89c9aa49
AZ
362402012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36241
36242 [BZ #13954]
36243 [BZ #13955]
36244 [BZ #13956]
36245 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36246 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36247 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36248 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36250 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36251 * math/libm-test.inc (logb_test) : Additional logb tests.
36252
021db4be
AJ
362532012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36254 Andreas Jaeger <aj@suse.de>
36255
36256 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36257 * configure: Regenerated.
36258 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36259 * config.make.in (link-obsolete-rpc): New substituted variable.
36260 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36261 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36262 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36263 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36264 so that libc.a contains the symbols.
36265 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36266 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36267 * sunrpc/auth_none.c: Likewise.
36268 * sunrpc/auth_unix.c: Likewise.
36269 * sunrpc/authdes_prot.c: Likewise.
36270 * sunrpc/authuxprot.c: Likewise.
36271 * sunrpc/clnt_gen.c: Likewise.
36272 * sunrpc/clnt_perr.c: Likewise.
36273 * sunrpc/clnt_raw.c: Likewise.
36274 * sunrpc/clnt_simp.c: Likewise.
36275 * sunrpc/clnt_tcp.c: Likewise.
36276 * sunrpc/clnt_udp.c: Likewise.
36277 * sunrpc/clnt_unix.c: Likewise.
36278 * sunrpc/des_crypt.c: Likewise.
36279 * sunrpc/des_soft.c: Likewise.
36280 * sunrpc/get_myaddr.c: Likewise.
36281 * sunrpc/key_call.c: Likewise.
36282 * sunrpc/key_prot.c: Likewise.
36283 * sunrpc/netname.c: Likewise.
36284 * sunrpc/pm_getmaps.c: Likewise.
36285 * sunrpc/pm_getport.c: Likewise.
36286 * sunrpc/pmap_clnt.c: Likewise.
36287 * sunrpc/pmap_prot.c: Likewise.
36288 * sunrpc/pmap_prot2.c: Likewise.
36289 * sunrpc/pmap_rmt.c: Likewise.
36290 * sunrpc/publickey.c: Likewise.
36291 * sunrpc/rpc_cmsg.c: Likewise.
36292 * sunrpc/rpc_common.c: Likewise.
36293 * sunrpc/rpc_dtable.c: Likewise.
36294 * sunrpc/rpc_prot.c: Likewise.
36295 * sunrpc/rpc_thread.c: Likewise.
36296 * sunrpc/rtime.c: Likewise.
36297 * sunrpc/svc.c: Likewise.
36298 * sunrpc/svc_auth.c: Likewise.
36299 * sunrpc/svc_raw.c: Likewise.
36300 * sunrpc/svc_run.c: Likewise.
36301 * sunrpc/svc_tcp.c: Likewise.
36302 * sunrpc/svc_udp.c: Likewise.
36303 * sunrpc/svc_unix.c: Likewise.
36304 * sunrpc/svcauth_des.c: Likewise.
36305 * sunrpc/xcrypt.c: Likewise.
36306 * sunrpc/xdr.c: Likewise.
36307 * sunrpc/xdr_array.c: Likewise.
36308 * sunrpc/xdr_float.c: Likewise.
36309 * sunrpc/xdr_intXX_t.c: Likewise.
36310 * sunrpc/xdr_mem.c: Likewise.
36311 * sunrpc/xdr_rec.c: Likewise.
36312 * sunrpc/xdr_ref.c: Likewise.
36313 * sunrpc/xdr_sizeof.c: Likewise.
36314 * sunrpc/xdr_stdio.c: Likewise.
36315
b5c086a2
RM
363162012-05-10 Roland McGrath <roland@hack.frob.com>
36317
36318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36319 change. Update copyright years.
36320
6d74dd09
JM
363212012-05-10 Joseph Myers <joseph@codesourcery.com>
36322
36323 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36324
28e72501
MK
363252012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36326 Joseph Myers <joseph@codesourcery.com>
36327 Paul Pluzhnikov <ppluzhnikov@google.com>
36328
36329 [BZ #14012]
36330 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36331 requiring rpcgen.
36332 [cross-compiling] (extra-libs): Likewise.
36333 [cross-compiling] (extra-libs-others): Likewise.
36334 [cross-compiling] (librpcsvc-routines): Likewise.
36335 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36336 [cross-compiling] (omit-deps): Likewise.
36337 (sunrpc-CPPFLAGS): New variable.
36338 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36339 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36340 (cross-rpcgen-objs): New variable.
36341 (extra-objs): Append $(cross-rpcgen-objs).
36342 ($(cross-rpcgen-objs)): New rule.
36343 ($(objpfx)cross-rpcgen): Likewise.
36344 (rpcgen-cmd): Define to use $(built-program-file). Expand
36345 comment.
36346 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36347 ($(objpfx)x%.stmp): Likewise.
36348 * sunrpc/proto.h [IS_IN_build] (_): Define.
36349 [IS_IN_build] (_libc_intl_domainname): Likewise.
36350
c8c59454
L
363512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36352
36353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36354 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36355 and R_X86_64_TPOFF64.
36356
6f27cd16
JM
363572012-05-10 Joseph Myers <joseph@codesourcery.com>
36358
36359 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36360 sysdeps/unix/sysv/syscalls.list.
36361 (stime): Likewise.
36362 (utime): Likewise.
36363 * sysdeps/unix/sysv/syscalls.list: Remove file.
36364
02467e1c
PE
363652012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36366
36367 [BZ #3440]
36368 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36369 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36370 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36371 (__LC_IDENTIFICATION): Make these macros useful in #if
36372 expressions, as required by C99.
36373
da392631
AS
363742012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36375
36376 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36377 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36378 after this.
36379
8115f29b
L
363802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36381
36382 * stdlib/longlong.h: Updated from GCC.
36383
bdd74070
AJ
363842012-05-09 Andreas Jaeger <aj@suse.de>
36385
edfe0dbe
AJ
36386 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36387 default is first entry.
36388 (run_mode): Set type.
36389 (main): Remove informal message about syslog.
36390 (options): Fix typo.
36391
bcfe3a54
ST
36392 [BZ #14053]
36393 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36394 to asm.
bcfe3a54
ST
36395 (lrint): Likewise.
36396 (llrintf): Likewise.
36397 (llrint): Likewise.
36398 (rint): Likewise.
36399 (rintf): Likewise.
36400 (nearbyint): Likewise.
36401 (nearbyintf): Likewise.
bdd74070 36402
91d8d69e
AJ
364032012-05-09 Andreas Jaeger <aj@suse.de>
36404 Pedro Alves <palves@redhat.com>
36405
36406 * nscd/nscd.c (run_mode): Use enum.
36407 (main): Cleanup coding style issue.
36408
bb90b80b
AJ
364092012-05-09 Alexandre Oliva <aoliva@redhat.com>
36410 Andreas Jaeger <aj@suse.de>
36411
bcfe3a54
ST
36412 * nscd/nscd.c (go_background): Replaced with...
36413 (run_mode): ... this.
bb90b80b 36414 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36415 (options): Add -F --foreground.
36416 (main): Implement it.
36417 (parse_opt): Parse it.
bb90b80b 36418
1a4b75a1
AJ
364192012-05-09 Andreas Jaeger <aj@suse.de>
36420
36421 [BZ #14083]
36422 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36423 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36424 -Wconversion warning.
36425 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36426 Likewise.
36427
b1cc2472
JM
364282012-05-09 Joseph Myers <joseph@codesourcery.com>
36429
36430 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36431 == 0.
36432 (LC_ALL): Use macro-int-constant.
36433 (LC_COLLATE): Likewise.
36434 (LC_CTYPE): Likewise.
36435 (LC_MESSAGES): Likewise.
36436 (LC_MONETARY): Likewise.
36437 (LC_NUMERIC): Likewise.
36438 (LC_TIME): Likewise.
36439 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36440 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36441 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36442 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36443 Specify type.
36444 [C99-based standards] (float_t): Expect type.
36445 [C99-based standards] (double_t): Expect type.
36446 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36447 type.
36448 [C99-based standards] (HUGE_VALL): Likewise.
36449 [C99-based standards] (INFINITY): Likewise.
36450 [C99-based standards] (NAN): Likewise.
36451 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36452 [C99-based standards] (FP_NAN): Likewise.
36453 [C99-based standards] (FP_NORMAL): Likewise.
36454 [C99-based standards] (FP_SUBNORMAL): Likewise.
36455 [C99-based standards] (FP_ZERO): Likewise.
36456 [C99-based standards] (FP_FAST_FMA): Use
36457 optional-macro-int-constant. Specify type. Require == 1.
36458 [C99-based standards] (FP_FAST_FMAF): Likewise.
36459 [C99-based standards] (FP_FAST_FMAL): Likewise.
36460 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36461 [C99-based standards] (FP_ILOGBNAN): Likewise.
36462 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36463 Specify type.
36464 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36465 [C99-based standards] (math_errhandling): Specify type.
36466 [ISO99 || ISO11] (signgam): Do not allow.
36467 [non-C99-based standards] (copysignf): Do not allow.
36468 [non-C99-based standards] (exp2f): Likewise.
36469 [non-C99-based standards] (log2f): Likewise.
36470 [non-C99-based standards] (modff): Allow.
36471 [non-C99-based standards] (erff): Do not allow.
36472 [non-C99-based standards] (erfcf): Likewise.
36473 [non-C99-based standards] (gammaf): Likewise.
36474 [non-C99-based standards] (hypotf): Likewise.
36475 [non-C99-based standards] (j0f): Likewise.
36476 [non-C99-based standards] (j1f): Likewise.
36477 [non-C99-based standards] (jnf): Likewise.
36478 [non-C99-based standards] (lgammaf): Likewise.
36479 [non-C99-based standards] (tgammaf): Likewise.
36480 [non-C99-based standards] (y0f): Likewise.
36481 [non-C99-based standards] (y1f): Likewise.
36482 [non-C99-based standards] (ynf): Likewise.
36483 [non-C99-based standards] (isnanf): Likewise.
36484 [non-C99-based standards] (acoshf): Likewise.
36485 [non-C99-based standards] (asinhf): Likewise.
36486 [non-C99-based standards] (atanhf): Likewise.
36487 [non-C99-based standards] (cbrtf): Likewise.
36488 [non-C99-based standards] (expm1f): Likewise.
36489 [non-C99-based standards] (ilogbf): Likewise.
36490 [non-C99-based standards] (log1pf): Likewise.
36491 [non-C99-based standards] (logbf): Likewise.
36492 [non-C99-based standards] (nextafterf): Likewise.
36493 [non-C99-based standards] (remainderf): Likewise.
36494 [non-C99-based standards] (rintf): Likewise.
36495 [non-C99-based standards] (scalbf): Likewise.
36496 [non-C99-based standards] (copysignl): Likewise.
36497 [non-C99-based standards] (exp2l): Likewise.
36498 [non-C99-based standards] (log2l): Likewise.
36499 [non-C99-based standards] (modfl): Allow.
36500 [non-C99-based standards] (erfl): Do not allow.
36501 [non-C99-based standards] (erfcl): Likewise.
36502 [non-C99-based standards] (gammal): Likewise.
36503 [non-C99-based standards] (hypotl): Likewise.
36504 [non-C99-based standards] (j0l): Likewise.
36505 [non-C99-based standards] (j1l): Likewise.
36506 [non-C99-based standards] (jnl): Likewise.
36507 [non-C99-based standards] (lgammal): Likewise.
36508 [non-C99-based standards] (tgammal): Likewise.
36509 [non-C99-based standards] (y0l): Likewise.
36510 [non-C99-based standards] (y1l): Likewise.
36511 [non-C99-based standards] (ynl): Likewise.
36512 [non-C99-based standards] (isnanl): Likewise.
36513 [non-C99-based standards] (acoshl): Likewise.
36514 [non-C99-based standards] (asinhl): Likewise.
36515 [non-C99-based standards] (atanhl): Likewise.
36516 [non-C99-based standards] (cbrtl): Likewise.
36517 [non-C99-based standards] (expm1l): Likewise.
36518 [non-C99-based standards] (ilogbl): Likewise.
36519 [non-C99-based standards] (log1pl): Likewise.
36520 [non-C99-based standards] (logbl): Likewise.
36521 [non-C99-based standards] (nextafterl): Likewise.
36522 [non-C99-based standards] (remainderl): Likewise.
36523 [non-C99-based standards] (rintl): Likewise.
36524 [non-C99-based standards] (scalbl): Likewise.
36525 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36526 [non-C99-based standards] (FP_*): Do not allow.
36527 [C99-based standards] (FP_*): Change to
36528 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36529 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36530 allow.
36531 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36532 (SIG_ERR): Likewise.
36533 [X/Open-based standards] (SIG_HOLD): Likewise.
36534 (SIG_IGN): Likewise.
36535 (SIGABRT): Use macro-int-constant. Specify type. Require
36536 positive value.
36537 (SIGFPE): Likewise.
36538 (SIGILL): Likewise.
36539 (SIGINT): Likewise.
36540 (SIGSEGV): Likewise.
36541 (SIGTER): Likewise.
36542 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36543 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36544 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36545 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36546 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36547 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36548 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36549 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36550 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36551 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36552 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36553 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36554 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36555 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36556 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36557 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36558 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36559 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36560 [X/Open-based standards] (SIGTRAP): Likewise.
36561 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36562 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36563 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36564 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36565 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36566 allow.
36567
b9f1922d
IW
365682012-05-08 Ian Wienand <ianw@vmware.com>
36569
36570 [BZ #14080]
36571 * time/tzset.c (__tzset_parse_tz): Update default rules for
36572 daylight time changes in the Energy Policy Act of 2005.
36573
1db86e88
AJ
365742012-05-09 Andreas Jaeger <aj@suse.de>
36575
36576 [BZ #13983]
36577 * elf/ldconfig.c (parse_conf): Change string to make clear that
36578 ldconfig only issued a warning if ld.so.conf does not exist.
36579
dee4a4e3
DM
365802012-05-08 David S. Miller <davem@davemloft.net>
36581
ee0db190
DM
36582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36583 movxtod instead of popping the value on the stack.
36584
dee4a4e3
DM
36585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36586
6a43ec98
CD
365872012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36588
36589 * config.h.in: Add HAVE_ARM_PCS_VFP.
36590
05c2c961
RMG
365912012-05-08 Roland Mc Grath <roland@hack.frob.com>
36592
bcfe3a54
ST
36593 [BZ #13979]
36594 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36595 checking but the checks are disabled for any reason.
05c2c961 36596
4b30f61a
L
365972012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36598
36599 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36600 and ELF64_R_TYPE with ELFW(R_TYPE).
36601
eee2bc67
JM
366022012-05-08 Joseph Myers <joseph@codesourcery.com>
36603
7ea5391a
JM
36604 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36605 (ulimit): Likewise.
36606
eee2bc67
JM
36607 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36608 (settimeofday): Likewise.
36609
abb66a67
MF
366102012-05-08 Mike Frysinger <vapier@gentoo.org>
36611
36612 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36613 a struct th_u2 inside the union, and move tu_block/tu_code into
36614 a new th_u3 union of tu_block/tu_code inside of that. Move
36615 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36616 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36617 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36618 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36619 (th_stuff): Change to th_u1.tu_stuff.
36620 (th_data): Define.
36621 (th_msg): Change to th_u1.th_u2.tu_data.
36622
7f18b530
DM
366232012-05-07 David S. Miller <davem@davemloft.net>
36624
05760585
DM
36625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36626
7f18b530
DM
36627 [BZ #14074]
36628 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36629 (SETUP_PIC_REG): Use it.
36630 (SETUP_PIC_REG_LEAF): Use it.
36631
495fd99f
JM
366322012-05-07 Joseph Myers <joseph@codesourcery.com>
36633
36634 [BZ #13885]
36635 [BZ #13923]
36636 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36637 USE_AS_EXPM1L.
36638 (EXPL_FINITE): Likewise.
36639 (FLDLOG): Likewise.
36640 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36641 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36642 e_expl.S.
36643 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36644 USE_AS_EXPM1L.
36645 (EXPL_FINITE): Likewise.
36646 (FLDLOG): Likewise.
36647 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36648 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36649 e_expl.S.
36650 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36651 test of -max_value argument for long double.
36652 * sysdeps/i386/fpu/libm-test-ulps: Update.
36653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36654
6693d694
DM
366552012-05-06 David S. Miller <davem@davemloft.net>
36656
36657 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36658 quad soft-float symbols whose references which are compiler
36659 generated.
36660 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36661
6c23e11c
JM
366622012-05-06 Joseph Myers <joseph@codesourcery.com>
36663
d8b82cad
JM
36664 [BZ #13884]
36665 [BZ #13914]
36666 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36667 USE_AS_EXP10L.
36668 (EXPL_FINITE): Likewise.
36669 (FLDLOG): Likewise.
36670 (c0): Likewise.
36671 (c1): Likewise.
36672 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36673 Adjust comments for base varying.
36674 (__expl_finite): Change alias to EXPL_FINITE.
36675 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36676 e_expl.S.
36677 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36678 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36679 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36680 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36682 USE_AS_EXP10L.
36683 (EXPL_FINITE): Likewise.
36684 (FLDLOG): Likewise.
36685 (c0): Likewise.
36686 (c1): Likewise.
36687 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36688 Adjust comments for base varying.
36689 (__expl_finite): Change alias to EXPL_FINITE.
36690 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36691 tests for bugs.
36692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36693
6c23e11c
JM
36694 [BZ #14064]
36695 * math/libm-test.inc (check_float_internal): Correct ulp
36696 calculation for subnormal expected results.
36697
29ba805c
AJ
366982012-05-06 Andreas Jaeger <aj@suse.de>
36699
36700 * Makeconfig (+math-flags): New, set to -frounding-math.
36701 (+cflags): Add +math-flags so that all of glibc gets compiled with
36702 it.
36703
36704 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36705
7b17aeda
JM
367062012-05-05 Joseph Myers <joseph@codesourcery.com>
36707
5779f134
JM
36708 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36709 Disable one test.
36710
41498f4d
JM
36711 [BZ #13787]
36712 [BZ #13922]
36713 [BZ #14036]
36714 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36715 (__ieee754_expl): Allow for and saturate large arguments.
36716 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36717 (u_threshold): Likewise.
36718 (__exp): Call __ieee754_exp before checking for overflow and
36719 underflow.
36720 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36721 (u_threshold): Likewise.
36722 (__expf): Call __ieee754_expf before checking for overflow and
36723 underflow.
36724 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36725 (u_threshold): Likewise.
36726 (__expl): Call __ieee754_expl before checking for overflow and
36727 underflow.
36728 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36729 (__ieee754_expl): Allow for and saturate large arguments.
36730 * math/libm-test.inc (exp_test): Add another test. Do not allow
36731 missing overflow exception on overflow.
36732 (expm1_test): Do not allow missing overflow exception on overflow.
36733
6698b8bf
JM
36734 * sysdeps/i386/fpu/e_expl.c: Move to ...
36735 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36736 rather than using inline asm.
36737 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36738 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36739 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36740
7b17aeda
JM
36741 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36742 (nice): Likewise.
36743 (poll): Likewise.
36744 (signal): Likewise.
36745 (time): Likewise.
36746 (times): Likewise.
36747
f7c85819
JM
367482012-05-04 Joseph Myers <joseph@codesourcery.com>
36749
36750 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36751 sysdeps/unix/common/syscalls.list.
36752 (fchmod): Likewise.
36753 (fchown): Likewise.
36754 (ftruncate): Likewise.
36755 (getrusage): Likewise.
36756 (gettimeofday): Likewise.
36757 (setpgid): Likewise.
36758 (setregid): Likewise.
36759 (setreuid): Likewise.
36760 (sigaction): Likewise.
36761 (truncate): Likewise.
36762 (vhangup): Likewise.
36763 * sysdeps/unix/common/syscalls.list: Remove file.
36764 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36765 * sysdeps/unix/sysv/linux/Implies: Likewise.
36766
336270d0
L
367672012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36768
36769 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36771 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36772 Moved to ...
36773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36774 Here.
36775 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36776 to ...
36777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36778 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36779 to ...
36780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36781 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36782 to ...
36783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36784 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36785 to ...
36786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36787 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36788 to ...
36789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36790 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36791 to ...
36792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36793 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36794 to ...
36795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36796 Here.
36797 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36798 to ...
36799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36800 Here.
36801 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36802 to ...
36803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36804 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36805 Moved to ...
36806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36807 Here.
36808 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36809 to ...
36810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36811
d128e450
JM
368122012-05-04 Joseph Myers <joseph@codesourcery.com>
36813
fa8ee516
JM
36814 * sysdeps/unix/common/bits/dirent.h: Remove file.
36815 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36816
d128e450
JM
36817 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36818 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36819 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36820 * sysdeps/unix/bsd/isatty.c: Likewise.
36821 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36822 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36823 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36824
ff8faaf0 368252012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36826
62881be4 36827 [BZ #13563]
31dc8730
AZ
36828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36829 long double comparison inaccuracies.
36830 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36832
6fef930c
AS
368332012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36834
36835 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36836 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36837
8f203e6c
JM
368382012-05-04 Joseph Myers <joseph@codesourcery.com>
36839
36840 [BZ #14049]
36841 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36842 nonzero digits before rounding a hex value.
36843 * stdlib/tst-strtod.c (tests): Add another test.
36844
5197d9c2
AK
368452012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36846
36847 * sysdeps/s390/fpu/libm-test-ulps: Update.
36848
f0c1dedf
AJ
368492012-05-03 Andreas Jaeger <aj@suse.de>
36850
36851 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36852 does not get optimized out.
36853 (malloc_opt_barrier): New.
36854
a65ef2ae 368552012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36856 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36857
2b942cb7 36858 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36859 intermediate file deletion.
2b942cb7 36860 (generated): Add .symlist files.
a65ef2ae 36861
54b71e02
JM
368622012-05-03 Joseph Myers <joseph@codesourcery.com>
36863
36864 [BZ #13775]
36865 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36866 Redirect under this condition.
36867 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36868 [__USE_GNU] (__dprintf_chk): Not under this condition.
36869 [__USE_GNU] (__vdprintf_chk): Likewise.
36870 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36871 under this condition.
36872 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36873 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36874 [__USE_XOPEN2K8] (vdprintf): Likewise.
36875 [__USE_GNU] (__dprintf_chk): Not under this condition.
36876 [__USE_GNU] (__vdprintf_chk): Likewise.
36877 [__USE_GNU] (dprintf): Likewise.
36878 [__USE_GNU] (vdprintf): Likewise.
36879
d3dfcc41
RM
368802012-05-03 Roland McGrath <roland@hack.frob.com>
36881
36882 * elf/Makefile (common-generated): Set this instead of generated for
36883 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36884 $(all-built-dso)-derived lists.
36885
7ac30cc5
AJ
368862012-05-03 Andreas Jaeger <aj@suse.de>
36887
0c51e550
AJ
36888 * sysdeps/i386/fpu/libm-test-ulps: Update.
36889
7ac30cc5
AJ
36890 * FAQ: Removed.
36891 * FAQ.in: Likewise.
36892 * scripts/gen-FAQ.pl: Likewise.
36893 * manual/install.texi (Installation): Point to online location of
36894 FAQ.
36895 * Makefile (files-for-dist): Remove FAQ.
36896 (FAQ): Remove.
36897
d4c2917f
AM
368982012-05-02 Allan McRae <allan@archlinux.org>
36899
36900 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36901 (LDFLAGS-reldepmod5.so): Likewise.
36902 (LDFLAGS-reldep6mod1.so): Likewise.
36903 (LDFLAGS-reldep6mod4.so): Likewise.
36904 (LDFLAGS-reldep8mod3.so): Likewise.
36905 (LDFLAGS-unload4mod1.so): Likewise.
36906 (LDFLAGS-unload4mod2.so): Likewise.
36907 (LDFLAGS-tst-initorder): Likewise.
36908 (LDFLAGS-tst-initordera2.so): Likewise.
36909 (LDFLAGS-tst-initordera3.so): Likewise.
36910 (LDFLAGS-tst-initordera4.so): Likewise.
36911 (LDFLAGS-tst-initorderb2.so): Likewise.
36912 (LDFLAGS-noload): Likewise.
36913 (LDFLAGS-next): Likewise.
36914 (LDFLAGS-order2mod1.so): Likewise.
36915 (LDFLAGS-order2mod2.so): Likewise.
36916 (LDFLAGS-tst-initorder2): Likewise.
36917 (LDFLAGS-tst-initorder2a.so): Likewise.
36918 (LDFLAGS-tst-initorder2b.so): Likewise.
36919 (LDFLAGS-tst-initorder2c.so): Likewise.
36920 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36921
d77f993f
DM
369222012-05-02 David S. Miller <davem@davemloft.net>
36923
36924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36925
171a70b4
PP
369262012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36927
36928 [BZ #14055]
36929 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36930
0be196ad
AJ
369312012-05-02 Andreas Jaeger <aj@suse.de>
36932
36933 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36934 since we manipulate rounding mode.
36935 (CPPFLAGS-test-idouble.c): Likewise.
36936 (CPPFLAGS-test-ifloat.c): Likewise.
36937 (CFLAGS-test-ldouble.c): Likewise.
36938 (CFLAGS-test-double.c): Likewise.
36939 (CFLAGS-test-float.c): Likewise.
36940 (CFLAGS-test-misc.c): Likewise.
36941 (CFLAGS-test-test-fenv.c): Likewise.
36942
4f9d04aa
AZ
369432012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36944
2b942cb7
RM
36945 [BZ #2550]
36946 [BZ #2570]
36947 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36948 comparisons to determine direction to adjust input.
4f9d04aa 36949
82a79e7d
RM
369502012-05-01 Roland McGrath <roland@hack.frob.com>
36951
f5a01ca9
RM
36952 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36953 output to the target.
36954
90fe4186
RM
36955 * scripts/localplt.awk: New file.
36956 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36957 (check-localplt-CFLAGS): Variable removed.
36958 ($(all-built-dso:=.jmprel)): New static pattern rule.
36959 (generated): Add those targets.
36960 (localplt-built-dso): New variable.
36961 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36962
36963 * elf/check-localplt.c: File removed.
36964
82397ed6
RM
36965 * scripts/check-execstack.awk: New file.
36966 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36967 (check-execstack-CFLAGS): Variable removed.
36968 ($(objpfx)check-execstack.h): Target removed.
36969 ($(objpfx)execstack-default): New target.
36970 (generated): Add that instead of check-execstack.h.
36971 ($(all-built-dso:=.phdr)): New static pattern rule.
36972 (generated): Add those targets.
36973 * elf/check-execstack.c: File removed.
36974
82a79e7d
RM
36975 * scripts/check-textrel.awk: New file.
36976 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36977 (check-textrel-CFLAGS): Variable removed.
36978 (all-built-dso): Use := to define.o
36979 ($(all-built-dso:=.dyn)): New static pattern rule.
36980 (generated): Add those targets.
36981 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36982 * config.make.in (READELF): New substituted variable.
36983 * elf/check-textrel.c: File removed.
36984
62fde54f 369852012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36986
615605c9
JM
36987 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36988 allow.
36989 * conform/data/ctype.h-data [C99-based standards] (isblank):
36990 Expect function.
36991 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36992 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36994 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36995 Specify type. Require positive value.
36996 (EILSEQ): Likewise.
36997 (ERANGE): Likewise.
36998 [ISO || POSIX] (EILSEQ): Do not expect.
36999 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37000 Specify type. Require positive value.
37001 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37002 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37003 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37004 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37005 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37006 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37007 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37008 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37009 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37010 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37011 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37012 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37013 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37014 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37015 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37016 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37017 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37018 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37019 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37020 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37021 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37022 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37023 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37024 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37025 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37026 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37027 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37028 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37029 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37030 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37031 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37032 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37033 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37034 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37035 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37036 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37037 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37038 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37039 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37040 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37041 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37042 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37043 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37044 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37045 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37046 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37047 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37048 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37049 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37050 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37051 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37052 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37053 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37054 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37055 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37056 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37057 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37058 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37059 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37060 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37061 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37062 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37063 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37064 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37065 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37066 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37067 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37068 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37069 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37070 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37071 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37072 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37073 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37074 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37075 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37076 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37077 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37078 Require >= 2.
37079 (FLT_ROUNDS): Expect as macro, not constant.
37080 (FLT_MANT_DIG): Use macro-int-constant.
37081 (DBL_MANT_DIG): Likewise.
37082 (LDBL_MANT_DIG): Likewise.
37083 (FLT_DIG): Likewise.
37084 (DBL_DIG): Likewise.
37085 (LDBL_DIG): Likewise.
37086 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37087 (DBL_MIN_EXP): Likewise.
37088 (LDBL_MIN_EXP): Likewise.
37089 (FLT_MAX_EXP): Use macro-int-constant.
37090 (DBL_MAX_EXP): Likewise.
37091 (LDBL_MAX_EXP): Likewise.
37092 (FLT_MAX_10_EXP): Likewise.
37093 (DBL_MAX_10_EXP): Likewise.
37094 (LDBL_MAX_10_EXP): Likewise.
37095 (FLT_MAX): Use macro-constant.
37096 (DBL_MAX): Likewise.
37097 (LDBL_MAX): Likewise.
37098 (FLT_EPSILON): Use macro-constant. Give upper bound.
37099 (DBL_EPSILON): Likewise.
37100 (LDBL_EPSILON): Likewise.
37101 (FLT_MIN): Likewise.
37102 (DBL_MIN): Likewise.
37103 (LDBL_MIN): Likewise.
37104 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37105 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37106 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37107 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37108 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37109 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37110 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37111 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37112 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37113 [ISO11] (FLT_TRUE_MIN): Likewise.
37114 [ISO11] (LDBL_TRUE_MIN): Likewise.
37115 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37116 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37117 (SCHAR_MIN): Use macro-int-constant. Specify type.
37118 (SCHAR_MAX): Likewise.
37119 (UCHAR_MAX): Likewise.
37120 (CHAR_MIN): Likewise.
37121 (CHAR_MAX): Likewise.
37122 (MB_LEN_MAX): Use macro-int-constant.
37123 (SHRT_MIN): Use macro-int-constant. Specify type.
37124 (SHRT_MAX): Likewise.
37125 (USHRT_MAX): Likewise.
37126 (INT_MAX): Likewise.
37127 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37128 bound negative.
37129 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37130 bound with "U".
37131 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37132 bound with "L".
37133 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37134 bound negative. Suffix upper bound with "L".
37135 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37136 bound with "UL".
37137 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37138 Specify type.
37139 [C99-based standards] (LLONG_MAX): Likewise.
37140 [C99-based standards] (ULLONG_MAX): Likewise.
37141 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37142 == 0.
37143 [ISO11] (max_align_t): Require type.
37144 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37145
c9140a62
JM
37146 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37147 from $CFLAGS, without defining away __attribute__ calls.
37148 (checknamespace): Use $CFLAGS_namespace.
37149
9af0bf29
JM
37150 * conform/conformtest.pl (@keywords): Only include C99 keywords
37151 for standards based on C99 or C11.
37152
343222a2
JM
37153 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37154 Disable tests.
37155 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37156 UNIX98]: Likewise.
37157
661f8cf0
JM
37158 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37159 usability of symbols in #if.
37160
ee74b9cb
JM
37161 * conform/conformtest.pl: If macro or constant types start
37162 "promoted:", expect the symbol to be of the following type
37163 promoted by the integer promotions.
62fde54f 37164
aafc49b3
JM
37165 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37166 in one place. Also handle "macro-constant".
37167
fefdf574
JM
37168 * conform/conformtest.pl: Only accept expected macro values with
37169 "==". Parse all "macro" lines in one place.
37170 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37171
f2d922fe
JM
37172 * conform/conformtest.pl: Handle braced types on "constant" lines
37173 instead of handling "typed-constant".
37174 * conform/data/signal.h-data: Use "constant" instead of
37175 "typed-constant".
37176
d22956c9
JM
37177 * conform/conformtest.pl: Handle "optional-" at start of lines in
37178 one place rather than duplicating several cases. Handle each
37179 format of "macro" line with initial "optional-".
37180
028e2e38
JM
37181 * conform/conformtest.pl: Only accept expected constant or
37182 optional-constant values with "==". Parse all "constant" lines in
37183 one place. Parse all "optional-constant" lines in one place.
37184 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37185 * conform/data/fmtmsg.h-data: Likewise.
37186 * conform/data/netinet/in.h-data: Likewise.
37187 * conform/data/tar.h-data: Likewise.
37188 * conform/data/limits.h-data: Use "==" form on "constant" and
37189 "optional-constant" lines.
37190
1b8f2850
JM
37191 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37192 Use -std=c99 for XOPEN2K.
37193 (@knownproblems): Remove.
37194 (newtoken): Don't check %isknown.
37195
a05a144b
JM
37196 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37197 Do not expect macro.
37198 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37210 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37211 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37224 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37225 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37228 [XPG3] (acosh): Likewise.
37229 [XPG3] (asinh): Likewise.
37230 [XPG3] (atanh): Likewise.
37231 [XPG3] (cbrt): Likewise.
37232 [XPG3] (expm1): Likewise.
37233 [XPG3] (ilogb): Likewise.
37234 [XPG3] (log1p): Likewise.
37235 [XPG3] (logb): Likewise.
37236 [XPG3] (nextafter): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37239 [XPG3] (remainder): Likewise.
37240 [XPG3] (rint): Likewise.
37241 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37242 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37243 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37244 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37245 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37246 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37247 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37248 [UNIX98 || XOPEN2K] (scalb): Expect.
37249 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37250 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37260 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37261 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37262 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37278 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37279 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37280 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37281 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37282 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37283 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37284 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37285 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37286 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37289 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37290 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37291 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37292 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37293 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37294 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37295 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37298 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37299 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37300 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37301 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37302 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37303 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37304 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37305 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37306 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37307 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37308 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37309 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37310 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37311 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37312 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37313 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37314 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37315 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37316 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37317 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37318 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37319 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37320 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37321 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37322 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37323 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37324 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37325 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37326 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37327 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37328 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37329 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37330 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37331 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37332 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37333 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37334 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37335 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37336 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37337 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37338 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37339 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37340 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37341 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37342 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37343 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37344 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37345 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37346 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37347 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37348 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37349 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37350 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37351 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37352 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37353 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37354 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37355 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37356 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37357 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37358 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37359 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37360 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37361 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37362 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37363 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37364 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37365 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37366 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37367 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37368 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37369 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37370 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37371 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37372 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37373 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37374 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37375 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37376 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37377 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37378 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37379 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37380 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37381 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37382 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37383 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37384 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37385 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37386
73c5ebe3
JM
37387 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37388 _XOPEN_SOURCE_EXTENDED for XPG4.
37389
39c33b6c
JM
37390 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37391
62fde54f
JM
37392 * Makeconfig (localtime): Remove variable.
37393 (inst_localtime-file): Likewise.
37394
0741d64c
AS
373952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37396
37397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37398 Update.
37399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37400 Update.
37401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37402 Update.
37403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37404 Update.
37405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37406 Update.
37407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37408 Update.
37409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37410 Update.
37411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37412 Update.
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37414 Update.
37415
7cb029ee
JM
374162012-05-01 Joseph Myers <joseph@codesourcery.com>
37417
37418 [BZ #2550]
37419 [BZ #2570]
37420 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37421 comparisons to determine direction to adjust input.
37422 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37423 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37424 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37425 Likewise.
37426 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37427 Likewise.
37428 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37429 Likewise.
37430 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37431 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37432 Likewise.
37433 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37434 Likewise.
37435 * math/libm-test.inc (nexttoward_test): Add more tests.
37436
412bd966
AS
374372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37438
37439 [BZ #14040]
37440 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37441 in version GLIBC_2.1, not GLIBC_2.0.
37442 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37443 Likewise.
37444
9568c0c2
JM
374452012-04-30 Joseph Myers <joseph@codesourcery.com>
37446
adfbc8ac
JM
37447 [BZ #13942]
37448 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37449 (1 - x) * (1 + x).
37450 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37451 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37452 * math/libm-test.inc (acos_test): Add more tests.
37453 (asin_test): Likewise.
37454 * sysdeps/i386/fpu/libm-test-ulps: Update.
37455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37456
5ba3cc69
JM
37457 [BZ #14034]
37458 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37459 of square root.
37460 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37461 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37462 * math/libm-test.inc (acos_test_tonearest): New function.
37463 (acos_test_towardzero): Likewise.
37464 (acos_test_downward): Likewise.
37465 (acos_test_upward): Likewise.
37466 (asin_test_tonearest): Likewise.
37467 (asin_test_towardzero): Likewise.
37468 (asin_test_downward): Likewise.
37469 (asin_test_upward): Likewise.
37470 (main): Call the new functions.
37471 * sysdeps/i386/fpu/libm-test-ulps: Update.
37472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37473
9568c0c2
JM
37474 [BZ #13884]
37475 [BZ #13924]
37476 * math/e_exp10.c: Include <float.h>.
37477 (__ieee754_exp10): Handle underflow here rather than multiplying
37478 large negative argument by M_LN10.
37479 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37480 of __ieee754_expf.
37481 * math/e_exp10l.c: Include <float.h>.
37482 (__ieee754_exp10l): Handle underflow here rather than multiplying
37483 large negative argument by M_LN10l.
37484 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37485 spurious overflow exception on underflow.
37486
5ac3ea17
MP
374872012-04-29 Marek Polacek <polacek@redhat.com>
37488
37489 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37490 (__fortify_function): New macro.
37491 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37492 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37493 __extern_always_inline.
37494 * libio/bits/stdio2.h: Likewise.
37495 * libio/bits/stdio.h: Likewise.
37496 * string/string.h: Likewise.
37497 * string/bits/string3.h: Likewise.
37498 * include/stdio.h: Likewise.
37499 * stdlib/bits/stdlib.h: Likewise.
37500 * stdlib/stdlib.h: Likewise.
37501 * rt/bits/mqueue2.h: Likewise.
37502 * rt/mqueue.h: Likewise.
37503 * posix/bits/unistd.h: Likewise.
37504 * posix/unistd.h: Likewise.
37505 * io/bits/poll2.h: Likewise.
37506 * io/bits/fcntl2.h: Likewise.
37507 * io/fcntl.h: Likewise.
37508 * io/sys/poll.h: Likewise.
37509 * misc/bits/syslog.h: Likewise.
37510 * misc/bits/syslog-ldbl.h: Likewise.
37511 * misc/sys/syslog.h: Likewise.
37512 * socket/bits/socket2.h: Likewise.
37513 * socket/sys/socket.h: Likewise.
37514 * debug/tst-chk1.c: Likewise.
37515 * wcsmbs/bits/wchar2.h: Likewise.
37516 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37517 * wcsmbs/wchar.h: Likewise.
37518
ecf0ebfb
AJ
375192012-04-29 Andreas Jaeger <aj@suse.de>
37520
37521 * Makerules (tests): Remove enable-check-abi protection.
37522 (check-abi-warn): Remove.
37523 (check-abi-%): Remove check-abi-warn usage.
37524
37525 * configure.in: Remove check-abi configure option.
37526 * configure: Regenerated.
37527 * config.make.in (enable-check-abi): Remove.
37528
6d5c57fa
AS
375292012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37530
24c5d07e 37531 [BZ #14033]
ded5180a
AS
37532 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37533 double functions to double *_finite functions.
37534
7e0d315d
AS
37535 [BZ #13941]
37536 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37537 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37538 LDBL_MIN_EXP.
37539 * stdio-common/Makefile (tests): Add tst-sprintf3.
37540 * stdio-common/tst-sprintf3.c: New file.
37541
6d5c57fa
AS
37542 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37543 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37544
0749ff8b
JM
375452012-04-28 Joseph Myers <joseph@codesourcery.com>
37546
37547 * conform/conformtest.pl: Remove duplicate typed-constant
37548 handling.
37549
8dbd5d7b
DM
375502012-04-28 David S. Miller <davem@davemloft.net>
37551
37552 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37553 (check-abi-%): Remove AWK script prerequisite and explicit
37554 abilist directory.
37555 (check-abi): Rewrite to just diff the symlist with the abilist.
37556 (config-tls, config-abi-config): Delete, no longer used.
37557 (update-abi-%): Remove AWK script and explicit abilist directory.
37558 (update-abi): Rewrite to simply compare and conditionally copy the
37559 symlist and the sysdep abilist file. Remove update-abi-config
37560 checks.
37561 * abilist/ld.abilist: Remove.
37562 * abilist/libBrokenLocale.abilist: Remove.
37563 * abilist/libanl.abilist: Remove.
37564 * abilist/libcrypt.abilist: Remove.
37565 * abilist/libdl.abilist: Remove.
37566 * abilist/librt.abilist: Remove.
37567 * abilist/libthread_db.abilist: Remove.
37568 * abilist/libutil.abilist: Remove.
37569 * scripts/extract-abilist.awk: Remove.
37570 * scripts/merge-abilist.awk: Remove.
37571 * sysdeps/generic/libcidn.abilist: New file.
37572 * sysdeps/generic/libnss_compat.abilist: New file.
37573 * sysdeps/generic/libnss_db.abilist: New file.
37574 * sysdeps/generic/libnss_dns.abilist: New file.
37575 * sysdeps/generic/libnss_files.abilist: New file.
37576 * sysdeps/generic/libnss_hesiod.abilist: New file.
37577 * sysdeps/generic/libnss_nis.abilist: New file.
37578 * sysdeps/generic/libnss_nisplus.abilist: New file.
37579 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37580 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37581 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37582 file.
37583 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37584 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37585 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37586 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37587 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37588 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37589 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37590 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37591 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37592 file.
37593 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37594 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37595 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37596 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37597 file.
37598 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37599 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37600 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37601 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37602 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37603 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37604 file.
37605 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37606 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37607 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37608 file.
37609 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37611 New file.
37612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37613 New file.
37614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37615 New file.
37616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37617 New file.
37618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37619 New file.
37620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37621 New file.
37622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37623 New file.
37624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37625 New file.
37626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37627 New file.
37628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37629 New file.
37630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37631 New file.
37632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37633 New file.
37634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37635 New file.
37636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37637 file.
37638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37639 New file.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37641 New file.
37642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37643 file.
37644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37645 New file.
37646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37647 New file.
37648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37649 file.
37650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37651 New file.
37652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37653 New file.
37654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37655 New file.
37656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37657 New file.
37658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37659 New file.
37660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37661 New file.
37662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37664 file.
37665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37666 New file.
37667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37668 file.
37669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37670 file.
37671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37672 file.
37673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37674 file.
37675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37676 file.
37677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37678 New file.
37679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37680 file.
37681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37682 file.
37683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37684 New file.
37685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37686 file.
37687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37689 file.
37690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37691 New file.
37692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37693 file.
37694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37695 file.
37696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37697 file.
37698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37699 file.
37700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37701 file.
37702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37703 New file.
37704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37705 file.
37706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37707 file.
37708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37709 New file.
37710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37711 file.
37712 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37713 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37714 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37715 file.
37716 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37717 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37718 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37719 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37720 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37721 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37722 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37723 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37724 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37725 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37728 file.
37729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37730 New file.
37731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37732 file.
37733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37734 file.
37735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37736 file.
37737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37738 file.
37739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37740 file.
37741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37742 New file.
37743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37744 New file.
37745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37746 file.
37747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37748 New file.
37749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37750 file.
37751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37753 file.
37754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37755 New file.
37756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37757 file.
37758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37759 file.
37760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37761 file.
37762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37763 file.
37764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37765 file.
37766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37767 New file.
37768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37769 New file.
37770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37771 file.
37772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37773 New file.
37774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37775 file.
37776
41d73a1b
JM
377772012-04-28 Joseph Myers <joseph@codesourcery.com>
37778
37779 * conform/conformtest.pl: Fix typo in handling typed-constant from
37780 allow-header.
37781
28aeeda4
JM
377822012-04-27 Joseph Myers <joseph@codesourcery.com>
37783
adae8f5e
JM
37784 * README: Cut down references to pre-2.6 Linux kernels and
37785 Linuxthreads. Update lists of configurations in libc and ports
37786 and sort alphabetically. Say "or newer" with Linux kernel version
37787 requirements.
37788
28aeeda4
JM
37789 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37790
a462cb63
RA
377912012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37792
37793 [BZ #887]
37794 * math/libm-test.inc (logb_test_downward): New test to expose
37795 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37796 rounding mode.
37797
6ad3493e
JM
377982012-04-27 Joseph Myers <joseph@codesourcery.com>
37799
37800 [BZ #14027]
37801 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37802 to be done.
37803 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37804 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37805
2ce4f015
JM
378062012-04-26 Joseph Myers <joseph@codesourcery.com>
37807
5aeb141a
JM
37808 * sysdeps/unix/i386/brk.S: Remove file.
37809 * sysdeps/unix/i386/dl-brk.S: Likewise.
37810 * sysdeps/unix/i386/pipe.S: Likewise.
37811 * sysdeps/unix/i386/sigreturn.S: Likewise.
37812 * sysdeps/unix/i386/syscall.S: Likewise.
37813 * sysdeps/unix/i386/vfork.S: Likewise.
37814 * sysdeps/unix/i386/wait.S: Likewise.
37815
7143acae
JM
37816 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37817 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37818
2ce4f015
JM
37819 * configure.in (arm*-none*): Do not allow without
37820 --enable-hacker-mode.
37821 (netbsd*): Remove case setting base_os.
37822 (386bsd*): Likewise.
37823 (freebsd*): Likewise.
37824 (bsdi*): Likewise.
37825 (osf*): Likewise.
37826 (sunos*): Likewise.
37827 (ultrix*): Likewise.
37828 (newsos*): Likewise.
37829 (dynix*): Likewise.
37830 (*bsd*): Likewise.
37831 (sysv*): Likewise.
37832 (isc*): Likewise.
37833 (esix*): Likewise.
37834 (sco*): Likewise.
37835 (minix*): Likewise.
37836 (irix4*): Likewise.
37837 (irix6*): Likewise.
37838 (solaris[2-9]*): Likewise.
37839 (none): Likewise.
37840 * configure: Regenerated.
37841
0ac229c8
AZ
378422012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37843
37844 [BZ #11521]
37845 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37846 overflow or cancellation in calculating denominator.
37847 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37848 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37849 down expression to avoid unexpected rounding in newer GCCs.
37850 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37851
33f244f4
DM
378522012-04-26 David S. Miller <davem@davemloft.net>
37853
37854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37855 long-double compat symbols.
37856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37869
cfa1f3e8
DM
378702012-04-25 David S. Miller <davem@davemloft.net>
37871
37872 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37873 HWCAP_* values only after the memory barriers have been defined.
37874 (atomic_full_barrier): Define.
37875 (atomic_read_barrier): Define.
37876 (atomic_write_barrier): Define.
37877
6e236b92
SP
378782012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37879
37880 * shlib-versions: Add libgcc_s version information.
37881 * sysdeps/generic/libgcc_s.h: Remove.
37882 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37883 libgcc_s.h.
37884 * sysdeps/gnu/unwind-resume.c: Likewise.
37885 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37886
aab39a09
DM
378872012-04-25 David S. Miller <davem@davemloft.net>
37888
37889 * sysdeps/unix/sparc/brk.S: Delete.
37890 * sysdeps/unix/sparc/dl-brk.S: Delete.
37891 * sysdeps/unix/sparc/pipe.S: Delete.
37892 * sysdeps/unix/sparc/sysdep.S: Delete.
37893 * sysdeps/unix/sparc/sysdep.h: Delete.
37894 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37895 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37896 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37897 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37898 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37899 (JUMPTARGET): Remove.
37900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37901 sysdeps/unix/sparc/sysdep.h
37902 (ENTRY, END): Remove.
37903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37904
a3cc4f48
JM
379052012-04-25 Joseph Myers <joseph@codesourcery.com>
37906
2ed8cda2
JM
37907 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37908 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37909 -DIS_IN_build.
37910
35d76d59
JM
37911 * timezone/README: Update upstream location and email address for
37912 tzcode and tzdata.
37913 * timezone/zdump.c: Update from tzcode 2012b.
37914 * timezone/zic.c: Likewise.
37915
a3cc4f48
JM
37916 * configure.in (libc_cv_as_needed): Remove test.
37917 * configure: Regenerated.
37918 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37919 conditional definition.
37920 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37921 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37922 * config.make.in (have-as-needed): Remove variable.
37923
ceab42c3
SP
379242012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37925 Paul Pluzhnikov <ppluzhnikov@google.com>
37926
37927 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37928 strings correctly.
37929
3ce2865f
CLT
379302012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37931
37932 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37933 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37934 * sysdeps/sh/strlen.S: Likewise.
37935
f37e0d68
JM
379362012-04-24 Joseph Myers <joseph@codesourcery.com>
37937
ae186e9a
JM
37938 * sysdeps/unix/fork.S: Remove file.
37939 * sysdeps/unix/i386/fork.S: Likewise.
37940 * sysdeps/unix/sparc/fork.S: Likewise.
37941
b96914af
JM
37942 * sysdeps/unix/system.c: Remove file.
37943 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37944
f37e0d68
JM
37945 * sysdeps/unix/getegid.S: Remove file.
37946 * sysdeps/unix/geteuid.S: Likewise.
37947
87ef29ca
RM
379482012-04-24 Roland McGrath <roland@hack.frob.com>
37949
83bcd236
RM
37950 * scripts/check-localplt.awk: New file.
37951 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37952 of diff.
37953 * scripts/data/localplt-generic.data: Add a comment.
37954
87ef29ca
RM
37955 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37956 NODE when __dir_mkfile failed.
37957 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37958 Reported by Ludovic Courtès <ludo@gnu.org>.
37959
e5a6e567
AJ
379602012-04-24 Andreas Jaeger <aj@suse.de>
37961
37962 * Makerules (common-clean): Also remove gen-as-const-headers
37963 files.
37964
c1820385
JM
379652012-04-24 Joseph Myers <joseph@codesourcery.com>
37966
37967 * Makerules (native-compile): Do not change working directory for
37968 build. Use $(OUTPUT_OPTION) in command.
37969 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37970
94e02fc4
AZ
379712012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37972
37973 [BZ #13886]
37974 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37975 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37976 * math/libm-test.inc (floor_test): Add more tests.
37977 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37978
3a533ca3
JM
379792012-04-24 Joseph Myers <joseph@codesourcery.com>
37980
940ab4b3
JM
37981 * sysdeps/unix/getdents.c: Remove file.
37982 * sysdeps/unix/sysv/getdents.c: Likewise.
37983 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37984
90e037bd
JM
37985 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37986 sysdeps/unix/mman/syscalls.list.
37987 (mmap): Likewise.
37988 (mprotect): Likewise.
37989 (msync): Likewise.
37990 (munmap): Likewise.
37991 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37992 * sysdeps/unix/mman/syscalls.list: Remove.
37993 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37994
3a533ca3
JM
37995 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37996 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37997 * configure: Regenerated.
37998 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37999 $(libgcc_s_suffix).
38000 * config.make.in (libgcc_s_suffix): Remove variable.
38001
1ad743de
JM
380022012-04-23 Joseph Myers <joseph@codesourcery.com>
38003
4ad451e2
JM
38004 * sysdeps/unix/sysv/gethostname.c: Move to ...
38005 * sysdeps/posix/gethostname.c: ... here.
38006
5e37ce39
JM
38007 * sysdeps/unix/execve.S: Remove file.
38008
1ad743de
JM
38009 * sysdeps/unix/_exit.S: Remove file.
38010
4e681b5b
AJ
380112012-04-23 Andreas Jaeger <aj@suse.de>
38012
38013 [BZ #13739]
38014 * manual/Makefile: Remove make dist support, there's no
38015 need for a stand-alone documentation tar ball.
38016 (TEXI2DVI): Define always, it's not in Makeconfig.
38017 (dist): Removed.
38018 (tar-it): Removed.
38019 (edition): Removed.
38020 (glibc-doc-$(edition).tar): Removed
38021 (%.Z): Removed.
38022 (%.gz): Removed.
38023 (%.uu): Removed.
38024 (ETAGS): Remove, it's in Makeconfig.
38025 (move-if-change): Remove, it's in Makeconfig.
38026
38686a03 380272012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
38028
38029 [BZ #13970]
38030 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38031 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38032 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38033 (strtod_l, strtof_l, strtold_l): Remove __wur.
38034 It is not necessarily an error to ignore strtol's return value.
38035 One can reliably look at the stored endptr to decide whether
38036 the number had valid syntax.
38037
7c0616fa
AJ
380382012-04-21 Andreas Jaeger <aj@suse.de>
38039
803cb6b7 38040 [BZ #13739]
7c0616fa
AJ
38041 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38042
b0fe253f
JM
380432012-04-21 Joseph Myers <joseph@codesourcery.com>
38044
38045 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38046 * sysdeps/unix/sysv/Versions: Remove file.
38047
8280f22d
MT
380482012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38049
38050 [BZ #13927]
38051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38052
75ce411f 380532012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
38054
38055 [BZ #7064]
38056 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38057 version from __vm86.
38058
097d59fa
JM
380592012-04-20 Joseph Myers <joseph@codesourcery.com>
38060
a90f3bcb
JM
38061 * sysdeps/unix/common/lxstat.c: Remove file.
38062 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38063
edc7ea78
JM
38064 * sysdeps/unix/sysv/Makefile: Remove file.
38065
cb78c221
JM
38066 * sysdeps/unix/sysv/direct.h: Remove file.
38067
efa6a45f
JM
38068 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38069 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38070 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38071 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38072 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38073 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38074 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38075
9c9f2d0c
JM
38076 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38077
4541c83b
JM
38078 * sysdeps/unix/xmknod.c: Remove file.
38079 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38080
f5d153a0
JM
38081 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38082
aa746595
JM
38083 * sysdeps/unix/sysv/i386/time.S: Remove file.
38084
cce5905e
JM
38085 * sysdeps/unix/fxstat.c: Remove file.
38086 * sysdeps/unix/xstat.c: Likewise.
38087 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38088
37fa3841
JM
38089 * sysdeps/unix/sysv/sigaction.c: Remove file.
38090
ff1962a3
JM
38091 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38092 (sysdep_headers): Remove variable.
38093 [termio.h not in sysdep_headers] (generated): Likewise.
38094 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38095 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38096 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38097 * sysdeps/unix/sysv/tcflow.c: Likewise.
38098 * sysdeps/unix/sysv/tcflush.c: Likewise.
38099 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38100 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38101 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38102 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38103 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38104
e7740d31
JM
38105 * sysdeps/unix/siglist.c: Remove file.
38106
ee06f18b
JM
38107 * sysdeps/unix/getppid.S: Remove file.
38108
097d59fa
JM
38109 * sysdeps/unix/mkdir.c: Remove file.
38110 * sysdeps/unix/rmdir.c: Likewise.
38111
ff3d51ec
AS
381122012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38113
38114 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38115 ERR_MAX value.
38116 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38117 errlist-compat value.
38118
50f81fd7
DM
381192012-04-18 David S. Miller <davem@davemloft.net>
38120
38121 * sysdeps/generic/memcopy.h (reg_char): Delete.
38122 * debug/strcat_chk.c: Use char, not reg_char.
38123 * debug/strcpy_chk.c: Likewise.
38124 * debug/strncat_chk.c: Likewise.
38125 * debug/strncpy_chk.c: Likewise.
38126 * string/memchr.c: Likewise.
38127 * string/memrchr.c: Likewise.
38128 * string/rawmemchr.c: Likewise.
38129 * string/strcat.c: Likewise.
38130 * string/strchr.c: Likewise.
38131 * string/strchrnul.c: Likewise.
38132 * string/strcmp.c: Likewise.
38133 * string/strcpy.c: Likewise.
38134 * string/strncat.c: Likewise.
38135 * string/strncmp.c: Likewise.
38136 * string/strncpy.c: Likewise.
38137
8ff41c46
WS
381382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38139
38140 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38141 __builtin_memcopy is called when src and dest ranges are known to not
38142 overlap.
38143
6b652f46
WS
381442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38145
38146 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38147 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38148 fwd_align_merge macro call.
38149 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38150 bwd_align_merge macro call.
38151 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38152
b282631e
WS
381532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38154
38155 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38156 bwd_align_merge macros.
38157 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38158 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38159 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38160
95aa737c
DM
381612012-04-18 David S. Miller <davem@davemloft.net>
38162
38163 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38164
7a99a614
AJ
381652012-04-18 Andreas Jaeger <aj@suse.de>
38166
38167 [BZ# 6794]
38168 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38169 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38170 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38171
38172 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38173 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38174 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38175
38176 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38177 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38178 Adjust for changed ldbl-128 files.
38179
38180 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38181 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38182 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38183
e5270c23
DM
381842012-04-17 David S. Miller <davem@davemloft.net>
38185
38186 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38187
fb5e92c9
AS
381882012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38189
38190 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38191 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38192 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38193 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38194 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38195 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38196
76da7265
AZ
381972012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38198
38199 [BZ #6794]
38200 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38201 * math/libm-test.inc: Add ilogb errno and exception tests.
38202 * math/w_ilogb.c: New file: ilogb wrapper.
38203 * math/w_ilogbf.c: New file: ilogbf wrapper.
38204 * math/w_ilogbl.c: New file: ilogbl wrapper.
38205 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38206 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38207 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38208 exception being thrown with 0.0 as argument.
38209 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38210 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38211 exception being thrown with 0.0 as argument.
38212 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38213 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38214 exception being thrown with 0.0 as argument.
38215 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38216 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38217 exception being thrown with 0.0 as argument.
38218 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38219 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38220 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38221 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38222 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38223 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38224 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38225 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38226 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38227
0396e69d
PB
382282012-04-17 Petr Baudis <pasky@ucw.cz>
38229
38230 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38231 with altivec.
38232
750b5926
MP
382332012-04-16 Marek Polacek <polacek@redhat.com>
38234
38235 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38236
751728a1
MP
382372012-04-16 Marek Polacek <polacek@redhat.com>
38238
38239 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38240 operands of fdivp instruction.
38241
34a27407
L
382422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38243
38244 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38245 * elf/tst-auditmod3b.c: Likewise.
38246 * elf/tst-auditmod4b.c: Likewise.
38247 * elf/tst-auditmod5b.c: Likewise.
38248 * elf/tst-auditmod6b.c: Likewise.
38249 * elf/tst-auditmod6c.c: Likewise.
38250 * elf/tst-auditmod7b.c: Likewise.
38251 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38252 * sysdeps/x86_64/preconfigure.in: Likewise.
38253 * sysdeps/x86_64/preconfigure: Regenerated.
38254
7e73e17d
L
382552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38256
38257 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38258 __ILP32__.
38259
c7a6ab72
AB
382602012-04-13 Antoine Balestrat <merkil33@gmail.com>
38261
38262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38263 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38264
a9e8e0e0
CL
382652012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38266
38267 [BZ #13973]
38268 * locale/iso-639.def: Fix gl language name. Spotted by
38269 Yaron Shahrabani.
38270
ec98af7d
RM
382712012-04-12 Roland McGrath <roland@hack.frob.com>
38272
38273 [BZ #2074]
38274 * libio/libio.h (__io_write_fn): Update comment.
38275
247c3ede
PB
382762012-04-12 Petr Baudis <pasky@ucw.cz>
38277
38278 [BZ #2074]
38279 * stdio.texi (Hook Functions): The user provided writer function
38280 is not allowed to return -1.
38281
55939d6d
DM
382822012-04-11 David S. Miller <davem@davemloft.net>
38283
38284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38285
90020f5a
MF
382862012-04-11 Mike Frysinger <vapier@gentoo.org>
38287
38288 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38289 Add a leading slash to rtkaio.
38290
288f9098
JM
382912012-04-11 Jim Meyering <meyering@redhat.com>
38292
90020f5a
MF
38293 [BZ #11959]
38294 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38295 It is not necessarily an error to ignore fwrite's return
38296 value. One can reliably use ferror to test for errors after
38297 the fact.
288f9098 38298
4be2b570
L
382992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38300
38301 * bits/types.h (__snseconds_t): New type.
38302 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38303
38304 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38306 (__SNSECONDS_T_TYPE): Likewise.
38307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38308 (__SNSECONDS_T_TYPE): Likewise.
38309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38310 (__SNSECONDS_T_TYPE): Likewise.
38311
288f9098 383122012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38313
38314 [BZ #2636]
38315 * manual/time.texi (Processor Time): Return type of times is
38316 elapsed real time since an arbitrary point in the past.
38317 (CPU Time): Move CLK_TCK from here...
38318 (Processor Time): ...to here. Correct description.
38319 * manual/conf.texi (Constants for Sysconf): Correct description of
38320 _SC_CLK_TCK.
38321
d7dd4413
DM
383222012-04-10 David S. Miller <davem@davemloft.net>
38323
38324 [BZ #13967]
38325 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38326 where the is a gap between DT_REL(A) and DT_JMPREL.
38327
b46068fc
L
383282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38329
38330 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38331 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38332 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38333
73d65cc3
SP
383342012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38335
38336 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38337 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38338 (dl_main): Handle --inhibit-cache.
38339 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38340 _dl_inhibit_cache.
38341 * elf/dl-load.c (_dl_map_object): Use it.
38342 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38343
bcc8d661
JM
383442012-04-09 Joseph Myers <joseph@codesourcery.com>
38345
8f9a2fae
JM
38346 [BZ #13872]
38347 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38348 (__ieee754_powl): Saturate large exponents rather than testing for
38349 overflow of y*log2(x).
38350 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38351 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38352 exceptions.
38353
bcc8d661
JM
38354 [BZ #11521]
38355 * math/s_ctan.c: Include <float.h>.
38356 (__ctan): Avoid internal overflow or cancellation in calculating
38357 denominator.
38358 * math/s_ctanf.c: Likewise.
38359 * math/s_ctanl.c: Likewise.
38360 * math/s_ctanh.c: Likewise.
38361 * math/s_ctanhf.c: Likewise.
38362 * math/s_ctanhl.c: Likewise.
38363 * math/libm-test.inc (ctan_test): Add more tests.
38364 (ctanh_test): Likewise.
38365 * sysdeps/i386/fpu/libm-test-ulps: Update.
38366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38367
823fbbb4
AJ
383682012-04-09 Andreas Jaeger <aj@suse.de>
38369
03879793
AJ
38370 [BZ #6894]
38371 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38372 is an optional BSD extension.
38373
823fbbb4
AJ
38374 [BZ #10254]
38375 * manual/stdio.texi (Opening Streams): Document additional fopen
38376 parameters.
38377
8de131cb
RM
383782012-04-09 Roland McGrath <roland@hack.frob.com>
38379
38380 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38381 %eax without telling the compiler.
38382
c0ed9d7d
CD
383832012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38384
38385 [BZ # 13963]
38386 * manual/install.texi: Use sourceware.org.
38387
c483f6b4
JM
383882012-04-09 Joseph Myers <joseph@codesourcery.com>
38389
d7dd9453
JM
38390 [BZ #13873]
38391 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38392 (__ieee754_pow): Generate overflow and underflow using huge*huge
38393 and tiny*tiny rather than just returning constant infinity or zero
38394 for large exponents.
38395 * math/libm-test.inc (pow_test): Require overflow exceptions for
38396 applicable cases of large exponents.
38397
c483f6b4
JM
38398 [BZ #706]
38399 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38400 (__ieee754_pow): Use iterative multiplication algorithm only for
38401 integer exponents with absolute value below 1024. Check for odd
38402 integer exponents when using algorithm for real exponents.
38403 * math/libm-test.inc (pow_test): Add more tests.
38404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38405
d2de7579
JM
384062012-04-08 Joseph Myers <joseph@codesourcery.com>
38407
38408 [BZ #13705]
38409 * math/libm-test.inc (exp_test): Do not allow overflow exception
38410 on underflow test.
38411
f77f1232
AJ
384122012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38413
38414 [BZ #13705]
38415 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38416 instead of __kernel_standard_f.
38417
3884932b
MF
384182012-04-08 Mike Frysinger <vapier@gentoo.org>
38419
38420 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38421 * sysdeps/x86_64/memset_chk.S: Likewise.
38422
54472e9c
AJ
384232012-04-08 Andreas Jaeger <aj@suse.de>
38424
6ab0fbfc
AJ
38425 [BZ #10153]
38426 * manual/startup.texi (Environment Access): Describe return value
38427 for putenv and setenv.
38428
61efba8c
AJ
38429 [BZ #6895]
38430 * manual/filesys.texi (Directory Entries): Add description for
38431 DT_LNK.
38432
95c3f29a
AJ
38433 [BZ #6890]
38434 * manual/filesys.texi (Directory Entries): Clarify that it's file
38435 system not operating system in the description of DT_UNKNOWN.
38436
54472e9c
AJ
38437 [BZ #6578]
38438 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38439
624254b1
SC
384402012-04-08 Stephen Compall <s11@member.fsf.org>
38441
38442 [BZ #6649]
38443 * manual/llio.texi (Opening and Closing Files): Add cross
38444 reference to explain mode argument.
38445
1e4920e0
MF
384462012-04-07 Mike Frysinger <vapier@gentoo.org>
38447
38448 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38449 * sysdeps/x86_64/memset_chk.S: Likewise.
38450
5ed848f3
DM
384512012-04-07 David S. Miller <davem@davemloft.net>
38452
38453 * elf/elf.h (R_SPARC_WDISP10): Define.
38454 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38455 R_SPARC_SIZE32.
38456 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38457 R_SPARC_SIZE64 and R_SPARC_H34.
38458
96154cd8
CD
384592012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38460
38461 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38462 conditions and remove no longer applicable assertion.
38463
9904dc47
L
384642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38465
38466 * bits/byteswap.h: Include <features.h>.
38467 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38468 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38469
f8887d0a
L
384702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38471
38472 * bits/byteswap.h (__bswap_16): Removed.
38473 Include <bits/byteswap-16.h> to get __bswap_16.
38474 * sysdeps/i386/bits/byteswap.h: Likewise.
38475 * sysdeps/s390/bits/byteswap.h: Likewise.
38476 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38477 * bits/byteswap-16.h: New file.
38478 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38479 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38480 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38481 * string/Makefile (headers): Add bits/byteswap-16.h.
38482
62470f60
PP
384832012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38484
38485 [BZ #13895]
38486 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38487 extra indirection.
38488 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38489 * nss/tst-nss-static.c: New.
38490
4dad7bab
RM
384912012-04-06 Robert Millan <rmh@gnu.org>
38492
38493 [BZ #6486]
38494 * manual/llio.texi (File Position Primitive): lseek
38495 refers to WHENCE when it really means OFFSET.
38496
e9142a17
AJ
384972012-04-06 Andreas Jaeger <aj@suse.de>
38498
2c040eff
AJ
38499 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38500 strncmp declarations.
38501
e9142a17
AJ
38502 * abilist/libc.abilist: Add __poll and __ppoll.
38503
ff9f1c5f
DM
385042012-04-05 David S. Miller <davem@davemloft.net>
38505
dcd2ae90
DM
38506 * scripts/check-local-headers.sh: Accept a host triplet in the
38507 path matched by the exclude regexp.
38508
993eb054
DM
38509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38510 definition.
38511 * sysdeps/powerpc/powerpc32/dl-machine.h
38512 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38513 * sysdeps/s390/s390-32/dl-machine.h
38514 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38515 * sysdeps/sparc/sparc32/dl-machine.h
38516 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38517 * sysdeps/sparc/sparc64/dl-machine.h
38518 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38519
ff9f1c5f
DM
38520 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38521 lazy binding.
48e2e132 38522 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38523 undefined symbol errors.
38524
48e2e132 38525 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38526 DT_NEEDED entries.
38527
e80d6f94
MM
385282012-04-05 Michael Matz <matz@suse.de>
38529
38530 [BZ #13592]
38531 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38532
349fa79f
AJ
385332012-04-05 Andreas Jaeger <aj@suse.de>
38534
38535 [BZ #13908]
38536 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38537 comment.
38538
f402708f
KK
385392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38540
38541 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38542 which ROUND is no valid rounding mode.
38543
2ecccfc9
KK
385442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38545
38546 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38547 read again.
38548 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38549
8a53f50f
KK
385502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38551
38552 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38553 an exception using FPU order intentionally.
38554
385552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38556
38557 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38558 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38559 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38560 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38561
d653abb7
SJ
385622012-04-05 Simon Josefsson <simon@josefsson.org>
38563
38564 [BZ #12340]
38565 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38566 EINVAL when BUFLEN is too smal.
38567
c3b1bf7d
TS
385682012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38569
38570 [BZ #13553]
38571 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38572 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38573
b1aa60f3
AJ
385742012-04-03 Andreas Jaeger <aj@suse.de>
38575
c3b1bf7d 38576 [BZ #13938]
67f60a26
AJ
38577 * manual/setjmp.texi (System V contexts): Fix sentence.
38578
b1aa60f3
AJ
38579 [BZ #13926]
38580 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38581 New macro for this case.
38582 [!__GNUC__] (__bswap_64): New inline function for this case.
38583 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38584 * bits/byteswap.h: Likewise.
38585 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38586 ull, guard with __GLIBC_HAVE_LONG_LONG.
38587
38588 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38589 __GLIBC_HAVE_LONG_LONG.
38590
38591 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38592 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38593
39c59c35
TMQMF
385942012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38595
38596 [BZ #13691]
38597 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38598 inptr and inend, rather than using last_ch.
38599
135ffda8
DM
386002012-04-02 David S. Miller <davem@davemloft.net>
38601
38602 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38603 * stdio-common/printf-parse.h (read_int): Change return type to
38604 'int', return -1 on INT_MAX overflow.
38605 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38606 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38607 overflows INT_MAX. Check for overflow of in-format-string precision
38608 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38609 SIZE_MAX not INT_MAX for integer overflow test.
38610 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38611 skip the construct in the format string but do not record anything.
38612 * stdio-common/bug22.c: Adjust to test both width/prevision
38613 INT_MAX overflow as well as total length INT_MAX overflow. Check
38614 explicitly for proper errno values.
38615
228c019e
TS
386162012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38617
302cadd3
TS
38618 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38619 CHAR_MAX.
38620 * string/test-strcmp.c [! WIDE]: Likewise.
38621 * time/tst-mktime2.c: Likewise for INT_MAX.
38622 * string/test-string.h: #include <sys/param.h> for MIN.
38623
228c019e
TS
38624 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38625 * sysdeps/i386/init-first.c (init): Likewise.
38626 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38627 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38628 * sysdeps/sh/init-first.c (init): Likewise.
38629
cfa633f5
UD
386302012-04-01 Ulrich Drepper <drepper@gmail.com>
38631
38632 * po/ru.po: Update from translation team.
d1635ef8 38633 * po/vi.po: Likewise.
cfa633f5 38634
6cd0a5ea
SP
386352012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38636
38637 * resolv/nss_dns/dns-host.c: Merge copyright years.
38638
4b43400f
LD
386392012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38640
38641 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38642 Optimize memcpy with prefetch if
38643 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38644 src, dst pointers have unequal 16 byte alignments.
38645
48c41d04
SP
386462012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38647
38648 [BZ #13928]
38649 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38650 from a CNAME entry and return the minimum ttl for the query.
38651 (gaih_getanswer_slice): Likewise.
38652
b8dc394d
JL
386532012-03-30 Jeff Law <law@redhat.com>
38654
38655 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38656 due to long keys.
38657 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38658 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38659
2f5a5ed0
JL
38660 * resolv/nss_dns/dns-host.c: Update copyright year.
38661
1d39e359
UD
386622012-03-30 Ulrich Drepper <drepper@gmail.com>
38663
c030f70c 38664 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38665 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38666
1d39e359
UD
38667 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38668 comments for sendmmsg.
38669
386702012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38671
38672 [BZ #13691]
38673 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38674 with only 1 character between 0x0041 and 0x01b0.
38675 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38676 * wcsmbs/tst-mbsnrtowcs.c: New file.
38677
20fde227
DM
386782012-03-29 David S. Miller <davem@davemloft.net>
38679
38680 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38681 small copies by hand.
38682
984a4237
JL
386832012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38684
38685 [BZ #13761]
57f41c40
AS
38686 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38687 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38688 group memberships.
984a4237 38689
18c9d62b
DM
386902012-03-28 David S. Miller <davem@davemloft.net>
38691
88d85d4f
DM
38692 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38693 that branches into memcpy.
38694 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38695 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38696 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38697 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38699 bits.
38700 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38701 implementation too.
38702 * sysdeps/sparc/mempcpy.S: New file.
38703
e5aa83e1
DM
38704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38705 the IFUNC routine in the libc case.
38706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38707
88570753
DM
38708 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38709 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38710 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38711 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38712 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38713 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38714 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38715 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38716
249d7567
DM
38717 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38718 loop to 256 bytes instead of 64 bytes and fix test signedness.
38719
18c9d62b
DM
38720 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38721 * sysdeps/sparc/sparc32/Makefile: rather than here...
38722 * sysdeps/sparc/sparc64/Makefile: and here.
38723
05f3d1f6
UD
387242012-03-28 Ulrich Drepper <drepper@gmail.com>
38725
38726 * malloc/mallocbug.c: Avoid warnings about unused variables.
38727
86ae07a8
JL
387282012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38729
38730 [BZ #13760]
38731 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38732 in the right place. Discard and retry query if response is
38733 larger than input buffer size.
38734
41bf21a1
JM
387352012-03-28 Joseph Myers <joseph@codesourcery.com>
38736
d6270972
JM
38737 [BZ #369]
38738 [BZ #2678]
38739 [BZ #3866]
38740 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38741 x for large integer exponent.
38742 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38743 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38744 sign of result as needed afterwards.
38745 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38746 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38747 result for underflowing pow the same as for overflow.
38748 (__kernel_standard_l): Handle powl overflow and underflow here
38749 rather than calling __kernel_standard.
38750 * math/libm-test.inc (pow_test): Add more tests.
38751
414fca03 38752 [BZ #3868]
41bf21a1
JM
38753 [BZ #13879]
38754 [BZ #13910]
38755 [BZ #13911]
38756 [BZ #13912]
38757 [BZ #13913]
38758 [BZ #13915]
38759 [BZ #13916]
38760 [BZ #13917]
38761 [BZ #13918]
38762 [BZ #13919]
38763 [BZ #13920]
38764 [BZ #13921]
38765 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38766 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38767 (__kernel_standard_l): New function.
38768 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38769 __kernel_standard.
38770 * math/w_acosl.c (__acosl): Likewise.
38771 * math/w_asinl.c (__asinl): Likewise.
38772 * math/w_atan2l.c (__atan2l): Likewise.
38773 * math/w_atanhl.c (__atanhl): Likewise.
38774 * math/w_coshl.c (__coshl): Likewise.
38775 * math/w_exp10l.c (__exp10l): Likewise.
38776 * math/w_exp2l.c (__exp2l): Likewise.
38777 * math/w_fmodl.c (__fmodl): Likewise.
38778 * math/w_hypotl.c (__hypotl): Likewise.
38779 * math/w_j0l.c (__j0l, __y0l): Likewise.
38780 * math/w_j1l.c (__j1l, __y1l): Likewise.
38781 * math/w_jnl.c (__jnl, __ynl): Likewise.
38782 * math/w_lgammal.c (__lgammal): Likewise.
38783 * math/w_log10l.c (__log10l): Likewise.
38784 * math/w_log2l.c (__log2l): Likewise.
38785 * math/w_logl.c (__logl): Likewise.
38786 * math/w_powl.c (__powl): Likewise.
38787 * math/w_remainderl.c (__remainderl): Likewise.
38788 * math/w_scalbl.c (sysv_scalbl): Likewise.
38789 * math/w_sinhl.c (__sinhl): Likewise.
38790 * math/w_sqrtl.c (__sqrtl): Likewise.
38791 * math/w_tgammal.c (__tgammal): Likewise.
38792 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38793 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38794 * math/libm-test.inc (acos_test): Add more tests.
38795 (acosh_test): Likewise.
38796 (asin_test): Likewise.
38797 (atanh_test): Likewise.
38798 (exp_test): Likewise.
38799 (exp10_test): Likewise.
38800 (exp2_test): Likewise.
38801 (expm1_test): Likewise.
38802 (lgamma_test): Likewise.
38803 (log_test): Likewise.
38804 (log10_test): Likewise.
38805 (log1p_test): Likewise.
38806 (log2_test): Likewise.
38807 (pow_test): Do not allow some spurious overflow exceptions.
38808 (sqrt_test): Add more tests.
38809 (tgamma_test): Likewise.
38810 (y0_test): Likewise.
38811 (y1_test): Likewise.
38812 (yn_test): Likewise.
38813
dd62fda6
AB
388142012-03-27 Anton Blanchard <anton@samba.org>
38815
38816 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38817 MAP_HUGETLB.
38818 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38819 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38820 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38821
1e3cdfda
AJ
388222012-03-27 David S. Miller <davem@davemloft.net>
38823
b855ab85
DM
38824 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38825
1e3cdfda
AJ
38826 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38827 have-as-vis3 check.
38828
388292012-03-27 Andreas Jaeger <aj@suse.de>
38830
38831 * sysdeps/x86_64/elf/configure.in: Moved to ...
38832 * sysdeps/x86_64/configure.in: ... here.
38833 * sysdeps/x86_64/elf/start.S: Moved to ...
38834 * sysdeps/x86_64/start.S: ... here.
38835 * sysdeps/x86_64/elf/configure: Delete.
38836
38837 * sysdeps/x86_64/configure.in: Merge contents from
38838 sysdeps/i386/configure.in (without i686 check).
38839
38840 * sysdeps/i386/elf/Versions: Merge into ...
38841 * sysdeps/i386/Versions: ... this.
38842 * sysdeps/i386/elf/Versions: Delete file.
38843 * sysdeps/i386/elf/start.S: Moved to ...
38844 * sysdeps/i386/start.S: ...here.
38845 * sysdeps/i386/elf/configure.in: Merge into...
38846 * sysdeps/i386/configure.in: ...here.
38847 * sysdeps/i386/elf/configure.in: Delete file.
38848 * sysdeps/i386/elf/configure: Delete file.
38849
38850 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38851 * debug/backtracesyms.c: ... here.
38852 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38853 * debug/backtracesymsfd.c: ... here.
38854 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38855 * sysdeps/generic/ifunc-sel.h: ... here.
38856
38857 * sysdeps/unix/i386/start.c: Delete file.
38858 * sysdeps/unix/sparc/start.c: Delete file.
38859 * sysdeps/unix/start.c: Delete file.
38860
38861 * sysdeps/sh/elf/configure.in: Moved to ...
38862 * sysdeps/sh/configure.in: ... here.
38863 * sysdeps/sh/elf/start.S: Moved to ...
38864 * sysdeps/sh/start.S: ... here.
38865 * sysdeps/sh/elf/configure: Delete file.
38866
38867 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38868 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38869 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38870 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38871 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38872 * sysdeps/powerpc/powerpc64/start.S: here.
38873 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38874 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38875 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38876 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38877 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38878
38879 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38880 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38881 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38882 * sysdeps/powerpc/powerpc32/start.S: ... here.
38883 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38884 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38885 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38886
38887 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38888 * sysdeps/powerpc/ifunc-sel.h: ... here.
38889 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38890 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38891
38892 * sysdeps/sparc/elf/configure.in: Moved to ...
38893 * sysdeps/sparc/configure.in: ... here.
38894 * sysdeps/sparc/elf/configure: Delete file.
38895 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38896 * sysdeps/sparc/sparc32/start.S: ... here.
38897 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38898 * sysdeps/sparc/sparc64/start.S: ... here.
38899 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38900 * sysdeps/sparc/sparc32/Makefile: ... this.
38901 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38902 * sysdeps/sparc/sparc64/Makefile: ... this.
38903
38904 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38905 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38906 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38907 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38908 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38909 * sysdeps/s390/s390-32/setjmp.S: ... here.
38910 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38911 * sysdeps/s390/s390-32/configure.in: ... here.
38912 * sysdeps/s390/s390-32/elf/configure: Delete file.
38913 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38914 * sysdeps/s390/s390-32/start.S: ... here.
38915
38916 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38917 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38918 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38919 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38920 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38921 * sysdeps/s390/s390-64/setjmp.S: ... here.
38922 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38923 * sysdeps/s390/s390-64/configure.in: ... here
38924 * sysdeps/s390/s390-64/elf/configure: Delete file.
38925 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38926 * sysdeps/s390/s390-64/start.S: ... here.
38927 * sysdeps/s390/s390-64/elf/configure: Delete.
38928
38929 * configure.in: Remove support for elf directories in sysdeps.
38930
38931 * configure: Regenerated.
38932 * sysdeps/i386/configure: Regenerated.
38933 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38934 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38935 * sysdeps/s390/s390-32/configure: Regenerated.
38936 * sysdeps/s390/s390-64/configure: Regenerated.
38937 * sysdeps/sh/configure: Regenerated.
38938 * sysdeps/sparc/configure: Regenerated.
38939 * sysdeps/x86_64/configure: Regenerated.
38940
a3f61311
AS
389412012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38942
c876e002
AS
38943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38944
a3f61311
AS
38945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38946 denormal result into account.
38947
ac4c54f0
RM
389482012-03-25 Roland McGrath <roland@hack.frob.com>
38949
38950 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38951 Reported by Allan McRae <allan@archlinux.org>.
38952
6a9b9c02
JL
389532012-03-23 Jeff Law <law@redhat.com>
38954
38955 * nss/getnssent.c (__nss_getent): Fix typo.
38956
4c42a0c1
DM
389572012-03-23 David S. Miller <davem@davemloft.net>
38958
38959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38960
1532c7ac
L
389612012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38962
38963 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38964 to pad to uint64_t for each field.
38965 (dl_tls_index): Replace unsigned long with uint64_t.
38966
3ff42526
PP
389672012-03-23 Daniel Jacobowitz <dmj@google.com>
38968 Paul Pluzhnikov <ppluzhnikov@google.com>
38969
38970 [BZ #6528]
38971 * grp/Makefile (otherlibs): Don't set it.
38972 * inet/Makefile (otherlibs): Likewise.
38973 * login/Makefile (otherlibs): Likewise.
38974 * nscd/Makefile (otherlibs): Likewise.
38975 * posix/Makefile (otherlibs): Likewise.
38976 * pwd/Makefile (otherlibs): Likewise.
38977 * rt/Makefile (otherlibs): Likewise.
38978 * sunrpc/Makefile (otherlibs): Likewise.
38979 * nss/Makefile (otherlibs): Likewise.
38980 Add libnss_files to routines and static-only-routines.
38981 ($(objpfx)getent): Remove rule.
38982 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38983 static-only-routines.
38984
7c69cd14
JM
389852012-03-22 Joseph Myers <joseph@codesourcery.com>
38986
38987 [BZ #13892]
38988 * math/s_cexp.c: Include <float.h>.
38989 (__cexp): Handle exp result overflowing not necessarily
38990 overflowing both real and imaginary parts of result.
38991 * math/s_cexpf.c: Likewise.
38992 * math/s_cexpl.c: Likewise.
38993 * math/libm-test.inc (cexp_test): Add more tests.
38994 * sysdeps/i386/fpu/libm-test-ulps: Update.
38995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38996
81b035fe
L
389972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38998
38999 * include/link.h (ELFW): New macro.
39000 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39001 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39002
1da7940c
L
390032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39004
39005 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39006 with uint64_t.
39007
b749dbb9
L
390082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39009
39010 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39011 declaration.
39012 (struct La_x32_retval): Likewise.
39013
2ff87f3f
L
390142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39015
39016 * sysdeps/x86_64/preconfigure.in: New file.
39017 * sysdeps/x86_64/preconfigure: New generated file.
39018
c0df8e69
JM
390192012-03-22 Joseph Myers <joseph@codesourcery.com>
39020
48e44791
JM
39021 [BZ #13824]
39022 * math/e_exp2l.c: Include <float.h>.
39023 (__ieee754_exp2l): Handle overflow and underflow cases
39024 separately. Only pass fractional part of argument to
39025 __ieee754_expl.
39026 * math/libm-test.inc (exp2_test): Add more tests.
39027
c0df8e69
JM
39028 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39029 negating x to take absolute value.
39030 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39031 Likewise.
39032 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39033 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39034 Likewise.
39035 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39036 computing low part if x was negated.
39037 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39038
c8e43ba7
L
390392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39040
39041 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39042 la_x32_gnu_pltexit.
39043 (pltexit): Cast int_retval to ptrdiff_t.
39044 * elf/tst-auditmod3b.c: Likewise.
39045 * elf/tst-auditmod4b.c: Likewise.
39046 * elf/tst-auditmod5b.c: Likewise.
39047 * elf/tst-auditmod6b.c: Likewise.
39048 * elf/tst-auditmod6c.c: Likewise.
39049 * elf/tst-auditmod7b.c: Likewise.
39050
39051 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39052 and x32_gnu_pltexit.
39053
39054 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39055 __ELF_NATIVE_CLASS.
39056 (La_x32_regs): New macro.
39057 (La_x32_retval): Likewise.
39058 (la_x32_gnu_pltenter): New function prototype.
39059 (la_x32_gnu_pltexit): Likewise.
39060
7998fa78
AS
390612012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39062
dcb33988
AS
39063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39064 exponent.
39065
233fc563
AS
39066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39067
7998fa78
AS
39068 * configure.in (libc_cv_cc_nofma): Check for option to disable
39069 generation of FMA instructions.
39070 * configure: Regenerate.
39071 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39072 * sysdeps/ieee754/dbl-64/Makefile: New file.
39073 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39074 Remove brandred-fma4.
39075 (CFLAGS-brandred-fma4.c): Remove.
39076 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39077 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39078 define.
39079 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39080 define.
39081
8e95c99a
L
390822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39083
39084 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39085 LLONG_MAX != LONG_MAX.
39086 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39087 (_fitoa_word): Likewise.
39088 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39089 LLONG_MAX != LONG_MAX.
39090 * stdio-common/_itowa.h: Include <_itoa.h>.
39091 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39092 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39093 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39094 only if not defined.
39095 (_ITOA_WORD_TYPE): Likewise.
39096 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39097 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39098
6f4db457
DM
390992012-03-21 David S. Miller <davem@davemloft.net>
39100
39101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39102
7785fe5a
L
391032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39104
39105 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39106 of x86_64 when setting libc_cv_slibdir, libdir and
39107 libc_cv_localedir.
39108 * sysdeps/unix/sysv/linux/configure: Regenerated.
39109
4535cd55
JM
391102012-03-21 Joseph Myers <joseph@codesourcery.com>
39111
39112 * manual/lang.texi (Old Varargs): Remove section.
39113 (How Variadic): Update menu.
39114 (va_start): Do not mention varargs.h.
39115
17228132
TS
391162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39117 Joseph Myers <joseph@codesourcery.com>
39118
39119 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39120 link test.
39121 * configure: Regenerated.
39122
8149f976
TS
391232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39124
05f3d1f6
UD
39125 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39126 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39127 conformtest.pl
8149f976 39128
1a4ac776
JM
391292012-03-21 Joseph Myers <joseph@codesourcery.com>
39130
be22ce65
JM
39131 * NOTES: Remove.
39132 * Makefile (files-for-dist): Remove NOTES.
39133 (NOTES): Remove rule.
39134 * README: Don't refer to NOTES.
39135 * manual/creature.texi: Don't include macros.texi.
39136 * manual/intro.texi (creature.texi): Remove comment referring to
39137 NOTES.
39138
40b601fb
JM
39139 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39140 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39141 * configure: Regenerated.
39142 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39143 LIBC_TRY_CC_OPTION.
39144 (libc_cv_as_i686): Likewise.
39145 (libc_cv_cc_avx): Likewise.
39146 (libc_cv_cc_sse2avx): Likewise.
39147 (libc_cv_cc_fma4): Likewise.
39148 (libc_cv_cc_novzeroupper): Likewise.
39149 * sysdeps/i386/configure: Regenerated.
39150
1a4ac776
JM
39151 [BZ #13883]
39152 * sysdeps/i386/fpu/s_cexp.S: Remove.
39153 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39154 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39155 * math/libm-test.inc (cexp_test): Add more tests.
39156 * sysdeps/i386/fpu/libm-test-ulps: Update.
39157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39158
a458e7fe
AM
391592012-03-21 Allan McRae <allan@archlinux.org>
39160
39161 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39162
0cb7efc5
JM
391632012-03-21 Joseph Myers <joseph@codesourcery.com>
39164
39165 [BZ #13871]
39166 * math/w_exp2.c: Do not include <float.h>.
39167 (o_threshold, u_threshold): Remove.
39168 (__exp2): Calculate result before checking finiteness and calling
39169 __kernel_standard.
39170 * math/w_exp2f.c: Likewise.
39171 * math/w_exp2l.c: Likewise.
39172 * math/libm-test.inc (exp2_test): Require overflow exception for
39173 1e6 input.
2460d3aa
JM
39174
39175 [BZ #3866]
39176 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39177 range of signed 64-bit integers before using fistpll. Remove
39178 checks for whether integers fit in mantissa bits.
39179 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39180 the range of signed 32-bit integers before using fistpl. Remove
39181 checks for whether integers fit in mantissa bits.
39182 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39183 (__ieee754_powl): Test for y outside the range of signed 64-bit
39184 integers before using fistpll. Reduce 64-bit values to 63-bit
39185 ones as needed.
39186 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39187 divide-by-zero is raised for zero to large negative powers.
39188 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39189 (__ieee754_powl): Test for y outside the range of signed 64-bit
39190 integers before using fistpll. Reduce 64-bit values to 63-bit
39191 ones as needed.
39192 * math/libm-test.inc (pow_test): Add more tests.
39193
eb96ffb0
L
391942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39195
39196 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39197 <stdio-common/_itoa.h>.
39198 * debug/segfault.c: Likewise.
39199 * elf/dl-cache.c: Likewise.
39200 * elf/dl-minimal.c: Likewise.
39201 * elf/dl-misc.c: Likewise.
39202 * elf/dl-sysdep.c: Likewise.
39203 * elf/dl-version.c: Likewise.
39204 * elf/rtld.c: Likewise.
39205 * hurd/hurdsock.c: Likewise.
39206 * hurd/lookup-retry.c: Likewise.
39207 * malloc/malloc.c: Likewise.
39208 * malloc/mtrace.c: Likewise.
39209 * nscd/nscd_getgr_r.c: Likewise.
39210 * nscd/nscd_getpw_r.c: Likewise.
39211 * nscd/nscd_getserv_r.c: Likewise.
39212 * posix/getopt_init.c: Likewise.
39213 * posix/wordexp.c: Likewise.
39214 * stdio-common/_itoa.c: Likewise.
39215 * stdio-common/printf_fphex.c: Likewise.
39216 * stdio-common/vfprintf.c: Likewise.
39217 * string/_strerror.c: Likewise.
39218 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39219 * sysdeps/i386/i686/hp-timing.h: Likewise.
39220 * sysdeps/mach/_strerror.c: Likewise.
39221 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39222 * sysdeps/mach/hurd/sethostid.c: Likewise.
39223 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39224 * sysdeps/mach/xpg-strerror.c: Likewise.
39225 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39226 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39227 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39228 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39229 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39230 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39231 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39232 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39233 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39234 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39235 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39236 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39237 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39238 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39239 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39240 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39241 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39242 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39243 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39244 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39245 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39246
39247 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39248
39249 * stdio-common/_itoa.h: Moved to ...
39250 * sysdeps/generic/_itoa.h: Here.
39251
39252 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39253
39254 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39255 instead of "_itoa.h" and "_itowa.h".
39256 * stdio-common/vfprintf.: Likewise.
39257
d1af992d
L
392582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39259
39260 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39261 <bits/wordsize.h>.
39262 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39263 (__signbit): Likwise.
39264 (llrintf): Likwise.
39265 (llrint): Likwise.
39266
114883e0
L
392672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39268
39269 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39270 __WORDSIZE != 64.
39271
c135cc1b
JM
392722012-03-20 Joseph Myers <joseph@codesourcery.com>
39273
39274 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39275 OVERFLOW_EXCEPTION_OK.
39276 * math/libm-test.inc ("Philosophy"): Update comment about
39277 exception testing.
39278 (OVERFLOW_EXCEPTION): Define.
39279 (OVERFLOW_EXCEPTION_OK): Likewise.
39280 (INVALID_EXCEPTION_OK): Renumber.
39281 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39282 (IGNORE_ZERO_INF_SIGN): Likewise.
39283 (test_exceptions): Handle FE_OVERFLOW.
39284 (exp10_test): Expect overflow exceptions.
39285 (exp2_test): Likewise.
39286 (expm1_test): Likewise.
39287 (nextafter_test): Likewise.
39288 (pow_test): Likewise.
39289 (scalbn_test): Likewise.
39290 (scalbln_test): Likewise.
39291
95443d88
L
392922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39293
39294 * sysdeps/x86_64/bits/atomic.h
39295 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39296 64bit integer.
39297 (atomic_exchange_acq): Likewise.
39298 (__arch_exchange_and_add_body): Likewise.
39299 (__arch_add_body): Likewise.
39300 (atomic_add_negative): Likewise.
39301 (atomic_add_zero): Likewise.
39302
490df6c4
L
393032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39304
c2722551 39305 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39306 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39307
5e52b189
L
393082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39309
39310 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39311 Check __x86_64__ instead of __WORDSIZE.
39312
a9879d4c
L
393132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39314
39315 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39316
5df98260
DM
393172012-03-19 David S. Miller <davem@davemloft.net>
39318
e1497744
DM
39319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39320
5df98260
DM
39321 * sysdeps/sparc/fpu/fenv_private.h: New file.
39322 * sysdeps/sparc/fpu/math_private.h: Use it.
39323 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39324 Remove.
57f41c40 39325 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39326 (libc_feholdexcept_setroundl): Remove.
39327 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39328 Remove.
39329 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39330 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39331
b4c35121
L
393322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39333
39334 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39335 int64_t instead of long int.
39336 (INSERT_WORDS64): Likwise.
39337
56965fd7
L
393382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39339
39340 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39341 _Unwind_GetCFA return to _Unwind_Ptr first.
39342
83d1aec8
JM
393432012-03-19 Joseph Myers <joseph@codesourcery.com>
39344
1897ad44
JM
39345 [BZ #13629]
39346 * math/s_clog.c: Include <float.h>.
39347 (__clog): Scale large or subnormal inputs.
39348 * math/s_clogf.c: Likewise.
39349 * math/s_clogl.c: Likewise.
39350 * math/s_clog10.c: Include <float.h>.
39351 (M_LOG10_2): Define.
39352 (__clog10): Scale large or subnormal inputs.
39353 * math/s_clog10f.c: Likewise.
39354 * math/s_clog10l.c: Likewise.
39355 * math/libm-test.inc (clog_test): Add more tests.
39356 (clog10_test): Likewise.
39357 * sysdeps/i386/fpu/libm-test-ulps: Update.
39358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39359
7726d6a9
JM
39360 [BZ #11451]
39361 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39362 x and y.
39363 * math/libm-test.inc (atan2_test): Add another test.
39364
83d1aec8
JM
39365 * Makerules (common-objdir-compile): Remove.
39366 * sysdeps/unix/Makefile (config-generated): Do not add
39367 $(unix-generated) to variable.
39368 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39369 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39370 Remove rule.
39371 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39372 Likewise.
39373 [generic bits/local_lim.h] (before-compile): Do not append to
39374 variable.
39375 [generic bits/local_lim.h] (common-generated): Likewise.
39376 [generic sys/param.h] (before-compile): Do not append to variable.
39377 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39378 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39379 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39380 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39381 include.
39382 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39383 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39384 [generic sys/param.h] ($(addprefix
39385 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39386 [generic sys/param.h] (common-generated): Do not append to
39387 variable.
39388 [generic sys/param.h] (sysdep_headers): Likewise.
39389 [generic bits/errno.h] (before-compile): Do not append to
39390 variable.
39391 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39392 rule.
39393 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39394 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39395 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39396 [generic bits/errno.h] (common-generated): Do not append to
39397 variable.
39398 [generic bits/ioctls.h] (before-compile): Do not append to
39399 variable.
39400 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39401 rule.
39402 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39403 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39404 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39405 rule.
39406 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39407 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39408 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39409 [generic bits/ioctls.h] (common-generated): Do not append to
39410 variable.
39411 [generic sys/syscall.h] (syscall.h): Remove variable.
39412 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39413 rule.
39414 [generic sys/syscall.h] (before-compile): Do not append to
39415 variable.
39416 [generic sys/syscall.h] (common-generated): Likewise.
39417 * sysdeps/unix/errnos-tmpl.c: Remove file.
39418 * sysdeps/unix/errnos.awk: Likewise.
39419 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39420 * sysdeps/unix/ioctls.awk: Likewise.
39421 * sysdeps/unix/mk-local_lim.c: Likewise.
39422 * sysdeps/unix/snarf-ioctls: Likewise.
39423
4851a949
RH
394242012-03-19 Richard Henderson <rth@twiddle.net>
39425
bd37f2ee
RH
39426 * sysdeps/i386/fpu/fenv_private.h: New file.
39427 * sysdeps/i386/fpu/math_private.h: Use it.
39428 (math_opt_barrier, math_force_eval): Remove.
39429 (libc_feholdexcept_setround_53bit): Remove.
39430 (libc_feupdateenv_53bit): Remove.
39431 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39432 (math_opt_barrier, math_force_eval): Remove.
39433 (libc_feholdexcept): Remove.
39434 (libc_feholdexcept_setround): Remove.
39435 (libc_fetestexcept, libc_fesetenv): Remove.
39436 (libc_feupdateenv_test): Remove.
39437 (libc_feupdateenv, libc_feholdsetround): Remove.
39438 (libc_feresetround): Remove.
39439
d0adc922
RH
39440 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39441 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39442
0fe0f1f8
RH
39443 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39444 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39445 (libc_feupdateenv_testl): New.
39446 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39447 (libc_feupdateenv_testf): New.
39448 (libc_feupdateenv): Use libc_feupdateenv_test.
39449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39451
eb92c487
RH
39452 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39453 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39454 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39455 (libc_feresetround_noex): New.
39456 (libc_feresetround_noexf): New.
39457 (libc_feresetround_noexl): New.
39458 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39459 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39460 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39461 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39462 SET_RESTORE_ROUND.
39463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39464 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39465 (__cos): Likewise.
39466 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39467 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39468 SET_RESTORE_ROUND_NOEX.
39469 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39470 SET_RESTORE_ROUND_NOEXF.
39471 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39472 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39473 (libc_feholdsetroundf): New.
39474 (libc_feresetround, libc_feresetroundf): New.
39475
7d2e8012
RH
39476 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39477 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39478 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39479
b4dabbb4
RH
39480 * sysdeps/generic/math_private.h: Include <fenv.h>.
39481 (default_libc_feholdexcept): New.
39482 (default_libc_feholdexcept_setround): New.
39483 (default_libc_fesetenv, default_libc_feupdateenv): New.
39484 (libc_feholdexcept): Only define if undefined.
39485 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39486 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39487 (libc_feholdexcept_setroundl): Likewise.
39488 (libc_feholdexcept_setround_53bit): Likewise.
39489 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39490 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39491 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39492 (libc_feupdateenv_53bit): Likewise.
39493 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39494 (libc_feholdexcept): Convert from macro to inline function.
39495 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39496 (libc_fesetenv, libc_feupdateenv): Likewise.
39497
4851a949
RH
39498 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39499 not previously defined.
39500 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39501 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39502 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39503 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39504 * sysdeps/ieee754/flt-32/math_private.h: New file.
39505 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39506 math_private.h below SET_FLOAT_WORD.
39507 (__isnan, __isinf_ns, __finite): Remove.
39508 (__isnanf, __isinf_nsf, __finitef): Remove.
39509
e79d442e
AS
395102012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39511
39512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39513
90b80344
DM
395142012-03-17 David S. Miller <davem@davemloft.net>
39515
39516 [BZ #6471]
39517 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39518 for 2.16.
39519
edc21804
DM
395202012-03-16 David S. Miller <davem@davemloft.net>
39521
77e927af
DM
39522 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39523 warnings.
39524
374976dd
DM
39525 [BZ #6471]
39526 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39527 properly.
39528 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39529 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39530 sysdep_routines when subdir is sysvipc.
39531 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39532 __getshmlba helper.
39533
edc21804
DM
39534 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39535
473c3ef3
L
395362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39537
39538 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39539 [__LP64__].
39540
eb0f39b6
L
395412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39542
39543 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39544 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39545 (__lround): Renamed to ...
39546 (__llround): This. Replace long int with long long int.
39547 Define lround functions as aliases of llround functions.
39548 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39549
6b6cd74b
L
395502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39551
39552 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39553 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39554 adresses to uintptr_t. Replace "long int" and "unsigned long
39555 int" with "greg_t" on va_arg.
39556
f1a77b01
L
395572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39558
39559 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39560 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39561
39562 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39563 Move e_machine check before EI_CLASS check. Handle x32
39564 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39565 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39566 SKIP_EM_IA_64 and include
39567 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39568
39569 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39570 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39571 (add_system_dir): New macro.
39572
39573 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39574 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39575
11b90b9f
JM
395762012-03-16 Joseph Myers <joseph@codesourcery.com>
39577
c36e1d23
JM
39578 [BZ #2551]
39579 [BZ #2552]
39580 [BZ #2553]
39581 [BZ #2554]
39582 [BZ #2562]
39583 [BZ #2563]
39584 [BZ #2565]
39585 [BZ #2566]
39586 [BZ #2576]
39587 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39588 (y0): Likewise.
39589 * math/w_j0f.c (j0f): Likewise.
39590 (y0f): Likewise.
39591 * math/w_j0l.c (__j0l): Likewise.
39592 (__y0l): Likewise.
39593 * math/w_j1.c (j1): Likewise.
39594 (y1): Likewise.
39595 * math/w_j1f.c (j1f): Likewise.
39596 (y1f): Likewise.
39597 * math/w_j1l.c (__j1l): Likewise.
39598 (__y1l): Likewise.
39599 * math/w_jn.c (jn): Likewise.
39600 (yn): Likewise.
39601 * math/w_jnf.c (jnf): Likewise.
39602 (ynf): Likewise.
39603 * math/w_jnl.c (__jnl): Likewise.
39604 (__ynl): Likewise.
39605 * math/libm-test.inc (j0_test): Add more tests.
39606 (j1_test): Likewise.
39607 (jn_test): Likewise. Add trailing semicolon to existing test.
39608 (y0_test): Likewise.
39609 (y1_test): Likewise.
39610 * sysdeps/i386/fpu/libm-test-ulps: Update.
39611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39612
11b90b9f
JM
39613 [BZ #13851]
39614 [BZ #13854]
39615 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39616 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39617 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39618 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39619 (__tanl): Set errno for infinite argument.
39620 * sysdeps/i386/fpu/mptan.c: Remove.
39621 * sysdeps/i386/fpu/s_tan.S: Likewise.
39622 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39623 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39624 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39625 * math/libm-test.inc (tan_test): Add more tests and enable more
39626 tests for double and long double.
39627 * sysdeps/i386/fpu/libm-test-ulps: Update.
39628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39629
6a1bd2a1
JK
396302012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39631
39632 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39633 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39634
10a803e0
RM
396352012-03-16 Roland McGrath <roland@hack.frob.com>
39636
39637 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39638 * configure.in: Use it for both main tree and add-ons.
39639 * configure: Regenerated.
39640
f196c7f7
L
396412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39642
39643 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39644
8848d99d
JM
396452012-03-16 Joseph Myers <joseph@codesourcery.com>
39646
96cbe7f4
JM
39647 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39648 in comment.
39649
8848d99d
JM
39650 [BZ #13851]
39651 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39652 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39653 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39654 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39655 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39656 infinite argument.
39657 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39658 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39659 != 0 for prec == 2.
39660 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39661 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39662 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39663 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39664 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39665 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39666 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39667 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39668 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39669 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39670 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39671 * math/libm-test.inc (cos_test): Add more tests and enable more
39672 tests for long double.
39673 (sin_test): Likewise.
39674 (sincos_test): Likewise.
39675 * sysdeps/i386/fpu/libm-test-ulps: Update.
39676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39677
dd7f4703
DM
396782012-03-16 David S. Miller <davem@davemloft.net>
39679
39680 * sysdeps/sparc/fpu/math_private.h: New file.
39681
006f1daa
DM
396822012-03-15 David S. Miller <davem@davemloft.net>
39683
c0c83bc8
DM
39684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39685 file.
e6a62e18 39686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39688 file.
e6a62e18
DM
39689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39694 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39695 sysdep routines.
39696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39697
88cb87d9
DM
39698 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39699 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39700
006f1daa 39701 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39703 sparc-ifunc.h
006f1daa 39704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39706 Likewise.
39707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39708 Likewise.
006f1daa
DM
39709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39713 Likewise.
006f1daa
DM
39714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39719 Likewise.
39720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39721 Likewise.
006f1daa
DM
39722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39728 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39729 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39740 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39741 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39742 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39743 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39744 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39745 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39746
11e0098e
AS
397472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39748
39749 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39750 scaling.
39751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39752
e85b09d0
AJ
397532012-03-15 Andreas Jaeger <aj@suse.de>
39754
39755 [BZ #13852]
39756 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39757 ieee754/flt-32 implementation for sin, cos and sincos.
39758 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39759 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39760 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39761 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39762 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39763 ieee754/flt-32 implementation for tan.
39764
39765 * math/libm-test.inc (cos_test): Enable some large input tests for
39766 float as well
39767 (sin_test): Likewise.
39768 (sincos_test): Likewise.
39769 (tan_test): Add tests for large input.
39770
39771 * sysdeps/i386/fpu/libm-test-ulps: Update.
39772
81c64153
AJ
397732012-03-15 Andreas Jaeger <aj@suse.de>
39774
39775 [BZ #13658]
39776 * math/libm-test.inc (cos_test): Add more test cases.
39777 (sin_test): Likewise.
39778 (sincos_test): Likewise.
39779
7bbfa5c6
AJ
397802012-03-15 Andreas Jaeger <aj@suse.de>
39781
39782 [BZ #13837]
39783 * math/libm-test.inc (cos_test): Add a test case for large input
39784 value.
39785 (sin_test): Likewise.
39786 (sincos_test): Likewise.
39787
57f41c40
AS
397882012-03-15 Andreas Jaeger <aj@suse.de>
39789 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39790
39791 [BZ #13658]
0671f479 39792 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39793 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39794 * sysdeps/i386/fpu/branred.c: Likewise.
39795 * sysdeps/i386/fpu/dosincos.c: Likewise.
39796 * sysdeps/i386/fpu/mpa.c: Likewise.
39797 * sysdeps/i386/fpu/s_cos.S: Likewise.
39798 * sysdeps/i386/fpu/s_sin.S: Likewise.
39799 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39800 * sysdeps/i386/fpu/sincos32.c: Likewise.
39801
39802 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39803 Define.
39804 (libc_feupdateenv_53bit): Define.
39805 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39806 Define.
39807 (libc_feupdateenv_53bit): Define.
39808
39809 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39810 53 bit (without extend i386 double precision).
39811
39812 * math/libm-test.inc (sincos_test): Add tests for large input.
39813 (sin): Likewise.
39814 (cos): Likewise.
39815
39816 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39817
9cad04ea
AS
398182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39819
39820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39821
f7062b9a
DM
398222012-03-15 David S. Miller <davem@davemloft.net>
39823
39824 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39825 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39826 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39827 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39840 file.
f7062b9a 39841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39843 file.
f7062b9a 39844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39846 file.
f7062b9a 39847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39849 file.
f7062b9a
DM
39850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39851 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39852 fmin/fmax sysdep routines.
39853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39854
7bd951ff
DM
398552012-03-14 David S. Miller <davem@davemloft.net>
39856
559398ab
DM
39857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39861 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39862 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39863 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39864 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39879 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39880 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39882 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39883 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39884 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39886 routines.
39887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39888 file.
559398ab 39889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39891 file.
559398ab 39892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39894 file.
559398ab 39895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39897 file.
559398ab 39898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39900 file.
559398ab 39901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39903 file.
39904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39905 file.
39906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39907 file.
39908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39909 file.
39910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39911 New file.
39912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39913 file.
39914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39915 file.
559398ab 39916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39918 file.
559398ab 39919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39921 file.
559398ab 39922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39924 file.
559398ab 39925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39927 VIS3 routines.
559398ab
DM
39928
39929 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39930 New file.
39931
5a1c1e32
DM
39932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39933
eae47a36
DM
39934 * sysdeps/sparc/configure.in: New file.
39935 * sysdeps/sparc/configure: Generate.
39936 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39937 * configure: Regenerate.
39938 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39939 * config.make.in (have-as-vis3): New.
39940 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39941 available use -Av9d instead of -Av9a.
39942 * sysdeps/sparc/sparc64/Makefile: Likewise.
39943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39945 New file.
39946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39947 file.
39948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39949 New file.
39950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39951 file.
eae47a36
DM
39952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39954 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39955 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39956 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39957
c0c83bc8
DM
39958 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39959 fzeros/fnegs to load 0x80000000 into a float register instead of
39960 using the stack.
7bd951ff
DM
39961 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39962
bd951ccb
JM
399632012-03-14 Joseph Myers <joseph@codesourcery.com>
39964
39965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39966 bits/syscall.h.
39967 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39968 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39969 ($(inst_includedir)/bits/syscall.h): Remove rule.
39970 ($(objpfx)bits/syscall.d): Include instead of
39971 $(objpfx)syscall-list.d.
39972 (generated): Change syscall-list.h and syscall-list.d to
39973 bits/syscall.h and bits/syscall.d.
39974
bb4e6db2
RM
399752012-03-14 Roland McGrath <roland@hack.frob.com>
39976
39977 [BZ #13846]
39978 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39979
aa4a2ae1
JM
399802012-03-14 Joseph Myers <joseph@codesourcery.com>
39981
e456826d
JM
39982 [BZ #13841]
39983 * math/s_csqrt.c: Include <float.h>.
39984 (__csqrt): Scale large or subnormal inputs.
39985 * math/s_csqrtf.c: Likewise.
39986 * math/s_csqrtl.c: Likewise.
39987 * math/libm-test.inc (csqrt_test): Add more tests.
39988 * sysdeps/i386/fpu/libm-test-ulps: Update.
39989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39990
aa4a2ae1
JM
39991 [BZ #13840]
39992 * math/libm-test.inc (hypot_test): Add more tests.
39993
7c10fd35
DM
399942012-03-13 David S. Miller <davem@davemloft.net>
39995
39996 [BZ #13840]
39997 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39998 double-precision for the calculation instead of scaling.
39999
f453b98b
JM
400002012-03-13 Joseph Myers <joseph@codesourcery.com>
40001
40002 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40003 manipulate bits before adding and subtracting TWO52[sx].
40004 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40005 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40006 Likewise.
40007 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40008
09a3453f
DM
400092012-03-13 David S. Miller <davem@davemloft.net>
40010
8e59da90
DM
40011 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40012 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40014 rtld-global-offsets.h
40015 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40016
2a8ab7f2
DM
40017 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40018 large parameters.
40019
10f62770
DM
40020 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40021
5f0bdb18
DM
40022 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40023 'err' in the ifdef scope in which it is actually used.
40024
09a3453f
DM
40025 * nss/nss_db/db-init.c: Include string.h
40026
b4b2eb5e
DM
400272012-03-12 David S. Miller <davem@davemloft.net>
40028
98bb2f1c
DM
40029 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40030 masking out of the most significant byte of random value used.
40031 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40032 Fix coding style in previous change.
40033
b4b2eb5e
DM
40034 * sysdeps/unix/sysv/linux/kernel-features.h
40035 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40036 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40037 expression.
40038 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40039 later.
40040
6e226b09
DM
400412012-03-11 David S. Miller <davem@davemloft.net>
40042
a1bcbd40
DM
40043 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40044 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40045 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40046 for 'resultvar' otherwise things get truncated on 64-bit.
40047
cb9d6174
DM
40048 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40049 Fix masking out of the most significant byte of random value used.
40050
6e226b09
DM
40051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40052
058c132d
AS
400532012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40054
40055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40056
2d2cd515
DM
400572012-03-09 David S. Miller <davem@davemloft.net>
40058
40059 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40060 variables with appropriate CPP guards.
57f41c40
AS
40061 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40062 from the frame pointer, not the stack pointer. Correct layout
40063 comments. Fix test on resulting framesize and the management of
40064 the outregs buffer for pltexit. Preserve floating point return
40065 values across _dl_call_pltexit call.
2d2cd515
DM
40066 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40067 framesize and the management of the outregs buffer for pltexit.
40068 Preserve floating point return values across _dl_call_pltexit
40069 call.
57f41c40
AS
40070 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40071 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40072 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
40073 (print_exit): Fix format string for return register value.
40074
9a07f9d0
JM
400752012-03-10 Joseph Myers <joseph@codesourcery.com>
40076
40077 * sunrpc/Makefile (others): Add rpcgen.
40078 ($(objpfx)rpcgen): Remove special build rule and dependency on
40079 libc.
40080 * sunrpc/rpcgen.c: New file.
40081
547b5e30
PE
400822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40083
c524201a
PE
40084 [BZ #13673]
40085 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40086 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40087 * sysdeps/i386/crti.S: Likewise.
40088 * sysdeps/i386/crtn.S: Likewise.
40089 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40090 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40091 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40092 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40093 * sysdeps/sh/crti.S: Likewise.
40094 * sysdeps/sh/crtn.S: Likewise.
40095 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40096
7b6235f2
PE
40097 [BZ #13673]
40098 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40099 with URL.
40100 * locale/programs/locfile-kw.gperf: Likewise.
40101 * locale/programs/charmap-kw.h: Regenerated.
40102 * locale/programs/locfile-kw.h: Likewise.
40103
547b5e30
PE
40104 [BZ #13673]
40105 * intl/plural.y: Replace FSF snail mail address with URL.
40106 * intl/plural.c: Regenerated.
40107
5f0a5dae
RH
401082012-03-09 Richard Henderson <rth@twiddle.net>
40109
40110 * include/math_private.h: Remove file.
40111 * math/math_private.h: Move file ...
40112 * sysdeps/generic/math_private.h: ... here.
40113
b8c03620
RH
40114 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40115 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40116 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40117
4e234f5d 40118 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40119 and <math_private.h>.
40120 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40121 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40122 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40123 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40124 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40125 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40126 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40128 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40129 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40131 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40132 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40134 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40135 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40136 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40137 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40138 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40139 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40141 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40142 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40144 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40146 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40150 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40152 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40165 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40176 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40180 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40181 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40194 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40198 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40199 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40200 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40201 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40202 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40203 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40206 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40207 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40208 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40209 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40210 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40211 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40212 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40213 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40214 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40215 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40216 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40217 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40218 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40219 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40220 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40221 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40222 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40223 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40224 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40225 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40226 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40227 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40228 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40229 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40230 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40231 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40232 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40233 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40234 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40235 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40236 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40237 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40238 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40239 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40240 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40241 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40242 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40243 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40244 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40245 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40246 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40247 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40248 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40249 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40250 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40251 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40252 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40253 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40254 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40255 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40256 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40257 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40258 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40259 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40260 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40261 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40262 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40263 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40264 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40265 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40266 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40267 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40268 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40269 * sysdeps/ieee754/k_standard.c: Likewise.
40270 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40274 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40277 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40279 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40280 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40281 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40282 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40283 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40284 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40286 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40287 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40288 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40289 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40292 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40293 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40294 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40295 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40296 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40297 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40298 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40299 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40301 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40302 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40303 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40306 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40307 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40311 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40312 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40313 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40314 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40315 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40360 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40361 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40363 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40364 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40365 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40367 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40369 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40373 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40374 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40375 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40377 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40378 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40381 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40382 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40383 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40384 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40385 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40386 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40387 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40388 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40389 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40390 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40392 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40393 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40394 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40395 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40396 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40397 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40398 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40399 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40400 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40401 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40402 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40403 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40404 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40405 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40406 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40409 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40410 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40411 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40412 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40413 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40414 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40415 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40416 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40417 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40418 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40419 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40420 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40421 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40422 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40423 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40424 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40425 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40426 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40427 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40428 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40429 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40430 * sysdeps/ieee754/s_lib_version.c: Likewise.
40431 * sysdeps/ieee754/s_matherr.c: Likewise.
40432 * sysdeps/ieee754/s_signgam.c: Likewise.
40433 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40434 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40435 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40436 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40437 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40438 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40439 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40440 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40441 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40442 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40443 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40444 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40445 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40446 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40447 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40448 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40449 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40450 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40451 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40452 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40453 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40454
1991fa03
JM
404552012-03-09 Joseph Myers <joseph@codesourcery.com>
40456
40457 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40458 * sunrpc/rpc_main.c: Likewise.
40459 * sunrpc/rpc_svcout.c: Likewise.
40460
60d6f5a6
DM
404612012-03-09 David S. Miller <davem@davemloft.net>
40462
40463 * include/math_private.h: New file.
40464
4962050e
JM
404652012-03-09 Joseph Myers <joseph@codesourcery.com>
40466
02a6f887
JM
40467 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40468 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40469 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40470 from <bits/socket_type.h>.
40471 (enum __socket_type): Don't define here.
40472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40474 bits/socket_type.h.
40475
c6e013c1
JM
40476 [BZ #13566]
40477 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40478 checking __USE_GNU.
40479
4962050e
JM
40480 * Makerules ($(inst_includedir)/%.h): New rule.
40481 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40482 (install-others): Remove variable setting.
40483 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40484
38842f45
RH
404852012-03-08 Richard Henderson <rth@twiddle.net>
40486
67bb6da6
RH
40487 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40488 from macro to inline function; merge with the
40489 !__LIBC_INTERNAL_MATH_INLINES version.
40490 (__ieee754_sqrtf): Likewise.
40491
15194b4b
RH
40492 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40493 to inline function.
40494 (__rintf, __floor, __floorf): Likewise.
40495
64e21ede
RH
40496 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40497 macro to inline function.
40498 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40499
38842f45
RH
40500 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40501 not <math/math_private.h>.
40502
c64bf5fe
DM
405032012-03-08 David S. Miller <davem@davemloft.net>
40504
40505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40506 copyright year.
40507 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40508
82d86f28
TS
405092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40510
40511 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40512 normalization.
40513 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40514 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40515
aea5d727
UD
405162012-03-08 Ulrich Drepper <drepper@gmail.com>
40517
40518 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40519 be defined individually, they must be defined as a block. Define
40520 S for printing a string instead of hidint the different by using a
40521 macro for adding the 'l'.
40522 * stdio-common/tst-fphex-wide.c: Adjust.
40523
70bca0a3
MP
405242012-03-07 Marek Polacek <polacek@redhat.com>
40525
40526 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40527
65b81130
MP
405282012-03-08 Marek Polacek <polacek@redhat.com>
40529
40530 [BZ #13806]
40531 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40532 * stdio-common/tst-fphex.c: Define a few macros to make the
40533 test reusable. Use them.
40534 * stdio-common/tst-fphex-wide.c: New file.
40535
07037eeb
JM
405362012-03-08 Joseph Myers <joseph@codesourcery.com>
40537
a7a93d50
JM
40538 [BZ #6911]
40539 * manual/macros.texi (gnusystems): New macro.
40540 (nongnusystems): Likewise.
40541 (gnulinuxhurdsystems): Likewise.
40542 (gnuhurdsystems): Likewise..
40543 (gnulinuxsystems): Likewise.
40544 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40545 variants of the GNU system, not "GNU system".
40546 * manual/conf.texi: Likewise.
40547 * manual/errno.texi: Likewise. Update example of errno macro
40548 expansion.
40549 * manual/filesys.texi: Likewise.
40550 (getumask): Document as specific to GNU/Hurd.
40551 * manual/install.texi: Likewise. Reword some references to
40552 GNU/Linux.
40553 * manual/intro.texi: Likewise.
40554 * manual/io.texi: Likewise.
40555 (File Name Portability): Detail which constraints are inapplicable
40556 to all GNU systems and which are only inapplicable to GNU/Hurd.
40557 * manual/job.texi: Likewise.
40558 * manual/llio.texi: Likewise.
40559 (O_NOCTTY): Document as present on GNU/Linux.
40560 * manual/maint.texi: Likewise.
40561 * manual/memory.texi: Likewise.
40562 * manual/pattern.texi: Likewise.
40563 * manual/pipe.texi: Likewise.
40564 * manual/process.texi: Likewise.
40565 * manual/resource.texi: Likewise.
40566 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40567 child on GNU/Hurd.
40568 * manual/setjmp.texi: Likewise.
40569 * manual/signal.texi: Likewise.
40570 * manual/startup.texi: Likewise.
40571 * manual/stdio.texi: Likewise.
40572 * manual/terminal.texi: Likewise.
40573 (ONLCR): Document as POSIX.
40574 (OXTABS): Document availability on GNU/Linux as XTABS.
40575 (ONOEOT): Document availability separately from other bits.
40576 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40577 * manual/time.texi: Likewise.
40578 * manual/users.texi: Likewise.
40579 * INSTALL: Regenerated.
40580 * sysdeps/gnu/errlist.c: Regenerated.
40581
07037eeb
JM
40582 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40583 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40584 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40585 puts.
40586 * configure: Regenerated.
40587
d1d3431a
JM
405882012-03-07 Joseph Myers <joseph@codesourcery.com>
40589
af6a1e37
JM
40590 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40591 default includes instead of AC_HEADER_CHECK.
40592 * sysdeps/i386/configure: Regenerated.
40593
d1d3431a
JM
40594 [BZ #10716]
40595 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40596 * math/s_cacoshf.c (__cacoshf): Likewise.
40597 * math/s_cacoshl.c (__cacoshl): Likewise.
40598 * math/s_casinh.c (__casinh): Set signs of result from argument.
40599 * math/s_casinhf.c (__casinhf): Likewise.
40600 * math/s_casinhl.c (__casinhl): Likewise.
40601 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40602 (casinh_test): Add more tests.
40603 * sysdeps/i386/fpu/libm-test-ulps: Update.
40604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40605
482ff4da
UD
406062012-03-07 Ulrich Drepper <drepper@gmail.com>
40607
872fda05
UD
40608 * po/zh_TW.po: Update from translation team.
40609
a4300c7a
UD
40610 * login/Makefile (distribute): Remove variable.
40611 * catgets/Makefile: Likewise.
40612 * mach/Makefile: Likewise.
40613 * malloc/Makefile: Likewise.
40614 * misc/Makefile: Likewise.
40615 * iconv/Makefile: Likewise.
40616 * nscd/Makefile: Likewise.
40617 * hurd/Makefile: Likewise.
40618 * manual/Makefile: Likewise.
40619 * locale/Makefile: Likewise.
40620 * intl/Makefile: Likewise.
40621 * conform/Makefile: Likewise.
40622 * nss/Makefile: Likewise.
40623 * time/Makefile: Likewise.
40624 * soft-fp/Makefile: Likewise.
40625 * dirent/Makefile: Likewise.
40626 * gmon/Makefile: Likewise.
40627 * po/Makefile: Likewise.
40628 * rt/Makefile: Likewise.
40629 * socket/Makefile: Likewise.
40630 * math/Makefile: Likewise.
40631 * signal/Makefile: Likewise.
40632 * debug/Makefile: Likewise.
40633 * elf/Makefile: Likewise.
40634 * timezone/Makefile: Likewise.
40635 * stdlib/Makefile: Likewise.
40636 * iconvdata/Makefile: Likewise.
40637 * sunrpc/Makefile: Likewise.
40638 * io/Makefile: Likewise.
40639 * argp/Makefile: Likewise.
40640 * inet/Makefile: Likewise.
40641 * hesiod/Makefile: Likewise.
40642 * grp/Makefile: Likewise.
40643 * csu/Makefile: Likewise.
40644 * wctype/Makefile: Likewise.
40645 * crypt/Makefile: Likewise.
40646 * libio/Makefile: Likewise.
40647 * string/Makefile: Likewise.
40648 * nis/Makefile: Likewise.
40649 * resolv/Makefile: Likewise.
40650 * stdio-common/Makefile: Likewise.
40651 * wcsmbs/Makefile: Likewise.
40652 * dlfcn/Makefile: Likewise.
40653 * posix/Makefile: Likewise.
40654
3b7c4e74 40655 [BZ #6959]
482ff4da
UD
40656 * timezone/Makefile: Don't install timezone files, just the programs
40657 and scripts.
40658
f72ed77d
UD
406592012-03-06 Ulrich Drepper <drepper@gmail.com>
40660
a000466f
UD
40661 * nss/databases.def: Add missing gshadow entry.
40662
f72ed77d
UD
40663 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40664
a53b7a4e
MP
406652012-03-06 Marek Polacek <polacek@redhat.com>
40666
40667 [BZ #13726]
40668 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40669 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40670 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40671 * stdio-common/tst-long-dbl-fphex.c: New file.
40672
e9258400
DM
406732012-03-06 David S. Miller <davem@davemloft.net>
40674
40675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40676 (set_obp_int): New function.
40677 (get_obp_int): New function.
40678 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40679 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40680 Avoid unused variable warnings on 'val' and use builtin_expect.
40681 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40682 __builtin_expect.
e9258400
DM
40683 (INLINE_CLONE_SYSCALL): Likewise.
40684
3bd2c723
DM
406852012-03-05 David S. Miller <davem@davemloft.net>
40686
40687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40688
bbb78d03
AS
406892012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40690
884c5db4
AS
40691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40692
bbb78d03
AS
40693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40694 only for |x| >= 40.
40695 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40696
1c9f702a 406972012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40698
40699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40700 Replace gettimeofday with __vdso_gettimeofday.
40701
7be16f82
RM
40702 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40703 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40704 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40705
40706 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40707 time with __vdso_time.
40708
ed58a00f
JM
407092012-03-05 Joseph Myers <joseph@codesourcery.com>
40710
40711 * manual/lang.texi (size_t): Note types to which size_t may be
40712 equivalent with the GNU C Library, but do not describe when
40713 differences between them are significant.
40714
30ee4ced
AJ
407152012-03-05 Andreas Jaeger <aj@suse.de>
40716
40717 * sysdeps/i386/fpu/libm-test-ulps: Update.
40718
b7cd39e8
JM
407192012-03-05 Joseph Myers <joseph@codesourcery.com>
40720
40721 [BZ #3976]
40722 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40723 (__ieee754_pow): Save and restore rounding mode and use
40724 round-to-nearest for main computations.
40725 * math/libm-test.inc (pow_test_tonearest): New function.
40726 (pow_test_towardzero): Likewise.
40727 (pow_test_downward): Likewise.
40728 (pow_test_upward): Likewise.
40729 (main): Call the new functions.
40730 * sysdeps/i386/fpu/libm-test-ulps: Update.
40731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40732
40733 [BZ #3976]
40734 * math/libm-test.inc (cosh_test_tonearest): New function.
40735 (cosh_test_towardzero): Likewise.
40736 (cosh_test_downward): Likewise.
40737 (cosh_test_upward): Likewise.
40738 (sinh_test_tonearest): Likewise.
40739 (sinh_test_towardzero): Likewise.
40740 (sinh_test_downward): Likewise.
40741 (sinh_test_upward): Likewise.
40742 (main): Call the new functions.
40743 * sysdeps/i386/fpu/libm-test-ulps: Update.
40744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40745
6c6a98c9
TV
407462012-03-05 Tom de Vries <tom@codesourcery.com>
40747
40748 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40749 default stack guard is set in last bytes.
40750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40751
21bb2d2e 407522012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40753
21bb2d2e 40754 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40755
21bb2d2e
AJ
40756 [BZ #13656]
40757 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40758 possibly allocate from heap instead of stack.
40759 * stdio-common/bug-vfprintf-nargs.c: New file.
40760 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40761
c6922934
AS
407622012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40763
40764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40765
bc957d53
MP
407662012-03-03 Marek Polacek <polacek@redhat.com>
40767
40768 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40769 * math/math_private.h: Likewise.
40770 * stdlib/tst-strtod.c: Likewise.
40771 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40772 * sysdeps/x86_64/bits/atomic.h: Likewise.
40773
6358490d
DM
407742012-03-02 David S. Miller <davem@davemloft.net>
40775
40776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40780 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40781 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40782 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40783 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40784
01ae168d
RM
407852012-03-02 Roland McGrath <roland@hack.frob.com>
40786
d9a17c07
RM
40787 [BZ #13792]
40788 * manual/examples/README: New file, says the example source files
40789 can be used under GPL>=2.
40790 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40791 line containing just "*/".
40792 * manual/examples/add.c: Add copyright header (GPL>=2).
40793 * manual/examples/argp-ex1.c: Likewise.
40794 * manual/examples/argp-ex2.c: Likewise.
40795 * manual/examples/argp-ex3.c: Likewise.
40796 * manual/examples/argp-ex4.c: Likewise.
40797 * manual/examples/atexit.c: Likewise.
40798 * manual/examples/db.c: Likewise.
40799 * manual/examples/dir.c: Likewise.
40800 * manual/examples/dir2.c: Likewise.
40801 * manual/examples/execinfo.c: Likewise.
40802 * manual/examples/filecli.c: Likewise.
40803 * manual/examples/filesrv.c: Likewise.
40804 * manual/examples/fmtmsgexpl.c: Likewise.
40805 * manual/examples/genpass.c: Likewise.
40806 * manual/examples/inetcli.c: Likewise.
40807 * manual/examples/inetsrv.c: Likewise.
40808 * manual/examples/isockad.c: Likewise.
40809 * manual/examples/longopt.c: Likewise.
40810 * manual/examples/memopen.c: Likewise.
40811 * manual/examples/memstrm.c: Likewise.
40812 * manual/examples/mkfsock.c: Likewise.
40813 * manual/examples/mkisock.c: Likewise.
40814 * manual/examples/mygetpass.c: Likewise.
40815 * manual/examples/pipe.c: Likewise.
40816 * manual/examples/popen.c: Likewise.
40817 * manual/examples/rprintf.c: Likewise.
40818 * manual/examples/search.c: Likewise.
40819 * manual/examples/select.c: Likewise.
40820 * manual/examples/setjmp.c: Likewise.
40821 * manual/examples/sigh1.c: Likewise.
40822 * manual/examples/sigusr.c: Likewise.
40823 * manual/examples/stpcpy.c: Likewise.
40824 * manual/examples/strdupa.c: Likewise.
40825 * manual/examples/strftim.c: Likewise.
40826 * manual/examples/strncat.c: Likewise.
40827 * manual/examples/subopt.c: Likewise.
40828 * manual/examples/swapcontext.c: Likewise.
40829 * manual/examples/termios.c: Likewise.
40830 * manual/examples/testopt.c: Likewise.
40831 * manual/examples/testpass.c: Likewise.
40832 * manual/examples/timeval_subtract.c: Likewise.
40833
01ae168d
RM
40834 [BZ #13792]
40835 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40836 function to ...
40837 * manual/timeval_subtract.c.texi: ... here, new file.
40838
49efa33d
DM
408392012-03-02 David S. Miller <davem@davemloft.net>
40840
40841 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40842
28afd92d
JM
408432012-03-02 Joseph Myers <joseph@codesourcery.com>
40844
804360ed
JM
40845 [BZ #3976]
40846 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40847 (__sin): Save and restore rounding mode and use round-to-nearest
40848 for all computations.
40849 (__cos): Save and restore rounding mode and use round-to-nearest
40850 for all computations.
40851 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40852 <fenv.h>.
40853 (tan): Save and restore rounding mode and use round-to-nearest for
40854 all computations.
40855 * math/libm-test.inc (cos_test_tonearest): New function.
40856 (cos_test_towardzero): Likewise.
40857 (cos_test_downward): Likewise.
40858 (cos_test_upward): Likewise.
40859 (sin_test_tonearest): Likewise.
40860 (sin_test_towardzero): Likewise.
40861 (sin_test_downward): Likewise.
40862 (sin_test_upward): Likewise.
40863 (tan_test_tonearest): Likewise.
40864 (tan_test_towardzero): Likewise.
40865 (tan_test_downward): Likewise.
40866 (tan_test_upward): Likewise.
40867 (main): Call the new functions.
40868 * sysdeps/i386/fpu/libm-test-ulps: Update.
40869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40870
a6d06d7b
JM
40871 [BZ #10135]
40872 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40873 small n, then large n, before computing and testing k+n.
40874 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40875 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40876 Likewise.
40877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40878 Likewise.
40879 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40880 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40881 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40882 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40883 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40884 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40885 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40886 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40887 * math/libm-test.inc (scalbn_test): Add more tests.
40888 (scalbln_test): Likewise.
40889
07e12bb3
JM
40890 * manual/filesys.texi (mode_t): Describe constraints on size and
40891 signedness, not exact equivalence to a particular type.
40892 (ino_t): Likewise.
40893 (ino64_t): Likewise.
40894 (dev_t): Likewise.
40895 (nlink_t): Likewise.
40896 (blkcnt_t): Likewise.
40897 (blkcnt64_t): Likewise.
40898 * manual/llio.texi (off_t): Likewise.
40899
28afd92d
JM
40900 [BZ #3976]
40901 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40902 (__ieee754_exp): Save and restore rounding mode and use
40903 round-to-nearest for all computations.
40904 * math/libm-test.inc (exp_test_tonearest): New function.
40905 (exp_test_towardzero): Likewise.
40906 (exp_test_downward): Likewise.
40907 (exp_test_upward): Likewise.
40908 (main): Call the new functions.
40909 * sysdeps/i386/fpu/libm-test-ulps: Update.
40910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40911
b1eeb65d
CD
409122012-03-01 Chris Demetriou <cgd@google.com>
40913
40914 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40915 have predictable order.
40916
53362a4b
DM
409172012-03-01 David S. Miller <davem@davemloft.net>
40918
3c969083
DM
40919 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40920
759707de
DM
40921 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40922 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40923 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40924 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40925
dfdb8ff2
DM
40926 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40927 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40928 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40930 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40931 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40932 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40933 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40934 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40935
ead89f96
DM
40936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40937
7f66bd07
DM
40938 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40939 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40940 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40941
53362a4b
DM
40942 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40943 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40944 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40945 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40946 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40947 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40948 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40949 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40950 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40951 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40952 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40953 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40955 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40956 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40957 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40958 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40959 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40960 * sysdeps/sparc/elf/configure: Regenerated.
40961
7b1902cb
JM
409622012-03-01 Joseph Myers <joseph@codesourcery.com>
40963
bec039bc
JM
40964 * configure.in (AS, LD): Require binutils 2.20 or later.
40965 * configure: Regenerated.
40966 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40967 as required minimum version.
40968 * INSTALL: Regenerated.
40969
7b1902cb
JM
40970 [BZ #2541]
40971 [BZ #4108]
40972 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40973 before squaring exponent.
40974 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40975 bottom long double and 27 bits of top long double before squaring
40976 exponent.
40977 * math/libm-test.inc (erfc_test): Add more tests.
40978 * sysdeps/i386/fpu/libm-test-ulps: Update.
40979 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40981
f775c276
KT
409822012-03-01 Kai Tietz <ktietz@redhat.com>
40983
40984 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40985 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40986 containing bit-fields.
40987 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40988 * soft-fp/single.h (_FP_UNION_S): Likewise.
40989 * soft-fp/double.h (_FP_UNION_D): Likewise.
40990
5b8a4d4a
JM
409912012-02-29 Joseph Myers <joseph@codesourcery.com>
40992
0bab47b6
JM
40993 [BZ #13786]
40994 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40995 not include ../strcmp.S.
40996 [USE_AS_STRNCASECMP_L]: Likewise.
40997 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40998 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40999 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41000 (__strncasecmp_l_ia32): Define as alias to
41001 __strncasecmp_l_nonascii.
41002
0fcad3e2
JM
41003 [BZ #5794]
41004 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41005 * sysdeps/i386/fpu/libm-test-ulps: Update.
41006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41007
5b8a4d4a
JM
41008 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41010
8fdceb2e
JL
410112012-02-29 Jeff Law <law@redhat.com>
41012
41013 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41014 out of bounds read.
41015
1f393a11
MP
410162012-02-29 Marek Polacek <polacek@redhat.com>
41017
41018 [BZ #13706]
41019 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41020 * elf/Makefile: Add rules to run tst-unused-dep.out.
41021
8847f037
DM
410222012-02-28 David S. Miller <davem@davemloft.net>
41023
41024 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41025 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41026 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41028 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41029 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41030
169d7f11
JM
410312012-02-29 Joseph Myers <joseph@codesourcery.com>
41032
41033 * math/libm-test.inc (llround_test): Move one test from
41034 lround_test. Use TEST_f_L in moved test.
41035 (lround_test): Move misplaced test to llround_test. Add testcase
41036 from bug 2561.
41037
39adf059
UD
410382012-02-28 Ulrich Drepper <drepper@gmail.com>
41039
41040 * sysdeps/x86_64/fpu/e_expf.S: New file.
41041 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41042
71b5d1c5
SB
410432012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41044
41045 [BZ #13637]
41046 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41047 of remain_len that may cause incomplete multi-byte character and
41048 false match.
41049 * posix/bug-regex33.c: New file.
41050 * posix/Makefile (tests): Add bug-regex33.
41051
1f77f049
JM
410522012-02-28 Joseph Myers <joseph@codesourcery.com>
41053
41054 * manual/macros.texi: New file.
41055 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41056 * manual/libc.texinfo: Include macros.texi.
41057 * manual/creatute.texi: Likewise.
41058 * manual/install.texi: Likewise.
41059 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41060 @glibcadj{} in references to the GNU C Library.
41061 * manual/charset.texi: Likewise.
41062 * manual/conf.texi: Likewise.
41063 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41064 when not using those macros.
41065 * manual/creature.texi: Likewise.
41066 * manual/crypt.texi: Likewise.
41067 * manual/errno.texi: Likewise.
41068 * manual/filesys.texi: Likewise.
41069 * manual/header.texi: Likewise.
41070 * manual/install.texi: Likewise.
41071 * manual/intro.texi: Likewise.
41072 * manual/io.texi: Likewise.
41073 * manual/job.texi: Likewise.
41074 * manual/lang.texi: Likewise.
41075 * manual/libc.texiinfo: Likewise.
41076 * manual/llio.texi: Likewise.
41077 * manual/locale.texi: Likewise.
41078 * manual/maint.texi: Likewise.
41079 * manual/math.texi: Likewise.
41080 * manual/memory.texi: Likewise.
41081 * manual/message.texi: Likewise.
41082 * manual/nss.texi: Likewise.
41083 * manual/pattern.texi: Likewise.
41084 * manual/process.texi: Likewise.
41085 * manual/resource.texi: Likewise.
41086 * manual/search.texi: Likewise.
41087 * manual/setjmp.texi: Likewise.
41088 * manual/signal.texi: Likewise.
41089 * manual/socket.texi: Likewise.
41090 * manual/startup.texi: Likewise.
41091 * manual/stdio.texi: Likewise.
41092 * manual/string.texi: Likewise.
41093 * manual/sysinfo.texi: Likewise.
41094 * manual/syslog.texi: Likewise.
41095 * manual/terminal.texi: Likewise.
41096 * manual/time.texi: Likewise.
41097 * manual/users.texi: Likewise.
41098 * INSTALL: Regenerated.
41099 * NOTES: Regenerated.
d40c5d54 41100 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41101
450bf206
AS
411022012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41103
41104 * include/dirent.h: Include <dirstream.h> before
41105 <dirent/dirent.h>.
41106
741a235b
DM
411072012-02-28 David S. Miller <davem@davemloft.net>
41108
41109 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41110 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41111 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41112 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41113
d6b5aa58
DM
411142012-02-27 David S. Miller <davem@davemloft.net>
41115
1aff59a3
DM
41116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41118 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41119 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41120
d6b5aa58
DM
41121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41122 frame pointer instead of stack pointer relative arg slot.
41123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41124 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41125 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41126
433f48bf
CD
411272012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41128
41129 [BZ #3992]
41130 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41131
d674b76d
DM
411322012-02-27 David S. Miller <davem@davemloft.net>
41133
41134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41140 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41141 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41142
0e7727f7
JM
411432012-02-27 Joseph Myers <joseph@codesourcery.com>
41144
41145 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41146 later. Allow versions 5-9.
43be4ca2 41147 * configure: Regenerated.
0e7727f7
JM
41148 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41149 required minimum version and 4.6 as recommended version. Do not
41150 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41151 * INSTALL: Regenerated.
0e7727f7 41152
a78bc654
DM
411532012-02-27 David S. Miller <davem@davemloft.net>
41154
428d5830
DM
41155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41159 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41160 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41161 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41162 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41163
a78bc654
DM
41164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41165 manipulate bits before adding and subtracting TWO112[sx].
41166 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41167
4579f81c
RM
411682012-02-27 Roland McGrath <roland@hack.frob.com>
41169
36c8acb4
RM
41170 [BZ #13775]
41171 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41172 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41173 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41174 being in POSIX, because they are in 1003.1-2008.
41175
84ad622b
RM
41176 * rt/tst-aio.c: Include <fcntl.h>.
41177 * rt/tst-aio7.c: Likewise.
41178 * rt/tst-aio64.c: Likewise.
41179
4579f81c
RM
41180 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41181
abd923db
JM
411822012-02-27 Joseph Myers <joseph@codesourcery.com>
41183
41184 * manual/install.texi (--with-headers): Describe headers as
41185 interface headers, not private headers.
41186 (Specific advice for GNU/Linux systems): Describe use of headers
41187 from "make headers_install", not private headers from older
41188 kernels.
43be4ca2 41189 * INSTALL: Regenerated.
abd923db
JM
41190 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41191 Change to 2.6.19.
41192 * sysdeps/unix/sysv/linux/configure: Regenerated.
41193
6664049b
JM
41194 * manual/llio.texi (fclean): Remove documentation.
41195
bb8b6697
JM
41196 * manual/Makefile (libc-texi-generated): New variable. Include
41197 version.texi.
41198 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41199 $(libc-texi-generated), not duplicated list of files.
41200 (version.texi, stamp-version): New rules.
41201 (realclean): Remove $(libc-texi-generated), not individual files
41202 from that list. Do not remove dir-add.texinfo.
41203 * manual/libc.texinfo: Comment out uses of edition numbers and
41204 references to printed manual. Remove last-updated dates.
41205 (EDITION): Comment out.
41206 (ISBN): Likewise.
41207 (VERSION, UPDATED): Remove.
41208 (version.texi): Include.
41209
12e5c3b9
AS
412102012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41211
41212 * sysdeps/posix/spawni.c: Include <signal.h>.
41213 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41214 * sysdeps/pthread/aio_fsync.c: Likewise.
41215
4efeffc1 412162012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41217
ba63ba08
UD
41218 * conform/Makefile (tests): Run only when not cross-compiling and
41219 when fast-check is not defined.
41220
d94a4670
UD
41221 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41222 * conform/data/limits.h-data: Fixes for POSIX2008.
41223 * conform/run-conformtest.sh: Run all tests.
41224 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41225 headers.
41226 * include/bits/dlfcn.h: Likewise.
41227 * include/langinfo.h: Likewise.
41228 * include/monetary.h: Likewise.
41229 * include/sys/poll.h: Likewise.
41230
41231 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41232 for __USE_GNU.
41233 * posix/spawn.h: Define __need_sigset_t.
41234 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41235 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41236 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41237 to get sigevent_t only.
41238 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41239 only for __USE_GNU.
41240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41241 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41242 process_vm_writev only for __USE_GNU.
41243 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41244
41245 * conform/Makefile: For now ignore errors from run-conformtest.
41246 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41247 POSIX to avoid namespace pollution. Don't prepend headers.
41248 * conform/data/aio.h-data: Fixes for POSIX testing.
41249 * conform/data/fcntl.h-data: Likewise.
41250 * conform/data/glob.h-data: Likewise.
41251 * conform/data/grp.h-data: Likewise.
41252 * conform/data/pthread.h-data: Likewise.
41253 * conform/data/pwd.h-data: Likewise.
41254 * conform/data/signal.h-data: Likewise.
41255 * conform/data/spawn.h-data: Likewise.
41256 * conform/data/stdio.h-data: Likewise.
41257 * conform/data/stdlib.h-data: Likewise.
41258 * conform/data/stropts.h-data: Likewise.
41259 * conform/data/sys/mman.h-data: Likewise.
41260 * conform/data/sys/stat.h-data: Likewise.
41261 * conform/data/sys/types.h-data: Likewise.
41262 * conform/data/sys/wait.h-data: Likewise.
41263 * conform/data/time.h-data: Likewise.
41264 * conform/data/unistd.h-data: Likewise.
41265 * conform/data/utime.h-data: Likewise.
41266
41267 * io/sys/stat.h: fchmod was always in POSIX.
41268 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41269 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41270 * rt/aio.h: Define __need_timespec before including <time.h>.
41271 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41272 struct. Add forward declaration of pthread_attr_t and use it in
41273 sigevent.
41274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41276 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41277 always remove CLK_TCK definition.
41278
c20105c3
AS
412792012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41280
41281 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41282
7a270350
UD
412832012-02-25 Ulrich Drepper <drepper@gmail.com>
41284
31341567
UD
41285 * conform/run-conformtest.sh: New file.
41286 * conform/Makefile: Run run-conformtest for tests.
41287 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41288 support.
41289
41290 * conform/data/uchar.h-data: New file.
41291 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41292 * conform/data/arpa/inet.h-data: Likewise.
41293 * conform/data/assert.h-data: Likewise.
41294 * conform/data/complex.h-data: Likewise.
41295 * conform/data/cpio.h-data: Likewise.
41296 * conform/data/ctype.h-data: Likewise.
41297 * conform/data/dirent.h-data: Likewise.
41298 * conform/data/dlfcn.h-data: Likewise.
41299 * conform/data/errno.h-data: Likewise.
41300 * conform/data/fcntl.h-data: Likewise.
41301 * conform/data/float.h-data: Likewise.
41302 * conform/data/fmtmsg.h-data: Likewise.
41303 * conform/data/fnmatch.h-data: Likewise.
41304 * conform/data/ftw.h-data: Likewise.
41305 * conform/data/glob.h-data: Likewise.
41306 * conform/data/grp.h-data: Likewise.
41307 * conform/data/iconv.h-data: Likewise.
41308 * conform/data/inttypes.h-data: Likewise.
41309 * conform/data/langinfo.h-data: Likewise.
41310 * conform/data/libgen.h-data: Likewise.
41311 * conform/data/limits.h-data: Likewise.
41312 * conform/data/locale.h-data: Likewise.
41313 * conform/data/math.h-data: Likewise.
41314 * conform/data/monetary.h-data: Likewise.
41315 * conform/data/mqueue.h-data: Likewise.
41316 * conform/data/ndbm.h-data: Likewise.
41317 * conform/data/net/if.h-data: Likewise.
41318 * conform/data/netdb.h-data: Likewise.
41319 * conform/data/netinet/in.h-data: Likewise.
41320 * conform/data/nl_types.h-data: Likewise.
41321 * conform/data/poll.h-data: Likewise.
41322 * conform/data/pthread.h-data: Likewise.
41323 * conform/data/pwd.h-data: Likewise.
41324 * conform/data/regex.h-data: Likewise.
41325 * conform/data/sched.h-data: Likewise.
41326 * conform/data/search.h-data: Likewise.
41327 * conform/data/semaphore.h-data: Likewise.
41328 * conform/data/setjmp.h-data: Likewise.
41329 * conform/data/signal.h-data: Likewise.
41330 * conform/data/spawn.h-data: Likewise.
41331 * conform/data/stdarg.h-data: Likewise.
41332 * conform/data/stdio.h-data: Likewise.
41333 * conform/data/stdlib.h-data: Likewise.
41334 * conform/data/string.h-data: Likewise.
41335 * conform/data/strings.h-data: Likewise.
41336 * conform/data/stropts.h-data: Likewise.
41337 * conform/data/sys/ipc.h-data: Likewise.
41338 * conform/data/sys/mman.h-data: Likewise.
41339 * conform/data/sys/msg.h-data: Likewise.
41340 * conform/data/sys/resource.h-data: Likewise.
41341 * conform/data/sys/select.h-data: Likewise.
41342 * conform/data/sys/sem.h-data: Likewise.
41343 * conform/data/sys/shm.h-data: Likewise.
41344 * conform/data/sys/socket.h-data: Likewise.
41345 * conform/data/sys/stat.h-data: Likewise.
41346 * conform/data/sys/statvfs.h-data: Likewise.
41347 * conform/data/sys/time.h-data: Likewise.
41348 * conform/data/sys/timeb.h-data: Likewise.
41349 * conform/data/sys/times.h-data: Likewise.
41350 * conform/data/sys/types.h-data: Likewise.
41351 * conform/data/sys/uio.h-data: Likewise.
41352 * conform/data/sys/un.h-data: Likewise.
41353 * conform/data/sys/utsname.h-data: Likewise.
41354 * conform/data/sys/wait.h-data: Likewise.
41355 * conform/data/syslog.h-data: Likewise.
41356 * conform/data/tar.h-data: Likewise.
41357 * conform/data/termios.h-data: Likewise.
41358 * conform/data/utime.h-data: Likewise.
41359 * conform/data/utmpx.h-data: Likewise.
41360 * conform/data/varargs.h-data: Likewise.
41361 * conform/data/wchar.h-data: Likewise.
41362 * conform/data/wctype.h-data: Likewise.
41363 * conform/data/wordexp.h-data: Likewise.
41364
41365 * include/stropts.h: New file.
41366 * include/uchar.h: New file.
41367 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41368 * include/assert.h: Likewise.
41369 * include/ctype.h: Likewise.
41370 * include/dirent.h: Likewise.
41371 * include/dlfcn.h: Likewise.
41372 * include/fcntl.h: Likewise.
41373 * include/fnmatch.h: Likewise.
41374 * include/glob.h: Likewise.
41375 * include/grp.h: Likewise.
41376 * include/libio.h: Likewise.
41377 * include/locale.h: Likewise.
41378 * include/math.h: Likewise.
41379 * include/net/if.h: Likewise.
41380 * include/netdb.h: Likewise.
41381 * include/netinet/in.h: Likewise.
41382 * include/pthread.h: Likewise.
41383 * include/pwd.h: Likewise.
41384 * include/regex.h: Likewise.
41385 * include/sched.h: Likewise.
41386 * include/search.h: Likewise.
41387 * include/setjmp.h: Likewise.
41388 * include/signal.h: Likewise.
41389 * include/stdio.h: Likewise.
41390 * include/stdlib.h: Likewise.
41391 * include/string.h: Likewise.
41392 * include/sys/cdefs.h: Likewise.
41393 * include/sys/mman.h: Likewise.
41394 * include/sys/msg.h: Likewise.
41395 * include/sys/resource.h: Likewise.
41396 * include/sys/select.h: Likewise.
41397 * include/sys/socket.h: Likewise.
41398 * include/sys/stat.h: Likewise.
41399 * include/sys/statvfs.h: Likewise.
41400 * include/sys/time.h: Likewise.
41401 * include/sys/times.h: Likewise.
41402 * include/sys/uio.h: Likewise.
41403 * include/sys/utsname.h: Likewise.
41404 * include/sys/wait.h: Likewise.
41405 * include/termios.h: Likewise.
41406 * include/time.h: Likewise.
41407 * include/ulimit.h: Likewise.
41408 * include/unistd.h: Likewise.
41409 * include/utime.h: Likewise.
41410 * include/wchar.h: Likewise.
41411 * include/wctype.h: Likewise.
41412 * include/wordexp.h: Likewise.
41413
41414 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41415
7a270350
UD
41416 * time/time.h: TIME_UTC must be a macro.
41417 Make timespec_get available for ISO C11 only as well.
41418
7724defc
UD
414192012-02-24 Ulrich Drepper <drepper@gmail.com>
41420
41421 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41422 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41423
6b1d1d46
JM
414242012-02-24 Joseph Myers <joseph@codesourcery.com>
41425
41426 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41427
0f8bbd69
JM
414282012-02-24 Joseph Myers <joseph@codesourcery.com>
41429
41430 * manual/texinfo.tex: Update to version 2012-01-19.16.
41431
66ab80bc
JM
414322012-02-24 Joseph Myers <joseph@codesourcery.com>
41433
41434 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41435
74981cc5
RM
414362012-02-24 Roland McGrath <roland@hack.frob.com>
41437
ee968201
RM
41438 [BZ #13738]
41439 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41440 * manual/fdl-1.3.texi: New file.
41441 * manual/fdl-1.1.texi: File removed.
41442
74981cc5
RM
41443 [BZ #13738]
41444 * manual/libc.texinfo (FDL_VERSION): New @set.
41445 Use it for mention of FDL in cover text.
41446 (Documentation License): Use it in @include file name.
41447
7bb764bc
JM
414482012-02-22 Joseph Myers <joseph@codesourcery.com>
41449 Roland McGrath <roland@hack.frob.com>
41450
41451 [BZ #5461]
57f41c40
AS
41452 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41453 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41454 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41455 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41456 name.
41457 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41458
6cbeae47
JM
414592012-02-22 Joseph Myers <joseph@codesourcery.com>
41460
41461 [BZ #2547]
41462 [BZ #11365]
41463 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41464 manipulate bits before adding and subtracting TWO23[sx].
41465 * math/libm-test.inc (nearbyint_test): Add more tests.
41466
fe45ce09
JM
414672012-02-22 Joseph Myers <joseph@codesourcery.com>
41468
41469 [BZ #2548]
41470 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41471 bits before adding and subtracting TWO23[sx].
41472 * math/libm-test.inc (rint_test): Add more tests.
41473 (rint_test_tonearest): Likewise.
41474 (rint_test_towardzero): Likewise.
41475 (rint_test_downward): Likewise.
41476 (rint_test_upward: Likewise.
41477
ff3b3d82
JM
414782012-02-22 Joseph Myers <joseph@codesourcery.com>
41479
41480 [BZ #10110]
41481 * include/stdc-predef.h: New file. Extracted from features.h.
41482 * include/features.h: Include stdc-predef.h.
41483 * Makefile (headers): Add stdc-predef.h.
41484 * CONFORMANCE (Compiler limitations): Update.
41485
ef0aab35
JM
414862012-02-22 Joseph Myers <joseph@codesourcery.com>
41487
41488 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41489
58639409
DM
414902012-02-21 David S. Miller <davem@davemloft.net>
41491
41492 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41493 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41494
c0e70b25
DM
414952012-02-20 David S. Miller <davem@davemloft.net>
41496
41497 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41498 using a normal save/restore sequence, rather than allocating a
41499 dummy stack frame just to store a frame pointer and restore.
41500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41501
fb06851d
JM
415022012-02-21 Joseph Myers <joseph@codesourcery.com>
41503
41504 * manual/install.texi: Fix stray word in line-wrapped comment.
41505
7a8b71c3
DM
415062012-02-20 David S. Miller <davem@davemloft.net>
41507
d510c123
DM
41508 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41509 both binutils and gcc support GOTDATA.
41510
0722d7c2
DM
41511 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41512 "rd %pc" in the PIC register setup sequences.
41513
3d2b3019
DM
41514 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41515 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41516 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41517 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41518 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41520 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41523 (SYSCALL_ERROR_HANDLER): Likewise.
41524 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41527 (SYSCALL_ERROR_HANDLER): Likewise.
41528
c80098a9
DM
41529 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41530 (HAVE_GCC_GOTDATA): New.
41531 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41532 relocation support in both binutils and gcc.
41533 * sysdeps/sparc/elf/configure: Regenerate.
41534
3a2545a0
DM
41535 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41536 * sysdeps/sparc/sparc32/elf/configure: Delete.
41537 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41538 * sysdeps/sparc/sparc64/elf/configure: Delete.
41539 * sysdeps/sparc/elf/configure.in: New file.
41540 * sysdeps/sparc/elf/configure: Generate.
41541
7a8b71c3
DM
41542 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41543 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41544 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41545 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41546 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41547
f1e86fca
JM
415482012-02-21 Joseph Myers <joseph@codesourcery.com>
41549
41550 * manual/install.texi: Do not mention specific glibc version
41551 numbers.
41552 * manual/libc.texinfo (VERSION, UPDATED): Update.
41553 (@copying): Use @copyright{} and range of years.
41554
0e7dfaef
JM
415552012-02-21 Joseph Myers <joseph@codesourcery.com>
41556
41557 [BZ #13695]
41558 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41559 [crti.S not in sysdirs] (generated): Do not append.
41560 [crti.S not in sysdirs] (omit-deps): Likewise.
41561 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41562 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41563 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41564 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41565 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41566 Likewise.
41567 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41568 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41569 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41570 * csu/defs.awk: Remove file.
41571 * sysdeps/generic/initfini.c: Likewise.
41572 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41573 variable.
41574 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41575 Likewise.
41576
599af3ca
JM
415772012-02-20 Joseph Myers <joseph@codesourcery.com>
41578
41579 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41580 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41581 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41582 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41583 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41584 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41585 <bits/epoll.h>.
41586 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41587 (__EPOLL_PACKED): Define to empty if not defined by
41588 <bits/epoll.h>.
41589 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41591 bits/epoll.h.
41592
0e499750
JM
415932012-02-20 Joseph Myers <joseph@codesourcery.com>
41594
41595 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41596 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41597 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41598 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41599 <bits/timerfd.h>.
41600 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41602 bits/timerfd.h.
41603
5ad91f6e
JM
416042012-02-20 Joseph Myers <joseph@codesourcery.com>
41605
41606 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41607 in C locale.
41608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41609 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41610 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41612
06b99b02
AJ
416132012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41614
41615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41617
7638c0fd
AS
416182012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41619
41620 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41621 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41622 defined.
41623 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41624 Likewise.
41625 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41626 entry for 2.16.
41627
92221550
AJ
416282012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41629
41630 * math/w_acos.c: Use non-signaling floating-point comparisons.
41631 * math/w_acosf.c: Likewise.
41632 * math/w_acosh.c: Likewise.
41633 * math/w_acoshf.c: Likewise.
41634 * math/w_acoshl.c: Likewise.
41635 * math/w_acosl.c: Likewise.
41636 * math/w_asin.c: Likewise.
41637 * math/w_asinf.c: Likewise.
41638 * math/w_asinl.c: Likewise.
41639 * math/w_atanh.c: Likewise.
41640 * math/w_atanhf.c: Likewise.
41641 * math/w_atanhl.c: Likewise.
41642 * math/w_exp2.c: Likewise.
41643 * math/w_exp2f.c: Likewise.
41644 * math/w_exp2l.c: Likewise.
41645 * math/w_j0.c: Likewise.
41646 * math/w_j0f.c: Likewise.
41647 * math/w_j0l.c: Likewise.
41648 * math/w_j1.c: Likewise.
41649 * math/w_j1f.c: Likewise.
41650 * math/w_j1l.c: Likewise.
41651 * math/w_jn.c: Likewise.
41652 * math/w_jnf.c: Likewise.
41653 * math/w_log.c: Likewise.
41654 * math/w_log10.c: Likewise.
41655 * math/w_log10f.c: Likewise.
41656 * math/w_log10l.c: Likewise.
41657 * math/w_log2.c: Likewise.
41658 * math/w_log2f.c: Likewise.
41659 * math/w_log2l.c: Likewise.
41660 * math/w_logf.c: Likewise.
41661 * math/w_logl.c: Likewise.
41662 * math/w_sqrt.c: Likewise.
41663 * math/w_sqrtf.c: Likewise.
41664 * math/w_sqrtl.c: Likewise.
41665 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41666 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41667 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41668 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41669 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41670
ebaf36eb
JM
416712012-02-19 Joseph Myers <joseph@codesourcery.com>
41672
41673 [BZ #9739]
41674 * manual/string.texi (strnlen): Use correct parameter name in
41675 equivalent expression.
41676
71c254a6
JM
416772012-02-19 Joseph Myers <joseph@codesourcery.com>
41678
41679 [BZ #11174]
41680 * manual/users.texi (seteuid): Consistently use neweuid for
41681 argument name.
41682
16d2c631
JM
416832012-02-19 Joseph Myers <joseph@codesourcery.com>
41684
41685 [BZ #13704]
41686 * manual/nss.texi (Services in the NSS configuration): Correct
41687 list of services in example configuration file.
41688
cd837b09
NB
416892012-02-19 Nick Bowler <nbowler@draconx.ca>
41690
41691 [BZ #11322]
41692 * manual/arith.texi: Remove statements about negative zero
41693 behaving identically to zero.
41694
02c4bbad
JM
416952012-02-18 Joseph Myers <joseph@codesourcery.com>
41696
41697 [BZ #5993]
41698 * manual/install.texi: Do not document upgrading from libc5.
41699
366842e7
JM
417002012-02-18 Joseph Myers <joseph@codesourcery.com>
41701
41702 [BZ #4596]
41703 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41704
dd54084d
DM
417052012-02-18 David S. Miller <davem@davemloft.net>
41706
41707 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41708 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41709 %o7 across the call.
41710 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41711 instead.
41712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41713 SETUP_PIC_REG_LEAF.
41714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41715 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41716 * sysdeps/sparc/crtn.S: Likewise.
41717
2bcc53a3
UD
417182012-02-17 Ulrich Drepper <drepper@gmail.com>
41719
41720 * aout/Makefile: Remove.
41721
09c093b5
RK
417222012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41723
41724 [BZ #13058]
41725 * manual/examples/argp-ex1.c (main): Format definition in GNU
41726 style.
41727 * manual/examples/argp-ex2.c (main): Likewise.
41728 * manual/examples/argp-ex3.c (main): Likewise.
41729 * manual/examples/argp-ex4.c (main): Likewise.
41730 * manual/examples/longopt.c (main): Use new-style prototype
41731 definition.
41732 * manual/examples/strncat.c (main): Specify return type and use
41733 (void) for arguments.
41734 * manual/examples/subopt.c (main): Use char **argv argument.
41735
2ee633a2
JM
417362012-02-17 Joseph Myers <joseph@codesourcery.com>
41737
41738 [BZ #5077]
41739 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41740 rounding modes.
41741
0520adde
FB
417422012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41743
41744 [BZ #6907]
41745 * manual/string.texi (strchr): Change when strchrnul is
41746 recommended.
41747
3f4081cd
DGM
417482012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41749
41750 [BZ #174]
41751 * manual/locale.texi (setlocale): Document LOCPATH.
41752
d1b10e78
JM
417532012-02-17 Joseph Myers <joseph@codesourcery.com>
41754
41755 [BZ #10210]
41756 * manual/process.texi (execle): Move @dots{} before last argument.
41757
79c6869c
PB
417582012-02-17 Paul Bolle <pebolle@tiscali.nl>
41759
41760 [BZ #12047]
41761 * manual/charset.texi (Generic Charset Conversion): Fix typo
41762 (LC_TYPE -> LC_CTYPE).
41763
cc6e48bc
NB
417642012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41765
41766 [BZ #5805]
41767 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41768 (scalbnf): Likewise.
41769 (scalbnl): Likewise.
41770 (scalbln): Likewise.
41771 (scalblnf): Likewise.
41772 (scalblnl): Likewise.
41773 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41774 (vwarnx): Likewise.
41775 (verr): Likewise.
41776 (verrx): Likewise.
41777 * manual/filesys.texi (telldir): Use braces around return type.
41778 * manual/llio.texi (mmap): Add space after comma.
41779 (mmap64): Likewise.
41780 * manual/math.texi (jn): Use @var{} on parameter names.
41781 (jnf): Likewise.
41782 (jnl): Likewise.
41783 (yn): Likewise.
41784 (ynf): Likewise.
41785 (ynl): Likewise.
41786 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41787 line.
41788 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41789 "...".
41790 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41791 (sched_get_priority_max): Likewise.
41792 * manual/signal.texi (sigvec): Add space after comma.
41793 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41794 names.
41795 (if_indextoname): Likewise.
41796 (if_freenameindex): Likewise.
41797 (sendto): Use ',' instead of '.' in prototype.
41798 * manual/startup.texi (syscall): Use @dots{} instead of literal
41799 "...".
41800 * manual/stdio.texi (__fpending): Separate initial words of
41801 paragraph from @deftypefun line.
41802 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41803 "...".
41804 (vsyslog): Use @var{} on parameter names.
41805 * manual/terminal.texi (stty): Use @var{} on parameter names.
41806 * manual/users.texi (getutmp): Use @var{} on parameter names.
41807 (getutmpx): Likewise.
41808
5b23062f
JM
418092012-02-17 Joseph Myers <joseph@codesourcery.com>
41810
41811 [BZ #6884]
41812 * manual/stdio.texi (fopen): Fix typos in description of
41813 ",ccs=STRING".
41814
8dee4833
AJ
418152012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41816
41817 [BZ #4026]
41818 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41819 get clock_id definition.
41820
9078ce93
TS
418212012-02-17 Thomas Schwinge <thomas@schwinge.name>
41822
41823 [BZ #4822]
41824 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41825 (madvise): Cast every argument to void on its own.
41826
3835c55f
JM
418272012-02-17 Joseph Myers <joseph@codesourcery.com>
41828
41829 [BZ #9902]
41830 * manual/startup.texi (Exit Status): Fix typo.
41831
35c47e37
JM
418322012-02-17 Joseph Myers <joseph@codesourcery.com>
41833
41834 [BZ #10140]
41835 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41836 * manual/examples/argp-ex2.c: Likewise.
41837 * manual/examples/argp-ex3.c: Likewise.
41838
e3b69ca7
RH
418392012-02-16 Richard Henderson <rth@redhat.com>
41840
41841 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41842 * sysdeps/s390/s390-32/initfini.c: Remove.
41843 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41844 * sysdeps/s390/s390-64/initfini.c: Remove.
41845
df83af67
KK
418462012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41847
41848 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41849 compiler output for sysdeps/generic/initfini.c.
41850 * sysdeps/sh/elf/initfini.c: Remove file.
41851
f63f3380
DM
418522012-02-16 David S. Miller <davem@davemloft.net>
41853
fb59b3a4
DM
41854 [BZ #11494]
41855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41856
f63f3380
DM
41857 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41858 * sysdeps/sparc/crti.S: New file.
41859 * sysdeps/sparc/crtn.S: New file.
41860 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41861 * sysdeps/sparc/sparc64/Makefile: Likewise.
41862
df6a4a4a
MF
418632012-02-15 Mike Frysinger <vapier@gentoo.org>
41864
6dd8f3dc 41865 [BZ #3335]
df6a4a4a
MF
41866 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41867
1cac7236
RM
418682012-02-15 Roland McGrath <roland@hack.frob.com>
41869
d2c736f8
RM
41870 [BZ #4822]
41871 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41872
1cac7236
RM
41873 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41874 (write, read, close): Likewise.
41875 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41876
8e475601
JM
418772012-02-15 Joseph Myers <joseph@codesourcery.com>
41878
41879 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41880 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41881 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41882 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41883 <bits/signalfd.h>.
41884 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41886 bits/signalfd.h.
41887
ed656b40
MP
418882012-02-14 Marek Polacek <polacek@redhat.com>
41889
41890 * sysdeps/x86_64/crti.S: New file.
41891 * sysdeps/x86_64/crtn.S: New file.
41892 * sysdeps/x86_64/elf/initfini.c: Remove file.
41893
2a979d3a
JM
418942012-02-13 Joseph Myers <joseph@codesourcery.com>
41895
41896 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41897 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41898 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41899 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41900 <bits/inotify.h>.
41901 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41903 bits/inotify.h.
41904
2a418ac3
JM
419052012-02-13 Joseph Myers <joseph@codesourcery.com>
41906
41907 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41908 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41909 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41910 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41911 <bits/eventfd.h>.
41912 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41914 bits/eventfd.h.
41915
fb779be7
TS
419162012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41917
e19e83c5
RM
41918 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41919 __feraiseexcept instead of feraiseexcept.
7c35ffed 41920
fb779be7
TS
41921 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41922 nanosleep invocations.
41923 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41924 strings, and add error checking for a nanosleep invocations.
41925
59ba27a6
PE
419262012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41927
41928 Replace FSF snail mail address with URLs, as per GNU coding standards.
41929 Most of the snail mail addresses were wrong anyway, and omitting
41930 them makes the source code easier to maintain. Almost all of the
41931 changes are to license notices and to locale LC_IDENTIFICATION
41932 addresses, except for this one:
41933 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41934 not its snail mail address.
41935
57b957eb
RH
419362012-02-09 Richard Henderson <rth@twiddle.net>
41937
af850b1c
RH
41938 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41939 of kernel-features.h.
41940
57b957eb
RH
41941 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41942
6b73181a
MP
419432012-02-08 Marek Polacek <polacek@redhat.com>
41944
41945 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41946 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41947 * sysdeps/gnu/_G_config.h: Likewise.
41948 * sysdeps/generic/_G_config.h: Likewise.
41949
26ecc33a
AS
419502012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41951
6c6dbc63
AS
41952 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41953 tests.
41954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41955
e216c012
AS
41956 * sysdeps/powerpc/powerpc32/crti.S: New file.
41957 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41958 * sysdeps/powerpc/powerpc64/crti.S: New file.
41959 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41960
26ecc33a
AS
41961 * Makeconfig (have-initfini): Don't set.
41962 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41963 * configure.in (nopic_initfini): Don't substitute.
41964 * config.h.in (HAVE_INITFINI): Don't #undef.
41965 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41966 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41967
3add8e13
JM
419682012-02-08 Joseph Myers <joseph@codesourcery.com>
41969
41970 Support crti.S and crtn.S provided directly by architectures.
41971 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41972 [crti.S in sysdirs] (omit-deps): Likewise.
41973 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41974 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41975 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41976 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41977 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41978 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41979 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41980 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41981 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41982 compiler output for sysdeps/generic/initfini.c.
41983 * sysdeps/i386/elf/Makefile: Remove file.
41984 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41985
a22f12b4
MP
419862012-02-07 Marek Polacek <polacek@redhat.com>
41987
41988 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41989 * sysdeps/gnu/_G_config.h: Likewise.
41990 * sysdeps/mach/hurd/_G_config.h: Likewise.
41991
148cf100
MP
419922012-02-07 Marek Polacek <polacek@redhat.com>
41993
41994 * math/Makefile (tests): Add tst-CMPLX2.
41995 * math/tst-CMPLX2.c: New file.
41996
cfdc0dd7
AS
419972012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41998
84ba42c4
AS
41999 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42000
cfdc0dd7
AS
42001 * math/libm-test.inc (jn_test): Add missing L suffix.
42002
622c86f4
MP
420032012-02-06 Marek Polacek <polacek@redhat.com>
42004
42005 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42006 * sysdeps/i386/fpu/e_powf.S: Likewise.
42007 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42008 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42009 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42010 * sysdeps/i386/fpu/e_pow.S: Likewise.
42011 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42012 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42013 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42014 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42015 * sysdeps/i386/fpu/e_log2.S: Likewise.
42016 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42017 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42018 * sysdeps/i386/fpu/e_powl.S: Likewise.
42019 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42020 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42021 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42022 * sysdeps/i386/fpu/e_logl.S: Likewise.
42023 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42024 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42025 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42026 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42027 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42028 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42029 * sysdeps/i386/fpu/e_log.S: Likewise.
42030 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42031 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42032 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42033 * sysdeps/i386/fpu/e_logf.S: Likewise.
42034 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42035 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42036 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42037 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42038 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42039 * sysdeps/i386/fpu/e_log10.S: Likewise.
42040 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42041 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42042 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42043 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42044 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42045 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42046 * sysdeps/i386/asm-syntax.h: Likewise.
42047 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42048 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42049 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42050 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42051 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42052 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42053 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42054 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42055 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42056 * sysdeps/powerpc/sysdep.h: Likewise.
42057 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42058 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42059
d4a54ac6
JM
420602012-02-06 Joseph Myers <joseph@codesourcery.com>
42061
42062 [BZ #411]
42063 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42064
314054ea
JM
420652012-02-06 Joseph Myers <joseph@codesourcery.com>
42066
42067 * sysdeps/i386/sysdep.h: Include <features.h>.
42068 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42069 version.
42070
d8e0ca50
JM
420712012-02-05 Joseph Myers <joseph@codesourcery.com>
42072
42073 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42074 Define.
42075 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42076 LOAD_PIC_REG_STR.
42077
b1da7dd9
JM
420782012-02-03 Joseph Myers <joseph@codesourcery.com>
42079
42080 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42081 (SETUP_PIC_REG): Use GET_PC_THUNK.
42082 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42083 macro.
42084
9a1d9254
JM
420852012-02-03 Joseph Myers <joseph@codesourcery.com>
42086
42087 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42088 for non-PIC compilation.
42089 (SETUP_PIC_REG): Add .p2align directive.
42090 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42091 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42092 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42093 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42095 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42096 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42097 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42098 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42099 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42100 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42101 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42102 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42103 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42104 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42105 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42106 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42107 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42108 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42109 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42110 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42111 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42112 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42113 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42114 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42115 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42116 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42117 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42118 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42119 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42120 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42121 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42122 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42123 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42124 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42125 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42126 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42127 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42128 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42129 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42130 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42131
65dc3b75
JM
421322012-02-03 Joseph Myers <joseph@codesourcery.com>
42133
42134 * math/tst-CMPLX.c: Include <stdio.h>.
42135
d55bf177
JM
421362012-01-31 Joseph Myers <joseph@codesourcery.com>
42137
42138 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42139 float.
42140 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42141 * sysdeps/sparc/bits/mathdef.h: Likewise.
42142
69db4f8f
MP
421432012-01-31 Marek Polacek <polacek@redhat.com>
42144
42145 * libio/libio.h: Don't define _PARAMS.
42146 * locale/programs/config.h: Don't define PARAMS.
42147 * stdlib/strtol_l.c: Likewise.
42148 (__strtol_l): Remove PARAMS from the prototype.
42149
41b81892
UD
421502012-01-31 Ulrich Drepper <drepper@gmail.com>
42151
3b49edc0
UD
42152 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42153 names. Just use the correct names. Remove unnecessary wrapper
42154 functions.
42155 * malloc/arena.c: Likewise.
42156 * malloc/hooks.c: Likewise.
42157
41b81892
UD
42158 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42159 ARENA_TEST says not to. Simplify test for creation of a new arena.
42160 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42161
27a25b6e
UD
421622012-01-30 Ulrich Drepper <drepper@gmail.com>
42163
42164 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42165 into tail calls.
42166 (update_get_addr): New function.
42167 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42168 GET_ADDR_MODULE parameter.
42169
c8a89e7d
JM
421702012-01-30 Joseph Myers <joseph@codesourcery.com>
42171
42172 * crypt/cert.c: Remove __STDC__ conditionals.
42173 * crypt/crypt-entry.c: Likewise.
42174 * crypt/crypt_util.c: Likewise.
42175 * libio/filedoalloc.c: Likewise.
42176 * libio/fileops.c: Likewise.
42177 * libio/genops.c: Likewise.
42178 * libio/iofclose.c: Likewise.
42179 * libio/iofdopen.c: Likewise.
42180 * libio/iofopen.c: Likewise.
42181 * libio/iofopen64.c: Likewise.
42182 * libio/iogetdelim.c: Likewise.
42183 * libio/iopopen.c: Likewise.
42184 * libio/obprintf.c: Likewise.
42185 * libio/oldfileops.c: Likewise.
42186 * libio/oldiofclose.c: Likewise.
42187 * libio/oldiofdopen.c: Likewise.
42188 * libio/oldiofopen.c: Likewise.
42189 * libio/oldiopopen.c: Likewise.
42190 * libio/wfiledoalloc.c: Likewise.
42191 * libio/wgenops.c: Likewise.
42192 * locale/programs/xmalloc.c: Likewise.
42193 * misc/syslog.c: Likewise.
42194 * stdio-common/xbug.c: Likewise.
42195 * string/memchr.c: Likewise.
42196 * string/memcmp.c: Likewise.
42197 * string/memrchr.c: Likewise.
42198 * string/rawmemchr.c: Likewise.
42199 * sysdeps/posix/getcwd.c: Likewise.
42200 * time/strftime_l.c: Likewise.
42201
3b100462
JM
422022012-01-30 Joseph Myers <joseph@codesourcery.com>
42203
42204 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42205 * config.make.in (config-cflags-sse2avx): Define.
42206 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42207 Fix typo.
42208
607998af
CM
422092012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42210
42211 * scripts/config.guess: Update from upstream config git repository.
42212 * scripts/config.sub: Likewise.
42213
3601428f
CM
422142012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42215
3ac8b282
CM
42216 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42217 (EM_NUM): Update.
42218 (R_TILEPRO_*, R_TILEGX_*): New macros.
42219
e034841e
CM
42220 * scripts/firstversions.awk: Fix bug in version range handling.
42221
540d7568
CM
42222 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42223
3601428f
CM
42224 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42225
463de862
CM
42226 * include/sys/epoll.h: New file.
42227 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42228 libc_hidden_def.
42229
73139a76
UD
422302012-01-28 Ulrich Drepper <drepper@gmail.com>
42231
96bc5b45
UD
42232 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42233 Avoid unnecessary __WORDSIZE == 64 test.
42234 (fmaxf): Use VEX format if possible.
42235 (fmax): Likewise.
42236 (fminf): Likewise.
42237 (fmin): Likewise.
42238
56f6f6a2
UD
42239 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42240 * math/math_private.h: Remove libc_fegetround* and
42241 libc_fesetround*.
42242 * sysdeps/i386/configure.in: Check for -msse2avx.
42243 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42244 also if SSE2AVX is defined.
42245 Remove libc_fegetround* and libc_fesetround*.
42246 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42247 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42248 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42249 of HAS_YMM_USABLE.
42250 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42251 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42255
73139a76
UD
42256 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42257
d73f93a4
AZ
422582012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42259
42260 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42261 size is not set.
42262 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42263
6ee65ed6
UD
422642012-01-27 Ulrich Drepper <drepper@gmail.com>
42265
42266 [BZ #13618]
42267 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42268 relocation.
42269 * Makeconfig (libm): Define.
42270 * elf/Makefile: Add rules to build and run tst-relsort1.
42271 * elf/tst-relsort1.c: New file.
42272 * elf/tst-relsort1mod1.c: New file.
42273 * elf/tst-relsort1mod2.c: New file.
42274
8db21882
JM
422752012-01-27 Joseph Myers <joseph@codesourcery.com>
42276
42277 * math/s_ldexp.c: Remove __STDC__ conditionals.
42278 * math/s_ldexpf.c: Likewise.
42279 * math/s_ldexpl.c: Likewise.
42280 * math/s_nextafter.c: Likewise.
42281 * math/s_nexttowardf.c: Likewise.
42282 * math/s_significand.c: Likewise.
42283 * math/s_significandf.c: Likewise.
42284 * math/s_significandl.c: Likewise.
42285 * math/w_jnl.c: Likewise.
42286 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42287 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42288 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42289 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42290 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42292 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42293 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42294 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42295 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42296 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42297 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42298 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42299 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42300 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42301 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42302 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42303 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42304 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42307 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42308 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42309 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42310 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42311 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42312 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42313 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42314 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42315 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42316 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42317 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42318 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42319 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42320 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42321 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42322 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42323 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42324 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42325 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42326 * sysdeps/ieee754/k_standard.c: Likewise.
42327 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42328 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42329 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42330 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42331 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42332 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42333 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42334 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42335 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42336 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42337 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42338 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42386 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42388 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42393 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42395 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42400 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42401 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42402 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42403 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42404 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42405 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42406 * sysdeps/ieee754/s_matherr.c: Likewise.
42407 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42408 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42411
965a54a4
JM
424122012-01-26 Joseph Myers <joseph@codesourcery.com>
42413
42414 * crypt/md5.h: Remove __STDC__ conditionals.
42415 * libio/libioP.h: Likewise.
42416 * locale/programs/config.h: Likewise.
42417 * sysdeps/generic/sysdep.h: Likewise.
42418 * sysdeps/i386/asm-syntax.h: Likewise.
42419 * sysdeps/s390/asm-syntax.h: Likewise.
42420 * sysdeps/unix/sysdep.h: Likewise.
42421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42423
7071ad79
JM
424242012-01-26 Joseph Myers <joseph@codesourcery.com>
42425
42426 * libio/libio.h: Remove __STDC__ conditionals.
42427 * malloc/obstack.h: Likewise.
42428 * math/complex.h: Likewise.
42429 * math/math.h: Likewise.
42430 * sysdeps/generic/_G_config.h: Likewise.
42431 * sysdeps/gnu/_G_config.h: Likewise.
42432 * sysdeps/mach/hurd/_G_config.h: Likewise.
42433 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42434 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42435 * sysdeps/sparc/bits/mathdef.h: Likewise.
42436
afc5ed09
UD
424372012-01-26 Ulrich Drepper <drepper@gmail.com>
42438
42439 [BZ #13583]
42440 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42441 Clean up HAS_* macros.
afc5ed09 42442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42443 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42444 possible.
42445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42446 HAS_AVX.
42447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42448 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42452
bdb6de1d
JM
424532012-01-25 Joseph Myers <joseph@codesourcery.com>
42454
42455 * elf/tst-unique3.cc (gets): Remove declaration.
42456 * elf/tst-unique3lib.cc (gets): Likewise.
42457 * elf/tst-unique3lib2.cc (gets): Likewise.
42458 * elf/tst-unique4.cc (gets): Likewise.
42459
b15549e6
UD
424602012-01-24 Ulrich Drepper <drepper@gmail.com>
42461
42462 * include/stdio.h: Add C++ protection. Add gets declarations and
42463 definitions.
42464 * debug/tst-chk1.c: Don't declare gets here.
42465 * stdio-common/tst-gets.c: Likewise.
42466
a037381f
JM
424672012-01-24 Joseph Myers <joseph@codesourcery.com>
42468
42469 * posix/glob: Remove directory.
42470
f1d4aa75
JM
424712012-01-24 Joseph Myers <joseph@codesourcery.com>
42472
42473 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42474
81c0c964
PT
424752012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42476
42477 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42478 of the non-standard EPFNOSUPPORT.
42479
0ea698ae
ST
424802011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42481
42482 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42483 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42484 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42485
d220b117
UD
424862012-01-21 Ulrich Drepper <drepper@gmail.com>
42487
42488 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42489
3e1aa84e
UD
424902012-01-20 Ulrich Drepper <drepper@gmail.com>
42491
42492 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42493 transient errors.
42494 * nscd/grpcache.c (cache_addgr): Likewise.
42495 * nscd/hstcache.c (cache_addhst): Likewise.
42496 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42497 * nscd/pwdcache.c (cache_addpw): Likewise.
42498 * nscd/servicescache.c (cache_addserv): Likewise.
42499
400aa020
UD
425002012-01-16 Ulrich Drepper <drepper@gmail.com>
42501
d77e7869
UD
42502 * malloc/malloc.c: Various cleanups.
42503 * malloc/hooks.c: Likewise.
42504
400aa020
UD
42505 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42506 * stdlib/bug-fmtmsg1.c: New file.
42507
42508 * stdlib/fmtmsg.c (init): Add missing unlock.
42509 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42510
e0a309cf
MP
425112012-01-12 Marek Polacek <polacek@redhat.com>
42512
42513 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42514 and _GNU_SOURCE.
42515
929d11c7
WS
425162012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42517
42518 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42519 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42520 macro to ensure uniqueness of label name.
42521 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42522 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42523
41d0e869
UD
425242012-01-11 Ulrich Drepper <drepper@gmail.com>
42525
0cc5ed3b
UD
42526 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42527
41d0e869
UD
42528 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42529 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42530 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42532
a47a831a
UD
425332012-01-10 Ulrich Drepper <drepper@gmail.com>
42534
daa891c0
UD
42535 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42536
42537 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42538 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42539 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42540
e58ef0f2
UD
42541 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42542
a47a831a 42543 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42544 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42546 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42547
42548 * math/bits/math-finite.h: Add ldexp support.
42549
a0bfc9c7
MP
425502012-01-10 Marek Polacek <polacek@redhat.com>
42551
42552 * locale/programs/localedef.h (show_archive_content): Add noreturn
42553 attribute.
42554
d6e97a1d
UD
425552012-01-09 Ulrich Drepper <drepper@gmail.com>
42556
42557 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42558
d5835c26
UD
425592012-01-08 Ulrich Drepper <drepper@gmail.com>
42560
e5f484c6
UD
42561 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42562
d5835c26
UD
42563 * io/Makefile (headers): Add bits/poll2.h.
42564
d1f741e9
WS
425652011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42566
42567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42568 typo #include statement.
42569
ec09c1c4
UD
425702012-01-08 Ulrich Drepper <drepper@gmail.com>
42571
42572 * include/sys/cdefs.h: Define __attribute_alloc_size.
42573 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42574 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42575 * elf/pldd.c: Likewise.
42576 * iconv/iconv_charmap.c: Likewise.
42577 * iconv/iconvconfig.c: Likewise.
42578 * iconv/strtab.c: Likewise.
42579 * locale/programs/locale.c: Likewise.
42580 * locale/programs/localedef.h: Likewise.
42581 * locale/programs/simple-hash.c: Likewise.
42582 * nscd/nscd.h: Likewise.
42583 * nss/makedb.c: Likewise.
42584 * sysdeps/generic/ldconfig.h: Likewise.
42585 * locale/programs/localedef.c: Remove xmalloc prototype.
42586 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42587
20b38e03
PP
425882012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42589
42590 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42591 appropriate.
42592
a0da5fe1
UD
425932012-01-08 Ulrich Drepper <drepper@gmail.com>
42594
1d5a644a 42595 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42596 * math/tst-CMPLX.c: New file.
1d5a644a 42597
8784a6db
UD
42598 * math/complex.h (CMPLXL): Fix typo.
42599
d9a216c0
UD
42600 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42601 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42602 GLIBC_2.16.
42603 * debug/tst-chk1.c: Add poll and ppoll tests.
42604 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42605 * include/sys/poll.h: Add hidden proto for ppoll.
42606 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42607 * sysdeps/mach/hurd/ppoll.c: Likewise.
42608 * io/ppoll.c: Likewise.
42609 * debug/poll_chk.c: New file.
42610 * debug/ppoll_chk.c: New file.
42611 * include/bits/poll2.h: New file.
42612 * io/bits/poll2.h: New file.
42613
ac097f5c
UD
42614 [BZ #1350]
42615 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42616
2119dcfa
UD
42617 * configure.in: static is always set to yes. Remove.
42618 * config.make.in: Don't set build-static.
42619 * Makeconfig: Remove use of build-static.
42620 * dlfcn/Makefile: Likewise.
42621 * elf/Makefile: Likewise.
42622 * math/Makefile: Likewise.
42623 * misc/Makefile: Likewise.
42624 * nptl/Makefile: Likewise.
42625 * sysdeps/mach/hurd/Makefile: Likewise.
42626
121766a9
UD
42627 * configure.in: PWD_P is not used anymore.
42628 * config.make.in: Remove PWD_P entry.
42629
51a1d39c 42630 * configure.in: Remove last remnants of RANLIB.
8720d066 42631 No need to check for signed size_t anymore.
215f4bdc
UD
42632 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42633 and IA-64.
3857022a 42634 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42635 * aclocal.m4: Likewise.
42636
d3ed7225
UD
42637 * wcsmbs/mbrtoc16.c: Implement using towc function.
42638 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42639 * wcsmbs/wcsmbsload.c: Likewise.
42640 * iconv/gconv_simple.c: Likewise.
42641 * iconv/gconv_int.h: Likewise.
42642 * iconv/gconv_builtin.h: Likewise.
42643 * iconv/iconv_prog.c: Remove CHAR16 handling.
42644
42645 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42646
42647 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42648
a0da5fe1
UD
42649 * configure.in: Remove --with-elf and --enable-bounded options.
42650 Dont set base_machine for ia64. More non-ELF conditions removed.
42651 Remove testing and setting of leading underscore information.
42652 * config.make.in (build-bounded): Set to no.
42653 * config.h.in: Remove NO_UNDERSCORES entry.
42654 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42655 them.
42656 * csu/start.c: Remove !NO_UNDERSCORE code.
42657 * locale/localeinfo.h: Likewise.
42658 * sysdeps/generic/machine-gmon.h: Likewise.
42659 * sysdeps/generic/sysdep.h: Likewise.
42660 * sysdeps/i386/sysdep.h: Likewise.
42661 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42662 * sysdeps/mach/sysdep.h: Likewise.
42663 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42664 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42665 * sysdeps/sh/sysdep.h: Likewise.
42666 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42667 * sysdeps/unix/i386/sysdep.S: Likewise.
42668 * sysdeps/unix/sparc/start.c: Likewise.
42669 * sysdeps/unix/sparc/sysdep.S: Likewise.
42670 * sysdeps/unix/sparc/sysdep.h: Likewise.
42671 * sysdeps/unix/start.c: Likewise.
42672 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42673 * sysdeps/x86_64/sysdep.h: Likewise.
42674
df78418a
UD
426752012-01-07 Ulrich Drepper <drepper@gmail.com>
42676
a784e502
UD
42677 [BZ #13553]
42678 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42679 for non-gcc.
42680 * argp/argp-fmtstream.h: Use const instead __const.
42681 * argp/argp.h: Likewise.
42682 * assert/assert.h: Likewise.
42683 * bits/fenv.h: Likewise.
42684 * bits/sched.h: Likewise.
42685 * bits/sigset.h: Likewise.
42686 * bits/sigthread.h: Likewise.
42687 * catgets/nl_types.h: Likewise.
42688 * conform/data/pthread.h-data: Likewise.
42689 * crypt/crypt-private.h: Likewise.
42690 * crypt/crypt.h: Likewise.
42691 * crypt/crypt_util.c: Likewise.
42692 * ctype/ctype.h: Likewise.
42693 * debug/execinfo.h: Likewise.
42694 * debug/mbsnrtowcs_chk.c: Likewise.
42695 * debug/mbsrtowcs_chk.c: Likewise.
42696 * debug/wcsnrtombs_chk.c: Likewise.
42697 * debug/wcsrtombs_chk.c: Likewise.
42698 * debug/wcstombs_chk.c: Likewise.
42699 * dirent/dirent.h: Likewise.
42700 * dlfcn/dlfcn.h: Likewise.
42701 * elf/neededtest4.c: Likewise.
42702 * grp/grp.h: Likewise.
42703 * gshadow/gshadow.h: Likewise.
42704 * iconv/gconv.h: Likewise.
42705 * iconv/gconv_int.h: Likewise.
42706 * iconv/gconv_simple.c: Likewise.
42707 * iconv/iconv.h: Likewise.
42708 * iconv/loop.c: Likewise.
42709 * iconv/skeleton.c: Likewise.
42710 * include/aio.h: Likewise.
42711 * include/aliases.h: Likewise.
42712 * include/argz.h: Likewise.
42713 * include/arpa/inet.h: Likewise.
42714 * include/assert.h: Likewise.
42715 * include/dirent.h: Likewise.
42716 * include/dlfcn.h: Likewise.
42717 * include/execinfo.h: Likewise.
42718 * include/fcntl.h: Likewise.
42719 * include/fenv.h: Likewise.
42720 * include/glob.h: Likewise.
42721 * include/grp.h: Likewise.
42722 * include/libintl.h: Likewise.
42723 * include/mntent.h: Likewise.
42724 * include/netdb.h: Likewise.
42725 * include/pwd.h: Likewise.
42726 * include/rpc/netdb.h: Likewise.
42727 * include/sched.h: Likewise.
42728 * include/search.h: Likewise.
42729 * include/shadow.h: Likewise.
42730 * include/signal.h: Likewise.
42731 * include/stdio.h: Likewise.
42732 * include/stdlib.h: Likewise.
42733 * include/string.h: Likewise.
42734 * include/sys/socket.h: Likewise.
42735 * include/sys/stat.h: Likewise.
42736 * include/sys/statfs.h: Likewise.
42737 * include/sys/statvfs.h: Likewise.
42738 * include/sys/syslog.h: Likewise.
42739 * include/sys/time.h: Likewise.
42740 * include/sys/uio.h: Likewise.
42741 * include/time.h: Likewise.
42742 * include/unistd.h: Likewise.
42743 * include/utmp.h: Likewise.
42744 * include/wchar.h: Likewise.
42745 * include/wctype.h: Likewise.
42746 * inet/aliases.h: Likewise.
42747 * inet/arpa/inet.h: Likewise.
42748 * inet/netinet/ether.h: Likewise.
42749 * inet/netinet/in.h: Likewise.
42750 * intl/libintl.h: Likewise.
42751 * io/bits/fcntl2.h: Likewise.
42752 * io/fcntl.h: Likewise.
42753 * io/ftw.h: Likewise.
42754 * io/sys/poll.h: Likewise.
42755 * io/sys/stat.h: Likewise.
42756 * io/sys/statfs.h: Likewise.
42757 * io/sys/statvfs.h: Likewise.
42758 * io/utime.h: Likewise.
42759 * libio/bits/stdio.h: Likewise.
42760 * libio/bits/stdio2.h: Likewise.
42761 * libio/libio.h: Likewise.
42762 * libio/libioP.h: Likewise.
42763 * libio/stdio.h: Likewise.
42764 * locale/lc-ctype.c: Likewise.
42765 * locale/locale.h: Likewise.
42766 * login/utmp.h: Likewise.
42767 * malloc/arena.c: Likewise.
42768 * malloc/malloc.c: Likewise.
42769 * malloc/malloc.h: Likewise.
42770 * malloc/mcheck.c: Likewise.
42771 * malloc/mtrace.c: Likewise.
42772 * math/bits/mathcalls.h: Likewise.
42773 * math/fenv.h: Likewise.
42774 * math/math_private.h: Likewise.
42775 * misc/bits/error.h: Likewise.
42776 * misc/bits/syslog.h: Likewise.
42777 * misc/err.h: Likewise.
42778 * misc/error.h: Likewise.
42779 * misc/fstab.h: Likewise.
42780 * misc/mntent.h: Likewise.
42781 * misc/regexp.h: Likewise.
42782 * misc/search.h: Likewise.
42783 * misc/sgtty.h: Likewise.
42784 * misc/sys/mman.h: Likewise.
42785 * misc/sys/syslog.h: Likewise.
42786 * misc/sys/uio.h: Likewise.
42787 * misc/sys/xattr.h: Likewise.
42788 * misc/ttyent.h: Likewise.
42789 * nis/rpcsvc/ypclnt.h: Likewise.
42790 * nss/nss.h: Likewise.
42791 * posix/bits/unistd.h: Likewise.
42792 * posix/fnmatch.h: Likewise.
42793 * posix/glob.h: Likewise.
42794 * posix/sched.h: Likewise.
42795 * posix/spawn.h: Likewise.
42796 * posix/sys/wait.h: Likewise.
42797 * posix/unistd.h: Likewise.
42798 * posix/wordexp.h: Likewise.
42799 * pwd/pwd.h: Likewise.
42800 * resolv/netdb.h: Likewise.
42801 * resource/sys/resource.h: Likewise.
42802 * rt/aio.h: Likewise.
42803 * rt/bits/mqueue2.h: Likewise.
42804 * rt/mqueue.h: Likewise.
42805 * shadow/shadow.h: Likewise.
42806 * signal/signal.h: Likewise.
42807 * socket/send.c: Likewise.
42808 * socket/sendto.c: Likewise.
42809 * socket/sys/socket.h: Likewise.
42810 * stdio-common/printf.h: Likewise.
42811 * stdlib/bits/stdlib.h: Likewise.
42812 * stdlib/fmtmsg.h: Likewise.
42813 * stdlib/monetary.h: Likewise.
42814 * stdlib/stdlib.h: Likewise.
42815 * stdlib/ucontext.h: Likewise.
42816 * streams/stropts.h: Likewise.
42817 * string/argz.h: Likewise.
42818 * string/bits/string2.h: Likewise.
42819 * string/string.h: Likewise.
42820 * string/strings.h: Likewise.
42821 * sunrpc/rpc/auth.h: Likewise.
42822 * sunrpc/rpc/auth_des.h: Likewise.
42823 * sunrpc/rpc/clnt.h: Likewise.
42824 * sunrpc/rpc/netdb.h: Likewise.
42825 * sunrpc/rpc/pmap_clnt.h: Likewise.
42826 * sunrpc/rpc/xdr.h: Likewise.
42827 * sysdeps/generic/inttypes.h: Likewise.
42828 * sysdeps/generic/net/if.h: Likewise.
42829 * sysdeps/generic/sys/swap.h: Likewise.
42830 * sysdeps/gnu/net/if.h: Likewise.
42831 * sysdeps/gnu/utmpx.h: Likewise.
42832 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42833 * sysdeps/i386/i486/bits/string.h: Likewise.
42834 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42835 * sysdeps/s390/bits/string.h: Likewise.
42836 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42837 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42838 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42839 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42840 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42841 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42842 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42843 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42844 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42845 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42846 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42847 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42848 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42849 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42850 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42851 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42852 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42854 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42855 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42857 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42858 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42859 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42860 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42861 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42862 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42863 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42864 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42865 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42866 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42867 * sysvipc/sys/ipc.h: Likewise.
42868 * sysvipc/sys/msg.h: Likewise.
42869 * sysvipc/sys/sem.h: Likewise.
42870 * sysvipc/sys/shm.h: Likewise.
42871 * termios/termios.h: Likewise.
42872 * time/sys/time.h: Likewise.
42873 * time/time.h: Likewise.
42874 * wcsmbs/bits/wchar2.h: Likewise.
42875 * wcsmbs/uchar.h: Likewise.
42876 * wcsmbs/wchar.h: Likewise.
42877 * wctype/wctype.h: Likewise.
42878
0269750c
UD
42879 [BZ #13551]
42880 * Makeconfig: Remove all but ELF support including AIX support.
42881 * Makerules: Likewise.
42882 * config.h.in: Likewise.
42883 * config.make.in: Likewise.
42884 * configure: Likewise.
42885 * configure.in: Likewise.
42886 * csu/Makefile: Likewise.
42887 * csu/version.c: Likewise.
42888 * debug/Makefile: Likewise.
42889 * dlfcn/Makefile: Likewise.
42890 * elf/Makefile: Likewise.
42891 * extra-lib.mk: Likewise.
42892 * iconv/Makefile: Likewise.
42893 * include/libc-symbols.h: Likewise.
42894 * include/shlib-compat.h: Likewise.
42895 * resolv/Makefile: Likewise.
42896 * resolv/res_libc.c: Likewise.
42897 * rt/Makefile: Likewise.
42898 * sysdeps/i386/asm-syntax.h: Likewise.
42899 * sysdeps/i386/sysdep.h: Likewise.
42900 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42901 * sysdeps/mach/sysdep.h: Likewise.
42902 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42903 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42904 * sysdeps/s390/asm-syntax.h: Likewise.
42905 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42906 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42907 * sysdeps/sh/sysdep.h: Likewise.
42908 * sysdeps/unix/sparc/sysdep.h: Likewise.
42909 * sysdeps/wordsize-32/divdi3.c: Likewise.
42910 * sysdeps/x86_64/sysdep.h: Likewise.
42911
00bbd29b
UD
42912 * argp/Versions: Remove _argp_unlock_xxx.
42913
42914 [BZ #13559]
42915 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42916 * abilist/libBrokenLocale.abilist: Likewise.
42917 * abilist/libanl.abilist: Likewise.
42918 * abilist/libc.abilist: Likewise.
42919 * abilist/libcrypt.abilist: Likewise.
42920 * abilist/libdl.abilist: Likewise.
42921 * abilist/libm.abilist: Likewise.
42922 * abilist/libnsl.abilist: Likewise.
42923 * abilist/libpthread.abilist: Likewise.
42924 * abilist/libresolv.abilist: Likewise.
42925 * abilist/librt.abilist: Likewise.
42926 * abilist/libthread_db.abilist: Likewise.
42927 * abilist/libutil.abilist: Likewise.
42928 * abilist/libnss_db.abilist: New file.
42929
42930 * scripts/abilist.awk: Add support for indirect functions.
42931
a2693a0e
UD
42932 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42933
3f05895f
UD
42934 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42935
ecb6fb48
UD
42936 * shlib-versions: Remove entries for ports architectures.
42937
664f8cb9
UD
42938 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42939 files in ports.
42940 * elf/stackguard-macros.h: Remove support for IA-64.
42941 * elf/tst-auditmod1.c: Likewise.
42942 * sysdeps/generic/ldsodefs.h: Likewise.
42943
7ae81d88
UD
42944 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42945 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42946 configure files.
42947
bdeba135
UD
42948 [BZ #13552]
42949 * configure.in: Remove --enable-omitfp support.
42950 * FAQ.in: Adjust.
42951 * config.make.in: Likewise.
42952 * Makeconfig: Likewise.
42953 * manual/install.texi: Likewise.
42954
d75a0a62
UD
42955 In case anyone cares, the IA-64 architecture could move to ports.
42956 * sysdeps/ia64/*: Removed.
42957 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42958 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42959
dcc9756b
UD
42960 [BZ #13555]
42961 * configure.in: Remove entries for unsupported architectures.
42962
d3761ebc 42963 [BZ #13533]
9954432e
UD
42964 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42965 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42966 routines.
42967 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42968 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42969 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42970 fall back to using wcrtomb.
42971 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42972 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42973 renaming.
42974 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42975 * wcsmbs/tst-c16c32-1.c: New file.
42976
42977 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42978 local variable.
42979
c3a87236
UD
42980 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42981
28926a1b
UD
42982 * elf/tst-unique3.cc: Add explicit declaration of gets.
42983 * elf/tst-unique3lib.cc: Likewise.
42984 * elf/tst-unique3lib2.cc: Likewise.
42985 * elf/tst-unique4.cc: Likewise.
42986
df78418a
UD
42987 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42988
8ecd6b2a
JM
429892012-01-06 Joseph Myers <joseph@codesourcery.com>
42990
42991 [BZ #13566]
42992 * assert/assert.h (static_assert): Don't define for C++.
42993 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42994 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42995
9f115170
UD
429962012-01-03 Ulrich Drepper <drepper@gmail.com>
42997
5e0d0300
UD
42998 * iconv/loop.c (single loop): Fix assertion in storing of
42999 remaining bytes.
43000
9f115170
UD
43001 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43002
81fb02b0
UD
430032012-01-01 Ulrich Drepper <drepper@gmail.com>
43004
43005 * posix/getconf.c: Update copyright year.
43006 * nss/getent.c: Likewise.
a316c1f6 43007 * nss/makedb.c: Likewise.
81fb02b0
UD
43008 * iconv/iconvconfig.c: Likewise.
43009 * iconv/iconv_prog.c: Likewise.
43010 * elf/ldconfig.c: Likewise.
a316c1f6
UD
43011 * elf/pldd.c: Likewise.
43012 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
43013 * catgets/gencat.c: Likewise.
43014 * csu/version.c: Likewise.
43015 * elf/ldd.bash.in: Likewise.
43016 * elf/sprof.c (print_version): Likewise.
43017 * locale/programs/locale.c: Likewise.
43018 * locale/programs/localedef.c: Likewise.
a316c1f6 43019 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
43020 * nscd/nscd.c (print_version): Likewise.
43021 * debug/xtrace.sh: Likewise.
43022 * malloc/memusage.sh: Likewise.
43023 * malloc/mtrace.pl: Likewise.
43024 * debug/catchsegv.sh: Likewise.
43025
2ba92745
JJ
430262011-12-30 Jakub Jelinek <jakub@redhat.com>
43027
43028 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43029 pure attribute.
43030
dadebdae
UD
430312011-12-24 Ulrich Drepper <drepper@gmail.com>
43032
d3761ebc 43033 [BZ #13533]
db6af3eb
UD
43034 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43035 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43036 transformations.
43037 * iconv/gconv_int.h: Likewise.
43038 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43039 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43040 from libc for GLIBC_2.16.
43041 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43042 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43043 * wcsmbs/uchar.h: Really define mbstate_t.
43044 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43045 * wcsmbs/c16rtomb.c: New file.
43046 * wcsmbs/mbrtoc16.c: New file.
43047 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43048 for C/POSIX locale.
43049 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43050 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43051
dadebdae
UD
43052 * wcsmbs/wchar.h: Add missing __restrict.
43053
67371b56
UD
430542011-12-23 Ulrich Drepper <drepper@gmail.com>
43055
74033a25
UD
43056 [BZ #13532]
43057 * time/Makefile (routines): Add timespec_get.
43058 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43059 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43060 timespec for ISO C11.
43061 * time/timespec_get.c: New file.
43062 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43063 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43064
380d7e87
UD
43065 [BZ #13531]
43066 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43067 * stdlib/stdlib.h: Declare aligned_alloc.
43068 * Versions.def: Add GLIBC_2.16 for libc.
43069 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43070
4e9e7a35
UD
43071 [BZ 13527]
43072 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43073 ISO C11.
43074
380d7e87 43075 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
43076 code.
43077
03a71829
UD
43078 [BZ #13528]
43079 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43080
839e283e
UD
43081 [BZ #13529]
43082 * assert/assert.h (static_assert): Define.
43083
ce5294e2 43084 * version.h: Update for 2.16 development version.
90fa7312 43085
8d44e150 43086 [BZ #13526]
d7809905
UD
43087 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43088 _ISOC11_SOURCE.
43089
c0da14cd
UD
43090 * version.h (RELEASE): Bump for 2.15 release.
43091 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43092
530a3249
MP
43093 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43094 Patch by Marek Polacek <mpolacek@redhat.com>.
43095
67371b56
UD
43096 * bits/byteswap.h: Protect long long constants with __extension__.
43097 * sysdeps/i386/bits/byteswap.h: Likewise.
43098 * sysdeps/ia64/bits/byteswap.h: Likewise.
43099 * sysdeps/s390/bits/byteswap.h: Likewise.
43100 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43101
15db4de1
LD
431022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43103
43104 [BZ #13540]
bbe315ea
LD
43105 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43106 destination buffer.
15db4de1
LD
43107 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43108
2b2596b1
MP
431092011-12-23 Marek Polacek <polacek@redhat.com>
43110
43111 * elf/dl-addr.c (determine_info): Add inline keyword.
43112 * elf/tst-auditmod4b.c (check_avx): Likewise.
43113 * elf/tst-auditmod6b.c (check_avx): Likewise.
43114 * elf/tst-auditmod6c.c (check_avx): Likewise.
43115 * elf/tst-auditmod7b.c (check_avx): Likewise.
43116
70c6c246
UD
431172011-12-23 Ulrich Drepper <drepper@gmail.com>
43118
43119 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43120 !__SSE_MATH__.
43121
c044cf14
LD
431222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43123
15db4de1 43124 [BZ #13540]
c044cf14
LD
43125 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43126 processing for last bytes.
43127
6b13d9d9
BH
431282011-08-06 Bruno Haible <bruno@clisp.org>
43129
d455f537
BH
43130 [BZ #13061]
43131 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43132 U+0385, not to U+1FEE.
43133
6b13d9d9
BH
43134 [BZ #13062]
43135 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43136 entry for U+00A5 U+0301.
43137
db910efd
UD
431382011-12-22 Ulrich Drepper <drepper@gmail.com>
43139
27deeafc
UD
43140 [BZ #13166]
43141 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43142 buffer for the output is too small.
43143
aed9d171
UD
43144 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43145 optimization.
43146
db910efd
UD
43147 [BZ #13185]
43148 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43149 SSE flags if possible.
43150
2bd779ae
LD
431512011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43152
e7f9dac3 43153 [BZ #13540]
2bd779ae
LD
43154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43155 processing for last bytes.
43156
154bfc16
JM
431572011-12-22 Joseph Myers <joseph@codesourcery.com>
43158
43159 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43160 (syscall-list-default-options, syscall-list-default-condition)
43161 (syscall-list-includes): Define.
43162 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43163 list of ABIs and options and #if conditions for each ABI. Do not
43164 handle common syscalls between ABIs specially.
43165 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43166 Remove.
43167 (syscall-list-variants, syscall-list-32bit-options)
43168 (syscall-list-32bit-condition, syscall-list-64bit-options)
43169 (syscall-list-64bit-condition): Define.
43170 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43171 (syscall-list-variants, syscall-list-32bit-options)
43172 (syscall-list-32bit-condition, syscall-list-64bit-options)
43173 (syscall-list-64bit-condition): Define.
43174 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43175 Remove.
43176 (syscall-list-variants, syscall-list-32bit-options)
43177 (syscall-list-32bit-condition, syscall-list-64bit-options)
43178 (syscall-list-64bit-condition): Define.
43179 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43180 Remove.
43181 (syscall-list-variants, syscall-list-32bit-options)
43182 (syscall-list-32bit-condition, syscall-list-64bit-options)
43183 (syscall-list-64bit-condition): Define.
43184
21eaf3a5
UD
431852011-12-22 Ulrich Drepper <drepper@gmail.com>
43186
16c6f992
UD
43187 * locale/iso-639.def: Add brx entry.
43188
41043168
UD
43189 [BZ #13328]
43190 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43191 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43192
21eaf3a5
UD
43193 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43194 __feraiseexcept_renamed.
43195
e3a851a2
UD
431962011-12-21 Ulrich Drepper <drepper@gmail.com>
43197
4920765e
UD
43198 [BZ #13538]
43199 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43200 EPOLLET with unsigned values.
43201 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43202 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43203
e3a851a2
UD
43204 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43205 to large cancellation.
43206 * math/s_cacoshf.c: Likewise.
43207 * math/s_cacoshl.c: Likewise.
43208
b27e24b8
RK
432092011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43210
43211 [BZ #13305]
aebefeee 43212 [BZ #12786]
b27e24b8
RK
43213 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43214 * math/s_cacoshf.c: Likewise.
43215 * math/s_cacoshl.c: Likewise.
43216
ee190f67
UD
432172011-12-21 Ulrich Drepper <drepper@gmail.com>
43218
43219 [BZ #13439]
43220 * iconv/gconv.h: Define __GCONV_SWAP.
43221 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43222 * iconvdata/utf-16.c: Likewise.
43223 * iconvdata/utf-32.c: Likewise.
43224
707f25df
AS
432252011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43226
43227 [BZ #13524]
43228 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43229 numerator after shifting it by one limb.
43230
d2daaa1e
RÁE
432312011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43232
43233 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43234 under [__USE_EXTERN_INLINES].
43235
a4647e72
UD
432362011-12-17 Ulrich Drepper <drepper@gmail.com>
43237
43238 [BZ #13446]
43239 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43240
f0b264f1
AZ
432412011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43242
43243 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43244 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43245 optimized code.
43246 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43247 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43248 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43249 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43250 for strncasecmp/strncasecmp_l compilation.
43251 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43252 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43253
8ef4f244
MP
432542011-12-08 Marek Polacek <mpolacek@redhat.com>
43255
43256 [BZ #13484]
43257 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43258 of __asm__.
43259
97ac2654
UD
432602011-12-17 Ulrich Drepper <drepper@gmail.com>
43261
43262 [BZ #13506]
43263 * time/tzfile.c (__tzfile_read): Check values from file header.
43264
91d2a845
WS
432652011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43266
43267 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43268 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43269 * powerpc/powerpc32/dl-start.S: Likewise.
43270 * powerpc/powerpc32/elf/start.S: Likewise.
43271 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43272 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43273 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43274 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43275 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43276 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43277 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43278 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43279 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43280 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43281 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43282 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43283 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43284 * powerpc/powerpc32/memset.S: Likewise.
43285 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43286 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43287 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43288 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43289 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43290 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43291 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43292 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43293 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43294 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43295 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43296 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43297 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43298
a1267ba1
AZ
432992011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43300
43301 * math/libm-test.inc: Added more nearbyint tests.
43302 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43303 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43304 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43306
ad8ac1bd
RL
433072011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43308
43309 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43310 FD_CLOEXEC.
43311
1d3e4b61
UD
433122011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43313
43314 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43315 Add wcscpy-ssse3 wcscpy-c.
43316 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43317 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43318 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43319 * sysdeps/x86_64/wcschr.S: New file.
43320 * sysdeps/x86_64/wcsrchr.S: New file.
43321 * string/test-strcmp.c: Remove checking of wcscmp function for
43322 wrong alignments.
43323 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43324 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43325 wcsrchr-sse2 wcsrchr-c.
43326 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43327 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43328 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43329 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43330 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43331 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43332 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43333 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43334 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43335 * wcsmbc/wcschr.c (WCSCHR): New macro.
43336
5b330a2d
UD
433372011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43338
43339 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43340 * wcsmbs/test-wcsrchr.c: New file.
43341 * string/test-strrchr.c: Add wcsrchr support.
43342 (WIDE): New macro.
43343 * wcsmbs/test-wcscpy.c: New file.
43344 * string/test-strcpy.c: Add wcscpy support.
43345 (WIDE): New macro.
26428b7c 43346
f039c043
UD
433472011-12-10 Ulrich Drepper <drepper@gmail.com>
43348
43349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43350 the inner loop.
43351
850fb039
AS
433522011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43353
43354 [BZ #13472]
43355 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43356
4efbd5cb
UD
433572011-12-04 Ulrich Drepper <drepper@gmail.com>
43358
52ff5dd0 43359 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43360 Minor optimizations.
52ff5dd0 43361
4efbd5cb
UD
43362 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43363 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43364 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43365
8a426e12
UD
433662011-12-03 Ulrich Drepper <drepper@gmail.com>
43367
aff2453d
UD
43368 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43369 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43370 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43371 for gcc to avoid warnings.
43372 * inet/Makefile (tests): Add tst-checks.
43373 * inet/tst-checks.c: New file.
43374
43375 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43376 warning.
43377
43378 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43379 __wmemcmp_sse2.
43380
43381 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43382 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43383
8a426e12
UD
43384 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43385
9bea3473
UD
433862011-12-02 Ulrich Drepper <drepper@gmail.com>
43387
3a965496
UD
43388 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43389 problem.
43390
9bea3473
UD
43391 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43392
f101631b
UD
433932011-11-29 Joseph Myers <joseph@codesourcery.com>
43394
43395 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43396 conditional on GCC version.
43397 (__arch_compare_and_exchange_val_8_acq)
43398 (__arch_compare_and_exchange_val_16_acq)
43399 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43400 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43401 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43402
a98275aa
UD
434032011-12-02 Joseph Myers <joseph@codesourcery.com>
43404
43405 * sysdeps/sh/backtrace.c: New file.
43406
d4cc29a2
AS
434072011-12-02 Andreas Schwab <schwab@redhat.com>
43408
43409 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43410 parenthesis.
43411
6257af2d
AS
434122011-12-01 Andreas Schwab <schwab@redhat.com>
43413
43414 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43415 falling back to utime.
43416
b5f44c1a
AS
434172011-11-30 Andreas Schwab <schwab@redhat.com>
43418
43419 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43420 expectations for float.
43421
f3a6cc0a
AS
434222011-11-29 Andreas Schwab <schwab@redhat.com>
43423
43424 * locale/weight.h (findidx): Add parameter len.
43425 * locale/weightwc.h (findidx): Likewise.
43426 * posix/fnmatch_loop.c (FCT): Adjust caller.
43427 * posix/regcomp.c (build_equiv_class): Likewise.
43428 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43429 * posix/regexec.c (check_node_accept_bytes): Likewise.
43430 * string/strcoll_l.c (STRCOLL): Likewise.
43431 * string/strxfrm_l.c (STRXFRM): Likewise.
43432
9d65ea3a
UD
434332011-11-17 Ulrich Drepper <drepper@gmail.com>
43434
43435 * Makefile.in: Remove CVSOPT handling.
43436 * configure.in: Remove use of AC_REVISION.
43437 * iconvdata/Makefile (distribute): No need to filter out CVS.
43438 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43439 handling.
43440
5583a086
AS
434412011-11-16 Andreas Schwab <schwab@redhat.com>
43442
43443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43444 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43445 [USE_AS_STRNCASECMP_L]: Likewise.
43446 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43447 NO_TLS_DIRECT_SEG_REFS.
43448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43449 Fix argument offsets for non-PIC.
43450 [USE_AS_STRNCASECMP_L]: Likewise.
43451 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43452 NO_TLS_DIRECT_SEG_REFS.
43453
d62a8200
UD
434542011-11-15 Ulrich Drepper <drepper@gmail.com>
43455
9d65ea3a 43456 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43457 O_CLOEXEC.
43458 * locale/loadlocale.c (_nl_load_locale): Likewise.
43459
09f93bd3
AS
434602011-11-15 Andreas Schwab <schwab@redhat.com>
43461
446514f9
AS
43462 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43463 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43464 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43465 (SYSCALL_GETTIME): Set errno on error.
43466
09f93bd3
AS
43467 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43468 count references to noai6ai_cached.
43469
312be3f9
UD
434702011-11-15 Ulrich Drepper <drepper@gmail.com>
43471
43472 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43473
43474 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43475 FD_CLOEXEC for /proc/self/maps.
43476
43477 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43478 FD_CLOEXEC for /proc/meminfo.
43479
43480 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43481 gai.conf.
43482
43483 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43484 FD_CLOEXEC for given file.
43485
43486 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43487
43488 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43489 FD_CLOEXEC for /etc/hosts.
43490 (_gethtent): Likewise.
43491
43492 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43493
43494 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43495 cancellation and set FD_CLOEXEC for /etc/netgroup.
43496
43497 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43498 reading /etc/publickey.
43499
43500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43501 allow cancellation when reading /etc/group.
43502
43503 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43504 cancellation.
43505 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43506
43507 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43508 when using data file.
43509
43510 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43511
43512 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43513 (write_nis_obj): Use "c" and "e" in fopen.
43514
43515 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43516
43517 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43518
43519 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43520
43521 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43522
43523 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43524 locale.alias.
43525
43526 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43527
43528 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43529
43530 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43531
43532 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43533 file parsing and set FD_CLOEXEC.
43534
82af0fa8
UD
435352011-11-14 Ulrich Drepper <drepper@gmail.com>
43536
43537 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43538
a5fb313c
AS
435392011-11-14 Andreas Schwab <schwab@redhat.com>
43540
43541 * malloc/arena.c (arena_get2): Don't call reused_arena when
43542 _int_new_arena failed.
43543
6abf3465
UD
435442011-11-14 Ulrich Drepper <drepper@gmail.com>
43545
43546 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43547 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43548 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43549 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43550 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43551 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43552 to compile strcasecmp and strncasecmp.
43553 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43554 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43555
43556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43557
76e3966e
UD
435582011-11-13 Ulrich Drepper <drepper@gmail.com>
43559
43560 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43561 locale-defines.sym to gen-as-const-headers.
43562 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43563 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43565 to compile strcasecmp and strncasecmp.
43566 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43567 strcasecmp_l and strncasecmp_l.
43568 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43569 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43570 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43571 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43572 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43573 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43574 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43575 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43576 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43577 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43578 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43579
ab26144e
UD
435802011-11-12 Ulrich Drepper <drepper@gmail.com>
43581
7edb22ef
UD
43582 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43583 result of SYSDEP_GETTIME_CPU to retval.
43584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43585 parameter list to macro. Remove trailing semicolon. Adjust users.
43586
9694fc44
UD
43587 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43588 variable.
43589
8ad89ef8
UD
43590 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43591 mantissa words.
43592 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43593
0c822ef9
UD
43594 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43595 from unused variable.
43596
874e0564
UD
43597 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43598 DWARF definitions.
43599 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43600 for assembling.
43601
3a2edc79
UD
43602 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43603 over namespaces.
43604
f3c2577f
UD
43605 * sunrpc/rpc_prot.c (rejected): Fix case value.
43606
294ce126
UD
43607 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43608 unsigned long long int to avoid warnings in shift.
43609
5e2b63c6
UD
43610 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43611 of use of trans.
43612 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43613 variable tmp.
43614
e7f4b08e
UD
43615 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43616 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43617 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43618
ab26144e
UD
43619 * nis/nis_table.c (nis_list): Use variable of correct type for
43620 result of __follow_path call.
43621
8a6d5255
AZ
436222011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43623
43624 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43625 of math functions ceil, trunc, floor, round, and sqrt, when
43626 avaliable on the platform.
43627 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43628 name clash.
43629 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43630 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43631 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43632
aaddc98c
MP
436332011-10-30 Marek Polacek <mpolacek@redhat.com>
43634
43635 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43636 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43637
95b7042b
RM
436382011-11-11 Roland McGrath <roland@hack.frob.com>
43639
43640 * include/unistd.h: Fix __readlink return type.
43641 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43642
57769839
UD
436432011-11-11 Ulrich Drepper <drepper@gmail.com>
43644
43645 * stdlib/ucontext.h: Undo last change for makecontext.
43646
edc5984d
AS
436472011-11-11 Andreas Schwab <schwab@redhat.com>
43648
98591e58
AS
43649 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43650
edc5984d
AS
43651 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43652 * setjmp/setjmp.h: Mark functions as non-leaf.
43653 * setjmp/bits/setjmp2.h: Likewise.
43654 * stdlib/ucontext.h: Likewise.
43655
77cdc054
AS
436562011-11-10 Andreas Schwab <schwab@redhat.com>
43657
43658 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43659 (reused_arena): Don't check arena limit.
43660 (arena_get2): Atomically check arena limit.
43661
fe72eebd
UD
436622011-11-08 Ulrich Drepper <drepper@gmail.com>
43663
5f078c32
UD
43664 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43665 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43666
fe72eebd
UD
43667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43668 instructions.
43669
ae1bc2fa
AS
436702011-11-07 Andreas Schwab <schwab@redhat.com>
43671
7583a88d
AS
43672 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43673 handler when locking.
43674
ae1bc2fa
AS
43675 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43676 Fix size of allocated buffer.
43677
10fb0bfa
AS
436782011-11-04 Andreas Schwab <schwab@redhat.com>
43679
998832a4
AS
43680 [BZ #10103]
43681 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43682 declarations for long double functions.
43683 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43684
10fb0bfa
AS
43685 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43686
3d7ba52b
AS
436872011-11-03 Andreas Schwab <schwab@redhat.com>
43688
a9ae54a1
AS
43689 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43690 installed.
43691
3d7ba52b
AS
43692 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43693 is disabled.
43694
bc8db248
ST
436952011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43696
43697 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43698
45b96dd6
AS
436992011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43700
647776f6
AS
43701 * include/alloca.h (stackinfo_alloca_round): Define.
43702 (extend_alloca): Use it.
43703 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43704 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43705 here.
43706
d91a8b93
AS
43707 * scripts/check-local-headers.sh: Ignore libaudit.h.
43708
45b96dd6
AS
43709 * nscd/Makefile (extra-objs): Make recursively expanded.
43710
432d41ce
UD
437112011-11-01 Ulrich Drepper <drepper@gmail.com>
43712
34372fc6
UD
43713 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43714 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43715
fadb59f8
UD
43716 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43717 * posix/tst-rfc3484-2.c: Likewise.
43718 * posix/tst-rfc3484-3.c: Likewise.
43719
78239589
UD
43720 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43721 process_vm_writev.
43722 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43723 process_vm_writev.
43724 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43725 process_vm_writev from libc using GLIBC_2.15 version.
43726
432d41ce
UD
43727 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43728
02f9c6cf
PP
437292011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43730
43731 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43732 stack usage.
43733
3a2c0242
UD
437342011-10-31 Ulrich Drepper <drepper@gmail.com>
43735
f4ec4833
UD
43736 [BZ #13367]
43737 * nss/getent.c (initgroups_keys): Show error message in case no group
43738 names are given.
43739
3a2c0242
UD
43740 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43741 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43742 __bump_nl_timestamp.
43743 * nscd/connections (nscd_init): When host database is served open
43744 netlink socket and request notification about configuration changes.
43745 (main_loop_poll): Track netlink file descriptor and bump timestamp
43746 in case data becomes available.
43747 (main_loop_epoll): Likewise.
43748 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43749 (database_pers_head): Add extra_data fileds.
43750 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43751 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43752 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43753 Adjust caller.
43754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43755 in6ai data, call __free_in6ai.
43756 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43757 Add -DHAVE_NETLINK.
43758 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43759 interface information. Reuse previous data if netlink timestamp
43760 is not changed.
43761 (__bump_nl_timestamp): New function.
43762 (__free_in6ai): New function.
43763
636064eb
UD
437642011-10-30 Ulrich Drepper <drepper@gmail.com>
43765
43766 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43767 close_not_cancel_no_status here.
43768 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43769
9beb2334
UD
437702011-10-29 Ulrich Drepper <drepper@gmail.com>
43771
6ef76f3b
UD
43772 [BZ #13276]
43773 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43774 return value.
43775
0ffc4f3e 43776 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43777 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43778 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43779
cb95113e
UD
437802011-07-03 Andreas Jaeger <aj@suse.de>
43781
43782 [BZ #10709]
43783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43784 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43785 * math/libm-test.inc (sin_test): Add test case.
43786
a1b560ff
UD
437872011-10-29 Ulrich Drepper <drepper@gmail.com>
43788
c9aaface
UD
43789 [BZ #13337]
43790 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43791 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43792
d272e7f1
UD
43793 * elf/chroot_canon.c (chroot_canon): Cleanups.
43794
1bc33071
UD
43795 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43796
1760874d
TJ
43797 [BZ #13335]
43798 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43799 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43800
51d91b18
UD
43801 * string/test-strchr.c: Make usable for strchrnul testing.
43802 * string/test-strchrnul.c: New file.
43803 * string/Makefile (strop-tests): Add strchrnul.
43804
a1b560ff 43805 * po/it.po: Update from translation team.
b611fb81 43806 * po/es.po: Likewise.
a1b560ff 43807
a5b81e1f
UD
438082011-10-28 Ulrich Drepper <drepper@gmail.com>
43809
fd52bc6d
UD
43810 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43811 the three constants needed as parameters. Drop the others.
43812 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43813 __m128i_strloadu_tolower.
52e4b9eb
UD
43814 Create and initialize variable zero and use it in all the places
43815 where _mm_setzero_si128 was used.
fd52bc6d 43816
a5b81e1f
UD
43817 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43818 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43819 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43820 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43821 anymore.
43822 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43823 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43824 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43825 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43826 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43827 __mpranred, __mptan.
43828 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43829 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43830 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43831 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43832 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43833 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43834 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43835 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43836 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43837
b4343346
AS
438382011-10-28 Andreas Schwab <schwab@redhat.com>
43839
0c92d8a8
AS
43840 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43841 redefine if SHARED.
43842 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43843
b4343346
AS
43844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43845 wide char related routines to wcsmbs subdir.
43846
3871f58f
AS
438472011-10-27 Andreas Schwab <schwab@redhat.com>
43848
43849 [BZ #13344]
43850 * misc/sys/cdefs.h (__THROWNL): Define.
43851 * posix/unistd.h: Use __THREADNL instead of __THREAD
43852 for memory synchronization functions.
43853
94d44d9f
RM
438542011-10-26 Roland McGrath <roland@hack.frob.com>
43855
21b64b15 43856 [BZ #13349]
94d44d9f
RM
43857 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43858 doesn't exist.
43859 * manual/stdio.texi (Obstack Streams): Node removed.
43860
f6ce9294
AS
438612011-10-26 Andreas Schwab <schwab@redhat.com>
43862
80479147
AS
43863 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43864 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43865 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43866
f6ce9294
AS
43867 * math/math_private.h (math_force_eval): Allow non-addressable
43868 arguments.
43869 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43870
618280a1
UD
438712011-10-25 Ulrich Drepper <drepper@gmail.com>
43872
e0016b11
UD
43873 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43874 file is not needed.
43875
43876 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43878 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43879 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43880 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43882 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43883 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43884 Add AVX variants.
43885 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43886 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43887 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43888 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43889 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43890 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43891 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43892 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43893 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43894 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43895 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43896 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43897 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43898 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43899 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43900 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43901 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43902 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43903 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43904
43905 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43906 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43907
618280a1
UD
43908 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43909 place. Use VEX encoding when compiling for AVX.
43910
37822576
AS
439112011-10-25 Andreas Schwab <schwab@redhat.com>
43912
1f1e1947
AS
43913 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43914 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43915
37822576
AS
43916 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43917
31ea014d
UD
439182011-10-25 Ulrich Drepper <drepper@gmail.com>
43919
d7826aa1 43920 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43921 useless if() expression.
d7826aa1
UD
43922 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43923 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43924 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43925 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43926 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43927 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43930 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43931 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43932 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43933 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43934 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43935 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43936 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43937 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43938 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43939 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43940 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43941
31ea014d
UD
43942 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43943
16437fec
AS
439442011-10-25 Andreas Schwab <schwab@redhat.com>
43945
43946 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43947 condition.
43948 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43949
31d3cc00
UD
439502011-10-25 Ulrich Drepper <drepper@gmail.com>
43951
43952 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43953 .text section. Avoid duplicate constants.
43954 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43958 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43960 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43962 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43963 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43964 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43965 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43966 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43967 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43968 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43969 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43970 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43971 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43972 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43975 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43976 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43977 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43978 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43979 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43980 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43981 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43982 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43983 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43984 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43985 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43986 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43987 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43988 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43989 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43990 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43991 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43992 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43993 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43994 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43995 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43996 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43997 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43998 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43999
58985aa9
UD
440002011-10-24 Ulrich Drepper <drepper@gmail.com>
44001
202c9deb
UD
44002 * sysdeps/x86_64/dla.h: Move to ...
44003 * sysdeps/x86_64/fpu/dla.h: ...here.
44004 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44005 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 44006
af968f62
UD
44007 * config.make.in: Add have-mfma4 entry.
44008 * configure.in: Substitute libc_cv_cc_fma4.
44009 * math/Makefile (dbl-only-routines): Add sincostab.
44010 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44011 Use __sincostab not sincos.
44012 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44013 name is a macro.
44014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44018 using __copysign.
44019 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44020 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44021 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44022 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44023 and __inv.
44024 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44025 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44026 __copysign.
44027 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44028 define aliases when function name is a macro.
44029 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44030 sysdeps/ieee754/dbl-64/sincos.tbl.
44031 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44032 fma4-enabled routines.
44033 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44034 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44035 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44036 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44037 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44038 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44039 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44040 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44041 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44042 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44043 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44044 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44045 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44046 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44048 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44049 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44050 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44051 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44053 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44054 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44055 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44057 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44058 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44059 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44060 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44061 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44062 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44063
58985aa9
UD
44064 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44065 rename.
44066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44074
a201fbcf
AS
440752011-10-24 Andreas Schwab <schwab@redhat.com>
44076
44077 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44078
fc2ee42a
LD
440792011-10-23 Ulrich Drepper <drepper@gmail.com>
44080
bb3129bd
UD
44081 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44082
0275fff8
UD
44083 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44084 prediction.
44085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44086
2fa2ae85
UD
44087 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44088 Remove unused variable magic_bits.
44089 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44090
fc2ee42a
LD
44091 * string/strnlen.c: Define and use STRNLEN macro.
44092 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44093 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44094 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44095 * wcsmbs/wcslen.c: Define and use WCSLEN.
44096 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44097 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44098 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44099 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44100 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44101 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44102 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44103
ce7dd29f
LD
441042011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44105
44106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44107 strnlen-sse2-no-bsf.
44108 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44109 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44110 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44111 Add strnlen support.
44112 (USE_AS_STRNLEN): New macro.
44113 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44114 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44115 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44116 * sysdeps/x86_64/wcslen.S: New file.
44117
979c70a3
MZ
441182011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44119
44120 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44121 XMM-moves are used for copying on small sizes.
44122
2d09f82f
LD
441232011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44124
44125 * wcsmbs/Makefile (strop-tests): Add wcschr.
44126 * wcsmbs/test-wcschr.c: New file.
44127 * string/test-strchr.c: Update.
44128 Add wcschr support.
44129 (WIDE): New macro.
44130
619fccca
LD
441312011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44132
2d09f82f 44133 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44134 * wcsmbs/test-wcslen.c: New file.
44135 * string/test-strlen.c: Update.
44136 Add wcslen support.
44137 (WIDE): New macro.
44138
09f699ea
UD
441392011-10-23 Ulrich Drepper <drepper@gmail.com>
44140
44141 * po/it.po: Update from translation team.
44142
95584d3b
LD
441432011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44144
44145 * sysdeps/x86_64/wcscmp.S: Update.
44146 Fix wrong comparison semantics.
44147 wcscmp shall use signed comparison not unsigned.
44148 Don't use substraction to avoid overflow bug.
44149 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44150 * wcsmbc/wcscmp.c: Likewise.
44151 * string/test-strcmp.c: Likewise.
44152 Add new tests to check cases with negative values.
44153
c8b3296b
UD
441542011-10-23 Ulrich Drepper <drepper@gmail.com>
44155
44156 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44157 * sysdeps/x86_64/dla.h: ...here. New file.
44158 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44167
246ad57a
AS
441682011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44169
44170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44171 __ynl_finite aliases.
44172
a1a87169
UD
441732011-10-22 Ulrich Drepper <drepper@gmail.com>
44174
0d355eb7
UD
44175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44176
a1a87169
UD
44177 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44178 define DLA_FMA.
44179 [DLA_FMA] (EMULV): Use DLA_FMA.
44180 [DLA_FMA] (MUL12): Use EMULV.
44181 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44182 that are not needed.
44183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44187 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44190
ee2aafe0
AS
441912011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44192
44193 * math/s_nan.c: Undef __nan.
44194 * math/s_nanf.c: Undef __nanf.
44195 * math/s_nanl.c: Undef __nanl.
44196 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44197 "math_private.h".
44198
bc62c2fb
UD
441992011-10-22 Ulrich Drepper <drepper@gmail.com>
44200
77425c63
UD
44201 * math/s_catan.c: Add branch predictions.
44202 * math/s_catanf.c: Likewise.
44203 * math/s_catanh.c: Likewise.
44204 * math/s_catanhf.c: Likewise.
44205 * math/s_catanhl.c: Likewise.
44206 * math/s_catanl.c: Likewise.
44207 * math/s_cexp.c: Likewise.
44208 * math/s_cexpf.c: Likewise.
44209 * math/s_cexpl.c: Likewise.
44210 * math/s_clog.c: Likewise.
44211 * math/s_clog10.c: Likewise.
44212 * math/s_clog10f.c: Likewise.
44213 * math/s_clog10l.c: Likewise.
44214 * math/s_clogf.c: Likewise.
44215 * math/s_clogl.c: Likewise.
44216 * math/s_csqrt.c: Likewise.
44217 * math/s_csqrtf.c: Likewise.
44218 * math/s_csqrtl.c: Likewise.
44219 * math/s_ctanf.c: Likewise.
44220 * math/s_ctanh.c: Likewise.
44221 * math/s_ctanhf.c: Likewise.
44222 * math/s_ctanhl.c: Likewise.
44223 * math/s_ctanl.c: Likewise.
44224
bc62c2fb
UD
44225 * math/math_private.h: Define __nan, __nanf, __nanl.
44226 * math/s_cacosh.c: Include <math_private.h>.
44227 * math/s_cacoshl.c: Likewise.
44228 * math/s_casinh.c: Likewise.
44229 * math/s_casinhf.c: Likewise.
44230 * math/s_casinhl.c: Likewise.
44231 * math/s_ccos.c: Rely entire on ccosh.
44232 * math/s_ccosf.c: Rely entire on ccoshf.
44233 * math/s_ccosl.c: Rely entirely on ccoshl.
44234 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44235 Remove tests for FE_INVALID.
44236 * math/s_ccoshf.c: Likewise.
44237 * math/s_ccoshl.c: Likewise.
44238 * math/s_csin.c: Likewise.
44239 * math/s_csinf.c: Likewise.
44240 * math/s_csinh.c Likewise.
44241 * math/s_csinhf.c: Likewise.
44242 * math/s_csinhl.c: Likewise.
44243 * math/s_csinl.c: Likewise.
44244 * math/s_ctan.c: Likewise.
44245 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44246 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44247 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44248
8ec250a4
UD
442492011-10-21 Ulrich Drepper <drepper@gmail.com>
44250
c196fed8
UD
44251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44252 compilation problems.
44253
8ec250a4
UD
44254 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44255 __builtin_expect.
44256
8d4f46c6
UD
442572011-10-20 Ulrich Drepper <drepper@gmail.com>
44258
ed72b654
UD
44259 * sysdeps/i386/configure.in: Test for -mfma4 option.
44260 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44261 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44262 COMMON_CPUID_INDEX_80000001.
44263 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44264 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44265 use it if FMA3 is not supported.
44266 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44267
8d4f46c6
UD
44268 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44269 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44270
d45c60c2
AS
442712011-10-20 Andreas Schwab <schwab@redhat.com>
44272
44273 [BZ #12892]
44274 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44275 it would create a cycle with a link time dependency.
44276
d9a4d2ab
UD
442772011-10-19 Ulrich Drepper <drepper@gmail.com>
44278
855d1560
UD
44279 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44280 instruction.
44281 * string/Makefile (strop-tests): Add rawmemchr.
44282 * string/test-rawmemchr.c: New file.
44283
d9a4d2ab
UD
44284 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44286 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44287 when compiling str{,n}casecmp and when AVX is available. Hook up
44288 new optimized code in initializers.
44289
8f3b1ffe
AS
442902011-10-19 Andreas Schwab <schwab@redhat.com>
44291
44292 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44293 __feraiseexcept instead of feraiseexcept.
44294
d38f1dba
UD
442952011-10-18 Ulrich Drepper <drepper@gmail.com>
44296
d9a8d0ab
UD
44297 * math/math_private.h: Define defaults for libc_fetestexcept and
44298 libc_feupdateenv.
44299 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44300 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44301 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44302 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44303 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44304 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44305 libc_fetestexcept and libc_feupdateenv.
44306
4855e3dd
UD
44307 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44308 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44309 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44310 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44311 libc_feholdexcept_setround.
44312
581d30e3
UD
44313 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44314 Add s_nearbyint-c and s_nearbyintf-c.
44315 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44316 nearbyintf inlines.
44317 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44318 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44319 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44320 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44321
d38f1dba
UD
44322 * math/math_private.h: Define defaults for libc_fegetround,
44323 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44324 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44325 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44326 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44327 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44328 standard functions.
44329 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44330 Remove comments and hacks for old compiler versions.
44331 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44332 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44333 libc_feholdexceptl.
44334
caa6c9d8
AS
443352011-10-18 Andreas Schwab <schwab@redhat.com>
44336
44337 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44338 (__feraiseexcept_renamed): Add __NTH.
44339 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44340 namespace violations.
44341
97c066e6
UD
443422011-10-17 Ulrich Drepper <drepper@gmail.com>
44343
99ce7b04
UD
44344 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44345
1004d182
UD
44346 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44347
228a984d
UD
44348 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44349 recently added interfaces.
44350 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44351
c8553a6a
UD
44352 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44353 about macro parameter expansion.
44354
ed22dcf6
UD
44355 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44356 __NO_MATH_INLINES is defined. Cleanups.
44357
44358 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44359 and __floorf is target has SSE4.1.
44360 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44361 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44362 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44363 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44364
b171c137
UD
44365 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44366 name.
44367 (floorf): Likewise.
44368
97c066e6
UD
44369 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44370
629f62ef
AS
443712011-10-17 Andreas Schwab <schwab@redhat.com>
44372
49a43d80
AS
44373 * misc/sys/cdefs.h: Fix last change.
44374
629f62ef
AS
44375 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44376 database lookup.
44377
e453f6cd
UD
443782011-10-16 Ulrich Drepper <drepper@gmail.com>
44379
aa78043a
UD
44380 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44381
ad0f5cad
UD
44382 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44383 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44384 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44385 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44388 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44389 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44390 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44391 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44392 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44393 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44394 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44395 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44396 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44397 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44398 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44399 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44400 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44401 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44402 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44403 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44404
44405 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44406 ceil, ceilf, floor, floorf.
44407
44408 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44409 Perform IRELATIVE relocations last.
44410
e453f6cd
UD
44411 * elf/do-rel.h: Add another parameter nrelative, replacing the
44412 local variable with the same name. Change name of the function
44413 to end in Rel or Rela (uppercase).
44414 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44415 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44416 elf_dynamic_do_##reloc function.
44417
fd5bdc09
UD
444182011-10-15 Ulrich Drepper <drepper@gmail.com>
44419
79b195b5
UD
44420 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44421 is sufficient, at least on modern CPUs.
44422
d4a28569
UD
44423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44424
b61099b5
UD
44425 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44426 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44427
bcf01e6d
UD
44428 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44429 __expl_finite.
44430 * math/bits/math-finite.h: Add entries for exp.
44431 * math/e_expl.c: Add __*_finite alias.
44432 * sysdeps/i386/fpu/e_exp.S: Likewise.
44433 * sysdeps/i386/fpu/e_expf.S: Likewise.
44434 * sysdeps/i386/fpu/e_expl.c: Likewise.
44435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44436 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44437 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44439 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44440 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44441 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44442
ba1a0d59
UD
44443 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44444 is sufficient, at least on modern CPUs.
44445
fd5bdc09
UD
44446 * ctype/ctype-info.c (__ctype_init): Define.
44447 * include/ctype.h (__ctype_init): Declare.
44448 (__ctype_b_loc): The variable is always initialized.
44449 (__ctype_toupper_loc): Likewise.
44450 (__ctype_tolower_loc): Likewise.
44451 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44452 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44453
7872cfb0
AS
444542011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44455
b468825a
AS
44456 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44457
7872cfb0
AS
44458 * configure.in: Also look in $cxxmachine/include for C++ system
44459 headers.
44460
be13f7bf
LD
444612011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44462
44463 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44464 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44465 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44466 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44467 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44468 (USE_AS_WMEMCMP): New macro.
44469 Fixing indents.
44470 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44471 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44472 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44473 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44475 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44476 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44477 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44478 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44479 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44480 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44481 (USE_AS_WMEMCMP): New macro.
44482 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44483 * sysdeps/string/test-memcmp.c: Update.
44484 Fix simple_wmemcmp.
44485 Add new tests.
44486 * wcsmbs/wmemcmp.c: Update.
44487 (WMEMCMP): New macro.
44488 Fix overflow bug.
44489
556a2007
AJ
444902011-10-12 Andreas Jaeger <aj@suse.de>
44491
44492 [BZ #13268]
44493 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44494
538faaa7
UD
444952011-10-15 Ulrich Drepper <drepper@gmail.com>
44496
ab6737ff
UD
44497 * libio/iofwide.c (do_length): Avoid warning.
44498
538faaa7
UD
44499 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44500
396a21b1
UD
445012011-10-14 Ulrich Drepper <drepper@gmail.com>
44502
cdf2901f
UD
44503 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44504
38ad40ce
UD
44505 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44506 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44507 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44508 * sysdeps/i386/i686/fpu/e_log.S: New file.
44509 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44510 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44511
396a21b1
UD
44512 * ctype/ctype.h: Add support for inlined isXXX functions when
44513 compiling C++ code.
44514
6b1f68c9
AS
445152011-10-14 Andreas Schwab <schwab@redhat.com>
44516
349290c0
AS
44517 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44518
6b1f68c9
AS
44519 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44520
f2282d42
RM
445212011-10-13 Roland McGrath <roland@hack.frob.com>
44522
44523 [BZ #13291]
44524 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44525
5298ffa8
AS
445262011-10-13 Andreas Schwab <schwab@redhat.com>
44527
714fad23
AS
44528 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44529 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44530 feraiseexcept.
44531
81dcc7fb
AS
44532 * sysdeps/x86_64/memrchr.S: Check for zero size.
44533
5298ffa8
AS
44534 * string/stratcliff.c: Add memrchr tests.
44535
951fbcec
LD
445362011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44537
44538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44539 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44540 rawmemchr-sse2 rawmemchr-sse2-bsf.
44541 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44542 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44543 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44544 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44545 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44546 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44547 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44548 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44549 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44550 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44551 * string/memrchr.c (MEMRCHR): New macro.
44552
0ac5ae23
UD
445532011-10-12 Ulrich Drepper <drepper@gmail.com>
44554
44555 Add integration with gcc's -ffinite-math-only and optimize wrapper
44556 functions in libm.
44557 * Versions.def: Define GLIBC_2.15 version for libm.
44558 * math/Makefile (headers): Add bits/math-finite.h.
44559 * math/bits/math-finite.h: New file.
44560 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44561 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44562 * math/e_acoshl.c: Add __*_finite alias.
44563 * math/e_acosl.c: Likewise.
44564 * math/e_asinl.c: Likewise.
44565 * math/e_atan2l.c: Likewise.
44566 * math/e_atanhl.c: Likewise.
44567 * math/e_coshl.c: Likewise.
44568 * math/e_exp10.c: Likewise.
44569 * math/e_exp10f.c: Likewise.
44570 * math/e_exp10l.c: Likewise.
44571 * math/e_exp2l.c: Likewise.
44572 * math/e_fmodl.c: Likewise.
44573 * math/e_gammal_r.c: Likewise.
44574 * math/e_hypotl.c: Likewise.
44575 * math/e_j0l.c: Likewise.
44576 * math/e_j1l.c: Likewise.
44577 * math/e_jnl.c: Likewise.
44578 * math/e_lgammal_r.c: Likewise.
44579 * math/e_log10l.c: Likewise.
44580 * math/e_log2l.c: Likewise.
44581 * math/e_logl.c: Likewise.
44582 * math/e_powl.c: Likewise.
44583 * math/e_sinhl.c: Likewise.
44584 * math/e_sqrtl.c: Likewise.
44585 * math/e_scalb.c: Completely rewritten and optimized.
44586 * math/e_scalbf.c: Likewise.
44587 * math/e_scalbl.c: Likewise.
44588 * math/w_acos.c: Likewise.
44589 * math/w_acosf.c: Likewise.
44590 * math/w_acosl.c: Likewise.
44591 * math/w_acosh.c: Likewise.
44592 * math/w_acoshf.c: Likewise.
44593 * math/w_acoshl.c: Likewise.
44594 * math/w_asin.c: Likewise.
44595 * math/w_asinf.c: Likewise.
44596 * math/w_asinl.c: Likewise.
44597 * math/w_atan2.c: Likewise.
44598 * math/w_atan2f.c: Likewise.
44599 * math/w_atan2l.c: Likewise.
44600 * math/w_atanh.c: Likewise.
44601 * math/w_atanhf.c: Likewise.
44602 * math/w_atanhl.c: Likewise.
44603 * math/w_exp10.c: Likewise.
44604 * math/w_exp10f.c: Likewise.
44605 * math/w_exp10l.c: Likewise.
44606 * math/w_fmod.c: Likewise.
44607 * math/w_fmodf.c: Likewise.
44608 * math/w_fmodl.c: Likewise.
44609 * math/w_j0.c: Likewise.
44610 * math/w_j0f.c: Likewise.
44611 * math/w_j0l.c: Likewise.
44612 * math/w_j1.c: Likewise.
44613 * math/w_j1f.c: Likewise.
44614 * math/w_j1l.c: Likewise.
44615 * math/w_jn.c: Likewise.
44616 * math/w_jnf.c: Likewise.
44617 * math/w_log.c: Likewise.
44618 * math/w_logf.c: Likewise.
44619 * math/w_logl.c: Likewise.
44620 * math/w_log10.c: Likewise.
44621 * math/w_log10f.c: Likewise.
44622 * math/w_log10l.c: Likewise.
44623 * math/w_log2.c: Likewise.
44624 * math/w_log2f.c: Likewise.
44625 * math/w_log2l.c: Likewise.
44626 * math/w_pow.c: Likewise.
44627 * math/w_powf.c: Likewise.
44628 * math/w_powl.c: Likewise.
44629 * math/w_remainder.c: Likewise.
44630 * math/w_remainderf.c: Likewise.
44631 * math/w_remainderl.c: Likewise.
44632 * math/w_scalb.c: Likewise.
44633 * math/w_scalbf.c: Likewise.
44634 * math/w_scalbl.c: Likewise.
44635 * math/w_sqrt.c: Likewise.
44636 * math/w_sqrtf.c: Likewise.
44637 * math/w_sqrtl.c: Likewise.
44638 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44639 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44640 used.
44641 * math/math_private.h: Declare __kernel_standard_f.
44642 * math/w_cosh.c: Remove cruft and optimize a bit.
44643 * math/w_coshf.c: Likewise.
44644 * math/w_coshl.c: Likewise.
44645 * math/w_exp2.c: Likewise.
44646 * math/w_exp2f.c: Likewise.
44647 * math/w_exp2l.c: Likewise.
44648 * math/w_hypot.c: Likewise.
44649 * math/w_hypotf.c: Likewise.
44650 * math/w_hypotl.c: Likewise.
44651 * math/w_lgamma.c: Likewise.
44652 * math/w_lgamma_r.c: Likewise.
44653 * math/w_lgammaf.c: Likewise.
44654 * math/w_lgammaf_r.c: Likewise.
44655 * math/w_lgammal.c: Likewise.
44656 * math/w_lgammal_r.c: Likewise.
44657 * math/w_sinh.c: Likewise.
44658 * math/w_sinhf.c: Likewise.
44659 * math/w_sinhl.c: Likewise.
44660 * math/w_tgamma.c: Likewise.
44661 * math/w_tgammaf.c: Likewise.
44662 * math/w_tgammal.c: Likewise.
44663 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44664 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44665 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44666 Minor optimizations. Pretty printing. Remove cruft.
44667 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44668 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44669 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44670 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44671 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44672 * sysdeps/i386/fpu/e_asin.S: Likewise.
44673 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44674 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44675 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44676 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44677 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44678 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44679 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44680 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44681 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44682 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44683 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44684 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44685 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44686 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44687 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44688 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44689 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44690 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44691 * sysdeps/i386/fpu/e_log.S: Likewise.
44692 * sysdeps/i386/fpu/e_log10.S: Likewise.
44693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44694 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44695 * sysdeps/i386/fpu/e_log2.S: Likewise.
44696 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44697 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44698 * sysdeps/i386/fpu/e_logf.S: Likewise.
44699 * sysdeps/i386/fpu/e_logl.S: Likewise.
44700 * sysdeps/i386/fpu/e_pow.S: Likewise.
44701 * sysdeps/i386/fpu/e_powf.S: Likewise.
44702 * sysdeps/i386/fpu/e_powl.S: Likewise.
44703 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44704 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44705 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44706 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44707 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44709 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44710 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44711 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44712 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44713 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44715 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44716 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44717 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44718 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44719 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44720 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44721 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44722 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44723 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44725 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44726 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44729 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44732 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44733 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44734 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44736 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44737 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44738 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44739 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44740 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44741 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44742 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44743 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44744 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44745 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44746 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44747 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44748 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44749 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44750 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44751 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44752 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44753 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44754 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44755 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44756 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44757 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44758 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44759 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44760 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44761 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44762 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44763 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44764 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44765 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44766 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44767 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44769 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44770 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44771 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44772 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44776 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44778 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44779 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44780 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44781 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44782 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44783 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44784 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44785 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44786 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44788 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44789 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44791 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44792 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44793 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44794 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44795 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44796 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44797 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44798 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44799 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44800 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44801 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44803 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44804 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44805 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44806 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44807 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44808 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44809 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44810 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44811 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44812 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44813 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44814 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44815 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44816 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44817 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44818 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44820 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44821 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44822 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44823 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44824 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44825 (__isnanf): Likewise.
44826 (__isinf_ns): Likewise.
44827 (__isinf_nsf): Likewise.
44828 (__finite): Likewise.
44829 (__finitef): Likewise.
44830 (__ieee754_sqrt): Define as macro.
44831 (__ieee754_sqrtf): Define as macro.
44832 (__ieee754_sqrtl): Define as macro.
44833 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44834 inlined copy.
44835 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44836 __FINITE_MATH_ONLY__ consistent.
44837 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44838
12cc2fcd
AS
448392011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44840
a843a204
AS
44841 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44842 of rawmemchr.
44843
12cc2fcd
AS
44844 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44845
c853acd5
UD
448462011-10-09 Ulrich Drepper <drepper@gmail.com>
44847
44848 * po/ja.po: Update from translation team.
44849
c658d255
RM
448502011-10-08 Roland McGrath <roland@hack.frob.com>
44851
110946e4
RM
44852 * locale/programs/locarchive.c (prepare_address_space): New function.
44853 (create_archive, enlarge_archive, open_archive): Use it.
44854
50604220
RM
44855 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44856 inside [SHARED], where it is used.
44857
c658d255
RM
44858 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44859
44860 * nss/getent.c (netgroup_keys): Remove unused variable.
44861 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44862
6a621eb7
UD
448632011-10-08 Ulrich Drepper <drepper@gmail.com>
44864
7edb55ce
UD
44865 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44866 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44867 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44868 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44869 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44870 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44871 * math/Makefile (libm-calls): Add s_isinf_ns.
44872 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44873 * math/multc3.c: Likewise.
44874 * math/s_casin.c: Likewise.
44875 * math/s_casinf.c: Likewise.
44876 * math/s_casinl.c: Likewise.
44877 * math/s_ccos.c: Likewise.
44878 * math/s_ccosf.c: Likewise.
44879 * math/s_ccosl.c: Likewise.
44880 * math/s_ctan.c: Likewise.
44881 * math/s_ctanf.c: Likewise.
44882 * math/s_ctanh.c: Likewise.
44883 * math/s_ctanhf.c: Likewise.
44884 * math/s_ctanhl.c: Likewise.
44885 * math/s_ctanl.c: Likewise.
44886 * math/w_fmod.c: Likewise.
44887 * math/w_fmodf.c: Likewise.
44888 * math/w_fmodl.c: Likewise.
44889 * math/w_remainder.c: Likewise.
44890 * math/w_remainderf.c: Likewise.
44891 * math/w_remainderl.c: Likewise.
44892 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44893 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44896 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44897 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44898 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44899 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44900
187da0ae
UD
44901 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44902 of the number.
44903 * stdio-common/printf_fphex.c: Likewise.
44904 * stdio-common/printf_size.c: Likewise.
44905
9277c064
UD
44906 * math/e_exp10.c: Include math_private.h using <...> not "...".
44907 * math/e_exp10f.c: Likewise.
44908 * math/e_exp10l.c: Likewise.
44909 * math/e_exp2l.c: Likewise.
44910 * math/e_j0l.c: Likewise.
44911 * math/e_j1l.c: Likewise.
44912 * math/e_jnl.c: Likewise.
44913 * math/e_lgammal_r.c: Likewise.
44914 * math/e_rem_pio2l.c: Likewise.
44915 * math/e_scalb.c: Likewise.
44916 * math/e_scalbf.c: Likewise.
44917 * math/e_scalbl.c: Likewise.
44918 * math/k_cosl.c: Likewise.
44919 * math/k_sinl.c: Likewise.
44920 * math/k_tanl.c: Likewise.
44921 * math/s_cacoshf.c: Likewise.
44922 * math/s_catan.c: Likewise.
44923 * math/s_catanf.c: Likewise.
44924 * math/s_catanh.c: Likewise.
44925 * math/s_catanhf.c: Likewise.
44926 * math/s_catanhl.c: Likewise.
44927 * math/s_catanl.c: Likewise.
44928 * math/s_ccosh.c: Likewise.
44929 * math/s_ccoshf.c: Likewise.
44930 * math/s_ccoshl.c: Likewise.
44931 * math/s_cexp.c: Likewise.
44932 * math/s_cexpf.c: Likewise.
44933 * math/s_cexpl.c: Likewise.
44934 * math/s_clog.c: Likewise.
44935 * math/s_clog10.c: Likewise.
44936 * math/s_clog10f.c: Likewise.
44937 * math/s_clog10l.c: Likewise.
44938 * math/s_clogf.c: Likewise.
44939 * math/s_clogl.c: Likewise.
44940 * math/s_csin.c: Likewise.
44941 * math/s_csinf.c: Likewise.
44942 * math/s_csinh.c: Likewise.
44943 * math/s_csinhf.c: Likewise.
44944 * math/s_csinhl.c: Likewise.
44945 * math/s_csinl.c: Likewise.
44946 * math/s_csqrt.c: Likewise.
44947 * math/s_csqrtf.c: Likewise.
44948 * math/s_csqrtl.c: Likewise.
44949 * math/s_ctan.c: Likewise.
44950 * math/s_ctanf.c: Likewise.
44951 * math/s_ctanh.c: Likewise.
44952 * math/s_ctanhf.c: Likewise.
44953 * math/s_ctanhl.c: Likewise.
44954 * math/s_ctanl.c: Likewise.
44955 * math/s_ldexp.c: Likewise.
44956 * math/s_ldexpf.c: Likewise.
44957 * math/s_ldexpl.c: Likewise.
44958 * math/s_significand.c: Likewise.
44959 * math/s_significandf.c: Likewise.
44960 * math/s_significandl.c: Likewise.
44961 * math/w_acos.c: Likewise.
44962 * math/w_acosf.c: Likewise.
44963 * math/w_acosh.c: Likewise.
44964 * math/w_acoshf.c: Likewise.
44965 * math/w_acoshl.c: Likewise.
44966 * math/w_acosl.c: Likewise.
44967 * math/w_asin.c: Likewise.
44968 * math/w_asinf.c: Likewise.
44969 * math/w_asinl.c: Likewise.
44970 * math/w_atan2.c: Likewise.
44971 * math/w_atan2f.c: Likewise.
44972 * math/w_atan2l.c: Likewise.
44973 * math/w_atanh.c: Likewise.
44974 * math/w_atanhf.c: Likewise.
44975 * math/w_atanhl.c: Likewise.
44976 * math/w_cosh.c: Likewise.
44977 * math/w_coshf.c: Likewise.
44978 * math/w_coshl.c: Likewise.
44979 * math/w_dremf.c: Likewise.
44980 * math/w_exp10.c: Likewise.
44981 * math/w_exp10f.c: Likewise.
44982 * math/w_exp10l.c: Likewise.
44983 * math/w_exp2.c: Likewise.
44984 * math/w_exp2f.c: Likewise.
44985 * math/w_fmod.c: Likewise.
44986 * math/w_fmodf.c: Likewise.
44987 * math/w_fmodl.c: Likewise.
44988 * math/w_hypot.c: Likewise.
44989 * math/w_hypotf.c: Likewise.
44990 * math/w_hypotl.c: Likewise.
44991 * math/w_j0.c: Likewise.
44992 * math/w_j0f.c: Likewise.
44993 * math/w_j0l.c: Likewise.
44994 * math/w_j1.c: Likewise.
44995 * math/w_j1f.c: Likewise.
44996 * math/w_j1l.c: Likewise.
44997 * math/w_jn.c: Likewise.
44998 * math/w_jnf.c: Likewise.
44999 * math/w_jnl.c: Likewise.
45000 * math/w_lgamma.c: Likewise.
45001 * math/w_lgamma_r.c: Likewise.
45002 * math/w_lgammaf.c: Likewise.
45003 * math/w_lgammaf_r.c: Likewise.
45004 * math/w_lgammal.c: Likewise.
45005 * math/w_lgammal_r.c: Likewise.
45006 * math/w_log.c: Likewise.
45007 * math/w_log10.c: Likewise.
45008 * math/w_log10f.c: Likewise.
45009 * math/w_log10l.c: Likewise.
45010 * math/w_log2.c: Likewise.
45011 * math/w_log2f.c: Likewise.
45012 * math/w_log2l.c: Likewise.
45013 * math/w_logf.c: Likewise.
45014 * math/w_logl.c: Likewise.
45015 * math/w_pow.c: Likewise.
45016 * math/w_powf.c: Likewise.
45017 * math/w_powl.c: Likewise.
45018 * math/w_remainder.c: Likewise.
45019 * math/w_remainderf.c: Likewise.
45020 * math/w_remainderl.c: Likewise.
45021 * math/w_scalb.c: Likewise.
45022 * math/w_scalbf.c: Likewise.
45023 * math/w_scalbl.c: Likewise.
45024 * math/w_sinh.c: Likewise.
45025 * math/w_sinhf.c: Likewise.
45026 * math/w_sinhl.c: Likewise.
45027 * math/w_sqrt.c: Likewise.
45028 * math/w_sqrtf.c: Likewise.
45029 * math/w_sqrtl.c: Likewise.
45030 * math/w_tgamma.c: Likewise.
45031 * math/w_tgammaf.c: Likewise.
45032 * math/w_tgammal.c: Likewise.
45033
6a621eb7
UD
45034 * po/ja.po: Update from translation team.
45035
bf582445
AJ
450362011-09-29 Andreas Jaeger <aj@suse.de>
45037
f9efbf3a
AJ
45038 [BZ #13179]
45039 * sunrpc/netname.c (netname2host): Fix logic.
45040
bf582445
AJ
45041 [BZ #6779]
45042 [BZ #6783]
45043 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45044 correctly.
45045 * math/w_remainder.c (__remainder): Likewise.
45046 * math/w_remainderf.c (__remainderf): Likewise.
45047 * math/libm-test.inc (remainder_test): Add test cases.
45048
48693bea
AK
450492011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45050
45051 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45052 sdiv_qrnnd.
45053
42622229
LD
450542011-10-07 Ulrich Drepper <drepper@gmail.com>
45055
45056 * string/test-memcmp.c: Avoid unncessary #defines.
45057 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45058
093ecf92
LD
450592011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45060
45061 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45062 Use new sse2 version for core i3 - i7 as it's faster
45063 than sse42 version.
45064 (bit_Prefer_PMINUB_for_stringop): New.
45065 * sysdeps/x86_64/rawmemchr.S: Update.
45066 Replace with faster SSE2 version.
45067 * sysdeps/x86_64/memrchr.S: New file.
45068 * sysdeps/x86_64/memchr.S: Update.
45069 Replace with faster SSE2 version.
45070
fde56e5c
MP
450712011-09-12 Marek Polacek <mpolacek@redhat.com>
45072
45073 * elf/dl-load.c (lose): Add cast to avoid warning.
45074
21fd49a9
UD
450752011-10-07 Ulrich Drepper <drepper@gmail.com>
45076
5a06e643
UD
45077 * po/ca.po: Update from translation team.
45078
684ae515
UD
45079 * inet/getnetgrent_r.c: Hook up nscd.
45080 * nscd/Makefile (routines): Add nscd_netgroup.
45081 (nscd-modules): Add netgroupcache.
45082 (CFLAGS-netgroupcache.c): Define.
45083 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45084 (cache_search): Add const to second parameter.
45085 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45086 INNETGR.
45087 (dbs): Add netgrdb entry.
45088 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45089 (verify_persistent_db): Handle netgrdb.
45090 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45091 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45092 GETFDNETGR.
45093 (netgroup_response_header): Define.
45094 (innetgroup_response_header): Define.
45095 (datahead): Add netgroup_response_header and innetgroup_response_header
45096 elements.
45097 * nscd/nscd.conf: Add entries for netgroup cache.
45098 * nscd/nscd.h (dbtype): Add netgrdb.
45099 (_PATH_NSCD_NETGROUP_DB): Define.
45100 (netgroup_iov_disabled): Declare.
45101 (xmalloc, xcalloc, xrealloc): Move declarations here.
45102 (cache_search): Adjust prototype.
45103 Add netgroup-related prototypes.
45104 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45105 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45106 (__nscd_innetgr): Declare.
45107 * nscd/selinux.c (perms): Use access_vector_t as element type and
45108 add netgroup-related initializers.
45109 * nscd/netgroupcache.c: New file.
45110 * nscd/nscd_netgroup.c: New file.
45111 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45112 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45113 For four parameters use innetgr.
45114 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45115 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45116 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45117 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45118
21fd49a9
UD
45119 * nscd/connections.c (register_traced_file): Don't register file
45120 for disabled databases.
45121
054c0457
UD
451222011-10-06 Ulrich Drepper <drepper@gmail.com>
45123
32b63198
UD
45124 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45125
054c0457
UD
45126 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45127 from tree and freeing node.
45128
64031225
JO
451292011-09-25 Jiri Olsa <jolsa@redhat.com>
45130
45131 * nss/nsswitch.c (__nss_database_lookup): Handle
45132 nss_parse_service_list out of memory case.
45133
0490345c
JO
451342011-09-15 Jiri Olsa <jolsa@redhat.com>
45135
45136 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45137 out of memory case.
45138
3a62d00d
AS
451392011-10-04 Andreas Schwab <schwab@redhat.com>
45140
45141 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45142 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45143 pass it down.
45144 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45145 elf_machine_rela, elf_machine_lazy_rel.
45146 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45147 (ELF_DYNAMIC_DO_REL): Likewise.
45148 (ELF_DYNAMIC_DO_RELA): Likewise.
45149 (ELF_DYNAMIC_RELOCATE): Likewise.
45150 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45151 to ELF_DYNAMIC_DO_REL.
45152 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45153 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45154 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45155 elf_machine_rela.
45156 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45157 skip_ifunc, don't call ifunc function if non-zero.
45158 (elf_machine_rela): Likewise.
45159 (elf_machine_lazy_rel): Likewise.
45160 (elf_machine_lazy_rela): Likewise.
45161 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45162 (elf_machine_lazy_rel): Likewise.
45163 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45164 Likewise.
45165 (elf_machine_lazy_rel): Likewise.
45166 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45167 Likewise.
45168 (elf_machine_lazy_rel): Likewise.
45169 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45170 (elf_machine_lazy_rel): Likewise.
45171 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45172 (elf_machine_lazy_rel): Likewise.
45173 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45174 (elf_machine_lazy_rel): Likewise.
45175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45176 (elf_machine_lazy_rel): Likewise.
45177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45178 (elf_machine_lazy_rel): Likewise.
45179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45180 (elf_machine_lazy_rel): Likewise.
45181
68577918
UD
451822011-09-28 Ulrich Drepper <drepper@gmail.com>
45183
45184 * nss/nss_files/files-init.c (_nss_files_init): Use static
45185 initialization for all the *_traced_file variables.
45186
68822d74
AS
451872011-09-28 Andreas Schwab <schwab@redhat.com>
45188
45189 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45190
2056100b
RM
451912011-09-27 Roland McGrath <roland@hack.frob.com>
45192
45193 [BZ #13226]
45194 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45195
32c76b63
AS
451962011-09-27 Andreas Schwab <schwab@redhat.com>
45197
45198 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45199 Reread the line before reparsing it.
45200
bf972c9d
AS
452012011-09-26 Andreas Schwab <schwab@redhat.com>
45202
45203 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45204
e057a1b5
JM
452052011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45206 Maxim Kuvyrkov <maxim@codesourcery.com>
45207 Joseph Myers <joseph@codesourcery.com>
45208
45209 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45210 if needed for __stack_chk_guard.
45211
bc7e1c36
RM
452122011-09-19 Roland McGrath <roland@hack.frob.com>
45213
ecb1482f
RM
45214 * sysdeps/posix/spawni.c (script_execute): Always define it.
45215 It will be optimized away if unused.
45216 (maybe_script_execute): New function.
45217 (__spawni): Call it.
45218
bc7e1c36
RM
45219 * Makerules: Don't include tls.make.
45220 (config-tls): Always set to thread.
45221 * tls.make.c: File removed.
45222
1c3b002b
MF
452232011-09-19 Mike Frysinger <vapier@gentoo.org>
45224
45225 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45226 * config.make.in (CPPFLAGS-config): New substituted variable.
45227
2840865d
UD
452282011-09-15 Ulrich Drepper <drepper@gmail.com>
45229
88738eb6
UD
45230 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45231
cbf645a6 45232 [BZ #13192]
2840865d
UD
45233 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45234 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45235
b402e91a
RM
452362011-09-15 Roland McGrath <roland@hack.frob.com>
45237
45238 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45239 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45241 (CALL_FAIL): Likewise.
45242 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45243 (CALL_FAIL): Macro removed.
45244 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45245
4c1a1f71
UD
452462011-09-15 Ulrich Drepper <drepper@gmail.com>
45247
45248 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45249 for __FINITE_MATH_ONLY__ == 1.
45250
edc121be
AS
452512011-09-15 Andreas Schwab <schwab@redhat.com>
45252
45253 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45254 __ieee754_sqrt instead of sqrt.
45255 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45256 __ieee754_sqrtf instead of sqrtf.
45257 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45258 __floorf instead of floorf.
45259 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45260 __floorf, __truncf instead of floorf, truncf.
45261
cd205654
UD
452622011-09-14 Ulrich Drepper <drepper@gmail.com>
45263
ee4d0315
UD
45264 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45265
cd205654
UD
45266 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45267 __extern_always_inline.
45268 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45269 32-bit.
45270
48b67d71
AS
452712011-09-14 Andreas Schwab <schwab@redhat.com>
45272
45273 * elf/rtld.c (dl_main): Also relocate in dependency order when
45274 doing symbol dependency testing.
45275
1ae12c75
AS
452762011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45277
45278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45279 Always define `refsym'.
45280
995a80df
AS
452812011-09-13 Andreas Schwab <schwab@redhat.com>
45282
e529793b
AS
45283 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45284 (__FD_ELT): Renamed from __FDELT.
45285 * misc/bits/select2.h (__FD_ELT): Likewise.
45286 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45287 __FD_MASK instead of __FDELT, __FDMASK.
45288 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45289 Likewise.
45290 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45291 Likewise.
45292
52d4fef8
AS
45293 * elf/Makefile (gen-ldd): Fix pattern.
45294
995a80df
AS
45295 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45296 (init_tls): Likewise.
45297
8682f8b0
UD
452982011-09-12 Ulrich Drepper <drepper@gmail.com>
45299
45300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45301
de82006d
AS
453022011-09-12 Andreas Schwab <schwab@redhat.com>
45303
a7c8e6a1
AS
45304 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45305 `struct cmsghdr *' instead of `void *'.
45306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45307 Likewise.
45308
0f31fe77
AS
453092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45310
45311 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45312 if non-absolute.
45313 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45314 ldd_rewrite_script.
0f31fe77 45315
32b4c839
UD
453162011-09-11 Ulrich Drepper <drepper@gmail.com>
45317
83cd1420
UD
45318 * configure.in: Remove --with-tls option.
45319 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45320 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45321 out in case it is missing.
45322 * sysdeps/ia64/elf/configure.in: Likewise.
45323 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45324 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45325 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45326 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45327 * sysdeps/sh/elf/configure.in: Likewise.
45328 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45329 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45330 * sysdeps/x86_64/elf/configure.in: Likewise.
45331 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45332 * sysdeps/mach/hurd/tls.h: Likewise.
45333
633f745d
UD
45334 [BZ #13067]
45335 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45336
f318beb8
UD
45337 [BZ #13090]
45338 * configure.in: Fix use of AC_INIT.
45339
32b4c839
UD
45340 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45341
3ce1f295
UD
453422011-09-10 Ulrich Drepper <drepper@gmail.com>
45343
bb016596
UD
45344 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45345 __set_errno.
8e58439c
UD
45346 * malloc/hooks.c: Likewise.
45347
aebae053 45348 [BZ #11929]
02d46fc4
UD
45349 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45350 variables statically.
45351 (narenas): Initialize.
45352 (list_lock): Initialize.
bb016596
UD
45353 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45354 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45355 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45356 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45357 Add initializers to main_arena and mp_.
45358 (malloc_state): Remove pagesize member. Change all users to use
45359 GLRO(dl_pagesize).
45360
45361 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45362 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45363 is always initialized.
45364
22a89187
UD
45365 * malloc/malloc.c: Removed unused configurations and dead code.
45366 * malloc/arena.c: Likewise.
45367 * malloc/hooks.c: Likewise.
02d46fc4 45368 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45369
d063d164
UD
45370 * include/tls.h: Removed. USE___THREAD must always be defined.
45371 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45372 * elf/dl-libc.c: Likewise.
45373 * elf/dl-tsd.c: Likewise.
45374 * include/errno.h: Likewise.
45375 * include/netdb.h: Likewise.
45376 * include/resolv.h: Likewise.
45377 * inet/herrno-loc.c: Likewise.
45378 * inet/herrno.c: Likewise.
45379 * malloc/arena.c: Likewise.
45380 * malloc/hooks.c: Likewise.
45381 * malloc/malloc.c: Likewise.
45382 * resolv/res-state.c: Likewise.
45383 * resolv/res_libc.c: Likewise.
45384 * sysdeps/i386/dl-machine.h: Likewise.
45385 * sysdeps/ia64/dl-machine.h: Likewise.
45386 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45387 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45388 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45389 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45390 * sysdeps/sh/dl-machine.h: Likewise.
45391 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45392 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45393 * sysdeps/unix/i386/sysdep.S: Likewise.
45394 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45395 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45396 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45399 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45400 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45404 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45405 * sysdeps/x86_64/dl-machine.h: Likewise.
45406 * tls.make.c: Likewise.
45407
3ce1f295
UD
45408 * configure.in: Remove --with-__thread option. Make tests for
45409 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45410 tls_model attribute fail if no support is available. Remove
45411 USE_IN_LIBIO.
45412 * Makeconfig: Adjust for dropped configure option. All features are
45413 now mandatory.
45414 * Makerules: Likewise.
45415 * Versions.def: Likewise.
45416 * argp/argp-fmtstream.c: Likewise.
45417 * argp/argp-fmtstream.h: Likewise.
45418 * argp/argp-help.c: Likewise.
45419 * assert/assert.c: Likewise.
45420 * config.h.in: Likewise.
45421 * config.make.in: Likewise.
45422 * configure: Likewise.
45423 * configure.in: Likewise.
45424 * csu/Versions: Likewise.
45425 * csu/init.c: Likewise.
45426 * elf/tst-audit2.c: Likewise.
45427 * elf/tst-tls10.c: Likewise.
45428 * elf/tst-tls10.h: Likewise.
45429 * elf/tst-tls11.c: Likewise.
45430 * elf/tst-tls12.c: Likewise.
45431 * elf/tst-tls14.c: Likewise.
45432 * elf/tst-tlsmod11.c: Likewise.
45433 * elf/tst-tlsmod12.c: Likewise.
45434 * elf/tst-tlsmod13.c: Likewise.
45435 * elf/tst-tlsmod13a.c: Likewise.
45436 * elf/tst-tlsmod14a.c: Likewise.
45437 * elf/tst-tlsmod15b.c: Likewise.
45438 * elf/tst-tlsmod16a.c: Likewise.
45439 * elf/tst-tlsmod16b.c: Likewise.
45440 * elf/tst-tlsmod7.c: Likewise.
45441 * elf/tst-tlsmod8.c: Likewise.
45442 * elf/tst-tlsmod9.c: Likewise.
45443 * gmon/gmon.c: Likewise.
45444 * grp/fgetgrent_r.c: Likewise.
45445 * grp/putgrent.c: Likewise.
45446 * hurd/fopenport.c: Likewise.
45447 * include/libc-symbols.h: Likewise.
45448 * include/tls.h: Likewise.
45449 * intl/gettextP.h: Likewise.
45450 * intl/loadinfo.h: Likewise.
45451 * locale/global-locale.c: Likewise.
45452 * locale/localeinfo.h: Likewise.
45453 * mach/devstream.c: Likewise.
45454 * malloc/arena.c: Likewise.
45455 * malloc/set-freeres.c: Likewise.
45456 * misc/err.c: Likewise.
45457 * misc/getttyent.c: Likewise.
45458 * misc/mntent_r.c: Likewise.
45459 * posix/getopt.c: Likewise.
45460 * posix/wordexp.c: Likewise.
45461 * pwd/fgetpwent_r.c: Likewise.
45462 * resolv/Versions: Likewise.
45463 * resolv/res_hconf.c: Likewise.
45464 * shadow/fgetspent_r.c: Likewise.
45465 * shadow/putspent.c: Likewise.
45466 * stdio-common/printf_fphex.c: Likewise.
45467 * stdio-common/tmpfile.c: Likewise.
45468 * stdlib/abort.c: Likewise.
45469 * stdlib/fmtmsg.c: Likewise.
45470 * sunrpc/auth_unix.c: Likewise.
45471 * sunrpc/clnt_perr.c: Likewise.
45472 * sunrpc/clnt_tcp.c: Likewise.
45473 * sunrpc/clnt_udp.c: Likewise.
45474 * sunrpc/clnt_unix.c: Likewise.
45475 * sunrpc/openchild.c: Likewise.
45476 * sunrpc/svc_simple.c: Likewise.
45477 * sunrpc/svc_tcp.c: Likewise.
45478 * sunrpc/svc_udp.c: Likewise.
45479 * sunrpc/svc_unix.c: Likewise.
45480 * sunrpc/xdr.c: Likewise.
45481 * sunrpc/xdr_array.c: Likewise.
45482 * sunrpc/xdr_rec.c: Likewise.
45483 * sunrpc/xdr_ref.c: Likewise.
45484 * sunrpc/xdr_stdio.c: Likewise.
45485
1248c1c4
PB
454862011-09-09 Ulrich Drepper <drepper@gmail.com>
45487
45488 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45489
454902011-07-03 Andreas Jaeger <aj@suse.de>
45491
45492 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45493 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45494 regenerate with gen-libm-tests.pl.
45495
454962010-05-12 Petr Baudis <pasky@suse.cz>
45497
45498 [BZ #11589]
45499 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45500 around j0() zero points by switching to j1().
45501 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45502 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45504 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45505
f22e1074
UD
455062011-09-09 Ulrich Drepper <drepper@gmail.com>
45507
f19009c1
UD
45508 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45509 instead of 0.
45510 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45511 instead of 0.
f19009c1
UD
45512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45513 Patch in part by Pavel Roskin <proski@gnu.org>.
45514
3f8cc204
UD
45515 [BZ #13138]
45516 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45517 realloc.
45518 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45519 Free memory block if necessary.
45520
f22e1074
UD
45521 [BZ #12847]
45522 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45523 be NULL. Don't lock in this case.
45524
0a2349f9
RM
455252011-09-09 Roland McGrath <roland@hack.frob.com>
45526
45527 * elf/elf.h (ELFOSABI_GNU): New macro.
45528 (ELFOSABI_LINUX): Define to that.
45529
f3cdd467
DZ
455302011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45531
45532 * string/strncat.c (strncat): Undef the symbol in case it has been
45533 defined in bits/string.h.
45534
74718d13
UD
455352011-09-09 Ulrich Drepper <drepper@gmail.com>
45536
633e9e0f
UD
45537 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45538
0a2349f9 45539 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45540 link map.
45541
f9924780
AJ
455422011-08-17 Andreas Jaeger <aj@suse.de>
45543
45544 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45545
7f5517aa
PP
455462011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45547 Ian Lance Taylor <iant@google.com>
45548
45549 * math/libm-test.inc (lround_test): New testcase.
45550 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45551
762011fe
UD
455522011-09-08 Ulrich Drepper <drepper@gmail.com>
45553
92963737
UD
45554 * Makefile: Remove support for automatic cvs check-ins.
45555 * Makerules: Likewise.
45556 * config.make.in: Likewise.
45557 * configure.in: Likewise.
45558 * intl/Makefile: Likewise.
45559 * locale/Makefile: Likewise.
45560 * po/Makefile: Likewise.
45561 * posix/Makefile: Likewise.
45562 * sysdeps/gnu/Makefile: Likewise.
45563 * sysdeps/mach/hurd/Makefile: Likewise.
45564 * sysdeps/sparc/sparc32/Makefile: Likewise.
45565
b0727fd8
JS
45566 [BZ #13118]
45567 * posix/Makefile (bug-regex32-ENV): Define.
45568 Patch by John Stanley <jpsinthemix@verizon.net>.
45569
a0f33f99
UD
45570 * misc/Makefile (headers): Add bits/select2.h.
45571 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45572 * misc/bits/select2.h: New file.
45573 * include/bits/select2.h: New file.
45574 * debug/Makefile (routines): Add fdelt_chk.
45575 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45576 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45577 FD_ISSET.
45578 * debug/fdelt_chk.c: New file.
45579
762011fe
UD
45580 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45581 * wcsmbs/test-wmemcmp.c: Likewise.
45582 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45583 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45584
455852011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45586
45587 * string/Makefile (strop-tests): Add memcmp.
45588 * string/test-wmemcmp.c: New file.
45589 * string/test-memcmp.c: Add wmemcmp support.
45590
7f513ec8
RM
455912011-09-08 Roland McGrath <roland@hack.frob.com>
45592
0442afb4
RM
45593 [BZ #13153]
45594 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45595 2011-07-19 change.
45596
7f513ec8
RM
45597 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45598 garbage value in a __mach_port_mod_refs call in the cases of the
45599 task-self and thread-self ports.
45600
a12b2239
ST
456012011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45602
45603 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45604
610f9ab4
AS
456052011-09-08 Andreas Schwab <schwab@redhat.com>
45606
7f513ec8 45607 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45608
48882a1a
LD
456092011-09-07 Ulrich Drepper <drepper@gmail.com>
45610
b49865be
UD
45611 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45612
fdc86bc9
UD
45613 * elf/dl-libc.c (dlerror_run): Pass back error code from
45614 dl_catch_error.
45615
c966526a
UD
45616 [BZ #13123]
45617 * elf/dl-load.c (lose): Free l_origin if it is valid.
45618
48882a1a
LD
45619 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45620 names.
45621 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45622 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45623 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45624 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45625 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45626 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45627
77a2a8b4
AZ
456282011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45629
45630 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45631 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45632 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45633 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45634 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45635 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45636 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45637 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45638 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45639 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45640
24f579d8
AM
456412011-08-15 Alan Modra <amodra@gmail.com>
45642
45643 [BZ #13092]
45644 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45645 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45646 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45647 ppc_mcount to static-only-routines.
45648 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45649 __mcount_internal.
45650 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45651 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45652
3d4837df
UD
456532011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45654
45655 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45656 for finite and infinity parameters.
45657
22700377
WS
456582011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45659
45660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45661 and add nop instructions for throughput optimization.
45662 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45663
5025581e
WS
456642011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45665
45666 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45667 aligned copy for power7 with vector-scalar instructions.
45668 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45669
08a300c9
L
456702011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45671
45672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45673 AVX check.
45674
59178ef9
AS
456752011-09-07 Andreas Schwab <schwab@redhat.com>
45676
45677 [BZ #13144]
45678 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45679 last change.
45680
e38ba7ab
UD
456812011-09-07 Ulrich Drepper <drepper@gmail.com>
45682
45683 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45684 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45685 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45687 clock_gettime.
45688
d53a73ac
UD
456892011-09-06 Ulrich Drepper <drepper@gmail.com>
45690
fc8bffcc
UD
45691 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45692 Forgot to demangle the pointer.
45693
ceaa0c5d
UD
45694 * sysdeps/i386/sysdep.h: Define atom_text_section.
45695 * sysdeps/x86_64/sysdep.h: Likewise.
45696 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45697 section with atom_text_section.
45698 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45699 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45700 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45701 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45702 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45703
a77d3c17
UD
45704 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45705 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45706 already be defined. Change to take two parameters and don't assign
45707 result to variable. Adjust all users.
45708 Define INTERNAL_GETTIME if not already defined.
45709 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45710 call.
45711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45712 HAVE_CLOCK_GETTIME_VSYSCALL.
45713 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45714
d53a73ac
UD
45715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45716 gettimeofday vsyscall, just use time.
45717
a8f84144
AS
457182011-09-06 Andreas Schwab <schwab@redhat.com>
45719
45720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45721 <errno.h>.
45722
ef606249
UD
457232011-09-06 Ulrich Drepper <drepper@gmail.com>
45724
45725 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45726 syscall on x86-64.
45727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45728 syscall.
45729 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45730 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45731 syscall if possible.
45732
6585cb60
UD
457332011-09-05 Ulrich Drepper <drepper@gmail.com>
45734
45735 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45736 e_ident. Don't pass to find_mapsXX.
45737 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45738
a5f524e4
LD
457392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45740
45741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45742 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45743 * sysdeps/x86_64/multiarch/strchr.S: Update.
45744 Check bit_slow_BSF bit.
45745 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45746 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45747 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45748
554881ef
UD
457492011-09-05 Ulrich Drepper <drepper@gmail.com>
45750
d96de963
UD
45751 [BZ #13134]
45752 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45753 before glibc 2.15.
45754 (tryshell): Define.
45755 (__spawni): Change last parameter to be flag. Test
45756 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45757 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45758 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45759 * posix/spawni.c: Likewise.
45760 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45761 * posix/spawnp.c: Likewise. Change normal version to use
45762 SPAWN_XFLAGS_USE_PATH.
45763 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45764 SPAWN_XFLAGS_TRY_SHELL.
45765
d48e5868
UD
45766 [BZ #13150]
45767 * posix/glob.h: Remove gcc 1.x support.
45768
554881ef
UD
45769 [BZ #13068]
45770 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45771
693fb948
LD
457722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45773
45774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45775 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45776 strrchr-sse2-bsf
45777 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45778 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45779 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45780 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45781 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45782 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45783
1b48c537
UD
457842011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45785
49d42c37
UD
45786 * sysdeps/x86_64/wcscmp.S: New file.
45787
1b48c537
UD
45788 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45789 wcscmp-c wcscmp-sse2
45790 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45791 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45792 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45793 * wcsmbs/wcscmp.c: Allow renaming.
45794
15c95c5d
DM
457952011-09-05 David S. Miller <davem@davemloft.net>
45796
45797 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45798 stack slot, rather than the struct return pointer slot.
45799 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45800 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45802 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45803
2f0ad8f3
UD
458042011-09-05 Ulrich Drepper <drepper@gmail.com>
45805
d88ae418
UD
45806 * po/ja.po: Update from translation team.
45807
2f0ad8f3
UD
45808 [BZ #13144]
45809 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45810 kernel in 64-bit binaries.
45811
5f4318d1
DM
458122011-09-01 David S. Miller <davem@davemloft.net>
45813
45814 * elf/elf.h (HWCAP_SPARC_*): Move to..
45815 * sysdeps/sparc/sysdep.h: this new file and add new values.
45816 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45817 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45818 _DL_HWCAP_COUNT to 24.
45819 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45820 entries.
45821 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45822 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45823 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45825 instead of magic constants.
45826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45827
3ba57516
DM
458282011-08-31 David S. Miller <davem@davemloft.net>
45829
45830 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45832 Reimplement to do errno handling inline.
45833 (SYSCALL_ERROR_HANDLER): New macro.
45834 (__SYSCALL_STRING): Do not do errno handling in asm.
45835 (__CLONE_SYSCALL_STRING): Delete.
45836 (__INTERNAL_SYSCALL_STRING): Delete.
45837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45838 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45839 (PSEUDO): Reimplement to do errno handling inline.
45840 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45841 (SYSCALL_ERROR_HANDLER): New macro.
45842 (__SYSCALL_STRING): Do not do errno handling in asm.
45843 (__CLONE_SYSCALL_STRING): Delete.
45844 (__INTERNAL_SYSCALL_STRING): Delete.
45845 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45846 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45847 i386.
45848 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45849 (inline_syscall*): Add 'err' argument.
45850 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45851 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45852 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45853 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45854
45855 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45856 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45857
2bc17433
AS
458582011-08-30 Andreas Schwab <schwab@redhat.com>
45859
45860 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45861
fbeb5f4d
JO
458622011-08-29 Jiri Olsa <jolsa@redhat.com>
45863
45864 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45865 directive.
45866
ad69cc26
DM
458672011-08-24 David S. Miller <davem@davemloft.net>
45868
45869 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45870
39dd69df
AS
458712011-08-24 Andreas Schwab <schwab@redhat.com>
45872
45873 * elf/Makefile: Add rules to build and run unload8 test.
45874 * elf/unload8.c: New file.
45875 * elf/unload8mod1.c: New file.
45876 * elf/unload8mod1x.c: New file.
45877 * elf/unload8mod2.c: New file.
45878 * elf/unload8mod3.c: New file.
45879
45880 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45881 it wasn't used.
45882
2c0b250a
DM
458832011-08-23 David S. Miller <davem@davemloft.net>
45884
45885 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45886 subtract stack bias.
45887 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45888 %sp not %fp in calculations.
45889 (_JMPBUF_UNWINDS_ADJ): Likewise.
45890
22044b48
DM
45891 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45892 (aio_suspend): Call it to force an exception region around the
45893 AIO_MISC_WAIT() invocation.
45894
2cae4995
AS
458952011-08-23 Andreas Schwab <schwab@redhat.com>
45896
45897 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45898 backslash.
45899
873a772e
AJ
459002011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45901
45902 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45903 protection macro.
45904 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45905 and <dl-machine.h>.
45906 (Elf64_FuncDesc): Remove.
45907
25ad0df1
DM
459082011-08-22 David S. Miller <davem@davemloft.net>
45909
45910 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45911 sigaltstack check, add missing cfi directives.
45912 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45913 missing cfi directives, and sigaltstack handling.
45914
e888bcbe
AS
459152011-08-16 Andreas Schwab <schwab@redhat.com>
45916
45917 [BZ #11724]
45918 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45919 object is seen twice.
45920 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45921
45922 * elf/Makefile (distribute): Add tst-initorder2.c.
45923 (tests): Add tst-initorder2.
45924 (modules-names): Add tst-initorder2a tst-initorder2b
45925 tst-initorder2c tst-initorder2d. Add rules to build them.
45926 ($(objpfx)tst-initorder2.out): New rule.
45927 * elf/tst-initorder2.c: New file.
45928 * elf/tst-initorder2.exp: New file.
45929
87162f46
AS
459302011-08-22 Andreas Schwab <schwab@redhat.com>
45931
70538b7f
AS
45932 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45933
f55ffe58
AS
45934 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45935 dependencies back to end of function.
45936
87162f46
AS
45937 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45938 $(elfobjdir)/ld.so.
45939
91b392a4
UD
459402011-08-21 Ulrich Drepper <drepper@gmail.com>
45941
45942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45943 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45945 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45946 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45947 of __vdso_gettimeofday.
45948 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45949 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45950 attribute_hidden.
45951 (_libc_vdso_platform_setup): Remove initialization of
45952 __vdso_gettimeofday and __vdso_time.
45953
5c43483f
UD
459542011-08-20 Ulrich Drepper <drepper@gmail.com>
45955
775a77e7
UD
45956 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45957 and fgetc_unlocked.
45958 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45959 getc_unlocked.
89f447ed 45960
49c74ba9
UD
45961 * elf/dl-open.c (add_to_global): Report additions to the global scope
45962 for LD_DEBUG=scopes.
45963 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45964 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45965
5c43483f
UD
45966 [BZ #13114]
45967 * stdio-common/Makefile (tests): Add bug24.
45968 * stdio-common/bug24.c: New file.
45969
a101b025
AJ
459702011-08-19 Andreas Jaeger <aj@suse.de>
45971
45972 [BZ #13114]
45973 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45974 non-existant file when using close-on-exec mode.
45975
c88f1766
UD
459762011-08-20 Ulrich Drepper <drepper@gmail.com>
45977
0276a718
UD
45978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45979 the very first instruction.
45980
c88f1766
UD
45981 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45982 the CFI state in the end.
45983 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45984 inclusion of dl-trampoline.h.
45985 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45986
51ccffa0
AS
459872011-08-19 Andreas Schwab <schwab@redhat.com>
45988
94d7165f
AS
45989 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45990 expectations for long double.
45991
51ccffa0
AS
45992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45993 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45994
fd708658 459952011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45996
45997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45998 artificual limit depends upon the system page size.
45999
44f0a71e
UD
460002011-08-17 Ulrich Drepper <drepper@gmail.com>
46001
46002 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46003 * resolv/Makefile: Define CFLAGS-libresolv.
46004
8de79a24
AS
460052011-08-17 Andreas Schwab <schwab@redhat.com>
46006
46007 * nss/makedb.c (compute_tables): Make variables used in nested
46008 function static.
46009
27724598
UD
460102011-08-17 Ulrich Drepper <drepper@gmail.com>
46011
c5305d88
UD
46012 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46013 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46014 if buffer was too small.
46015
27724598
UD
46016 * elf/pldd.c (main): Attach to all threads in the process.
46017 Rewrite /proc handling to use *at functions.
46018
076fe015
UD
460192011-08-16 Ulrich Drepper <drepper@gmail.com>
46020
174baab3
UD
46021 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46022 specifies first scope to show.
46023 (dl_open_worker): Update callers. Move printing scope of new
46024 object to before the relocation.
44f0a71e 46025 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
46026 * sysdeps/generic/ldsodefs.h: Update declaration.
46027
076fe015
UD
46028 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46029 string for the scope number.
46030
a60df2c3
UD
460312011-08-14 Ulrich Drepper <drepper@gmail.com>
46032
46033 * nscd/servicescache.c (cache_addserv): Make sure written is always
46034 initialized.
46035
5e4287d1
RM
460362011-08-14 Roland McGrath <roland@hack.frob.com>
46037
85ae0589
RM
46038 * sysdeps/i386/i486/bits/atomic.h
46039 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46040 statement expression, so as to suppress "set but not used" warning.
46041 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46042
69f63097
RM
46043 * string/strncat.c (STRNCAT): Use prototype definition.
46044
675456ef
RM
46045 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46046 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46047 -Iprograms here.
46048 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46049 (localedef-modules): Add localedef.
46050 (locale-modules): Add locale.
46051
5e4287d1
RM
46052 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46053 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46054 to avoid a warning.
46055
9c96ff23
DM
460562011-08-14 David S. Miller <davem@davemloft.net>
46057
46058 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46059 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46060
f9ddf089
UD
460612011-08-13 Ulrich Drepper <drepper@gmail.com>
46062
44f0a71e 46063 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
46064 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46065 * elf/rtld.c (dl_main): Set l_name of vDSO.
46066 Call _dl_show_scope when DL_DEBUG_SCOPES.
46067 (process_dl_debug): Recognize scopes flag and also set it for all.
46068 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46069 Declare _dl_show_scope.
46070
1dc27704
UD
46071 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46072 (do_dlopen): Pass caller_dlopen to dl_open.
46073 (__libc_dlopen_mode): Initialize caller_dlopen.
46074
f9ddf089
UD
46075 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46076 of libc. Make tolower call locale-independent. Optimize a bit by
46077 using isdigit instead of isalnum.
46078 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46079
9ac533d3
UD
460802011-08-12 Ulrich Drepper <drepper@gmail.com>
46081
46082 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46083 was a dependency or dynamically loaded.
46084
89edf2e9
UD
460852011-08-11 Ulrich Drepper <drepper@gmail.com>
46086
8e999d29
UD
46087 * intl/l10nflist.c: Allow architecture-specific pop function.
46088 * sysdeps/x86_64/l10nflist.c: New file.
46089
89edf2e9
UD
46090 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46091 classification.
46092
14d96785
AS
460932011-08-10 Andreas Schwab <schwab@redhat.com>
46094
46095 * include/dirent.h: Add libc_hidden_proto for scandirat and
46096 scandirat64. Don't declare __scandirat64.
46097 * dirent/scandirat.c: Add libc_hidden_def.
46098 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46099 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46100
6761ac04
DM
461012011-08-10 David S. Miller <davem@davemloft.net>
46102
46103 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46104 enum.
46105 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46108
c55fbd1e
UD
461092011-08-09 Ulrich Drepper <drepper@gmail.com>
46110
46111 * Versions.def [libc]: Add GLIBC_2.15.
46112 * dirent/Makefile (routines): Add scandirat and scandirat64.
46113 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46114 GLIBC_2.15.
46115 * dirent/dirent.h: Declare scandirat and scandirat64.
46116 * dirent/scandirat.c: New file.
46117 * dirent/scandirat64.c: New file.
46118 * sysdeps/wordsize-64/scandirat.c: New file.
46119 * sysdeps/wordsize-64/scandirat64.c: New file.
46120 * dirent/opendir.c: Define opendirat.
46121 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46122 using scandirat.
46123 * dirent/scandir64.c: Adjust for scandir.c change.
46124 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46125 __scandirat64, and __scandir_cancel_handler.
46126 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46127 additional parameter and use openat instead of open (outside of ld.so).
46128 Add new __opendir as wrapper around __opendirat.
46129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46130 here without requiring old scandirat implementation.
46131
879165f2
UD
461322011-08-08 Ulrich Drepper <drepper@gmail.com>
46133
46134 * dirent/scandir.c (cancel_handler): Renamed to
46135 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46136 defined. Adjust users.
46137 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46138 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46139
cb7e923b
UD
461402011-08-04 Ulrich Drepper <drepper@gmail.com>
46141
16292edd
UD
46142 * string/test-string.h (IMPL): Use __STRING to expand name and then
46143 stringify it.
46144
cb7e923b
UD
46145 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46146 of cleanups.
46147
cff82933
LD
461482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46149
46150 * string/Makefile: Update.
46151 (strop-tests): Append strncat.
46152 * string/test-wcscmp.c: New file.
46153 New comprehensive test for wcscmp.
46154 * string/test-strcmp.c: Update.
46155 (WIDE): New define.
46156
9be9bfcc
AS
461572011-07-22 Andreas Schwab <schwab@redhat.com>
46158
46159 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46160 line.
46161
2e96f1c7
AS
461622011-07-26 Andreas Schwab <schwab@redhat.com>
46163
46164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46165 encoding to ACE if AI_IDN.
46166
85188888
JJ
461672011-08-01 Jakub Jelinek <jakub@redhat.com>
46168
46169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46170 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46171
5fa16e9b
LD
461722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46173
46174 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46175 Fix overflow bug in strncat.
46176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46177
46178 * string/test-strncat.c: Update.
46179 Add new tests for checking overflow bugs.
46180
461812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46182
46183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46184 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46185 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46186 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46187 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46188 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46189 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46190 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46191 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46192
46193 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46194 (USE_AS_STRCAT): Define.
46195 Add strcat and strncat support.
46196 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46197
8c1a459f
AS
461982011-07-25 Andreas Schwab <schwab@redhat.com>
46199
46200 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46201 __n bigger than INT_MAX+1.
46202 (__strncmp_g): Likewise.
46203
bba33c28
UD
462042011-07-23 Ulrich Drepper <drepper@gmail.com>
46205
798be72d
UD
46206 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46207 * libio/stido.h: Likewise.
46208
8accd4dc
UD
46209 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46210 (AF_NFC): Define.
46211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46212 (AF_NFC): Define.
46213
cbff0d96
UD
46214 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46215 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46216 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46217 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46218 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46219
9191c04a
UD
46220 [BZ #13021]
46221 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46222 installed.
46223
bba33c28
UD
46224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46225 typo.
46226 (_dl_x86_64_save_sse): Likewise.
46227
90f139dd
UD
462282011-07-22 Ulrich Drepper <drepper@gmail.com>
46229
1aae088a
UD
46230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46231 OSXSAVE.
46232 (_dl_x86_64_save_sse): Likewise.
46233
8e2045f5
UD
46234 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46235
90f139dd
UD
46236 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46237
1d002f25
AS
462382011-07-21 Andreas Schwab <schwab@redhat.com>
46239
46240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46241 change.
46242 (_dl_x86_64_save_sse): Use correct AVX check.
46243
21137f89
UD
462442011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46245
46246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46247 bug in strncpy/strncat.
46248 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46249
a65c0b7a
UD
462502011-07-21 Ulrich Drepper <drepper@gmail.com>
46251
46252 * string/tester.c (test_strcat): Add tests for different alignments
46253 of source and destination.
46254 (test_strncat): Likewise.
46255
6986b98a
UD
462562011-07-20 Ulrich Drepper <drepper@gmail.com>
46257
90bb2039
UD
46258 [BZ #12852]
46259 * posix/glob.c (glob): Check passed in values before using them in
46260 expressions to avoid some overflows.
46261 (glob_in_dir): Likewise.
46262
5644ef54
UD
46263 [BZ #13007]
46264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46265 check for AVX enablement so that we don't crash with old kernels and
46266 new hardware.
46267 * elf/tst-audit4.c: Add same checks here.
46268 * elf/tst-audit6.c: Likewise.
46269
46270 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46271
bfc9dc9b
AS
462722011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46273
46274 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46275
702e64bb
UD
462762011-07-20 Ulrich Drepper <drepper@gmail.com>
46277
46278 * po/cs.po: Update from translation team.
46279 * po/bg.po: Likewise.
46280
295e904f
MP
462812011-07-12 Marek Polacek <mpolacek@redhat.com>
46282
46283 * misc/sys/cdefs.h: Add support for const attribute.
46284 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46285 to gnu_dev_{major,minor,makedev} functions.
46286
3ff94596
MP
462872011-07-20 Marek Polacek <mpolacek@redhat.com>
46288
46289 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46290
28b59fca
AS
462912011-07-20 Andreas Schwab <schwab@redhat.com>
46292
46293 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46294 strlen results.
46295
19df733e
AK
462962011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46297
46298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46299 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46300 register in order to avoid conflicts with the soft frame pointer
46301 being held in r11 when necessary.
46302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46303 (INTERNAL_VSYSCALL_NCS): Likewise.
46304
c8835729
MP
463052011-07-14 Marek Polacek <mpolacek@redhat.com>
46306
46307 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46308 * elf/dl-fini.c (_dl_fini): Adjust caller.
46309 * elf/dl-close.c (_dl_close_worker): Likewise.
46310 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46311
b902330c
MP
463122011-07-15 Marek Polacek <mpolacek@redhat.com>
46313
8991e135
MP
46314 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46315 "aux_cache->nlibs < 0".
46316
b902330c
MP
46317 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46318 in the reload-count case.
46319
99710781
LD
463202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46321
46322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46323 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46324 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46325 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46326 * sysdeps/x86_64/multiarch/strcat.S: New file.
46327 * sysdeps/x86_64/multiarch/strncat.S: New file.
46328 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46329 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46330 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46331 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46332 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46333 (USE_AS_STRCAT): Define.
46334 Add strcat and strncat support.
46335 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46337 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46338 * string/strncat.c: Update.
46339 (USE_AS_STRNCAT): Define.
46340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46341 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46342 and i7.
46343 * sysdeps/x86_64/multiarch/init-arch.h
46344 (bit_Prefer_PMINUB_for_stringop): New.
46345 (index_Prefer_PMINUB_for_stringop): Likewise.
46346 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46347 bit_Prefer_PMINUB_for_stringop.
46348
7dc6bd90
UD
463492011-07-19 Ulrich Drepper <drepper@gmail.com>
46350
46351 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46352 buffer64.
46353 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46354 of casting of buffer.
46355 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46356 buffer32 and buffer64.
46357 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46358 writes instead of casting of buffer.
46359 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46360 buffer32.
46361 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46362 casting of buffer.
46363
e0e72284
AS
463642011-07-19 Andreas Schwab <schwab@redhat.com>
46365
46366 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46367
feb1eb0b
UD
463682011-07-19 Ulrich Drepper <drepper@gmail.com>
46369
46370 * nscd/nscd.c (termination_handler): Don't do anything for a database
46371 if it has not yet been initialized.
46372
298711ff
UD
463732011-07-18 Ulrich Drepper <drepper@gmail.com>
46374
46375 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46376
463772011-07-15 Marek Polacek <mpolacek@redhat.com>
46378
46379 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46380
f9d68389
UD
463812011-07-18 Ulrich Drepper <drepper@gmail.com>
46382
46383 * po/nl.po: Update from translation team.
46384 * po/sv.po: Likewise.
46385
db290cf5
RM
463862011-07-16 Roland McGrath <roland@hack.frob.com>
46387
46388 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46389 now disallowed by GCC.
5c550700 46390
fd5e21c7
RM
46391 * configure.in (use-default-link): Default to yes if a test -shared
46392 link meets our qualifications.
46393 * configure: Regenerated.
46394
5c550700
RM
46395 * config.make.in (output-format): New variable.
46396 * configure.in: Check for ld --print-output-format support.
46397 * configure: Regenerated.
46398 * Makerules ($(common-objpfx)format.lds)
46399 [$(output-format) != unknown]: Just use $(output-format),
46400 instead of the linker-script munging.
46401
9fa2c032
RM
464022011-07-14 Roland McGrath <roland@hack.frob.com>
46403
a6928d51
RM
46404 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46405 of $(common-objpfx)shlib.lds.
46406 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46407
661607b3
RM
46408 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46409 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46410
9fa2c032
RM
46411 * configure.in (-z relro check): Adjust test code to add a large
46412 writable data section after it.
46413 * configure: Regenerated.
46414
defe9061
RM
464152011-07-11 Roland McGrath <roland@hack.frob.com>
46416
46417 * configure.in (-z relro check): Fix test code to make the variable
46418 truly const.
46419 * configure: Regenerated.
46420
319b9ad4
UD
464212011-07-11 Ulrich Drepper <drepper@gmail.com>
46422
46423 * nscd/nscd.h (struct traced_file): Define.
46424 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46425 elements. Add traced_files.
46426 (inotify_fd): Declare.
46427 (register_traced_file): Declare.
46428 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46429 (inotify_fd): Export.
46430 (resolv_conf_descr): Remove.
46431 (nscd_init): Move inotify descriptor creation to main.
46432 Don't register files for notification here.
46433 (register_traced_file): New function.
46434 (invalidate_cache): Don't use reset_res to determine whether to call
46435 res_init, go through the list of registered files.
46436 (main_loop_poll): The inotify descriptors are now stored in the
46437 structures for the traced files.
46438 (main_loop_epoll): Likewise
46439 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46440 to __nss_disable_nscd.
46441 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46442 for a database anymore. Check the records for all the registered
46443 files instead.
46444 * nss/Makefile (libnss_files-routines): Add files-init.
46445 (libnss_db-routines): Add db-init.
46446 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46447 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46448 * nss/nss_db/db-init.c: New file.
46449 * nss/nss_files/files-init.c: New file.
46450 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46451 __nss_lookup_function.
46452 (__nss_lookup_function): Call nss_load_library.
46453 (nss_load_all_libraries): New function.
46454 (__nss_disable_nscd): Take parameter with callback function for files
46455 to register. Set is_nscd. Load all the DSOs for the NSS modules
46456 used for the cached services.
46457 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46458 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46459 options for features to all the files in nscd.
46460
46461 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46462
23bee3e8
RM
464632011-07-10 Roland McGrath <roland@hack.frob.com>
46464
46465 * csu/elf-init.c (__libc_csu_init): Comment typo.
46466
46a5b7f0
UD
464672011-07-09 Ulrich Drepper <drepper@gmail.com>
46468
46469 * po/pl.po: Update from translation team.
46470 * po/ja.po: Likewise.
46471 * po/ru.po: Likewise.
46472 * po/ko.po: Likewise.
46473 * po/fr.po: Likewise.
46474
d30cf5bb
RM
464752011-07-09 Roland McGrath <roland@hack.frob.com>
46476
113ddea4
RM
46477 * configure.in (.ctors/.dtors header and trailer check):
46478 Use an empirical test on a built program.
46479 * configure: Regenerated.
46480
574920b4
RM
46481 * configure.in (-z relro check): Use an empirical test on a built DSO.
46482 Detect, but do not require, on ia64.
46483 * configure: Regenerated.
46484
d30cf5bb
RM
46485 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46486 Update tests that use readelf to use $READELF instead.
46487 * configure: Regenerated.
46488
8538fdb3
UD
464892011-07-08 Ulrich Drepper <drepper@gmail.com>
46490
46491 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46492 if the result is not used.
46493
04d08991
AJ
464942011-07-05 Andreas Jaeger <aj@suse.de>
46495
46496 [BZ#9696]
46497 * stdlib/tst-strtod.c: Add testcase.
46498
de283087
AD
464992011-07-07 Ulrich Drepper <drepper@gmail.com>
46500
4e5f31c8 46501 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46502 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46503 The latter has a higher limit. Take additional parameter to pass to
46504 the new function.
46505 (__pathconf): Pass file to __statfs_link_max.
46506 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46507 __statfs_link_max.
46508 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46509 __statfs_link_max.
46510
de283087
AD
46511 [BZ #12868]
46512 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46513 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46514 Handle Lustre.
46515 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46516 (__statfs_filesize_max): Likewise.
46517 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46518
c75fa153
AJ
465192011-07-05 Andreas Jaeger <aj@suse.de>
46520
46521 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46522
1a544854
UD
465232011-07-06 Marek Polacek <mpolacek@redhat.com>
46524
46525 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46526 `status' variable.
46527 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46528 Likewise.
46529
6f0eec67
UD
465302011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46531
46532 * Makefile (strop-tests): Add strncat.
46533 * string/test-strncat.c: New file.
46534
aae30307
UD
465352011-06-30 Marek Polacek <mpolacek@redhat.com>
46536
46537 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46538
c0cfb5eb
UD
465392011-06-21 Andreas Jaeger <aj@suse.de>
46540
46541 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46542 Copy rule from iconvdata/Makefile.
46543
01636b21
UD
465442011-07-06 Ulrich Drepper <drepper@gmail.com>
46545
46546 [BZ #12922]
46547 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46548 but no long options are defined, just return 'W'.
46549
9895c8bc
UD
465502011-06-22 Marek Polacek <mpolacek@redhat.com>
46551
46552 [BZ #9696]
46553 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46554
5d4cf042
UD
465552011-07-06 Ulrich Drepper <drepper@gmail.com>
46556
46557 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46558 netgroups to read.
960e5535 46559 (innetgr): Likewise.
5d4cf042 46560
751eb97e
RM
465612011-07-05 Roland McGrath <roland@hack.frob.com>
46562
46563 * config.make.in (install_root): Default to $(DESTDIR).
46564
f15f1e45
UD
465652011-07-05 Ulrich Drepper <drepper@gmail.com>
46566
46567 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46568
4e34ac6a
RM
465692011-07-02 Roland McGrath <roland@hack.frob.com>
46570
5e9b6af4
RM
46571 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46572
84f9ea0f
RM
46573 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46574 containing directory rather than embedding absolute directory names.
46575
ea5ee9f7
RM
46576 * scripts/check-local-headers.sh: Rewritten using awk.
46577 Match by word, not by line. Print error messages for matches.
46578 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46579
1b74661a
RM
46580 * Makerules [shlib-lds-flags empty]:
46581 ($(common-objpfx)libc_pic.opts): New target.
46582 ($(common-objpfx)libc_pic.os.clean): New target.
46583 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46584
46585 * config.make.in (OBJCOPY): New variable.
46586 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46587 * configure: Regenerated.
46588
f781ef40
RM
46589 * config.make.in (use-default-link): New variable.
46590 * configure.in (use_default_link): Grok --with-default-link to set it.
46591 * configure: Regenerated.
46592 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46593 (shlib-lds, shlib-lds-flags): Define to empty.
46594
2d4fa81e
RM
46595 * Makerules (shlib-lds): New variable.
46596 (shlib-lds-flags): New variable.
46597 (build-shlib, build-moduile, build-module-asneeded): Use it.
46598 ($(common-objpfx)libc.so): Use $(shlib-lds).
46599 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46600 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46601
31fffa6b
RM
46602 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46603 DT_FLAGS/DT_FLAGS_1 with zero flags.
46604
4e34ac6a
RM
46605 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46606 linker script munging.
46607
fcfc776b
UD
466082011-07-02 Ulrich Drepper <drepper@gmail.com>
46609
46610 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46611 as 128-bit value.
46612 * crypt/sha512.c (sha512_process_block): Perform total addition using
46613 128-bit if possible.
46614 (__sha512_finish_ctx): Likewise.
46615 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46616 as 64-bit value.
46617 * crypt/sha256.c (SWAP64): Define.
46618 (sha256_process_block): Perform total addition using 64-bit if
46619 possible.
46620 (__sha256_finish_ctx): Likewise.
46621
99231d9a
UD
466222011-07-01 Ulrich Drepper <drepper@gmail.com>
46623
46624 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46626 * nscd/hstcache.c (cache_addhst): Likewise.
46627 * nscd/grpcache.c (cache_addgr): Likewise.
46628 * nscd/aicache.c (addhstaiX): Likewise
46629 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46630
445b4a53
TK
466312011-07-01 Thorsten Kukuk <kukuk@suse.de>
46632
46633 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46634 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46635 * nscd/hstcache.c (cache_addhst): Likewise.
46636 * nscd/grpcache.c (cache_addgr): Likewise.
46637 * nscd/aicache.c (addhstaiX): Likewise
46638
6d4d8e8e
AS
466392011-07-01 Andreas Schwab <schwab@redhat.com>
46640
46641 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46642 domain only when needed.
46643
89f654c5
AS
466442011-06-30 Andreas Schwab <schwab@redhat.com>
46645
46646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46647 is always restored.
46648
cf3b23ff
UD
466492011-06-29 Ulrich Drepper <drepper@gmail.com>
46650
46651 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46652 are re-adding the entry.
46653 * nscd/servicescache.c (cache_addserv): Likewise.
46654
751626f9
AJ
466552011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46656
46657 * sysdeps/generic/dl-irel.h: fix protection against multiple
46658 inclusions.
46659 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46660
9113ea1f
UD
466612011-06-28 Ulrich Drepper <drepper@gmail.com>
46662
5c0b8d90
UD
46663 [BZ #12935]
46664 * malloc/memusage.sh: Fix quoting in message.
46665 * debug/xtrace.sh: Likewise.
46666
9113ea1f
UD
46667 * configure.in: Remove support for --experimental-malloc option, make
46668 it the default.
46669 * config.make.in: Likewise.
46670 * malloc/Makefile: Likewise.
46671
a4172181
AS
466722011-06-27 Andreas Schwab <schwab@redhat.com>
46673
46674 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46675 two-byte characters.
46676
78a7eee7
RM
466772011-06-27 Roland McGrath <roland@hack.frob.com>
46678
62bede13
RM
46679 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46680 AC_CACHE_CHECK invocation.
46681 * configure: Regenerated.
46682
78a7eee7
RM
46683 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46684
5ce33a62
UD
466852011-06-27 Ulrich Drepper <drepper@gmail.com>
46686
034807a9
UD
46687 [BZ #12350]
46688 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46689 bit from old_res_options.
46690
4902da17
UD
46691 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46692
5ce33a62
UD
46693 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46694 value type for setfct.
46695
c2344f56
L
466962011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46697
46698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46699 __gettimeofday instead of gettimeofday.
46700
68468076
UD
467012011-06-26 Ulrich Drepper <drepper@gmail.com>
46702
46703 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46704
acb0d739
L
467052011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46706
46707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46708
46709 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46710 info.
46711
8912479f
L
467122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46713
46714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46715 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46716 strcpy-sse2-unaligned strncpy-sse2-unaligned
46717 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46718 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46719 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46720 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46721 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46722 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46723 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46724 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46725 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46726 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46727 (STRCPY): Support SSE2 and SSSE3 versions.
46728
d5495a11
UD
467292011-06-24 Ulrich Drepper <drepper@gmail.com>
46730
46731 [BZ #12874]
46732 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46733 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46734 kernels which artificially limit size of requests.
46735
0b1cbaae
L
467362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46737
46738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46739 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46740 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46741 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46742 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46743 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46744 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46745 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46746 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46747 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46748 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46749 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46750 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46751 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46752 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46754 Enable unaligned load optimization for Intel Core i3, i5 and i7
46755 processors.
46756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46757 Define.
46758 (index_Fast_Unaligned_Load): Define.
46759 (HAS_FAST_UNALIGNED_LOAD): Define.
46760
07f494a0
MP
467612011-06-23 Marek Polacek <mpolacek@redhat.com>
46762
46763 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46764
fa3fc0fe
UD
467652011-06-22 Ulrich Drepper <drepper@gmail.com>
46766
46767 [BZ #12907]
46768 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46769 until it is clear that the information is realy needed.
46770 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46771
e12df166
AS
467722011-06-22 Andreas Schwab <schwab@redhat.com>
46773
46774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46775
852eb34d
UD
467762011-06-22 Ulrich Drepper <drepper@gmail.com>
46777
84e2a551
UD
46778 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46779 /sys/devices/system/cpu/online if it is usable.
46780
852eb34d
UD
46781 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46782 reading the information from the /proc filesystem to once a second.
46783
6e502e19
UD
467842011-06-21 Andreas Jaeger <aj@suse.de>
46785
46786 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46787 NULL after inclusion of kernel headers.
46788
75d39ff2
UD
467892011-06-21 Ulrich Drepper <drepper@gmail.com>
46790
51f9aa6a
UD
46791 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46792 calls to internal_setent.
46793
c0244a9d
UD
46794 [BZ #12885]
46795 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46796 addresses using gethostbyname4_r ignore IPv4 addresses.
46797
c5e3c2ae
UD
46798 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46799 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46800
75d39ff2
UD
46801 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46802
42675c6f
DM
468032011-06-20 David S. Miller <davem@davemloft.net>
46804
46805 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46806 inclusions.
46807 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46808
46809 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46810 (elf_irel): Use it.
46811 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46812 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46813 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46814 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46815 * sysdeps/x86_64/dl-irel.h: Likewise.
46816
46817 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46818 * elf/dl-sym.c: Likewise.
46819
57912a71
UD
468202011-06-15 Ulrich Drepper <drepper@gmail.com>
46821
46822 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46823 need to dereference resplen2.
46824
ee22793d
AS
468252011-06-14 Andreas Schwab <schwab@redhat.com>
46826
46827 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46828
a9e836b0
UD
468292011-06-15 Ulrich Drepper <drepper@gmail.com>
46830
77fb9117
UD
46831 * Makeconfig: Define vardbdir and inst_vardbdir.
46832 * nss/Makefile: Add rules to install db-Makefile.
46833
40c1b22c
UD
46834 * nss/nss_db/db-XXX.c: Cleanup.
46835
9f2da732
UD
46836 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46837 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46838 GLIBC_PRIVATE.
46839 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46840 * nss/makedb.c: Implement -g option to specify that value strings
46841 are generated and should not be added to table iterated over for
46842 get*ent calls.
46843 * nss/nss_db/db-initgroups.c: New file.
46844
82e9a1f7
UD
46845 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46846 interface.
46847
c41af17e
UD
46848 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46849 (internal_getgrouplist): Adjust to name change.
46850 Update use_initgroups_entry if this is not the first call.
46851 * nss/databases.def: Add initgroups entry.
46852
a9e836b0
UD
46853 * nss/makedb.c (compute_tables): Check result of multiple hash table
46854 sizes to minimize maximum chain length.
46855
2666d441
UD
468562011-06-14 Ulrich Drepper <drepper@gmail.com>
46857
46858 * Versions.def: Add entry for libnss_db.
46859 * shlib-versions: Likewise.
46860 * nss/Makefile: Add rules to build libnss_db.
46861 * nss/Versions: Add libnss_db information. Organize libnss_files
46862 entries better.
46863 * nss/db-Makefile: Add gshadow support. Change rules for the new
46864 makedb progra. Some minor improvements to generate smaller files.
46865 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46866 here from...
46867 * nss/makedb.c: ...here.
46868 Improve database format to be smaller and require less memory at
46869 runtime.
46870 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46871 db anymore.
46872 * nss/nss_db/db-netgrp.c: Likewise.
46873 * nss/nss_db/db-open.c: Likewise.
46874 * nss/nss_files/flies-XXX.x: Adjust comments.
46875 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46876 * nss/nss_files/files-grp.c: Likewise.
46877 * nss/nss_files/files-hosts.c: Likewise.
46878 * nss/nss_files/files-network.c: Likewise.
46879 * nss/nss_files/files-proto.c: Likewise.
46880 * nss/nss_files/files-pwd.c: Likewise.
46881 * nss/nss_files/files-rpc.c: Likewise.
46882 * nss/nss_files/files-service.c: Likewise.
46883 * nss/nss_files/files-sgrp.c: Likewise.
46884 * nss/nss_files/files-spwd.c: Likewise.
46885 * nss/nss_db/db-alias.c: Removed.
46886 * nss/nss_db/dummy-db.h: Removed.
46887
9ee76b5a
UD
468882011-06-02 Ulrich Drepper <drepper@gmail.com>
46889
46890 * nss/makedb.c: Rewritten to not use database library.
46891 * nss/Makefile: Update to build new makedb program.
46892
c71ca1f8
AJ
468932011-06-14 Andreas Jaeger <aj@suse.de>
46894
46895 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46896 memset declaration.
46897
3154bfb8
UD
468982011-06-10 Andreas Schwab <schwab@redhat.com>
46899
46900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46901 tmpbuf.
46902
b350afab
RM
469032011-06-10 Roland McGrath <roland@hack.frob.com>
46904
decd4e50
RM
46905 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46906 * elf/Makefile ($(objpfx)ld.so): Likewise.
46907
5615eaf2
RM
46908 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46909 Don't list ld.so twice in dependencies.
46910
46911 * posix/bug-regex31.c: Include <stdlib.h>.
46912
46913 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46914
46915 * nis/nss_compat/compat-spwd.c
46916 (getspent_next_nss_netgr): Remove unused variable.
46917 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46918
46919 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46920 nonmembers" output to use the right array.
46921
46922 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46923
46924 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46925
46926 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46927 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46928 * catgets/gencat.c (read_input_file): Likewise.
46929 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46930
46931 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46932 variable definition inside #if's controlling its use.
46933
46934 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46935
46936 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46937
46938 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46939
46940 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46941 unreachable code.
46942
46943 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46944
b68e08db
RM
46945 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46946 * configure: Regenerated.
46947
b350afab
RM
46948 * Makerules: Revert last change.
46949 * elf/Makefile: Likewise.
46950
28368601
RM
469512011-06-09 Roland McGrath <roland@hack.frob.com>
46952
46953 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46954 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46955 (reloc-link): Likewise.
46956
11988f8f
UD
469572011-06-09 Ulrich Drepper <drepper@gmail.com>
46958
46959 * elf/Makefile: Add rules to build pldd.
46960 * elf/pldd.c: New file.
46961 * elf/pldd-xx.c: New file.
46962
e80fab37
UD
469632011-06-07 Ulrich Drepper <drepper@gmail.com>
46964
46965 * version.h: Update for 2.15 development version.
46966
9b849836
DM
469672011-06-07 David S. Miller <davem@davemloft.net>
46968
46969 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46970 ifuncs.
46971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46972 elf_machine_lazy_rel): Likewise.
46973 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46975 elf_machine_lazy_rel): Likewise.
46976 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46977 dl_hwcap via passed in argument.
46978 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46979 Likewise.
46980
5a31b283
AK
469812011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46982
46983 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46984
069e52f8
RM
469852011-06-06 Roland McGrath <roland@hack.frob.com>
46986
46987 [BZ #12849]
46988 * manual/fdl-1.1.texi: New file, verbatim from:
46989 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46990 * manual/lgpl-2.1.texi: New file, verbatim from:
46991 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46992 * manual/Makefile (licenses): New variable, list those new file names.
46993 (texis): Use it.
46994 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46995
46996 * manual/fdl.texi: File removed.
46997 * manual/lesser.texi: File removed.
46998 * manual/libc.texinfo (Copying, Documentation License):
46999 Use new @include file names, put @appendix directive before @include.
47000
f16846a5
JJ
470012011-06-04 Jakub Jelinek <jakub@redhat.com>
47002
47003 [BZ #12841]
47004 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47005 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47006 (mq_open): Add __NTH.
47007
3d29045b
L
470082011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47009
47010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47011 Assume Intel Core i3/i5/i7 processor if AVX is available.
47012
8c297311
UD
470132011-05-31 Ulrich Drepper <drepper@gmail.com>
47014
47015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47016 typo.
47017
c8fc0c91
UD
470182011-05-31 Andreas Schwab <schwab@redhat.com>
47019
47020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47021 memory. Use alloca_account. Fix memory leak when retrying.
47022
5b27a807
UD
470232011-05-31 Ulrich Drepper <drepper@gmail.com>
47024
356f8bc6
UD
47025 * version.h (RELEASE): Bump for 2.14 release.
47026 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47027
5b27a807
UD
47028 * config.make.in (RANLIB): Remove entry.
47029
01f16ab0
UD
470302011-05-30 Ulrich Drepper <drepper@gmail.com>
47031
41fce8bd
UD
47032 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47033 (libc.pot): Work around missing support for .ksh extension in xgettext.
47034
4769ae77
UD
47035 [BZ #12684]
47036 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47037 if both request failed.
47038 (send_dg): In case of server errors clear resplen or *resplen2.
47039
6b1e7d19
UD
47040 [BZ #12454]
47041 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47042 when there are multiple maps.
47043 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47044 (_dl_fini): Remove test here.
47045
01f16ab0
UD
47046 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47047
b1ebd700
UD
470482011-05-29 Ulrich Drepper <drepper@gmail.com>
47049
7ae22829
UD
47050 [BZ #12350]
47051 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47052 bit from old_res_options.
47053 (gaih_inet): Likewise.
47054
553149f6 47055 [BZ #11099]
18a84741 47056 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
47057 as signed.
47058
652ffab1
UD
47059 * resolv/res_init.c (res_setoptions): Make the code more compact.
47060
16985fd0
UD
47061 [BZ #11558]
47062 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47063 set RES_USEVC.
47064
0464f746
UD
47065 [BZ #11634]
47066 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47067
7d17596c
UD
47068 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47069
cf6bbbd7
UD
47070 [BZ #11781]
47071 * malloc/malloc.h: Declare malloc hook variables as volatile.
47072
13f1ab36
UD
47073 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47074 in last patch.
47075
b1ebd700
UD
47076 [BZ #11799]
47077 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 47078 raise in the comment.
80e2212d
UD
47079 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47081 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 47082
ce67228d
UD
470832011-05-28 Ulrich Drepper <drepper@gmail.com>
47084
8887a920
UD
47085 [BZ #12811]
47086 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47087 grow the buffers more if it already has to be sufficient.
47088 (build_wcs_upper_buffer): Likewise.
47089 * posix/regexec.c (check_matching): Likewise.
47090 (clean_state_log_if_needed): Likewise.
47091 (extend_buffers): Don't enlarge buffers beyond size of the input
47092 buffer.
47093 Patches mostly by Emil Wojak <emil@wojak.eu>.
47094 * posix/bug-regex32.c: New file.
47095 * posix/Makefile (tests): Add bug-regex32.
47096
4f031072
UD
47097 * locale/findlocale.c (_nl_find_locale): Return right away if
47098 _nl_explode_name failed.
47099 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47100
d0478f0c
UD
47101 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47102
de81b246
UD
47103 * debug/xtrace.sh: Unify messages.
47104 * malloc/memusage.sh: Likewise.
47105
c738465a
UD
47106 [BZ #12813]
47107 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47108 time symbol from vDSO. Substitute with vsyscall if not available.
47109 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47110 __vdso_time.
47111
f1f929d7
UD
47112 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47113 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47114 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47115 Add sendmmsg and internal_sendmmsg.
47116 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47117 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47118 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47119
ce67228d
UD
47120 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47121 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47122 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47123
e57420c6
UD
471242011-05-27 Ulrich Drepper <drepper@gmail.com>
47125
a8509ca5
UD
47126 [BZ #12813]
47127 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47128 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47129 available.
47130 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47131 __vdso_getcpu.
47132
e57420c6
UD
47133 [BZ #12814]
47134 * iconvdata/Makefile (tests): Add bug-iconv9.
47135 * iconvdata/bug-iconv9.c: New file.
47136
4d07db15
AS
471372011-05-27 Andreas Schwab <schwab@redhat.com>
47138
47139 [BZ #12814]
47140 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47141
ea486f69
JJ
471422011-05-25 Jakub Jelinek <jakub@redhat.com>
47143
47144 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47145 (struct user_regs_struct): Change intcs field back to cs.
47146
6f038433
UD
471472011-05-25 Ulrich Drepper <drepper@gmail.com>
47148
47149 * po/ja.po: Update from translation team.
47150
67f86a25
UD
471512011-05-23 Ulrich Drepper <drepper@gmail.com>
47152
47153 [BZ #12795]
47154 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47155 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47156
def7fbd6
AS
471572011-05-20 Andreas Schwab <schwab@redhat.com>
47158
47159 * stdlib/longlong.h: Update from GCC.
47160
f50ef8f1
AS
471612011-05-23 Andreas Schwab <schwab@redhat.com>
47162
47163 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47164 parameter name.
47165 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47166 Add parameter name.
47167 (__sysconf): Pass it down.
47168
de7ce8f1
UD
471692011-05-22 Ulrich Drepper <drepper@gmail.com>
47170
f2962a71
UD
47171 [BZ #12671]
47172 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47173 some situations.
47174 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47175 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47176 add in in __libc_use_alloca calls. Adjust callers.
47177 (glob): Use malloc in some situations.
47178
de7ce8f1
UD
47179 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47180 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47181 pltexit.
47182
aec84f53
UD
471832011-05-21 Ulrich Drepper <drepper@gmail.com>
47184
05bb4a68
UD
47185 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47186 and CLOCK_BOOTTIME_ALARM.
47187
7ea72f99
UD
47188 [BZ #12782]
47189 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47190 is returned.
47191
7e4afad5
UD
47192 * string/_strerror.c (__strerror_r): Print negative errors as signed
47193 numbers.
47194
8e211fec
UD
47195 [BZ #12777]
47196 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47197 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47198 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47199
f7d82dc9
UD
47200 * configure.in: Fix typo in redirection and correct removal of test
47201 files in two cases.
47202
cc9e536d
UD
47203 [BZ #12788]
47204 * locale/setlocale.c (new_composite_name): Fix test to check for
47205 identical name of all categories.
47206
aec84f53
UD
47207 [BZ #12792]
47208 * libio/filedoalloc.c (local_isatty): New function.
47209 (_IO_file_doallocate): Use local_isatty.
47210 * stdio-common/perror.c (perror): In case a new stream is used
47211 forward the stream error.
47212 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47213 error flag.
47214
78e64fdc
RT
472152011-05-20 Ulrich Drepper <drepper@gmail.com>
47216
34a9094f
UD
47217 [BZ #11869]
47218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47219 alloca.
47220 * include/alloca.h (extend_alloca_account): Define.
47221
78e64fdc
RT
47222 [BZ #11857]
47223 * posix/regex.h: Fix comments with documentation of user-accessible
47224 fields after compilation and describe correct free'ing of pattern
47225 after re_compile_pattern.
47226 Patch by Reuben Thomas <rrt@sc3d.org>.
47227
457bddfc
RA
472282011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47229
47230 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47231 and -mno-altivec to prevent the compiler from using Altivec and/or
47232 VSX instructions when the corresponding registers are not available.
47233
a4527b51
AS
472342011-05-19 Andreas Schwab <schwab@redhat.com>
47235
47236 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47237
ed690b2f
UD
472382011-05-19 Ulrich Drepper <drepper@gmail.com>
47239
47240 * libio/freopen.c (freopen): Use __dup2, not dup2.
47241 * libio/freopen64.c (freopen64): Likewise.
47242
8db73634
L
472432011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47244
47245 [BZ #12775]
47246 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47247 * math/Makefile (tests): Add test-powl.
47248 (CFLAGS-test-powl.c): Define.
47249 * math/test-powl.c: New file.
47250
0a197a9d
L
472512011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47252
47253 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47254
ee30c380
UD
472552011-05-17 Ulrich Drepper <drepper@gmail.com>
47256
47257 [BZ #11837]
47258 * iconvdata/gb18030.c: Update to GB18020-2005.
47259
6ce75379
UD
472602011-05-16 Ulrich Drepper <drepper@gmail.com>
47261
a4b89fd8
AR
47262 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47263 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47264 Patch by Aharon Robbins <arnold@skeeve.com>.
47265
ea389b12
UD
47266 [BZ #11892]
47267 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47268 on the stack.
47269
68a3f91f
UD
47270 [BZ #11895]
47271 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47272 through underflows.
47273
15cc7dd1
UD
47274 [BZ #12766]
47275 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47276 point to strings before performing equality test for error_one_per_line
47277 mode.
47278
f3799213
UD
47279 [BZ #11697]
47280 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47281
d79a9c94
UD
47282 [BZ #11820]
47283 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47284 (struct user_fpregs_struct): Avoid __uint*_t types.
47285
56e5eb46
UD
47286 [BZ #6420]
47287 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47288 symbol info. Use it instead of calling _dl_addr locally.
47289 (lock_and_info): New function.
47290 (tr_freehook): Call lock_and_info and pass symbol info as additional
47291 parameter to tr_where.
47292 (tr_mallochook): Likewise.
47293 (tr_reallochook): Likewise.
47294 (tr_memalignhook): Likewise.
47295
6ce75379
UD
47296 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47297 used and couldn't be at all thread-safe.
47298
f8a3b5bf
UD
472992011-05-15 Ulrich Drepper <drepper@gmail.com>
47300
94b7cc37
UD
47301 * libio/freopen.c (freopen): Don't close old file descriptor
47302 before the new one is opened. Instead dup the new file descriptor
47303 to the old one after the new stream is created.
47304 * libio/freopen64.c (freopen64): Likewise.
47305 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47306 * libio/fileops.c (_IO_new_file_close_it): Handle new
47307 _IO_FLAGS2_NOCLOSE flag.
47308 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47309 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47310 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47311 _IO_FLAGS2_NOCLOSE flag.
47312 * include/unistd.h: Add hidden_proto for dup3.
47313 Define __have_dup3.
47314 * io/dup3.c: Define hidden symbol.
47315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47316
bd25564e
UD
47317 [BZ #7101]
47318 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47319 when an incomplete long option is used.
47320 * posix/tst-getopt_long1.c: New file.
47321 * posix/Makefile (tests): Add tst-getopt_long1.
47322
c84cfef4
UD
47323 [BZ #10138]
47324 * scripts/config.guess: Update from autoconf-2.68.
47325 * scripts/config.sub: Likewise.
47326
3b85df27
UD
47327 [BZ #10157]
47328 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47329 tests into ...
47330 (has_cpuclock): ...this. New function.
47331 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47332 macro here based on has_cpuclock code.
47333
15a856b1
UD
47334 [BZ #10149]
47335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47336 First byte (not low byte) is now always NUL.
47337 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47338
05f399e6
UD
47339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47340 Use non-cancelable interfaces.
47341
10a52685 47342 [BZ #9809]
94ecc67d
UD
47343 * locale/iso-639.def: Add entry for Sorani.
47344
f8a3b5bf
UD
47345 [BZ #11901]
47346 * include/stdlib.h: Move include protection to the right place.
47347 Define abort_msg_s. Declare __abort_msg with it.
47348 * stdlib/abort.c (__abort_msg): Adjust type.
47349 * assert/assert.c (__assert_fail_base): New function. Majority
47350 of code from __assert_fail. Allocate memory for __abort_msg with
47351 mmap.
47352 (__assert_fail): Now call __assert_fail_base.
47353 * assert/assert-perr.c: Remove bulk of implementation. Use
47354 __assert_fail_base.
47355 * include/assert.hL Declare __assert_fail_base.
47356 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47357 mmap.
47358 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47359
1af4e298
UD
473602011-05-14 Ulrich Drepper <drepper@gmail.com>
47361
f8a3b5bf 47362 [BZ #11952]
d26dfc60
MG
47363 [BZ #12453]
47364 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47365 until all modules are registered in the DTV.
47366 * elf/Makefile: Add rules to build and run tst-tls19.
47367 * elf/tst-tls19.c: New file.
47368 * elf/tst-tls19mod1.c: New file.
47369 * elf/tst-tls19mod2.c: New file.
47370 * elf/tst-tls19mod3.c: New file.
47371 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47372
2fc54d6f
UD
47373 [BZ #12083]
47374 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47375 correctly.
47376
98d76b46
UD
47377 [BZ #12601]
47378 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47379 two-byte sequence errors.
47380 * iconvdata/Makefile (tests): Add bug-iconv8.
47381 * iconvdata/bug-iconv8.c: New file.
47382
da3c19ef
UD
47383 [BZ #12626]
47384 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47385 buf2 definition.
47386
ca408c15
UD
47387 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47388
d6f67f7d
UD
47389 [BZ #12432]
47390 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47391 (dummy_getcfa): New function.
47392 (init): Get _Unwind_GetCFA address, use dummy if not found.
47393 (backtrace_helper): In recursion check, also check whether CFA changes.
47394 (__backtrace): Completely initialize arg.
47395
1af4e298 47396 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47397 storing incomplete byte sequence in state object. Avoid testing for
47398 guaranteed too small input if we know there is enough data available.
1af4e298 47399
da62f81b
AS
474002011-05-11 Andreas Schwab <schwab@redhat.com>
47401
47402 * Makeconfig (+link-pie): Indent.
47403 * Rules (binaries-pie): Define if $(have-fpie) and
47404 $(build-shared).
47405 (binaries-shared): Also filter out $(binaries-pie).
47406 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47407 * nscd/Makefile (others-pie): Add nscd.
47408 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47409 ($(objpfx)nscd): Remove command override.
47410 * login/Makefile (others-pie): Add pt_chown.
47411 ($(objpfx)pt_chown): Remove command override.
47412 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47413 remove command overrides.
47414
fcabc0f8
UD
474152011-05-13 Ulrich Drepper <drepper@gmail.com>
47416
20030ae6
UD
47417 * libio/tst_putwc.c: Fix error messages.
47418
fcabc0f8
UD
47419 [BZ #12724]
47420 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47421 currently writing and seek to current position when not.
47422 * libio/Makefile (tests): Add bug-fclose1.
47423 * libio/bug-fclose1.c: New file.
47424
320a5dc0
PB
474252011-05-12 Ulrich Drepper <drepper@gmail.com>
47426
47427 [BZ #12511]
47428 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47429 don't set DF_1_NODELETE here.
47430 (do_lookup_x): When entering new entry test for copy relocation
47431 and if necessary set DF_1_NODELETE flag.
47432 * elf/tst-unique4.cc: New file.
47433 * elf/tst-unique4.h: New file.
47434 * elf/tst-unique4lib.cc: New file.
47435 * elf/Makefile: Add rules to build and run tst-unique4.
47436 Patch by Piotr Bury <pbury@goahead.com>.
47437
22836f52
UD
474382011-05-11 Ulrich Drepper <drepper@gmail.com>
47439
f574184a
UD
47440 [BZ #12052]
47441 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47442
e1fb097f
UD
47443 [BZ #12625]
47444 * misc/mntent_r.c (addmntent): Flush the stream after the output
47445
22836f52
UD
47446 [BZ #12393]
47447 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47448 (is_trusted_path_normalize): Skip initial colon. Append slash
47449 to empty buffer. Duplicate is_trusted_path code but allow
47450 constructed patch to be prefix.
47451 (is_dst): Allow $ORIGIN followed by /.
47452 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47453 Correct testing of result of is_trusted_path_normalize
47454 (decompose_rpath): Fix warning.
47455
7b3b0b2a
UD
474562011-05-10 Ulrich Drepper <drepper@gmail.com>
47457
47458 [BZ #11257]
47459 * grp/initgroups.c (internal_getgrouplist): When we found the service
47460 list through the initgroups entry in nsswitch.conf do not always
47461 continue on a successful lookup. Don't always use the
eac80ce2 47462 __nss_group_database value if it is set.
7b3b0b2a
UD
47463 * nss/nsswitch.conf (initgroups): Change action for successful db
47464 lookup to continue for compatibility.
47465
2a81eaa5
UD
474662011-05-09 Ulrich Drepper <drepper@gmail.com>
47467
be97a69e
UD
47468 [BZ #11532]
47469 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47470 and CP774 modules.
47471 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47472 and CP774 modules.
47473 * iconvdata/tst-tables.sh: Likewise.
47474 * iconvdata/cp770.c: New file.
47475 * iconvdata/cp771.c: New file.
47476 * iconvdata/cp772.c: New file.
47477 * iconvdata/cp773.c: New file.
47478 * iconvdata/cp774.c: New file.
47479 * iconvdata/testdata/CP770: New file.
47480 * iconvdata/testdata/CP770..UTF8: New file.
47481 * iconvdata/testdata/CP771: New file.
47482 * iconvdata/testdata/CP771..UTF8: New file.
47483 * iconvdata/testdata/CP772: New file.
47484 * iconvdata/testdata/CP772..UTF8: New file.
47485 * iconvdata/testdata/CP773: New file.
47486 * iconvdata/testdata/CP773..UTF8: New file.
47487 * iconvdata/testdata/CP774: New file.
47488 * iconvdata/testdata/CP774..UTF8: New file.
47489
47490 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47491 END CHARMAP line.
47492 * iconvdata/gen-8bit-gap.sh: Likewise.
47493 * iconvdata/gen-8bit.sh: Likewise.
47494
c1e9e399
UD
47495 * locale/iso-639.def: Add ary entry.
47496
24c55fb3 47497 [BZ #11258]
96b4b1b0
UD
47498 * locale/C-translit.h.in: Add U20A1 transliteration.
47499
bdc2f971
KB
47500 [BZ #12178]
47501 * locale/iso-639.def: Add wae entry.
47502 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47503
2952b117
UD
47504 [BZ #12545]
47505 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47506 for n.
47507
2a81eaa5
UD
47508 [BZ #12711]
47509 * locale/C-translit.h.in: Add entry for U20B9.
47510 Patch by pravin.d.s@gmail.com.
47511
28377d1b
UD
475122011-05-08 Ulrich Drepper <drepper@gmail.com>
47513
7fb90fb8
UD
47514 [BZ #12713]
47515 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47516 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47517 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47518 in rtld. Use *stat64.
7fb90fb8 47519 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47520 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47521 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47522 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47523 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47524 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47525 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47526 __fstatat64 macros.
7fb90fb8
UD
47527 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47528 * dirent/rewinddir.c: Add libc_hidden_def.
47529 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47530 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47531
28377d1b
UD
47532 * include/dirent.h (__alloc_dir): Add flags parameter.
47533 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47534 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47535 __alloc_dir.
47536 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47537 from fdopendir if O_CLOEXEC is already set.
47538
66bdbaa4
AM
475392011-03-15 Alan Modra <amodra@gmail.com>
47540
47541 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47542 l_tls_firstbyte_offset non-zero. Save padding offset in
47543 l_tls_firstbyte_offset for later use.
47544 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47545 freeing static tls block.
47546
95721191
JN
475472011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47548
47549 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47550 where #ifdef was intended. The intent is to prevent ARG_MAX from
47551 being defined by the kernel headers.
47552
f87dfb1f
UD
475532011-05-07 Ulrich Drepper <drepper@gmail.com>
47554
47555 [BZ #12734]
47556 * resolv/resolv.h: Define RES_NOTLDQUERY.
47557 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47558 no-tld-query and set RES_NOTLDQUERY.
47559 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47560 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47561 modern BIND to search name as TLD unless forbidden.
47562
47c3cd7a
UD
475632011-05-07 Petr Baudis <pasky@suse.cz>
47564 Ulrich Drepper <drepper@gmail.com>
47565
47566 [BZ #12393]
47567 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47568 (is_trusted_path): ...to here.
c1e9ea35 47569 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47570 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47571 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47572
8a35c912
PP
475732011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47574
47575 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47576 __BEGIN/__END_DECLS.
47577
acd41f47
UD
475782011-05-06 Ulrich Drepper <drepper@gmail.com>
47579
47580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47581 NSS_STATUS_NOTFOUND if no record was found.
47582
597df647
AS
475832011-05-05 Andreas Schwab <schwab@redhat.com>
47584
47585 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47586 (headers-not-in-tirpc): Remove rpc/netdb.h
47587 * resolv/netdb.h: Revert last change.
47588
b9af1301
PP
475892011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47590
47591 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47592 circular dependency between libgcc.a and libc.a.
47593
4e34d5f5
AS
475942011-05-05 Andreas Schwab <schwab@redhat.com>
47595
47596 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47597 * nis/Makefile: Don't install rpcsvc/*.
47598 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47599 instead of <rpc/types.h>.
47600 (MAXHOSTNAMELEN): Define.
47601
00ee369c
AS
476022011-05-03 Andreas Schwab <schwab@redhat.com>
47603
47604 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47605
0b592a30
MB
476062011-04-28 Maciej Babinski <mbabinski@google.com>
47607
47608 [BZ #12714]
47609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47610 gethostbyname4_r when IPv6 results are possible.
47611
6e04cbbe
UD
476122011-05-02 Ulrich Drepper <drepper@gmail.com>
47613
47614 [BZ #12723]
47615 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47616 _PC_PIPE_BUF handling.
47617
e4ecafe0
BH
476182011-04-30 Bruno Haible <bruno@clisp.org>
47619
47620 [BZ #12717]
47621 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47622 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47623 to 'int'.
47624 * inet/getnameinfo.c (getnameinfo): Likewise.
47625
125ee683
UD
476262011-04-29 Ulrich Drepper <drepper@gmail.com>
47627
47628 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47629 to groups setting in database lookup.
47630 * nss/nsswitch.conf: Add initgroups entry.
47631
b722481a
EB
476322011-04-22 Ulrich Drepper <drepper@gmail.com>
47633
47634 [BZ #12685]
47635 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47636 mode string.
47637 Patch by Eric Blake <eblake@redhat.com>.
47638
4df46dbd
L
476392011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47640
47641 * sunrpc/Makefile (need-export-routines): Add svc_run.
47642 (routines): Remove svc_run.
47643 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47644 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47645 * sunrpc/svc_run.c (svc_run): Likewise.
47646 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47647
e84142d2
UD
476482011-04-21 Ulrich Drepper <drepper@gmail.com>
47649
47650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47651 problem in reallocation in last patch.
47652
877175d8
UD
476532011-04-20 Ulrich Drepper <drepper@gmail.com>
47654
47655 * sunrpc/Makefile: Move inclusion of Rules.
47656
ab8eed78
UD
476572011-04-19 Ulrich Drepper <drepper@gmail.com>
47658
47659 * nss/nss_files/files-initgroups.c: New file.
47660 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47661 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47662 _nss_files_initgroups_dyn.
47663
e3d8f584
RS
476642011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47665
47666 * elf/elf.h (R_ARM_IRELATIVE): Define.
47667
af190f45
UD
476682011-04-19 Ulrich Drepper <drepper@gmail.com>
47669
47670 * po/ru.po: Update from translation team.
47671
53cf59ef
UD
476722011-04-17 Ulrich Drepper <drepper@gmail.com>
47673
47674 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47675 dependencies.
47676
4c559bcd
MF
476772011-02-06 Mike Frysinger <vapier@gentoo.org>
47678
47679 [BZ #12653]
47680 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47681 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47682 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47683 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47685
4420675c
AS
476862011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47687
47688 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47689 differing bytes.
47690 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47693
75ea32ab
UD
476942011-04-17 Ulrich Drepper <drepper@gmail.com>
47695
47696 [BZ #12420]
47697 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47698 storing it.
47699 * stdlib/bug-getcontext.c: New file.
47700 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47701
27390476
AK
477022011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47703
47704 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47705 instructions into .machine "z9-109".
47706 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47707 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47708
10442705
AK
477092011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47710
47711 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47712 between environment variables and auxiliary vector.
47713
7b57bfe5
UD
477142011-04-16 Ulrich Drepper <drepper@gmail.com>
47715
47716 * Makefile: Add rules to build linkobj/libc.so.
47717 * include/libc-symbols.h: Define libc_hidden_nolink.
47718 * include/rpc/auth.h: Mark functions which are to be hidden.
47719 * include/rpc/auth_des.h: Likewise.
47720 * include/rpc/auth_unix.h: Likewise.
47721 * include/rpc/clnt.h: Likewise.
47722 * include/rpc/des_crypt.h: Likewise.
47723 * include/rpc/key_prot.h: Likewise.
47724 * include/rpc/pmap_clnt.h: Likewise.
47725 * include/rpc/pmap_prot.h: Likewise.
47726 * include/rpc/pmap_rmt.h: Likewise.
47727 * include/rpc/rpc_msg.h: Likewise.
47728 * include/rpc/svc.h: Likewise.
47729 * include/rpc/svc_auth.h: Likewise.
47730 * include/rpc/xdr.h: Likewise.
47731 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47732 * nss/Makefile: Likewise.
47733 * sunrpc/Makefile: Don't install headers. Build library with normal
47734 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47735 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47736 for the compat linking library. Remove use of INTDEF/INTUSE.
47737 * sunrpc/auth_none.c: Likewise.
47738 * sunrpc/auth_unix.c: Likewise.
47739 * sunrpc/authdes_prot.c: Likewise.
47740 * sunrpc/authuxprot.c: Likewise.
47741 * sunrpc/clnt_gen.c: Likewise.
47742 * sunrpc/clnt_perr.c: Likewise.
47743 * sunrpc/clnt_raw.c: Likewise.
47744 * sunrpc/clnt_simp.c: Likewise.
47745 * sunrpc/clnt_tcp.c: Likewise.
47746 * sunrpc/clnt_udp.c: Likewise.
47747 * sunrpc/clnt_unix.c: Likewise.
47748 * sunrpc/des_crypt.c: Likewise.
47749 * sunrpc/des_soft.c: Likewise.
47750 * sunrpc/get_myaddr.c: Likewise.
47751 * sunrpc/key_call.c: Likewise.
47752 * sunrpc/key_prot.c: Likewise.
47753 * sunrpc/netname.c: Likewise.
47754 * sunrpc/pm_getmaps.c: Likewise.
47755 * sunrpc/pm_getport.c: Likewise.
47756 * sunrpc/pmap_clnt.c: Likewise.
47757 * sunrpc/pmap_prot.c: Likewise.
47758 * sunrpc/pmap_prot2.c: Likewise.
47759 * sunrpc/pmap_rmt.c: Likewise.
47760 * sunrpc/publickey.c: Likewise.
47761 * sunrpc/rpc_cmsg.c: Likewise.
47762 * sunrpc/rpc_common.c: Likewise.
47763 * sunrpc/rpc_dtable.c: Likewise.
47764 * sunrpc/rpc_prot.c: Likewise.
47765 * sunrpc/rpc_thread.c: Likewise.
47766 * sunrpc/rtime.c: Likewise.
47767 * sunrpc/svc.c: Likewise.
47768 * sunrpc/svc_auth.c: Likewise.
47769 * sunrpc/svc_authux.c: Likewise.
47770 * sunrpc/svc_raw.c: Likewise.
47771 * sunrpc/svc_run.c: Likewise.
47772 * sunrpc/svc_simple.c: Likewise.
47773 * sunrpc/svc_tcp.c: Likewise.
47774 * sunrpc/svc_udp.c: Likewise.
47775 * sunrpc/svc_unix.c: Likewise.
47776 * sunrpc/svcauth_des.c: Likewise.
47777 * sunrpc/xcrypt.c: Likewise.
47778 * sunrpc/xdr.c: Likewise.
47779 * sunrpc/xdr_array.c: Likewise.
47780 * sunrpc/xdr_float.c: Likewise.
47781 * sunrpc/xdr_intXX_t.c: Likewise.
47782 * sunrpc/xdr_mem.c: Likewise.
47783 * sunrpc/xdr_rec.c: Likewise.
47784 * sunrpc/xdr_ref.c: Likewise.
47785 * sunrpc/xdr_sizeof.c: Likewise.
47786 * sunrpc/xdr_stdio.c: Likewise.
47787
e6c61494
UD
477882011-04-10 Ulrich Drepper <drepper@gmail.com>
47789
47790 [BZ #12650]
47791 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47792 * sysdeps/ia64/dl-tls.h: Likewise.
47793 * sysdeps/powerpc/dl-tls.h: Likewise.
47794 * sysdeps/s390/dl-tls.h: Likewise.
47795 * sysdeps/sh/dl-tls.h: Likewise.
47796 * sysdeps/sparc/dl-tls.h: Likewise.
47797 * sysdeps/x86_64/dl-tls.h: Likewise.
47798 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47799
34fe483e
AS
478002011-03-14 Andreas Schwab <schwab@redhat.com>
47801
47802 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47803 rpath element also skip the following colon.
47804 (expand_dynamic_string_token): Add is_path parameter and pass
47805 down to DL_DST_REQUIRED and _dl_dst_substitute.
47806 (decompose_rpath): Call expand_dynamic_string_token with
47807 non-zero is_path. Ignore empty rpaths.
47808 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47809 with zero is_path.
47810
f12a32e6
AS
478112011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47812
47813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47814 Make cancelable.
47815
38a7d692
UD
478162011-04-09 Ulrich Drepper <drepper@gmail.com>
47817
47818 [BZ #12655]
47819 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47820 Patch by Filipe David Manana <fdmanana@apache.org>.
47821
e451d22b
AS
478222011-04-07 Andreas Schwab <schwab@redhat.com>
47823
47824 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47825 Maintain aligned stack.
47826 (CHECK_RSP): Remove unused macro.
47827
dedc7c7b
UD
478282011-04-03 Ulrich Drepper <drepper@gmail.com>
47829
47830 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47831 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47832
94521213
UD
478332011-04-02 Ulrich Drepper <drepper@gmail.com>
47834
47835 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47836
8cb700c0 47837 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47838
0354e355
L
478392011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47840
47841 [BZ #12518]
47842 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47843 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47844 * sysdeps/x86_64/memmove.c: New file.
47845 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47846 (memcpy): Renamed to ...
47847 (__new_memcpy): This.
47848 (memcpy): Provide GLIBC_2_14 memcpy.
47849 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47850 (memcpy): Provide GLIBC_2_2_5 memcpy.
47851
8593482f
UD
478522011-04-01 Ulrich Drepper <drepper@gmail.com>
47853
47854 [BZ #12631]
47855 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47856
81a5726b
AS
478572011-03-30 Andreas Schwab <schwab@redhat.com>
47858
47859 * misc/syncfs.c: New file.
47860 * misc/Makefile (routines): Add syncfs.
47861 * posix/unistd.h: Declare syncfs.
47862 * sysdeps/unix/syscalls.list: Add syncfs.
47863
00e5419f
AS
478642011-04-01 Andreas Schwab <schwab@redhat.com>
47865
47866 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47867 open_by_handle_at.
47868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47869 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47870 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47871 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47873 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47874 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47875
748876bf
UD
478762011-04-01 Ulrich Drepper <drepper@gmail.com>
47877
658e451d
UD
47878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47879 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47880 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47882 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47885
748876bf
UD
47886 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47887 sync_file_range.c with -fexceptions.
47888 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47889 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47890 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47891 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47892 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47893 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47895 sync_file_range as cancellation point
47896 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47897 now a wrapper around __call_sync_file_range with cancellation handling.
47898 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47899 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47900 function name to __call_sync_file_range.
47901 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47902 Add call_sync_file_range.
748876bf 47903
6e63d5e1
AS
479042011-04-01 Andreas Schwab <schwab@redhat.com>
47905
47906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47907 bits/timex.h.
6e63d5e1 47908
46998f74
UD
479092011-04-01 Ulrich Drepper <drepper@gmail.com>
47910
4c1423ed
UD
47911 * iconv/iconv.h: Fix typo in comment.
47912 * io/fcntl.h: Likewise.
47913 * libio/stdio.h: Likewise.
47914 * posix/spawn.h: Likewise.
47915 * posix/unistd.h: Likewise.
47916 * stdlib/stdlib.h: Likewise.
47917 * time/time.h: Likewise.
47918 * wcsmbs/wchar.h: Likewise.
47919
158648c0
UD
47920 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47921 open_by_handle): Add.
47922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47923 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47924 Augment a few comments.
47925 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47930 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47931 open_by_handle.
47932
46998f74
UD
47933 * io/fcntl.h (AT_EMPTY_PATH): Define.
47934
83fe108b
UD
479352011-03-30 Ulrich Drepper <drepper@gmail.com>
47936
47937 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47938 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47939 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47940 to...
47941 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47942 * Versions.def: Add GLIBC_2.14.
47943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47944 Export.
83fe108b 47945
bb242059
UD
479462011-03-22 Ulrich Drepper <drepper@gmail.com>
47947
47948 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47949 round counter.
47950 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47951
c97a1282
L
479522011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47953
47954 [BZ #12597]
47955 * string/test-strncmp.c (do_page_test): New function.
47956 (check2): Likewise.
47957 (test_main): Call check2.
47958 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47959
2a115601
UD
479602011-03-20 Ulrich Drepper <drepper@gmail.com>
47961
47962 [BZ #12587]
47963 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47964 Handle cache information in CPU leaf 4.
47965 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47966
8126d904
UD
479672011-03-18 Ulrich Drepper <drepper@gmail.com>
47968
042c49c6 47969 [BZ #12583]
8126d904
UD
47970 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47971 character representation.
47972 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47973
ccfe366e
RA
479742011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47975
47976 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47977 END(__isnan) to END(__isnanf) to match function entry point/label
47978 EALIGN(__isnanf,...).
47979
c6e13027
JJ
479802011-03-10 Jakub Jelinek <jakub@redhat.com>
47981
47982 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47983
33f85a3f
UD
479842011-03-10 Ulrich Drepper <drepper@gmail.com>
47985
028478fa
UD
47986 [BZ #12510]
47987 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47988 copy from the symbol referenced in the relocation to initialize the
47989 used variable.
47990 Patch by Piotr Bury <pbury@goahead.com>.
47991 * elf/Makefile: Add rules to build and tst-unique3.
47992 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47993 * elf/tst-unique3.cc: New file.
47994 * elf/tst-unique3.h: New file.
47995 * elf/tst-unique3lib.cc: New file.
47996 * elf/tst-unique3lib2.cc: New file.
47997
33f85a3f
UD
47998 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47999
03592fc7
MF
480002011-03-10 Mike Frysinger <vapier@gentoo.org>
48001
48002 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48003 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48004 to _start.
03592fc7 48005
6a5ee102
UD
480062011-03-06 Ulrich Drepper <drepper@gmail.com>
48007
48008 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48009 to-be-loaded object along a path to loader is ld.so.
48010
7e4ba49c
HJ
480112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48012 Ulrich Drepper <drepper@gmail.com>
48013
48014 * sysdeps/x86_64/memset.S: After aligning destination, code
48015 branches to different locations depending on the value of
48016 misalignment, when multiarch is enabled. Fix this.
48017
480182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48019
48020 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48021 Set _x86_64_preferred_memory_instruction for AMD processsors.
48022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48023 Set bit_Prefer_SSE_for_memop for AMD processors.
48024
13a804de
UD
480252011-03-04 Ulrich Drepper <drepper@gmail.com>
48026
48027 * libio/fmemopen.c (fmemopen): Optimize a bit.
48028
9d25c392
AS
480292011-03-03 Andreas Schwab <schwab@redhat.com>
48030
48031 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48032
a5543c6a
RM
480332011-03-03 Roland McGrath <roland@redhat.com>
48034
48035 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48036
012d35f7
DM
480372011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48038
7e4ba49c 48039 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
48040 __bzero_ultra1 instead of __memset_ultra1.
48041
4bff6e01
AS
480422011-02-23 Andreas Schwab <schwab@redhat.com>
48043 Ulrich Drepper <drepper@gmail.com>
48044
48045 [BZ #12509]
48046 * include/link.h (struct link_map): Add l_orig_initfini.
48047 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48048 returning unsuccessfully.
48049 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48050 close of a file loaded at startup, restore the original l_initfini
48051 list.
48052 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48053 list, store the pointer.
48054 * elf/Makefile ($(objpfx)noload-mem): New rule.
48055 (noload-ENV): Define.
48056 (tests): Add $(objpfx)noload-mem.
48057 * elf/noload.c: Include <memcheck.h>.
48058 (main): Call mtrace. Close all opened handles.
48059
f2092faf
AS
480602011-02-17 Andreas Schwab <schwab@redhat.com>
48061
48062 [BZ #12454]
48063 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48064 dependencies are missing.
48065
6c8a2e88
ST
480662011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48067
f2092faf 48068 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
48069 Hurd needs munmap.
48070 * sysdeps/mach/hurd/ifreq.h: New file.
48071
84a42118
PB
480722011-01-27 Petr Baudis <pasky@suse.cz>
48073 Ulrich Drepper <drepper@gmail.com>
48074
071f805e 48075 [BZ 12445]#
84a42118
PB
48076 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48077 to extend_alloca().
48078 * stdio-common/bug23.c: New file.
48079 * stdio-common/Makefile (tests): Add bug23.
48080
e23fe25b
AS
480812010-09-28 Andreas Schwab <schwab@redhat.com>
48082 Ulrich Drepper <drepper@gmail.com>
48083
48084 [BZ #12489]
48085 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48086 before performing relro protection. At old place add assertion
48087 to make sure nothing changed.
48088
d3f02e10
NS
480892011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48090 Glauber de Oliveira Costa <glommer@gmail.com>
48091
48092 * elf/elf.h: Add new ARM TLS relocs.
48093
d55fd7a5
RA
480942011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48095
48096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48097 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48098 cast from r3.
48099 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48100 'tests' variable.
48101 * sysdeps/wordsize-64/tst-writev.c: New file.
48102
2206397e
RA
481032011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48104
48105 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48106 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48107 insns in _dl_start to prevent a TOC reference before relocs are
48108 resolved.
48109
e9433893
UD
481102011-02-15 Ulrich Drepper <drepper@gmail.com>
48111
48112 [BZ #12469]
48113 * Makeconfig: Remove RANLIB definition.
48114 * Makerules: Don't use RANLIB.
48115 * aclocal.m4: Remove ranlib test.
48116 * configure.in: No need to check for ranlib.
48117 * elf/rtld-Rules: Don't use RANLIB.
48118
f75286c6
ST
481192011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48120
8e31c82d
ST
48121 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48122 protection macro.
48123 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48124 inclusion protection macro.
48125
f75286c6
ST
48126 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48127 SIGRTMIN and SIGRTMAX and print information in that case only when
48128 SIGRTMIN is defined.
48129
c1d0e639
JJ
481302011-02-11 Jakub Jelinek <jakub@redhat.com>
48131
48132 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48133 arginfo fn returning -1.
48134
48135 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48136 and thousands string is zero terminated.
48137
edf9294e
AS
481382011-02-03 Andreas Schwab <schwab@redhat.com>
48139
48140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48141 sysdeps/unix/sysv/linux/bits/socket.h.
48142
2b7e92df
ST
481432011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48144
edf9294e
AS
48145 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48146 (__CPU_COUNT): Remove old macros.
48147 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48148 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48149 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48150 (__sched_cpualloc, __sched_cpufree): Add declarations.
48151
a4c7ea7b
UD
481522011-02-05 Ulrich Drepper <drepper@gmail.com>
48153
48154 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48155 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48156 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48157 (readdhstai): Return value of addhstaiX call.
48158 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48159 (addgrbyX): Return value returned by cache_addgr.
48160 (readdgrbyname): Return value returned by addgrbyX.
48161 (readdgrbygid): Likewise.
48162 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48163 (addpwbyX): Return value returned by cache_addpw.
48164 (readdpwbyname): Return value returned by addhstbyX.
48165 (readdpwbyuid): Likewise.
48166 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48167 (addservbyX): Return value returned by cache_addserv.
48168 (readdservbyname): Return value returned by addservbyX:
48169 (readdservbyport): Likewise.
48170 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48171 (addhstbyX): Return value returned by cache_addhst.
48172 (readdhstbyname): Return value returned by addhstbyX.
48173 (readdhstbyaddr): Likewise.
48174 (readdhstbynamev6): Likewise.
48175 (readdhstbyaddrv6): Likewise.
48176 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48177 (readdinitgroups): Return value returned by addinitgroupsX.
48178 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48179 (prune_cache): Keep track of timeout value of re-added entries.
48180 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48181 * nscd/nscd.h: Adjust prototypes of readd* functions.
48182
a0bf67cc
RM
481832011-02-04 Roland McGrath <roland@redhat.com>
48184
48185 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48186 (nis_stats): Likewise.
48187 * nis/nis_modify.c (nis_modify): Likewise.
48188 * nis/nis_remove.c (nis_remove): Likewise.
48189 * nis/nis_add.c (nis_add): Likewise.
48190
48191 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48192
48193 * posix/fnmatch_loop.c: Add some consts.
48194
48195 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48196
435b95eb
L
481972011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48198
48199 [BZ #12460]
48200 * config.make.in (config-cflags-novzeroupper): Define.
48201 * configure.in: Substitute libc_cv_cc_novzeroupper.
48202 * elf/Makefile (AVX-CFLAGS): Define.
48203 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48204 (CFLAGS-tst-auditmod4a.c): Likewise.
48205 (CFLAGS-tst-auditmod4b.c): Likewise.
48206 (CFLAGS-tst-auditmod6b.c): Likewise.
48207 (CFLAGS-tst-auditmod6c.c): Likewise.
48208 (CFLAGS-tst-auditmod7b.c): Likewise.
48209 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48210
8517b15e
UD
482112011-02-02 Ulrich Drepper <drepper@gmail.com>
48212
48213 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48214 function to the callback.
48215 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48216
10a656fe
AS
482172011-02-02 Andreas Schwab <schwab@redhat.com>
48218
48219 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48220 of errno.
48221
968dad0a
UD
482222011-01-19 Ulrich Drepper <drepper@gmail.com>
48223
9f94d2ea 48224 [BZ #11724]
968dad0a
UD
48225 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48226 of constructors.
48227 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48228 of destructors.
48229 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48230
48231 [BZ #11724]
48232 * elf/Makefile: Add rules to build and run new test.
48233 * elf/tst-initorder.c: New file.
48234 * elf/tst-initorder.exp: New file.
48235 * elf/tst-initordera1.c: New file.
48236 * elf/tst-initordera2.c: New file.
48237 * elf/tst-initordera3.c: New file.
48238 * elf/tst-initordera4.c: New file.
48239 * elf/tst-initorderb1.c: New file.
48240 * elf/tst-initorderb2.c: New file.
48241 * elf/tst-order-a1.c: New file.
48242 * elf/tst-order-a2.c: New file.
48243 * elf/tst-order-a3.c: New file.
48244 * elf/tst-order-a4.c: New file.
48245 * elf/tst-order-b1.c: New file.
48246 * elf/tst-order-b2.c: New file.
48247 * elf/tst-order-main.c: New file.
48248 New test case by George Gensure <werkt0@gmail.com>.
48249
86e92359
UD
482502010-10-01 Andreas Schwab <schwab@redhat.com>
48251
48252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48253 decoding ACE if AI_CANONIDN.
48254
5d5732b0
UD
482552011-01-18 Ulrich Drepper <drepper@gmail.com>
48256
48257 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48258
a77e8cbc
UD
482592011-01-17 Ulrich Drepper <drepper@gmail.com>
48260
6392473f
UD
48261 * version.h (RELEASE): Bump for 2.13 release.
48262 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48263
620a0529
UD
48264 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48265
18ba70a5
UD
48266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48267 MADV_NOHUGEPAGE.
32465c3e
UD
48268 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48269 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48270 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48271 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48272 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48273 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48274
c0dafcf1
UD
48275 * posix/getconf.c: Update copyright year.
48276 * catgets/gencat.c: Likewise.
48277 * csu/version.c: Likewise.
48278 * debug/catchsegv.sh: Likewise.
48279 * debug/xtrace.sh: Likewise.
48280 * elf/ldconfig.c: Likewise.
48281 * elf/ldd.bash.in: Likewise.
48282 * elf/sprof.c (print_version): Likewise.
48283 * iconv/iconv_prog.c: Likewise.
48284 * iconv/iconvconfig.c: Likewise.
48285 * locale/programs/locale.c: Likewise.
48286 * locale/programs/localedef.c: Likewise.
48287 * malloc/memusage.sh: Likewise.
48288 * malloc/mtrace.pl: Likewise.
48289 * nscd/nscd.c (print_version): Likewise.
48290 * nss/getent.c: Likewise.
48291
a77e8cbc
UD
48292 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48293 PF_CAIF, and PF_ALG.
48294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48295
77e8bddf
AS
482962011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48297
1f20b93a
AS
48298 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48299 (modules-names): Use them.
48300 (ifunc-test-modules, ifunc-pie-tests): Define.
48301 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48302 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48303 (test-extras): Likewise.
48304 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48305 $(compile-command.c).
48306 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48307 (all-built-dso): Define.
48308 (check-textrel.out, check-execstack.out): Depend on it.
48309
77e8bddf
AS
48310 * configure.in: Don't override --enable-multi-arch.
48311
bc425b33
UD
483122011-01-15 Ulrich Drepper <drepper@gmail.com>
48313
48314 [BZ #6812]
48315 * nscd/hstcache.c (tryagain): Define.
48316 (cache_addhst): Return tryagain not notfound for temporary errors.
48317 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48318 failed.
48319
794c3ad3
UD
483202011-01-14 Ulrich Drepper <drepper@gmail.com>
48321
70181fdd
UD
48322 [BZ #10563]
48323 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48324 to make the syscall.
48325 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48326
794c3ad3
UD
48327 [BZ #12378]
48328 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48329 and fall back to matching as normal character if the string ends before
48330 the matching ']' is found. This is what POSIX requires.
48331 * posix/testfnm.c: Adjust test result.
48332 * posix/globtest.sh: Adjust test result. Add new test.
48333 * posix/tst-fnmatch.input: Likewise.
48334 * posix/tst-fnmatch2.c: Add new test.
48335
68dc9497
AS
483362010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48337
48338 * elf/Makefile (check-execstack): Revert last change. Depend on
48339 check-execstack.h.
48340 (check-execstack.h): New target.
48341 (generated): Add check-execstack.h.
48342 * elf/check-execstack.c: Include "check-execstack.h".
48343 (main): Revert last change.
48344 (handle_file): Return zero if GNU_STACK is absent and
48345 DEFAULT_STACK_PERMS doesn't include PF_X.
48346
451f001b
UD
483472011-01-13 Ulrich Drepper <drepper@gmail.com>
48348
cfa28e56
UD
48349 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48350 in child fails because the descriptor is already closed.
8cf8ce17
UD
48351 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48352 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48353 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48354
1086d70d
UD
48355 [BZ #12397]
48356 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48357 syscall.
48358
451f001b
UD
48359 [BZ #10484]
48360 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48361 temporary buffer used to handle multi lookups locally.
a85b5cb4 48362 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48363
08769175
UD
483642011-01-12 Ulrich Drepper <drepper@gmail.com>
48365
48366 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48367 loader is ld.so.
48368
5e49c52e
UD
483692011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48370
48371 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48372 alignment for SSE2.
48373
60522a5f
UD
483742011-01-12 Ulrich Drepper <drepper@gmail.com>
48375
48376 [BZ #12394]
48377 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48378 characters. When rounding increased number of integer digits recompute
48379 number of groups.
48380 * stdio-common/tst-grouping.c: New file.
48381 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48382
f257bbd7
UD
483832011-01-09 Ulrich Drepper <drepper@gmail.com>
48384
48385 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48386 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48387
48388 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48389 void.
48390 * bits/select.h: Likewise.
48391
fa9c15cb
UD
483922011-01-08 Ulrich Drepper <drepper@gmail.com>
48393
48394 * po/ja.po: Update from translation team.
48395
16c2895f
DM
483962011-01-04 David S. Miller <davem@sunset.davemloft.net>
48397
48398 [BZ #11155]
48399 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48400 implementation just like for lxstat, fxstatat, et al.
48401
2543fef2
JM
484022010-12-27 Jim Meyering <meyering@redhat.com>
48403
48404 [BZ #12348]
48405 * posix/regexec.c (build_trtable): Return failure indication upon
48406 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48407
98727dbe
UD
484082010-12-25 Ulrich Drepper <drepper@gmail.com>
48409
5bd6dc5c
UD
48410 [BZ #12201]
48411 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48412 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48413 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48415
97983464
UD
48416 [BZ #12207]
48417 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48418
98727dbe
UD
48419 [BZ #12204]
48420 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48421 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48422
4a531bb0
L
484232010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48424
48425 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48426 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48427 script has SORT_BY_INIT_PRIORITY.
48428 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48429 NO_CTORS_DTORS_SECTIONS is defined.
48430 * elf/soinit.c: Likewise.
48431 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48432 NO_CTORS_DTORS_SECTIONS is defined.
48433 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48434 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48435 * sysdeps/sh/init-first.c: Likewise.
48436 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48437
07eb4b71
UD
484382010-12-24 Ulrich Drepper <drepper@gmail.com>
48439
48440 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48441 always use the slow path.
48442
30950a5f
RA
484432010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48444
48445 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48446 similar rule which adds the sysdep directories to the header search in
48447 order to pick up the correct platform stackinfo.h.
48448 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48449 perform test if it is, otherwise return successfully without testing.
48450 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48451 DEFAULT_STACK_PERMS define in stackinfo.h.
48452 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48453 defined in stackinfo.h.
48454 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48455 DEFAULT_STACK_PERMS defined in stackinfo.h.
48456 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48457 * sysdeps/ia64/stackinfo.h: Likewise.
48458 * sysdeps/s390/stackinfo.h: Likewise.
48459 * sysdeps/sh/stackinfo.h: Likewise.
48460 * sysdeps/sparc/stackinfo.h: Likewise.
48461 * sysdeps/x86_64/stackinfo.h: Likewise.
48462 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48463 PF_X for powerpc64. Retain PF_X for powerpc32.
48464
db753e2c
UD
484652010-12-19 Ulrich Drepper <drepper@gmail.com>
48466
14b697f7
UD
48467 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48468 accurately.
db753e2c
UD
48469 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48470 GETDENTS_64BIT_ALIGNED.
48471
28300719
UD
484722010-12-14 Ulrich Drepper <dreper@gmail.com>
48473
14b697f7 48474 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48475
4f197237
AS
484762010-12-10 Andreas Schwab <schwab@redhat.com>
48477
dbb0472f
AS
48478 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48479 _GNU_SOURCE.
48480
4f197237
AS
48481 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48482 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48483 Remove __restrict.
48484 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48485 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48486
fb88ac72
UD
484872010-12-09 Ulrich Drepper <drepper@gmail.com>
48488
48489 [BZ #11655]
48490 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48491 are initialized.
48492
42acbb92
JJ
484932010-12-09 Jakub Jelinek <jakub@redhat.com>
48494
48495 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48496
c038d98d
UD
484972010-12-03 Ulrich Drepper <drepper@gmail.com>
48498
48499 * po/it.po: Update from translation team.
48500
3a4a2499
L
485012010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48502
48503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48504 unused codes.
48505
1e24cf6e
UD
485062010-11-30 Ulrich Drepper <drepper@gmail.com>
48507
48508 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48509
a7690819
AS
485102010-11-24 Andreas Schwab <schwab@redhat.com>
48511
48512 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48513 specially.
48514 (gaih_getanswer_slice): Likewise.
48515
3bf8d1b1
JJ
485162010-10-20 Jakub Jelinek <jakub@redhat.com>
48517
48518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48519
6db52fbb
PB
485202010-05-31 Petr Baudis <pasky@suse.cz>
48521
48522 [BZ #11149]
48523 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48524 silently even in the chroot mode.
48525
eaca7569
UD
485262010-11-22 Ulrich Drepper <drepper@gmail.com>
48527
48528 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48529 last patch a bit. Pretty printing
48530
3056dcdb
UD
485312010-05-31 Petr Baudis <pasky@suse.cz>
48532
48533 [BZ #10085]
48534 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48535 initialization of skip_initgroups_dyn.
48536
cf7c9078
UD
485372010-11-19 Ulrich Drepper <drepper@gmail.com>
48538
48539 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48540 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48541
a1fb5e3e
UD
485422010-11-16 Ulrich Drepper <drepper@gmail.com>
48543
48544 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48545
3540d66b
AS
485462010-11-11 Andreas Schwab <schwab@redhat.com>
48547
48548 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48549 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48550 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48551 ($(objpfx)tst-fnmatch-mem): New rule.
48552 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48553 * posix/tst-fnmatch.c (main): Call mtrace.
48554
13b69574
L
485552010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48556
48557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48558 Support Intel processor model 6 and model 0x2c.
48559
da93d214
LM
485602010-11-10 Luis Machado <luisgpm@br.ibm.com>
48561
48562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48563 signed comparison.
48564
8ca52c6e
L
485652010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48566
48567 [BZ #12205]
48568 * string/test-strncasecmp.c (check_result): New function.
48569 (do_one_test): Use it.
48570 (check1): New function.
48571 (test_main): Use it.
48572 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48573 Support strcasecmp and strncasecmp.
48574
69da074d
UD
485752010-11-08 Ulrich Drepper <drepper@gmail.com>
48576
48577 [BZ #12194]
48578 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48580
ff02d528
L
485812010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48582
48583 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48584 IFUNC support.
48585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48586 memset-x86-64.
48587 * sysdeps/x86_64/multiarch/bzero.S: New file.
48588 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48589 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48590 * sysdeps/x86_64/multiarch/memset.S: New file.
48591 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48593 Set bit_Prefer_SSE_for_memop for Intel processors.
48594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48595 Define.
48596 (index_Prefer_SSE_for_memop): Define.
48597 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48598
344d0b54
LM
485992010-11-04 Luis Machado <luisgpm@br.ibm.com>
48600
48601 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48602 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48603
c0dde15b
UD
486042010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48605
48606 [BZ #12191]
48607 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48608 (__x86_64_raw_data_cache_size_half): Likewise.
48609 (__x86_64_raw_shared_cache_size): Likewise.
48610 (__x86_64_raw_shared_cache_size_half): Likewise.
48611
48612 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48613 (__x86_64_raw_data_cache_size_half): Likewise.
48614 (__x86_64_raw_shared_cache_size): Likewise.
48615 (__x86_64_raw_shared_cache_size_half): Likewise.
48616 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48617 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48618 and __x86_64_raw_shared_cache_size_half. Round
48619 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48620 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48621 to multiple of 256 bytes.
48622
0e516e0e
MS
486232010-11-03 Ulrich Drepper <drepper@gmail.com>
48624
48625 [BZ #12167]
48626 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48627 of inacessible symlinks. Verify result of symlink before returning it.
48628 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48629 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48630
0e012e87
ER
486312010-10-28 Erich Ritz <erichritz@gmail.com>
48632
48633 * math/math.h (isinf): Fix typo in comment.
48634
de0ff7bc
UD
486352010-11-01 Ulrich Drepper <drepper@gmail.com>
48636
48637 * po/da.po: Update from translation team.
48638
fa41c84d
UD
486392010-10-26 Ulrich Drepper <drepper@gmail.com>
48640
48641 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48642 is added to the list.
48643
f0967738
AK
486442010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48645 Ulrich Drepper <drepper@gmail.com>
48646
48647 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48648 the global list here. Move code to...
48649 (_dl_add_to_namespace_list): ...here. New function.
48650 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48651 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48652 * elf/dl-load.c (lose): Don't remove the element from the list.
48653 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48654 (_dl_map_object): Likewise.
48655
486562010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48657
48658 [BZ #12159]
48659 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48660 into all bytes of SSE register.
48661 Patch by Richard Li <richardpku@gmail.com>.
48662
f0967738 486632010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48664
48665 [BZ #12140]
48666 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48667 perturbing.
48668
d0b9e94f
MB
486692010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48670
48671 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48672 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48673 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48674 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48676 submachine.
48677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48678
8e9f92e9
AS
486792010-10-22 Andreas Schwab <schwab@redhat.com>
48680
48681 * include/dlfcn.h (__RTLD_SECURE): Define.
48682 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48683 mode & __RTLD_SECURE instead.
48684 (open_path): Rename preloaded parameter to secure.
48685 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48686 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48687 * elf/dl-deps.c (openaux): Likewise.
48688 * elf/rtld.c (struct map_args): Remove is_preloaded.
48689 (map_doit): Don't use it.
48690 (dl_main): Likewise.
48691 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48692 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48693
bc96fbda
AS
486942010-09-09 Andreas Schwab <schwab@redhat.com>
48695
48696 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48697 (sysd-rules-targets): Remove duplicates.
48698 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48699 rtld-%.$o dependency.
48700
22cd1c9b
AS
487012010-10-18 Andreas Schwab <schwab@redhat.com>
48702
48703 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48704 _dl_map_object do it.
48705
18edac48
UD
487062010-10-19 Ulrich Drepper <drepper@gmail.com>
48707
48708 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48709 fast fma builtins, define the macros in the C99 standard.
48710 (FP_FAST_FMAF): Likewise.
48711 (FP_FAST_FMAL): Likewise.
48712 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48713
48714 * bits/mathdef.h: Update copyright year.
48715 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48716
d2050124
MM
487172010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48718
48719 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48720 builtins, define the macros in the C99 standard.
48721 (FP_FAST_FMAF): Likewise.
48722 (FP_FAST_FMAL): Likewise.
48723 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48724 multiply/add.
48725 (FP_FAST_FMAF): Likewise.
48726
475facd1
JJ
487272010-10-15 Jakub Jelinek <jakub@redhat.com>
48728
48729 [BZ #3268]
48730 * math/libm-test.inc (fma_test): Some new testcases.
48731 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48732 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48733 y and infinite z. Do multiplication by C already in long double.
48734 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48736 y and infinite z. Do bitwise or of inexact bit into u.d.
48737 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48738 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48739 * sysdeps/i386/fpu/s_fma.S: Removed.
48740 * sysdeps/i386/fpu/s_fmal.S: Removed.
48741
7c08a05c
JJ
487422010-10-16 Jakub Jelinek <jakub@redhat.com>
48743
48744 [BZ #3268]
48745 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48747 computation is not scheduled after fetestexcept. Fix value
48748 of minimum denormal long double.
48749
f3f7372d
JJ
487502010-10-14 Jakub Jelinek <jakub@redhat.com>
48751
48752 [BZ #3268]
48753 * math/libm-test.inc (fma_test): Add some more tests.
48754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48755 correctly.
48756
14d43591
AS
487572010-10-15 Andreas Schwab <schwab@redhat.com>
48758
48759 * scripts/data/localplt-s390-linux-gnu.data: New file.
48760 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48761
5e908464
JJ
487622010-10-13 Jakub Jelinek <jakub@redhat.com>
48763
48764 [BZ #3268]
48765 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48766 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48767 instead of dbl-64.
48768 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48769 inlines.
48770 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48772 if one of x and y is very large and the other is subnormal.
48773 * sysdeps/s390/fpu/s_fmaf.c: New file.
48774 * sysdeps/s390/fpu/s_fma.c: New file.
48775 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48776 * sysdeps/powerpc/fpu/s_fma.S: New file.
48777 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48778 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48779 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48780
487812010-10-12 Jakub Jelinek <jakub@redhat.com>
48782
48783 [BZ #3268]
48784 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48785 fma tests.
48786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48787 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48788 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48789 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48790 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48791 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48792 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48793
b833d51f
UD
487942010-10-12 Ulrich Drepper <drepper@redhat.com>
48795
48796 [BZ #12078]
48797 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48798 * posix/bug-regex31.input: Add test case.
48799
1751705d
UD
488002010-10-11 Ulrich Drepper <drepper@gmail.com>
48801
e9b9cbf5
UD
48802 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48803 * posix/bug-regex31.input: New file.
48804
48805 [BZ #12078]
48806 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48807 (parse_sub_exp): Fix last change, use postorder.
48808
ef06edbe
UD
48809 * posix/bug-regex31.c: New file.
48810 * posix/Makefile: Add rules to build and run bug-regex31.
48811
a129c80d
UD
48812 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48813
48814 [BZ #12078]
48815 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48816
b76b818e
UD
48817 [BZ #12108]
48818 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48819 to have entries in sys_siglist.
48820
1751705d
UD
48821 [BZ #12093]
48822 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48823 be NULL.
48824
9ff8d36f
JJ
488252010-10-07 Jakub Jelinek <jakub@redhat.com>
48826
48827 [BZ #3268]
48828 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48829 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48830 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48831 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48832 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48833 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48834 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48835 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48836 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48837 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48838 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48839 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48840 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48841 * math/ftestexcept.c (fetestexcept): Likewise.
48842 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48843 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48844 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48845 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48846 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48847 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48848 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48849
af325969
UD
488502010-10-11 Ulrich Drepper <drepper@gmail.com>
48851
c579b202 48852 [BZ #12107]
af325969
UD
48853 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48854 newline.
48855
67a67b95
UD
488562010-10-06 Ulrich Drepper <drepper@gmail.com>
48857
48858 * string/bug-strstr1.c: New file.
48859 * string/Makefile: Add rules to build and run bug-strstr1.
48860
5fb308bc
EB
488612010-10-05 Eric Blake <eblake@redhat.com>
48862
48863 [BZ #12092]
48864 * string/str-two-way.h (two_way_long_needle): Always clear memory
48865 when skipping input due to the shift table.
48866
45db99c7
UD
488672010-10-03 Ulrich Drepper <drepper@gmail.com>
48868
3b111893
UD
48869 [BZ #12005]
48870 * malloc/mcheck.c: Handle large requests.
48871
45db99c7
UD
48872 [BZ #12077]
48873 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48874 for strncmp and strncasecmp.
48875 * string/stratcliff.c: Add tests for strcmp and strncmp.
48876 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48877
cf7a1eb8
NI
488782010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48879
48880 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48881 __set_fpscr.
48882
6484ba5e
AJ
488832010-09-30 Andreas Jaeger <aj@suse.de>
48884
48885 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48886 (CGROUP_SUPER_MAGIC): Define.
48887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48888 Handle btrfs and cgroup file systems.
48889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48890 Likewise.
48891
91c42559
LM
488922010-09-27 Luis Machado <luisgpm@br.ibm.com>
48893
48894 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48895 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48896
87a97932
AK
488972010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48898
48899 [BZ #12067]
48900 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48901 trying to locate the ELF header.
48902
c21cc9bc
AS
489032010-09-27 Andreas Schwab <schwab@redhat.com>
48904
48905 [BZ #11611]
48906 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48907 Mask out sign-bit copies when constructing f_fsid.
48908
315970f6
PB
489092010-09-24 Petr Baudis <pasky@suse.cz>
48910
48911 * debug/stack_chk_fail_local.c: Add missing licence exception.
48912 * debug/warning-nop.c: Likewise.
48913
1ac7a2c7
JM
489142010-09-15 Joseph Myers <joseph@codesourcery.com>
48915
48916 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48917 implementing getdents64 using getdents syscall, set d_type if
48918 __ASSUME_GETDENTS32_D_TYPE.
48919
56801c50
AS
489202010-09-16 Andreas Schwab <schwab@redhat.com>
48921
48922 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48923 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48924
dda51327
UD
489252010-09-21 Ulrich Drepper <drepper@redhat.com>
48926
48927 [BZ #12037]
48928 * posix/unistd.h: Undo change of feature selection for ftruncate from
48929 2010-01-11.
48930
8ffcee4a
UD
489312010-09-20 Ulrich Drepper <drepper@redhat.com>
48932
a545ecd9 48933 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48934 detection.
48935
e24f0a8b
AS
489362010-09-20 Andreas Schwab <schwab@redhat.com>
48937
48938 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48939 fanotify_mark.
48940 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48941
7291c56f
AS
489422010-09-14 Andreas Schwab <schwab@redhat.com>
48943
48944 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48945 variables after CHECK_SP call.
48946 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48947
bc5fb037
AS
489482010-09-13 Andreas Schwab <schwab@redhat.com>
48949 Ulrich Drepper <drepper@redhat.com>
48950
48951 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48952 re-relocationg ld.so.
48953 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48954 _dl_init_paths call.
48955 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48956 here anymore.
48957
e66e7419
UD
489582010-09-14 Ulrich Drepper <drepper@redhat.com>
48959
48960 * resolv/res_init.c (__res_vinit): Count the default server we added.
48961
c044aa75
CLT
489622010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48963 Ulrich Drepper <drepper@redhat.com>
48964
48965 [BZ #11968]
48966 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48967 (____longjmp_chk): Use %ebx for saving value across system call.
48968 Add unwind info.
48969
32cf4069
AS
489702010-09-06 Andreas Schwab <schwab@redhat.com>
48971
48972 * manual/Makefile: Don't mix pattern rules with normal rules.
48973
817328ee
AS
489742010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48975
48976 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48977 operation.
48978 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48979 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48980 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48981 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48983 Likewise.
48984
29fddf61
UD
489852010-09-04 Ulrich Drepper <drepper@redhat.com>
48986
48987 [BZ #11979]
48988 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48989 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48990
0959ffc9
UD
489912010-09-02 Ulrich Drepper <drepper@redhat.com>
48992
48993 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48994 * sysdeps/x86_64/addmul_1.S: Likewise.
48995 * sysdeps/x86_64/lshift.S: Likewise.
48996 * sysdeps/x86_64/mul_1.S: Likewise.
48997 * sysdeps/x86_64/rshift.S: Likewise.
48998 * sysdeps/x86_64/sub_n.S: Likewise.
48999 * sysdeps/x86_64/submul_1.S: Likewise.
49000
ece29840
ST
490012010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49002
0959ffc9
UD
49003 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49004 Define __sched_param instead of SCHED_* and sched_param when
ece29840 49005 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 49006 * bits/sched.h [__need_schedparam]
ece29840 49007 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
49008 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49009 (__defined_schedparam): Define to 1.
ece29840
ST
49010 (__sched_param): New structure, identical to sched_param.
49011 (__need_schedparam): Undefine.
49012
e53a31fe
MF
490132010-08-31 Mike Frysinger <vapier@gentoo.org>
49014
fdc0c10d
MF
49015 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49016 (epoll_create1): Declare.
49017
e53a31fe
MF
49018 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49019
a726d796
AS
490202010-08-31 Andreas Schwab <schwab@redhat.com>
49021
49022 [BZ #7066]
49023 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49024 shifting retval into place.
49025
2f3e3dc7
UD
490262010-09-01 Ulrich Drepper <drepper@redhat.com>
49027
f2933da9
UD
49028 * nis/rpcsvc/nis.h: Update copyright notice.
49029 * nis/rpcsvc/nis.x: Likewise.
49030 * nis/rpcsvc/nis_callback.h: Likewise.
49031 * nis/rpcsvc/nis_callback.x: Likewise.
49032 * nis/rpcsvc/nis_object.x: Likewise.
49033 * nis/rpcsvc/nis_tags.h: Likewise.
49034 * nis/rpcsvc/yp.h: Likewise.
49035 * nis/rpcsvc/yp.x: Likewise.
49036 * nis/rpcsvc/ypupd.h: Likewise.
49037 * nis/yp_xdr.c: Likewise.
49038 * nis/ypupdate_xdr.c: Likewise.
49039
2f3e3dc7
UD
49040 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49041 mainly the body of pmap_getport. Add parameters to specify timeouts.
49042 (pmap_getport): Use __libc_rpc_getport.
49043 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49044 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49045 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49046
f3dcc2f9
AS
490472010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49048
49049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49050 fanotify_mark.
49051
6d34eb5b
RM
490522010-08-27 Roland McGrath <roland@redhat.com>
49053
49054 * sysdeps/i386/i686/multiarch/Makefile
49055 (CFLAGS-varshift.c): New variable.
49056
9ea3de11
UD
490572010-08-27 Ulrich Drepper <drepper@redhat.com>
49058
c96d23fc
UD
49059 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49060 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49061
9ea3de11
UD
49062 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49063
49064 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49065
623aac7f
L
490662010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49067
49068 * sysdeps/x86_64/strlen.S: Unroll the loop.
49069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49070 strlen-sse2 strlen-sse2-bsf.
49071 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49072 __strlen_no_bsf if bit_Slow_BSF is set.
49073 (__strlen_sse42): Removed.
49074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49075 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49076
8b2b7715
RM
490772010-08-25 Roland McGrath <roland@redhat.com>
49078
49079 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49080 * sysdeps/x86_64/multiarch/varshift.c: New file.
49081 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49082 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49083 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49084 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49085
e73015f2
L
490862010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49087
49088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49089 strlen-sse2 strlen-sse2-bsf.
49090 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49091 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49092 (__strlen_sse2): Removed.
49093 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49094 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49096 bit_Slow_BSF for Atom.
49097 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49098 (index_Slow_BSF): Define.
49099 (HAS_SLOW_BSF): Define.
49100
df24a73e
UD
491012010-08-25 Ulrich Drepper <drepper@redhat.com>
49102
49103 [BZ #10851]
49104 * resolv/res_init.c (__res_vinit): When no server address at all
49105 is given default to loopback.
49106
f2ac4868
RM
491072010-08-24 Roland McGrath <roland@redhat.com>
49108
09055553
RM
49109 * configure.in: Remove config-name.h generation.
49110 * configure: Regenerated.
49111 * config-name.in: File removed.
49112 * scripts/config-uname.sh: New file.
49113 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49114 ($(objdir)config-name.h): New target.
49115
f2ac4868
RM
49116 * sunrpc/rpc_parse.h: Avoid nested comment.
49117
73f27d5e
RH
491182010-08-24 Richard Henderson <rth@redhat.com>
49119 Ulrich Drepper <drepper@redhat.com>
49120 H.J. Lu <hongjiu.lu@intel.com>
49121
49122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49124 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49125 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49126 _mm_alignr_epi8 with _mm_loadu_si128.
49127 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49128 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49129 (__m128i_shift_right): Removed.
49130 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49131 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49132 * sysdeps/x86_64/multiarch/varshift.h: New file.
49133 * sysdeps/x86_64/multiarch/varshift.S: New file.
49134
84b9230c
MF
491352010-08-21 Mike Frysinger <vapier@gentoo.org>
49136
49137 * configure.in: Move assembler checks to before sysdep dir checking.
49138
9bbd0ddc
PB
491392010-08-20 Petr Baudis <pasky@suse.cz>
49140
49141 * LICENSES: Sync the sunrpc license.
49142
9da4bb31
UD
491432010-08-19 Ulrich Drepper <drepper@redhat.com>
49144
a7ab6ec8
UD
49145 * sunrpc/auth_des.c: Update copyright notice once again.
49146 * sunrpc/auth_none.c: Likewise.
49147 * sunrpc/auth_unix.c: Likewise.
49148 * sunrpc/authdes_prot.c: Likewise.
49149 * sunrpc/authuxprot.c: Likewise.
49150 * sunrpc/bindrsvprt.c: Likewise.
49151 * sunrpc/clnt_gen.c: Likewise.
49152 * sunrpc/clnt_perr.c: Likewise.
49153 * sunrpc/clnt_raw.c: Likewise.
49154 * sunrpc/clnt_simp.c: Likewise.
49155 * sunrpc/clnt_tcp.c: Likewise.
49156 * sunrpc/clnt_udp.c: Likewise.
49157 * sunrpc/clnt_unix.c: Likewise.
49158 * sunrpc/des_crypt.c: Likewise.
49159 * sunrpc/des_soft.c: Likewise.
49160 * sunrpc/get_myaddr.c: Likewise.
49161 * sunrpc/getrpcport.c: Likewise.
49162 * sunrpc/key_call.c: Likewise.
49163 * sunrpc/key_prot.c: Likewise.
49164 * sunrpc/openchild.c: Likewise.
49165 * sunrpc/pm_getmaps.c: Likewise.
49166 * sunrpc/pm_getport.c: Likewise.
49167 * sunrpc/pmap_clnt.c: Likewise.
49168 * sunrpc/pmap_prot.c: Likewise.
49169 * sunrpc/pmap_prot2.c: Likewise.
49170 * sunrpc/pmap_rmt.c: Likewise.
49171 * sunrpc/rpc/auth.h: Likewise.
49172 * sunrpc/rpc/auth_unix.h: Likewise.
49173 * sunrpc/rpc/clnt.h: Likewise.
49174 * sunrpc/rpc/des_crypt.h: Likewise.
49175 * sunrpc/rpc/key_prot.h: Likewise.
49176 * sunrpc/rpc/netdb.h: Likewise.
49177 * sunrpc/rpc/pmap_clnt.h: Likewise.
49178 * sunrpc/rpc/pmap_prot.h: Likewise.
49179 * sunrpc/rpc/pmap_rmt.h: Likewise.
49180 * sunrpc/rpc/rpc.h: Likewise.
49181 * sunrpc/rpc/rpc_des.h: Likewise.
49182 * sunrpc/rpc/rpc_msg.h: Likewise.
49183 * sunrpc/rpc/svc.h: Likewise.
49184 * sunrpc/rpc/svc_auth.h: Likewise.
49185 * sunrpc/rpc/types.h: Likewise.
49186 * sunrpc/rpc/xdr.h: Likewise.
49187 * sunrpc/rpc_clntout.c: Likewise.
49188 * sunrpc/rpc_cmsg.c: Likewise.
49189 * sunrpc/rpc_common.c: Likewise.
49190 * sunrpc/rpc_cout.c: Likewise.
49191 * sunrpc/rpc_dtable.c: Likewise.
49192 * sunrpc/rpc_hout.c: Likewise.
49193 * sunrpc/rpc_main.c: Likewise.
49194 * sunrpc/rpc_parse.c: Likewise.
49195 * sunrpc/rpc_parse.h: Likewise.
49196 * sunrpc/rpc_prot.c: Likewise.
49197 * sunrpc/rpc_sample.c: Likewise.
49198 * sunrpc/rpc_scan.c: Likewise.
49199 * sunrpc/rpc_scan.h: Likewise.
49200 * sunrpc/rpc_svcout.c: Likewise.
49201 * sunrpc/rpc_tblout.c: Likewise.
49202 * sunrpc/rpc_util.c: Likewise.
49203 * sunrpc/rpc_util.h: Likewise.
49204 * sunrpc/rpcinfo.c: Likewise.
49205 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49206 * sunrpc/rpcsvc/key_prot.x: Likewise.
49207 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49208 * sunrpc/rpcsvc/mount.x: Likewise.
49209 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49210 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49211 * sunrpc/rpcsvc/rex.x: Likewise.
49212 * sunrpc/rpcsvc/rstat.x: Likewise.
49213 * sunrpc/rpcsvc/rusers.x: Likewise.
49214 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49215 * sunrpc/rpcsvc/spray.x: Likewise.
49216 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49217 * sunrpc/rtime.c: Likewise.
49218 * sunrpc/svc.c: Likewise.
49219 * sunrpc/svc_auth.c: Likewise.
49220 * sunrpc/svc_authux.c: Likewise.
49221 * sunrpc/svc_raw.c: Likewise.
49222 * sunrpc/svc_run.c: Likewise.
49223 * sunrpc/svc_simple.c: Likewise.
49224 * sunrpc/svc_tcp.c: Likewise.
49225 * sunrpc/svc_udp.c: Likewise.
49226 * sunrpc/svc_unix.c: Likewise.
49227 * sunrpc/svcauth_des.c: Likewise.
49228 * sunrpc/xcrypt.c: Likewise.
49229 * sunrpc/xdr.c: Likewise.
49230 * sunrpc/xdr_array.c: Likewise.
49231 * sunrpc/xdr_float.c: Likewise.
49232 * sunrpc/xdr_mem.c: Likewise.
49233 * sunrpc/xdr_rec.c: Likewise.
49234 * sunrpc/xdr_ref.c: Likewise.
49235 * sunrpc/xdr_sizeof.c: Likewise.
49236 * sunrpc/xdr_stdio.c: Likewise.
49237
9da4bb31
UD
49238 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49239 handling.
49240
bdaa77bc
AS
492412010-08-19 Andreas Schwab <schwab@redhat.com>
49242
49243 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49244
fe2f79db
LM
492452010-08-19 Luis Machado <luisgpm@br.ibm.com>
49246
49247 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49248 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49249 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49250 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49251 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49252 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49253 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49254 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49255 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49256 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49257 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49258 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49259 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49260 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49261
b9b42ee0
AB
492622010-07-26 Anton Blanchard <anton@samba.org>
49263
49264 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49265 * malloc/arena.c (heap_trim): Likewise.
49266
1c06ba31
UD
492672010-08-16 Ulrich Drepper <drepper@redhat.com>
49268
49269 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49270 here. Not...
49271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49272 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49273
f8392f40
L
492742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49275
49276 * sysdeps/i386/elf/Makefile: New file.
49277
3162f12e
AS
492782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49279
49280 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49281 from fanotify_init.
49282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49284
28c90b2c
UD
492852010-08-15 Ulrich Drepper <drepper@redhat.com>
49286
49287 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49288 of strncasecmp_l.
1feccb6c 49289 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49290
ca6bb004
UD
492912010-08-14 Ulrich Drepper <drepper@redhat.com>
49292
e9f82e0d
UD
49293 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49294 strncase_l-nonascii.
49295 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49296 Add strncase_l-ssse3.
49297 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49298 * sysdeps/x86_64/strcmp.S: Likewise.
49299 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49300 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49301 * sysdeps/x86_64/strncase.S: New file.
49302 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49303 * sysdeps/x86_64/strncase_l.S: New file.
49304 * string/Makefile (strop-tests): Add strncasecmp.
49305 * string/test-strncasecmp.c: New file.
49306
49307 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49308 warning.
49309
ca6bb004
UD
49310 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49311 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49312
052fa7b3
AS
493132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49314
49315 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49316
962dba78
UD
493172010-08-12 Ulrich Drepper <drepper@redhat.com>
49318
49319 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49320 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49321 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49322
bebff237
AM
493232010-05-01 Alan Modra <amodra@gmail.com>
49324
49325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49326 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49327 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49328 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49329 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49330 tidying. Don't tail-call __sigjmp_save for static lib.
49331 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49332 save location.
49333 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49334 (CALL_MCOUNT): Add eh info, and nop after bl.
49335 (TAIL_CALL_SYSCALL_ERROR): New macro.
49336 (PSEUDO_RET): Use it.
49337 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49338 Correct save location of integer regs and cr.
49339 (_dl_profile_resolve): Correct cr save location. Delete nops
49340 after bl when SHARED. Reduce cfi size a little by better
49341 placement of cfi directives.
49342 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49343 make a stack frame. Instead use parm save area as a temp.
49344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49345 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49347 Don't make a stack frame for parent, use parm save area.
49348 Increase child stack frame to 112 bytes. Don't save unused reg,
49349 and adjust reg usage. Set up cfi on error recovery and
49350 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49352 (__makecontext): Add dummy nop after jump to exit.
49353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49354 Use correct parm save area and cr save, reduce stack frame.
49355 Correct cfi for possible PSEUDO_RET frame setup.
49356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49357 Branch to local label emitted by PSEUDO_RET rather than
49358 __syscall_error.
49359
02637374
AS
493602010-08-12 Andreas Schwab <schwab@redhat.com>
49361
49362 [BZ #11904]
49363 * locale/programs/locale.c (print_assignment): New function.
49364 (show_locale_vars): Use it.
49365
c3e2f19b
UD
493662010-08-11 Ulrich Drepper <drepper@redhat.com>
49367
3cdaa6ad
UD
49368 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49369 field.
49370 (struct statfs64): Likewise.
49371 (_STATFS_F_FLAGS): Define.
49372 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49373 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49374 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49375 (ST_VALID): Define locally.
49376 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49377 __statvfs_getflags, use the provided value.
49378 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49379 __ASSUME_STATFS_F_FLAGS.
49380
754f7da3
UD
49381 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49382
10b3bedc
UD
49383 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49384 Add sys/fanotify.h.
49385 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49386 fanotify_mask for GLIBC_2.13.
49387 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49388 fanotify_init and fanotify_mark.
49389 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49390 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49391
c08fb0d7
UD
49392 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49393 Add prlimit.
49394 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49395 prlimit64 for GLIBC_2.13.
49396 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49397 prlimit64.
49398 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49399 syscall.
49400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49401 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49402 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49403 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49404 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49405 add prlimit alias.
49406 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49407
15bac72b
UD
49408 [BZ #11903]
49409 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49410 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49411
c3e2f19b
UD
49412 * nss/Makefile: Add rules to build and run tst-nss-test1.
49413 * shlib-versions: Add entry for libnss_test1.
49414 * nss/nss_test1.c: New file.
49415 * nss/tst-nss-test1.c: New file.
49416
49417 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49418 (__nss_configure_lookup): Set appropriate entry in
49419 __nss_configure_lookup to true.
49420 * nss/nsswitch.h: Define enum with indeces of databases in
49421 databases and __nss_database_custom arrays. Declare
49422 __nss_database_custom.
49423 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49424 to avoid using nscd when custom rules are installed.
49425 * nss/getXXbyYY_r.c: Likewise.
49426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49427
49428 * nss/nss_files/files-parse.c: Whitespace fixes.
49429
f15ce4d8
UD
494302010-08-09 Ulrich Drepper <drepper@redhat.com>
49431
49432 [BZ #11883]
49433 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49434 * posix/fnmatch_loop.c: Likewise.
49435
d22e4cc9
AK
494362010-07-17 Andi Kleen <ak@linux.intel.com>
49437
49438 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49439 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49440 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49441 * Versions.def [GLIBC_2.13]: Add.
49442
805bc17d
UD
494432010-08-06 Ulrich Drepper <drepper@redhat.com>
49444
49445 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49446 Also fail if tpwd after pwuid call is NULL.
49447
5a42321d
ST
494482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49449
49450 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49451 when converting to ms.
49452
fd3ebeda
ST
494532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49454
49455 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49456 EOPNOTSUPP errors with ENOTTY.
49457 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49458 EOPNOTSUPP errors with ENOTTY.
49459
73507d3a
UD
494602010-07-31 Ulrich Drepper <drepper@redhat.com>
49461
49462 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49463 Add strcasecmp_l-ssse3.
49464 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49465 strcasecmp.
49466 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49467 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49468 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49469
fe36dd02
UD
494702010-07-30 Ulrich Drepper <drepper@redhat.com>
49471
66f6765a
UD
49472 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49473
42e08a54
UD
49474 * string/Makefile (strop-tests): Add strcasecmp.
49475 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49476 strcasecmp_l-nonascii.
49477 (gen-as-const-headers): Add locale-defines.sym.
49478 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49479 * sysdeps/x86_64/strcasecmp.S: New file.
49480 * sysdeps/x86_64/strcasecmp_l.S: New file.
49481 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49482 * sysdeps/x86_64/locale-defines.sym: New file.
49483 * string/test-strcasecmp.c: New file.
49484
fe36dd02
UD
49485 * string/test-strcasestr.c: Test both ends of the range of characters.
49486 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49487
48cbc0d6
RM
494882010-07-29 Roland McGrath <roland@redhat.com>
49489
76e6d6bc 49490 [BZ #11856]
48cbc0d6
RM
49491 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49492
880113d9
UD
494932010-07-27 Ulrich Drepper <drepper@redhat.com>
49494
49495 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49496 for ld.so.
49497
deb9cabb
AS
494982010-07-27 Andreas Schwab <schwab@redhat.com>
49499
49500 * manual/memory.texi (Malloc Tunable Parameters): Document
49501 M_PERTURB.
49502
1c7570ff
RM
495032010-07-26 Roland McGrath <roland@redhat.com>
49504
49505 [BZ #11840]
49506 * configure.in (-fgnu89-inline check): Set and substitute
49507 gnu89_inline, not libc_cv_gnu89_inline.
49508 * configure: Regenerated.
49509 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49510
24fb0f88
UD
495112010-07-26 Ulrich Drepper <drepper@redhat.com>
49512
49513 * string/test-strnlen.c: New file.
49514 * string/Makefile (strop-tests): Add strnlen.
49515 * string/tester.c (test_strnlen): Add a few more test cases.
49516 * string/tst-strlen.c: Better error reporting.
49517
49518 * sysdeps/x86_64/strnlen.S: New file.
49519
8e96b93a
UD
495202010-07-24 Ulrich Drepper <drepper@redhat.com>
49521
49522 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49523 lower-latency instructions.
49524
dbc676d4
UD
495252010-07-23 Ulrich Drepper <drepper@redhat.com>
49526
49527 * string/test-strcasestr.c: New file.
49528 * string/test-strstr.c: New file.
49529 * string/Makefile (strop-tests): Add strstr and strcasestr.
49530 * string/str-two-way.h: Don't undefine MAX.
49531 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49532
f6a31e0e
AS
495332010-07-21 Andreas Schwab <schwab@redhat.com>
49534
49535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49536 strcasestr-nonascii.
49537 (CFLAGS-strcasestr-nonascii.c): Define.
49538 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49539 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49540 Remove unused attribute.
49541
5dbc3b6c
RM
495422010-07-20 Roland McGrath <roland@redhat.com>
49543
49544 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49545 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49546 ld.so.cache was broken. With it, there is no way to disable dsocaps
49547 like LD_HWCAP_MASK can disable hwcaps.
49548
23d101d8
EPM
495492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49550
49551 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49552
cc9f2e47
UD
495532010-07-16 Ulrich Drepper <drepper@redhat.com>
49554
49555 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49556 call in strcasestr.
49557 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49558 __strcasestr_sse42_nonascii.
49559 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49560 strcasestr-nonascii.c.
49561 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49562
77c1b069
LM
495632010-06-15 Luis Machado <luisgpm@br.ibm.com>
49564
49565 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49566 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49567 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49568 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49569
440566c3
UD
495702010-07-09 Ulrich Drepper <drepper@redhat.com>
49571
49572 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49573 fcntl.
49574
5be9d05d
AS
495752010-07-06 Andreas Schwab <schwab@redhat.com>
49576
c30b7ee2 49577 [BZ #11577]
5be9d05d
AS
49578 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49579 dl_signal_cerror.
49580
8a492a67
UD
495812010-07-06 Ulrich Drepper <drepper@redhat.com>
49582
49583 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49584 _PC_PIPE_BUF using F_GETPIPE_SZ.
49585
713df3d5
RM
495862010-07-05 Roland McGrath <roland@redhat.com>
49587
49588 * manual/arith.texi (Rounding Functions): Fix rint description
49589 implicit in round description.
49590
702e8f14
UD
495912010-07-02 Ulrich Drepper <drepper@redhat.com>
49592
49593 * elf/Makefile: Fix linking for a few tests to make recent linker
49594 happy.
49595
52ed8be9
AS
495962010-06-30 Andreas Schwab <schwab@redhat.com>
49597
49598 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49599 $(common-objpfx)libc_nonshared.a.
49600
f47c9a11
LM
496012010-06-21 Luis Machado <luisgpm@br.ibm.com>
49602
49603 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49604 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49605 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49606 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49607 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49608 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49609 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49610 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49625 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49626 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49627 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49628 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49629 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49630 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49631 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49632 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49633 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49634 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49635 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49636 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49651
6fb8cbcb
L
496522010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49653
49654 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49655 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49656 * string/memmove.c (memmove): Renamed to ...
49657 (MEMMOVE): ...this. Default to memmove.
49658 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49659 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49660 (END_CHK): Define.
49661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49662 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49663 mempcpy-ssse3-back memmove-ssse3-back.
49664 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49666 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49667 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49668 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49669 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49670 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49671 * sysdeps/x86_64/multiarch/memmove.c: New file.
49672 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49673 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49674 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49675 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49676 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49677 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49678 Define.
49679 (index_Fast_Copy_Backward): Define.
49680 (HAS_ARCH_FEATURE): Define.
49681 (HAS_FAST_REP_STRING): Define.
49682 (HAS_FAST_COPY_BACKWARD): Define.
49683
4e733bac 496842010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49685
49686 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49687 Restore proper fallback handling.
49688
63c4ed22
UD
496892010-06-19 Ulrich Drepper <drepper@redhat.com>
49690
ac2b484c
UD
49691 [BZ #11701]
49692 * posix/group_member.c (__group_member): Correct checking loop.
49693
63c4ed22
UD
49694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49695 OOM in getpwuid_r correctly. Return error number when the caller
49696 should return, otherwise -1.
49697 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49698 call returning > 0 value.
49699 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49700
765ade4b
AS
497012010-06-07 Andreas Schwab <schwab@redhat.com>
49702
49703 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49704 libc_nonshared.a from targets in modules-names.
49705
80da2e09
KS
497062010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49707
49708 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49709 requires it.
49710
158db122
LM
497112010-06-10 Luis Machado <luisgpm@br.ibm.com>
49712
49713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49714 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49715 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49716 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49717
caa78cf8
AS
497182010-06-02 Andreas Schwab <schwab@redhat.com>
49719
49720 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49721
b2ef2c01
UD
497222010-06-14 Ulrich Drepper <drepper@redhat.com>
49723
49724 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49725 and F_GETPIPE_SZ.
49726 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49727 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49730 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49731 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49732
fbd643b6
RM
497332010-06-14 Roland McGrath <roland@redhat.com>
49734
49735 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49736
f32f2869
JJ
497372010-06-07 Jakub Jelinek <jakub@redhat.com>
49738
49739 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49740 __REDIRECT followed by __THROW.
49741 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49742 * posix/getopt.h (getopt): Likewise.
49743
2a50c078
EPM
497442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49745
49746 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49747 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49748 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49749 in AT_FLAGS.
49750 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49751 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49752
eb5ad2eb
LM
497532010-05-28 Luis Machado <luisgpm@br.ibm.com>
49754
49755 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49756
3c88fe1e
L
497572010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49758
49759 [BZ #11640]
49760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49761 Properly check family and model.
49762
d2f73151
TY
497632010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49764
49765 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49766
ebd2e13d
LM
497672010-05-24 Luis Machado <luisgpm@br.ibm.com>
49768
49769 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49770
b32b8b45
UD
497712010-05-21 Ulrich Drepper <drepper@redhat.com>
49772
49773 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49774 symbol reference.
49775
9acbe24d
AS
497762010-05-19 Andreas Schwab <schwab@redhat.com>
49777
49778 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49779 symbol reference.
49780
f0ccf6ea
AS
497812010-05-21 Andreas Schwab <schwab@redhat.com>
49782
3d04ff3a
AS
49783 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49784 and internal_recvmmsg.
49785 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49786 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49787 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49788 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49789
f0ccf6ea
AS
49790 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49791 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49792 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49793
5b08ac57
AS
497942010-05-20 Andreas Schwab <schwab@redhat.com>
49795
49796 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49797
4828935d
LM
497982010-05-17 Luis Machado <luisgpm@br.ibm.com>
49799
49800 POWER7 optimizations.
49801 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49802 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49803
373d545e
UD
498042010-05-19 Ulrich Drepper <drepper@redhat.com>
49805
49806 * version.h: Update for 2.13 development version.
49807
21a2b1ae
AS
498082010-05-12 Andrew Stubbs <ams@codesourcery.com>
49809
49810 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49811 exceptions. Return 0.
49812
3f7dcb2b
RM
498132010-05-07 Roland McGrath <roland@redhat.com>
49814
49815 * elf/ldconfig.c (main): Add a const.
49816
5f24d53a 498172010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49818
a160f8d8
UD
49819 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49820 (args_options): Add no-idn option.
49821 (ahosts_keys_int): Add idn_flags to ai_flags.
49822 (parse_option): Handle 'i' option to clear idn_flags.
49823
5f24d53a
UD
49824 * malloc/malloc.c (_int_free): Possible race in the most recently
49825 added check. Only act on the data if no current modification
49826 happened.
265bb1ce
UD
49827
49828See ChangeLog.17 for earlier changes.
This page took 6.839995 seconds and 5 git commands to generate.